modelActivePowerController

Controller for the active power of a PV plant

Information

This is essentially a PI controller whose output is reduced during the activation of FRT. PI from Modelica Standard Library was not used due to the specific implementation in PowerFactory which this model follows.

Parameters

TypeNameDefaultDescription
RealK0.005Gain of the PI-Controller
Types.TimeT0.03Integration Time Constant of the PI controller
Realyo_minMinimum d-axis current
Realyo_maxMaximum d-axis current
Types.PerUnitid0Initial d-axis current
Booleanwith_Iif T > 0 then true else false

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputyi
Modelica.Blocks.Interfaces.RealOutputyo
Modelica.Blocks.Interfaces.RealInputpred
Modelica.Blocks.Interfaces.RealOutputyo1
Modelica.Blocks.Interfaces.RealOutputyo2
Modelica.Blocks.Interfaces.RealOutputx

Components

TypeNameDefaultDescription
Modelica.Blocks.Continuous.LimIntegratorI
Modelica.Blocks.Sources.Constantdisable
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Math.GainP
Modelica.Blocks.Continuous.Integratortracker
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Blocks.Nonlinear.Limiterlimiter
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Nonlinear.Limiterlimiter1

Revisions

Model Name

Active Power Controller for PV

Reference

PowerFactory Implementation in Templates

Last update

January 2021

Author

@tinrabuzin

Contact

see UsersGuide.Contact

Model Verification

This model has not been verified against PowerFactory.