Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Error during simulation

Error during simulation

Hello,
i'm simuling a model with modelica and if i check the system with the "check button" it's ok ( 64 equation in 64 variables) but if i run the simulation this error appear in the dashboard:
"An independent subset of the model has imbalanced number of equations (60) and variables (59)."

The model is created with 2 submodels, one for a volume and one for a single stage of a steam turbine. The submodel works alone correctly.

Where am i make mistakes?

Re: Error during simulation

Check only does a quick check that things might work, but it will not detect things like:

Code:

model M

  Real x,y;
equation
  y = 1.0;
  3.0 = 2.0;
end M;

In some cases at least the latest OpenModelica will give a hint that things are a bit off. But in many cases no analysis of the possible cause of the error is given.

Re: Error during simulation

Problem solved. Tnks everyone

There are 0 guests and 0 other users also viewing this topic
You are here: