can not run power_V2G on desktop

6 visualizaciones (últimos 30 días)
zeynep melda ulger
zeynep melda ulger el 22 de Dic. de 2022
Comentada: zeynep melda ulger el 26 de Dic. de 2022
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.

Respuestas (1)

Ritish Sehgal
Ritish Sehgal el 26 de Dic. de 2022
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 comentario
zeynep melda ulger
zeynep melda ulger el 26 de Dic. de 2022
Thank you so much :) For your support. Problem was solved. Adamsın

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by