Specialized Power Systems to simscape solver
33 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I am trying to convert a model from Specialized Power Systems Models to Simscape. However, I am having the problem that the old solver was set to "Discrete", but this is no longer possible in Simscape. Old Solver settings:


New Solver settings:

I got this error:
Error:The "FixedStepDiscrete" solver cannot be used to simulate block diagram 'LSC_simscape' because it contains continuous states
The Simulink solver ode1 produces the following error:
Error:An error occurred during simulation and the simulation was stopped
Caused by:
['LSC_simscape/Grid/Solver Configuration']: Failed to satisfy dynamic state constraints.
What can I do to make the simulation work again?
Thanks
0 Kommentare
Antworten (1)
Sabin
am 31 Jan. 2026 um 8:22
In Simscape, the Solver Configuration block specifies the solver parameters that your model needs before you can begin simulation. The 'Use local solver' (by default off) checkbox in the Solver Configuration block lets you use a sample-based local solver with a sample time specified by the Sample time parameter. In sample-based simulation, all the physical network states, which are otherwise continuous, become represented to Simulink as discrete states. The solver updates the states once per time step. I hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Trimming and Linearization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!