modelHvdcPV

Model of PV HVDC link. Each terminal can regulate the voltage or the reactive power, depending on the user's choice.

Extends from Dynawo.Electrical.HVDC.BaseClasses.BaseHvdcPFixedReactiveLimits (Base dynamic model for HVDC links with a regulation of the active power and with fixed reactive power limits), Dynawo.Electrical.HVDC.BaseClasses.BaseQStatus (Base dynamic model QStatus), Dynawo.Electrical.HVDC.BaseClasses.BaseVoltageRegulation (Base dynamic model for Hvdc voltage regulation), Dynawo.Electrical.HVDC.BaseClasses.BasePV (Base dynamic model for PV control).

Information

This HVDC link regulates the active power flowing through itself. It also regulates the voltage or the reactive power at each of its terminals. The active power setpoint is given as an input and can be modified during the simulation, as well as the voltage references and the reactive power references.

Parameters

TypeNameDefaultDescription
IntegerNbSwitchOffSignalsSide1 (from SwitchOffLogicSide1)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal1Side10 (from SwitchOffLogicSide1)falseInitial switch-off signal 1 for side 1 of the quadripole
BooleanSwitchOffSignal2Side10 (from SwitchOffLogicSide1)falseInitial switch-off signal 2 for side 1 of the quadripole
BooleanSwitchOffSignal3Side10 (from SwitchOffLogicSide1)falseInitial switch-off signal 3 for side 1 of the quadripole
BooleanRunningSide10 (from SwitchOffLogicSide1)if NbSwitchOffSignalsSide1 >= 3 then not (SwitchOffSignal1Side10 or SwitchOffSignal2Side10 or SwitchOffSignal3Side10) elseif NbSwitchOffSignalsSide1 >= 2 then not (SwitchOffSignal1Side10 or SwitchOffSignal2Side10) else not SwitchOffSignal1Side10Indicates if the component is initially running on side 1 or not
IntegerNbSwitchOffSignalsSide2 (from SwitchOffLogicSide2)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal1Side20 (from SwitchOffLogicSide2)falseInitial switch-off signal 1 for side 2 of the quadripole
BooleanSwitchOffSignal2Side20 (from SwitchOffLogicSide2)falseInitial switch-off signal 2 for side 2 of the quadripole
BooleanSwitchOffSignal3Side20 (from SwitchOffLogicSide2)falseInitial switch-off signal 3 for side 2 of the quadripole
BooleanRunningSide20 (from SwitchOffLogicSide2)if NbSwitchOffSignalsSide2 >= 3 then not (SwitchOffSignal1Side20 or SwitchOffSignal2Side20 or SwitchOffSignal3Side20) elseif NbSwitchOffSignalsSide2 >= 2 then not (SwitchOffSignal1Side20 or SwitchOffSignal2Side20) else not SwitchOffSignal1Side20Indicates if the component is initially running on side 2 or not
Constants.stateState0 (from SwitchOffDCLine)Constants.state.ClosedStart value of connection state
RealKLosses (from BaseHvdc)Losses coefficient between 0 and 1 : 1 if no loss in the HVDC link, < 1 otherwise
Types.ActivePowerPuPMaxPu (from BaseHvdc)Maximum active power in pu (base SnRef) flowing through the HVDC link
Types.ComplexCurrentPui10Pu (from BaseHvdc)Start value of complex current at terminal 1 in pu (base UNom, SnRef) (receptor convention)
Types.ActivePowerPuP1Ref0Pu (from BaseHvdc)Start value of active power reference at terminal 1 in pu (base SnRef) (receptor convention)
Types.ComplexApparentPowerPus10Pu (from BaseHvdc)Start value of complex apparent power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ComplexVoltagePuu10Pu (from BaseHvdc)Start value of complex voltage at terminal 1 in pu (base UNom)
Types.ComplexCurrentPui20Pu (from BaseHvdcP)Start value of complex current at terminal 2 in pu (base UNom, SnRef) (receptor convention)
Types.ComplexApparentPowerPus20Pu (from BaseHvdcP)Start value of complex apparent power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ComplexVoltagePuu20Pu (from BaseHvdcP)Start value of complex voltage at terminal 2 in pu (base UNom)
Types.AngleUPhase10 (from BaseHvdcP)Start value of voltage angle and filtered voltage angle at terminal 1 in rad
Types.AngleUPhase20 (from BaseHvdcP)Start value of voltage angle and filtered voltage angle at terminal 2 in rad
Types.ReactivePowerPuQ1MaxPu (from BaseFixedReactiveLimitsDangling)Maximum reactive power in pu (base SnRef) at terminal 1 (generator convention)
Types.ReactivePowerPuQ1MinPu (from BaseFixedReactiveLimitsDangling)Minimum reactive power in pu (base SnRef) at terminal 1 (generator convention)
Types.ReactivePowerPuQ2MaxPu (from BaseFixedReactiveLimits)Maximum reactive power in pu (base SnRef) at terminal 2 (generator convention)
Types.ReactivePowerPuQ2MinPu (from BaseFixedReactiveLimits)Minimum reactive power in pu (base SnRef) at terminal 2 (generator convention)
BooleanlimUQDown10 (from BaseQStatusDangling)Whether the minimum reactive power limits are reached or not at terminal 1, start value
BooleanlimUQUp10 (from BaseQStatusDangling)Whether the maximum reactive power limits are reached or not at terminal 1, start value
QStatusq1Status0 (from BaseQStatusDangling)Start voltage regulation status of terminal 1: Standard, AbsorptionMax, GenerationMax
BooleanlimUQDown20 (from BaseQStatus)Whether the minimum reactive power limits are reached or not at terminal 2, start value
BooleanlimUQUp20 (from BaseQStatus)Whether the maximum reactive power limits are reached or not at terminal 2, start value
QStatusq2Status0 (from BaseQStatus)Start voltage regulation status of terminal 2: Standard, AbsorptionMax, GenerationMax
BooleanmodeU10 (from BaseVoltageRegulationDangling)Start value of the boolean assessing the mode of the control of converter 1
Types.ReactivePowerPuQ1Ref0Pu (from BaseVoltageRegulationDangling)Start value of reactive power regulation set point in pu (base SnRef) (receptor convention) at terminal 1
BooleanmodeU20 (from BaseVoltageRegulation)Start value of the boolean assessing the mode of the control of converter 2
Types.ReactivePowerPuQ2Ref0Pu (from BaseVoltageRegulation)Start value of reactive power regulation set point in pu (base SnRef) (receptor convention) at terminal 2
Types.PerUnitLambda1Pu (from BasePVDangling)Parameter Lambda of the voltage regulation law U1RefPu = U1Pu + Lambda1Pu * QInj1Pu, in pu (base UNom, SnRef) at terminal 1
Types.ReactivePowerQ1Nom (from BasePVDangling)Nominal reactive power in Mvar at terminal 1
BooleanUseLambda1 (from BasePVDangling)not (Lambda1Pu == 0)If true, the voltage regulation follows the law U1RefPu = U1Pu + Lambda1Pu * QInj1Pu at terminal 1
Types.VoltageModulePuU1Ref0Pu (from BasePVDangling)Start value of the voltage regulation set point in pu (base UNom) at terminal 1
Types.PerUnitLambda2Pu (from BasePV)Parameter Lambda of the voltage regulation law U2RefPu = U2Pu + Lambda2Pu * QInj2Pu, in pu (base UNom, SnRef) at terminal 2
Types.ReactivePowerQ2Nom (from BasePV)Nominal reactive power in Mvar at terminal 2
BooleanUseLambda2 (from BasePV)not (Lambda2Pu == 0)If true, the voltage regulation follows the law U2RefPu = U2Pu + Lambda2Pu * QInj2Pu at terminal 2
Types.VoltageModulePuU2Ref0Pu (from BasePV)Start value of the voltage regulation set point in pu (base UNom) at terminal 2

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1Side1 (from SwitchOffLogicSide1)Switch-off signal 1 for side 1 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal2Side1 (from SwitchOffLogicSide1)Switch-off signal 2 for side 1 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal3Side1 (from SwitchOffLogicSide1)Switch-off signal 3 for side 1 of the quadripole
Dynawo.Connectors.BPinrunningSide1 (from SwitchOffLogicSide1)Indicates if the component is running on side 1 or not
Dynawo.Connectors.BPinswitchOffSignal1Side2 (from SwitchOffLogicSide2)Switch-off signal 1 for side 2 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal2Side2 (from SwitchOffLogicSide2)Switch-off signal 2 for side 2 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal3Side2 (from SwitchOffLogicSide2)Switch-off signal 3 for side 2 of the quadripole
Dynawo.Connectors.BPinrunningSide2 (from SwitchOffLogicSide2)Indicates if the component is running on side 2 or not
Dynawo.Connectors.BPinrunning (from SwitchOffDCLine)Indicates if the component is running or not
Dynawo.Connectors.ACPowerterminal1 (from BaseHvdc)
Dynawo.Connectors.ACPowerterminal2 (from BaseHvdc)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffDCLine)DC Line connection state
Types.ActivePowerPuP1RefPu (from BaseHvdc)Active power regulation set point in pu (base SnRef) at terminal 1 (receptor convention)
Types.ActivePowerPuP1Pu (from BaseHvdc)Active power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ActivePowerPuP2Pu (from BaseHvdc)Active power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ActivePowerPuPInj1Pu (from BaseHvdc)Active power at terminal 1 in pu (base SnRef) (generator convention)
Types.ActivePowerPuPInj2Pu (from BaseHvdc)Active power at terminal 2 in pu (base SnRef) (generator convention)
PStatuspStatus (from BaseHvdc)Status of the active power function
Types.ReactivePowerPuQ1Pu (from BaseHvdc)Reactive power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ2Pu (from BaseHvdc)Reactive power at terminal 2 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQInj1Pu (from BaseHvdc)Reactive power at terminal 1 in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQInj2Pu (from BaseHvdc)Reactive power at terminal 2 in pu (base SnRef) (generator convention)
Types.ComplexApparentPowerPus1Pu (from BaseHvdc)Complex apparent power at terminal 1 in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU1Pu (from BaseHvdc)Voltage amplitude at terminal 1 in pu (base UNom)
Types.ComplexApparentPowerPus2Pu (from BaseHvdcP)Complex apparent power at terminal 2 in pu (base SnRef) (receptor convention)
Types.AngleTheta1 (from BaseHvdcP)Angle of the voltage at terminal 1 in rad
Types.AngleTheta2 (from BaseHvdcP)Angle of the voltage at terminal 2 in rad
Types.VoltageModulePuU2Pu (from BaseHvdcP)Voltage amplitude at terminal 2 in pu (base UNom)
BooleanlimUQDown1 (from BaseQStatusDangling)Whether the minimum reactive power limits are reached or not at terminal 1
BooleanlimUQUp1 (from BaseQStatusDangling)Whether the maximum reactive power limits are reached or not at terminal 1
QStatusq1Status (from BaseQStatusDangling)Voltage regulation status of terminal 1: Standard, AbsorptionMax or GenerationMax
BooleanlimUQDown2 (from BaseQStatus)Whether the minimum reactive power limits are reached or not at terminal 2
BooleanlimUQUp2 (from BaseQStatus)Whether the maximum reactive power limits are reached or not at terminal 2
QStatusq2Status (from BaseQStatus)Voltage regulation status of terminal 2: Standard, AbsorptionMax or GenerationMax
BooleanmodeU1 (from BaseVoltageRegulationDangling)Boolean assessing the mode of the control of converter 1: true if U mode (here a proportional Q regulation), false if Q mode (fixed Q)
Types.ReactivePowerPuQ1RefPu (from BaseVoltageRegulationDangling)Reactive power regulation set point in pu (base SnRef) (receptor convention) at terminal 1
BooleanmodeU2 (from BaseVoltageRegulation)Boolean assessing the mode of the control of converter 2: true if U mode (here a proportional Q regulation), false if Q mode (fixed Q)
Types.ReactivePowerPuQ2RefPu (from BaseVoltageRegulation)Reactive power regulation set point in pu (base SnRef) (receptor convention) at terminal 2
Types.VoltageModulePuU1RefPu (from BasePVDangling)Voltage regulation set point in pu (base UNom) at terminal 1
Types.ReactivePowerPuQInj1PuQNom (from BasePVDangling)Reactive power at terminal 1 in pu (base Q1Nom) (generator convention)
Types.VoltageModulePuU2RefPu (from BasePV)Voltage regulation set point in pu (base UNom) at terminal 2
Types.ReactivePowerPuQInj2PuQNom (from BasePV)Reactive power at terminal 2 in pu (base Q2Nom) (generator convention)