Constraints

PowerModelsProtection.constraint_gen_voltage_dropMethod
constraint_gen_voltage_drop(pm::_PM.AbstractIVRModel, n::Int, i::Int, bus_id, r, x, vgr, vgi)

States that the bus voltage is equal to the internal voltage minus voltage drop across subtransient impedance

PowerModelsProtection.constraint_i_inverterMethod
constraint_i_inverter(pm::_PM.AbstractPowerModel; nw::Int=nw_id_default)

Constraints for fault current contribution of inverter in grid-following mode assuming that the inverter current regulating loop operates slowly

PowerModelsProtection.constraint_i_inverter_vsMethod
constraint_i_inverter_vs(pm::_PM.AbstractIVRModel, n::Int, i::Int, bus_id::Int, vs, pg, qg, cm)

Constraints for fault current contribution of inverter in grid-following mode assuming that the inverter current regulating loop operates slowly

PowerModelsProtection.constraint_mc_bus_fault_currentMethod
constraint_mc_bus_fault_current(pm::_PMD.AbstractUnbalancedPowerModel, nw::Int, i::Int, bus::Int, connections::Vector{Int}, Gf::Matrix{<:Real}, Bf::Matrix{<:Real})

Calculates the current at the faulted bus for multiconductor

PowerModelsProtection.constraint_mc_current_balanceMethod
constraint_mc_current_balance(pm::_PMD.AbstractUnbalancedPowerModel, i::Int; nw::Int=nw_id_default)

Constraint to calculate the fault current at a bus and the current at other buses for multiconductor

PowerModelsProtection.constraint_mc_fault_current_balanceMethod
constraint_mc_fault_current_balance(pm::_PMD.AbstractUnbalancedIVRModel, nw::Int, i::Int, fault::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_shunts::Vector{Tuple{Int,Vector{Int}}})

Calculates the current balance at the faulted bus for multiconductor

PowerModelsProtection.constraint_mc_gen_voltage_dropMethod
constraint_mc_gen_voltage_drop(pm::_PMD.AbstractUnbalancedIVRModel, n::Int, i::Int, bus_id::Int, r, x, vgr, vgi, terminals)

Constraint that sets the terminal voltage basd on the internal voltage and the stator impedence

PowerModelsProtection.constraint_mc_gen_voltage_dropMethod
constraint_mc_gen_voltage_drop(pm::_PMD.AbstractUnbalancedPowerModel; nw::Int=nw_id_default)

Constraint that sets the terminal voltage basd on the internal voltage and the stator impedence for multiconductor

PowerModelsProtection.constraint_mc_grid_forming_inverterMethod
constraint_mc_grid_forming_inverter(pm::_PMD.AbstractUnbalancedIVRModel, nw::Int, i::Int, bus_id::Int, vrstar, vistar, pmax, cmax)

Constraints for fault current contribution of multiconductor inverter in grid-forming mode

PowerModelsProtection.constraint_mc_pq_inverterMethod
constraint_mc_pq_inverter(pm::_PMD.AbstractUnbalancedIVRModel, nw::Int, i::Int, bus_id::Int, pg, qg, cmax)

Constraints for fault current contribution of multiconductor inverter in grid-following mode

PowerModelsProtection.constraint_mc_pq_inverterMethod
constraint_mc_pq_inverter(pm::_PMD.AbstractUnbalancedPowerModel, i::Int; nw::Int=nw_id_default)

Constraints for fault current contribution of multiconductor inverter in grid-following mode

PowerModelsProtection.constraint_pf_inverter_vsMethod
constraint_pf_inverter_vs(pm::_PM.AbstractIVRModel, n::Int, i::Int, bus_id::Int, vs, pg, qg, cmax)

Constraints for fault current contribution of inverter in grid-following mode with a real voltage drop to handle low-zero terminal voltages

PowerModelsProtection.constraint_pq_inverterMethod
constraint_pq_inverter(pm::_PM.AbstractIVRModel, nw::Int, i::Int, bus_id::Int, pg, qg, cmax)

Constraints for fault current contribution of inverter in grid-following mode with pq set points

PowerModelsProtection.constraint_pq_inverterMethod
constraint_pq_inverter(pm::_PM.AbstractPowerModel; nw::Int=nw_id_default)

Constraints for fault current contribution of inverter in grid-following mode with pq set points

PowerModelsProtection.constraint_pq_inverter_regionMethod
constraint_pq_inverter_region(pm::_PM.AbstractIVRModel, n::Int, i::Int, bus_id::Int, pg, qg, cmax)

Constraints for fault current contribution of inverter in grid-following mode operating at arbitrary power factor. Requires objective term

PowerModelsProtection.constraint_unity_pf_inverterMethod
constraint_unity_pf_inverter(pm::_PM.AbstractIVRModel, n::Int, i::Int, bus_id::Int, pg, qg, cmax)

Constraints for fault current contribution of inverter in grid-following mode operating at unity power factor

PowerModelsProtection.constraint_unity_pf_inverter_rsMethod
constraint_unity_pf_inverter_rs(pm::_PM.AbstractIVRModel, n::Int, i::Int, bus_id::Int, r, pg, qg, cm)

Constraints for fault current contribution of inverter in grid-following mode operating at unity power factor with a series resistance to handle low-zero terminal voltages

PowerModelsProtection.constraint_v_inverterMethod
constraint_v_inverter(pm::_PM.AbstractIVRModel, n::Int, i, bus_id, r, x, vgr, vgi, cmax)

Constraints for fault current contribution of inverter in grid-forming mode