Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
Hello, I want to build on DEMOS_012 model a country specific model with several regions. I was first of all trying to change region names in the demo version. I changed REG1 and REG2 names with the desired names in each spreadsheet in every single place and after I run VEDA the results tab does not show anything. I started from the scratch, I updated results, I deleted created GAMS files - nothing has worked until I accessed the AppData files in the DEMO and changed the region names there in each JSON file. Is this what I am supposed to be doing generally?
Posts: 1,059
Threads: 42
Likes Received: 20 in 16 posts
Likes Given: 26
Joined: May 2010
Reputation:
20
No, JSON files "can" be edited by power users, but it is not necessary at all, especially for what you are trying to do.
Did you change the region names in ~BookRegions_Map table in SysSettings?
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
(30-10-2020, 07:13 PM)AKanudia Wrote: No, JSON files "can" be edited by power users, but it is not necessary at all, especially for what you are trying to do.
Did you change the region names in ~BookRegions_Map table in SysSettings?
Of course, that was what I did very first time. I changed region names everywhere I could get to
Posts: 1,059
Threads: 42
Likes Received: 20 in 16 posts
Likes Given: 26
Joined: May 2010
Reputation:
20
can you post the edited model?
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
(30-10-2020, 10:05 PM)AKanudia Wrote: can you post the edited model?
Here it is attached. This one is a working one - includes the changes in the JSON files.
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
(31-10-2020, 04:24 AM)dtsintsk Wrote: (30-10-2020, 10:05 PM)AKanudia Wrote: can you post the edited model?
Here it is attached. This one is a working one - includes the changes in the JSON files.
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
(31-10-2020, 04:28 AM)dtsintsk Wrote: (31-10-2020, 04:24 AM)dtsintsk Wrote: (30-10-2020, 10:05 PM)AKanudia Wrote: can you post the edited model?
Here it is attached. This one is a working one - includes the changes in the JSON files.
Sorry, looks like I could not attach the model here, can I send by email?
Posts: 1,059
Threads: 42
Likes Received: 20 in 16 posts
Likes Given: 26
Joined: May 2010
Reputation:
20
Can you try uploading after zipping the Excel files of your model?
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
(31-10-2020, 01:40 PM)AKanudia Wrote: Can you try uploading after zipping the Excel files of your model?
Yes I zipped them but it did not work
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
02-11-2020, 06:57 PM
(This post was last modified: 02-11-2020, 09:00 PM by dtsintsk.)
(31-10-2020, 09:55 PM)dtsintsk Wrote: (31-10-2020, 01:40 PM)AKanudia Wrote: Can you try uploading after zipping the Excel files of your model?
Yes I zipped them but it did not work
Can you see my model in this dropbox file? https://www.dropbox.com/sh/ff7j79m9f001q...Coyea?dl=0
This is a working one - it has json files edited
Posts: 1,972
Threads: 26
Likes Received: 61 in 52 posts
Likes Given: 18
Joined: Jun 2010
03-11-2020, 03:02 PM
(This post was last modified: 03-11-2020, 03:07 PM by Antti-L.)
I tested with your model, by taking all your Excel templates, but using the Json files from the original Demo12 model.
My first test, directly running the case DemoS_012, appeared to confirm the problem you reported with the model: Even though the model was started fully from scratch, all the Base.DD and Subres DD files appeared to be practically empty. And of course the results tab was then quite empty as well.
However, looking at the Region Groups in the Run Manager, I noticed that the new regions CZ010 and CZAGG had been left unselected (due to the original Json files). By selecting both of them them, and running again, I could see the DD files now having all the processes, and after importing the results, the results Tab showed all the results quite as expected.
So, to me this test suggests that maybe you just missed selecting your new (or renamed) Regions in the Run Manager?
Posts: 1,059
Threads: 42
Likes Received: 20 in 16 posts
Likes Given: 26
Joined: May 2010
Reputation:
20
thanks Antti
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
(03-11-2020, 03:02 PM)Antti-L Wrote: I tested with your model, by taking all your Excel templates, but using the Json files from the original Demo12 model.
My first test, directly running the case DemoS_012, appeared to confirm the problem you reported with the model: Even though the model was started fully from scratch, all the Base.DD and Subres DD files appeared to be practically empty. And of course the results tab was then quite empty as well.
However, looking at the Region Groups in the Run Manager, I noticed that the new regions CZ010 and CZAGG had been left unselected (due to the original Json files). By selecting both of them them, and running again, I could see the DD files now having all the processes, and after importing the results, the results Tab showed all the results quite as expected.
So, to me this test suggests that maybe you just missed selecting your new (or renamed) Regions in the Run Manager?
Hi, thank you for your support, I am pretty sure the regions were automatically selected in the run manager but it still did not work. I will run them once again and let you know.
Posts: 1,059
Threads: 42
Likes Received: 20 in 16 posts
Likes Given: 26
Joined: May 2010
Reputation:
20
just make sure that the regions are included in a group, and that group is selected in the case that you run.
Posts: 55
Threads: 19
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Feb 2020
03-11-2020, 04:47 PM
(This post was last modified: 03-11-2020, 04:50 PM by dtsintsk.)
(03-11-2020, 03:42 PM)dtsintsk Wrote: (03-11-2020, 03:02 PM)Antti-L Wrote: I tested with your model, by taking all your Excel templates, but using the Json files from the original Demo12 model.
My first test, directly running the case DemoS_012, appeared to confirm the problem you reported with the model: Even though the model was started fully from scratch, all the Base.DD and Subres DD files appeared to be practically empty. And of course the results tab was then quite empty as well.
However, looking at the Region Groups in the Run Manager, I noticed that the new regions CZ010 and CZAGG had been left unselected (due to the original Json files). By selecting both of them them, and running again, I could see the DD files now having all the processes, and after importing the results, the results Tab showed all the results quite as expected.
So, to me this test suggests that maybe you just missed selecting your new (or renamed) Regions in the Run Manager?
Hi, thank you for your support, I am pretty sure the regions were automatically selected in the run manager but it still did not work. I will run them once again and let you know.
So, I checked the Region groups and ran several scenarios, none of them delivered the results. What do you mean by "importing the results"? I just go to Modules -> Results and there is nothing to show... When I edit the JSON files instead, the regions are automatically selected and the results are delivered with no problem
|