Search found 93 matches
- Monday 21 May, 2012 - 14:18
- Forum: Enterprise Dynamics Atoms
- Topic: Defining products on a source
- Replies: 5
- Views: 6500
Re: !!! in source atom
Hello, What is your criterion to determine the code does not work? What labels are you using? In what way are you using the labels in the other parts of the simulation model? I created one label [Name], and assigned four different values to this particular label ([Type1], [Type2], [Type3], [Type4])....
- Monday 21 May, 2012 - 10:55
- Forum: Enterprise Dynamics Atoms
- Topic: Defining products on a source
- Replies: 5
- Views: 6500
Re: !!! in source atom
Hello! Yes, indeed you could use the OnCreation or OnExit trigger. With the following code, the products will have different colors and label values on the rate that you provided: Do( Var([valP], vbValue), valP := Uniform(0, 1), Case( WhichIsTrue( valP <= 0.25, valP <= 0.75, valP <= 0.85, valP <= 1 ...
- Friday 11 May, 2012 - 10:07
- Forum: Enterprise Dynamics 4DScript
- Topic: Generic Monitor count
- Replies: 2
- Views: 3839
Re: Generic Monitor count
Hello Benjamin! You can put a sink next to the queue where the products are waiting, call this sink LostProducts. I assume the queue is filled by a source. Now on this source, connect the second output channel with the input channel of the LostProducts sink, and select SendTo statement "2. An o...
- Tuesday 24 April, 2012 - 10:48
- Forum: Modeling in Enterprise Dynamics
- Topic: Model problem
- Replies: 6
- Views: 5307
Re: Model problem
Hello David! In my opinion the model I posted previously almost realizes the sequences of motions you described. The only motion that is not included is the change of gripper, which I explained before. When you incorporate the time needed to change the gripper, then the actual move of the robot is n...
- Monday 23 April, 2012 - 15:25
- Forum: Modeling in Enterprise Dynamics
- Topic: Model problem
- Replies: 6
- Views: 5307
Re: Model problem
Hello David! You can connect the channels of the elements in such a way that the product follows the desired route. In your case, the connections will be as follows: - Output channel 1 of conveyor1 to input channel 1 of robot; - Output channel 1 of robot to input channel 1 of server1; - Output chann...
- Friday 20 April, 2012 - 14:17
- Forum: Enterprise Dynamics 4DScript
- Topic: Poisson distribution
- Replies: 2
- Views: 5094
Re: Poisson distribution
Hello! First of all, please note that the Poisson distribution returns the (discrete random) number of arrivals during a certain time interval. The NegExp distribution returns the (continuous random) time between each of these arrivals. For the relation between Poisson and (Negative) Exponential dis...
- Sunday 15 April, 2012 - 12:22
- Forum: Enterprise Dynamics Atoms
- Topic: Adaptive control of MultiServer capacity/Instances
- Replies: 9
- Views: 9511
Re: Adaptive control of MultiServer capacity/Instances
Hello Roman, On the Table component there is an OnExit control. In this control you can put your code to be evaluated for all cells. Note that this code is only executed when another component than the Table is selected (e.g. a button), i.e. the code is not executed when different cells within the s...
- Thursday 12 April, 2012 - 14:04
- Forum: Enterprise Dynamics Atoms
- Topic: Adaptive control of MultiServer capacity/Instances
- Replies: 9
- Views: 9511
Re: Adaptive control of MultiServer capacity/Instances
Hello Roman, Nice GUI so far! The DropDownList-Widget does not recognize a default value or I am doing something completely wrong :( It's better to set the text of the combobox by updating the ItemIndex, instead of setting the text. So in your case, you can compare the attribute of the DecisionContr...
- Wednesday 11 April, 2012 - 17:44
- Forum: Enterprise Dynamics Atoms
- Topic: Adaptive control of MultiServer capacity/Instances
- Replies: 9
- Views: 9511
Re: Adaptive control of MultiServer capacity/Instances
Hello Roman, Glad to see the model works like you expected! Regarding your visualization question, try to use xSize(c) instead of ViewWidth(c). The ViewWidth returns the width of the entire window, the xSize only returns the width of the atom on which you are drawing, I think this is what you want. ...
- Wednesday 11 April, 2012 - 14:21
- Forum: Enterprise Dynamics Atoms
- Topic: Adaptive control of MultiServer capacity/Instances
- Replies: 9
- Views: 9511
Re: Adaptive control of MultiServer capacity/Instances
Dear Roman, Thanks for your question, interesting model. To change the capacity of the cash-desks, you can put the following code on the Entry trigger of the queue in front of the cash-desk: Do( Case( { * Determine the content of the queue, i.e. the number of waiting customers * } WhichIsTrue( Conte...