VoltageSensor
Sensor to measure the voltage between two pins
Library
Modelica/Electrical/Analog/Sensors
Description
The voltage sensor converts the voltage between the two connectors into a real valued signal. It does not influence the current sum at the nodes in between the voltage is measured, therefore, the electrical behavior is not influenced by the sensor.
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p | implicit | positive pin | input | 1 |
n | implicit | negative pin | output | 1 |
v | implicit | Voltage between pin p and n (= p.v - n.v) as output signal | output | 2 |