LBL logo

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources

Package with sources model for three-phase unbalanced AC systems

Information

This package contains models that represent different types of three phases unbalanced AC sources.

Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).

Package Content

Name Description
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage FixedVoltage Fixed voltage source
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage_N FixedVoltage_N Fixed voltage source with neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid Grid Electrical grid
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid_N Grid_N Electrical grid with neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple PVsimple Simple PV source without neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented PVsimpleOriented Simple PV source with orientation and without neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented_N PVsimpleOriented_N Simple PV source with orientation and neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple_N PVsimple_N Simple PV source with neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine WindTurbine Simple wind turbine source without neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine_N WindTurbine_N Simple wind turbine source with neutral cable
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples Examples Package with example models
Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses BaseClasses Package with base class models

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage

Fixed voltage source

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage

Information

This is a constant voltage source, specifying the complex voltage by the RMS voltage and the phase shift.

The parameters potentialReference and definiteReference are used to define if the source model should be selected as source for the reference angles theta or not. More information about overdetermined connectors can be found in Olsson Et Al. (2008).

References

Hans Olsson, Martin Otter, Sven Erik Mattson and Hilding Elmqvist.
Balanced Models in Modelica 3.0 for Increased Model Quality.
Proc. of the 7th Modelica Conference, Bielefeld, Germany, March 2008.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.PartialSource (Partial model for a three-phase AC unbalanced voltage source without neutral cable).

Parameters

TypeNameDefaultDescription
Frequencyf Frequency of the source [Hz]
VoltageV RMS voltage of the source [V]
AnglephiSou0Phase shift of the source [rad]
Reference Parameters
BooleanpotentialReferencetrueServe as potential root for the reference angle theta
BooleandefiniteReferencefalseServe as definite root for the reference angle theta

Connectors

TypeNameDescription
Terminal_pterminalConnector for three-phase unbalanced systems

Modelica definition

model FixedVoltage "Fixed voltage source" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.PartialSource; parameter Modelica.SIunits.Frequency f(start=60) "Frequency of the source"; parameter Modelica.SIunits.Voltage V(start=480) "RMS voltage of the source"; parameter Modelica.SIunits.Angle phiSou = 0 "Phase shift of the source"; parameter Boolean potentialReference = true "Serve as potential root for the reference angle theta"; parameter Boolean definiteReference = false "Serve as definite root for the reference angle theta"; constant Modelica.SIunits.Angle angle120 = 2*Modelica.Constants.pi/3 "Phase shift between the phase voltages"; OnePhase.Sources.FixedVoltage vPhase[3]( each f=f, potentialReference={potentialReference, potentialReference, potentialReference}, definiteReference={definiteReference, false, false}, phiSou={phiSou,phiSou - angle120,phiSou + angle120}, each V=V/sqrt(3)) "Voltage sources on the three-phase"; protected Interfaces.Adapter3to3 ada "Adapter between the different connectors"; equation connect(vPhase.terminal, ada.terminals); connect(ada.terminal, connection3to4.terminal4); end FixedVoltage;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage_N Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage_N

Fixed voltage source with neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage_N

Information

This is a constant voltage source, specifying the complex voltage by the RMS voltage and the phase shift. The model has also the neutral cable, connected to a ground reference by default.

The parameters potentialReference and definiteReference are used to define if the source model should be selected as source for the reference angles theta or not. More information about overdetermined connectors can be found in Olsson Et Al. (2008).

References

Hans Olsson, Martin Otter, Sven Erik Mattson and Hilding Elmqvist.
Balanced Models in Modelica 3.0 for Increased Model Quality.
Proc. of the 7th Modelica Conference, Bielefeld, Germany, March 2008.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.PartialSource_N (Partial model for a three-phase AC unbalanced voltage source with neutral cable).

Parameters

TypeNameDefaultDescription
Frequencyf Frequency of the source [Hz]
VoltageV RMS voltage of the source [V]
AnglephiSou0Phase shift of the source [rad]
Reference Parameters
BooleanpotentialReferencetrueServe as potential root for the reference angle theta
BooleandefiniteReferencefalseServe as definite root for the reference angle theta

