for 5 consecutive instances, the solver can no longer perform the integration.Solver was unable to reduce the step size without violating the minimum step size value of 2.66454E-10 for 5 consecutive times
2 次查看(过去 30 天)
显示 更早的评论
I have a Simscape simulation of a PV plant, battery, and electrolyzer. When the electrolyzer operates continuously at 100%, the simulation runs smoothly. However, when I introduce intermittent operation, the simulation encounters an issue when the electrolyzer turns off. The error message:
"Solver was unable to reduce the step size without violating the minimum step size value of 2.66454E-10 for 5 consecutive times at time 75000"
appears repeatedly.
I attempted to increase the number of consecutive minimum step violations, as suggested, but it did not resolve the issue. Notably, when I simulate only the electrolyzer with on/off cycles, the problem does not occur.
10 个评论
Sam Chak
2025-3-24
I see, I overlooked the Pulse Generator block. If you modify the duty cycle to extend the 'ON' state, what happens?
采纳的回答
Sam Chak
2025-3-24
Hi @Juan José
Good to hear that the custom smooth signal works. The masked subsystem is able to generate the trapezoidal pulse signal.



2 个评论
Sam Chak
2025-3-25
Hi @Juan José
I forgot to show how the blocks appear under the Masked Subsystem. As you can see, I also used the Clock block.

更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





