I need to simulate a ruge initial storage at time 0.01 with over 20k pallets that must follow some conditions, first this conditions was checked by query using findSlot(), but this way the model freeze and take more then 10 minutes to run.
Now i'm using lists to define the adress and check the conditions, but i'm having trouble with the Storage.system.getSlot(), a thing that must be a bug cause i'm passing the adress get by .querySlots() and the getSlot() is returning null (no path).
//QuerySlots get all slots Here Array arr_slots = Storage.system.querySlots(""); //Loop for all slots for (int n=1;n<=arr_slots.length;n++){ //Define the slot Storage.Slot ssl_thisslot = arr_slots[n]; //Supose to use this variable, but not even direct works string str_address = ssl_thisslot.address; //This Line is not working Storage.Slot ssl_Slot = Storage.system.getSlot(ssl_thisslot.address);
I'm attaching the model down below, this model was made on 21.2.3, but i've already tryied on 22.0 too.
Thanks.