Dear all,

 

I have some remarks on the interactive simulation. I use the two tank
example provide with OpenModelica 1.6.0 for windows. I use windows XP
operating system.

 

First, whith your client when you change parameter value at a specified time
step, 3.6s for example. The output values are available only at 7 s,
associated client output data below.

 

Server recieved message: result#2.8#tank1.h=0.132#source.flowLevel=0.02#end

End delay of 3 seconds.

Enter operation to be sent to server:

Message to be send: changevalue#5#3.6#source.flowLevel=0.0004#end

Enter operation to be sent to server:

Command to delay the client for: 10 seconds.

Server recieved message: done#5#end

Server recieved message:
result#7#tank1.h=0.13752#source.flowLevel=0.0004#end

Server recieved message:
result#7.8#tank1.h=0.13768#source.flowLevel=0.0004#end

Server recieved message:
result#8#tank1.h=0.13776#source.flowLevel=0.0004#end

Server recieved message:
result#8.2#tank1.h=0.13784#source.flowLevel=0.0004#end

Server recieved message:
result#8.4#tank1.h=0.13792#source.flowLevel=0.0004#end

 

Secondly,I launched a long simulation. I have a computation divergence after
239 computation step. The computation sends the following message:

Message send: done#5#end

 DASSL-- TOUT (=R1) TOO CLOSE TO T (=R2) TO START INTEGRATION

      In above,  R1 =   .4800000000010E+02   R2 =   .4800000000010E+02

DDASRT: The code has encountered trouble from which it cannot recover.

 

DDASRT: The code has encountered trouble from which it cannot recover.

Error, simulation stopped at time: 48 with idid: -33

Result written to file.

omi_Calculation: error occurred while calculating

 

If I change the computation time step to 0.5s the computation diverges after
256 computation steps.

 

I have done test with other model and the divergence arrive after 240
computation time steps.

 

More over, I can not use dassl2 or euler computation method in interactive
simulation. The computation time is not increased.

 

Regards

 

Hervé FERAL

Ingénieur électro-thermique

Reply via email to