warehouse simulation-modeling 55 codes

All topics specific to modeling questions in Enterprise Dynamics
vassilis94s
Posts: 19
Joined: Monday 05 December, 2016 - 15:16

Re: warehouse simulation-modeling 55 codes

Post by vassilis94s »

why if i add two more products it leads to an error?
Attachments
Community_Production (1).mod
(63.4 KiB) Downloaded 233 times
User avatar
HarryBunnik
Posts: 362
Joined: Monday 07 February, 2011 - 11:22

Re: warehouse simulation-modeling 55 codes

Post by HarryBunnik »

Sorry, my fault. The OnReset on the initialize must be unchecked.

An explanation for this behavior is:

When this is on, the initialize code is executed on reset and then all objects that are positioned in front of the Initialize atom (model tree order) is behaving correctly and for all the other atoms positioned later in the model tree, the CloseOutput is overruled. This because the OnReset is executed in the order that atoms are sorted in the model.

When unchecking the OnReset, the initialize code is executed directly after pressing the Run simulation button and then nothing can be overruled any longer.
vassilis94s
Posts: 19
Joined: Monday 05 December, 2016 - 15:16

Re: warehouse simulation-modeling 55 codes

Post by vassilis94s »

ooooo that's works great thank you so much..:)
vassilis94s
Posts: 19
Joined: Monday 05 December, 2016 - 15:16

Re: warehouse simulation-modeling 55 codes

Post by vassilis94s »

when i fill it with more products i have noticed that the table changes ellements?..why this is happenning?..i put my 55 codes and all the infos in the cells..and priority and source Nr..and when i run the siulation the row changes and each source produces different from the initially plan..:/
User avatar
HarryBunnik
Posts: 362
Joined: Monday 07 February, 2011 - 11:22

Re: warehouse simulation-modeling 55 codes

Post by HarryBunnik »

I need to loop over the table, to know which next source must be opened. The easiest way to do so is when the is sorted already in the correct order. And it's sorter therefore on the priority column.

Also the Nr. of produced products is set back to 0 on Reset.

Cheers,

Harry
Post Reply