Error when running simple voltage converter in simulink

Hi,
I got this error when when I tried to simulate the circuit: An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Solver encountered an error while simulating model 'Teste_Quadratic_boost' at time 5.9442244214857332e-09 and cannot continue. Please check the model for errors.
  • Solver could not solve the system of algebraic equations because a singular iteration matrix was encountered. Consider providing more accurate initial conditions. If the problem persists, check the model structure and values of parameters.
Looking for the problem I found that if the mosfet is removed or its Threshold voltage is not reached, Simulink doesn't report an error

Answers (1)

Changing the initial value for the capacitor voltage to a non-zero value may help the solver. Without the model is not easy to provide alternative solutions.

Products

Asked:

on 2 Feb 2021

Answered:

on 13 Jan 2025

Community Treasure Hunt

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

Start Hunting!