Search found 23 matches

by John Swanson
Wed Nov 04, 2020 2:30 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

It's resolved. I installed a newer version, V8.1.2, and it all works. Quite a relief.
by John Swanson
Tue Nov 03, 2020 10:34 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

Presumably Tools>Options>Settings>Warnings>Display is already on, though it's worth checking. - Yes, I checked and it's on. You could also check Windows>Error History. Both are long shots though. - There's nothing there I assume you don't have SPECIAL>NOINTERACTION in your script header. - Correct I...
by John Swanson
Tue Nov 03, 2020 4:09 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

No, the warnings window doesn't open. There's nothing. No message boxes hidden behind the main view, etc.
by John Swanson
Tue Nov 03, 2020 1:06 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

Thank you for the ! (!) Unfortunately the missing Excel data thing was a red herring. If I run the command file with 8 model runs in it, only 4 run and it stops. If I try again, having made no changes, it won't run at all. I tried deleting the vdf files it generated, but the result is the same - I g...
by John Swanson
Mon Nov 02, 2020 9:52 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

Thanks Tom. Yes, this would normally generate an error message in a single simulation. It would be helpful if Vensim didn't suppress it.
I'm using GET DIRECT already. It's faster and safer.
By the way, I can't see how to put comments in a cmd file. If anyone knows, please tell me!
by John Swanson
Sun Nov 01, 2020 10:23 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

I might have found the cause. Missing value in a cell in one of the input spreadsheets. It seems to be running, after correcting that. My problem now is how that happened - the data value was there earlier. But it would be useful if Vensim generated an error message when that happens.
by John Swanson
Sun Nov 01, 2020 6:13 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

By the way, I have a much smaller model that I used to test the cmd files before using them with the big model. This runs fine. SPECIAL>LOADMODEL|check initial conditions.mdl SIMULATE>SPREADALIAS|?Main data file=NSIM Inptdata.xlsm SIMULATE>RUNNAME|check1 MENU>RUN|O MENU>VDF2TAB|check1.vdf|check1.tab...
by John Swanson
Sun Nov 01, 2020 6:08 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

It says 'Parsed OK. Analysing the equations.' Then nothing more happens. The model remains loaded and open.
by John Swanson
Sun Nov 01, 2020 5:31 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Re: Problem with a COMMAND file that stopped working

There are no messages. Nothing happens, after the parsing message.
by John Swanson
Sun Nov 01, 2020 3:55 pm
Forum: Vensim
Topic: Problem with a COMMAND file that stopped working
Replies: 16
Views: 15550

Problem with a COMMAND file that stopped working

I set up a command file to batch run a sequence of model runs. It loads the model, uses ?alias to choose which input files to use, runs the model and exports to a TAB file. I tested it with two sequential runs, and it was fine, so I stacked up 16 runs and ran it. It stopped after the first four. I p...
by John Swanson
Tue Jan 15, 2019 5:24 pm
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 14049790

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

I've mentioned this before, but here goes. I have a large model that includes matrices of travel movements. It uses zone names as array subscripts, and I use EQUIVALENCE so that I can refer to arrays like this: TRIPS[livezone, workzone] - livezone and workzone are equivalenced to the same list of zo...
by John Swanson
Wed Aug 26, 2015 3:29 pm
Forum: Vensim
Topic: Looking for someone with Forio experience
Replies: 1
Views: 2961

Looking for someone with Forio experience

Possibly slightly off-topic, but I'm setting up a fairly large Vensim model on Forio, and need help from someone who has experience with Forio. The task would be to support me and our web design team in getting the model operating. Our offices are in London, and there's a modest budget available to ...
by John Swanson
Thu Jul 16, 2015 12:26 pm
Forum: Vensim
Topic: Problem with GET DIRECT CONSTANTS
Replies: 5
Views: 5975

Re: Problem with GET DIRECT CONSTANTS

OK, but the real subject of the post was that there seems to be a problem with GET DIRECT CONSTANTS in version 5.10.
John
by John Swanson
Wed Jul 15, 2015 2:38 pm
Forum: Vensim
Topic: Problem with GET DIRECT CONSTANTS
Replies: 5
Views: 5975

