I keep receiving an error labeled Exception during discrete event execution root.storeRawMaterial: No available cells in [storage]. I noticed with the default storage bays at 13 the racks aren't full when the error message comes up, and the racks are empty when the error message comes up if you try very low values (e.g. 5) for storage bays. However, if you try high values for storage bays (e.g. 150 or 200), then the racks visually look full when the "no available cells in [storage]" error comes up. It looks like the shelves aren't properly modeling the physically available space. Is there a way to resolve this?
I added another CNC machine that processes the storage quicker which eliminated the error but using the base model I was unable to get rid of it.
I keep receiving an error labeled Exception during discrete event execution root.storeRawMaterial: No available cells in [storage]. I noticed with the default storage bays at 13 the racks aren't full when the error message comes up, and the racks are empty when the error message comes up if you try very low values (e.g. 5) for storage bays. However, if you try high values for storage bays (e.g. 150 or 200), then the racks visually look full when the "no available cells in [storage]" error comes up. It looks like the shelves aren't properly modeling the physically available space. Is there a way to resolve this?
I added another CNC machine that processes the storage quicker which eliminated the error but using the base model I was unable to get rid of it.
If it has no available cells, some seemingly empty cells may be reserved already.
Use the API calls to fully understand your situation:
.capacity()
-> number of slots (function of your setup of the storage block).nStored()
-> how many stored right now.nFreeCells()
Build yourself a simple test model to fully grasp what is happening. Also, study the help article, there is a lot of stuff happening in the Storage block :)