Buildings.Electrical.AC.ThreePhasesBalanced.Sources

Package with source models for three-phase balanced AC systems

Information

This package contains models for three-phase balanced AC sources.

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

Package Content

Name Description
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.FixedVoltage FixedVoltage Fixed three-phase balanced AC voltage source
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Generator Generator Model of a generator
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Grid Grid Electrical grid
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimple PVSimple Model of a simple PV panel
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimpleOriented PVSimpleOriented Model of a simple PV panel with orientation
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.WindTurbine WindTurbine Model of a simple wind turbine generator
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples Examples Package with example models

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.FixedVoltage Buildings.Electrical.AC.ThreePhasesBalanced.Sources.FixedVoltage

Fixed three-phase balanced AC voltage source

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.FixedVoltage

Information

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

Extends from Buildings.Electrical.AC.OnePhase.Sources.FixedVoltage (Fixed single phase AC voltage source).

Parameters

TypeNameDefaultDescription
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

Modelica definition

model FixedVoltage "Fixed three-phase balanced AC voltage source" extends Buildings.Electrical.AC.OnePhase.Sources.FixedVoltage( redeclare Interfaces.Terminal_p terminal, f(start=60), V(start=480)); end FixedVoltage;

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Generator Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Generator

Model of a generator

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Generator

Information

Model of an inductive generator.

See Buildings.Electrical.AC.OnePhase.Sources.Generator for more information.

Extends from Buildings.Electrical.AC.OnePhase.Sources.Generator (Model of a generator).

Parameters

TypeNameDefaultDescription
AnglephiGen0Phase 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
input RealInputPVariable power generated by the source

Modelica definition

model Generator "Model of a generator" extends Buildings.Electrical.AC.OnePhase.Sources.Generator( redeclare Interfaces.Terminal_p terminal, f(start=60)); end Generator;

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Grid Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Grid

Electrical grid

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Grid

Information

Model that can be used to represent the electrical grid supply. See Buildings.Electrical.AC.OnePhase.Sources.Grid for more information.

Extends from Buildings.Electrical.AC.OnePhase.Sources.Grid (Electrical grid).

Parameters

TypeNameDefaultDescription
AnglephiSou0Phase shift angle of the source [rad]

Connectors

TypeNameDescription
PowerOutputPPower consumed from grid if positive, or fed to grid if negative

Modelica definition

model Grid "Electrical grid" extends Buildings.Electrical.AC.OnePhase.Sources.Grid( redeclare Interfaces.Terminal_p terminal, f(start=60), V(start=480), redeclare Buildings.Electrical.AC.ThreePhasesBalanced.Sources.FixedVoltage sou); end Grid;

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimple Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimple

Model of a simple PV panel

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimple

Information

Model of a simple photovoltaic array.

See Buildings.Electrical.AC.OnePhase.Sources.PVSimple for more information.

Extends from Buildings.Electrical.AC.OnePhase.Sources.PVSimple (Simple PV model).

Parameters

TypeNameDefaultDescription
AreaA Net surface area [m2]
RealfAct0.9Fraction of surface area with active solar cells [1]
Realeta0.12Module conversion efficiency [1]
BooleanlinearizedfalseIf =true, introduce a linearization in the load
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion

Connectors

TypeNameDescription
output RealOutputPGenerated power [W]
input RealInputGTotal solar irradiation per unit area [W/m2]

Modelica definition

model PVSimple "Model of a simple PV panel" extends Buildings.Electrical.AC.OnePhase.Sources.PVSimple( redeclare Interfaces.Terminal_p terminal, redeclare Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive load, V_nominal(start=480)); end PVSimple;

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimpleOriented Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimpleOriented

Model of a simple PV panel with orientation

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimpleOriented

Information

Model of a simple photovoltaic array.

This model takes as an input the direct and diffuse solar radiation from the weather bus.

See Buildings.Electrical.AC.OnePhase.Sources.PVSimpleOriented for more information.

Extends from Buildings.Electrical.AC.OnePhase.Sources.PVSimpleOriented (Simple PV model with orientation).

Parameters

TypeNameDefaultDescription
AreaA Net surface area [m2]
RealfAct0.9Fraction of surface area with active solar cells [1]
Realeta0.12Module conversion efficiency [1]
BooleanlinearizedfalseIf =true, linearize the load
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion
Orientation
Angletil Surface tilt [rad]
Anglelat Latitude [rad]
Angleazi Surface azimuth [rad]

Connectors

TypeNameDescription
output RealOutputPGenerated power [W]
BusweaBusWeather data

Modelica definition

model PVSimpleOriented "Model of a simple PV panel with orientation" extends Buildings.Electrical.AC.OnePhase.Sources.PVSimpleOriented( redeclare Interfaces.Terminal_p terminal, redeclare Buildings.Electrical.AC.ThreePhasesBalanced.Sources.PVSimple panel(V_nominal = V_nominal), V_nominal(start=480)); end PVSimpleOriented;

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.WindTurbine Buildings.Electrical.AC.ThreePhasesBalanced.Sources.WindTurbine

Model of a simple wind turbine generator

Buildings.Electrical.AC.ThreePhasesBalanced.Sources.WindTurbine

Information

Model of a wind turbine whose power is computed as a function of wind-speed as defined in a table.

See Buildings.Electrical.AC.OnePhase.Sources.WindTurbine for more information.

Extends from Buildings.Electrical.AC.OnePhase.Sources.WindTurbine (Simple wind turbine model).

Parameters

TypeNameDefaultDescription
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
Wind correction
Realh Height over ground
HeighthRef10Reference height for wind measurement [m]
RealnWin0.4Height exponent for wind profile calculation
AC-Conversion
Realpf0.9Power factor
Realeta_DCAC0.9Efficiency of DC/AC conversion

Connectors

TypeNameDescription
input RealInputvWinSteady wind speed [m/s]
output RealOutputPGenerated power [W]

Modelica definition

model WindTurbine "Model of a simple wind turbine generator" extends Buildings.Electrical.AC.OnePhase.Sources.WindTurbine( redeclare Interfaces.Terminal_p terminal, redeclare Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive load, V_nominal(start=480)); end WindTurbine;