This function analyzes a slot’s value over some number of years, counting the occurrence of certain "events".
Description
Return the number of events which occurred on a slot in a given period.
Type
NUMERIC
Arguments
Type
Meaning
1
SLOT
a slot
2
DATETIME
analysis period start date
3
DATETIME
analysis period end date
4
DATETIME
event period start date
5
DATETIME
event period end date
6
NUMERIC
value threshold
7
BOOLEAN
value threshold is upper bound
8
NUMERIC
event threshold
9
BOOLEAN
event threshold is upper bound
Evaluation
See the on-line documentation for AnnualEventStats, which performs identical computation, but returns more information. This function returns only the number of events which occurred in the analysis period.
Comments
AnnualEventCount($ "Lottawatta Reservoir.Outflow", @"24:00:00 February 28, 1994", @"24:00:00 January 31, 2005", @"24:00:00 May 31", @"24:00:00 August 31", 100.0, TRUE, 2.0, TRUE)