Veda2.0 Released!


Calling VEDA without opening the interface
#1
Dear sirs, I wish to run veda from another process that produces the xlsx files in veda format. Once I have all the input files ready, is this possible to call veda-fe directly from another program, or is it mandatory to open the interface and manually synchronize the files?  

Best regards, Ana
Reply
#2
At this point this is not possible, but synchronization in itself won't be very useful either. I guess you want to launch runs too?

Tell me a bit about your overall objective, and I will try to suggest options.
Reply
#3
(16-06-2018, 09:58 AM)AKanudia Wrote: At this point this is not possible, but synchronization in itself won't be very useful either. I guess you want to launch runs too?

Tell me a bit about your overall objective, and I will try to suggest options.

Thank you for you answer.

I have a web base process A that prepares the xlsx files of our TIMES model. We then open VEDA-FE with these xlsx files, synchronize them and run the optimizer. As you say, I would like the synchronization of xlsx files and optimization to be automatic, thus these steps would also take part of process A.
Reply
#4
(16-06-2018, 09:58 AM)AKanudia Wrote: At this point this is not possible, but synchronization in itself won't be very useful either. I guess you want to launch runs too?

Tell me a bit about your overall objective, and I will try to suggest options.

Hello Akanudia,

Did you get a chance to think about possibilities on how to do this, or do you think it's something that could be implemented in a near future?
Reply
#5
Next week, we will have a version where you will be able to launch VFE from the CMD line with a flag, which will automatically launch SYNC and SOLVE (of the active case).
Reply
#6
(30-06-2018, 11:08 PM)AKanudia Wrote: Next week, we will have a version where you will be able to launch VFE from the CMD line with a flag, which will automatically launch SYNC and SOLVE (of the active case).

Nice! Thank you very much!
Reply
#7
(30-06-2018, 11:08 PM)AKanudia Wrote: Next week, we will have a version where you will be able to launch VFE from the CMD line with a flag, which will automatically launch SYNC and SOLVE (of the active case).
Hello

It sounds great to know that it will be possible to call VEDA from the CMD line. How can we get acces to this new version?

Thank you again
Reply
#8
New production versions will be released by tomorrow.
Reply
#9
Took a bit longer, but here it is: http://forum.kanors-emr.org/showthread.php?tid=681
Reply
#10
(09-07-2018, 02:27 PM)AKanudia Wrote: Took a bit longer, but here it is: http://forum.kanors-emr.org/showthread.php?tid=681

Great, Thank you for your explanation.
Reply
#11
Hi Amit,

Calling VEDA-FE from command line sounds like a very useful enhacement! :-) Any chance the following options can be added:
- Start from Scratch and Sync all files
- path of the model to sync.

Cheers,
Olex
Reply
#12
Both seem doable. Can you describe how you intend to use these switches? It will help us design them and may also give new ideas to other users.
Reply
#13
(25-07-2018, 10:28 AM)AKanudia Wrote: Both seem doable. Can you describe how you intend to use these switches? It will help us design them and may also give new ideas to other users.

Cool! :-) The model path switch is basically to be able to choose the model that is synced e.g. in case the previously opened one is not known (gives more control/certainty). The start from scratch switch would be especially handy for large teams working together on the same model and using version control software (git) because then one can see the need to start from scratch even before opening VEDA.

Amit, I think all of these switches would be especially useful if it was possible to use VEDA as a tool in command prompt i.e., to skip the interface part. Do you have any plans to implement that?
Reply
#14
Hi!
 Is there any documentation/example for this new feature? The only thing I have found was
"Call VEDA-FE from command line: VEDA-FE can be called with two parameters from the command line. S will perform SYNC, and SS will perform SYNC and SOLVE."

But I don't know exactly how to use it and the limitations of this feature (for example, is it possible to select the files to be synced and scenarios to be used in the execution?)

Thanks!
Reply
#15
I've already understood how this functionality works. Indeed, it is very simple and I don't think that more documentation is necessary. For other users that might have the same doubt, the complete command that has to be written in the cmd line is "VEDA_FE.exe S" or "VEDA_FE.exe SS" (from the folder in which VEDA_FE.exe is installed). But I have other questions:
- Is it possible to select the files to be synced?
- Is it possible to select the scenarios to be used in the execution (like we do in the case manager)?
- I've tried to use this functionality with the TIMES_DEMO example, starting it from scratch. I have used the "SS" option, but it did not run the case (just synced), since the option "create dd only" was selected. I think this option "create dd only" is a default. My question is whether there is some way to change this default? It would also be great if I could select the option "variables for UCs" before syncing.

Thank you
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Veda Help Saad Awan 2 895 11-07-2023, 02:51 PM
Last Post: Saad Awan
  Veda Help Saad Awan 15 4,609 11-07-2023, 12:55 PM
Last Post: AKanudia
  Veda Errors Saad Awan 0 482 03-07-2023, 06:10 PM
Last Post: Saad Awan
  Veda Errors Saad Awan 2 1,075 16-06-2023, 04:06 PM
Last Post: Saad Awan
  "automation error interface" error shivika 4 4,308 17-06-2021, 07:32 PM
Last Post: Ravinder
  "automation error interface" error shivika 0 1,298 17-06-2021, 02:13 AM
Last Post: shivika
  CSV Export in Veda olexandr 4 4,169 21-04-2021, 08:36 PM
Last Post: AKanudia
  MAC vs. Windows for VEDA-TIMES FE & BE? mbr1818 5 9,770 22-02-2021, 01:52 PM
Last Post: AKanudia
  problem with (re)SYNC of previous working models/DB after reinstall of VEDA Koen Smekens 9 7,774 29-12-2020, 08:01 PM
Last Post: Antti-L
  Fatal error in VEDA opening vahid.aryanpur 2 3,879 15-07-2020, 06:05 PM
Last Post: vahid.aryanpur

Forum Jump:


Users browsing this thread: 1 Guest(s)