cpmodel / FTT_StandAlone

Future Technology Transformation models
GNU General Public License v3.0
9 stars 1 forks source link

Unable to sum across dimensions in the front end #100

Closed cormacmlynch closed 2 months ago

cormacmlynch commented 3 months ago

For some variables, I am unable to find the sum across all regions or technologies in the front end. The 'Agg?' tickbox remains greyed out and unclickable.

image

Oddly enough, this works fine for some other variables.

jp-camecon commented 3 months ago

The current version of the frontend determines if a variable is aggregatable based on the unit of the variable. If the unit is either % or has / in the unit, it is assumed the variable is a rate that cannot be aggregated. Some variables in FTT currently have odd units like FTT-Heat Capacity Additions is GW/y rather than just GW.

A better option for this which I have used in other frontends is to have a column to flag if a variable should be aggregatable so it does not have to be inferred by the unit