Engee documentation

Sequence Analyzer

Page in progress.

Calculates the components of the forward, reverse, and zero sequences of a three-phase signal.

blockType: SubSystem

Path in the library:

/Physical Modeling/Electrical/Control/Measurements/Sequence Analyzer

Description

Block Sequence Analyzer outputs the amplitude and phase of the forward, reverse, and zero sequence components of a set of three balanced or unbalanced signals. The index 1 stands for the forward sequence, the index 2 stands for the reverse sequence, and the index 0 stands for the zero sequence. The signals may additionally contain harmonics. Three components of a three-phase signal sequence (voltage , , or currents , , ) are calculated as follows:

where

  • , , — three voltage vectors at a given frequency;

  • — a complex operator.

First, Fourier analysis is applied to the three input signals in a sliding window of one cycle of a given signal frequency. It evaluates the values of the vectors , and at a given fundamental frequency or harmonic frequency. The transformation is then applied to obtain the forward, backward, and null sequences.

Since the unit uses a moving average window to perform Fourier analysis, one simulation cycle must be completed before the output values match the correct amplitude and phase values. For example, the block’s reaction to an abrupt change in the vector It is a single-cycle linearly varying signal. During the first simulation cycle, the output values are kept constant and correspond to the values set by the initial input parameters.

Specifications

Sampling period

Is set in the parameter Sample time. Continuous if Sample time has the value `0'.

Scalar expansion

No.

Definition of dimension

No.

Ports

Input

# abc — three-phase current signal
vector

Details

A three-phase current signal. The index 1 indicates the forward sequence, the index 2 — the reverse sequence, the index 0 — the zero sequence.

Data types

Float64

Complex numbers support

No

Output

# |u| — the amplitude
scalar

Details

Outputs the amplitude (peak value) of the specified component (or components) of the sequence in the same units as the input signal abc.

Data types

Float64

Complex numbers support

No

# ∠u — phase
scalar

Details

Outputs the phase of the specified components in degrees.

Data types

Float64

Complex numbers support

No

Parameters

Main group

# Fundamental frequency, Hz — the main frequency of the input signal

Details

Specify the basic frequency of the three-phase input signal in Hz.

Default value

50

Program usage name

f

Evaluatable

Yes

# Harmonic n (1=fundamental) — harmonic component for evaluating sequences

Details

Specify the harmonic component to evaluate the sequences. Set the value to `1' to calculate the fundamental frequency sequences, or the value corresponding to the desired harmonic.

Default value

1

Program usage name

n

Evaluatable

Yes

# Sequence — the sequence component
Positive Negative Zero | Positive | Negative | Zero

Details

Specify the sequence component displayed by the block. Select `Positive Negative Zero' to calculate all the sequences.

Values

Positive Negative Zero | Positive | Negative | Zero

Default value

Positive Negative Zero

Program usage name

sequence

Evaluatable

Yes

# Initial input [ Mag, Phase (degrees) ] — initial values of the amplitude and phase of the input signal

Details

Specify the values of the initial amplitude and phase of the component of the positive sequence of the input signal.

The phase is set in degrees.

Default value

[1, 0]

Program usage name

initial_input

Evaluatable

Yes

# Sample time — sampling period

Details

Specify the sampling period of the block in seconds.

Default value

0.0

Program usage name

sample_time

Evaluatable

Yes