soft4pes.control.lin.l_conv_curr_ctr#

Current Controller (CC) for the control of the converter (or grid) current with L filter. Based on the following reference: E. Pouresmaeil, C. Miguel-Espinar, M. Massot-Campos, D. Montesinos-Miracle and O. Gomis-Bellmunt, “A Control Technique for Integration of DG Units to the Electrical Networks,” in IEEE Transactions on Industrial Electronics, vol. 60, no. 7, pp. 2881-2893, July 2013, doi: 10.1109/TIE.2012.2209616.

Classes#

LConvCurrCtr

Current Controller for converter (or grid) current with an L filter.

Module Contents#

class soft4pes.control.lin.l_conv_curr_ctr.LConvCurrCtr(sys)[source]#

Bases: soft4pes.control.common.controller.Controller

Current Controller for converter (or grid) current with an L filter.

Parameters:

sys (object) – System model.

i_conv_ii_dq[source]#

Integrator state of the PI-controller.

Type:

ndarray (2,)

sys[source]#

System model.

Type:

object

ctr_pars[source]#

Controller parameters.

Type:

SimpleNamespace

set_sampling_interval(Ts)[source]#

Set the sampling interval and compute controller parameters.

Parameters:

Ts (float) – Sampling interval [s].

execute(sys, kTs)[source]#

Execute the Current Controller (CC) and save the controller data.

Parameters:
  • sys (object) – System model.

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

Returns:

Three-phase modulating signal.

Return type:

1 x 3 ndarray of floats