Skip to content

Commit

Permalink
Merge pull request #1024 from NREL-Sienna/afc/fixed_value_ff_hvdc
Browse files Browse the repository at this point in the history
HVDC FeedForward with Fixed Values
  • Loading branch information
jd-lara authored Dec 12, 2023
2 parents 4a7fd0e + d0472b7 commit ea56ff8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devices_models/device_constructors/branch_constructor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ function construct_device!(
model,
network_model,
)
add_feedforward_arguments!(container, model, devices)
return
end

Expand Down Expand Up @@ -668,6 +669,7 @@ function construct_device!(
add_constraints!(container, HVDCPowerBalance, devices, model, network_model)
add_constraints!(container, HVDCDirection, devices, model, network_model)
add_constraint_dual!(container, sys, model)
add_feedforward_constraints!(container, model, devices)
return
end

Expand Down
5 changes: 5 additions & 0 deletions src/devices_models/devices/TwoTerminalDC_branches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ get_variable_binary(

get_variable_multiplier(::FlowActivePowerVariable, ::Type{<:PSY.TwoTerminalHVDCLine}, _) =
NaN
get_parameter_multiplier(
::FixValueParameter,
::PSY.TwoTerminalHVDCLine,
::AbstractTwoTerminalDCLineFormulation,
) = 1.0

get_variable_multiplier(
::FlowActivePowerFromToVariable,
Expand Down

0 comments on commit ea56ff8

Please sign in to comment.