Search found 3800 matches

by tomfid
Tue Dec 12, 2023 2:01 pm
Forum: Vensim
Topic: Percent
Replies: 3
Views: 3388

Re: Percent

If the endpoint is fixed, you can use the approach of creating a variable.

If the endpoint is uncertain, specifically, not known at the start of the run, there isn't really a way to do this, except by postprocessing the output in some other tool (Excel, R, Python ...)
by tomfid
Wed Dec 06, 2023 3:35 pm
Forum: Vensim
Topic: Uniform data
Replies: 2
Views: 3143

Re: Uniform data

You can use these distributions either in equations, or via the sensitivity (Monte Carlo) tool.
by tomfid
Tue Dec 05, 2023 4:36 pm
Forum: Vensim
Topic: older interface PLE 10.1.3
Replies: 2
Views: 3013

Re: older interface PLE 10.1.3

Is there something specific that you need from the older interface?
by tomfid
Tue Dec 05, 2023 2:32 pm
Forum: Vensim
Topic: time schedule
Replies: 4
Views: 3657

Re: time schedule

There isn't a way to link to a spreadsheet in PLE.
by tomfid
Wed Nov 29, 2023 3:34 pm
Forum: Vensim
Topic: Output File
Replies: 6
Views: 4700

Re: Output File

Or perhaps what you're looking for is an export of the dataset to Excel? Use Model>Export Dataset.
by tomfid
Thu Nov 16, 2023 5:13 pm
Forum: Ventity
Topic: Function: choose
Replies: 4
Views: 4516

Re: Function: choose

I think there's an efficiency issue here. Because the 'identify' and 'update' triggers are in the Region entity, they're executing multiple times - i.e. every region is identifying the best region. I can think of a couple alternatives. - Move the trigger to a singleton entity like the Model. Putting...
by tomfid
Wed Nov 15, 2023 7:56 pm
Forum: Vensim
Topic: Lifecycle
Replies: 8
Views: 5991

Re: Lifecycle

1 - the PULSE TRAIN function might work

2 - you can solve this, but it may not be the best choice - https://metasd.com/2017/01/forrester-on ... ous-flows/
by tomfid
Tue Nov 14, 2023 3:27 pm
Forum: Vensim
Topic: Lifecycle
Replies: 8
Views: 5991

Re: Lifecycle

For inspiration, you might look to
C:\Users\Public\Vensim\Models\Sample\EXTRA\COMMOD.MDL
which installs with Vensim.
by tomfid
Tue Nov 14, 2023 3:26 pm
Forum: Vensim
Topic: Lifecycle
Replies: 8
Views: 5991

Re: Lifecycle

I think your first step should be to adopt standard stock-flow notation in your diagram. Currently you have no flows, so your are integrating earlier age categories directly into later age categories, like Bull= INTEG ( -Bull+"Bullock 12-18", 0) Units: number ******************************...
by tomfid
Fri Nov 10, 2023 5:40 pm
Forum: Vensim
Topic: Coustom grafics get lost
Replies: 6
Views: 3212

Re: Coustom grafics get lost

I think this is already ticketed - it's happening in other models as well. I was under the impression that 10.1 fixed it.
by tomfid
Fri Nov 03, 2023 2:10 pm
Forum: Vensim
Topic: Vensim documentation compatible with MS Word
Replies: 5
Views: 4081

Re: Vensim documentation compatible with MS Word

When I use File>Save from the Document tool window, I get the usual Save As dialog with type .txt, prompting me to name the file. The default location is the folder containing the model. Do you get a different behavior? Are you using v10 and the new gui?
by tomfid
Thu Nov 02, 2023 10:57 pm
Forum: Vensim
Topic: Bug: Very precise time settings for model
Replies: 7
Views: 4771

Re: Bug: Very precise time settings for model

I think the task here is actually a little bigger. Since .vdfx went to double precision, there's been a mismatch between the engine/output numerical precision and text precision. For example, you can read in a constant from a .cin file as a float or a double, but a constant in an equation gets trunc...
by tomfid
Thu Nov 02, 2023 6:36 pm
Forum: Vensim
Topic: inserting picture to comment failed due to permissions problem
Replies: 4
Views: 1864

Re: inserting picture to comment failed due to permissions problem

Judging by the paths, this has to be Windows, so the key question is what Vensim version?
by tomfid
Thu Nov 02, 2023 2:49 pm
Forum: Vensim
Topic: Vensim documentation compatible with MS Word
Replies: 5
Views: 4081

