Frequently Asked Question
Difference between discretization methods: Exact vs. Euler?
Last Updated 5 years ago
The exact method is a state space matrix discretization method that can be formulated as:
Ad = expm(A*Ts)
where,
Ad - discretized state space matrix
A - Continuous state space matrix
Ts - simulation step
expm - matrix exponent
So the discretized state space matrix is obtained via matrix exponent while in Euler method it is obtained by combination of elementary matrix operations.
In the Typhoon HIL environment, the exact method is the default (and therefore recommended) method to use, both in terms of precision and computing load.
Ad = expm(A*Ts)
where,
Ad - discretized state space matrix
A - Continuous state space matrix
Ts - simulation step
expm - matrix exponent
So the discretized state space matrix is obtained via matrix exponent while in Euler method it is obtained by combination of elementary matrix operations.
In the Typhoon HIL environment, the exact method is the default (and therefore recommended) method to use, both in terms of precision and computing load.