How to start a simulation in steady-state ?

66 vues (au cours des 30 derniers jours)
Antoine Dupuis
Antoine Dupuis le 10 Sep 2020
Commenté : Fangjun Jiang le 14 Sep 2020
Hi everyone,
I have a question regarding how to the start of a simulation in simulink with the steady state signal (voltage in my case) from t=0s.
I have done the power flow initialization as well the steady-state initial state with the help of powergui but I still have a oscillating voltage, power output from the synchronous machine.
Do you have any idea how to get read of this transient ? For instance I'd like to start my simulation at t=0s with the state of t=0.6s
Thanks in advance !
Antoine

Réponse acceptée

Paul
Paul le 11 Sep 2020
  1 commentaire
Antoine Dupuis
Antoine Dupuis le 13 Sep 2020
Hi Paul,
Thank you so much for your help, it works perfectly as you can see:
The blue curve is a simulation stopping at t=0.01s and the red curve is a second simulation starting off with the operating point of the blue curve at t=0.01s. We can see that the junction is continuous.
Success !!
Thanks again,
Antoine

Connectez-vous pour commenter.

Plus de réponses (1)

Fangjun Jiang
Fangjun Jiang le 11 Sep 2020
In Configuration Parameters, Data Import/Export, you can check and specify "Initial State".
You can also save "States" for your simulation. Do this first to figure out what are the states and their order and values.
In recent versions, there are "State Reader" and "State Writer" blocks. R2018a may not have it.
  8 commentaires
Antoine Dupuis
Antoine Dupuis le 14 Sep 2020
Hi Fangjun Jiang,
From what I have read in mathwork, your method works perfectly indeed, but is limited in certain cases (including mine) because of specific block type.
This is very well explained here:
Great talking
Regards,
Antoine
Fangjun Jiang
Fangjun Jiang le 14 Sep 2020
Good to know. Thanks!

Connectez-vous pour commenter.

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by