soft4pes.control.lin.lcl_grid_curr_ctr_wacfb#

Grid current controller for a converter with LCL filter based on weighted average control

(WAC) feedback.

[Ref.]. L. S. Perić, E. Levi and S. N. Vukosavić, “Compound Feedback for Current-Controlled
Grid-Side Inverters With LCL Filters,” in IEEE Transactions on Power Electronics, vol. 40,

no. 2, pp. 3005-3019, Feb. 2025, doi: 10.1109/TPEL.2024.3487109.

Classes#

LCLGridCurrCtrWACFB

Grid current controller for a converter with LCL filter based on weighted average based (WAC)

Module Contents#

class soft4pes.control.lin.lcl_grid_curr_ctr_wacfb.LCLGridCurrCtrWACFB(sys, gamma=None, xi=None, alpha_d=0.3)[source]#

Bases: soft4pes.control.common.controller.Controller

Grid current controller for a converter with LCL filter based on weighted average based (WAC) feedback.

Parameters:

sys (object) – System model containing electrical parameters and base values.

sys[source]#

System model containing electrical parameters and base values.

Type:

object

gamma[source]#

Tuning parameter for the high-pass filter (HPF) in the damping compensation path.

Type:

float

xi[source]#

Damping ratio for the damping compensation path.

Type:

float

alpha_d[source]#

Tuning parameter for the integrator gain in the main control path.

Type:

float

ctr#

Controller parameters and filters.

Type:

SimpleNamespace

set_sampling_interval(Ts)[source]#

Set the sampling interval and compute controller parameters.

Parameters:

Ts (float) – Sampling interval in seconds.

execute(sys, kTs)[source]#

Execute the controller.

Parameters:
  • sys (object) – System model.

  • kTs (float) – Current discrete time instant [s].

Returns:

output – The output of the controller after execution.

Return type:

SimpleNamespace