Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access the simulation parameter in Modelica

Tags:

modelica

I have a model in my Modelica and I use Dymola to compile this model. In my model I need the simulation information "Output Interval length". I have searched for it but I could not get the useful information. Is there any other possible way we could access simulation information.

like image 427
chaitanya majjari Avatar asked Nov 28 '25 00:11

chaitanya majjari


1 Answers

If you are simply trying to get the results reported at specific intervals, you can use a sample operator to achieve that. That would force the solution to be computed at specific times without directly specifying something like the time step.

The important point to understand here is that a model where the behavior of the model depends on the numerical integration is highly suspect and I've never seen a case where the behavior couldn't be described without knowledge of the solution method. Said another way, "mother nature" doesn't know anything about "time steps". :-)

like image 162
Michael Tiller Avatar answered Nov 29 '25 22:11

Michael Tiller