Re: Vensim documentation compatible with MS Word

File>Publish is unrelated to the Doc tool. You probably just want to click the Doc tool and save the resulting window.
by tomfid
Thu Nov 02, 2023 2:47 pm
Forum: Vensim
Topic: Vensim Equation Auditing?
Replies: 5
Views: 1824

Re: Vensim Equation Auditing?

There isn't (but probably should be). Here's a trick I've used for this. Run the model, and export the run to a .tab file with time across and subscripts in their own columns. Deselecting units keeps things simple. Open the result in Excel. You can now count the output. Anything with a value in just...
by tomfid
Thu Nov 02, 2023 2:39 pm
Forum: Vensim
Topic: inserting picture to comment failed due to permissions problem
Replies: 4
Views: 1864

Re: inserting picture to comment failed due to permissions problem

The permission issue seems weird, given the path. Presumably that's your own doc folder, and you have permission. I'm guessing that the message is misleading, and something else is causing it. Did you deliberately try to access these three folders, or was Vensim apparently on some kind of fishing ex...
by tomfid
Thu Nov 02, 2023 2:33 pm
Forum: Vensim
Topic: insert picture into Aux / Stock variable?
Replies: 1
Views: 524

Re: insert picture into Aux / Stock variable?

It's not currently possible, but I agree that it would be nice. I'll ticket the feature request.
by tomfid
Wed Nov 01, 2023 2:17 pm
Forum: Vensim
Topic: Bug: Very precise time settings for model
Replies: 7
Views: 4771

Re: Bug: Very precise time settings for model

I think we can have our cake and eat it too here.
by tomfid
Mon Oct 30, 2023 9:13 pm
Forum: Vensim
Topic: Suppress simulation information window
Replies: 3
Views: 2460

Re: Suppress simulation information window

I think it's a bug - there are a few instances of warnings that ignore the settings check.
by tomfid
Mon Oct 30, 2023 9:12 pm
Forum: Vensim
Topic: Vensim 10.1.1 macOS GUI Bug
Replies: 8
Views: 3844

Re: Vensim 10.1.1 macOS GUI Bug

I think this is an instance of one we're working on ... seems to be random breakage of the GUI library. Are you using Sonoma or Ventura or another OS version?
by tomfid
Mon Oct 30, 2023 9:09 pm
Forum: Vensim
Topic: Random number generator; any tips to replicate?
Replies: 15
Views: 9661

Re: Random number generator; any tips to replicate?

LAUJJL wrote: Mon Oct 30, 2023 5:09 pm
Another problem is with games.
If you stop a game at a certain time, the random generator may be reinitialized. And the behavior of some random variables may change.
I think this would be a bug; if you have an example, we'd be interested.
by tomfid
Mon Oct 30, 2023 9:07 pm
Forum: Vensim
Topic: Random number generator; any tips to replicate?
Replies: 15
Views: 9661

Re: Random number generator; any tips to replicate?

Restating what I stated above for clarity: If a modeler wanted every RANDOM-based function in a model to be independent of all of the others (not drawing from the same pool), then the functions should be called with different STREAM_IDS (https://www.vensim.com/documentation/stream_id.html). Someone...
by tomfid
Mon Oct 30, 2023 9:03 pm
Forum: Vensim
Topic: Random number generator; any tips to replicate?
Replies: 15
Views: 9661

Re: Random number generator; any tips to replicate?

For instance, a model has RANDOM_UNIFORM and RANDOM_NORMAL, and is run to generate output1.vdfx. If a user then deletes the UNIFORM() function in one portion of the model and adds a UNIFORM() function in a different part of the model, will the functions be called in the same order? Will the random ...
by tomfid
Mon Oct 30, 2023 8:56 pm
Forum: Vensim
Topic: Vensim DSS Crashing on Save When Viewing As Sketch
Replies: 5
Views: 946

Re: Vensim DSS Crashing on Save When Viewing As Sketch

This has a lot of undefined variables that appear as A FUNCTION OF() in the text listing. Was the last operation before the crash a huge paste/replicate or something? There's some other strange stuff, like the string STX{...} in one equation. Do you have a previous edition of the model for compariso...
by tomfid
Fri Oct 27, 2023 7:57 pm
Forum: Vensim
Topic: BUG? Control-<number> not select analysis tool
Replies: 4
Views: 1970

Re: BUG? Control-<number> not select analysis tool

Sounds like a bug, because it's still working on Win10 (assuming you're using a Mac).