Constraints
PowerModelsITD.constraint_boundary_current
— Methodfunction constraint_boundary_current(
pmitd::AbstractIVRPowerModelITD,
i::Int;
nw::Int=nw_id_default
)
Boundary power constraints based on rectangular currents (I) for AbstractIVRPowerModelITD.
PowerModelsITD.constraint_boundary_power
— Methodfunction constraint_boundary_power(
pmitd::AbstractPowerModelITD,
i::Int;
nw::Int=nw_id_default
)
Boundary power constraints for AbstractPowerModelITD.
PowerModelsITD.constraint_boundary_power
— Methodfunction constraint_boundary_power(
pmitd::LPowerModelITD,
i::Int;
nw::Int=nw_id_default
)
Boundary power constraints for LPowerModelITD (Linear versions - Active P only).
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.ACPPowerModel,
pmd::_PMD.ACPUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
ACP-ACPU boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.ACPPowerModel,
pmd::_PMD.FOTPUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
ACP-FOTPU boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.ACRPowerModel,
pmd::_PMD.ACRUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
ACR-ACRU boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.ACRPowerModel,
pmd::_PMD.FBSUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
ACR-FBSU boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.ACRPowerModel,
pmd::_PMD.FOTRUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
ACR-FOTRU boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pmitd::AbstractPowerModelITD,
i::Int;
nw::Int=nw_id_default
)
General voltage angle boundary constraint.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.DCPPowerModel,
pmd::_PMD.DCPUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
DCP-DCPU boundary bus voltage angle constraints: DCP angle.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.IVRPowerModel,
pmd::_PMD.IVRUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
IVR-IVRU boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.NFAPowerModel,
pmd::_PMD.NFAUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
NFA-NFAU boundary bus voltage angle constraints: empty NFA angle.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.AbstractBFAModel,
pmd::_PMD.LPUBFDiagPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
BFA-LinDist3FlowPowerModel boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.AbstractSDPWRMModel,
pmd::_PMD.SOCConicUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SDPWRM-SOCConicUBF boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.AbstractSOCBFConicModel,
pmd::_PMD.SOCConicUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SOCBFConic-SOCUBFConic boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.AbstractSOCBFModel,
pmd::_PMD.LPUBFDiagPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
SOCBF-LinDist3FlowPowerModel boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.AbstractSOCBFModel,
pmd::_PMD.SOCNLPUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SOCBF-SOCNLUBF boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_angle
— Methodfunction constraint_boundary_voltage_angle(
pm::_PM.AbstractSOCWRConicModel,
pmd::_PMD.SOCConicUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SOCWRConic-SOCConicUBF boundary bus voltage angle constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.ACPPowerModel,
pmd::_PMD.ACPUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
ACP-ACPU boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.ACPPowerModel,
pmd::_PMD.FOTPUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
ACP-FOTPU boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.ACRPowerModel,
pmd::_PMD.ACRUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
ACR-ACRU boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.ACRPowerModel,
pmd::_PMD.FBSUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
ACR-FBSU boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.ACRPowerModel,
pmd::_PMD.FOTRUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
ACR-FOTRU boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pmitd::AbstractPowerModelITD,
i::Int;
nw::Int=nw_id_default
)
General voltage magnitude boundary constraint.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.DCPPowerModel,
pmd::_PMD.DCPUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
DCP-DCPU boundary bus voltage magnitude constraints: empty since DC keeps vm = 1 for all.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.IVRPowerModel,
pmd::_PMD.IVRUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
IVR-IVRU boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.NFAPowerModel,
pmd::_PMD.NFAUPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
NFA-NFAU boundary bus voltage magnitude constraints: empty NFA.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.AbstractBFAModel,
pmd::_PMD.LPUBFDiagPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
BFA-LinDist3FlowPowerModel boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.AbstractSDPWRMModel,
pmd::_PMD.SOCConicUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SDPWRM-SOCConicUBF boundary bus voltage magnitude (W variables) constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.AbstractSOCBFConicModel,
pmd::_PMD.SOCConicUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SOCBFConic-SOCUBFConic boundary bus voltage magnitude (W variables) constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.AbstractSOCBFModel,
pmd::_PMD.LPUBFDiagPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int=nw_id_default
)
SOCBF-LinDist3FlowPowerModel boundary bus voltage magnitude constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.AbstractSOCBFModel,
pmd::_PMD.SOCNLPUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SOCBF-SOCNLUBF boundary bus voltage magnitude (W variables) constraints.
PowerModelsITD.constraint_boundary_voltage_magnitude
— Methodfunction constraint_boundary_voltage_magnitude(
pm::_PM.AbstractSOCWRConicModel,
pmd::_PMD.SOCConicUBFPowerModel,
i::Int,
f_idx::Tuple{Int,Int,Int},
f_connections::Vector{Int},
t_connections::Vector{Int};
nw::Int = nw_id_default
)
SOCWRConic-SOCConicUBF boundary bus voltage magnitude (W variables) constraints.
PowerModelsITD.constraint_distribution_current_balance
— Methodfunction constraint_distribution_current_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.AbstractUnbalancedIVRModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
IVRU distribution constraint power balance.
PowerModelsITD.constraint_distribution_current_balance_boundary
— Methodfunction constraint_distribution_current_balance_boundary(
pmitd::AbstractIVRPowerModelITD,
i::Int;
nw_pmitd::Int=nw_id_default
)
General current balance contraints for boundary buses in the distribution system-side.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractBFPowerModelITD,
pmd::_PMD.LPUBFDiagPowerModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
LinDist3FlowPowerModel distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.FBSUBFPowerModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
FBSU distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.FOTPUPowerModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
FOTPU distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.FOTRUPowerModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
FOTRU distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.AbstractUnbalancedACPModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
ACPU distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.AbstractUnbalancedACRModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
ACRU distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.AbstractUnbalancedActivePowerModel,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
DCPU/NFAU distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance
— Methodfunction constraint_distribution_power_balance(
pmitd::AbstractPowerModelITD,
pmd::_PMD.AbstractUnbalancedWModels,
n::Int,
i::Int,
terminals::Vector{Int},
grounded::Vector{Bool},
bus_arcs::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_sw::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_arcs_trans::Vector{Tuple{Tuple{Int,Int,Int},Vector{Int}}},
bus_gens::Vector{Tuple{Int,Vector{Int}}},
bus_storage::Vector{Tuple{Int,Vector{Int}}},
bus_loads::Vector{Tuple{Int,Vector{Int}}},
bus_shunts::Vector{Tuple{Int,Vector{Int}}},
bus_arcs_boundary_to
)
Unbalanced W models distribution constraint power balance.
PowerModelsITD.constraint_distribution_power_balance_boundary
— Methodfunction constraint_distribution_power_balance_boundary(
pmitd::AbstractPowerModelITD,
i::Int;
nw_pmitd::Int=nw_id_default
)
General power balance contraints for boundary buses in the distribution system-side.
PowerModelsITD.constraint_mc_storage_losses_linear
— MethodPowerModelsITD.constraint_mc_storage_losses_linear
— Methodconstraint_mc_storage_losses_linear(pm::_PMD.AbstractUnbalancedPowerModel, i::Int; nw::Int=_PMD.nw_id_default)::Nothing
Template function for storage loss constraints for linear model - distribution.
PowerModelsITD.constraint_storage_losses_linear
— Methodconstraint_storage_losses_linear(pm::_PM.AbstractPowerModel, i::Int; nw::Int=_PM.nw_id_default)
Template function for storage loss constraints for linear model - transmission.
PowerModelsITD.constraint_transmission_current_balance
— Methodfunction constraint_transmission_current_balance(
pmitd::AbstractPowerModelITD,
pm::_PM.AbstractIVRModel,
n::Int,
i::Int,
bus_arcs,
bus_arcs_dc,
bus_gens,
bus_pd,
bus_qd,
bus_gs,
bus_bs,
bus_arcs_boundary_from
)
IVR transmission constraint power balance.
PowerModelsITD.constraint_transmission_current_balance_boundary
— Methodfunction constraint_transmission_current_balance_boundary(
pmitd::AbstractIVRPowerModelITD,
i::Int;
nw_pmitd::Int=nw_id_default
)
General current balance contraints for boundary buses in the transmission system-side.
PowerModelsITD.constraint_transmission_power_balance
— Methodfunction constraint_transmission_power_balance(
pmitd::AbstractPowerModelITD,
pm::_PM.AbstractACPModel,
n::Int,
i::Int,
bus_arcs,
bus_arcs_dc,
bus_arcs_sw,
bus_gens,
bus_storage,
bus_pd,
bus_qd,
bus_gs,
bus_bs,
bus_arcs_boundary_from
)
ACP transmission constraint power balance.
PowerModelsITD.constraint_transmission_power_balance
— Methodfunction constraint_transmission_power_balance(
pmitd::AbstractPowerModelITD,
pm::_PM.AbstractACRModel,
n::Int,
i::Int,
bus_arcs,
bus_arcs_dc,
bus_arcs_sw,
bus_gens,
bus_storage,
bus_pd,
bus_qd,
bus_gs,
bus_bs,
bus_arcs_boundary_from
)
ACR transmission constraint power balance.
PowerModelsITD.constraint_transmission_power_balance
— Methodfunction constraint_transmission_power_balance(
pmitd::AbstractPowerModelITD,
pm::_PM.AbstractActivePowerModel,
n::Int,
i::Int,
bus_arcs,
bus_arcs_dc,
bus_arcs_sw,
bus_gens,
bus_storage,
bus_pd,
bus_qd,
bus_gs,
bus_bs,
bus_arcs_boundary_from
)
DCP/NFA transmission constraint power balance.
PowerModelsITD.constraint_transmission_power_balance
— Methodfunction constraint_transmission_power_balance(
pmitd::AbstractPowerModelITD,
pm::_PM.AbstractWModels,
n::Int,
i::Int,
bus_arcs,
bus_arcs_dc,
bus_arcs_sw,
bus_gens,
bus_storage,
bus_pd,
bus_qd,
bus_gs,
bus_bs,
bus_arcs_boundary_from
)
W Models (e.g., SOCBF) transmission constraint power balance.
PowerModelsITD.constraint_transmission_power_balance_boundary
— Methodfunction constraint_transmission_power_balance_boundary(
pmitd::AbstractPowerModelITD,
i::Int;
nw_pmitd::Int=nw_id_default
)
General power balance contraints for boundary buses in the transmission system-side.