Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是anylogic的新手,我想为模拟编写一个停止条件,然后保存最终值:我有一些库存和流量,我希望当我的一个库存值达到特定值时,模拟停止然后保存所有值;
谢谢 :)
if (myStock > myMaxValue) { getEngine().stop(); // you can also use .finish(), see help to decide which is better for you }
干杯