Search found 1107 matches

by bob@vensim.com
Wed Nov 24, 2010 4:43 pm
Forum: Vensim
Topic: Printing problem on 5.10.b
Replies: 9
Views: 5975

This seems to be a scaling issue. With a 600 dpi printer I also get blanks. I have things working at 300 and 600 now, so probably you will get better results on the next rev. If you want to try it out ahead of time drop me an email.
by bob@vensim.com
Wed Nov 24, 2010 10:40 am
Forum: Vensim
Topic: External Function
Replies: 20
Views: 11010

The external function version changed with 5.10d. You will need to rebuild it with the new vensim.h file that comes with 5.10d. If this is the problem you should be getting an error message about external function version mismatch. Are you?
by bob@vensim.com
Tue Nov 23, 2010 12:09 pm
Forum: Vensim
Topic: Application Distribution
Replies: 6
Views: 4335

It is true you don't need to write the path for the model, Vensim will always open the .vpa file from which the application was extracted. But I guess I still don't understand what is happening in your case. When you say put the java files do you just mean the .jar file or are there additional files...
by bob@vensim.com
Tue Nov 23, 2010 11:11 am
Forum: Vensim
Topic: Allocate Available
Replies: 2
Views: 2463

Actually, thus functionality will be available in 5.10e which should be out in early December. If you would like to get access to an engineering release with this send me an email.
by bob@vensim.com
Tue Nov 23, 2010 11:09 am
Forum: Vensim
Topic: External Function
Replies: 20
Views: 11010

right click on Vensim and select run as administrator. If that allows you to use your external function dll it is an access control issue. You will need to get a manifest setitng the DLL to asInvoker - this is pretty straightforward to do using Visual Studio 2010, otherwise you will need to the mani...
by bob@vensim.com
Mon Nov 22, 2010 2:31 pm
Forum: Vensim
Topic: Printing problem on 5.10.b
Replies: 9
Views: 5975

I testing everything again on OSX 10.6 using a HP OfficeJet G85 and printing works as expected. If you let me know what OSX version and printer you are using I can try to take a look, though it is unlikely I would be able to match the exact configuration. If it is possible for you to update your pri...
by bob@vensim.com
Mon Nov 22, 2010 10:34 am
Forum: Vensim
Topic: Application Distribution
Replies: 6
Views: 4335

Interesting behavior on .jar - what operating system are you on?

Yes you need to have either DSS or the Model Reader installed. The DLL is part of those applications, it is not available under a separate license.
by bob@vensim.com
Mon Nov 22, 2010 10:31 am
Forum: Vensim
Topic: External Function
Replies: 20
Views: 11010

If VENSIM.DLL is a file that you created and that was working on your previous computer it should still work under Windows 7. There might, however, be a permissions issue. Make sure that the current user has permissions to work with this file. It is also possible that it is being blocked as a potent...
by bob@vensim.com
Mon Nov 22, 2010 10:24 am
Forum: Vensim
Topic: Need help on sensitivity analysis of allocation priority
Replies: 5
Views: 3778

Look at my previous reply. You can not use a subscript range in the sensitivity control file, only subscript constants. So you will need to specify each element of Allocation Priority in a separate column. Since you have one and two that will require a total of 8 columns. If you only want to change ...
by bob@vensim.com
Sun Nov 21, 2010 10:39 am
Forum: Vensim
Topic: Need help on sensitivity analysis of allocation priority
Replies: 5
Views: 3778

You will need to specify the subscripts you want to change explicitly as in

