Skip to content

Add ACCUMULATOR object #563

@chipbarnaby

Description

@chipbarnaby

Proposal: add a scheme that allows accumulating and summarizing the value of an arbitrary expression.

ACCUMULATOR name
acIvl = interval at which value is captured (SUBHOUR, HOUR, DAY, MONTH, (YEAR? probably not needed)
acValue = expression

Probable values:

  • @accumulator[ name].<s/h/d/m/y>.whatever current interval values (*e)
  • @accumulator[ name].prior.<s/h/d/m/y>.whatever prior interval values (available during next step)

.s.value OR use same items as longer intervals with all values the same

.x.sum
.x.avg (or .mean?)
.x.max
.x.min

Where .x = .h, .d, .m, .y

Issues:

  • Name conflicts -- min, max ?
  • Calculation timing. Must happen after other results records and meters but before reports.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions