Search found 310 matches

by HarryBunnik
Friday 14 December, 2018 - 11:19
Forum: Enterprise Dynamics Atoms
Topic: Assembler
Replies: 18
Views: 2970

Re: Assembler

That is what is currently happening. When a product leaves the Server "Feige afvulmachine Lijn 1" I store the value of the label "PAA" that is defined on the product, in the label "LastPAA" that is defined on the server itself. Every time a new product arrives in the Server, I compare its label "PAA...
by HarryBunnik
Thursday 13 December, 2018 - 16:52
Forum: Enterprise Dynamics Atoms
Topic: Assembler
Replies: 18
Views: 2970

Re: Assembler

Good :-)

And I have no doubt you can re-apply the code. I was only a bit "annoyed" that I hadn't taken the time earlier to adjust the naming of the machinery and now was stuck with names that are absolutely no longer describing what should be going on there ;-)

Good luck!
by HarryBunnik
Thursday 13 December, 2018 - 16:28
Forum: Enterprise Dynamics Atoms
Topic: Assembler
Replies: 18
Views: 2970

Re: Assembler

Hello Freek, I've made some adjustments to the earlier model to show you where I have in mind to place the code. So I've changed the code on the "Feige afvulmachine lijn 1" (now responsible for the setup time. I think you have named them differently by now). - CycleTime (only when the label is chang...
by HarryBunnik
Thursday 13 December, 2018 - 13:49
Forum: Enterprise Dynamics Atoms
Topic: Assembler
Replies: 18
Views: 2970

Re: Assembler

Hello Freek, I didn't look too deep into what was defined on the Setup time since that was for me a given. What is the behavior that you want to have? When is the setup time needed? Every time a new type of product arrives? In that case, you can create a label on the "Feige afvulmachine" (be sure to...
by HarryBunnik
Wednesday 12 December, 2018 - 13:46
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 765

Re: Performance measures for inventory table

Ha Thore, Hmm... I think that the On Start of Run is then executed completely at the start of the reset, instead of at the end. Which causes the DataRecorder to executes its own code after the On Start of run is already executed, thereby resetting what we just tried to update. What you can try is us...
by HarryBunnik
Wednesday 12 December, 2018 - 09:09
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 765

Re: Performance measures for inventory table

Ha Thore, You can create a global reference ( DIm([valCurrentRowInDataRecorder], vbValue) ) and use the "On Start of run" trigger on the experiment wizard to reset this value to 0 when the first run of the simulation is started. Then the "On End of run" trigger can be used to increment the value of ...
by HarryBunnik
Tuesday 11 December, 2018 - 17:32
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 765

Re: Performance measures for inventory table

Ha Thore, Ok, that indeed throws the second idea out of the window. I had overlooked the data recorder at that time. What you can do is at the start of the new scenario, update the column in which the DataRecorde will start writing. This is the "Att([StartColumnExcel], RefDataRecorder)". I've create...
by HarryBunnik
Tuesday 11 December, 2018 - 09:39
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 765

Re: Performance measures for inventory table

Ha Thore, If you're already writing your data away in an Excel file I think that what you're missing is to have Enterprise Dynamics write the data for each experiment into a different column. To get the number of the experiment that you're currently are running, you have to get this information form...
by HarryBunnik
Thursday 06 December, 2018 - 15:18
Forum: Enterprise Dynamics Atoms
Topic: Assembler
Replies: 18
Views: 2970

Re: Assembler

Hello Freek, Sorry for the late response, but your post slipped through somehow and wasn't noticed earlier. First a few general remarks. If you want the code to consist out of more than one line, you have to place it within a Do( ... ). The "&" you used is a "bitwise and expression", which is loopin...
by HarryBunnik
Wednesday 05 December, 2018 - 15:17
Forum: Modeling in Enterprise Dynamics
Topic: Adding distances between nodes
Replies: 3
Views: 437

Re: Adding distances between nodes

Hello Ivo, The point is that what you're currently implementing is only going to reflect on the routing choices that the transporter is taking. So the distances in the table AddDistances are more like penalties that are implemented on a specific route. In your case also the speed that the transporte...