Electrolyser Modelling
#45
@Anjana: Please find below my explanations to the equation coefficients:

The input parameter involved in the equations are :
 •ACT_EFF(r,y,p,cg,s) – activity efficiency of process p, group cg, timeslice s
 •ACT_MINLD(r,y,p) – minimum operating load level
 •ACT_LOSPL(r,y,p,cg,'FX') – proportional  increase  in  specific consumption at minimum operating load level
 •ACT_LOSPL(r,y,p,cg,'UP') –  fraction of feasible load range above the minimum op. level, below which the efficiency losses occur.
 •ACT_LOSPL(r,y,p,cg,'LO') –  minimum operating level used for the partial load efficiency function, default = MAX(0.1,ACT_MINLD(r,y,p))

The variables involved in the equations are :
 • VAR_CAP(r,t,p) – capacity of process p
 • VAR_ACT(r,v,t,p,s) – activity of process p, timeslice s
 • VAR_FLO(r,v,t,p,c,s) – flow of process p, commodity c, timeslice s
 • VAR_UPS(r,v,t,p,s,'N') – off-line capacity of process p, timeslice s
 • VAR_UPS(r,v,t,p,s,'FX') – efficiency loss of process p, timeslice s, divided by ACT_LOSPL(r,y,p,cg,'FX')

Note that as you have not defined ACT_LOSPL(LO), the default is MAX(0.1,ACT_MINLD(r,y,p)) = 0.1;

First, your EQE_ACTEFF:
EQE_ACTEFF  =E=  Process Activity Efficiency (=), example equations are:
EQE_ACTEFF(REG1,2018,2018,TESTELSR,NRG,IN,SD)..  - 57.8420451744059*VAR_ACT(REG1,2018,2018,TESTELSR,SD) + VAR_FLO(REG1,2018,2018,TESTELSR,ELC,SD) - 56.8420140553856*VAR_UPS(REG1,2018,2018,TESTELSR,SD,FX) =E= 0 ;


The equation defines the process activity efficiency in 2018, for timeslice SD. You efficiency for TESTELSR is ACT_EFF(ACT)= 0.017288462. The coefficient 57.8420451744059 for VAR_ACT is obtained as the inverse of that, i.e. 57.8420451744059 = 1/0.017288462.  The coefficient 1 for VAR_FLO is obtained from the fact that you have not defined any commodity-specific efficiency, and so 1 is assumed. The coefficient 56.8420140553856 for VAR_UPS is obtained as ACT_LOSPL(FX)/ACT_EFF(ACT) = 0.982711 / 0.017288462 = 56.8420140553856. The interpretation is straightforward: The activity is equal to the ELC input flow multiplied by the efficiency and subtracted by the activity loss due to partial load.

Second, your EQ_CAPLOAD(LO):
EQ_CAPLOAD(REG1,2018,2018,TESTELSR,SD,LO)..  VAR_ACT(REG1,2018,2018,TESTELSR,SD) - 0.378617286213058*VAR_CAP(REG1,2018,TESTELSR) + 0.378617286213058*VAR_UPS(REG1,2018,2018,TESTELSR,S,N) =G= 0 ;
The equation defines the minimum load in 2018, for timeslice SD. The coefficient is always 1 for VAR_ACT. The coefficient for the online capacity (VAR_CAP−VAR_UPS(S)) is PRC_CAPACT×YRFR×ACT_MINLD = 151.446914485223 × 0.25 × 0.01= 0.378617286213058. The interpretation is straightforward: The load cannot go below the online capacity multiplied by the minimum load level.

Third, your EQ_CAPLOAD(UP):
EQ_CAPLOAD(REG1,2018,2018,TESTELSR,SD,UP)..  - VAR_ACT(REG1,2018,2018,TESTELSR,SD) + 37.8617286213058*VAR_CAP(REG1,2018,TESTELSR) - 37.8617286213058*VAR_UPS(REG1,2018,2018,TESTELSR,S,N) =G= 0 ;
The equation defines the maximum load in 2018, for timeslice SD. The coefficient is always 1 for VAR_ACT. The coefficient for the online capacity (VAR_CAP−VAR_UPS(S)) is PRC_CAPACT×YRFR×COEF_AF(UP) = 151.446914485223 × 0.25 × 1 = 37.8617286213058. The interpretation is straightforward: The load cannot exceed the online capacity multiplied by the maximum availability.

Fourth , your EQ_ACTPL :
EQ_ACTPL(REG1,2018,2018,TESTELSR,SD)..  0.392896432500393*VAR_ACT(REG1,2018,2018,TESTELSR,SD) - 5.27374667249148*VAR_CAP(REG1,2018,TESTELSR) + 5.27374667249148*VAR_UPS(REG1,2018,2018,TESTELSR,S,N) + VAR_UPS(REG1,2018,2018,TESTELSR,SD,FX) =G= 0 ;
The equation defines the efficiency loss in 2018, for timeslice SD. The loss variable VAR_UPS(FX) always has the coefficient 1.  The coefficient for the online capacity (VAR_CAP−VAR_UPS(S)) is defined by ACT_LOSPL(UP), and is obtained as PRC_CAPACT×YRFR × (ACT_LOSPL(UP)+ACT_LOSPL(LO) × (1-ACT_LOSPL(UP))) / (ACT_LOSPL(UP) × (1/ACT_LOSPL(LO)−1)) = 151.446914485223 × 0.25 × (0.2828 + 0.1 × (1−0.2828)) / (0.2828 × (1/0.1−1)) = 5.27374667249148.
The coefficient for the activity VAR_ACT is obtained as 1 / (ACT_LOSPL(UP) × (1/ACT_LOSPL(LO)−1)) = 1 / (0.2828 × (1/0.1−1)) = 0.3928964325.

