modelWind

Framework for a wind plant including controllers

Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).

Information

This model is meant as a simple framework to create a wind power plant that consists of:

  • Generator/Converter
  • Electrical Controller
  • Plant Controller
  • Drive Train

The type of each can be selected via a drop down list where also a deactivation is provided (normally via feed through).

The type of control configuration can also be selected via drop down list, with or without the torsional modeling of the drive train component.

Parameters

TypeNameDefaultDescription
Power flow data
Types.ApparentPowerM_bRenewableGenerator.SysData.S_bMachine base power
Types.ApparentPowerS_b (from pfComponent)SysData.S_bSystem base power
Types.VoltageV_b (from pfComponent)400e3Base voltage of the bus
Types.Frequencyfn (from pfComponent)SysData.fnSystem frequency
Types.ActivePowerP_0 (from pfComponent)1e6Initial active power
Types.ReactivePowerQ_0 (from pfComponent)0Initial reactive power
Types.PerUnitv_0 (from pfComponent)1Initial voltage magnitude
Types.Angleangle_0 (from pfComponent)0Initial voltage angle
BooleandisplayPF (from pfComponent)falseDisplay power flow:
Parameter mask
BooleanenableS_b (from pfComponent)falseEnable S_b in parameter list
BooleanenableV_b (from pfComponent)falseEnable V_b in parameter list
Booleanenablefn (from pfComponent)falseEnable fn in parameter list
BooleanenableP_0 (from pfComponent)falseEnable P_0 in parameter list
BooleanenableQ_0 (from pfComponent)falseEnable Q_0 in parameter list
Booleanenablev_0 (from pfComponent)falseEnable v_0 in parameter list
Booleanenableangle_0 (from pfComponent)falseEnable angle_0 in parameter list
BooleanenabledisplayPF (from pfComponent)falseEnable displayPF in parameter list
Reactive Power Control Options
IntegerQFunctionality0Wind Reactive Power Control Options
Active Power Control Options
IntegerPFunctionality0Wind Real Power Control Options
Torsional Oscillation
IntegerTOscillation0Wind Torque Oscillation Option
Initialization
RealW0Initial Slip

Connectors

TypeNameDefaultDescription
Interfaces.PwPinpwPin
Modelica.Blocks.Interfaces.RealInputFREQConnection Point Frequency
Modelica.Blocks.Interfaces.RealInputbranch_irMeasured Branch Real Current
Modelica.Blocks.Interfaces.RealInputbranch_iiMeasured Branch Imaginary Current
Modelica.Blocks.Interfaces.RealInputregulate_vrRegulated Branch Real Voltage
Modelica.Blocks.Interfaces.RealInputregulate_viRegulated Branch Imaginary Voltage

Components

TypeNameDefaultDescription
OpenIPSL.Electrical.SystemBaseSysData (from pfComponent)Must add this line in all models
OpenIPSL.Electrical.Renewables.PSSE.InverterInterface.BaseClasses.BaseREGCRenewableGenerator
ElectricalController.BaseClasses.BaseREECARenewableController
OpenIPSL.Electrical.Renewables.PSSE.PlantController.BaseClasses.BaseREPCPlantController
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Sources.Constantfreq_ref
WindDriveTrain.BaseClasses.BaseWTDTDriveTrain
Modelica.Blocks.Sources.Constantw0