Skip to content

Commit

Permalink
Merge pull request #31 from rschuchmann/process-commodity-description
Browse files Browse the repository at this point in the history
Add process/commodity descriptions to app
  • Loading branch information
FFiand authored Apr 12, 2022
2 parents 20f8625 + 6a7d405 commit 28a9467
Show file tree
Hide file tree
Showing 24 changed files with 138 additions and 198 deletions.
35 changes: 30 additions & 5 deletions conf_times_miro/times_miro.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"aggregateWidgets": true,
"defaultScenName": "default",
"overwriteSheetOrder": {
"input": ["_widgets", "scenddmap", "cubeinput", "timeslice", "milestonyr", "extensions", "solveropt"]
"input": ["_widgets", "scenddmap", "cubeinput", "timeslice", "milestonyr", "extensions", "solveropt", "dd_prc_desc", "dd_com_desc"]
},
"overwriteAliases": {
"timeslice": {
Expand Down Expand Up @@ -65,6 +65,15 @@
},
"gmsobj": {
"newAlias": "Choice of objective function formulations"
},
"gmsrunmode": {
"newAlias": "whether to create a MIRO scenario or solve TIMES"
},
"dd_prc_desc": {
"newAlias": "Process Description"
},
"dd_com_desc": {
"newAlias": "Commodity Description"
}
},
"dataRendering": {
Expand Down Expand Up @@ -94,7 +103,8 @@
}
},
"cubeinput": {
"outType": "mirorenderer_cubeinput"
"outType": "mirorenderer_cubeinput",
"additionalData": ["dd_prc_desc", "dd_com_desc"]
}
},
"saveTraceFile": false,
Expand Down Expand Up @@ -235,6 +245,12 @@
},
"cubeoutput": {
"newHeaders": ["Attribute", "Sow", "Commodity", "Process", "Period", "Region", "Vintage", "Time Slice", "User Constraint", "value"]
},
"dd_prc_desc": {
"newHeaders": ["DD file", "Region", "Process", "Description"]
},
"dd_com_desc": {
"newHeaders": ["DD file", "Region", "Commodity", "Description"]
}
},
"extraClArgs": ["--gmsrunopt=local", "--DDPREFIX=dd_files/"],
Expand All @@ -246,10 +262,19 @@
"defaultRendererOutput": "miroPivot",
"pivotCompSettings": {
"enableHideEmptyCols": true,
"emptyUEL": "-"
"emptyUEL": "-",
"hidePivotControls": false,
"fixedColumns": true
},
"inputGroups": [
{
"name": "Symbol descriptions",
"members": ["dd_prc_desc", "dd_com_desc"],
"sameTab": false
}
],
"handsontable": {
"stretchH": "none",
"stretchH": "last",
"readonly": false,
"manualColumnResize": true,
"contextMenu": {
Expand All @@ -258,6 +283,6 @@
"allowColEdit": true
},
"height": 700,
"colWidths": 100
"colWidths": 150
}
}
44 changes: 44 additions & 0 deletions conf_times_miro/times_miro_io.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,50 @@
"alias": "cubeinput"
}
}
},
"dd_prc_desc": {
"alias": "dd_prc_desc",
"symtype": "set",
"headers": {
"uni": {
"type": "string",
"alias": "Universal set"
},
"uni#1": {
"type": "string",
"alias": "Universal set"
},
"uni#2": {
"type": "string",
"alias": "Universal set"
},
"text": {
"type": "string",
"alias": "Set text "
}
}
},
"dd_com_desc": {
"alias": "dd_com_desc",
"symtype": "set",
"headers": {
"uni": {
"type": "string",
"alias": "Universal set"
},
"uni#1": {
"type": "string",
"alias": "Universal set"
},
"uni#2": {
"type": "string",
"alias": "Universal set"
},
"text": {
"type": "string",
"alias": "Set text "
}
}
}
},
"outputSymbols": {
Expand Down
Binary file modified data_times_miro/default.gdx
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Alternativet.miroscen
Binary file not shown.
Binary file removed data_times_miro/times_miro_DK_CB20.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_DCCC.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_EA_2018.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Fossilfri_2040.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Fossilfri_2050.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Frozen_policy_scenarie.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_International_bunkering.miroscen
Binary file not shown.
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Radikale_Venstre.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Regeringen.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_DK_Socialdemokratiet.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_Starter_B_VTS-UC90.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_Starter_P-CO2L20.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_Starter_P-CO2L30.miroscen
Binary file not shown.
Binary file modified data_times_miro/times_miro_Starter_P-LIMELC.miroscen
Binary file not shown.
Loading

0 comments on commit 28a9467

Please sign in to comment.