# Power Measurements

Summary of the Power Measurements components available through the Signal Processing toolbox in Schematic Editor.

The toolbox provides four Power measurement components. Their descriptions and supported features are given in Table 1.

Table 1. Power measurement components in HIL Signal Processing Toolbox
Component Description Features Help file
supported input types supported output types vector support Phase Difference

Calculates phase difference between the input signals. real real no Phase Difference Single Phase Power Meter

Computes active and reactive power for single phase systems. Inputs are the instant voltage and current. real real no Single Phase Power Meter Power Meter

Computes active and reactive power (both instantaneous and average), apparent power and power factor for three phase systems. real real no Power Meter Positive, Negative and Zero Power Meter

Calculates the positive, negative and zero power sequence for input signals.

For successful operation of the block it is necessary that 1/(frequency*execution rate) is integer greater than 4.

real real no Positive Negative Zero Power Single Phase Phasor

Calculates phasor (magnitude and angle) of the input signal. real real no Single phase phasor Three Phase Phasor

Calculates phasors (magnitude and angle) of the input signals. real real no Three Phase Phasor Symmetrical Components

Gives phasors of symmetrical components of input signals. For successful operation of the block it is necessary that 1/(frequency*execution rate) is integer greater than 4. real real no Symmetrical Components Harmonic Analyzer

Calculates amplitude, phase and frequency of chosen harmonics. Outputs are scalars if Hamonic order value is scalar, if Hamonic order value is python list, outputs will be vectors. Component consists of two parts, where one part works on faster execution rate and the other one on slower. Slower part is used to calculate FFT. real real no Harmonic Analyzer THD Measurement

Calculates total harmonic distortion of observed signal, it is based on THD+N approach.

Component basically consists of two components, first one is buffer which has to work on faster execution rate, and the second one has to work on much slower execution rate. Component with slower execution rate is used for FFT calculation and other needed arithmetic.

real real no THD (Total Harmonic Distortion) Measurement