Skip to content

Commit

Permalink
Merge pull request remindmodel#1843 from lecfab/offshoreNearterm
Browse files Browse the repository at this point in the history
Fix merge bug of windoff PR
  • Loading branch information
lecfab authored Sep 26, 2024
2 parents 4887017 + 8bcc39a commit 828e456
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions core/datainput.gms
Original file line number Diff line number Diff line change
Expand Up @@ -154,23 +154,6 @@ $include "./core/input/generisdata_tech_SSP5.prn"
$include "./core/input/generisdata_trade.prn"
;


***---------------------------------------------------------------------------
*** Reading in and initializing regional cost data
***---------------------------------------------------------------------------
parameter p_inco0(ttot,all_regi,all_te) "regionalized technology costs Unit: USD$/KW"
/
$ondelim
$include "./core/input/p_inco0.cs4r"
$offdelim
/
;

*** windoffshore-todo
*** allow input data with either "wind" or "windon" until mrremind is updated
p_inco0(ttot,all_regi,"windon") $ (p_inco0(ttot,all_regi,"windon") eq 0) = p_inco0(ttot,all_regi,"wind");
p_inco0(ttot,all_regi,"wind") = 0;

*** initializing energy service capital
pm_esCapCost(tall,all_regi,all_teEs) = 0;

Expand Down Expand Up @@ -244,6 +227,12 @@ $offdelim
/
;

*** windoffshore-todo
*** allow input data with either "wind" or "windon" until mrremind is updated
p_inco0(ttot,all_regi,"windon") $ (p_inco0(ttot,all_regi,"windon") eq 0) = p_inco0(ttot,all_regi,"wind");
p_inco0(ttot,all_regi,"wind") = 0;


$if not "%cm_inco0RegiFactor%" == "off" parameter p_new_inco0RegiFactor(all_te) / %cm_inco0RegiFactor% /;
$if not "%cm_inco0RegiFactor%" == "off" p_inco0(ttot,regi,te)$(p_inco0(ttot,regi,te) and p_new_inco0RegiFactor(te)) = p_new_inco0RegiFactor(te) * p_inco0(ttot,regi,te);

Expand Down

0 comments on commit 828e456

Please sign in to comment.