Veda2.0 Released!


storage - 2 diffrent commodities
#1
How to properly efine storage device when one commodity is  in and other is out, for example electricity in and heat out? I've read something about nst in manual, but there's no example. I've built very simple model, where's power plant and storgae device(electricity in, heat out) and set demand on heat only. Storage device is not working properly, it just makes heat fom nothing. I think the storage device is bed defined.Here are some pics from my excel sheets. If there's a need I will provide more.






Reply
#2

1) You should define the process to be a storage process, by using an appropriate process type indicator in the ~FI_Process table.  Valid types are STG (regular timeslice storage), NST (night storage), STS (generalized timeslice storage) and STK (inter-period storage).

2) If defining a DAYNITE level process to be of type NST, you must also define the night timeslices by using the PRC_NSTTS parameter. If they are left undefined, the storage will not be able to operate.

3) If using different input / output commodities for a regular or generalized timeslice storage (STG or STS), you should define the PrimaryCG to consist of both the input and output commodity.  (In your example you could define the  PrimaryCG to be NRG, if you would choose to define the process to be of type STG or STS.)

In your example, the STORAGE process is not defined to be a storage process, and there is no relationship defined between the input and output flow.  Therefore, the process is just a normal process and it can produce heat from nothing, as modeled.

You might also want to have a look at the examples discussed in this thread:

http://forum.kanors-emr.org/showthread.php?tid=8

Reply
#3
I don't know what I'm doing wrong but now I've got this:
                    ***** QUALITY ASSURANCE LOG *****

 *** Process with missing or mismatched CG/PRC_ACTUNIT
 *10 FATAL ERROR   - Process but with no way to identify PCG
                     R=REG          P=STORAGE
I'm uploading my model, uploads/206/kxxu.zip
btw what's the difference between stg and sts?


Attached Files
.zip   kxxu.zip (Size: 47.58 KB / Downloads: 2)
Reply
#4

I tested the model, and it worked.

I didn't get the error message entry in the QA log. The  PCG (primary group) of the process was correctly defined as the  DEMSTG group, which you had defined in SysSettings.

Maybe you could tell us the version of VEDA-FE and TIMES you are using?  The TIMES version is shown in the listing file (*.LST), right above the "Include File Summary" line.

Reply
#5
I've changed gams to newer version and now it works. In my model I want that my storage with different commodities in and out to only charge or recharge in one timeslisce. Is this possible only in nst where I set the timeslices to charge?
Reply
#6

Quote:I've changed gams to newer version and now it works.

That's interesting. Could you tell me which version of GAMS you used when it did not work?

If you want that the process charges only in a single timeslice and discharges in only another single timeslice, you could use STG_INBND and STG_OUTBND to fix the flows to zero in all other timeslices. Or you could use FLO_COST (for the input) and FLO_DELIV (for the output) to set a high cost for all other timeslices except the ones that you want to be active.

For example, to set a cost X for "INCOM" in all other timeslices except "TSIN", you could define:

FLO_COST(r,y,p,'INCOM','ANNUAL',cur) = X;

FLO_COST(r,y,p, 'INCOM' ,'TSIN',cur) = 0;

Reply
#7
I've made mistake, not gams just gams source code folder to gams_srctimesv334 from gams_srctimesv294
Reply
#8

Thanks, that explains it well!

TIMES v2.9.4 was released in March 2009, over four years ago.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help modeling storage technologies Abdulaziz 5 1,014 23-07-2024, 02:07 PM
Last Post: Abdulaziz
  how to define the capacity or stock for storage? guozhi1305 6 2,275 08-05-2024, 05:47 PM
Last Post: guozhi1305
  Ratio between output commodities seb 31 65,262 01-07-2022, 04:06 PM
Last Post: vincedh
  Storage Interpeting In and Out flows vangelis 15 20,824 23-07-2021, 11:38 AM
Last Post: zheng
  Questions on storage and CAP_BND srchlela 2 2,772 18-05-2021, 05:21 PM
Last Post: srchlela
  User constraint for minimum storage activity Anjali 4 4,349 15-01-2021, 07:38 PM
Last Post: Anjali
  Storage output without capacity deployment ach 3 4,738 15-05-2020, 03:04 PM
Last Post: Antti-L
  Levelised cost of Storage Anjali 3 4,890 03-05-2020, 11:32 PM
Last Post: Antti-L
  Vintages for storage processes - unable to understand experience ach 0 1,959 24-04-2020, 02:28 AM
Last Post: ach
  Linking IMPNRGZ and IMPDEMZ to commodities NeilGrant 4 8,121 08-08-2019, 03:10 PM
Last Post: NeilGrant

Forum Jump:


Users browsing this thread: 1 Guest(s)