Search found 30 matches

by yobiman
Wed Jun 12, 2013 12:56 am
Forum: Vensim
Topic: Problem with Vensim Loading
Replies: 9
Views: 8768

Re: Problem with Vensim Loading

Nothing that I can think of.. Perhaps it is something more fundamental to the machine. I will rebuild it and see if the problem goes away
Many thanks for your help
Phil
by yobiman
Sun Jun 09, 2013 7:58 pm
Forum: Vensim
Topic: Problem with Vensim Loading
Replies: 9
Views: 8768

Re: Problem with Vensim Loading

I am using 5.10e in Windows 7
Phil
by yobiman
Thu Jun 06, 2013 8:19 pm
Forum: Vensim
Topic: Problem with Vensim Loading
Replies: 9
Views: 8768

Re: Problem with Vensim Loading

Many thanks Tom, I have renamed the ini files but still seem to have the same problem, which makes me suspect that something else has been corrupted. When I try to create a new model (or open vensim for the first time) the error message appears I am able to load existing models or for that matter ig...
by yobiman
Wed Jun 05, 2013 9:25 pm
Forum: Vensim
Topic: Problem with Vensim Loading
Replies: 9
Views: 8768

Re: Problem with Vensim Loading

Many thanks.. Unfortunately it didn't seem to work. I have two versions of vensim.ini on my machine. I wonder if this has something to do with it? Thanks Phil c:\windows\vensim.ini [vensim] Units1=$,Dollar,Dollars,$s Units2=Hour,Hours Units3=Month,Months Units4=Person,People,Persons Units5=Unit,Unit...
by yobiman
Wed Jun 05, 2013 6:35 pm
Forum: Vensim
Topic: Problem with Vensim Loading
Replies: 9
Views: 8768

Problem with Vensim Loading

Hi I have been using Vensim for many years. Recently my vensim installation seems to have become corrupted. When I load a new model I get a message "Unable to open 34:0,,,.mdl to read model". Vensim opens and can run simulations etc, but the graphing functionality doesn't work. I tried rei...
by yobiman
Wed Feb 13, 2013 1:05 am
Forum: Vensim
Topic: Vensim model for Diabetes
Replies: 4
Views: 5044

Re: Vensim model for Diabetes

Will do.
Thanks
Phil
by yobiman
Sat Feb 09, 2013 12:11 am
Forum: Vensim
Topic: Vensim model for Diabetes
Replies: 4
Views: 5044

Re: Vensim model for Diabetes

brilliant!
many thanks
Phil
by yobiman
Thu Feb 07, 2013 10:58 am
Forum: Vensim
Topic: Vensim model for Diabetes
Replies: 4
Views: 5044

Vensim model for Diabetes

My seven year old son has Type 1 diabetes and we are having a lot of challenges in regulating his blood/sugar levels. Given that we have heaps of measurement data, I was thinking that it might make sense to build an SD model to see if we can get a better understanding of what is going on. Wondering ...
by yobiman
Thu Feb 16, 2012 7:08 pm
Forum: Vensim
Topic: deleting runs with multicontext dll
Replies: 3
Views: 3670

Re: deleting runs with multicontext dll

Many thanks
Phil
by yobiman
Thu Feb 16, 2012 7:49 am
Forum: Vensim
Topic: deleting runs with multicontext dll
Replies: 3
Views: 3670

deleting runs with multicontext dll

Hi I am running a large number of simulations via a webservice using the multicontext dll. When I run the simulations for a while the number of ctxtxx folders grow and since my runs have a lot data, they each take up a lot of space. Is there a way of deleting the run data after I have had the opport...
by yobiman
Fri Feb 18, 2011 8:28 pm
Forum: Vensim
Topic: Loops in external functions
Replies: 2
Views: 3229

Re: Loops in external functions

Got it.. That makes sense

Thanks
Phil
by yobiman
Fri Feb 18, 2011 11:11 am
Forum: Vensim
Topic: Loops in external functions
Replies: 2
Views: 3229

Loops in external functions

Given that it is necessary to specify the number of loops in an external function. Is there a limit to the number of loops that an external function can have?

