Search found 4615 matches
Re: pulse
The problem is with the "rate" parameter. At t=0, it has a value of -2, so the equation inside the level actually adds 2 to the stock. It might help if you explain what you want to achieve here and maybe we can point you in the right direction. It's also a very good idea to add units to yo...
Re: 1 Gig-VDF
ok, I've managed to replicate this by doing things too quickly (pressing the go button twice).
I'll see if I can produce a fix as it should be possible to wait until the database commands have finished before allowing a 2nd click.
Tony.
I'll see if I can produce a fix as it should be possible to wait until the database commands have finished before allowing a 2nd click.
Tony.
- Thu Apr 04, 2013 11:12 am
- Forum: Vensim
- Topic: Reliability and validity along with reality check option
- Replies: 29
- Views: 46775
Re: Reliability and validity along with reality check option
There is a section in the help system on integration,
http://www.vensim.com/documentation/ind ... ration.htm
It's best if you run the experiments yourself. Try opening the model and clicking Model->Reform/Clean and then run the sensitivity tests.
http://www.vensim.com/documentation/ind ... ration.htm
It's best if you run the experiments yourself. Try opening the model and clicking Model->Reform/Clean and then run the sensitivity tests.
Re: 1 Gig-VDF
I'm working on the assumption that it's reading/writing by Vensim at the same time that is causing problems. It's difficult to replicate though (but I am trying).
Re: 1 Gig-VDF
Thanks, I have it.
How many users do you have? I'll set up an experiment here.
My guess is that one copy of Vensim is read/writing at the same time to/from the database which is causing problems.
How many users do you have? I'll set up an experiment here.
My guess is that one copy of Vensim is read/writing at the same time to/from the database which is causing problems.
- Mon Apr 01, 2013 3:47 pm
- Forum: Vensim
- Topic: Reliability and validity along with reality check option
- Replies: 29
- Views: 46775
Re: Reliability and validity along with reality check option
We will need to be able to recreate the runs, so we need the model and sensitivity files you are using.
Tony.
Tony.
- Sat Mar 30, 2013 4:46 pm
- Forum: Vensim
- Topic: X-Y plot not X-t
- Replies: 9
- Views: 9088
Re: X-Y plot not X-t
Using custom graphs you can set the x axis to something different.
http://www.vensim.com/documentation/ind ... custom.htm
http://www.vensim.com/documentation/ind ... custom.htm
Re: 1 Gig-VDF
I've got the model running now.
Is there any particular changes to the database that cause the large VDF?
And can you email me the output.vdo file, it may be that it has not finished writing to the database and that is causing the problem.
Tony.
Is there any particular changes to the database that cause the large VDF?
And can you email me the output.vdo file, it may be that it has not finished writing to the database and that is causing the problem.
Tony.
Re: 1 Gig-VDF
Thanks for the SQL. I did try replying via email to say thanks, but got an "undelivered" message.
Tony.
Tony.
- Thu Mar 21, 2013 2:05 pm
- Forum: Vensim
- Topic: How to get the List of dataset loaded for simulation
- Replies: 4
- Views: 3230
Re: How to get the List of dataset loaded for simulation
Try the following. The string you are passing to Vensim was zero length ("") but you are telling Vensim that it is 500 chars long. Public Declare Function vensim_get_info Lib "vendll32.dll" (ByVal infowanted As Short, ByVal buf$, ByVal maxbuflen As Short) As Short Dim nMaxStringL...
- Thu Mar 21, 2013 11:01 am
- Forum: Vensim
- Topic: How to get the List of dataset loaded for simulation
- Replies: 4
- Views: 3230
Re: How to get the List of dataset loaded for simulation
vensim_get_info is what you need,
http://www.vensim.com/documentation/ind ... ?26200.htm
http://www.vensim.com/documentation/ind ... ?26200.htm
Re: 1 Gig-VDF
It seems that final time has been corrupted somehow.
I'll try and set up an experiment here to see if I can reproduce the error. Are you able to email me (vensim@vensim.com) the SQL dump for the table that is read via ODBC?
I'll try and set up an experiment here to see if I can reproduce the error. Are you able to email me (vensim@vensim.com) the SQL dump for the table that is read via ODBC?
Re: 1 Gig-VDF
I cannot see anything in the model that causes concern.
What size is one of the error runs when you zip it? If small, can you upload it?
What size is one of the error runs when you zip it? If small, can you upload it?
- Sat Mar 16, 2013 1:00 pm
- Forum: Vensim
- Topic: Data and graph not reconciling
- Replies: 3
- Views: 2339
Re: Data and graph not reconciling
Everything looks fine to me with the graphs here. Try plotting them in Excel, you will see the graphs look the same. Have a look at the attached model. I think it is what you are trying to achieve. All I've done is fixed the unit errors (it is vital your model passes this basic test) and reduced the...
- Wed Mar 13, 2013 11:14 pm
- Forum: Vensim
- Topic: How can I do a cumulative sum?
- Replies: 7
- Views: 4352
Re: How can I do a cumulative sum?
Sorry, I should have written
subscript i ID = i
This is a new parameter. It is basically the value of i so that it can be used in the sum calculation.
subscript i ID = i
This is a new parameter. It is basically the value of i so that it can be used in the sum calculation.
Re: 1 Gig-VDF
Check the value of FINAL TIME as well.
For a normal simulation, the results VDF file will be compressed. For games, they are not and so can get really large if FINAL TIME is set to a silly number (the file is created large enough to store all vals at all time steps).
Hope this makes sense.
Tony.
For a normal simulation, the results VDF file will be compressed. For games, they are not and so can get really large if FINAL TIME is set to a silly number (the file is created large enough to store all vals at all time steps).
Hope this makes sense.
Tony.
- Wed Mar 13, 2013 7:00 pm
- Forum: Vensim
- Topic: How can I do a cumulative sum?
- Replies: 7
- Views: 4352
Re: How can I do a cumulative sum?
The following should work (sorry, I don't have time to test it right now).
Code: Select all
subscript i ID = i
v*[i] = sum ( if then else ( subscript i ID[i!] <= i , vector[i!] , 0 ) )
- Tue Mar 12, 2013 3:17 pm
- Forum: Vensim
- Topic: Error: Nothing Selected
- Replies: 6
- Views: 4160
Re: Error: Nothing Selected
I have no trouble moving the level around.
Can you explain step by step what you do so I can try the same steps here?
What other software do you have installed that might be monitoring the mouse/windows?
Can you explain step by step what you do so I can try the same steps here?
What other software do you have installed that might be monitoring the mouse/windows?
- Tue Mar 12, 2013 12:55 pm
- Forum: Vensim
- Topic: Error: Nothing Selected
- Replies: 6
- Views: 4160
Re: Error: Nothing Selected
Can you upload your model and give us instructions on exactly what you are doing?
And if you are using DSS, can you please put your serial number in your profile.
Tony.
And if you are using DSS, can you please put your serial number in your profile.
Tony.
- Tue Mar 12, 2013 9:59 am
- Forum: Vensim
- Topic: Error: Nothing Selected
- Replies: 6
- Views: 4160
Re: Error: Nothing Selected
Your profile mentions that you use PLE.
Are you trying to move something that is on a template view? Make sure "View->Use Template" is unticked and see if the problem goes away.
Tony.
Are you trying to move something that is on a template view? Make sure "View->Use Template" is unticked and see if the problem goes away.
Tony.
- Mon Mar 11, 2013 12:34 pm
- Forum: Vensim
- Topic: initial problems
- Replies: 2
- Views: 1888
Re: initial problems
If you edit your vensim.ini (or venple.ini) file and change the entries for the equation editor size to the following, it should be ok.
EqedDim1=0,42,922,629,
EqedDim2=0,,,,
You can find vensim.ini at
%APPDATA%\vensim\vensim.ini
%APPDATA%\vensim\venple.ini
EqedDim1=0,42,922,629,
EqedDim2=0,,,,
You can find vensim.ini at
%APPDATA%\vensim\vensim.ini
%APPDATA%\vensim\venple.ini
- Fri Mar 08, 2013 5:49 pm
- Forum: Vensim
- Topic: How to use the SETTING> comand to get the Initial Time
- Replies: 2
- Views: 2523
Re: How to use the SETTING> comand to get the Initial Time
Use vensim_get_val to get initial and final time values.
To set them, use vensim_command, the command should be "SIMULATE>SETVAL|INITIAL TIME = 999"
To set them, use vensim_command, the command should be "SIMULATE>SETVAL|INITIAL TIME = 999"
Re: lookup
Is this what you mean?
Code: Select all
lookup table ( (1,8) , (2,6) )
lookup result = lookup table ( time )
Re: lookup
Try this (you will need to add more x/y pairs if you want a lookup for every time in the model).
Code: Select all
lookup table ( (1,8) , (2,6) )
- Wed Mar 06, 2013 9:44 am
- Forum: Sable
- Topic: multi-graph and simulationrun
- Replies: 1
- Views: 10918
Re: multi-graph and simulationrun
Tab control. Create as many tabs as you want using the properties page. Then select the tab and drop controls on it in the same way you do any screen. Each tab is like an embedded mini screen. To name a run, create a button, and execute the venapp command SIMULATE>RUNNAME|? To load/unload runs, crea...