Type Alias IntervalDemand
type IntervalDemand = {
avoided?: Record<string, number>;
demand: Record<string, number>;
seconds: number;
start: number;
}
avoided?: Record<string, number>;
demand: Record<string, number>;
seconds: number;
start: number;
}
Properties
Optionalavoided
avoided?: Record<string, number>
the part of demand spool removed, per resource and per second; missing means none
demand
demand: Record<string, number>
the origin's need per resource, per second
seconds
seconds: number
length of the interval in seconds
start
start: number
when the interval starts, on the clock of the samples it came from
demand in one interval: what the origin did, and what spool removed of it, per resource