{
"condition": {
"from_time": "22:00:00",
"to_time": "06:00:00",
"type": "time_of_day"
},
"input": {
"id": "power",
"resolution": "hourly",
"unit": "kW"
},
"output": {
"id": "weighted-power",
"resolution": "hourly",
"unit": "kW"
},
"replacement": {
"id": "scaled-power",
"resolution": "hourly",
"unit": "kW"
},
"type": "mask"
}Functions
Function: Mask
Conditional substitution: where condition matches, use replacement; otherwise keep input.
Works with temporal conditions only (month, day_of_week, time_of_day, exclude_holidays, and, or, not).
Condition that only applies in the specified months.
- MonthCondition
- DayOfWeekCondition
- TimeOfDayCondition
- ExcludeHolidaysCondition
- AndCondition
- OrCondition
- NotCondition
Show child attributes
Show child attributes
Example:
{ "months": [1, 2, 3, 11, 12], "type": "month" }
Output Dataset produced by this function, a local name used by subsequent functions to reference this result
Show child attributes
Show child attributes
Example:
{ "id": "quarter-hourly-energy-offtake", "resolution": "quarter_hourly", "unit": "kWh" }
Allowed value:
"mask"Was this page helpful?