pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
225 stars 176 forks source link

Support input demand data with csv format #987

Closed davide-f closed 3 months ago

davide-f commented 6 months ago

Describe the feature you'd like to see

It would be nice to include automatic procedures to support csv dataformats as raw inputs for demand, beyond the default .nc files that we currently support. A simple parser in build_demand may be done to support the two data formats. We also have .csv files in the data folders that contain the same data as in .nc ones, we could investigate to potentially support both.

ekatef commented 6 months ago

A PR implementing this feature #995 is under testing now and seems to work well as far :)