Veda2.0 Released!


Running TIMES iteractively
#1
I am working on a case in which I need to run the TIMES model multiple times. The idea is to run TIMES, use a R code to modify one of the excel input files (the file of demand scenarios), access TIMES solution and based on the results, modify excel input files and then run TIMES again. This would be done over and over again, until a convergence criterion is satisfied. There is some way to do this without using the case manager of VEDA-FE every time we want to solve the problem, i.e., there is some way to automate the process?

Thank you!
Reply
#2
Here is one way to do it:

1. Check "Create DD Only" option on the Case Manager and click Solve.
2. GAMS_Wrk??? and GAMS_SRCTIMESV??? can be copied to a different computer, if you wish, provided it has GAMS installed on it.
3. Execute VTRUN.CMD (in the GAMS_Wrk??? folder) to launch the TIMES run.
3. Parse the ???.VD file to extract the information you need out of the TIMES run.
4. Edit the .DD file that has information you want to modify for the next TIMES run (demands).

I would avoid the SYNC operation of VEDA in this loop. You may have to do some data processing outside VEDA. For example, if your demands are using GDP as a driver and you are getting these values from a macro model, then you will have to do the demand projection and write it in the DD file in the format expected by the TIMES code.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues in running the ancillary service market extension Vijay Kunmar 2 2,062 07-07-2022, 08:00 PM
Last Post: MikkelBosack
  About TIMES objective function guozhi1305 2 2,415 09-03-2022, 06:53 PM
Last Post: guozhi1305
  UC_FLO ignored by TIMES for IRE processes needing UC_IRE NeilGrant 16 14,770 30-09-2021, 02:56 AM
Last Post: Antti-L
  Demand response from macro to times shivika 1 2,294 18-05-2021, 11:32 PM
Last Post: Antti-L
  A problem when starting running, call for help!!! [email protected] 8 8,143 28-02-2021, 09:24 PM
Last Post: Antti-L
  MAC vs. Windows for VEDA-TIMES FE & BE? mbr1818 5 10,305 22-02-2021, 01:52 PM
Last Post: AKanudia
  How can I model discharge times for two DAYNITE processes? ach 3 5,269 26-04-2020, 02:52 AM
Last Post: Antti-L
  Long run times w/ DSCINV, infeasible without ach 8 11,709 05-03-2020, 10:54 PM
Last Post: ach
  TIMES new scenario importing method alexazeze 2 4,781 17-02-2020, 01:00 PM
Last Post: alexazeze
  Errors after installation of new TIMES Source code and upgrading my MS office to 2016 Ismail Kimuli 5 7,920 09-01-2020, 04:43 PM
Last Post: Ismail Kimuli

Forum Jump:


Users browsing this thread: 1 Guest(s)