Re: Problem with GET DIRECT CONSTANTS

What long running bug problems? It took 15 months to get an acceptably working version of the 64 bit software. I first reported bugs in March last year. There were huge problems with its inability to read its own vdf64 files. I had to strip out large chunks of the model's reporting functionality to ...
by John Swanson
Tue Jul 14, 2015 10:32 am
Forum: Vensim
Topic: Problem with GET DIRECT CONSTANTS
Replies: 5
Views: 5975

Problem with GET DIRECT CONSTANTS

I'm in the process of adapting a large model for use in Forio. The model uses a lot of GET XLS CONSTANTS commands to read data from a spreadsheet with multiple tabs. Forio doesn't allow GET XLS CONSTANTS, but it can use GET DIRECT CONSTANTS, so I've replaced all the GET XLS commands with GET DIRECT....
by John Swanson
Tue Jun 02, 2015 2:34 pm
Forum: Vensim
Topic: Selective reporting of values in two dimensional arrays
Replies: 2
Views: 3505

Selective reporting of values in two dimensional arrays

I've got a large model that includes lots of arrays describing travel volumes between pairs of locations, or zones. There is a subscript called zones, which lists all the zone names, plus two others, called livezone and workzone, which are both equivalenced to zones. This means I can refer, in the m...
by John Swanson
Fri Apr 13, 2012 9:46 am
Forum: Vensim
Topic: What does this error message mean?
Replies: 5
Views: 6276

Re: What does this error message mean?

Tom - it doesn't give any number. All it says is: Insufficent memory for block allocation to be made. I think we've found a workaround. The input was read in from two vdf files, as Data type. However for these calculations we only need to know the results at the end of the simulation (we compare the...
by John Swanson
Thu Apr 12, 2012 10:04 am
Forum: Vensim
Topic: What does this error message mean?
Replies: 5
Views: 6276

Re: What does this error message mean?

It's a model we use to process the outputs (via a vdf) from a larger model. That's a big model of land and transport interactions, and because it has to use a lot of arrays, it uses lots of memory. The smaller model has relatively few equations, but still uses quite a lot of big arrays. The error oc...
by John Swanson
Wed Apr 11, 2012 5:23 pm
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 14049790

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

More memory (eg a 64 bit version). More informative error messages. A less techy look to it (I can't be very precise here, but ithink and Powersim both win on looks, if not technical capability) Tidy up the menu structures (eg why are 'model settings' and 'simulation control' in different places?) C...
by John Swanson
Wed Apr 11, 2012 5:12 pm
Forum: Vensim
Topic: What does this error message mean?
Replies: 5
Views: 6276

What does this error message mean?

Insufficient memory for block allocation to be made.

What is that telling me? What should I be looking for?
by John Swanson
Mon Apr 02, 2012 1:20 pm
Forum: Vensim
Topic: Large Vensim models and memory
Replies: 2
Views: 3667

Large Vensim models and memory

I have an unusually large vensim model, used for urban modelling. Because it uses zones to model large geographic areas it uses a lot of large arrays, and I have trouble with it hitting a maximum memory limit. I use 32 bit Windows 7 with 4GB RAM, which is the maximum RAM Win7 can use. The 64 bit ver...
by John Swanson
Wed Feb 16, 2011 1:30 pm
Forum: Vensim
Topic: A problem with V10e
Replies: 2
Views: 4546

Re: A problem with V10e

Tony - I'm on Windows 7. But to complicate things the IT department now coordinates software centrally, so I have to use the 'application virtualisation' (whatever that is) to get Vensim up and running. This didn't cause a problem before, when we were upgraded to Win7, but it's gone wrong now with t...
by John Swanson
Tue Feb 15, 2011 5:03 pm
Forum: Vensim
Topic: A problem with V10e
Replies: 2
Views: 4546

A problem with V10e

I just upgraded to Version 10e, and now I have problems. I have some external functions written in C++ and set up in an external function library. The library was identified in the Startup options menu, and everything used to work very smoothly. Now it refuses to work and I get this error: “External...