フィルターのクリア

Saving final states and setting initial values in Simulink

3 ビュー (過去 30 日間)
Saeed Ahmadzadeh Mahboobi
Saeed Ahmadzadeh Mahboobi 2020 年 11 月 2 日
回答済み: Saeed Ahmadzadeh Mahboobi 2020 年 12 月 16 日
Hello
I have created a Model of an electric power system using Simscape ==> Power System.
I simulate it, then I save the final state values (In the Configuration Paramete, Data import/export) so that I use them in a next simulation as initial state values. See the picture below:
Then xFinal gets saved in the Workspace.
for the next Simulation, I want to use the saved xFinal, as the initial state values. See the picture:
But when i run the simulink Model, I get the following error:
Can someone please help me? this is driving me crazy.
Thank you

採用された回答

Saeed Ahmadzadeh Mahboobi
Saeed Ahmadzadeh Mahboobi 2020 年 12 月 16 日
I myself found what the problem is:
I made changes to the model (for example like adding an RLC-branch to the model, or changed the topology of the model) after I saved the final values. So these saved final values which are going to be the initial values for the next simulation, cannot be applied, because I had changed the model after saving the final states.
So if somebody in the futire has this problem, maybe this experience sharing would be helpful for her/him

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Logging についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by