1
|
This software "LinearLoadEstimation_v1" is the first version of an algorithm for
|
2
|
parameter estimation using trajectory sensitivity method. The model is linearized
|
3
|
to use perturbance measurements provoked by a under load tap changer of
|
4
|
transformer (ULTC).All files are written in Python 2.
|
5
|
|
6
|
The main routine is written on the 'LinearLoadEstimation_v1.py' file. In this
|
7
|
code, the user will find the set of parameters that represent the real behaviour
|
8
|
of the load used for the study, the set of initial guesses for the parameters
|
9
|
and some method settings, such as tolerance, time step and parameters' variation.
|
10
|
|
11
|
The equations describing the model's output behaviour can be found on the
|
12
|
'Matrix.py' file. The file was separated from the main routine to allow the use
|
13
|
of the algorithm to identify parameters of different models, not only load models.
|
14
|
The output behaviour is simulated using 'rk4.py', where the Runge-Kutta Method
|
15
|
is implemented.
|
16
|
|
17
|
'Classification.py' ranks the set of parameters from ill to well-conditioned.
|
18
|
This rank will be later used to identify the parameters in two steps, first
|
19
|
the ill-conditioned and later the whole set. The function responsible to calculate
|
20
|
the error between the real and modelled outputs via the Least-Square Method, is
|
21
|
written on 'Error.py'. The code was written separately for the same as reason as
|
22
|
'Matrix.py', allowing the user to choose the error function. 'Gamma.py' gives us
|
23
|
the error sensibility and the Hessian Matrix and calculates the parameters
|
24
|
increment to minimize the error.
|
25
|
|
26
|
In order to estimate the set of parameters of a different model all the user must
|
27
|
do is change the set of parameters, the initial guesses and the settings on the
|
28
|
'LinearLoadEstimation_v1.py' and the matrices on 'Matrix.py'.
|