Search found 327 matches

by HarryBunnik
Wednesday 07 August, 2019 - 16:27
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 2334

Re: Switch Ouput Channel by material availability

Ha jjjermain, OK, then I understand the problem. In which version of ED are you making your model? Then I can create an example in the same version. I'm thinking of using an Event-atom. When a material 1 is entering the queue, I close the exit of that queue (CloseOutput(c) on the Entry trigger of th...
by HarryBunnik
Wednesday 07 August, 2019 - 10:01
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 2334

Re: Switch Ouput Channel by material availability

Ha jjjermain, At the moment it is not entirely clear to me. Do you really need to send the material 1 to machine 2, when material 2 is too late, or can this also be done from machine 1 by only sending an empty material further? So you would like to block material 1 before entering machine 1. If mate...
by HarryBunnik
Tuesday 06 August, 2019 - 08:52
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 2334

Re: Switch Ouput Channel by material availability

Hello jjjermain,

Could you use the cut-off time at the assembler and the content of the 1st product on the "Send To" statement? So then the Assembler is doing the sorting, instead of the queue in front of the assembler.

Success,

Harry
by HarryBunnik
Tuesday 09 July, 2019 - 11:04
Forum: Modeling in Enterprise Dynamics
Topic: Workers having different cycle times on the same machine
Replies: 3
Views: 679

Re: Workers having different cycle times on the same machine

I now realize that the Human Resource first came with ED 9.0 However, similar code can also be placed on the Operator I think.

Success!

Harry
by HarryBunnik
Tuesday 09 July, 2019 - 09:25
Forum: Modeling in Enterprise Dynamics
Topic: Workers having different cycle times on the same machine
Replies: 3
Views: 679

Re: Workers having different cycle times on the same machine

Ha up912201, What you want to do is change the CycleTime of the server that is representing the machine, when a worker (HumanResource, HR) is assigned the task. So this is the moment an HR is called. Especially for such moments, the HR has a trigger "When called". Here you can update the value that ...
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: 1059

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: 1224

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: 1084

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: 571

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: 1235

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...