openmodelicainterest  

RE: Problen in Plotting During Simulation

Peter Fritzson
Wed, 21 Oct 2009 05:18:33 -0700

Dear Alexander,
 
This is clearly a bug. This once worked, but not in versoin 1.4.5.
 
Can you file a bug report (see the OpenModelica web page)
 
Best regards,
 
Peter F

  _____  

From: owner-openmodelicainter...@ida.liu.se
[mailto:owner-openmodelicainter...@ida.liu.se] On Behalf Of
alexander.roehn...@dlr.de
Sent: den 21 oktober 2009 10:44
To: openmodelicainterest@ida.liu.se
Subject: AW: Problen in Plotting During Simulation



I tried the UserGuide example from the chapter “3.2.4. Plotting During
Simulation” and got the very same error as Roshna. The simple example reads
as follows. I entered it in the OpenModelica Shell v. 1.1. (for OpenModelica
1.4.5).

 

class HelloWorld

Real x(start = 1);

parameter Real a = 1;

equation

der(x) = - a * x;

end HelloWorld;

 

enableSendData(true);

setVariableFilter({x});

simulate(HelloWorld, startTime=0, stopTime=25);

 

Regards,

Alexander Röhnsch

 

  _____  

Von: owner-openmodelicainter...@ida.liu.se
[mailto:owner-openmodelicainter...@ida.liu.se] Im Auftrag von Roshna
Gesendet: Montag, 19. Oktober 2009 12:19
An: openmodelicainterest@ida.liu.se
Cc: nilanc...@cdactvm.in
Betreff: Problen in Plotting During Simulation

 

Hai all,

 

We want to plot the simulation data using enableSendData function with true
as a parameter .But whatever be the model we are getting  windows
error(pease see the attachment).

Can we use this function(enableSendData) to plot a real-time simulation
data? Is there any other way for plotting, if the simulation is too long?

 

Thanks in advance.

 

Roshna C P

Control & Instrumentation Group,

Center for Development of Advanced Computing,

Trivandrum, India.