Skip to content

Commit

Permalink
add error for availability
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Sep 18, 2024
1 parent 1fdd045 commit b54313e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/base/single_optimization_container.jl
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ function build_model!(
initialize_system_expressions!(container, transport_model, port)

# Order is required
@error "Remember to restore availability code here"
for (tech_model, tech_names) in template.technology_models
#@debug "Building Arguments for $(get_technology_type(tech_model)) with $(get_formulation(device_model)) formulation" _group =
# LOG_GROUP_OPTIMIZATION_CONTAINER
Expand All @@ -745,18 +746,6 @@ function build_model!(
# LOG_GROUP_OPTIMIZATION_CONTAINER
end
end
@show container.variables
#@show container.expressions["SingleRegion", 1]
@show container.expressions[InfrastructureSystems.Optimization.ExpressionKey{
PowerSystemsInvestments.EnergyBalance,
PSIP.Portfolio,
}(
"",
)][
"SingleRegion",
48,
]

TimerOutputs.@timeit BUILD_PROBLEMS_TIMER "Services" begin
construct_services!(
container,
Expand Down

0 comments on commit b54313e

Please sign in to comment.