Error "compiling simscape network for model [model name]"

24 views (last 30 days)
Hi
I am trying to run a simple model I made but I get the following error:
"Error compiling Simscape network for model Vaporizer.
Caused by:
This model is structurally singular. Check the equations."
I tried to change the diffrent values of my model but nothing works...
  2 Comments
Brahmadev
Brahmadev on 3 Apr 2024
Edited: Brahmadev on 3 Apr 2024
Hi, could you share your model as an attachment using the paperclip icon, so that we can try to understand where the issue might be?
tomer
tomer on 9 Apr 2024
hi :)
I was able to solve it eventually, thank you!!

Sign in to comment.

Answers (1)

Neha
Neha on 8 Apr 2024
Hi,
I understand that you are encountering a structural singularity error while simulating a Simscape model.
A structural singularity error indicates that there are equations in your model that are not independent from each other. Imagine you're setting the same velocity for all four wheels of a vehicle and then adding an extra constraint that demands these velocities to be identical. This redundancy leads to a structural singularity.
Therefore, I recommend closely examining your model's equations to pinpoint any inconsistencies or redundancies that might be triggering this error.
Hope this helps!

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!