Search found 3811 matches

by tomfid
Sun Jul 03, 2016 10:24 pm
Forum: Vensim
Topic: HEAVISIDE
Replies: 5
Views: 2716

Re: HEAVISIDE

STEP, PULSE etc. do create discrete responses. You may be getting the impression of a slope from plots that show a change happening over a TIME STEP, which is finite. The connecting line in these cases is a little misleading, because nothing is really defined between time steps. What are you seeing ...
by tomfid
Sat Jul 02, 2016 12:12 am
Forum: Vensim
Topic: Model CRASH Problem
Replies: 17
Views: 6953

Re: Model CRASH Problem

Another long shot idea would be to move it to your Documents folder or something like that.

I assume your system is running in English?

I'll try this new copy on my Win10 desktop.
by tomfid
Fri Jul 01, 2016 10:40 pm
Forum: Vensim
Topic: Model CRASH Problem
Replies: 17
Views: 6953

Re: Model CRASH Problem

I've followed both your sequences exactly, and unfortunately can't replicate the crash in either.

Can you try repeating one or both after setting a new, unique run name? That might give some hint as to whether this is a file access issue.
by tomfid
Fri Jul 01, 2016 1:53 pm
Forum: Vensim
Topic: Creating a Random Distribution on Every Run
Replies: 11
Views: 6065

Re: Creating a Random Distribution on Every Run

You can also use stream 0 for all the function calls, then set the global NOISE SEED parameter with the sensitivity control file.
by tomfid
Fri Jul 01, 2016 1:51 pm
Forum: Ventity
Topic: use entities in new diagram
Replies: 4
Views: 4952

Re: use entities in new diagram

Not quite sure what you're trying to do. Do you want to reuse the same structure in a different context (Paste as New, like Vensim's Replicate), or use a reference to existing structure (ordinary Paste)? Or reuse an entire entitytype?
by tomfid
Thu Jun 30, 2016 8:54 pm
Forum: Ventity
Topic: Use different table functions
Replies: 17
Views: 13550

Re: Use different table functions

I think that's the problem - you need the new June build 1123 - just visit http://vensim.com/ventity.html again.
by tomfid
Thu Jun 30, 2016 4:48 pm
Forum: Ventity
Topic: Use different table functions
Replies: 17
Views: 13550

Re: Use different table functions

What build date do you see in Help>About Ventity?
by tomfid
Thu Jun 30, 2016 3:40 pm
Forum: Vensim
Topic: Sensitivity testing
Replies: 7
Views: 3388

Re: Sensitivity testing

by tomfid
Thu Jun 30, 2016 1:47 pm
Forum: Vensim
Topic: Modeling mixtures( with multiple substances) using subscripts
Replies: 7
Views: 3594

Re: Modeling mixtures( with multiple substances) using subscripts

The Help system also includes sample models for the GET XLS functions, including subscripts.
by tomfid
Wed Jun 29, 2016 9:07 pm
Forum: Ventity
Topic: Use different table functions
Replies: 17
Views: 13550

Re: Use different table functions

I looked at your sample. It seems that column A of the widget tab of your spreadsheet was hidden, with junk in it. Therefore no entities were created. This works: test group widget2b (3).zip If you want your lookup to vary by shape, you could add a Shape entitytype and define the lookup there, then ...
by tomfid
Wed Jun 29, 2016 7:21 pm
Forum: Ventity
Topic: Use different table functions
Replies: 17
Views: 13550

Re: Use different table functions

Here's an example of the format.
DiffLookup1 (3).zip
(10.48 KiB) Downloaded 760 times
by tomfid
Mon Jun 27, 2016 8:12 pm
Forum: Vensim
Topic: Creating a Random Distribution on Every Run
Replies: 11
Views: 6065

Re: Creating a Random Distribution on Every Run

The purpose of the negative seed would be to serve as a flag indicating that results should be randomized (to the clock, or to system crypto sources) with every new run.

