Calculating Moving Averages with an Integrator Element


This model uses the Moving Average feature of an Integrator to calculate the moving average of a stochastic flow rate input. Up to 3 different moving average outputs can be defined in the Integrator. In this example, 2 are defined: 10-day and 50-day moving averages.   

In this example the system has a maximum flow capacity, defined by element Capacity. Every day a random fraction of the capacity is sampled by Stochastic element Flow. The average flow through the system over over two different averaging periods is then computed.


Making Better Decisions In An Uncertain World