How to start a simulation in steady-state ?

72 views (last 30 days)
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

Accepted Answer

Paul
Paul on 11 Sep 2020
  1 Comment
Antoine Dupuis
Antoine Dupuis on 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

Sign in to comment.

More Answers (1)

Fangjun Jiang
Fangjun Jiang on 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 Comments
Antoine Dupuis
Antoine Dupuis on 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

Sign in to comment.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!