Compilation error in S_COM_FR
#1
Dear all,

I'm looking at the impact of various (dump, transition-to-smart, smart charging,....) EV charging mechanisms using the S_COM_FR attribute in stochastic SPINES mode. COM_FR works well as expected in deterministic mode but i'm getting compilation error when i try to run the model in SPINES mode. I have non-zero multiplier in all timeslices (S_COM_FR), 10 scenarios (for testing) and 576 timeslices (24 consecutive dayNite representative hours in every month). I can see that the S_COM_FR attribute is properly defined using 'TIMES view' basic functions. The LST file is attached here. FYI: I've tested most of the stochastic attributes in other tasks and all works well except S_COM_FR. I would appreciate if someone could be of help?

Regards,
Dejene

Please kindly look at this excerpt from the LST file:

408  OPTION RESLIM=50000, PROFILE=1, SOLVEOPT=REPLACE;
 409  OPTION ITERLIM=999999, LIMROW=0, LIMCOL=0, SOLPRINT=OFF;
 410   
 411  option LP=cplex;
 412   
 413  *--If you want to use an optimizer other than cplex/xpress, enter it here:
 414  *OPTION LP=MyOptimizer;
 415   
GAMS 28.2.0  r750fa45 Released Aug 19, 2019 WEX-WEI x86 64bit/MS Windows                                                                                                                                                               02/11/20 15:36:50 Page 8
TIMES -- VERSION 4.3.6 -- Restart (v4.3)
C o m p i l a t i o n


**** Macro expansion error in line 139241 below in position 220-229
       ...RTCS_FR(RTC,S,TS)))) - ...
      1 RTCS_FR[0] : SetParam-in1: RTC
      2 RTCS_FR[0] : SetParam-out1: RTC
      3 RTCS_FR[0] : SetParam-in2: S
      4 RTCS_FR[0] : SetParam-out2: S
      5 RTCS_FR[0] : SetParam-in3: TS
      6 RTCS_FR[0] : SetParam-out3: TS
      7 Macro Activation error for Macro RTCS_FR: Comma missing in parameter list
139241        SUM((TOP(RPC_STG(R,P,C),'OUT'),RTCS_VARC(RTC(R,T,C),TS))$RS_FR(R,S,TS),(STG_SIFT(RTP,C,TS)$(PRC_TS(R,P,S)+ANNUAL(S)$ACTCG(COM))+STG_SIFT(RTP,'ACT',S))*VAS_COMPRD(RTC,TS,SOW)/COM_IE(RTC,TS)*RS_FR(R,S,TS)*(1+RTCS_FR(RTC,S,TS)))) -
****                                                                                                                                                                                                                               $726     $727,730
Reply


Messages In This Thread
Compilation error in S_COM_FR - Deju - 11-02-2020, 09:22 PM
RE: Compilation error in S_COM_FR - Deju - 13-02-2020, 03:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)