WaterMonthToCalendarMonth

Syntax

WaterMonthToCalendarMonth
WaterMonthToCalendarMonth(WaterMonth)

Description

Convert water month to calendar month (will be the same if water year starts in January).  If called with no parameter, will use the water month in which the expression is evaluated.

Examples

WaterMonthToCalendarMonth(1) = 1 if water year starts in January
WaterMonthToCalendarMonth(1) = 10 if water year starts in October

Evaluated in water year = 2020 and water month = 1: WaterMonthToCalendarMonth = 1 if water year starts in January
Evaluated in water year = 2020 and water month = 1: WaterMonthToCalendarMonth = 10 if water year starts in October

If((WaterMonthToCalendarMonth <= RealWorldMonth) And (WaterYearToCalendarYear <= RealWorldYear)), ReadFromFile(ReservoirHistoricalData.csv), Central Reservoir:Storage Volume)             ; Read data from historical data csv file for all months up to and including current real world month, but use simulated data afterwards.