Test Var1[One] Test Var1[Two] Flow res Allocation Priority[One,ppriority] Allocation Priority[One,ppriority] Allocation Priority[Two,ppriority
10 2 10 1 2 1
8 5 12 1 1 1

and so on
by bob@vensim.com
Sun Nov 21, 2010 10:31 am
Forum: Vensim
Topic: Application Distribution
Replies: 6
Views: 4335

Actually you have set things up correctly and if the jar file is extracted it should get launched. You should have one of the people you sent it to double click on the extracted jar file. I suspect they have not got their computers set up to have this automatically launch Java. If it does not they c...
by bob@vensim.com
Fri Nov 19, 2010 11:14 am
Forum: Vensim
Topic: Saving VGD definition of sensitivity graph
Replies: 1
Views: 1937

The sensitivity graph tool does not have a custom form. The GRAPH tool can, however, be used to display sensitivity results. See Chapter 15 of the Reference Manual for details on this. You will need to edit the .vgd file directly.
by bob@vensim.com
Wed Nov 17, 2010 12:47 pm
Forum: Vensim
Topic: external function / constant matrices
Replies: 10
Views: 6312

If you call vensim_get_varoff you can find the offset in the computational vector (VENGV->LEVEL) and you can compare this with the address passed by a self looping function to determine what variable is being computed. You can probably get this to work, but it will take some experimentation and effo...
by bob@vensim.com
Wed Nov 17, 2010 12:41 pm
Forum: Vensim
Topic: Call vensim
Replies: 91
Views: 52235

It looks like the strings being passed to the DLL are no longer valid. The DLL is getting "°‡ " instead of "SPECIAL>LOADMODEL..." Make sure that the string being passed is a null terminated single byte string with UTF8 encoding (or simply ASCII).
by bob@vensim.com
Wed Nov 17, 2010 12:36 pm
Forum: Vensim
Topic: allocation error
Replies: 3
Views: 3029

There is a numerical issue here. The width and priorities need to be the same order of magnitude or the results won't make sense. We will put in a change to throw a nonconvergance message in this case. The fix is to bound the inputs to be of the same order of magnitude (eg all from 0 to 1000).
by bob@vensim.com
Mon Nov 15, 2010 10:24 am
Forum: Vensim
Topic: external function / constant matrices
Replies: 10
Views: 6312

the CONSTANT_MATRIX structure has in it the number of rows and columns requested. If you look at the example you will see how these are filled in. You can only have 2 subscripts varying so use the 'string' to specify which block of numbers is being requested. This is actually the same as the way GET...
by bob@vensim.com
Sun Nov 14, 2010 12:00 pm
Forum: Vensim
Topic: Autocalibration
Replies: 5
Views: 4146

you need to specify current1 as the source dataset. Either from the advanced tab of the simulation control dialog or at the third step if using the wizard.
by bob@vensim.com
Fri Nov 12, 2010 7:45 pm
Forum: Vensim
Topic: single/double precision - external dll
Replies: 18
Views: 9950

Hi Etam, I belatedly realized that my example was not correct, I need to delay the inputs, then take the difference. There results are different. So you are right the DELAY... functions are truncating. That is a bug and will be fixed for the next release. It is also true that values brought in via G...
by bob@vensim.com
Fri Nov 12, 2010 11:41 am
Forum: Vensim
Topic: After update to 5.10 c error msg for random function
Replies: 5
Views: 4214

Actually there is no way the values you give should be causing problems - look for a typo in the random equation, or perhaps the equation for x bar. For example if x bar is 0 then you will get this message since 0 is most likely never drawn on a normal variable and Vensim gives up after 2000 tries.
by bob@vensim.com
Fri Nov 12, 2010 11:31 am
Forum: Vensim
Topic: single/double precision - external dll
Replies: 18
Views: 9950

cin file
by bob@vensim.com
Fri Nov 12, 2010 11:30 am
Forum: Vensim
Topic: single/double precision - external dll
Replies: 18
Views: 9950

it is not DELAY FIXED - see the attached model and (in next message) .cin file - you should see difference go from -5 to 12.
by bob@vensim.com
Thu Nov 11, 2010 12:42 pm
Forum: Vensim
Topic: single/double precision - external dll
Replies: 18
Views: 9950

If you enter something like 12345678912 into a model equation that will be truncated to a single precision number, as that is the way it is stored internally within the model. To get more precision going in you will need to use a .cin file. This will be read as a simulation sets up and will be retai...
by bob@vensim.com
Wed Nov 10, 2010 10:45 am
Forum: Vensim
Topic: Empty LISTVAR
Replies: 10
Views: 5604

You need to look at the equation for FINAL TIME. Normally this is a constant, but many models, especially project models, make this a variable. If it is not a constant you won't be able to change it. I would not recommend making FINAL TIME a game variable. A more useful question might be why you wou...
by bob@vensim.com
Mon Nov 08, 2010 11:42 am
Forum: Vensim
Topic: Empty LISTVAR
Replies: 10
Views: 5604

The message occurs when the variable referred to is not a constant (or a gaming variable in game mode)
by bob@vensim.com
Wed Nov 03, 2010 1:52 pm
Forum: Vensim
Topic: Can I change model settings in a Venapp?
Replies: 4
Views: 3529

I can't think of a way to do this now, but it is a good idea. We will look into adding the capability.