Calculate the mean of all values in a time series. This can be done in 1 of 2 ways: 1. push all the values into a vector then calculate the mean ("Vector_Mean"), 2. Accumulate the values then divide it by the simulation time ("Integrated Mean").

The first method allows you to obtain the answer at the beginning of the simulation as long as it is a time series that isn't recording model outputs.

The second method will provide the correct answer at the end of the simulation. It should be noted that this method will only calculate the average of values outputted during the simulation time.

## Download the Model File:

## Comments

0 comments

Please sign in to leave a comment.