modelGeneralizedSensor
Sensor for power, voltage and current
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).
Information
Ideal sensor that measures power, voltage and current. The two components of the power S are the active and reactive power.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_n (from PartialBaseTwoPort) | Electric terminal side p | |
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_p (from PartialBaseTwoPort) | Electric terminal side n | |
| Modelica.Blocks.Interfaces.RealOutput | V | Buildings.Electrical.PhaseSystems.OnePhase.systemVoltage(terminal_n.v) | Voltage |
| Modelica.Blocks.Interfaces.RealOutput | I | Buildings.Electrical.PhaseSystems.OnePhase.systemCurrent(terminal_n.i) | Current |
| Modelica.Blocks.Interfaces.RealOutput[PhaseSystems.OnePhase.n] | S | Buildings.Electrical.PhaseSystems.OnePhase.phasePowers_vi(v = terminal_n.v, i = terminal_n.i) | Phase powers |
Revisions
-
September 24, 2014, by Michael Wetter:
Moved assignments outside of equation section to avoid mixing textual and graphical modeling. -
September 22, 2014, by Marco Bonvini:
Fixed bug. The model was referencing the wrong PhaseSystem. -
August 25, 2014, by Marco Bonvini:
Revised documentation. -
July 24, 2013, by Michael Wetter:
First implementation.