It is easy to see, by simple calculus, that when the activity is equal to the upper point (ACT_LOSPL(UP)+ACT_LOSPL(LO) × (1-ACT_LOSPL(UP))) = 0.2828+0.1×(1−0.2828))= 0.35452, the loss variable is zero, and when the activity is equal to the lower point ACT_LOSPL(LO), the loss variable is equal (or ≥) to the activity, as designed.
Reply


Messages In This Thread
Electrolyser Modelling - by MohammedAbiAfthab - 08-04-2019, 02:43 PM
RE: Electrolyser Modelling - by Antti-L - 08-04-2019, 03:33 PM
RE: Electrolyser Modelling - by Pernille.S - 08-04-2019, 06:58 PM
RE: Electrolyser Modelling - by Antti-L - 09-04-2019, 03:10 AM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 11-04-2019, 05:54 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 02-05-2019, 08:08 PM
RE: Electrolyser Modelling - by Antti-L - 02-05-2019, 08:26 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 02-05-2019, 09:03 PM
RE: Electrolyser Modelling - by Antti-L - 02-05-2019, 09:36 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 03-05-2019, 03:11 PM
RE: Electrolyser Modelling - by Antti-L - 03-05-2019, 03:55 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 09-05-2019, 02:24 AM
RE: Electrolyser Modelling - by Anjana - 10-05-2019, 02:08 PM
RE: Electrolyser Modelling - by Anjana - 10-05-2019, 02:20 PM
RE: Electrolyser Modelling - by Antti-L - 05-05-2019, 11:21 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 06-05-2019, 01:42 PM
RE: Electrolyser Modelling - by Pernille.S - 06-05-2019, 05:58 PM
RE: Electrolyser Modelling - by Antti-L - 06-05-2019, 07:51 PM
RE: Electrolyser Modelling - by Pernille.S - 07-05-2019, 01:00 PM
RE: Electrolyser Modelling - by Pernille.S - 08-05-2019, 02:21 PM
RE: Electrolyser Modelling - by Antti-L - 08-05-2019, 02:31 PM
RE: Electrolyser Modelling - by Pernille.S - 08-05-2019, 02:35 PM
RE: Electrolyser Modelling - by Antti-L - 09-05-2019, 03:19 AM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 09-05-2019, 03:27 AM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 09-05-2019, 07:32 PM
RE: Electrolyser Modelling - by Antti-L - 09-05-2019, 08:16 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 10-05-2019, 01:28 AM
RE: Electrolyser Modelling - by Antti-L - 10-05-2019, 02:55 AM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 10-05-2019, 07:03 AM
RE: Electrolyser Modelling - by Antti-L - 10-05-2019, 02:48 PM
RE: Electrolyser Modelling - by Anjana - 10-05-2019, 03:41 PM
RE: Electrolyser Modelling - by Anjana - 17-05-2019, 12:54 PM
RE: Electrolyser Modelling - by Antti-L - 12-05-2019, 04:31 AM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 15-05-2019, 09:00 PM
RE: Electrolyser Modelling - by Antti-L - 15-05-2019, 10:32 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 17-05-2019, 02:20 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 17-05-2019, 06:26 PM
RE: Electrolyser Modelling - by Antti-L - 17-05-2019, 01:50 PM
RE: Electrolyser Modelling - by Anjana - 17-05-2019, 02:15 PM
RE: Electrolyser Modelling - by Anjana - 17-05-2019, 07:30 PM
RE: Electrolyser Modelling - by Antti-L - 17-05-2019, 07:37 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 17-05-2019, 08:58 PM
RE: Electrolyser Modelling - by Antti-L - 17-05-2019, 10:24 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 17-05-2019, 10:49 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 06-06-2019, 02:16 PM
RE: Electrolyser Modelling - by Antti-L - 18-05-2019, 09:35 PM
RE: Electrolyser Modelling - by Anjana - 19-05-2019, 02:38 AM
RE: Electrolyser Modelling - by Anjana - 18-05-2019, 11:17 PM
RE: Electrolyser Modelling - by Anjana - 18-05-2019, 11:59 PM
RE: Electrolyser Modelling - by Antti-L - 19-05-2019, 12:28 AM
RE: Electrolyser Modelling - by Anjana - 19-05-2019, 01:15 AM
RE: Electrolyser Modelling - by Anjana - 19-05-2019, 01:19 AM
RE: Electrolyser Modelling - by Antti-L - 19-05-2019, 01:34 AM
RE: Electrolyser Modelling - by Antti-L - 06-06-2019, 10:25 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 12-06-2019, 02:58 AM
RE: Electrolyser Modelling - by Antti-L - 12-06-2019, 02:05 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 06-07-2019, 01:15 AM
RE: Electrolyser Modelling - by Antti-L - 06-07-2019, 04:06 AM
RE: Electrolyser Modelling - by Antti-L - 08-07-2019, 02:44 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 08-07-2019, 04:11 PM
RE: Electrolyser Modelling - by Antti-L - 08-07-2019, 04:18 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 08-07-2019, 05:34 PM
RE: Electrolyser Modelling - by Antti-L - 08-07-2019, 06:09 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 08-07-2019, 06:38 PM
RE: Electrolyser Modelling - by MohammedAbiAfthab - 29-08-2019, 05:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)