Voltage sensor
Measures voltage between two electrical nodes without loading the circuit.
- signal
- electrical
- Gradara equations
- 3 ports
voltageSensorLibraryElectricalDescription
Measures the voltage between two nodes and outputs it as a signal. It draws no current, so it does not load the circuit.
Example
RC and RL transients A 10 V step charges a capacitor through a resistor, and another builds current in an inductor through a conductor.
Step 10 VR 1 kΩC 100 µFCapacitor voltageGroundStep 10 V (RL)G 0.1 SInductor currentL 1 HGround (RL)
Also in this example:Current sensorGroundResistorCapacitorInductorConductorStep voltage
Ports
Outputs 1
-
V
yMeasured voltage p.v − n.v, in volts.
Conserving terminals 2
-
+
pPositive measuring pin.
-
−
nNegative measuring pin.
Equations
Modelica
y = p.v − n.v p.i = 0 n.i = 0
Assumptions and limitations
- Ideal: infinite input impedance, no bandwidth limit or noise.
Used in
These larger examples use it too. Open them from Examples in the app.
- Buck converter · Ideal switches
- EV drivetrain
- 480 VAC → 24 VDC flyback
See also
Select a block in Gradara and press F1 to open its page offline.