OpenIPSL.Electrical.Renewables.PSSE.ElectricalController

Renewable Electrical Controllers

Information

This package contains components that model the different electrical controller components of the WECC-based renewable energy sources.

Package Content

Name Description
OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECA1 REECA1 Electrical control model for large scale wind
OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECB1 REECB1 Electrical control model for large scale photovoltaic
OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECCU1 REECCU1 Electrical control model for utility scale battery energy storage
OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.BaseClasses BaseClasses Base classes for renewable energy electrical control models

OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECA1 OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECA1

Electrical control model for large scale wind

Information

The REECA1 component used to represent the electrical controls of wind turbine generation. The electrical controller actuates on the active and reactive power reference from either the plant controller component or from power flow power reference values (in the case where there is no plant controller), with feedback variables that original from the inverter interface component, specifically terminal voltage and generator power output, and provides real (Ipcmd) and reactive current (Iqcmd) commands to the REGC type modules.

For initialization purposes, there are 5 inputs that are derived from the inverter component: initial real and reactive injection currents (IP0 and IQ0), initial terminal voltage (v_0), and initial active and reactive power injections (p_0 and q_0).

In terms of connectivity with other components to form the renewable source, the REECA1 component has six inputs, three of which are connected to the inverter component (for instance REGCA1), two more that can either be constant values from the power flow initialization or come from the connection to the plant controller, and an input (wg) that allows modeling the torscional frequencies on the turbine shaft originated from disturbances. The three REECA1 inputs that take in values from the output of the inverter model are Vt, Pgen, and Qgen while the two inputs that could potentially be constant valued or come from the plant controller are Pref, and Qext.

The modelling of such devices is based, mainly, on the following references:

Extends from OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.BaseClasses.BaseREECA (Base renewable energy electrical controller model A).

Parameters

NameDescription
IqcmdReactice Command Current
IpcmdReal Command Current
VdipLow voltage threshold to activate reactive current injection logic (0.85 - 0.9) [1]
VupVoltage above which reactive current injection logic is activated (>1.1) [1]
TrvFilter time constant for voltage measurement (0.01 - 0.02) [s]
dbd1Voltage error dead band lower threshold (-0.1 - 0) [1]
dbd2Voltage error dead band upper threshold (0 - 0.1) [1]
KqvReactive current injection gain during over and undervoltage conditions (0 - 10)
Iqh1Upper limit on reactive current injection Iqinj (1 - 1.1) [1]
Iql1Lower limit on reactive current injection Iqinj (-1.1 - 1) [1]
vref0User defined voltage reference (0.95 - 1.05) [1]
IqfrzValue at which Iqinj is held for Thld seconds following a voltage dip if Thld > 0 [1]
ThldTime for which Iqinj is held at Iqfrz after voltage dip returns to zero [s]
TpFilter time constant for electrical power (0.01 - 0.1) [s]
QmaxUpper limits of the limit for reactive power regulator (0.4 - 1.0) [1]
QminLower limits of the limit for reactive power regulator (-1.0 - -0.4) [1]
VmaxMaximum limit for voltage control (1.05 - 1.1) [1]
VminLower limits of input signals (0.9 - 0.95) [1]
KqpReactive power regulator proportional gain (No predefined range)
KqiReactive power regulator integral gain (No predefined range)
KvpVoltage regulator proportional gain (No predefined range)
KviVoltage regulator integral gain (No predefined range)
VbiasUser-defined reference/bias on the inner-loop voltage control (No predefined range) [1]
TiqTime constant on lag delay (0.01 - 0.02) [s]
dPmaxPower reference maximum ramp rate (No predefined range)
dPminLower limits of input signals (No predefined range)
PmaxMaximum power limit [1]
PminMinimum power limit [1]
ImaxMaximum limit on total converter current (1.1 - 1.3) [1]
TpordPower filter time constant (0.01 - 0.02) [s]
Vq1Reactive Power V-I pair, voltage (user defined) [1]
Iq1Reactive Power V-I pair, current (user defined) [1]
Vq2Reactive Power V-I pair, voltage (user defined) [1]
Iq2Reactive Power V-I pair, current (user defined) [1]
Vq3Reactive Power V-I pair, voltage (user defined) [1]
Iq3Reactive Power V-I pair, current (user defined) [1]
Vq4Reactive Power V-I pair, voltage (user defined) [1]
Iq4Reactive Power V-I pair, current (user defined) [1]
Vp1Real Power V-I pair, voltage (user defined) [1]
Ip1Real Power V-I pair, current (user defined) [1]
Vp2Real Power V-I pair, voltage (user defined) [1]
Ip2Real Power V-I pair, current (user defined) [1]
Vp3Real Power V-I pair, voltage (user defined) [1]
Ip3Real Power V-I pair, current (user defined) [1]
Vp4Real Power V-I pair, voltage (user defined) [1]
Ip4Real Power V-I pair, current (user defined) [1]
Control
pfflagConstant output value
vflagConstant output value
qflagConstant output value
pqflagConstant output value
pflagConstant output value

