Skip to main content

Element-wise division of numerator / denominator.

Numerator and denominator are required to have the same resolution.

The output dataset will have a unit that follows the following algebra:

Unit algebra:

  • kW / kW = %
  • kWh / hours = kW
  • kWh / kW = hours
  • any / % = same as numerator
denominator
Level · object
required

Some floating point value and an associated Unit

Example:
{ "unit": "SEK_per_kW", "value": 50 }
numerator
Dataset · object
required

Dataset that should be divided by the denominator

Example:
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}
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"
}
function
string
default:divide
Allowed value: "divide"