AnnualEventLastOccurrence

This function analyzes a slot’s value over some number of years, noting the last occurrence of a certain type of event.

Description

Return the number of event periods which occurred after the last event on a slot.

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 event periods which occurred after the last event. If no events occurred, then this is the number of event periods.

Comments

 

 
AnnualEventLastOccurrence($ "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)
 
2.00000