필터 지우기
필터 지우기

can not run power_V2G on desktop

조회 수: 2 (최근 30일)
zeynep melda ulger
zeynep melda ulger 2022년 12월 22일
댓글: zeynep melda ulger 2022년 12월 26일
I use 2022b version. Simulation is working on online but it is not working on desktop. Error:
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Solver encountered an error while simulating model 'power_V2G' at time 2.6460586394085608 and cannot continue. Please check the model for errors.
  • Nonlinear iteration is not converging with step size reduced to hmin (9.40069E-15) at time 2.64606. Try reducing the minimum step size and/or relax the relative error tolerance.
I can not solve why it is. I need help about this problem. Thanks.

답변 (1개)

Ritish Sehgal
Ritish Sehgal 2022년 12월 26일
I assume that you are referring to the ‘24-hour Simulation of a Vehicle-to-Grid (V2G) System’.
This example is intended to work only when the ‘Simulation Type’ parameter in the ‘powergui’ block is set to ‘Phasor’. In case the parameter has been set to ‘Continuous’ or ‘Discrete’ you can set it back to ‘Phasor’.
Also, the error message that you have shared, generally means that one of the signals in the model is diverging to plus or minus infinity or is otherwise changing too rapidly based on the solver settings.
Please follow the below steps to change your solver:
1. Click on Model Settings from the Modelling tab in the tool strip
2. Click on Solver from the left pane.
3. Select the Solver Type as ‘Variable-step’.
4. Select the Solver as ‘auto’.
In case, it still errors then you can try to set the Solver in step 4 to either ode23t or ode23tb.
Hope it helps!!
  댓글 수: 1
zeynep melda ulger
zeynep melda ulger 2022년 12월 26일
Thank you so much :) For your support. Problem was solved. Adamsın

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by