Record lead time

All topics on coding 4Dscript in Enterprise Dynamics.
Helbe
Posts: 6
Joined: Tuesday 21 February, 2017 - 12:02

Record lead time

Postby Helbe » Thursday 06 April, 2017 - 15:03

Dear,

I have a model where I want to calculate the duration time for all the products (and the average duration time). I have 3 different product types and I want to find a way to measure the time between creation and when the product leaves the flow. How can I model this?

Best regards and thank you

User avatar
HarryBunnik
Posts: 206
Joined: Monday 07 February, 2011 - 11:22

Re: Record lead time

Postby HarryBunnik » Monday 10 April, 2017 - 09:54

Ha Helbe,

You could try to ask the function "age" of the product, once it leaves the flow and write that away in a table.

This function returns the age of an atom. The age is the difference between current time and creation time. When a run is reset, the creation time of all atoms becomes 0.

Cheers,

Harry

Helbe
Posts: 6
Joined: Tuesday 21 February, 2017 - 12:02

Re: Record lead time

Postby Helbe » Tuesday 18 April, 2017 - 15:30

Thank you, this was exactly the kind of help I needed!


Return to “Enterprise Dynamics 4DScript”

Who is online

Users browsing this forum: No registered users and 1 guest

cron