Simscape error referring to equation location as folder path

I have a model that used to run without any problems, but since i copied it to another place, SImscape seems to have a problem with it.
Ther are two variables that are adjustet by linking knobs to constant blocks.
Two other blocks, that include these variables, know produce this error, in wich Simscape seems to be searching for the fitting equation. But since the reference is to the standart installation folder, I can't help myself but wonder, what the rproblem might be.

Answers (1)

It's complaining about unable to solve for initial conditions. There may be conflicting or inconsistent initial variable values set in some blocks without you realizing that. It looks like you are working with Gas domain, so one thing to look out for is avoid pushing a large flow rate at time 0. Other blocks in your system, pipes, volumes, etc., may not have the I.C. set up to be ready to push the specified flow rate at your source. Sometimes ramping up the flow rate from zero to target value helps.
If you could share the model, I can take a look.

3 Comments

Thanks for answering, but in the meantime, I simply put the model back up from scratch, since it was not too complex. Since then, it's running just fine.
Anyway, I do have issues regarding another model, that still contributes to the same project.
If you wouldn't mind, i'd share this other model for you to have a look? Dind't find any solution in the Troubleshooting support site.
It's the 'Two-Winding Transformer (Three-Phase)' within the '3P_inverter' subsystem. If I run it with just a DC source, everything is fine. If I run just the 'Average-Value Inverter (Three-Phase)' with Solar-Cells, everything is fine. But, as soon as I run a model with an "Average-Value Inverter (Three-Phase) + Two-Winding Transformer (Three-Phase)" combination together with Solar-Cells, I get the errors:
  1. Initial conditions solve failed to converge. Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix.
  2. Cannot solve for one or more variables, including dynamic variable derivatives: Time derivative of . . .
  3. Problems possible for transient initialization, as well as stepsize control for transient solve, due to equations of one or more components: . . .
Thanks for any kind of help!
Greetings
Hi Jens,
I suggest that you submit a new question with updated tags and product categories, so the right audience and experts can see it. This is outside my scope of knowledge and skills. I got instant headache when I see inverters and transformer :p
Happy Modeling.
Yeah, you're right.
Thanks for your advice, thogh!
Farewell ;)

Sign in to comment.

Categories

Products

Release

R2021a

Asked:

on 11 Jun 2021

Commented:

on 17 Jun 2021

Community Treasure Hunt

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

Start Hunting!