Adjust number of rows and columns of warehouse by using GUI

All topics on the Atoms in any Enterprise Dynamics Library.
Post Reply
ute
Posts: 2
Joined: Thursday 17 January, 2013 - 14:33

Adjust number of rows and columns of warehouse by using GUI

Post by ute »

Dear ED Team,

I would like to know if it is possible, to adjust the number of rows and columns of a warehouse automatically by setting up a GUI bottom. The idea is, that the dimension of the warehouse are adjusted based on the needed storage space (as required for different experiments that I have to run). Or do I always have to change it manually before?

Thanks for help!
marlies
Posts: 301
Joined: Monday 17 January, 2011 - 09:28

Re: Adjust number of rows and columns of warehouse by using

Post by marlies »

Hello,

The Warehouse atom has 2 attributes that define the size of the rack. These are the attributes [rows] and [columns]. Instead of adjusting the numbers manually, you could also write your own code to update these attributes using the command Att(e1, e2).

Make sure that you do this before the model reset is executed as the warehouse atom will update it's internal table on reset.

If you update the attributes after reset you will have to update the warehouse atom's table as well using the command SetTable(e1, e2 , e3)

Regards, Marlies
Post Reply