Search found 45 matches

by menno
Thursday 26 June, 2014 - 17:02
Forum: Enterprise Dynamics 4DScript
Topic: Quality Control (Sampling)
Replies: 6
Views: 7289

Re: Quality Control (Sampling)

Hi,

If you could post your model, and elaborate a bit more of the difficulties you encounter, this forum might be able to help you further.

Kind regards,
Menno
by menno
Thursday 26 June, 2014 - 16:58
Forum: Enterprise Dynamics 4DScript
Topic: Ignore Night-Hours of the status
Replies: 3
Views: 4600

Re: Ignore Night-Hours of the status

Hi John, Is far as I know there is no standard to ignore the status. I don't know if the model is large, or you need the status monitored of many atoms or many different statuses are used? If these are within reasonable limits, then you best can create your own 'status' keeping functionality, that w...
by menno
Monday 11 November, 2013 - 14:38
Forum: Modeling in Enterprise Dynamics
Topic: Tracking waiting times per producttype
Replies: 3
Views: 4109

Re: Tracking waiting times per producttype

Hello, How do you write these values to a table? On the exit trigger you could write the following (let's say the reference to the table atom is refResults): Do( label([waitingtime],i) := time - label([waitingtime],i), cell(nrows(refResults), 1, refResults) := label([waitingtime],i), settable( nrows...
by menno
Wednesday 06 November, 2013 - 09:08
Forum: Modeling in Enterprise Dynamics
Topic: Tracking waiting times per producttype
Replies: 3
Views: 4109

Re: Tracking waiting times per producttype

Hello Mv2013, If you want to know the waiting time of each product (so the time a product stays it the queue), then just mark the time at the entrance of the queue and when a product leaves the queue, deduct this time of the current time: OnEntry of the queue: label([waitingtime],i) := time OnExit o...
by menno
Tuesday 05 November, 2013 - 16:23
Forum: Enterprise Dynamics Atoms
Topic: feeder bowl
Replies: 7
Views: 8083

Re: feeder bowl

Hello Wizard, I suggest you use queues for the bowls. Do you want to simulate operators? If not, you can enter some code on the entry and/or exit trigger of the queues (bowls) to open and close them. I will show you an example: On the onentry trigger you will put: If( content(c) = att([Capacity], c)...
by menno
Tuesday 03 September, 2013 - 17:48
Forum: Modeling in Enterprise Dynamics
Topic: Leveling products
Replies: 1
Views: 2911

Re: Leveling products

Hello!

I added a very simple model which does exactly what you describe! Just check the code on the server and it is plain to see how it works (hopefully).

Kind regards,

Menno
by menno
Tuesday 03 September, 2013 - 17:40
Forum: Modeling in Enterprise Dynamics
Topic: randomgenerator options
Replies: 1
Views: 2725

Re: randomgenerator options

Hello Terril,

For the various distributions, you can pick different default randomgenerators. Just check the help section for the distribution
Normal(e1, e2, {e3]). Here a bit more is explained also on the generation of random numbers.

Hopefully this will help!

Kind regards,

Menno
by menno
Tuesday 03 September, 2013 - 17:18
Forum: Enterprise Dynamics 4DScript
Topic: Standard deviation
Replies: 1
Views: 3303

Re: Standard deviation

Hello Jojo, The standard deviation depends on the different values of runtimeM1. If you want to use the ED function StDev(e1,e2), every time you get a new runtimeM1, you need all previous values of runtimeM1 to recalculate StDev. This is needed because the average keeps changing, and therefore the d...
by menno
Tuesday 13 August, 2013 - 11:22
Forum: Enterprise Dynamics 4DScript
Topic: Utilization of the server into a table
Replies: 5
Views: 5989

Re: Utilization of the server into a table

Hello Jojo, Attributes are standard variables of an atom. These attributes I mentioned are used within the Server atom. If you open the Library tree, select the atom Server and press F9, then select the tab 'Attributes', then you can see which attributes the Server has. Under the tab 'Events', you c...
by menno
Tuesday 13 August, 2013 - 09:21
Forum: Enterprise Dynamics 4DScript
Topic: Call of Variable by using String in a loop
Replies: 1
Views: 2935

Re: Call of Variable by using String in a loop

Hello Roma, ED cannot read a string as a variable. Maybe you can use labels to achieve this: Do( Var([SommatieProduct1] ,vbValue,0 ), Var([SommatieProduct2] ,vbValue,0 ), Var([SommatieProduct3] ,vbValue,0 ), Var([SommatieProduct4] ,vbValue,0 ), Var([SommatieProduct5] ,vbValue,0 ), Var([Runner] ,vbVa...