modelSolarGenerator

Extends from ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.OnePortGroundedInit.

Information

The model is according to the paper "A novel model for photovoltaic array performance prediction" by Wei Zhou et al.

Parameters

TypeNameDefaultDescription
SI.VoltageVnom (from OnePortGroundedInit)110e3Nominal phase-to-phase RMS voltage
Modelica.SIunits.ActivePowerPnom5000installed nominal power
StringprofileFileName"NoName"file where matrix is stored
StringprofileName"NoName"table name on file
BooleanStatusOntruegenerator on/off
IntegerControllerType00 = No control, 1 = Q provision, 2 = P curtailment at plant, 3 = P curtailment at PCC
RealCurtailLimit70.0curtailment limit for active power (only effective for controller types 2 and 3)
Data in/out
BooleanenableOutputPsolarfalse
BooleanenableInputPloadfalse

Connectors

TypeNameDefaultDescription
ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.PinPin1 (from OnePortGrounded)
Modelica.Blocks.Interfaces.RealInputP_loadIninput pin for load measurement (necessary only for control type 3)
Modelica.Blocks.Interfaces.RealOutputP_loadMeassupport output to allow for parameter dependent load measurement input pin
Modelica.Blocks.Interfaces.RealOutputP_solarOut-Pactive power output out of the solar generator

Components

TypeNameDefaultDescription
Modelica.SIunits.ComplexVoltagev (from OnePortGrounded)
Modelica.SIunits.ComplexCurrenti (from OnePortGrounded)
SI.ActivePowerP (from OnePortGrounded)Consumed Active Power
SI.ReactivePowerQ (from OnePortGrounded)Reactive Power
SI.VoltageV (from OnePortGrounded)Voltage RMS phase-to-neutral
SI.VoltageVpeak (from OnePortGrounded)Voltage peak phase-to-neutral
SI.VoltageVpp (from OnePortGrounded)Voltage RMS phase-to-phase
SI.CurrentI (from OnePortGrounded)Current RMS
SI.CurrentIpeak (from OnePortGrounded)Current peak
SI.AngleVangle (from OnePortGrounded)Voltage phase
SI.AngleIangle (from OnePortGrounded)Current phase
SI.Anglephi (from OnePortGrounded)Phase shift between voltage and current
Realq1.6e-19
RealKelvin273.15
ModPowerSystems.PhasorSinglePhase.Generation.ModelConstants.SolarGenerators.RecordZhouBP580model_data
Modelica.Blocks.Sources.CombiTimeTablepvProfile
RealGpvProfile.y[1] + pvProfile.y[2]total radiation profile
RealTemppvProfile.y[3] + Kelvintemperature profile in Kelvin
RealN_s1modules connected in series, here no series connection assumed
RealN_pPnom/model_data.P_module0module connected in parallel to obtain Pnom
RealI_scshort circuit current
RealV_ocopen circuit voltage
Realv_ocnormalized open circuit voltage
RealFF_0Fill factor of ideal PV module
RealFFFill factor
RealP_modulemodule power output
RealP_genactive array power with curtailment
RealW_lossenergy loss due to active power curtailment
RealW_totaltotal energy produced without curtailment
RealW_relrelative energy loss
RealP_relactive array power relative to nominal power
RealPFpower factor