Specialized Power Systems to simscape solver

18 views (last 30 days)
Kilian
Kilian on 29 Jan 2026 at 17:42
Answered: Sabin on 31 Jan 2026 at 8:22
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

Answers (1)

Sabin
Sabin ongeveer 21 uur ago
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.

Categories

Find more on Trimming and Linearization in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!