Connectors

TypeNameDescription
Terminal4_pterminalConnector for three-phase unbalanced systems with neutral cable

Modelica definition

model FixedVoltage_N "Fixed voltage source with neutral cable" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.PartialSource_N; parameter Modelica.SIunits.Frequency f(start = 60) "Frequency of the source"; parameter Modelica.SIunits.Voltage V(start = 480) "RMS voltage of the source"; parameter Modelica.SIunits.Angle phiSou = 0 "Phase shift of the source"; parameter Boolean potentialReference = true "Serve as potential root for the reference angle theta"; parameter Boolean definiteReference = false "Serve as definite root for the reference angle theta"; constant Modelica.SIunits.Angle angle120 = 2*Modelica.Constants.pi/3 "Phase shift between the phase voltages"; OnePhase.Sources.FixedVoltage vPhase[3]( each f=f, phiSou={phiSou, phiSou + angle120, phiSou + 2*angle120}, potentialReference={potentialReference, potentialReference, potentialReference}, definiteReference={definiteReference, false, false}, each V=V/sqrt(3)) "Voltage sources on the three-phase"; equation connect(vPhase[1].terminal, terminal.phase[1]); connect(vPhase[2].terminal, terminal.phase[2]); connect(vPhase[3].terminal, terminal.phase[3]); end FixedVoltage_N;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid

Electrical grid

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid

Information

Model that can be used to represent the electrical grid supply.

The model has an output connector named P[n] with n = 3 that contains information about the power supplied by the grid to the network. The convention is that P[i].real is positive if real power is consumed from the grid, and negative if it is fed into the grid. The connector has size equal to three because each element of the vector refers to a single phase.

The parameter V is the root means square of the voltage. In US, a typical value 480 Volts.

Parameters

TypeNameDefaultDescription
Frequencyf Frequency of the source [Hz]
VoltageV RMS voltage of the source [V]
AnglephiSou0Phase shift of the source [rad]

Connectors

TypeNameDescription
PowerOutputP[3]Power consumed from grid if negative, or fed to grid if positive
Terminal_pterminalConnector for three-phase unbalanced systems

Modelica definition

model Grid "Electrical grid" parameter Modelica.SIunits.Frequency f(start = 60) "Frequency of the source"; parameter Modelica.SIunits.Voltage V(start = 480) "RMS voltage of the source"; parameter Modelica.SIunits.Angle phiSou = 0 "Phase shift of the source"; Buildings.Electrical.AC.Interfaces.PowerOutput P[3] "Power consumed from grid if negative, or fed to grid if positive"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Terminal_p terminal "Connector for three-phase unbalanced systems"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage sou( potentialReference=true, definiteReference=true, f=f, V=V, phiSou=phiSou) "Voltage source"; equation for i in 1:3 loop P[i].real = -sou.vPhase[i].S[1]; P[i].apparent = sqrt(sou.vPhase[i].S[2]^2 + sou.vPhase[i].S[1]^2); P[i].phi = sou.vPhase[i].phi; P[i].cosPhi = cos(sou.vPhase[i].phi); end for; connect(sou.terminal, terminal); end Grid;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid_N Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid_N

Electrical grid with neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Grid_N

Information

Model that can be used to represent the electrical grid supply with a neutral cable connection. The neutral cable is connected to the ground.

The model has an output connector named P[n] with n = 3 that contains information about the power supplied by the grid to the network. The convention is that P[i].real is positive if real power is consumed from the grid, and negative if it is fed into the grid. The connector has size equal to three because each element of the vector refers to a single phase.

The parameter V is the root means square of the voltage. In US, a typical value 480 Volts.

Parameters

TypeNameDefaultDescription
Frequencyf Frequency of the source [Hz]
VoltageV RMS voltage of the source [V]
AnglephiSou0Phase shift of the source [rad]

Connectors

TypeNameDescription
PowerOutputP[3]Power consumed from grid if negative, or fed to grid if positive
Terminal4_pterminalConnector for three-phase unbalanced systems

Modelica definition

