Cannot run Simscape circuit due to Solver Configuration block error

Good day,
I am having issues with simulink. I am trying to simulate an electric vehicle circuit.
I have attached the file, I hope someone can help me. This is driving me nuts.
When I am trying to run it, I am getting the following error:
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • ['myev/Solver Configuration']: Nonlinear solver to advance time one step failed to converge due to Linear Algebra error. Failed to solve using iteration matrix.
  • The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below. all components and nodal across variables involvedTie variable 'H_Bridge.p2.v' (Voltage) to a definite value, for example by connecting an appropriate domain reference block. Dependency found among topology equations. Check for missing reference node.
Component:Simulink | Category:Block error
I am using simscape for this. Thank you very much in advance!

 Accepted Answer

Hi, this error is telling us that we are missing a connection to a domain reference, in this case an electrical reference. I can see you have 2 electrical references in the model which are connected to the same line. If you move Electrical Reference2 from where it is to be connected to the H-Bridge '-' terminal, you should be able to simulate the model without error.
I hope this helps.

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Asked:

on 10 Dec 2022

Commented:

on 13 Dec 2022

Community Treasure Hunt

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

Start Hunting!