- Index
- » Users
- » milanisimus
- » Profile
Posts
Posts
I am trying to run a closed loop in Dymola and I get this error
Error - Scalar system is always singular (for x=0) - Failed to start model
for the parameter that is involved in most equations in this closed loop.
So far I have tried
1.
Real x(start=700);
Real (fixed=true, start=700);
It gives the same error as above.
2. mf_Water_CHP_In is X actually
initial algorithm
//mf_Water_CHP_In := 700;
initial equation
//mf_Water_CHP_In=700;
Then I get this error
The initialization problem is overspecified for variables of element type Real.
The initial equation
mf_Water_CHP_In = 700;
refers to variables, which all are known.
To correct it you can remove this equation
After searching all related results to the issues that I get, I couldnt find any other idea
how to "initialize" / start the model.
Any suggestion is appreciated. Thanks
sjoelund.se wrote:
I am guessing you are sampling something every 1000s so you have event points at these steps. Use the simulation flag -noEventEmit
to not store those in the file.
Thanks for the input.
I was looking through the official documentation for Dymola for some time, but couldnt find anything that
associates to it. I found this from the official manual:
An Output interval group to specify how often results shall be stored. It can be specified in
terms of Interval length or Number of Intervals for the simulation. By default the results
are also stored at discrete events. For the Simulation time unit button after the interval
length input line, see below.
Maybe it is default option to store values at 1000s s (sometimes at 100s s also) ?
Can you provide more details how to try that simulation flag option?
I am new Dymola/Modelica user.
I need to export the simulated results from Dymola/Modelica in Matlab.
Currently I have the sampling set to 60s ( Setup - Output interval - Output Length)
When I get the results in a Table, except for the 60s sampling results, there are results for every 1000s interval.
Any idea on how to deal/eliminate this additional result in the results table?
- Index
- » Users
- » milanisimus
- » Profile