model Grid_N "Electrical grid with neutral cable" parameter Modelica.SIunits.Frequency f(start = 60) "Frequency of the source"; parameter Modelica.SIunits.Voltage V(start = 480) "RMS voltage of the source"; parameter Modelica.SIunits.Angle phiSou = 0 "Phase shift of the source"; Buildings.Electrical.AC.Interfaces.PowerOutput P[3] "Power consumed from grid if negative, or fed to grid if positive"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Terminal4_p terminal "Connector for three-phase unbalanced systems"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.FixedVoltage_N sou( potentialReference=true, definiteReference=true, f=f, V=V, phiSou=phiSou) "Voltage source"; equation for i in 1:3 loop P[i].real = -sou.vPhase[i].S[1]; P[i].apparent = sqrt(sou.vPhase[i].S[2]^2 + sou.vPhase[i].S[1]^2); P[i].phi = sou.vPhase[i].phi; P[i].cosPhi = cos(sou.vPhase[i].phi); end for; connect(sou.terminal, terminal); end Grid_N;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple

Simple PV source without neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple

Information

Simple PV model for three-phase unbalanced systems without neutral cable connection.

For more information, see Buildings.Electrical.AC.OnePhase.Sources.PVSimple.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV (Base model for an unbalanced PV source without neutral cable).

Parameters

TypeNameDefaultDescription
BooleanplugPhase1trueIf true, phase 1 is connected
BooleanplugPhase2trueIf true, phase 2 is connected
BooleanplugPhase3trueIf true, phase 3 is connected
AreaA Net surface area [m2]
RealfAct0.9Fraction of surface area with active solar cells [1]
Realeta0.12Module conversion efficiency [1]
RealareaFraction[3]ones(3)/3Fraction of area occupied by the PVs of each phase
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Nominal conditions
VoltageV_nominal Nominal voltage (V_nominal >= 0) [V]

Connectors

TypeNameDescription
output RealOutputPGenerated power [W]
Terminal_pterminalConnector for three-phase unbalanced systems
input RealInputGTotal solar irradiation per unit area [W/m2]

Modelica definition

model PVsimple "Simple PV source without neutral cable" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV ( redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase1, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase2, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase3); Modelica.Blocks.Interfaces.RealInput G(unit="W/m2") "Total solar irradiation per unit area"; equation connect(G, G_int); end PVsimple;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented

Simple PV source with orientation and without neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented

Information

Simple PV model with orientation for three-phase unbalanced systems without neutral cable connection.

For more information, see Buildings.Electrical.AC.OnePhase.Sources.PVSimpleOriented.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV (Base model for an unbalanced PV source without neutral cable).

Parameters

TypeNameDefaultDescription
BooleanplugPhase1trueIf true, phase 1 is connected
BooleanplugPhase2trueIf true, phase 2 is connected
BooleanplugPhase3trueIf true, phase 3 is connected
AreaA Net surface area [m2]
RealfAct0.9Fraction of surface area with active solar cells [1]
Realeta0.12Module conversion efficiency [1]
RealareaFraction[3]ones(3)/3Fraction of area occupied by the PVs of each phase
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Nominal conditions
VoltageV_nominal Nominal voltage (V_nominal >= 0) [V]
Orientation
Angletil Surface tilt [rad]
Anglelat Latitude [rad]
Angleazi Surface Azimith [rad]

Connectors

TypeNameDescription
output RealOutputPGenerated power [W]
Terminal_pterminalConnector for three-phase unbalanced systems
BusweaBusBus with weather data

Modelica definition

model PVsimpleOriented "Simple PV source with orientation and without neutral cable" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV ( redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase1, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase2, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase3); parameter Modelica.SIunits.Angle til "Surface tilt"; parameter Modelica.SIunits.Angle lat "Latitude"; parameter Modelica.SIunits.Angle azi "Surface Azimith"; BoundaryConditions.SolarIrradiation.DiffusePerez HDifTil( final til=til, final lat=lat, final azi=azi) "Diffuse irradiation on tilted surface"; BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirTil( final til=til, final lat=lat, final azi=azi) "Direct irradiation on tilted surface"; Modelica.Blocks.Math.Add G "Total irradiation on tilted surface"; BoundaryConditions.WeatherData.Bus weaBus "Bus with weather data"; equation connect(HDifTil.weaBus,weaBus); connect(weaBus,HDirTil. weaBus); connect(HDifTil.H, G.u2); connect(G.y, G_int); connect(HDirTil.H, G.u1); end PVsimpleOriented;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented_N Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented_N

