Search found 64 matches

by apix
Wed Aug 09, 2017 2:45 pm
Forum: Vensim
Topic: Command script and Compiled simulation
Replies: 3
Views: 3288

Re: Command script and Compiled simulation

So, whatever is the setting in the user's Computaion tab, I just need to include the mymodel_sim.dll with the mymodel.vmf in the mymodel.vpm package?
I do it already but it doesn't seem to work. I thought it was a matter of settings.
by apix
Wed Aug 09, 2017 1:37 pm
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

Re: VDF2TAB and Time (in Command File)

Thank you both, I will check the "TRA pass urban road charge[BE1]" serie.
by apix
Wed Aug 09, 2017 1:35 pm
Forum: Vensim
Topic: Command script and Compiled simulation
Replies: 3
Views: 3288

Command script and Compiled simulation

Hi, I'd like to run a Command file with a package (vpm) containing a Compiled model. As I usually have the Compilation option set to Interpret (https://vensim.com/documentation/index.html?advanced_options.htm), I wanted to save the "Compile" option within the package, so that the Command F...
by apix
Mon Aug 07, 2017 3:08 pm
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

Re: VDF2TAB and Time (in Command File)

by apix
Thu Aug 03, 2017 8:18 am
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

Re: VDF2TAB and Time (in Command File)

https://drive.google.com/file/d/0B6hO-HW2uR-UdS1XdzUwNmszcDg/view?usp=sharing the zip folder contains 4 files: - Scenario_1.vdf - VDF2TAB.cmd , the command used to generate: - Scenario_1.tab , which present the unexpected Time headers - VDF2TAB_with_start_end.cmd , the command used eventually to avo...
by apix
Thu Aug 03, 2017 7:42 am
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

Re: VDF2TAB and Time (in Command File)

423 MB
by apix
Wed Aug 02, 2017 4:08 pm
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

Re: VDF2TAB and Time (in Command File)

HI,

I've prepared the vdf file, where can I send it to by email?
by apix
Wed Jul 26, 2017 9:09 am
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

Re: VDF2TAB and Time (in Command File)

The exported variables include data variables, but these, as all inputs and ouputs refer to the interval 1995-2050.
The funny thing is that nowehere it is set the wider interval 1965-2074. I wonder if they are default dates.
by apix
Tue Jul 25, 2017 1:37 pm
Forum: Vensim
Topic: VDF2TAB and Time (in Command File)
Replies: 14
Views: 10399

VDF2TAB and Time (in Command File)

Hi, I'm experiencing a strange behaviour in the tab file created with the command VDF2TAB in a Command Script. No particular option is given to the command, which has the form: MENU>VDF2TAB|vdffile|tabfile|savelist| The strange behaviour is about the Time header. The model runs from 1995 to 2030, bu...
by apix
Tue Oct 29, 2013 8:30 am
Forum: Vensim
Topic: DATA variable name
Replies: 2
Views: 3493

DATA variable name

Hi,

what's the name of the DATA collection variable (the list of inputs loaded from venapp with the command ADDDATA)?
Is it possible to show the list of files in a custom table?
Many thanks and greetings.
by apix
Tue Sep 24, 2013 1:43 pm
Forum: Vensim
Topic: Value with two decimal marks
Replies: 6
Views: 7779

Re: Value with two decimal marks

Yes, I read your first answer.
Indeed I used the new Model Reader, with no bug.

My second question was about the Excel behavior.
But it doesn't matter. Important is that the bug does not exit anymore. Thank you!!
by apix
Tue Sep 24, 2013 1:38 pm
Forum: Vensim
Topic: reset a Slidevar
Replies: 4
Views: 4772

Re: reset a Slidevar

Well, the venapp allows to set up one or more policies. Every policy has an own screen with several slidevars, switchvars, radiovars and so on. Thus, I use CANCEL> to cancel the entire simulation, while RESETINPUT to cancel just the changes to the variables in the current screen (relative to one pol...
by apix
Mon Sep 23, 2013 1:33 pm
Forum: Vensim
Topic: reset a Slidevar
Replies: 4
Views: 4772

Re: reset a Slidevar

I'm working with Vensim DSS 5.11A-1 and Windows 7 Th code looks like this: :SCREEN POLICY1 SCREENFONT,Arial|10||0-0-0|-1--1--1 PIXELPOS,0 SWITCHVAR,"Switch_1",32,17,,,,,"activate", SLIDEVAR,"Year_1",32,22,10,4,H|Arial|7|B|0-0-0,%L[2013|2050|1]||7,"", BUTTON,&q...
by apix
Mon Sep 23, 2013 1:26 pm
Forum: Vensim
Topic: Value with two decimal marks
Replies: 6
Views: 7779

Re: Value with two decimal marks

(with Vensim DSS for Windows version 5.11A-1 and Windows 7) I met a curious behavior, working with my Venapp, Excel and Bloc Notes: I have a "1..000" value in a table workbench tool. If I look at the data in a graph tool, the trend is well drawn. From the table, I export the data and copy ...
by apix
Mon Sep 23, 2013 9:19 am
Forum: Vensim
Topic: reset a Slidevar
Replies: 4
Views: 4772

reset a Slidevar

Good morning!!

I can't get slidevars to be reset.
I used the command SPECIAL>RESETINPUT|, even in combination with SPECIAL>REFRESH, but with no success.
The radiovars and the switchvars get rigthly reset instead.

Any suggestion? Thank you :-)
by apix
Thu Aug 22, 2013 1:16 pm
Forum: Vensim
Topic: Re-implement closing Venapp
Replies: 1
Views: 2512

Re-implement closing Venapp

Hi! When I close a Venapp by the close button ("x" on the upper right side of the window), I get the Question from Vensim "Do you want to close this application?", if yes, the application closes. I would like to show a "credit page" and do other operations before exitin...
by apix
Mon Jul 08, 2013 4:20 pm
Forum: Vensim
Topic: SKETCH in Venapp and SETWB
Replies: 1
Views: 2410

SKETCH in Venapp and SETWB

Hi! I would need a suggestion. I have a slide with the sketch tool and the command SETWB that updates the name of the workbench variable (WBVAR). This works great. I have a button to show the Causes tree as pop-up. But, if I click on a cause variable, I change the WB and the slide will be reloaded, ...
by apix
Thu Jun 27, 2013 9:11 am
Forum: Vensim
Topic: Value with two decimal marks
Replies: 6
Views: 7779

Value with two decimal marks

Hi, I got a strange number (1..000) for the result of a variable. The graph gets correctly drawn, the other values of the variable look normal, but for a combination of subscript and a time step there are two decimal marks. Looking the previous and the next values, it doesn't seems that a decimal ma...
by apix
Thu Jun 27, 2013 8:57 am
Forum: Vensim
Topic: Custom tables: operation with variables
Replies: 5
Views: 5164

Re: Custom tables: operation with variables

Not about operations but custom tables.... If I use just :table table1 :comline Population :var population without specifying any dataset but loading more runs, only the values of the first run are shown. I can't know if more runs will be loaded, thus I don't want to use che :DATASET dataset key. Wh...
by apix
Wed Jun 19, 2013 11:12 am
Forum: Vensim
Topic: Custom tables: operation with variables
Replies: 5
Views: 5164

Custom tables: operation with variables

Hi, I'd like to show the variation of value for a selected variable for the first two loaded runs. Maybe I can use a custom table. is it possible, in a custom table, to show the difference of values of two loaded runs for the selected variable? Something like :VAR varname &*1 - varname & *2 ...
by apix
Mon Jun 10, 2013 4:05 pm
Forum: Vensim
Topic: Suppressing warnings in Venapp
Replies: 1
Views: 2417

Suppressing warnings in Venapp

Hi,

I know the command

Code: Select all

SETTING>SHOWWARNING|n
but it doesn't suppress the message
Only the first 16 of xx shown in the graph.
Can I suppress such kind of warning?

Many thanks.
by apix
Tue Apr 30, 2013 3:43 pm
Forum: Vensim
Topic: Load CIN and external data
Replies: 9
Views: 9053

Re: Load CIN and external data

I load data with SIMULATE>ADDDATA|?&SPECIAL>CLEARRUNS (the clearruns command is necessary to not see the loaded data as a loaded run) In fact, they don't interact, as I was afraid of. When I load the cin file with SIMULATE>READCIN|?Changes file , only Constants take the right values, while the e...
by apix
Fri Apr 26, 2013 11:02 am
Forum: Vensim
Topic: Load CIN and external data
Replies: 9
Views: 9053

Re: Load CIN and external data

That means, I have to reset the data list, before loading the cin file?
With a void list of data, the cin file will load its own list, including the external data of the policy?
by apix
Fri Apr 26, 2013 10:58 am
Forum: Vensim
Topic: Venapp and External function - passing variable
Replies: 18
Views: 18518

Re: Venapp and External function - passing variable

Just a confirmation: I loaded a model by a Venapp interface. In parallel I ran a programm that uses the DLL. Can the second programm, trhough the DLL, ask for info (vensim_get_info) on the model loaded by the Venapp interface? (For example, I'd like to get the names of the currently loaded runs, inf...
by apix
Fri Apr 26, 2013 9:42 am
Forum: Vensim
Topic: Load CIN and external data
Replies: 9
Views: 9053

Re: Load CIN and external data

After having loaded the cin file and run the simulation, the outputs show that external data were'nt loaded. Some variables have default values. Some policies let the user change such values by loading an external vdf file. The outputs correspond to the default values, not to the data relative to th...