MATLAB Answers

How to start a simulation in steady-state ?

37 views (last 30 days)
Antoine Dupuis
Antoine Dupuis on 10 Sep 2020
Commented: Fangjun Jiang on 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

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

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!