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

2 Ansichten (letzte 30 Tage)
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 ?

Antworten (1)

Stefan Raab
Stefan Raab am 19 Apr. 2016
Bearbeitet: Stefan Raab am 20 Apr. 2016
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

Kategorien

Mehr zu Simulation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by