Cancel
Showing results for 
Search instead for 
Did you mean: 

warmup & reset statistics

Creator
Creator
Hi, I have two questions about statistics. First, i'm looking for a simtalk command to parameter a warmup period in my model. Second, i'm also looking for a simtalk command to erase the statistic of an objet. thanks,
1 REPLY 1
Highlighted

Re: warmup & reset statistics

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi Jer_N,

 

The simtalk command to change the warmup period is StartStat. 

 

For example EventController.StartStat:= str_to_time("1:00:00:00"); would set the warm up period to a day.

 

To erase the statistic of an object you need to use InitStat.

 

For example SingleProc.initStat; would erase all current statistics of SingleProc at the time you call it and start collecting again.

 

Ollie

Oliver MacFarlane
Simulation Engineer
web: www.simsol.co.uk
e-mail: oliver.macfarlane@simsol.co.uk