Search found 4615 matches

by Administrator
Thu Apr 11, 2013 6:42 am
Forum: Vensim
Topic: pulse
Replies: 2
Views: 2147

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...
by Administrator
Thu Apr 04, 2013 1:52 pm
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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.
by Administrator
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.
by Administrator
Wed Apr 03, 2013 11:19 am
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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).
by Administrator
Tue Apr 02, 2013 9:07 am
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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.
by Administrator
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.
by Administrator
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
by Administrator
Fri Mar 22, 2013 1:06 pm
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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.
by Administrator
Thu Mar 21, 2013 7:16 pm
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

Re: 1 Gig-VDF

Thanks for the SQL. I did try replying via email to say thanks, but got an "undelivered" message.

Tony.
by Administrator
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...
by Administrator
Wed Mar 20, 2013 5:03 pm
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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?
by Administrator
Mon Mar 18, 2013 11:32 am
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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?
by Administrator
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...
by Administrator
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.
by Administrator
Wed Mar 13, 2013 8:14 pm
Forum: Vensim
Topic: 1 Gig-VDF
Replies: 17
Views: 6687

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.
by Administrator
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 ) )
by Administrator
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?
by Administrator
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.
by Administrator
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.
by Administrator
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
by Administrator
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"
by Administrator
Fri Mar 08, 2013 5:47 pm
Forum: Vensim
Topic: lookup
Replies: 6
Views: 3946

Re: lookup

Is this what you mean?

Code: Select all

lookup table ( (1,8) , (2,6) )

lookup result = lookup table ( time )
by Administrator
Fri Mar 08, 2013 1:36 pm
Forum: Vensim
Topic: lookup
Replies: 6
Views: 3946

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) )
by Administrator
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...