OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
27 stars 14 forks source link

[BUG]: No capacity to activity unit for storage techs #175

Open trevorb1 opened 5 months ago

trevorb1 commented 5 months ago

Conda environment check

Current Behavior

The storage technologies (PWRBAT...) do not have a capacity to activity units assigned! This messes up plotting, as we plot the actual battery technologies.

https://github.com/OSeMOSYS/osemosys_global/blob/fa0d330e55b11ad7ed12cef6e3511867be11db31/workflow/scripts/osemosys_global/TS_data.py#L654-L657

Expected Behavior

No response

Steps To Reproduce

No response

Operating System

No response

Log output

No response

Anything else?

No response

trevorb1 commented 5 months ago

Little bit of a tricky bug to fix, actually. Since capacity to activity is generated in powerplants, but storage is created in timeslice. Therefore, there would be two rules outputting the same file from the snakemake rules