Choose discretization method with discrete simpowersystem simulation

1 view (last 30 days)
ths1104 Stenkhiste
ths1104 Stenkhiste on 1 Aug 2011
Answered: Joel Van Sickel on 18 Aug 2021
It is stated in Simpowersystem user's guide p.4-11 that,
You implement discretization by dragging the Powergui block into your system. The sample time is specified in the block dialog box. The electrical system is discretized using the Tustin method, which is equivalent to a fixed-step trapezoidal integration. In order to avoid algebraic loops, the electrical machines are discretized using the Forward Euler method.
With the Powergui set to discrete solver, is it possible to discretize only a given bloc (which is not an electrical machine bloc) using the Forward Euler method instead of the by default Tustin method?

Answers (1)

Joel Van Sickel
Joel Van Sickel on 18 Aug 2021
I realize this question is being answered too late to be of use to the asker, but as part of an effort to clean up matlab answers, I will be addressing the question:
The models in specialized power systems (simpower) are not actually discretized by the power gui block. The discrete models already exist, and have been created manually, so there is no way to automatically control how individual blocks are discretized. You can customize a block yourself if you want, but it would have to be done manually.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by