Main Content

Voltage Measurement

Measure voltage in circuit

  • Library:
  • Simscape / Electrical / Specialized Power Systems / Fundamental Blocks / Measurements

  • Voltage Measurement block

Description

The Voltage Measurement block measures the instantaneous voltage between two electric nodes. The output provides a Simulink® signal that can be used by other Simulink blocks.

Ports

Output

expand all

Outputs the instantaneous voltage measured between the + and - conserving ports, specified as a scalar.

Conserving

expand all

Specialized electrical conserving port associated with the positive terminal of the Voltage Measurement block.

Specialized electrical conserving port associated with the negative terminal of the Voltage Measurement block.

Parameters

expand all

Specifies the format of the output signal when the block is used in a phasor simulation.

Set to Complex to output the measured current as a complex value. The output is a complex signal.

Set to Real-Imag to output the real and imaginary parts of the measured current. The output is a vector of two elements.

Set to Magnitude-Angle to output the magnitude and angle of the measured current. The output is a vector of two elements.

Set to Magnitude to output the magnitude of the measured current. The output is a scalar value.

Dependencies

To enable this parameter, set the Simulation type parameter of the powergui block to Phasor or Discrete phasor.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced before R2006a