Many thanks
Phil
by yobiman
Thu Feb 17, 2011 8:24 am
Forum: Vensim
Topic: Using External Functions with the Multicontext DLL
Replies: 7
Views: 6772

Re: Using External Functions with the Multicontext DLL

OK that makes sense. What is required to get the multicontext dll upgraded?
Thanks
Phil
by yobiman
Wed Feb 16, 2011 10:47 pm
Forum: Vensim
Topic: Using External Functions with the Multicontext DLL
Replies: 7
Views: 6772

Re: Using External Functions with the Multicontext DLL

Many thanks, You're right, the problem was with the version of Vensim.h file I was using. When I went back to an earlier version (which had the correct External Function version number) it worked I suspect that the vendlstc.dll file that I am using is from an 5.10d or possibly earlier. Would that ca...
by yobiman
Wed Feb 16, 2011 11:11 am
Forum: Vensim
Topic: Using External Functions with the Multicontext DLL
Replies: 7
Views: 6772

Re: Using External Functions with the Multicontext DLL

The error log is recording the following error: External function version mismatch need version 5860 (got 51050) I have created a file called inifile.ini, which I have placed in the same directory as the .vpm model. The inifile.ini has the following line: ExternalFunctionLibrary=C:\wwwtr\vensimmodel...
by yobiman
Wed Feb 16, 2011 5:47 am
Forum: Vensim
Topic: Using External Functions with the Multicontext DLL
Replies: 7
Views: 6772

Using External Functions with the Multicontext DLL

I am trying implement several external functions while using the multicontext dll (vendlstc.dll). Currently the external function is not working and I suspect it is because I haven't linked my external function to the appropriate .lib file. In the script for the external function I see the following...
by yobiman
Sat Jan 15, 2011 4:04 am
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 13266262

Re: What improvements would you like to see in Vensim?

It would be helpful for me if external function integration was simplified - particularly for cases where loops (such as 'do while') are needed

Phil
by yobiman
Wed Sep 01, 2010 4:55 pm
Forum: Vensim
Topic: Error Function in External Function
Replies: 7
Views: 7065

Many thanks!
Phil
by yobiman
Tue Aug 31, 2010 7:09 pm
Forum: Vensim
Topic: Error Function in External Function
Replies: 7
Views: 7065

You're right I think that is the problem.. Looks like the easiest solution is to use a standard approximation

many thanks for your help

Phil
by yobiman
Tue Aug 31, 2010 4:20 pm
Forum: Vensim
Topic: Error Function in External Function
Replies: 7
Views: 7065

The error that I am getting is..

Error 7 error LNK2019: unresolved external symbol _erf referenced in function _ERF venext.obj venext6

Many thanks
Phil
by yobiman
Tue Aug 31, 2010 3:32 am
Forum: Vensim
Topic: Error Function in External Function
Replies: 7
Views: 7065

Error Function in External Function

I am trying to write a simple external function in venext.c to calculate the error function. I have added #include math.h in the declarations and tryed to use the erf() function. When I do this I get a compile error.
Would appreciate any assistance with this

Thanks
Phil
by yobiman
Thu Jun 04, 2009 9:12 am
Forum: Vensim
Topic: problems with VPM file being locked
Replies: 5
Views: 5091

Bob

I tried to used this command without success.. Is it for the multicontext version?
I do plan on buying this, but am testing on a local machine for now
by yobiman
Mon Jun 01, 2009 11:11 pm
Forum: Vensim
Topic: problems with VPM file being locked
Replies: 5
Views: 5091

Thanks Bob
What command do I use to close the context?
by yobiman
Sun May 31, 2009 12:50 am
Forum: Vensim
Topic: problems with VPM file being locked
Replies: 5
Views: 5091

problems with VPM file being locked

I am developing several programs that run a .VPM file via a Webservice interface. When I run the webservice and find an error in the underlying model, I am unable to republish the .VPM file. Basically the webservice seems to keep it locked up.. Is there any way I can unlock the file without restarti...
by yobiman
Fri May 15, 2009 3:45 am
Forum: Vensim
Topic: SIMULATE>SETVAL with subscripts
Replies: 2
Views: 2998

Thanks Bob, I upgraded to version 5.9 and it seems to be working now