Yearly Minimum and Maximum
Using an Extrema to Compute Year-to-Date and Annual Values
This model shows how an Extrema element can be used to track the year-to-date mimimum or maximum value of a variable in each year of a simulation. It utilizes the Extrema's ability to reset itself at any time (in this case, every year). More complex logic using other triggers could reset the Extrema at other times.
In addition to showing year-to-date values, by defining Annual Reporting Periods, the minimum and maximum value for each year can also be computed.
Extrema, annual, reporting, periods
GoldSim Features & Capabilities, Basic Function Elements, Running a Model & Viewing Results, Useful Code Snippets
GoldSim Technology Group