cpmodel / FTT_StandAlone

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

Add protection against overwriting FTT-Power gamma values #112

Closed cormacmlynch closed 2 months ago

cormacmlynch commented 6 months ago

When extracting CSVs from the masterfiles, we have code that warns the user if gamma values (XGAM) already exist for the transport, heat, and freight models. This protection is to prevent gamma values from the cost matrix from overwriting gamma values in the CSV files which could have been changed using the frontend calibration tool.

This does not trigger for FTT-Power since the MGAM variable already exists in the masterfile and it does not need to be converted from the cost matrix like in the other FTTs.

We should adapt this code so that this warning appears for FTT-Power as well, asking the user whether the MGAM CSVs should be overwritten from the masterfile.