Solver was unable to reduce the step size without violating the minimum step size value of 2.66454E-10 for 5 consecutive times
이전 댓글 표시
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일
Increasing the number of consecutive steps only addresses the symptoms rather than the root cause. If intermittent operation refers to the photovoltaic (PV) system operating by repeatedly starting and stopping in an alternating manner, it can create a situation that destabilizes the system.
For example, you may unknowingly stop a crucial stabilizing action long enough for the error signal to accumulate over time and grow unbounded. When the integration of the system's ODEs reaches a minimum step size value of
for 5 consecutive instances, the solver can no longer perform the integration.
for 5 consecutive instances, the solver can no longer perform the integration.
Juan José
2025년 3월 24일
Sam Chak
2025년 3월 24일
The storage current drops almost instantaneously from 5000 A to 0 A, which may imply that the issue is caused by this relatively high stiffness. Nevertheless, it is necessary to figure out exactly which part of the PV system is causing the problem.
Since it is suspected that the sudden transition from the 'ON' state to the 'OFF' state in the electrolyzer is the root cause, could you introduce a small delay using a first-order transfer function with a relatively small time constant T?

Juan José
2025년 3월 24일
Sam Chak
2025년 3월 24일
I am unfamiliar with Simscape. But I suspect that it may be related to the Stop Simulation block, which terminates the simulation altogether. If you 'comment out' (disable) this Stop Simulation block, does the error still occur?

Juan José
2025년 3월 24일
Sam Chak
2025년 3월 24일
Okay, not the Stop block. How do you turn off the battery's state?
Juan José
2025년 3월 24일
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!







