The REGCA1 component is used to represent the renewable source (inverter) interface with the grid. It takes in as input the real current command (Ipcmd) and the reactive current command (Iqcmd) from the electrical controller, and outputs real (Ip) and reactive (Iq) injected currents to the grid through OpenIPSL's proprietary pwpin connector.
In order to properly initialize all the components that form the renewable energy source, the REGC_A component has five initialization outputs, which its constant output originates from the starting power flow: 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). This method reduces repetitiveness of initialization calculation, being calculated once at the REGCA1 component.
The connection with other components requires a closed loop through terminal voltage variable (V_t), and active and reactive power generation (Pgen and Qgen).
The modelling of such devices is based, mainly, on the following reference:
Siemens: "PSS®E Model Library" [PSSE-MODELS].