Skip to content

Commit e74700c

Browse files
authored
Merge pull request #384 from EnergySystemsModellingLab/demand_path
Enable consumption data in `demand_path` format
2 parents 0d54942 + a7367bb commit e74700c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/muse/sectors/preset_sector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def factory(cls, name: str, settings: Any) -> PresetSector:
121121
for component in {"supply", "consumption"}:
122122
if "timeslice" not in presets[component].dims:
123123
presets[component] = convert_timeslice(
124-
presets[component], presets.timeslice, QuantityType.EXTENSIVE
124+
presets[component], timeslice, QuantityType.EXTENSIVE
125125
)
126126

127127
comm_usage = (presets.costs > 0).any(set(presets.costs.dims) - {"commodity"})

0 commit comments

Comments
 (0)