I'll take a look at the vdf code.
by tomfid
Mon Jun 27, 2016 5:12 pm
Forum: Vensim
Topic: Creating a Random Distribution on Every Run
Replies: 11
Views: 6065

Re: Creating a Random Distribution on Every Run

Very clever, JJ.

If there's demand, we could potentially introduce a new convention for randomizing the streams - perhaps a negative seed value?
by tomfid
Mon Jun 27, 2016 3:31 pm
Forum: Vensim
Topic: vensim to matlab
Replies: 14
Views: 8167

Re: vensim to matlab

Generally you can't call a 32 bit dll from a 64 bit application, unless there's some kind of bridge process. But the HWND error looks like the first issue.
by tomfid
Fri Jun 24, 2016 1:30 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 53152

Re: vensim link matlab

This thread is six years old, and all the software involved has changed - I think you're unlikely to get useful answers here. I'd suggest composing a new question.
by tomfid
Thu Jun 23, 2016 4:14 am
Forum: Vensim
Topic: Number of views per file
Replies: 6
Views: 3453

Re: Number of views per file

Using arrays would also dramatically simplify model maintenance. If you change a few equations, you could do it once, not 50-100 times.
by tomfid
Mon Jun 20, 2016 11:18 pm
Forum: Ventity
Topic: Use different table functions
Replies: 17
Views: 13550

Re: Use different table functions

Sorry for the delay, but it's available now.
by tomfid
Fri Jun 17, 2016 2:42 pm
Forum: Vensim
Topic: Model CRASH Problem
Replies: 17
Views: 6953

Re: Model CRASH Problem

I can't get this to happen either. On an unrelated note: I don't think you need RK4 integration here. If you revert to Euler, you won't be bothered by the integration warning, which is likely arising from the discontinuities in the random process for emergency costs. Also, conceptually, I think you ...
by tomfid
Fri Jun 17, 2016 2:37 pm
Forum: Vensim
Topic: Monte Carlo Sensitivity
Replies: 16
Views: 7794

Re: Monte Carlo Sensitivity

Good to hear. I tried to beat the heck out of the new code yesterday, but there are always things we miss, so it's good to have some independent testing. Thanks for that. Glad to hear it's working out.
by tomfid
Wed Jun 15, 2016 5:45 pm
Forum: Ventity
Topic: Use different table functions
Replies: 17
Views: 13550

Re: Use different table functions

I have a working fix, I think. I just need to do a little more testing before posting. A day?
by tomfid
Wed Jun 15, 2016 3:24 pm
Forum: Vensim
Topic: Matching LHS-RHS units in equation that has Power function
Replies: 4
Views: 4116

Re: Matching LHS-RHS units in equation that has Power functi

There's a reason for this incidentally. Numbers in an equation that have dimensions are often implicit parameters that should be exposed to scrutiny and testing. Admittedly, the number of meters in a kilometer is not up for discussion. For conversion factors like that, you can set the "unchange...
by tomfid
Tue Jun 14, 2016 4:20 am
Forum: Vensim
Topic: problem in formulating auxiliary equation
Replies: 4
Views: 3191

Re: problem in formulating auxiliary equation

Strange. This works perfectly for me, even when I edit the death rate.
by tomfid
Tue Jun 14, 2016 1:56 am
Forum: Vensim
Topic: Monte Carlo Sensitivity
Replies: 16
Views: 7794

Re: Monte Carlo Sensitivity

I see a red flash between Df .68 and .69 - that's the IRE graph rescaling, not an FP error (an error would turn the status bar yellow).

We'll have to do a new build with the fix. Need to test a little further, but should be fairly quick.
by tomfid
Tue Jun 14, 2016 12:27 am
Forum: Vensim
Topic: Monte Carlo Sensitivity
Replies: 16
Views: 7794

Re: Monte Carlo Sensitivity

I think the FP error is something else. Are you seeing this in Synthesim mode? What parameter change causes it?