modelPowerSensor
Power sensor
Extends from Modelica.Icons.RoundSensor (Icon representing a round measurement device).
Information
This sensor can be used to measure m complex apparent power values, using m single-phase PowerSensors.
See also
SinglePhase.Sensors.PowerSensor, ReferenceSensor, FrequencySensor, PotentialSensor, VoltageSensor, VoltageQuasiRMSSensor, CurrentSensor, CurrentQuasiRMSSensor, MultiSensor
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.PositivePlug | currentP | ||
| Interfaces.NegativePlug | currentN | ||
| Interfaces.PositivePlug | voltageP | ||
| Interfaces.NegativePlug | voltageN | ||
| Modelica.ComplexBlocks.Interfaces.ComplexOutput | apparentPower | Total apparent power as complex output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularVelocity | omega | der(currentP.reference.gamma) | |
| Basic.PlugToPins_p | plugToPinsCurrentP | ||
| Basic.PlugToPins_p | plugToPinsVoltageP | ||
| Basic.PlugToPins_n | plugToPinsCurrentN | ||
| Basic.PlugToPins_n | plugToPinsVoltageN | ||
| QuasiStatic.SinglePhase.Sensors.PowerSensor[m] | powerSensor | ||
| Modelica.ComplexBlocks.ComplexMath.Sum | sum | ||
| SI.ApparentPower | abs_apparentPower | Modelica.ComplexMath.abs(apparentPower) | Magnitude of complex apparent power |
| SI.Angle | arg_apparentPower | Modelica.ComplexMath.arg(apparentPower) | Argument of complex apparent power |