Search found 3811 matches

by tomfid
Wed May 25, 2016 6:02 pm
Forum: Vensim
Topic: SIMULTANEOUS FUNCTION DOES NOT WORK!
Replies: 8
Views: 4742

Re: SIMULTANEOUS FUNCTION DOES NOT WORK!

If you forget about the simultaneity and eliminate some conditions, the first equation simplifies to: "EXTRACTION RATE(Tpy)"=MIN( MINEABLE RESERVES*"1/year" , "TONS OF ORE MINING RATE(Tpy)"+"TONS OF STOCKPILE(Tpy)"+"TONS OF WASTE MINING RATE(Tpy)"+&q...
by tomfid
Wed May 25, 2016 5:50 pm
Forum: Vensim
Topic: SIMULTANEOUS FUNCTION DOES NOT WORK!
Replies: 8
Views: 4742

Re: SIMULTANEOUS FUNCTION DOES NOT WORK!

A diagram would help, too. It's not obvious why this should involve a simultaneity in the first place.
by tomfid
Wed May 25, 2016 5:43 pm
Forum: Vensim
Topic: SIMULTANEOUS FUNCTION DOES NOT WORK!
Replies: 8
Views: 4742

Re: SIMULTANEOUS FUNCTION DOES NOT WORK!

Can you post the model, or a submodel that illustrates the problem?

What exactly do you mean by "got no results"? Does the simulation generate a dataset? Does it have values for other variables? Are you using a savelist?
by tomfid
Tue May 10, 2016 5:25 pm
Forum: Ventity
Topic: Ventity 1.0 (beta) 64 bit lacks help files
Replies: 5
Views: 5664

Re: Ventity 1.0 (beta) 64 bit lacks help files

We've replicated the problem. We'll get a fix released ASAP.
by tomfid
Tue May 10, 2016 4:39 pm
Forum: Ventity
Topic: Ventity 1.0 (beta) 64 bit lacks help files
Replies: 5
Views: 5664

Re: Ventity 1.0 (beta) 64 bit lacks help files

Actually, I'd encourage you to seek help early, rather than wasting time trying to solve a problem that may have an existing answer. Also, if you don't, we never find out about these things.
by tomfid
Mon May 09, 2016 12:19 pm
Forum: Ventity
Topic: Ventity 1.0 (beta) 64 bit lacks help files
Replies: 5
Views: 5664

Re: Ventity 1.0 (beta) 64 bit lacks help files

What Windows version are you on?
by tomfid
Thu May 05, 2016 3:28 pm
Forum: Vensim
Topic: Vensim's confidence interval estimation (likelihood ratios)
Replies: 10
Views: 8520

Re: Vensim's confidence interval estimation (likelihood rati

I'd start with https://www.vensim.com/documentation/usr18.htm

A lot has changed since Dogan's paper, including the introduction of MCMC, which is the preferred way to do confidence bounds in many cases.
https://www.vensim.com/documentation/mcmc_sa.htm
by tomfid
Sat Apr 30, 2016 12:41 pm
Forum: Vensim
Topic: Achieving a goal within the specified time
Replies: 4
Views: 2649

Re: Achieving a goal within the specified time

Two options: - You can create a TIME BASE https://www.vensim.com/documentation/index.html?22120.htm https://www.vensim.com/documentation/fn_time_base.htm , and use that as the time axis https://www.vensim.com/documentation/index.html?timeaxis.htm . - You can use the date features of the time bounds ...
by tomfid
Fri Apr 29, 2016 11:06 pm
Forum: Vensim
Topic: is the powell alorithm the problem
Replies: 12
Views: 4785

Re: is the powell alorithm the problem

Great - that's what we like to hear!
by tomfid
Fri Apr 29, 2016 10:51 pm
Forum: Vensim
Topic: Table view of the results of Montecarlo simulations
Replies: 4
Views: 2814

Re: Table view of the results of Montecarlo simulations

Use Model>Export Dataset... - if you choose a sensitivity run, you will be asked whether you want to export the sensitivity results. They'll go to a tab-delimited file, but Excel can read that easily. The content of the file will be governed by the .lst file that you used when you ran the simulation...
by tomfid
Fri Apr 29, 2016 4:30 pm
Forum: Vensim
Topic: Table view of the results of Montecarlo simulations
Replies: 4
Views: 2814

Re: Table view of the results of Montecarlo simulations

The export options will be considerably enhanced in the forthcoming 6.4 release.
by tomfid
Fri Apr 29, 2016 12:38 pm
Forum: Vensim
Topic: is the powell alorithm the problem
Replies: 12
Views: 4785

Re: is the powell alorithm the problem

For the moment, you'll have to edit your .vpd file. If you have: *P product/1 just change it to *PF product/1 In 6.4 (release imminent) this will be integrated into the dialogs. Another option would be to create a special variable, like: final product = IF THEN ELSE( time < FINAL TIME, 0, product ) ...
by tomfid
Thu Apr 28, 2016 3:54 pm
Forum: Vensim
Topic: is the powell alorithm the problem
Replies: 12
Views: 4785

Re: is the powell alorithm the problem

I haven't looked at the model, but two thoughts: - It could be getting trapped in a local optimum. The Random Multistart option should take care of that, as long as there aren't too many. - Be aware that the payoff accumulates a flow. It doesn't measure the endpoint (unless you use the *PF option, w...
by tomfid
Wed Apr 27, 2016 8:07 pm
Forum: Vensim
Topic: Achieving a goal within the specified time
Replies: 4
Views: 2649

Re: Achieving a goal within the specified time

A continuous goal-seeking formulation like the one you describe will never reach 100% completion, because the goal achievement rate is always some fraction of the remaining gap, leaving a small fraction yet to do. For (EV- EV adopters)/POLICYTIMELINE, the time constant of the process is POLICYTIMELI...
by tomfid
Sat Apr 23, 2016 3:39 pm
Forum: Vensim
Topic: TIME STEP FUNCTION
Replies: 7
Views: 5312

Re: TIME STEP FUNCTION

I think, generically, your strategy could be something like: Phase a start = 3 Phase a duration = 4 Phase b start = INITIAL(Phase a start+phase a duration + TIME STEP) ~ time step is optional to prevent concurrence of a & b Phase b duration = 5 Phase a is started = STEP(1,Phase a start) Phase a ...
by tomfid
Tue Apr 19, 2016 2:19 pm
Forum: Vensim
Topic: Lookup over time with subscripts
Replies: 13
Views: 9050

Re: Lookup over time with subscripts

Good solution. The VECTOR operations are computationally expensive if you only need the min or max element.
by tomfid
Mon Apr 18, 2016 7:48 pm
Forum: Vensim
Topic: Lookup over time with subscripts
Replies: 13
Views: 9050

Re: Lookup over time with subscripts

You want VECTOR REORDER with SORT ORDER. See the example in https://www.vensim.com/documentation/fn ... eorder.htm
by tomfid
Mon Apr 18, 2016 5:15 pm
Forum: Vensim
Topic: Modelling a stock with a time constraint
Replies: 2
Views: 2173

Re: Modelling a stock with a time constraint

I think you want a stock subscripted by day, with a switch to indicate whether the day is still bookable. Something like: Day : (Aug 1 - Aug 31) Day Date = INITIAL(Day*One Day) {where one day is just to get the units straight} Flight is bookable[Day] = IF THEN ELSE( Time <= Day Date, 1, 0) Seats Boo...
by tomfid
Mon Apr 18, 2016 5:08 pm
Forum: Vensim
Topic: Lookup over time with subscripts
Replies: 13
Views: 9050

Re: Lookup over time with subscripts

You're on the right track; the only problem is that your lookup definition uses the subscript range name twice. If you want a different lookup for each element, you need to use the individual element names, like: MyRange : a, b MyLookup[a] [(2015,0)-(2020,4000)],(2015,1000),(2016,1500),(2017,2000),(...
by tomfid
Tue Apr 12, 2016 10:43 pm
Forum: Ventity
Topic: A problem with attributes
Replies: 2
Views: 3702

Re: A problem with attributes

Your workaround is correct. However, you have found a bug.

It's true that a flow with a non-constant expression can't be given a fixed initial value, but in your example the constant flow expression should be settable. I've put in a ticket for a fix.
by tomfid
Tue Apr 12, 2016 10:38 pm
Forum: Vensim
Topic: Chosing a random variable from an XLS data sheet
Replies: 4
Views: 2692

Re: Chosing a random variable from an XLS data sheet

Two options: To sample only the particular demand points you have, put them in a lookup, where the x-axis is the integer number of the point, like: Demand Lookup x: 1, 2, 3, 4, ..., N y: 32, 17, 39, 24, ..., 29 Then pick an integer and use that with the lookup: Demand Index = INTEGER( RANDOM UNIFORM...
by tomfid
Tue Apr 12, 2016 10:23 pm
Forum: Vensim
Topic: Lookup used with dimensioned argument
Replies: 4
Views: 4715

Re: Lookup used with dimensioned argument

See https://www.vensim.com/documentation/in ... ?22280.htm

You can ignore the warning, or suppress it by dividing time by a unit conversion factor (e.g., time/one year). Or, convert your lookup to time series data.
by tomfid
Mon Apr 04, 2016 7:19 pm
Forum: Vensim
Topic: Venapp always crashed and No responding!
Replies: 4
Views: 2892

Re: Venapp always crashed and No responding!

What if you follow the ASKYESNO with &SIMULATE>SETVAL|binary=1 ? Or use a checkbox control?
by tomfid
Mon Apr 04, 2016 7:18 pm
Forum: Ventity
Topic: cohort modeling examples
Replies: 21
Views: 16859

Re: cohort modeling examples

BTW the new build needed for this to work is now available (see top announcement).