VoltageSensor
Voltage sensor
![]()
Library
Modelica/Electrical/QuasiStatic/SinglePhase/Sensors
Description
This sensor can be used to measure the complex voltage.
See also
ReferenceSensor,FrequencySensor,PotentialSensor,CurrentSensor,PowerSensor,MultiSensor
Parameters

| Name | Label | Description | Data Type | Valid 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 | 'omega' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
pin_p | implicit | Positive quasi-static single-phase pin | input | 1 |
pin_n | implicit | Negative quasi-static single-phase pin | output | 1 |
v | implicit | Complex voltage | output | 2 |