Page 1 of 1

Adjust number of rows and columns of warehouse by using GUI

Posted: Friday 18 January, 2013 - 02:04
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!

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

Posted: Monday 21 January, 2013 - 16:25
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