How can set initial conditions of a state space model obtained by data?

1 回表示 (過去 30 日間)
Nils B
Nils B 2019 年 8 月 25 日
回答済み: Rajiv Singh 2019 年 8 月 26 日
Hello I have a problem with the simulation of a state space model.
The model is from a heat process, and I want to set the condition that it
starts at 25°C (Ambient Temperature) and can never fall below it.
Since I obtained the model from data with system identification, I know nothing
about the nature of the state vector to set the initial conditions and here is the problem.
How can I set the initial conditions in such a way, that I will obtain 25°C at the beginning of
my simulation in simulink?
Best regards

回答 (1 件)

Rajiv Singh
Rajiv Singh 2019 年 8 月 26 日
Is the temperature an output of the model? If so, what is the corresponding input?
Supposing the input and outputs are known (measurable or their target values known), user can use data2state function to compute initial states corresponding to certain I/O history. Suppose temperature is the output. You only want a certain value (25 deg) at the start of the simulation; you say nothing about the history (times -1, -2, ...) of the I/O signals. Hence there will not be a unique solution for initial states for any model with more than one states. For more reliable answers, provide a history of sample length greater than the number of states.

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by