OpenIPSL.Electrical.Renewables.PSSE.PlantController

Renewable Plant Controllers

Information

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

Package Content

Name Description
OpenIPSL.Electrical.Renewables.PSSE.PlantController.REPCA1 REPCA1 Renewable energy plant controller model A
OpenIPSL.Electrical.Renewables.PSSE.PlantController.BaseClasses BaseClasses Base classes for renewable energy plant control models from PSSE

OpenIPSL.Electrical.Renewables.PSSE.PlantController.REPCA1 OpenIPSL.Electrical.Renewables.PSSE.PlantController.REPCA1

Renewable energy plant controller model A

Information

The REPCA1 module is used to represent the renewable energy plant controller. It takes as input voltage and reactive power to then generate volt/var control at the plant level. It also generates frequency and active power output to emulate active power control. TThe REPCA1 module provides active reactive power command references to the electrical controller components (REECA1, REECB1, and REECCU1).

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

Extends from BaseClasses.BaseREPC (Base class for the plant controller of the WECC generic renewable models).

Parameters

NameDescription
TfltrVoltage or reactive power measurement filter time constant [s]
KpReactive power PI control proportional gain
KiReactive power PI control integral gain
TftLead time constant [s]
TfvLag time constant [s]
VfrzVoltage below which State s2 is frozen [1]
RcLine drop compensation resistance [1]
XcLine drop compensation reactance [1]
KcReactive current compensation gain
emaxUpper limit on deadband output [1]
eminLower limit on deadband output [1]
dbd1Lower threshold for reactive power control deadband (<=0) [1]
dbd2Upper threshold for reactive power control deadband (>=0) [1]
QmaxUpper limit on output of V/Q control [1]
QminLower limit on output of V/Q control [1]
KpgProportional gain for power control
KigProportional gain for power control
TpReal power measurement filter time constant [s]
fdbd1Deadband for frequency control, lower threshold (<=0) [1]
fdbd2Deadband for frequency control, upper threshold (>=0) [1]
femaxFrequency error upper limit [1]
feminFrequency error lower limit [1]
PmaxUpper limit on power reference [1]
PminLower limit on power reference [1]
TgPower Controller lag time constant [s]
DdnReciprocal of droop for over-frequency conditions [1]
DupReciprocal of droop for under-frequency conditions [1]
VrefRegulated bus initial voltage
QextReactive Power output signal
PrefReal Power output signal
Power flow data
M_bMachine base power [V.A]
S_bSystem base power [V.A]
V_bBase voltage of the bus [V]
fnSystem frequency [Hz]
P_0Initial active power [W]
Q_0Initial reactive power [var]
v_0Initial voltage magnitude [1]
angle_0Initial voltage angle [rad]
displayPFDisplay power flow:
Control
vcflagReactive droop (false) or line drop compensation (true)
refflagPlant-level reactive power (false) or voltage control (true)
fflagGovernor response disable (false) or enable (true)

Connectors

NameDescription
QrefReactive Power Reference
Plant_prefActive Power Reference
FreqConnection Point Frequency
Freq_refPlant Controller Frequency Reference
QextReactive Power output signal
PrefReal Power output signal
p0Initial Active Power
q0Initial Reactive Power
v0Initial Terminal Voltage Magnitude
branch_irMeasured Branch Real Current
branch_iiMeasured Branch Imaginary Current
regulate_vrRegulated Branch Real Voltage
regulate_viRegulated Branch Imaginary Voltage
Automatically generated Thu Feb 26 06:56:10 2026.