NREL / Marmot

Marmot is a data formatting and visualization tool for production cost and capacity expansion modelling results. It provides an efficient way to combine and view disaggregated results, while also creating publication ready figures and data tables.
Other
8 stars 4 forks source link

Allow for automatic aggregation of all regions without a Region_Mapping.csv #31

Open MartySchwarz opened 2 years ago

MartySchwarz commented 2 years ago

"AGG_BY = region" and "ABB_BY = zone" are already implemented, implement "AGG_BY = Summary" as well.

Anywhere there is a df = df.xs("region_name",level = "region"), change to df = df.sum().

OR alternatively add a warning that gives instructions for creating a Region_Mapping.csv, with two columns: region = a list of all regions in the model Summary = a column with all entries "Summary"