フィルターのクリア

How to disable livelock prevention on SimEvents?

3 ビュー (過去 30 日間)
Daniel Castro
Daniel Castro 2017 年 10 月 3 日
回答済み: Kevin Chien 2017 年 10 月 5 日
I'm trying to run a simulation with large numbers of entities on SimEvents (MATLAB R2017a), but I get the following error:
While this page implies that this is a fixed limit, this obsolete documentation page shows that the "maximum events per block" parameter was once configurable.
It seems odd that they would simply lock this parameter at 5000, effectively limiting SimEvents use for larger scale simulations, so I would like to know if there's any way to override these settings.
Thanks!

回答 (1 件)

Kevin Chien
Kevin Chien 2017 年 10 月 5 日
There are some workarounds:
(1) registering events on one block(say, Entity Generator) with time offsets: for example, event type 1 occurs at time 0, event type 2 occurs at time 0.001, etc.
(2) registering events on more than one block: for example, creating two distinct Entity Generators and each one registers half of events.

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by