Cancel
Showing results for 
Search instead for 
Did you mean: 

occupancy time of a transporter

Pioneer
Pioneer

Hi,

 

i've just a little question abaout a stat iof my transporter.

i want to find out the occupancy time of my transporter. grafik.png

 

I found in the stats fpr the attribute the value "statLeerZeit". is it the time, where the transporter has not any MUs on it?

And it is like this, is it possible to say: simTime - statleerZeit = occupancy time?

Or do i have an mistake in my thoughts?

 

best regards

 

8 REPLIES

Re: occupancy time of a transporter

Pioneer
Pioneer

hi,

 

a little hint would be great :-)

Re: occupancy time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
yes, you can calculate

eventController.simTime - eventController.startStat - transporter.statEmptyTime = occupancy time
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: occupancy time of a transporter

Pioneer
Pioneer

hi, great for your hint.

 

so "eventController.simTime - eventController.startStat" = ist the total time of the simulation?

 

and is it possible, to show the occupany time in the console?

 

best regards!!

Re: occupancy time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

"eventController.simTime - eventController.startStat" is the statistics time

If you set a value in the eventController field start stat, the eventcontroller will reset the statistics at this point in time.

 

for show values in the console use the command print (see help)

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: occupancy time of a transporter

Pioneer
Pioneer

Hi,

 

so y mtheod hat to look like:

 

1. calculate eventController.simTime-eventController.startStat

2. calucate "eventController.simTime-eventController.start.stat" - transporter.statEmptyTime

3.after the end of the simulation, calculate with meanValue the average of the occupany time

 

is it correct?

 

best regards

Re: occupancy time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

what do you mean with

 

"the average of the occupany time"

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: occupancy time of a transporter

Pioneer
Pioneer

if i have the occuoany time of my transporter, i could divide it by the number of people which were transported.

after that i could add it by the average of the waiting time in the buffer:

 

average waiting buffer + average occupany time (driving per person) = average of my processing time

 

what do you mean?

Re: occupancy time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
it is your model, but if you create the passengers before and delete them after the transport, the easiest way to calculate the average "processing time" is the mean lifespan of the MUs (see statistics of the drain)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net