Buildings.Electrical.AC.OnePhase.Sensors
Package with sensors for AC electrical 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 |
---|---|
![]() |
Sensor for power, voltage and current |
![]() |
Model of a probe that measures RMS voltage and angle |
![]() |
Package with example models |
Buildings.Electrical.AC.OnePhase.Sensors.GeneralizedSensor
Sensor for power, voltage and current
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
Type | Name | Default | Description |
---|---|---|---|
replaceable package PhaseSystem_p | PartialPhaseSystem | Phase system of terminal p | |
replaceable package PhaseSystem_n | PartialPhaseSystem | Phase system of terminal n |
Connectors
Type | Name | Description |
---|---|---|
replaceable package PhaseSystem_p | Phase system of terminal p | |
replaceable package PhaseSystem_n | Phase system of terminal n | |
output RealOutput | V | Voltage [V] |
output RealOutput | I | Current [A] |
output RealOutput | S[PhaseSystems.OnePhase.n] | Phase powers [W] |
Modelica definition
Buildings.Electrical.AC.OnePhase.Sensors.Probe
Model of a probe that measures RMS voltage and angle
Information
This model represents a probe that measures the RMS voltage and the angle of the voltage phasor at a given point.
Optionally, given a reference voltage, the model can compute the voltage in per unit.
Extends from Icons.GeneralizedProbe (Icon representing a generalized probe that measures voltage, and phase angle).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Voltage | V_nominal | V_nominal(min=0, start=110) | Nominal voltage (V_nominal >= 0) [V] |
Boolean | perUnit | true | If true, display voltage in p.u. |
Terminal_n | term | redeclare Interfaces.Termina... | Electrical connector |
Connectors
Type | Name | Description |
---|---|---|
Terminal_n | term | Electrical connector |
output RealOutput | V | Voltage phasor magnitude [1V] |
output RealOutput | theta | Voltage phasor angle [rad] |