Skip to content

Commit

Permalink
Merge pull request #754 from flohump/f_grass
Browse files Browse the repository at this point in the history
bugfix removal grassland realisation
  • Loading branch information
flohump authored Nov 25, 2024
2 parents 4dd6b3f + e993340 commit 8e21df5
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### removed
- **31_past** removed `grasslands_apr22` realization
- **13_tau** removed interface `fm_pastr_tau_hist`

### fixed
- **11_costs** changed equation to fix bug in total water cost calculation
Expand Down
2 changes: 1 addition & 1 deletion modules/13_tc/endo_jan22/input.gms
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $include "./modules/13_tc/input/f13_tau_historical.csv"
$offdelim
;

table fm_pastr_tau_hist(t_all,h) Historical managed pasture tau (1)
table f13_pastr_tau_hist(t_all,h) Historical managed pasture tau (1)
$ondelim
$include "./modules/13_tc/input/f13_pastr_tau_hist.csv"
$offdelim
Expand Down
2 changes: 1 addition & 1 deletion modules/13_tc/endo_jan22/preloop.gms
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ loop(t,
);

pcm_tau(h,"crop") = fm_tau1995(h);
pcm_tau(h,"pastr") = fm_pastr_tau_hist("y1995",h);
pcm_tau(h,"pastr") = f13_pastr_tau_hist("y1995",h);
pc13_tcguess(h,tautype) = f13_tcguess(h);
2 changes: 1 addition & 1 deletion modules/13_tc/endo_jan22/presolve.gms
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pc13_land(i,"pastr") = sum(cell(i,j),pcm_land(j,"past"));
pc13_land(i,"crop") = sum(cell(i,j),pcm_land(j,"crop"));

if (sum(sameas(t_past,t),1) = 1 AND s13_ignore_tau_historical = 0,
vm_tau.lo(h,"pastr") = fm_pastr_tau_hist(t,h);
vm_tau.lo(h,"pastr") = f13_pastr_tau_hist(t,h);
vm_tau.lo(h,"crop") = f13_tau_historical(t,h);
else
vm_tau.lo(h, tautype) = pcm_tau(h, tautype);
Expand Down
2 changes: 1 addition & 1 deletion modules/13_tc/exo/input.gms
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $include "./modules/13_tc/input/f13_tau_scenario.csv"
$offdelim
;

table fm_pastr_tau_hist(t_all,h) Historical managed pasture tau (1)
table f13_pastr_tau_hist(t_all,h) Historical managed pasture tau (1)
$ondelim
$include "./modules/13_tc/input/f13_pastr_tau_hist.csv"
$offdelim
Expand Down
2 changes: 1 addition & 1 deletion modules/13_tc/exo/preloop.gms
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ loop(t,
);

pcm_tau(h,"crop") = fm_tau1995(h);
pcm_tau(h,"pastr") = fm_pastr_tau_hist("y1995",h);
pcm_tau(h,"pastr") = f13_pastr_tau_hist("y1995",h);
4 changes: 0 additions & 4 deletions modules/31_past/endo_jun13/not_used.txt

This file was deleted.

3 changes: 0 additions & 3 deletions modules/31_past/static/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ name,type,reason
vm_prod, input, not needed
vm_yld, input, not needed
pm_land_conservation,input,questionnaire
vm_tau,input,questionnaire
fm_pastr_tau_hist,input,questionnaire
sm_fix_cc, input, not needed

0 comments on commit 8e21df5

Please sign in to comment.