This package contains multiphase potential, voltage, and current sensors.
Name | Description |
---|---|
PotentialSensor | Multiphase potential sensor |
VoltageSensor | Multiphase voltage sensor |
CurrentSensor | Multiphase current sensor |
Contains m potential sensors (Modelica.Electrical.Analog.Sensors.PotentialSensor), thus measuring the m potentials phi[m] of the m pins of plug_p.
Name | Default | Description |
---|---|---|
m | 3 | number of phases |
model PotentialSensor "Multiphase potential sensor" extends Interfaces.AbsoluteSensor; Modelica.SIunits.ElectricPotential phi[ m] "Absolute voltage potentials"; Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor[ m]; equation phi = potentialSensor.outPort.signal[1]; outPort.signal = phi; connect(potentialSensor.p, plug_p.pin); end PotentialSensor;
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.
Name | Default | Description |
---|---|---|
m | 3 | number of phases |
model VoltageSensor "Multiphase voltage sensor" extends Interfaces.RelativeSensor; Modelica.SIunits.Voltage v[ m] "Voltages between plug_p and plug_n"; Modelica.Electrical.Analog.Sensors.VoltageSensor voltageSensor[ m]; equation v = voltageSensor.outPort.signal[1]; outPort.signal = v; connect(voltageSensor.n, plug_n.pin); connect(voltageSensor.p, plug_p.pin); end VoltageSensor;
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.
Name | Default | Description |
---|---|---|
m | 3 | number of phases |
model CurrentSensor "Multiphase current sensor" extends Interfaces.RelativeSensor; Modelica.SIunits.Current i[ m] "Currents flowing from plug_p to plug_n"; Modelica.Electrical.Analog.Sensors.CurrentSensor currentSensor[ m]; equation i = currentSensor.outPort.signal[1]; outPort.signal = i; connect(plug_p.pin, currentSensor.p); connect(currentSensor.n, plug_n.pin); end CurrentSensor;