Skip to content

Commit

Permalink
add construct_transport to build_model
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrypotts committed Oct 17, 2024
1 parent 779ceda commit 7278687
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/base/single_optimization_container.jl
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ function initialize_system_expressions!(
return
end


###################################Initial Conditions Containers############################

function calculate_aux_variables!(container::SingleOptimizationContainer, port::PSIP.Portfolio)
Expand Down Expand Up @@ -979,6 +980,10 @@ function build_model!(
end
=#
#@show container.variables

# Constructor for transport model, adds EnergyBalanceConstraint
construct_transport!(container, port, template.transport_model)

# TODO: Add Constraints for this

for (i, name_list) in enumerate(tech_names)
Expand Down

0 comments on commit 7278687

Please sign in to comment.