admin管理员组文章数量:1026989
I noticed a red "overfill" warning displayed on one of my delay blocks. What does this warning indicate, and how can I address it?
For context: The capacity of the delay block is determined dynamically based on a function result. The function is triggered by a cyclic event occurring each day.
What I tried: I set the initial capacity of the block to a large number (1000), because I thought maybe the problem is that the result of the function is larger than the initial capacity, but it did not solve the problem. Is there a time mismatch between the update of the capacity and the delay block processing agents - is that the reason?
I noticed a red "overfill" warning displayed on one of my delay blocks. What does this warning indicate, and how can I address it?
For context: The capacity of the delay block is determined dynamically based on a function result. The function is triggered by a cyclic event occurring each day.
What I tried: I set the initial capacity of the block to a large number (1000), because I thought maybe the problem is that the result of the function is larger than the initial capacity, but it did not solve the problem. Is there a time mismatch between the update of the capacity and the delay block processing agents - is that the reason?
Share Improve this question asked Nov 16, 2024 at 14:11 Charlotte FränkelCharlotte Fränkel 351 silver badge4 bronze badges 3- what is shown when you left-click the delay block at runtime? (the yellow popup)? – Benjamin Commented Nov 16, 2024 at 18:36
- Sometimes the "capacity" is smaller then "contains" Is that due to a time mismatch in setting the capacity and the time it takes to process? capacity is set once per day with an event and delay time is also 1 day – Charlotte Fränkel Commented Nov 17, 2024 at 9:21
- yes, as per Stuart's reply below – Benjamin Commented Nov 17, 2024 at 10:15
1 Answer
Reset to default 4It's almost certainly because you are dynamically changing the capacity to less than the current number of agents being processed (so the Delay block is 'overfull'). You have to decide whether this is 'allowed' (according to how the real-world system works) and what you want to happen to currently-being-processed agents. (The block will just finish processing the 'extra' agents as normal.)
Setting the initial capacity to 1000 doesn't help diagnose it because it's to do with the current number of agents being processed (not the block's capacity).
I noticed a red "overfill" warning displayed on one of my delay blocks. What does this warning indicate, and how can I address it?
For context: The capacity of the delay block is determined dynamically based on a function result. The function is triggered by a cyclic event occurring each day.
What I tried: I set the initial capacity of the block to a large number (1000), because I thought maybe the problem is that the result of the function is larger than the initial capacity, but it did not solve the problem. Is there a time mismatch between the update of the capacity and the delay block processing agents - is that the reason?
I noticed a red "overfill" warning displayed on one of my delay blocks. What does this warning indicate, and how can I address it?
For context: The capacity of the delay block is determined dynamically based on a function result. The function is triggered by a cyclic event occurring each day.
What I tried: I set the initial capacity of the block to a large number (1000), because I thought maybe the problem is that the result of the function is larger than the initial capacity, but it did not solve the problem. Is there a time mismatch between the update of the capacity and the delay block processing agents - is that the reason?
Share Improve this question asked Nov 16, 2024 at 14:11 Charlotte FränkelCharlotte Fränkel 351 silver badge4 bronze badges 3- what is shown when you left-click the delay block at runtime? (the yellow popup)? – Benjamin Commented Nov 16, 2024 at 18:36
- Sometimes the "capacity" is smaller then "contains" Is that due to a time mismatch in setting the capacity and the time it takes to process? capacity is set once per day with an event and delay time is also 1 day – Charlotte Fränkel Commented Nov 17, 2024 at 9:21
- yes, as per Stuart's reply below – Benjamin Commented Nov 17, 2024 at 10:15
1 Answer
Reset to default 4It's almost certainly because you are dynamically changing the capacity to less than the current number of agents being processed (so the Delay block is 'overfull'). You have to decide whether this is 'allowed' (according to how the real-world system works) and what you want to happen to currently-being-processed agents. (The block will just finish processing the 'extra' agents as normal.)
Setting the initial capacity to 1000 doesn't help diagnose it because it's to do with the current number of agents being processed (not the block's capacity).
本文标签: What does the red quotoverfillquot warning of a delay block in anylogic meanStack Overflow
版权声明:本文标题:What does the red "overfill" warning of a delay block in anylogic mean? - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745657608a2161691.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论