Open-ISP / ISPyPSA

An open-source capacity expansion model based on the methodology and datasets used by the Australian Energy Market Operator (AEMO) in their Integrated System Plan (ISP)
GNU General Public License v3.0
2 stars 0 forks source link

Mapping to sub_regions when regional granularity is specified #7

Open nick-gorman opened 4 hours ago

nick-gorman commented 4 hours ago

At the moment with the regional template, we map to just a single subregion, which makes sense. However, when building the demand traces, I think we'd need to sum across all of the subregional nodes in a region to get the total for the region, which begs the question if the node input file doesn't have this mapping where does the translator get it from? Maybe the templater needs to also spit out a separate mapping file that is always created specifying the full mapping between region, subregion, and rez?

prakaa commented 2 hours ago

That makes sense.

Agreed with your approach for a subregional node mapping. I reckon this looks like calling _template_sub_regional_nodes regardless of the specified granularity, and then dropping columns from it

The REZ mapping file is a separate table. That should be templated too though.

Should I implement or will you?