Documentation

Power Measurement

Measure single-phase real and reactive power

  • Library:
  • Simscape / Power Systems / Simscape Components / Control / Measurements

Description

The Power Measurement block measures the real and reactive power of an element in a single-phase network. The block outputs the power quantities for each frequency component you specify. For three-phase measurements, consider using the Three-Phase Power Measurement block.

Use this block to measure power for both sinusoidal and nonsinusoidal periodic signals.

Set the Sample time parameter to 0 for continuous-time operation, or explicitly for discrete-time operation.

Specify a vector of all frequency components to include in the power output using the Harmonic numbers parameter:

  • To output the DC component, specify 0.

  • To output the component corresponding to the fundamental frequency, specify 1.

  • To output components corresponding to higher-order harmonics, specify n > 1.

Equations

For each specified harmonic k, the block calculates the real power Pk and reactive power Qk from the phasor equation:

Pk+jQk=G(VkejθVk)(IkejθIk¯),

where:

  • G is equal to 0.25 for the DC component (k = 0) and 0.5 for the AC components (k > 0).

  • VkejθVk is the phasor representation of the k-component input voltage.

  • IkejθIk¯ is the complex conjugate of IkejθIk, the phasor representation of the k-component input current.

The block estimates the real-time k-component voltage and current phasors using these relationships:

VkejθVk=2TtTtV(t)sin(2πkFt)dt+j2TtTtV(t)cos(2πkFt)dt

IkejθIk=2TtTtI(t)sin(2πkFt)dt+j2TtTtI(t)cos(2πkFt)dt.

In these phasor equations:

  • V(t) and I(t) are the input voltage and current, respectively.

  • T is the period of the input signal, or equivalently the inverse of its base frequency F.

If the input signals have a finite number of harmonics n, the total real power P and total reactive power Q can be calculated from their components:

P=k=0nPk

Q=k=1nQk.

The summation for Q does not include the DC component (k = 0) because this component only contributes to real power.

Ports

Input

expand all

Voltage across element from which to measure power, in V.

Data Types: single | double

Current through element from which to measure power, in A.

Data Types: single | double

Output

expand all

Real power for selected frequency components, in W.

Data Types: single | double

Reactive power for selected frequency components, in var.

Data Types: single | double

Parameters

expand all

Fundamental frequency corresponding to component k=1.

Frequency components to include in the output. Specify either a scalar value corresponding to the desired component or a vector of all desired components.

  • The value k = 0 corresponds to the DC component.

  • The value k = 1 corresponds to the fundamental frequency.

  • Values k > 1 correspond to higher-level harmonics.

If you specify a vector, the order of the power outputs correspond to the order of this vector.

Sample time for the block. For continuous operation, set this property to 0. For discrete operation, specify the sample time explicitly. This block does not support inherited sample time.

Introduced in R2017b

Was this topic helpful?