Skip to content

State Estimation Main Run Settings

Mirsad Cosovic edited this page Mar 28, 2019 · 56 revisions

The state estimation settings should be given as input arguments of the function runse. Here, we are given the main settings to run the module, and we draw your attention to the additional settings, where measurement values and sets can be changed.

The state estimation algorithms (METHOD) use the weighted least-squares estimation by default settings, but it is also possible to use the least absolute value estimation.

Although the syntax is given in a certain order, for methodological reasons, only DATA must appear as the first input argument, and the order of other inputs is arbitrary, as well as their appearance.

Examples:

runse('ieee14_20', 'nonlinear', 'warm', 'maxIter', 100, 'main');
runse('ieee14_20', 'pmu', 'pmuOptimal', 'pmuUnique', 10^-12, 'save');
runse('ieee14_20', 'dc', 'lav' 'main');
runse('ieee14_20', 'dc', 'legDevice', [10 0 4 0], 'estimate');
runse('ieee14_20', 'dc', 'legUnique', 10^-4, 'estimate');

Syntax:

runse(DATA, METHOD)
runse(DATA, METHOD, START)
runse(DATA, METHOD, START, ATTACH)
runse(DATA, METHOD, START, ATTACH, DISPLAY, EXPORT) 

Description:

runse(DATA, METHOD) computes the state estimation problem
runse(DATA, METHOD, START) initializes the Gauss-Newton method
runse(DATA, METHOD, START, ATTACH) maximum number of iterations, bad data processing and least absolute value state estimation
runse(DATA, METHOD, START, ATTACH, DISPLAY, EXPORT) showing results and export models

Input Arguments:

DATA
Example Description
'ieee30_41' first input argument in the leeloo function

METHOD
Command Description
'nonlinear' non-linear state estimation
'pmu' linear state estimation only with PMUs
'dc' DC state estimation
METHOD,'lav' nonlinear, DC, or PMU least absolute value state estimation

START
Command Description
'warm' the initial point is defined as the one applied in AC power flow
'exact' the initial point is defined from the exact values, if those exist
'flat',value value = [x y], unique initial values for voltage angles (x) in degree and magnitudes (y) in per-units, default setting: value = [0 1]
'random',value value = [x y z v], random perturbation between the minimum (x) and maximum (z) values of voltage angles in degrees, and minimum (z) and maximum (v) values of voltage magnitudes in per-units, default setting: value = [-0.5 0.5 0.95 1.05]

ATTACH
Command Description
'maxIter',value value = x, maximum number of the Gauss-Newton iterations (x)
'bad',value value = x, bad data processing according to the identification threshold (x), default setting: value = 3

value = [x y], bad data processing according to the identification threshold (x), with the maximum number of passes (y) throughout the state estimation algorithm
'lav' maximum number of iterations for the AC power flow analysi

DISPLAY
Command Description
'main' bus data display
'flow' power flow data display
'estimate' estimation data display
'error' evaluation data display

EXPORT
Command Description
'save' save display data
'export' export the system model without slack bus (for linear state estimation problems, exports in data.extras)
'exportSlack' export the system model with slack bus (for linear state estimation problems, exports in data.extras)

Flowchart

The state estimation flowchart depicts the algorithm process according to main and additional user settings.

Clone this wiki locally