Search found 302 matches

by HarryBunnik
Wednesday 08 May, 2019 - 16:09
Forum: Modeling in Enterprise Dynamics
Topic: Is it possible to set the seed to keep stochasticity but get repeatability?
Replies: 4
Views: 119

Re: Is it possible to set the seed to keep stochasticity but get repeatability?

Hi Robin, What you could try is to set the seed value, based on the "CurRun" you're in. This you can find on the Attribute: Att([CurRun], refExperimentSupport). So on your "On start of run", you can set the GeneratorSeed to this value. So you start each run with a seedvalue being equal to your run n...
by HarryBunnik
Monday 29 April, 2019 - 17:37
Forum: Enterprise Dynamics 4DScript
Topic: Open model and start simulation 4DScript
Replies: 2
Views: 196

Re: Open model and start simulation 4DScript

Ha chaix, There are a few things that you'll have to cover before loading a model on code. I cut the code in 3 blocks. Note that t = a global variable that must contain as a string the name and location of the model to be loaded. Note that not all code will be directly necessary, like the "progressb...
by HarryBunnik
Friday 26 April, 2019 - 19:15
Forum: Modeling in Enterprise Dynamics
Topic: Execute 4dScript code from external application
Replies: 6
Views: 179

Re: Execute 4dScript code from external application

Ha chaix, Yes, that must be possible. :-) Perhaps the topic https://community.incontrolsim.com/viewtopic.php?f=9&t=433&p=1811&hilit=java#p1811 can give you a start here. Do note that to get access to the examples mentioned there you'll need to install the SDK-kit, which is an additional package. thi...
by HarryBunnik
Thursday 04 April, 2019 - 11:55
Forum: Modeling in Enterprise Dynamics
Topic: Total processing time and operatios
Replies: 1
Views: 89

Re: Total processing time and operatios

Ha Hanna, First to make sure that I understand: - You have 1 product that, when 1 machine is operated by 1 person, needs ~20 hours to be finished. - However, you have 3 operators at 1 machine and now it goes to ~20/3 hours to be finished? - Or are they working on different parts of the product that ...
by HarryBunnik
Wednesday 03 April, 2019 - 13:18
Forum: Enterprise Dynamics 4DScript
Topic: 4DScript If statement with 4 options
Replies: 2
Views: 219

Re: 4DScript If statement with 4 options

Ha Hanna, You could try a case statement in combination with a WhichIsTrue for this (I used random values for the Label([Type],i)): Case( WhichIsTrue( Label([Type], i) = 1, Label([Type], i) = 3, Label([Type], i) = 9, Label([Type], i) = 12 ), hr(1), {Option 1} hr(2), {Option 2} hr(3), {Option 3} hr(4...
by HarryBunnik
Friday 22 March, 2019 - 12:18
Forum: Modeling in Enterprise Dynamics
Topic: AT take different path in network
Replies: 1
Views: 99

Re: AT take different path in network

Ha Bob,

That is the result of the shortest path algorithm. What you perhaps can do is to make the returning connection a one-way option. That is changing the network, thereby forcing the AT over the route you have in mind.

I hope this helps you further,

Regards,

Harry
by HarryBunnik
Tuesday 19 March, 2019 - 14:15
Forum: Modeling in Enterprise Dynamics
Topic: Time product in server
Replies: 5
Views: 186

Re: Time product in server

Here I'm not fully understanding what you want to see. The Entry trigger is triggered as soon as a product arrived in the server and the server has accepted the product. The Exit trigger is going off as soon as the product left the server (this can be later than the CycleTime when the conveyor/queue...
by HarryBunnik
Tuesday 19 March, 2019 - 10:54
Forum: Modeling in Enterprise Dynamics
Topic: Time product in server
Replies: 5
Views: 186

Re: Time product in server

Ha Louise, Yes, you can first do this on the Exit trigger, since only there you officially know how long a product was in a server. That requirement I overlooked, sorry. The staying time is a combination of Setup-time, cycle-time and, when applicable, failure-time. Since the cycle-time is first defi...
by HarryBunnik
Monday 18 March, 2019 - 20:51
Forum: Modeling in Enterprise Dynamics
Topic: Time product in server
Replies: 5
Views: 186

Re: Time product in server

Ha Louise,

You could try: "Time - EntryTime", where "EntryTime" gives the time that a product entered another atom and the use of "time" you already found :-)

Success,

Harry
by HarryBunnik
Friday 15 March, 2019 - 12:00
Forum: Modeling in Enterprise Dynamics
Topic: Distribution atoms to workstations
Replies: 7
Views: 223

Re: Distribution atoms to workstations

Ha jastesem, I have the impression, when I see the model, that we are making it a bit too complicated. You said in the beginning that one Advanced Transporter is dedicated to delivering the first step and one for the second step? In that case, you must ensure that the products with label([Step] = 1 ...