Skip to main content

Emit a constant value at a given resolution.

output
Dataset · object
required

Output Dataset produced by this function, a local name used by subsequent functions to reference this result

Example:
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}
resolution
enum<string>
required

Cadence at which the constant is emitted.

Available options:
quarter_hourly,
hourly,
daily,
weekly,
monthly,
yearly
value
Level · object
required

The constant Level to emit.

Example:
{ "unit": "SEK_per_kW", "value": 50 }
function
string
default:constant
Allowed value: "constant"