MATLAB Answers

Simscape error referring to equation location as folder path

조회 수: 1(최근 30일)
Jens Kniephoff
Jens Kniephoff 2021년 6월 11일
댓글: Jens Kniephoff 2021년 6월 17일
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.

답변(1개)

Yifeng Tang
Yifeng Tang 2021년 6월 12일
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
Jens Kniephoff
Jens Kniephoff 2021년 6월 17일
Yeah, you're right.
Thanks for your advice, thogh!
Farewell ;)

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by