add precompile workload v2 - #209
Draft
jd-lara wants to merge 2 commits into
Draft
Conversation
Closed
Collaborator
|
What's a good example of an end-user script? The CATS system one? We should measure the before/after of this. |
Member
Author
Yes, CATS is a good one. I measured this one with the performance script but CATS is a better one. |
Collaborator
|
Any idea what's going on here? Do I need to rebuild the script? From what I can tell, the CATS stuff hasn't changed, so it must be one of the many changes in PSY etc. julia> sys = PSY.System("test/performance/CATS_Sienna.json")
ERROR: KeyError: key "base_power" not found
Stacktrace:
[1] getindex(h::Dict{String, Any}, key::String)
@ Base ./dict.jl:477
[2] from_dict(::Type{System}, raw::Dict{String, Any}; time_series_read_only::Bool, time_series_directory::Nothing, config_path::String, kwargs::@Kwargs{runchecks::Bool})
@ PowerSystems ~/.julia/packages/PowerSystems/amEUa/src/base.jl:2360
[3] from_dict
@ ~/.julia/packages/PowerSystems/amEUa/src/base.jl:2330 [inlined]
[4] deserialize(::Type{System}, filename::String; kwargs::@Kwargs{time_series_read_only::Bool, runchecks::Bool, time_series_directory::Nothing, config_path::String})
@ PowerSystems ~/.julia/packages/PowerSystems/amEUa/src/base.jl:2327
[5] deserialize
@ ~/.julia/packages/PowerSystems/amEUa/src/base.jl:2306 [inlined]
[6] System(file_path::String; assign_new_uuids::Bool, kwargs::@Kwargs{})
@ PowerSystems ~/.julia/packages/PowerSystems/amEUa/src/base.jl:247
[7] System(file_path::String)
@ PowerSystems ~/.julia/packages/PowerSystems/amEUa/src/base.jl:228
[8] top-level scope
@ REPL[20]:1
(performance) pkg> st
Status `~/git/Sienna-Platform/PowerOperationsModels/test/performance/Project.toml`
[336ed68f] CSV v0.10.16
[87dc4568] HiGHS v1.24.1
[bed98974] InfrastructureOptimizationModels v0.1.0 `https://github.com/Sienna-Platform/InfrastructureOptimizationModels.jl#main`
[2cd47ed4] InfrastructureSystems v3.6.0 `https://github.com/Sienna-Platform/InfrastructureSystems.jl#IS4`
[4076af6c] JuMP v1.31.1
[bed98974] PowerNetworkMatrices v0.24.4 `https://github.com/Sienna-Platform/PowerNetworkMatrices.jl#psy6`
[bed98974] PowerOperationsModels v0.1.0 `../..`
[bcd98974] PowerSystems v5.10.0 `https://github.com/Sienna-Platform/PowerSystems.jl#psy6`
[ade2ca70] Dates v1.11.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@odow take a look at this approach.