How do I fix "Exception during discrete event execution root.storeRawMaterial: No available cells in [storage]&quot

admin2025-04-19  0

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.

Share Improve this question edited Mar 5 at 23:23 desertnaut 60.5k32 gold badges155 silver badges182 bronze badges asked Mar 5 at 23:21 Sydney AsercionSydney Asercion 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

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 :)

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745002799a279333.html

最新回复(0)