Simple PV source with orientation and neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimpleOriented_N

Information

Simple PV model with orientation for three-phase unbalanced systems with neutral cable connection.

For more information, see Buildings.Electrical.AC.OnePhase.Sources.PVSimpleOriented.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV_N (Base model for an unbalanced PV source with neutral cable).

Parameters

TypeNameDefaultDescription
BooleanplugPhase1trueIf true, phase 1 is connected
BooleanplugPhase2trueIf true, phase 2 is connected
BooleanplugPhase3trueIf true, phase 3 is connected
AreaA Net surface area [m2]
RealfAct0.9Fraction of surface area with active solar cells [1]
Realeta0.12Module conversion efficiency [1]
RealareaFraction[3]ones(3)/3Fraction of area occupied by the PVs of each phase
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Nominal conditions
VoltageV_nominal Nominal voltage (V_nominal >= 0) [V]
Orientation
Angletil Surface tilt [rad]
Anglelat Latitude [rad]
Angleazi Surface Azimith [rad]

Connectors

TypeNameDescription
output RealOutputPGenerated power [W]
Terminal4_pterminalConnector for three-phase unbalanced systems with neutral cable
BusweaBusBus with weather data

Modelica definition

model PVsimpleOriented_N "Simple PV source with orientation and neutral cable" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV_N ( redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase1, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase2, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase3); parameter Modelica.SIunits.Angle til "Surface tilt"; parameter Modelica.SIunits.Angle lat "Latitude"; parameter Modelica.SIunits.Angle azi "Surface Azimith"; BoundaryConditions.SolarIrradiation.DiffusePerez HDifTil( final til=til, final lat=lat, final azi=azi) "Diffuse irradiation on tilted surface"; BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirTil( final til=til, final lat=lat, final azi=azi) "Direct irradiation on tilted surface"; Modelica.Blocks.Math.Add G "Total irradiation on tilted surface"; BoundaryConditions.WeatherData.Bus weaBus "Bus with weather data"; equation connect(HDifTil.weaBus,weaBus); connect(weaBus,HDirTil. weaBus); connect(HDifTil.H, G.u2); connect(G.y, G_int); connect(HDirTil.H, G.u1); end PVsimpleOriented_N;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple_N Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple_N

Simple PV source with neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.PVsimple_N

Information

Simple PV model for three-phase unbalanced systems with neutral cable connection.

For more information, see Buildings.Electrical.AC.OnePhase.Sources.PVSimple.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV_N (Base model for an unbalanced PV source with neutral cable).

Parameters

TypeNameDefaultDescription
BooleanplugPhase1trueIf true, phase 1 is connected
BooleanplugPhase2trueIf true, phase 2 is connected
BooleanplugPhase3trueIf true, phase 3 is connected
AreaA Net surface area [m2]
RealfAct0.9Fraction of surface area with active solar cells [1]
Realeta0.12Module conversion efficiency [1]
RealareaFraction[3]ones(3)/3Fraction of area occupied by the PVs of each phase
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Nominal conditions
VoltageV_nominal Nominal voltage (V_nominal >= 0) [V]

Connectors

TypeNameDescription
output RealOutputPGenerated power [W]
Terminal4_pterminalConnector for three-phase unbalanced systems with neutral cable
input RealInputGTotal solar irradiation per unit area [W/m2]

Modelica definition

model PVsimple_N "Simple PV source with neutral cable" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.BaseClasses.UnbalancedPV_N ( redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase1, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase2, redeclare Buildings.Electrical.AC.OnePhase.Sources.PVSimple pv_phase3); Modelica.Blocks.Interfaces.RealInput G(unit="W/m2") "Total solar irradiation per unit area"; equation connect(G, G_int); end PVsimple_N;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine

Simple wind turbine source without neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine

Information

Simple wind turbine model for three-phase unbalanced systems without neutral cable connection.

For more information, see Buildings.Electrical.AC.OnePhase.Sources.WindTurbine.

Extends from BaseClasses.UnbalancedWindTurbine (Base model for an unbalanced wind power source without neutral cable).

Parameters

TypeNameDefaultDescription
BooleanplugPhase1trueIf true, phase 1 is connected
BooleanplugPhase2trueIf true, phase 2 is connected
BooleanplugPhase3trueIf true, phase 3 is connected
Realscale1Scaling factor, used to allow adjusting the power output without changing the table
BooleantableOnFilefalsetrue, if table is defined on file or in function usertab
Realtable[:, 2][3.5, 0; 5.5, 0.1; 12, 0.9; ...Table of generated power (first column is wind speed, second column is power)
StringtableName"NoName"Table name on file or in function usertab (see documentation)
StringfileName"NoName"File where matrix is stored
RealscaleFraction[3]ones(3)/3Fraction of power allocated to the wind turbines of each phase
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Wind correction
Realh Height over ground
HeighthRef10Reference height for wind measurement [m]
RealnWin0.4Height exponent for wind profile calculation
Nominal conditions
VoltageV_nominalV_nominal(start=480)Nominal voltage (V_nominal >= 0) [V]

Connectors

TypeNameDescription
input RealInputvWinSteady wind speed [m/s]
output RealOutputPGenerated power [W]
Terminal_pterminalConnector for three-phase unbalanced systems

Modelica definition

model WindTurbine "Simple wind turbine source without neutral cable" extends BaseClasses.UnbalancedWindTurbine( redeclare Buildings.Electrical.AC.OnePhase.Sources.WindTurbine wt_phase1, redeclare Buildings.Electrical.AC.OnePhase.Sources.WindTurbine wt_phase2, redeclare Buildings.Electrical.AC.OnePhase.Sources.WindTurbine wt_phase3); end WindTurbine;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine_N Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine_N

Simple wind turbine source with neutral cable

Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.WindTurbine_N

Information

Simple wind turbine model for three-phase unbalanced systems with neutral cable connection.

For more information, see Buildings.Electrical.AC.OnePhase.Sources.WindTurbine.

Extends from BaseClasses.UnbalancedWindTurbine_N (Base model for an unbalanced wind power source with neutral cable).

Parameters

TypeNameDefaultDescription
BooleanplugPhase1trueIf true, phase 1 is connected
BooleanplugPhase2trueIf true, phase 2 is connected
BooleanplugPhase3trueIf true, phase 3 is connected
Realscale1Scaling factor, used to allow adjusting the power output without changing the table
BooleantableOnFilefalsetrue, if table is defined on file or in function usertab
Realtable[:, 2][3.5, 0; 5.5, 0.1; 12, 0.9; ...Table of generated power (first column is wind speed, second column is power)
StringtableName"NoName"Table name on file or in function usertab (see documentation)
StringfileName"NoName"File where matrix is stored
RealscaleFraction[3]ones(3)/3Fraction of power allocated to the wind turbines of each phase
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Wind correction
Realh Height over ground
HeighthRef10Reference height for wind measurement [m]
RealnWin0.4Height exponent for wind profile calculation
Nominal conditions
VoltageV_nominalV_nominal(start=480)Nominal voltage (V_nominal >= 0) [V]

Connectors

TypeNameDescription
input RealInputvWinSteady wind speed [m/s]
output RealOutputPGenerated power [W]
Terminal4_pterminalConnector for three-phase unbalanced systems with neutral cable

Modelica definition

model WindTurbine_N "Simple wind turbine source with neutral cable" extends BaseClasses.UnbalancedWindTurbine_N( redeclare Buildings.Electrical.AC.OnePhase.Sources.WindTurbine wt_phase1, redeclare Buildings.Electrical.AC.OnePhase.Sources.WindTurbine wt_phase2, redeclare Buildings.Electrical.AC.OnePhase.Sources.WindTurbine wt_phase3); end WindTurbine_N;

http://simulationresearch.lbl.gov/modelica