Connectors

NameDescription
VtTerminal Voltage Magnitude
PeActive Power Generated
QextReactive Power Reference
QgenReactive Power Generated
PrefActive Power Reference
ip0Initial Real Current
iq0Initial Imaginary Current
IqcmdReactice Command Current
IpcmdReal Command Current
WgRotational Speed Generator
v0Initial Terminal Voltage Magnitude
p0Initial Active Power
q0Initial Reactive Power

OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECB1 OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECB1

Electrical control model for large scale photovoltaic

Information

The REECB1 component used to represent the electrical controls of photovoltaic generation. The electrical controller actuates on the active and reactive power reference from either the plant controller component or from power flow power reference values (in the case where there is no plant controller), with feedback variables that original from the inverter interface component, specifically terminal voltage and generator power output, and provides real (Ipcmd) and reactive current (Iqcmd) commands to the REGC types module.

For initialization purposes, there are 5 inputs that are derived from the inverter component: initial real and reactive injection currents (IP0 and IQ0), initial terminal voltage (v_0), and initial active and reactive power injections (p_0 and q_0).

In terms of connectivity with other components to form the renewable source, the REECB1 component has five inputs, three of which are connected to the inverter component (for instance REGCA1), and two more that can either be constant values from the power flow initialization or come from the connection to the plant controller. The three REECB1 inputs that take in values from the output of the inverter model are Vt, Pgen, and Qgen while the two inputs that could potentially be constant valued or come from the plant controller are Pref, and Qext.

The modelling of such devices is based, mainly, on the following references:

Extends from OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.BaseClasses.BaseREECB (Base renewable energy electrical controller model B).

Parameters

NameDescription
IqcmdCommand Reactive Current
IpcmdCommand Active Current
VdipLow voltage threshold to activate reactive current injection logic (0.85 - 0.9) [1]
VupVoltage above which reactive current injection logic is activated (>1.1) [1]
TrvFilter time constant for voltage measurement (0.01 - 0.02) [s]
dbd1Voltage error dead band lower threshold (-0.1 - 0) [1]
dbd2Voltage error dead band upper threshold (0 - 0.1) [1]
KqvReactive current injection gain during over and undervoltage conditions (0 - 10)
Iqh1Upper limit on reactive current injection Iqinj (1 - 1.1) [1]
Iql1Lower limit on reactive current injection Iqinj (-1.1 - 1) [1]
vref0User defined voltage reference (0.95 - 1.05) [1]
TpFilter time constant for electrical power (0.01 - 0.1) [s]
QmaxUpper limits of the limit for reactive power regulator (0.4 - 1.0) [1]
QminLower limits of the limit for reactive power regulator (-1.0 - -0.4) [1]
VmaxMaximum limit for voltage control (1.05 - 1.1) [1]
VminLower limits of input signals (0.9 - 0.95) [1]
KqpReactive power regulator proportional gain (No predefined range)
KqiReactive power regulator integral gain (No predefined range)
KvpVoltage regulator proportional gain (No predefined range)
KviVoltage regulator integral gain (No predefined range)
TiqTime constant on lag delay (0.01 - 0.02) [s]
dPmaxPower reference maximum ramp rate (No predefined range)
dPminLower limits of input signals (No predefined range)
PmaxMaximum power limit [1]
PminMinimum power limit [1]
ImaxMaximum limit on total converter current (1.1 - 1.3) [1]
TpordPower filter time constant (0.01 - 0.02) [s]
Control
pfflagConstant output value
vflagConstant output value
qflagConstant output value
pqflagConstant output value

Connectors

NameDescription
VtTerminal Voltage Magnitude
PeElectrical Power Generation
QextReactive Power Reference
QgenReactive Power Generation
PrefActive Power Reference
ip0Initial Real Current
iq0Initial Reactive Current
IqcmdCommand Reactive Current
IpcmdCommand Active Current
v0Initial Terminal Voltage Magnitude
p0Initial Active Power
q0Initial Reactive Power

OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECCU1 OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.REECCU1

Electrical control model for utility scale battery energy storage

Information

The REECCU1 component is an augmented version of the existing renewable energy electrical control (REECA1) model, and can be utilized to represent both type 3 and type 4 wind turbine electrical controllers as well as photovoltaic electrical controllers. The REECCU1 component can be connected to the plant controller (REPCA1). This electrical controller provides real (Ipcmd) and reactive (Iqcmd) current commands to the REGCA1 component, which are the outputs of this component.

