Modelica.Electrical.MultiPhase.Sensors

Multiphase potential, voltage and current Sensors

Information


This package contains multiphase potential, voltage, and current sensors.

Extends from Modelica.Icons.Library2 (Icon for library where additional icon elements shall be added).

Package Content

NameDescription
Modelica.Electrical.MultiPhase.Sensors.PotentialSensor PotentialSensor Multiphase potential sensor
Modelica.Electrical.MultiPhase.Sensors.VoltageSensor VoltageSensor Multiphase voltage sensor
Modelica.Electrical.MultiPhase.Sensors.CurrentSensor CurrentSensor Multiphase current sensor
Modelica.Electrical.MultiPhase.Sensors.PowerSensor PowerSensor Multiphase instantaneous power sensor


Modelica.Electrical.MultiPhase.Sensors.PotentialSensor Modelica.Electrical.MultiPhase.Sensors.PotentialSensor

Multiphase potential sensor

Modelica.Electrical.MultiPhase.Sensors.PotentialSensor

Information


Contains m potential sensors (Modelica.Electrical.Analog.Sensors.PotentialSensor), thus measuring the m potentials phi[m] of the m pins of plug_p.

Extends from Modelica.Icons.RotationalSensor (Icon representing rotational measurement device).

Parameters

TypeNameDefaultDescription
Integerm3number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
output RealOutputphi[m]Absolute voltage potential as output signal

Modelica definition

model PotentialSensor "Multiphase potential sensor"
  extends Modelica.Icons.RotationalSensor;
  parameter Integer m(final min=1) = 3 "number of phases";
  Interfaces.PositivePlug plug_p(final m=m);
  Modelica.Blocks.Interfaces.RealOutput phi[m] 
    "Absolute voltage potential as output signal";
  Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor[m];
equation 
  connect(potentialSensor.p, plug_p.pin);
  connect(potentialSensor.phi, phi);
end PotentialSensor;

Modelica.Electrical.MultiPhase.Sensors.VoltageSensor Modelica.Electrical.MultiPhase.Sensors.VoltageSensor

Multiphase voltage sensor

Modelica.Electrical.MultiPhase.Sensors.VoltageSensor

Information


Contains m voltage sensors (Modelica.Electrical.Analog.Sensors.VoltageSensor), thus measuring the m potential differences v[m] between the m pins of plug_p and plug_n.

Extends from Modelica.Icons.RotationalSensor (Icon representing rotational measurement device).

Parameters

TypeNameDefaultDescription
Integerm3number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 
output RealOutputv[m]Voltage between pin p and n (= p.v - n.v) as output signal

Modelica definition

model VoltageSensor "Multiphase voltage sensor"
  extends Modelica.Icons.RotationalSensor;
  parameter Integer m(final min=1) = 3 "number of phases";
  Interfaces.PositivePlug plug_p(final m=m);
  Interfaces.NegativePlug plug_n(final m=m);
  Modelica.Blocks.Interfaces.RealOutput v[m] 
    "Voltage between pin p and n (= p.v - n.v) as output signal";
  Modelica.Electrical.Analog.Sensors.VoltageSensor voltageSensor[m];
equation 
  connect(voltageSensor.n, plug_n.pin);
  connect(voltageSensor.p, plug_p.pin);
  connect(voltageSensor.v, v);
end VoltageSensor;

Modelica.Electrical.MultiPhase.Sensors.CurrentSensor Modelica.Electrical.MultiPhase.Sensors.CurrentSensor

Multiphase current sensor

Modelica.Electrical.MultiPhase.Sensors.CurrentSensor

Information


Contains m current sensors (Modelica.Electrical.Analog.Sensors.CurrentSensor), thus measuring the m currents i[m] flowing from the m pins of plug_p to the m pins of plug_n.

Extends from Modelica.Icons.RotationalSensor (Icon representing rotational measurement device).

Parameters

TypeNameDefaultDescription
Integerm3number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 
output RealOutputi[m]current in the branch from p to n as output signal

Modelica definition

model CurrentSensor "Multiphase current sensor"
  extends Modelica.Icons.RotationalSensor;
  parameter Integer m(final min=1) = 3 "number of phases";
  Interfaces.PositivePlug plug_p(final m=m);
  Interfaces.NegativePlug plug_n(final m=m);
  Modelica.Blocks.Interfaces.RealOutput i[m] 
    "current in the branch from p to n as output signal";
  Modelica.Electrical.Analog.Sensors.CurrentSensor currentSensor[m];
equation 
  connect(plug_p.pin, currentSensor.p);
  connect(currentSensor.n, plug_n.pin);
  connect(currentSensor.i, i);
end CurrentSensor;

Modelica.Electrical.MultiPhase.Sensors.PowerSensor Modelica.Electrical.MultiPhase.Sensors.PowerSensor

Multiphase instantaneous power sensor

Modelica.Electrical.MultiPhase.Sensors.PowerSensor

Information

This power sensor measures instantaneous electrical power of a multiphase system and has a separated voltage and current path. The plugs of the voltage path are pv and nv, the plugs of the current path are pc and nc. The internal resistance of each current path is zero, the internal resistance of each voltage path is infinite.

Parameters

TypeNameDefaultDescription
Integerm3number of phases

Connectors

TypeNameDescription
PositivePlugpcPositive plug, current path
NegativePlugncNegative plug, current path
PositivePlugpvPositive plug, voltage path
NegativePlugnvNegative plug, voltage path
output RealOutputpower 

Modelica definition

model PowerSensor "Multiphase instantaneous power sensor"
  parameter Integer m(min=1) = 3 "number of phases";
  MultiPhase.Interfaces.PositivePlug pc(final m=m) 
    "Positive plug, current path";
  MultiPhase.Interfaces.NegativePlug nc(final m=m) 
    "Negative plug, current path";
  MultiPhase.Interfaces.PositivePlug pv(final m=m) 
    "Positive plug, voltage path";
  MultiPhase.Interfaces.NegativePlug nv(final m=m) 
    "Negative plug, voltage path";
  Modelica.Blocks.Interfaces.RealOutput power;
  MultiPhase.Sensors.VoltageSensor voltageSensor(final m=m);
  MultiPhase.Sensors.CurrentSensor currentSensor(final m=m);
  Modelica.Blocks.Math.Product product[m];
  Modelica.Blocks.Math.Sum sum(final nin=m, final k=ones(m));
equation 
  connect(pc, currentSensor.plug_p);
  connect(currentSensor.plug_n, nc);
  connect(voltageSensor.plug_p, pv);
  connect(voltageSensor.plug_n, nv);
  connect(currentSensor.i, product.u2);
  connect(product.u1, voltageSensor.v);
  connect(product.y, sum.u);
  connect(sum.y, power);
end PowerSensor;

HTML-documentation generated by Dymola Sun Jan 17 21:11:02 2010.