10-kVA, LCL filter, GFL

10-kVA, LCL filter, GFL#

This example simulates grid-following (GFL) current-vector control of a 10-kVA grid converter, connected to the grid through an LCL filter, natively. The system is that of the motulator example 10-kVA, LCL filter, GFL.

from motulator.grid import control, model, utils

from motulator_export import native

Compute base values based on the nominal values.

nom = utils.NominalValues(U=400, I=14.5, f=50, P=10e3)
base = utils.BaseValues.from_nominal(nom)

Configure the system model.

Configure the control system.

Set the references for the converter output power.

ctrl.set_power_ref(lambda t: (t > 0.02) * 5e3)
ctrl.set_reactive_power_ref(lambda t: (t > 0.04) * 4e3)

Simulate natively and plot the results.

  • plot 10kva lcl gfl
  • plot 10kva lcl gfl

Total running time of the script: (0 minutes 1.231 seconds)

Gallery generated by Sphinx-Gallery