Modelica.Electrical.Machines.Sensors

Sensors for machine modelling

Information

This package contains sensors that are useful when modelling machines.

Extends from Modelica.Icons.SensorsPackage (Icon for packages containing sensors).

Package Content

Name Description
Modelica.Electrical.Machines.Sensors.VoltageQuasiRMSSensor VoltageQuasiRMSSensor Length of space phasor -> RMS voltage
Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor CurrentQuasiRMSSensor Length of space phasor -> RMS current
Modelica.Electrical.Machines.Sensors.ElectricalPowerSensor ElectricalPowerSensor Instantaneous power from space phasors
Modelica.Electrical.Machines.Sensors.MechanicalPowerSensor MechanicalPowerSensor Mechanical power = torque x speed
Modelica.Electrical.Machines.Sensors.RotorDisplacementAngle RotorDisplacementAngle Rotor lagging angle
Modelica.Electrical.Machines.Sensors.HallSensor HallSensor Hall sensor

Modelica.Electrical.Machines.Sensors.VoltageQuasiRMSSensor Modelica.Electrical.Machines.Sensors.VoltageQuasiRMSSensor

Length of space phasor -> RMS voltage

Information

Measured 3-phase instantaneous voltages are transformed to the corresponding space phasor; output is length of the space phasor divided by sqrt(2), thus giving in sinusoidal stationary state RMS voltage.

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

Connectors

NameDescription
V[V]
plug_p 
plug_n 

Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor

Length of space phasor -> RMS current

Information

Measured 3-phase instantaneous currents are transformed to the corresponding space phasor; output is length of the space phasor divided by sqrt(2), thus giving in sinusoidal stationary state RMS current.

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

Connectors

NameDescription
I[A]
plug_p 
plug_n 

Modelica.Electrical.Machines.Sensors.ElectricalPowerSensor Modelica.Electrical.Machines.Sensors.ElectricalPowerSensor

Instantaneous power from space phasors

Information

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:

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

Connectors

NameDescription
P[W]
Q[var]
plug_p 
plug_ni 
plug_nv 

Modelica.Electrical.Machines.Sensors.MechanicalPowerSensor Modelica.Electrical.Machines.Sensors.MechanicalPowerSensor

Mechanical power = torque x speed

Information

Calculates (mechanical) power from torque times angular speed.

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device), Modelica.Mechanics.Rotational.Interfaces.PartialTwoFlanges (Partial model for a component with two rotational 1-dim. shaft flanges).

Parameters

NameDescription
useSupportUse support or fixed housing

Connectors

NameDescription
flange_aFlange of left shaft
flange_bFlange of right shaft
P[W]
supportSupport at which the reaction torque is acting

Modelica.Electrical.Machines.Sensors.RotorDisplacementAngle Modelica.Electrical.Machines.Sensors.RotorDisplacementAngle

Rotor lagging angle

Information

Calculates rotor lagging angle by measuring the stator phase voltages, transforming them to the corresponding space phasor in stator-fixed coordinate system,
rotating the space phasor to the rotor-fixed coordinate system and calculating the angle of this space phasor.

The sensor's housing can be implicitly fixed (useSupport=false).
If the machine's stator also implicitly fixed (useSupport=false), the angle at the flange is equal to the angle of the machine's rotor against the stator.
Otherwise, the sensor's support has to be connected to the machine's support.

Parameters

NameDescription
mNumber of phases
pNumber of pole pairs
positiveRangeUse only positive output range, if true
thresholdBelow threshold the voltage is considered as zero
useSupportUse support or fixed housing

Connectors

NameDescription
rotorDisplacementAngle[rad]
plug_p 
plug_n 
flange 
supportsupport at which the reaction torque is acting

Modelica.Electrical.Machines.Sensors.HallSensor Modelica.Electrical.Machines.Sensors.HallSensor

Hall sensor

Information

Simple model of a hall sensor, i.e. measuring the angle of the flange (w.r.t. the optional support), multiplying by the number of phases p to obtain the electrical angle, and adding a correction term i.e. the initial angle of the flange phi0.

Note that phi0 has to be set that way, that in shaft position phi0 the flux linkage of phase 1 is a maximum.

Extends from Modelica.Mechanics.Rotational.Interfaces.PartialElementaryOneFlangeAndSupport2 (Partial model for a component with one rotational 1-dim. shaft flange and a support used for textual modeling, i.e., for elementary models).

Parameters

NameDescription
useSupport= true, if support flange enabled, otherwise implicitly grounded
pNumber of pole pairs
phi0Initial mechanical angle [rad]

Connectors

NameDescription
flangeFlange of shaft
supportSupport/housing of component
y"Electrical angle" [rad]
Automatically generated Thu Dec 19 17:19:56 2019.