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/
234 stars 193 forks source link

Improve code quality #828

Open davide-f opened 1 year ago

davide-f commented 1 year ago

Describe the feature you'd like to see

After revising https://github.com/pypsa-meets-earth/pypsa-earth/pull/823 it turns out that some functions may be improved to drop input paramters and clean the coding. However, this is a tricky improvement and may lead to unwanted effects, so it is something to keep in mind, but not urgent

For examples, network scripts, e.g. simplify/cluster networks and those related to augmentation may be polished

ekatef commented 5 days ago

May be connected with #1197 and #1203