LBL logo

Buildings.Electrical.AC.ThreePhasesBalanced.Sensors

Package with sensors models for three-phase balanced AC systems

Information

This package contains models for voltage, current and power sensors.

Extends from Modelica.Icons.SensorsPackage (Icon for packages containing sensors).

Package Content

Name Description
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.GeneralizedSensor GeneralizedSensor Sensor for power, voltage and current
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe Probe Model of a probe that measures RMS voltage and angle
Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples Examples Package with example models

Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.GeneralizedSensor Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.GeneralizedSensor

Sensor for power, voltage and current

Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.GeneralizedSensor

Information

Ideal sensor that measures power, voltage and current. The two components of the power S are the active and reactive power.

Extends from Buildings.Electrical.Icons.GeneralizedSensor (Icon representing a generalized sensor that measures voltage, current and power), Buildings.Electrical.Interfaces.PartialTwoPort (Model of a generic two port component with phase systems).

Parameters

TypeNameDefaultDescription
replaceable package PhaseSystem_pPartialPhaseSystemPhase system of terminal p
replaceable package PhaseSystem_nPartialPhaseSystemPhase system of terminal n

Connectors

TypeNameDescription
replaceable package PhaseSystem_pPhase system of terminal p
replaceable package PhaseSystem_nPhase system of terminal n
output RealOutputVVoltage [V]
output RealOutputICurrent [A]
output RealOutputS[PhaseSystems.OnePhase.n]Phase powers [W]

Modelica definition

model GeneralizedSensor "Sensor for power, voltage and current" extends Buildings.Electrical.Icons.GeneralizedSensor; extends Buildings.Electrical.Interfaces.PartialTwoPort( redeclare package PhaseSystem_p = PhaseSystems.OnePhase, redeclare package PhaseSystem_n = PhaseSystems.OnePhase, redeclare Interfaces.Terminal_n terminal_n(redeclare package PhaseSystem = PhaseSystem_n), redeclare Interfaces.Terminal_p terminal_p(redeclare package PhaseSystem = PhaseSystem_p)); Modelica.Blocks.Interfaces.RealOutput V( final quantity="ElectricPotential", final unit="V")= Buildings.Electrical.PhaseSystems.OnePhase.systemVoltage(terminal_n.v) "Voltage"; Modelica.Blocks.Interfaces.RealOutput I( final quantity="ElectricCurrent", final unit="A")= Buildings.Electrical.PhaseSystems.OnePhase.systemCurrent(terminal_n.i) "Current"; Modelica.Blocks.Interfaces.RealOutput S[PhaseSystems.OnePhase.n]( each final quantity="Power", each final unit="W")= Buildings.Electrical.PhaseSystems.OnePhase.phasePowers_vi(v=terminal_n.v, i=terminal_n.i) "Phase powers"; equation connect(terminal_n, terminal_p); end GeneralizedSensor;

Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe

Model of a probe that measures RMS voltage and angle

Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Probe

Information

This model represents a probe that measures the RMS voltage and the angle of the voltage phasor at a given point.

Extends from OnePhase.Sensors.Probe (Model of a probe that measures RMS voltage and angle).

Parameters

TypeNameDefaultDescription
BooleanperUnittrueIf true, display voltage in p.u.

Connectors

TypeNameDescription
output RealOutputVVoltage phasor magnitude [1V]
output RealOutputthetaVoltage phasor angle [rad]

Modelica definition

model Probe "Model of a probe that measures RMS voltage and angle" extends OnePhase.Sensors.Probe( redeclare Buildings.Electrical.AC.ThreePhasesBalanced.Interfaces.Terminal_n term, V_nominal(start=480)); end Probe;

http://simulationresearch.lbl.gov/modelica