ElectricalPowerSensor

Instantaneous power from space phasors

    ElectricalPowerSensor

Library

Modelica/Electrical/Machines/Sensors

Description

3-phase instantaneous voltages (plug_p - plug_nv) and currents (plug_p - plug_ni) are transformed to the corresponding space phasors,
which are used to calculate power quantities:
  • P = instantaneous power, thus giving in stationary state active power.
  • Q = giving in stationary state reactive power.

Parameters

ElectricalPowerSensor_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'v_'
'i_'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

P

implicit

output

1

Q

implicit

output

2

plug_p

implicit

input

1

plug_ni

implicit

output

3

plug_nv

implicit

output

4