|
Algorithm 1 IM state-space identification |
-
1:
input: horizon i; voltage and ; current and ; and weight and
-
2:
output: discrete state-space A, B, C, and D
-
3:
procedureSubspaceID()
-
4:
initialize and ▹ Equation (10)
-
5:
calculate ▹ Equation (15)
-
6:
calculate and ▹ Equations (11) and (12)
-
7:
do
-
8:
define
-
9:
calculate and ▹ Equation (17)
-
10:
do Least-Square problem to obtain A, C, and K ▹ Equation (19)
-
11:
do Least-Square problem to obtain B and D ▹ Equation (21)
-
12:
end procedure
|