Veda2.0 Released!
storage - 2 diffrent commodities
|
21-08-2013, 04:25 AM
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.
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:
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?
29-08-2013, 01:10 PM
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.
04-09-2013, 02:56 PM
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?
05-09-2013, 04:23 AM
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;
18-09-2013, 03:52 AM
I've made mistake, not gams just gams source code folder to gams_srctimesv334 from gams_srctimesv294
18-09-2013, 09:01 AM
Thanks, that explains it well! TIMES v2.9.4 was released in March 2009, over four years ago. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)