For initialization purposes, there are 5 inputs that are derived from the inverter component: initial real and reactive injection currents (IP0 and IQ0), initial terminal voltage (v_0), and initial active and reactive power injections (p_0 and q_0).

In terms of connectivity with other components to form the renewable source, the REECCU1 component has six inputs, three of which are connected to the inverter component (for instance REGCA1), two more that can either be constant values from the power flow initialization or come from the connection to the plant controller, and an auxiliary input variable that is rarely used (usually constant and zero). The three REECCU1 inputs that take in values from the output of the inverter model are Vt, Pgen, and Qgen while the two inputs that could potentially be constant valued or come from the plant controller are Pref, and Qext.

The modelling of such devices is based, mainly, on the following references:

Extends from OpenIPSL.Electrical.Renewables.PSSE.ElectricalController.BaseClasses.BaseREECC (Base renewable energy electrical controller model C).

Parameters

NameDescription
IqcmdReactive Command Current
IpcmdActive Command Current
VdipLow voltage threshold to activate reactive current injection logic (0.85 - 0.9) [1]
VupVoltage above which reactive current injection logic is activated (>1.1) [1]
TrvFilter time constant for voltage measurement (0.01 - 0.02) [s]
dbd1Voltage error dead band lower threshold (-0.1 - 0) [1]
dbd2Voltage error dead band upper threshold (0 - 0.1) [1]
KqvReactive current injection gain during over and undervoltage conditions (0 - 10)
Iqh1Upper limit on reactive current injection Iqinj (1 - 1.1) [1]
Iql1Lower limit on reactive current injection Iqinj (-1.1 - 1) [1]
vref0User defined voltage reference (0.95 - 1.05) [1]
TpFilter time constant for electrical power (0.01 - 0.1) [s]
QmaxUpper limits of the limit for reactive power regulator (0.4 - 1.0) [1]
QminLower limits of the limit for reactive power regulator (-1.0 - -0.4) [1]
VmaxMaximum limit for voltage control (1.05 - 1.1) [1]
VminLower limits of input signals (0.9 - 0.95) [1]
KqpReactive power regulator proportional gain (No predefined range)
KqiReactive power regulator integral gain (No predefined range)
KvpVoltage regulator proportional gain (No predefined range)
KviVoltage regulator integral gain (No predefined range)
TiqTime constant on lag delay (0.01 - 0.02) [s]
dPmaxPower reference maximum ramp rate (No predefined range)
dPminLower limits of input signals (No predefined range)
PmaxMaximum power limit [1]
PminMinimum power limit [1]
ImaxMaximum limit on total converter current (1.1 - 1.3) [1]
TpordPower filter time constant (0.01 - 0.02) [s]
Vq1Reactive Power V-I pair, voltage (user defined) [1]
Iq1Reactive Power V-I pair, current (user defined) [1]
Vq2Reactive Power V-I pair, voltage (user defined) [1]
Iq2Reactive Power V-I pair, current (user defined) [1]
Vq3Reactive Power V-I pair, voltage (user defined) [1]
Iq3Reactive Power V-I pair, current (user defined) [1]
Vq4Reactive Power V-I pair, voltage (user defined) [1]
Iq4Reactive Power V-I pair, current (user defined) [1]
Vp1Real Power V-I pair, voltage (user defined) [1]
Ip1Real Power V-I pair, current (user defined) [1]
Vp2Real Power V-I pair, voltage (user defined) [1]
Ip2Real Power V-I pair, current (user defined) [1]
Vp3Real Power V-I pair, voltage (user defined) [1]
Ip3Real Power V-I pair, current (user defined) [1]
Vp4Real Power V-I pair, voltage (user defined) [1]
Ip4Real Power V-I pair, current (user defined) [1]
TBattery discharge time [s]
SOCiniInitial state of charge [1]
SOCmaxMaximum allowable state of charge [1]
SOCminMinimum allowable state of charge [1]
Control
pfflagConstant output value
vflagConstant output value
qflagConstant output value
pqflagConstant output value

Connectors

NameDescription
ip0Initial Active Current
iq0Initial Reactive Current
IqcmdReactive Command Current
IpcmdActive Command Current
v0Initial Terminal Voltage Magnitude
p0Initial Active Power
q0Initial Reactive Power
VtTerminal Voltage Magnitude
PeElectrical Power
QextReactive Power Reference
QgenReactive Power Generated
PrefActive Power Reference
PauxAuxiliary Signal for Active Power
Automatically generated Thu Feb 26 06:56:10 2026.