简体   繁体   中英

Predictive Maintenance anylogic

I would like to simulate predictive maintenance on a machine in a production process, to do this I have set a parameter that the total uptime is 96% while for the number of failures I have used an integer variable. To calculate the MTBF I again used a variable of type double and as the initial value I entered: total uptime/ number of failures. however, it fails to perform the division but always leaves the mtbf equal to 96 enter image description here enter image description here

Variables are never re-calculated automatically. If your NoBreakdowns changes during the model run, it will not be reflected in MBTF . Note that it says "initial value" where you do the division.

If you want it updated regularly, you need to do it actively via a function or event using MTBF = newValue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM