soft4pes.control.lin.rfpsc#
Reference-feedforward power synchronization control (RFPSC).
Reference: L. Harnefors, F. M. M. Rahman, M. Hinkkanen, and M. Routimo, “Reference-feedforward power-synchronization control,” IEEE Trans. Power Electron., vol. 35, no. 9, pp. 8878-8881, Sep. 2020.
Classes#
Reference-feedforward power synchronization control (RFPSC). |
Module Contents#
- class soft4pes.control.lin.rfpsc.RFPSC(sys, Ra=0.2, Kp=None, w_bw=0.1)[source]#
Bases:
soft4pes.control.common.controller.Controller
Reference-feedforward power synchronization control (RFPSC).
- Parameters:
sys (system object) – System model.
Ra (float, optional) – Virtual damping resistance [p.u.].
Kp (float, optional) – Proportional gain of the active power droop control [p.u.]. If not provided, it is calculated based on the nominal frequency, nominal grid peak voltage and the virtual damping resistance.
w_bw (float, optional) – Current filter bandwidth [p.u.].
- theta_c[source]#
The angle of the synchronous reference frame set by the droop control. The initial angle is set to -pi/2 to align the q-axis with the grid voltage.
- Type:
float
- Kp#
Proportional gain of the active power droop control [p.u.]. Recommended selection is Kp = wg * Ra / Vg, where wg is the nominal grid angular frequency, Ra is the virtual damping resistance (default 0.2 p.u.) and Vg is the nominal grid peak voltage. If value is not provided, nominal grid angular frequency and nominal grid peak voltage are assumed to be 1 p.u. For more details on the tuning and default values, see the reference above.
- Type:
float
- execute(sys, kTs)[source]#
Execute the RFPSC control algorithm.
- Parameters:
sys (system object) – The system model.
kTs (float) – Current discrete time instant [s].
- Returns:
A SimpleNamespace object containing the modulating signal for the converter (u_abc) and a capacitor voltage reference in case LC(L) filter is used (vc_ref).
- Return type:
SimpleNamespace