In general, I agree with Wouter that your options 1) – 3) are not possible in a model based on convex programming, such as an LP model. And therefore they are not possible in standard TIMES. However, you can model all of them by introducing binary variables and solving the model to a global optimum as a MIP model. In TIMES, the lumpy investment option can be utilized for introducing such binary variables. For option 2), TIMES v3.3.5 now also supports semi-continuous investment variables (but you will still in most cases need a MIP solver, because most solvers implement semi-continuous variables internally with binary variables, like Cplex).
Veda2.0 Released!
simulating technology economies of scale
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
18-06-2012, 11:47 AM
Returning to your original question, as you mentioned that you are "still open to any other thoughts on these options", here are my brief comments (although your questions are not related to VEDA):
In general, I agree with Wouter that your options 1) – 3) are not possible in a model based on convex programming, such as an LP model. And therefore they are not possible in standard TIMES. However, you can model all of them by introducing binary variables and solving the model to a global optimum as a MIP model. In TIMES, the lumpy investment option can be utilized for introducing such binary variables. For option 2), TIMES v3.3.5 now also supports semi-continuous investment variables (but you will still in most cases need a MIP solver, because most solvers implement semi-continuous variables internally with binary variables, like Cplex).
18-03-2014, 07:31 AM
I'm trying to incorporate the lumpy investment option into my model as well and I seem to be doing something wrong as it is not working properly.
The SubRES file of my technologies looks as follows (in the actual file, some more attributes are specified (INVCOST, FIXOM, etc.):
Furthermore, these processes are declared like this:
The model worked fine when I did not introduce the DSC option to the nuclear plants, but when I run it like this, it starts giving very strange results (producing with the IGCC plants without having capacity of this type of plants). The only thing I did was adding the 'Other_Indexes' and 'NCAP_DISC' columns, entering an additional set for the nuclear technology (DSCINV) and putting on the discrete investment option in the case manager. I can see the values I entered for the NCAP_DISC attribute in the TIMES view (although only aggregated over all 'units', but this is also the case in the example Antti provided). When I run the original SubRES file but put on the Discrete Investment Option in the case manager, everything still works fine, so it seems to be related to the data in this file... Anybody an idea about what I'm doing wrong here? Also, is it necessary to fill in the Gams Options OPTCR and OPTCA in the options file in the case manager? As far as I can see, you have only defined the topology and efficiencies for these technologies. I cannot see any investment costs, capacity bounds, or user constraints referring to capacities. That would well explain "producing with the IGCC plants without having capacity of this type of plants". Processes have a capacity only when there is a need for a capacity variable. Your processes don't seem to be needing any capacity, because the cost of capacity is zero, and you could thus have an infinite capacity without affecting the value of the objective function. The defaults for OPTCR and OPTCA are 0.1 and 0, and it is up to you whether you want to use different values. With these defaults you can be sure the integer solution is at most 10% off the optimum. [EDIT:] Out of curiosity, I just tested your Subres data with the DEMO model, but adding also some investments costs, and an interpolation option for NCAP_DISC. On the basis of a quick look at the results, it worked well: The results showed investments into both the IGCC plants and into the NUCGenIIIplus plants. The IGCC plants were, of course, producing only within the limits of their capacity, and the NUCGenIIIplus plants capacity additions were discrete, just like modeled.
19-03-2014, 06:49 AM
Sorry Antti, my question was not that clear.
I have defined investment costs and other parameters for all technologies. I did not show the entire tabel before to limit the size of the table I was posting as that information did not seem relevant to me. So here is how the entire table looks like:
When I run the model without the information related to the discrete investments (so no 'other indexes' and NCAP_DISC columns), it works fine. When I use these 2 columns, the model no longer works fine. As stated before, it delivers its demand for electricity by using the 'historical plants' (defined in BYT via stock) and IGCC. The strange thing is that it produces with the IGCC, although there is no investments in (new) capacity of IGCC. I still can't figure out what is going wrong here...
19-03-2014, 07:29 AM
Well, as basically the same data works just fine with the DEMO model, you should understand that it is rather hard to help you out with the problem. In particular, I am baffled about you reporting that the IGCC plant is producing without capacity, even though you have capacity costs for it! Why don't you try and reproduce your problems with the DEMO model, and then upload it here? I could easily see what is going on if I had the model...
20-03-2014, 05:01 AM
It is working properly now. I still do not fully understand what was going wrong.
However, after it was working properly some strange things still occured. It seems that some of the problems I had were related the way I used SubRES files to specify the technologies either as regular non-discrete technologies (via one SubRES file) or as discrete technologies in another SubRES file. The technologies had the same names. The goal was that I could turn on/off the Discrete Investment Option by selecting the proper SubRES file in the case manager. When I did this, I got some bizar results (in cases of discrete investment option 'turned on or off'). I decided to split up the model into two seperate models (one with discrete investments implemented and one without). This seems to help, though I do not know what the problem would be in the way I used the SubRES file. A second thing that was decisive for getting everything to work normal was rebooting my PC ![]() A final thing I noticed was that, when I had entered the data for NCAP_DISC, turning off the discrete investment option in the control panel diddn't actually turn off the discrete investments (although I did not check this anymore now that everything is working). As the models are working properly now, and I'm not sure about the causes of the difficulties, I'm a bit reluctant on testing some more to find out the root of the problems. Anyhow, thanks for the support Antti! If you would still like to take a look at the model I'm using, let me know and I'll upload it.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Technology share | guozhi1305 | 0 | 2,028 |
07-03-2020, 07:36 PM Last Post: guozhi1305 |
|
Error in Transformation of new technology MDB | Viktor Racz | 2 | 4,366 |
12-02-2020, 01:11 PM Last Post: Viktor Racz |
|
How to set the 'STOCK' of storage technology | Xin Wang | 2 | 7,825 |
11-01-2016, 04:33 AM Last Post: Xin Wang |
|
ELC Car as night storage technology | dlmccollum | 27 | 75,705 |
26-11-2014, 09:38 AM Last Post: Antti-L |
|
new input in BY technology | dvanre | 1 | 6,586 |
08-04-2011, 05:01 AM Last Post: AKanudia |
Users browsing this thread: 2 Guest(s)