Cancel
Showing results for 
Search instead for 
Did you mean: 

experiment manager

Builder
Builder

Is it necessary to put an end time in the event controller for using Experiment manager.I am using a method in the drain to stop the event controller as my parts are produced in sequence and i am using shift calender,but when i use experiment manager and tries to find Relation between sim time as out put and other random fators as input., the experiment manager always shows wrong result.?? why it happens??any help??

5 REPLIES 5

Re: experiment manager

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello k_parashar,

 

if you stop the event controller manually you have to make sure that the EndSim controls are executed.

 

In V12 you can do this by supplying the argument true to the stop method of the event controller.

 

In prior versions you have to use the following call:

callEvery(root, "EndSim");

 

Regards,

Ralf

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: experiment manager

Builder
Builder

Hi Ralf,

 

where i have to call this method??

Re: experiment manager

Siemens Phenom Siemens Phenom
Siemens Phenom

Right after you stop the simulation.

 

E.g.:

EventController.stop;
callevery(root, "EndSim");

 

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: experiment manager

Builder
Builder

hi Ralf,

 

i m using the following method :

is
do

 if drain.statnumin=1097 then  
  eventController.end:=eventController.simTime+0.001;
 callEvery(root, "EndSim");
 end;
 
end;

 

but still the experiment manager shows wrong result,its not able to complete the simulation run and it seems it stops before the actual end.what could be wrong??

Re: experiment manager

Siemens Phenom Siemens Phenom
Siemens Phenom

If you set the end time like you do everything should work without the need for the callevery.

 

So without a model its now hard to say what's going wrong.

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.