Cancel
Showing results for 
Search instead for 
Did you mean: 

Total driving time of a transporter

Pioneer
Pioneer

Hi,

 

is there a way, to see the total driving time of a transporter?

I found the ready time and the empty time.

But it would be nice if i have the value for the driving time

for example:

-drive and takes a MU, bring it to a buffer (counting the time)

-no available MU, the transporter stops (don't counting the time)

-MU is created, get it up (counting the time)

and so on..

 

Thanky for your help and best regards

10 REPLIES

Re: Total driving time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
see
statTranspWorkingTime
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Total driving time of a transporter

Pioneer
Pioneer

Hi,

 

i implemented the print method and indicated the the console.

I got some values. I tried to understand the values, but in my case (driving time of my transporter) the values didn't make sense...

Should I have to adjust or something else?

I just want the total driving time of my transporter in the simulation.

Could you find my mistake?

 

Best regards

Re: Total driving time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

it is not the "right" Aufzug. The adress points to the aufzug in the class library. You need to adress the aufzug in your frame (e.g. weg.inhalt...)

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

Re: Total driving time of a transporter

Pioneer
Pioneer

Hi,

 

i have to indicate to the used transport.

so that be my code: " print schacht.aufzug.statTranspArbeitsZeit;"

schacht=track;aufzug=transporter...

But i don't understand where i cant find the drinving time Smiley Sad

Or do i understand it wrong?

Re: Total driving time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
try

print schacht.inhalt.statTranspArbeitsZeit

schacht.inhalt returns the "aufzug"
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Total driving time of a transporter

Pioneer
Pioneer

Hi,

 

I tried it an got nearly the same results. grafik.png

 

i have absolutley no idea what i make wrong

 

 

Re: Total driving time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
this is not the right output, what is your endSim-method ?

one hint: stop the simulation, mark your lift and press the key F8
Then have a look into the stat... attributes, look for the attributes, that Plant Simulation fills with data.
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Total driving time of a transporter

Pioneer
Pioneer

Hi,

 

thanks i found the right attribute with f8. But in connection i have another question. With the start of the simulation, the source initiate the transporter. And the simulation runs for 2 hours. So the statTransArbeitszeit should be 2 hours, but after the simulation, the value isn't about 2 hours.

Do you know why?grafik.png

 

 

 

It is just 1 hour 57 minutes and 30 seconds. Whats about the other 2,5 minutes?

 

Best regards

Re: Total driving time of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
the remaining time is waiting time (while you stop the transporter) see statTransWartezeit
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net