Veda2.0 Released!


a running problem when running the front end
#1
Photo 
Hi everyone, i running the veda model for more than two years, and are quite similiar to this model. however recently, I had met a problem, and tried to sovle it, but failed. so I come here for help. here is the question. I add a new scenario into my model, this scenario use the growth rate parameter to simulate the growth of coal power plant, but it would go wrong once I use this scenario.( you could see the GAMS result attached) . for your better understanding, I also put the excel file here, who can help me to sovle it ,thank you very much.


Attached Files Thumbnail(s)
   

.xls   Scen_GROWTHRATE_COA_TEST.xls (Size: 71 KB / Downloads: 12)
Reply
#2
Tools - User Options - Import settings - Create Dummy - Variables for UCs

Reimport your UC scenario after activating this option. It will make the diagnosis easier.
Reply
#3
(23-08-2016, 10:33 AM)AKanudia Wrote: Tools - User Options - Import settings - Create Dummy - Variables for UCs

Reimport your UC scenario after activating this option. It will make the diagnosis easier.

thank u very much!  it works well and gets feasible result after activating the option.  Big Grin Big Grin Big Grin
Reply
#4
(23-08-2016, 10:33 AM)AKanudia Wrote: Tools - User Options - Import settings - Create Dummy - Variables for UCs

Reimport your UC scenario after activating this option. It will make the diagnosis easier.

hi, AKanudia. I had a new problem right now. could you help me solve it? thanks. here is the question:
I wrote a series of growth rates of different generation technologies with low bound and up bound. please the file attach.  after I SYNC the file, I checked the updated data by veda view(basci fuction-browse/exit-veda view), but I found that the data can not be read, why?


Attached Files Thumbnail(s)
   

.xls   Scen_Growthrate_BS.xls (Size: 104 KB / Downloads: 8)
Reply
#5
(23-08-2016, 12:00 PM)yu03 Wrote:
(23-08-2016, 10:33 AM)AKanudia Wrote: Tools - User Options - Import settings - Create Dummy - Variables for UCs

Reimport your UC scenario after activating this option. It will make the diagnosis easier.

thank u very much!  it works well and gets feasible result after activating the option.  Big Grin Big Grin Big Grin


This was only to help diagnosis... You should check the dummy imports (output of process IMPNRGZ) and adjust the UCs that are forcing dummy imports.
Reply
#6
(05-09-2016, 09:06 AM)yu03 Wrote: I wrote a series of growth rates of different generation technologies with low bound and up bound. please the file attach.  after I SYNC the file, I checked the updated data by veda view(basci fuction-browse/exit-veda view), but I found that the data can not be read, why?
I guess you might be looking at the Browse VEDA view, and you are not seeing the UC_NCAP PARAMETERS there? Is that the question?  
I suggest to Browse with the TIMES View instead. VEDA should be able to show them there, but perhaps not in the VEDA view...

BTW: Looking at the parameters you define, I wonder why you are specifying UC_RHSRTS(2015)=5 for all constraints?
UC_RHSRTS(0)=5 is the interpolation option, which is fine, but UC_RHSRTS(2015)=5 will define an RHS constant for the equation in all periods 2015,... with the value 5. If your capacity unit is GW, that would mean a 5 GW extra constant in all of your growth constraints.
Reply
#7
(05-09-2016, 02:13 PM)Antti-L Wrote:
(05-09-2016, 09:06 AM)yu03 Wrote: I wrote a series of growth rates of different generation technologies with low bound and up bound. please the file attach.  after I SYNC the file, I checked the updated data by veda view(basci fuction-browse/exit-veda view), but I found that the data can not be read, why?
I guess you might be looking at the Browse VEDA view, and you are not seeing the UC_NCAP PARAMETERS there? Is that the question?  
I suggest to Browse with the TIMES View instead. VEDA should be able to show them there, but perhaps not in the VEDA view...

BTW: Looking at the parameters you define, I wonder why you are specifying UC_RHSRTS(2015)=5 for all constraints?
UC_RHSRTS(0)=5 is the interpolation option, which is fine, but UC_RHSRTS(2015)=5 will define an RHS constant for the equation in all periods 2015,... with the value 5. If your capacity unit is GW, that would mean a 5 GW extra constant in all of your growth constraints.

Hi, Antti. thanks for your prompt reply. here I explain why I set these serises data. I wanted to predict the future development of power sector. before I used the index of growth rate, the stock limit of different type of power technologies were used. but I thought stock limit would constraint the advantage of TIMES model, so I turned my mind to use growth rate. however, I am not fimiliar with the setting of growth rate, espeicially the meanning of RHS. do you mean I need to delete the UC-RHSRTS columm?  I had no idea about how to use the RHS. could you send me some materials about it, thanks very much,   Heart  
AND,  could you help me  correct the growth rate document? what I want to achieve is  the following goals.  the New capacity growth rate of one specific power technology should be between the low bound and  up bound.
Reply
#8
(05-09-2016, 01:05 PM)AKanudia Wrote:
(23-08-2016, 12:00 PM)yu03 Wrote:
(23-08-2016, 10:33 AM)AKanudia Wrote: Tools - User Options - Import settings - Create Dummy - Variables for UCs

Reimport your UC scenario after activating this option. It will make the diagnosis easier.

thank u very much!  it works well and gets feasible result after activating the option.  Big Grin Big Grin Big Grin


This was only to help diagnosis... You should check the dummy imports (output of process IMPNRGZ) and adjust the UCs that are forcing dummy imports.

