How to set my simulation powergui into continuous mode?

조회 수: 13 (최근 30일)
Boheng Zhao
Boheng Zhao 2024년 4월 22일
댓글: Boheng Zhao 2024년 4월 28일
My LLC converter simulation is running well when set the powerGUI into discrete mode but have error when shift it into continous mode.
The error is:
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Derivative of state '1' in block 'LLC_DualCtrl/powergui/EquivalentModel1/State-Space' at time 0.013000000000000001 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
How to fix this error, the input voltage seems be infinite.

채택된 답변

Arun
Arun 2024년 4월 26일
Hi Boheng Zhao,
I understand that you encounter an error while running the simulation with powerGUI” block in continuous mode.
As a work-around to successfully run the shared model in MATLAB R2023b please change the following Configuration Parameters:
  1. Under the Modeling tab, open “Model Settings’ (Ctrl +E). This will open the “Configuration Parameters” window.
  2. Select ‘Solver’ from the list on the left, then change Solver selection Type to ‘Variable-step’
  3. In the same section, under Solver details, change Zero-crossing options to “Disable All.
For more information, please refer the shared MathWorks documentation links:
  1. powergui” block: https://www.mathworks.com/help/sps/powersys/ref/powergui.html
  2. Zero-Crossing Detection: https://www.mathworks.com/help/simulink/ug/zero-crossing-detection.html
I hope this helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by