Posts: 6
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2017
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
Posts: 1,036
Threads: 41
Likes Received: 16 in 13 posts
Likes Given: 22
Joined: May 2010
Reputation:
16
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.
Posts: 6
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2017
(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.
Posts: 6
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2017
(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?
Posts: 1,036
Threads: 41
Likes Received: 16 in 13 posts
Likes Given: 22
Joined: May 2010
Reputation:
16
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).
Posts: 6
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2017
(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!
Posts: 8
Threads: 4
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2018
(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
Posts: 1,036
Threads: 41
Likes Received: 16 in 13 posts
Likes Given: 22
Joined: May 2010
Reputation:
16
New production versions will be released by tomorrow.
Posts: 1,036
Threads: 41
Likes Received: 16 in 13 posts
Likes Given: 22
Joined: May 2010
Reputation:
16
Posts: 8
Threads: 4
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2018
20-07-2018, 02:13 PM
(This post was last modified: 20-07-2018, 02:14 PM by Yacine.)
(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.
Posts: 87
Threads: 17
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jul 2010
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
Posts: 1,036
Threads: 41
Likes Received: 16 in 13 posts
Likes Given: 22
Joined: May 2010
Reputation:
16
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.
Posts: 87
Threads: 17
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jul 2010
(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?
Posts: 50
Threads: 15
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2017
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!
Posts: 50
Threads: 15
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2017
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
|