Cancel
Showing results for 
Search instead for 
Did you mean: 

How to track and manipulate processing times

Experimenter
Experimenter

Hey everybody, 

we are working on connecting a process simulation to a real-world production line. The goal is to create a digital twin of the real-world process to a certain time, implement the information to the simulation and then run the simulation based on the real-world information on this specific time (e.g. Monday 2:30 pm). 

One general challenge I am facing right now is: There might be an object with a processing time of 3 hours. So the information I am gathering from the real world is: what status is the machine in?  (processing or idle) And since when is the machine in this status? With this information, I would like to tell the object in Plant Simulation that it is currently processing and (since it's been processing let's say for1 hour) how long it still needs to process (2 more hours). 

 

Is there a way to do this without changing the "standard" processing time of this object (because this should be 3 hours for the next full run)? 

 

I am grateful for help or any ideas! 

5 REPLIES

Re: How to track and manipulate processing times

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
you can do this with the method
<mu>.outIn(<time in seconds>)

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

Re: How to track and manipulate processing times

Experimenter
Experimenter

Thanks for the fast response, awesome! I am working with the German and English version of your (?) books. Great work btw. 

Is there anything about this function in the books (I couldn't find the method you mentioned)? 

 

Unfortunately, I am more familiar with the German abbreviations, my guess: 

<mu> : the link to the moving unit which is currently processed in the object? 

 

Thanks again! 

 

Re: How to track and manipulate processing times

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
I think it is not in the books. the german method is

<be>.austrittIn(<Sekunden>)

where <be> is the mu on the machine e.g.

maschine1.inhalt.austrittIn(7200)

dann tritt das Teil nach 2 Stunden aus der Maschine aus. Inzwischen gibt es auch einen Wert -1, dann beginnt die Bearbeitung komplett von vorn.
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: How to track and manipulate processing times

Experimenter
Experimenter
Thanks again for your help!
That should help me to manipulate the right processing time in the object.
However, is there a way to track the current processing time? I am thinking about a method and table which list the current processing times of each object whenever I stop a running simulation.

Re: How to track and manipulate processing times

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the MU "knows" its remaining procTime,  have a look at

 

<be>.restbearbeitungsZeit

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