Search found 3811 matches

by tomfid
Mon Apr 04, 2016 7:16 pm
Forum: Vensim
Topic: How can I add a scroll bar into Screen in Venapp?
Replies: 2
Views: 1999

Re: How can I add a scroll bar into Screen in Venapp?

As far as I recall, it's not possible to scroll the whole screen. An alternative might be to break the screen into several screens, with buttons implementing tab-like switching among them. That might be less overwhelming to the user, too.
by tomfid
Fri Apr 01, 2016 4:32 pm
Forum: Ventity
Topic: July - Ventity beta 1198 available
Replies: 6
Views: 5871

July - Ventity beta 1198 available

This version contains many improvements - it worked really well for us at the SD conference. See "What's New" in the Help system for details. You can download a copy of Ventity from http://vensim.com/ventity.html Feel free to share the link with your colleagues. Download approval is now au...
by tomfid
Thu Mar 31, 2016 5:25 pm
Forum: Ventity
Topic: cohort modeling examples
Replies: 21
Views: 15881

Re: cohort modeling examples

OK ... here's a solution. There's a glitch: it may not run until you get the next beta (which I'm uploading right now). When I built the original prototype for this, I shouldn't have put the top level in the Model entity, because that's a "singleton," i.e. there can be only one Model in a ...
by tomfid
Wed Mar 30, 2016 2:52 pm
Forum: Ventity
Topic: cohort modeling examples
Replies: 21
Views: 15881

Re: cohort modeling examples

I'll take a look ...
by tomfid
Mon Mar 21, 2016 2:08 pm
Forum: Vensim
Topic: Learn by Example? Batch processing
Replies: 12
Views: 5779

Re: Learn by Example? Batch processing

The next release will improve the export options a lot.
by tomfid
Mon Mar 21, 2016 2:03 pm
Forum: Vensim
Topic: Learn by Example? Batch processing
Replies: 12
Views: 5779

Re: Learn by Example? Batch processing

It's in the Help system:
https://www.vensim.com/documentation/sensitivity.htm
Specifically:
https://www.vensim.com/documentation/in ... tivity.htm

The File option does override the number of simulations specified.
by tomfid
Mon Mar 21, 2016 1:48 pm
Forum: Vensim
Topic: Accessing excel file after creating a new context w/ DLL
Replies: 2
Views: 1831

Re: Accessing excel file after creating a new context w/ DLL

Another option is to try symlinking the file in.

I think in some releases there may be a bug in the internal vpm context file management; you could contact us via email for the next build (imminent).
by tomfid
Thu Mar 17, 2016 1:03 pm
Forum: Vensim
Topic: Calibration in the user guide
Replies: 4
Views: 3440

Re: Calibration in the user guide

I think we can get you a copy of the Schweppe book for a lot less than $400. It's a good foundation, but not really practical. We've found that the conditions that permit Kalman filtering are rarely met in commercial work. I don't know of a good alternative. Maybe I should write one. The book I've l...
by tomfid
Wed Mar 16, 2016 8:45 pm
Forum: Vensim
Topic: Calibration in the user guide
Replies: 4
Views: 3440

Re: Calibration in the user guide

I haven't had a chance to go over the guide in detail, but here are some thoughts. The first variable has approximately a value of 50 and a given weight of 0.25 which gives a value weighted of 12.5 and the second has value of 200 millions and a weight of 30 / 100 millions which gives a value weighte...
by tomfid
Fri Mar 11, 2016 4:07 pm
Forum: Vensim
Topic: Unit error when using delay
Replies: 2
Views: 2034

Re: Unit error when using delay

The delay duration has units of months. When it's buried in an equation as a number (12), it's effectively dimensionless, so you need to pull it out as a named variable with units, which also has the benefit of exposing the assumption to testing. There were two other implicit parameters in the model...
by tomfid
Thu Mar 10, 2016 9:48 pm
Forum: Vensim
Topic: Program Won't Open
Replies: 9
Views: 4152

Re: Program Won't Open

Sorry it's eating up your time. I'm having a similar issue with Office 365 installation, and it's very frustrating. It's definitely not glitchy for everyone - we have thousands of new users each year, and this particular behavior hasn't come up before. To rename the .ini, start up a command window a...
by tomfid
Thu Mar 10, 2016 4:43 pm
Forum: Vensim
Topic: 64bit DLL declarations
Replies: 3
Views: 2145

Re: 64bit DLL declarations

If you use Vensim to inspect the _outputFileName vdf64, does it look OK? (That would help distinguish a dll data retrieval problem from a model execution/storage problem.)
by tomfid
Wed Mar 09, 2016 12:22 am
Forum: Vensim
Topic: How can I model temperature based on Month?
Replies: 4
Views: 2129

Re: How can I model temperature based on Month?

You could also flip things around and have one (time->temp) lookup for each latitude, if latitude is in discrete zones. VECTOR LOOKUP might be yet another option if you really need to customize the behavior. Note that you can extract the lookup data from a file with GET XLS or GET DIRECT, if it's al...
by tomfid
Wed Mar 09, 2016 12:18 am
Forum: Vensim
Topic: Delete unwanted units from the Lists
Replies: 7
Views: 3930

Re: Delete unwanted units from the Lists

I think the behavior differs if your model is an mdl or vmf. Either way, Model>Reform and Clean should force a unit cleanup.
by tomfid
Fri Feb 26, 2016 10:12 pm
Forum: Vensim
Topic: How to get max value of parameters from past timesteps
Replies: 3
Views: 1883

Re: How to get max value of parameters from past timesteps

You could use SAMPLE IF TRUE for that too.

If you're using PLE, so you don't have the function, you can store values in a stock. This imposes a delay of one TIME STEP for the integration, but it's not usually a problem.
by tomfid
Tue Feb 23, 2016 10:56 pm
Forum: Vensim
Topic: How to refer to an subscript
Replies: 8
Views: 6197

Re: How to refer to an subscript

VECTOR SELECT is another option. In many cases it should be a lot faster than an IF THEN ELSE statement, because it only visits the selected elements. However, I haven't tested to be sure, and it would only matter in a large model. Example: myRange : (r1-r22) active element[myRange] = 0,0,1,0,0,0,1,...
by tomfid
Fri Feb 19, 2016 2:21 pm
Forum: Vensim
Topic: Learn by Example? Batch processing
Replies: 12
Views: 5779

Re: Learn by Example? Batch processing

Option 1 gives you a set of named runs that are easier to work with. Option 2 runs very fast.

Some upgrades to this infrastructure are currently underway.
by tomfid
Fri Feb 19, 2016 2:18 pm
Forum: Vensim
Topic: Learn by Example? Batch processing
Replies: 12
Views: 5779

Re: Learn by Example? Batch processing

Generically, Option 1 - command script: ! set name and run SIMULATE>RUNNAME|run1 SIMULATE>SETVAL|const1=1.1 MENU>RUN|o ! export to a tab file, using same run name, appending an extra column with :! to add the run name to the description - makes results easy to use in a pivot table MENU>VDF2TAB|!|out...
by tomfid
Fri Feb 19, 2016 12:54 am
Forum: Vensim
Topic: Learn by Example? Batch processing
Replies: 12
Views: 5779

Re: Learn by Example? Batch processing

Also, for just 50 runs, the .dll is probably overkill - too much overhead, assuming you don't need to iterate or make conditional decisions.
by tomfid
Fri Feb 19, 2016 12:52 am
Forum: Vensim
Topic: Learn by Example? Batch processing
Replies: 12
Views: 5779

Re: Learn by Example? Batch processing

I think you could also do it using the Sensitivity File option. Do you have a sample of the input I could take a look at?
by tomfid
Fri Feb 12, 2016 2:32 pm
Forum: Vensim
Topic: Problems with a Vensim model
Replies: 9
Views: 5300

Re: Problems with a Vensim model

There may be one, like switching to a logarithmic space or scaling everything, but it's not obvious to me.
by tomfid
Thu Feb 11, 2016 2:44 pm
Forum: Vensim
Topic: Problems with a Vensim model
Replies: 9
Views: 5300

Re: Problems with a Vensim model

It's a numerical problem. For small sigma, your stock dynamics rely on compounding a very small number - on the order of 1e-44 for sigma=1.42. That's the threshold of failure - for sigma=1.41, the initial stock is ~1e-45, and the compounding fails because the inflow is then too small to add a signif...
by tomfid
Wed Feb 10, 2016 2:27 pm
Forum: Vensim
Topic: Merging two views
Replies: 3
Views: 2477

Re: Merging two views

One model or two?

Have you tried pasting in both modes (Picture and Replicate)?
by tomfid
Tue Feb 09, 2016 2:18 pm
Forum: Vensim
Topic: Problems with a Vensim model
Replies: 9
Views: 5300

Re: Problems with a Vensim model

I think it's an initialization problem. When mu=1, the density function looks OK, but the cumulative distribution never reaches 1. That's because the stock (Gaussian Density) is initialized to 0. But when x=0 (at time=0), the CDF should be greater than 0, because x=0 is already near the peak of the ...