openmodelicainterest  

AW: Problen in Plotting During Simulation

Alexander.Roehnsch
Wed, 21 Oct 2009 02:24:33 -0700

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.