Specialized Power Systems to simscape solver

조회 수: 33 (최근 30일)
Kilian
Kilian 2026년 1월 29일 17:42
답변: Sabin 2026년 1월 31일 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

답변 (1개)

Sabin
Sabin 2026년 1월 31일 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.

카테고리

Help CenterFile Exchange에서 Trimming and Linearization에 대해 자세히 알아보기

제품


릴리스

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by