FixedStepDiscrete solver cannot be used with continuous states in OP5600 Opal-RT

2 ビュー (過去 30 日間)
KADEM Mohamed
KADEM Mohamed 2016 年 4 月 18 日
編集済み: Stefan Raab 2016 年 4 月 20 日
I have an Active power filter model on Simulink R2013b that i want to run on an Opal-RT OP5600 (Software : RT-LAB 10.0.7) simulation platform.
While i try to build the model, i get the following Error :
the "FixedStepDiscrete" solver cannot be used to simulate block diagram,because it contains continuous states
Now i tried to Google the solution, obviously : the Solver can't handle the continuous states object, all solutions proposed are either change the solver (which is something i can't do because the hardware platform doesn't allow it), so i am stack with the second option which is : Replace the continuous states blocks with discrete one.
So my question is :
how can i get the list of continuous states blocks so i can replace them with discrete one ?

回答 (1 件)

Stefan Raab
Stefan Raab 2016 年 4 月 19 日
編集済み: Stefan Raab 2016 年 4 月 20 日
Hello,
you could use "Display/Sample Time/All" to highlight the blocks with continuous sample time in an own color. Note that you have to change the solver first to a continuous solver, as this display option needs a model update. You can reset this afterwards.
You could also search with the Model Explorer (Ctrl+H) but as I don't use R2013b, I'm not sure if the approach was identical then. In the ME select your model in the left tree and in the upper bar Search "by Property Name" for "ContinuousStateAttributes". This should list most of them (but not all I think).
Hope this helps!
Kind regards, Stefan

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by