Thanks, AKanudia, I will check the dummy imports after doing the steps that following what Annti said.  thank you again.
Reply
#9
The UC_* parameters have been explained in the documentation. See: http://iea-etsap.org/index.php/documentation

For example, your UC_GrowthOfcoa_LO constraint for 2015 is formulated as shown below (where p is the set of coal processes):

∑p VAR_NCAP(t)  ∑p VAR_NCAP(t–1)*UC_NCAP(t–1)^(M(t)M(t1)) + UC_RHSRTS(t)

Assuming that 2010 is the preceding period, this translates into:
∑p VAR_NCAP(2015)  ∑p VAR_NCAP(2010)*1.077284 + 5

The question is, whether you really want to add the constant 5 into the constraint.  If not, specify a zero UC_RHSRTS instead of 5 (do not remove the column, but enter zero into it).
Another question is whether you really want to constraint the growth in the new capacity variable VAR_NCAP.
I would think constraining the VAR_CAP variable might be more reasonable, especially as both 2010 and 2015 are history years, and will thus probably not have any VAR_NCAP at all. 
And maybe your growth constraints should actually start at 2020 instead of 2015?
Reply
#10
(05-09-2016, 04:56 PM)Antti-L Wrote: The UC_* parameters have been explained in the documentation. See: http://iea-etsap.org/index.php/documentation

For example, your UC_GrowthOfcoa_LO constraint for 2015 is formulated as shown below (where p is the set of coal processes):

∑p VAR_NCAP(t)  ∑p VAR_NCAP(t–1)*UC_NCAP(t–1)^(M(t)M(t1)) + UC_RHSRTS(t)

Assuming that 2010 is the preceding period, this translates into:
∑p VAR_NCAP(2015)  ∑p VAR_NCAP(2010)*1.077284 + 5

The question is, whether you really want to add the constant 5 into the constraint.  If not, specify a zero UC_RHSRTS instead of 5 (do not remove the column, but enter zero into it).
Another question is whether you really want to constraint the growth in the new capacity variable VAR_NCAP.
I would think constraining the VAR_CAP variable might be more reasonable, especially as both 2010 and 2015 are history years, and will thus probably not have any VAR_NCAP at all. 
And maybe your growth constraints should actually start at 2020 instead of 2015?
Hi, annti, thanks you a lot. I will change the setting according to what you suggest. BTW, in your reply, "*1.077284" is "^1.077284",right? and how this number (1.077284) come?
Reply
#11
Shy  No, it is "*1.077284".  It came from 1.015^5 = 1.077284.  The exponent 5 came from M(t)–M(t–1) = 2015–2010.
Reply
#12
(05-09-2016, 07:25 PM)Antti-L Wrote: Shy  No, it is "*1.077284".  It came from 1.015^5 = 1.077284.  The exponent 5 came from M(t)–M(t–1) = 2015–2010.

got it!thanks a lot. I try it.  Big Grin
Reply
#13
(05-09-2016, 07:25 PM)Antti-L Wrote: Shy  No, it is "*1.077284".  It came from 1.015^5 = 1.077284.  The exponent 5 came from M(t)–M(t–1) = 2015–2010.

Hi Antti. As you said, I changed the NCAP into CAP, remove 2015 data. set UC_RHSRTS(time=2020~50)=0. after I sync these changes into the model, I check them through TIMES view. it only show the UC_RHSRTS value, not the UC_CAP~LHS value or UC_CAP~RHS value. why this? 
AND, I upload the document of growth scenario, could you give some further advice to improve this? thanks very much!


Attached Files Thumbnail(s)
   

.xls   Scen_Growthrate_BS.xls (Size: 126.5 KB / Downloads: 5)
Reply
#14
Hmm... I don't know why they don't show up.  They do show up when I import the constraints for the coal plants into the DEMO model, see attached picture.
   
So, there must be still something wrong in your set-up, for example maybe ELC should read ELCC in your model, or some simple mistake like that (just for one long shot Blush ).

Note also that your constraint name for coal-UP is wrong (it is the same as for nuclear).  Good luck!
Reply
#15
I think it is not setting mistake. because the UC-CAP can not show up in the TIMES view in my model. when I put the growth rate document into the demo, the UC-CAP can show up. so I need to do some to make the UC-CAP show up.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues in running the ancillary service market extension Vijay Kunmar 2 2,100 07-07-2022, 08:00 PM
Last Post: MikkelBosack
  A problem when starting running, call for help!!! [email protected] 8 8,239 28-02-2021, 09:24 PM
Last Post: Antti-L
  problem with (re)SYNC of previous working models/DB after reinstall of VEDA Koen Smekens 9 8,491 29-12-2020, 08:01 PM
Last Post: Antti-L
  Problem with EV-charging modelling janisd 8 9,813 26-03-2020, 12:18 AM
Last Post: Antti-L
  com_agg problem Lukas 1 3,778 30-10-2019, 08:22 AM
Last Post: AKanudia
  Issue when running TIAM with Price-Elastic Demand NeilGrant 2 5,038 09-08-2019, 03:44 PM
Last Post: NeilGrant
  FE running problem:TIMES Solve status 11 yu03 5 11,655 29-03-2018, 09:02 AM
Last Post: Gary
  Problem writing symbol: COM_AGG + Lukas 3 6,916 26-01-2018, 03:28 PM
Last Post: Antti-L
  Problem in importing ~COMAGG table saleh 5 12,667 05-12-2017, 11:08 AM
Last Post: Vikrant
  Problem in importing process sets saleh 6 10,669 21-11-2017, 12:59 PM
Last Post: Vikrant

Forum Jump:


Users browsing this thread: 5 Guest(s)