Skip to content

Commit

Permalink
afc/changed function for hvdc
Browse files Browse the repository at this point in the history
  • Loading branch information
alefcastelli committed Dec 1, 2023
1 parent b8f278c commit 43585c7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ function construct_device!(
network_model,
)
add_feedforward_arguments!(container, model, devices)
add_feedforward_constraints!(container, model, devices)
return
end

Expand All @@ -62,4 +61,8 @@ function construct_device!(
model::DeviceModel{PSY.TModelHVDCLine, LossLessLine},
::NetworkModel{<:PM.AbstractActivePowerModel},
)
devices = get_available_components(PSY.TModelHVDCLine, sys)
add_feedforward_constraints!(container, model, devices)
objective_function!(container, devices, model, get_network_formulation(network_model))
add_constraint_dual!(container, sys, model)
end

0 comments on commit 43585c7

Please sign in to comment.