-
Notifications
You must be signed in to change notification settings - Fork 152
split pm_fedem into industry and buildings #2329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1d3b607
split pm_fedem into industry and buildings
fbenke-pik 9264b72
rename parameters
fbenke-pik 70856d6
adjust scope for industry parameters
fbenke-pik 906b8a5
remove no longer needed realization conditions
fbenke-pik f2f6c59
rename p29_trpdemand to p29_fedemandTransp
fbenke-pik 5af875c
correct unit documentation
fbenke-pik 4375c2c
add comments
fbenke-pik 47ce6fc
Merge branch 'develop' of github.com:remindmodel/remind into buildings
fbenke-pik ef87cc0
Merge branch 'develop' into buildings
fbenke-pik 9a6bbaf
Merge branch 'develop' into buildings
fbenke-pik 044089d
fix typo
fbenke-pik e234a92
fix typo
fbenke-pik 545094f
Merge branch 'develop' of github.com:remindmodel/remind into buildings
fbenke-pik bb99569
Merge branch 'develop' of github.com:remindmodel/remind into buildings
fbenke-pik ec47823
update CHANGELOG
fbenke-pik 6388f33
Merge branch 'develop' of github.com:remindmodel/remind into buildings
fbenke-pik fb0e2c1
Merge branch 'develop' of github.com:remindmodel/remind into buildings
fbenke-pik 88d17a5
rename files and increment input data version
fbenke-pik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1635,41 +1635,37 @@ loop(te, | |
|
|
||
|
|
||
| *** ---- FE demand trajectories for calibration ------------------------------- | ||
| *** also used for limiting secondary steel demand in baseline and policy | ||
| *** scenarios | ||
|
|
||
| Parameter | ||
| f_fedemand(tall,all_regi,all_demScen,all_in) "final energy demand" | ||
| f_fedemandInd(tall,all_regi,all_demScen,all_in) "final energy demand in industry" | ||
| / | ||
| $ondelim | ||
| $include "./core/input/f_fedemand.cs4r" | ||
| $include "./core/input/f_fedemand_ind.cs4r" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same name for the parameter and the file would be bestter, always f_fedemandInd |
||
| $offdelim | ||
| /; | ||
|
|
||
| *** use cm_demScen for Industry and Buildings | ||
| *** cm_GDPpopScen will be used for Transport (EDGE-T) (see p29_trpdemand) | ||
| pm_fedemand(tall,all_regi,in) = f_fedemand(tall,all_regi,"%cm_demScen%",in); | ||
| *** data input for industry FE that is no part of the CES tree | ||
| pm_fedemand(tall,all_regi,ppfen_no_ces_use) = f_fedemand(tall,all_regi,"%cm_demScen%",ppfen_no_ces_use); | ||
| pm_fedemandInd(t,regi,in) = f_fedemandInd(t,regi,"%cm_demScen%",in); | ||
| *** data input for industry FE that is no part of the CES tree | ||
| *** needed for process-based steel implementation, where these items are not part of "in" | ||
| pm_fedemandInd(t,regi,ppfen_no_ces_use) = f_fedemandInd(t,regi,"%cm_demScen%",ppfen_no_ces_use); | ||
|
fbenke-pik marked this conversation as resolved.
fbenke-pik marked this conversation as resolved.
|
||
|
|
||
| *** RCP-dependent demands in buildings (climate impact) | ||
| $ifthen.cm_rcp_scen_build not "%cm_rcp_scen_build%" == "none" | ||
| Parameter f_fedemand_build(tall,all_regi,all_demScen,all_rcp_scen,all_in) "RCP-dependent final energy demand in buildings" | ||
| Parameter | ||
| f_fedemandBuild(tall,all_regi,all_demScen,all_rcp_scen,all_in) "RCP-dependent final energy demand in buildings" | ||
| / | ||
| $ondelim | ||
| $include "./core/input/f_fedemand_build.cs4r" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same names for the parameter and the files would be better |
||
| $offdelim | ||
| /; | ||
|
|
||
|
|
||
| pm_fedemand(t,regi,cal_ppf_buildings_dyn36) = f_fedemand_build(t,regi,"%cm_demScen%","%cm_rcp_scen_build%",cal_ppf_buildings_dyn36); | ||
| $endif.cm_rcp_scen_build | ||
|
|
||
| pm_fedemandBuild(t,regi,cal_ppf_buildings_dyn36) = f_fedemandBuild(t,regi,"%cm_demScen%","%cm_rcp_scen_build%",cal_ppf_buildings_dyn36); | ||
|
|
||
| *** Scale FE demand across industry and building sectors | ||
| $ifthen.scaleDemand not "%cm_scaleDemand%" == "off" | ||
| loop((tall,tall2,all_regi) $ pm_scaleDemand(tall,tall2,all_regi), | ||
| *FL* rescaled demand = normal demand * [ scaling factor + (1-scaling factor) * remaining phase-in, between zero and one ] | ||
| pm_fedemand(t,all_regi,all_in) = pm_fedemand(t,all_regi,all_in) * ( pm_scaleDemand(tall,tall2,all_regi) + (1-pm_scaleDemand(tall,tall2,all_regi)) * min(1, max(0, tall2.val-t.val) / (tall2.val-tall.val)) ); | ||
| pm_fedemandInd(t,all_regi,all_in) = pm_fedemandInd(t,all_regi,all_in) * ( pm_scaleDemand(tall,tall2,all_regi) + (1-pm_scaleDemand(tall,tall2,all_regi)) * min(1, max(0, tall2.val-t.val) / (tall2.val-tall.val)) ); | ||
| pm_fedemandBuild(t,all_regi,all_in) = pm_fedemandBuild(t,all_regi,all_in) * ( pm_scaleDemand(tall,tall2,all_regi) + (1-pm_scaleDemand(tall,tall2,all_regi)) * min(1, max(0, tall2.val-t.val) / (tall2.val-tall.val)) ); | ||
| ); | ||
| $endif.scaleDemand | ||
|
|
||
|
|
@@ -1695,7 +1691,7 @@ pm_scaleDemandBuildTable(t,regi) $ ( pm_scaleDemandBuildTable(t,regi) le 0) = 1; | |
| pm_scaleDemandBuildTable(t,regi) $ (t.val > 2100 ) = pm_scaleDemandBuildTable("2100",regi); !! continue 2100 multiplier until end of time | ||
|
|
||
| loop( (t,regi,in) $ in_buildings_dyn36(in) , | ||
| pm_fedemand(t,regi,in) = pm_fedemand(t,regi,in) * pm_scaleDemandBuildTable(t,regi) | ||
| pm_fedemandBuild(t,regi,in) = pm_fedemandBuild(t,regi,in) * pm_scaleDemandBuildTable(t,regi) | ||
| ); | ||
| $endif.scaleDemandBuildTable | ||
|
|
||
|
|
@@ -1720,7 +1716,7 @@ p_scaleDemandIndTable(t,regi) $ ( p_scaleDemandIndTable(t,regi) le 0) = 1; !! I | |
| p_scaleDemandIndTable(t,regi) $ (t.val > 2100 ) = p_scaleDemandIndTable("2100",regi); !! continue 2100 multiplier until end of time | ||
|
|
||
| loop( (t,regi,in) $ in_industry_dyn37(in) , | ||
| pm_fedemand(t,regi,in) = pm_fedemand(t,regi,in) * p_scaleDemandIndTable(t,regi) | ||
| pm_fedemandInd(t,regi,in) = pm_fedemandInd(t,regi,in) * p_scaleDemandIndTable(t,regi) | ||
| ); | ||
| $endif.scaleDemandIndTable | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we use an input data rev. number which has no extention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, once this is approved, I will make a new input data version without the dev extension