Search found 181 matches

by Travis
Tue Apr 01, 2025 6:36 pm
Forum: Vensim
Topic: identifying contributors to large file size and slow run time
Replies: 16
Views: 7906

Re: identifying contributors to large file size and slow run time

Great. Thank you, both, for the clarifications.
by Travis
Mon Mar 31, 2025 8:40 pm
Forum: Vensim
Topic: identifying contributors to large file size and slow run time
Replies: 16
Views: 7906

Re: identifying contributors to large file size and slow run time

Tom – Could you post an example of a GET DATA request that is and is not wrapped by INITIAL? Maybe just screenshots the two equation editor windows showing the difference? I think the model I'm working on might benefit from this.

Thanks in advance.
by Travis
Mon Dec 16, 2024 7:10 pm
Forum: Vensim
Topic: BUG: Can't open two MDLs at same time
Replies: 7
Views: 5868

Re: BUG: Can't open two MDLs at same time

It seems like all the paths should call the same Vensim function, though, and that should handle all the windowing in Vensim the same. The four code paths seem to differ too early in the opening process. I assume that each of the four paths should all do the following steps: String model_path = SPEC...
by Travis
Fri Dec 13, 2024 3:46 pm
Forum: Vensim
Topic: Scrolling slowdown?
Replies: 5
Views: 3657

Re: Scrolling slowdown?

Well, I"m Zoomed at 100% in this model. Admin – it is the Energy Policy Simulator model. You likely have it already, but you can download a version here (Note: I'm using v3.3 and v3.4, but I'm sure v4 is the same): https://github.com/EnergyInnovation/eps-us/archive/refs/tags/4.0.3.zip The Web A...
by Travis
Fri Dec 13, 2024 3:40 pm
Forum: Vensim
Topic: BUG: Can't open two MDLs at same time
Replies: 7
Views: 5868

Re: BUG: Can't open two MDLs at same time

Double-clicking mostly. Maybe even cmd-O in the Finder.

So two different behaviors (meaning two different code paths) depending on how a file is opened? That is confusing for users (ie. Me!).
by Travis
Fri Dec 13, 2024 3:38 pm
Forum: Vensim
Topic: BUG: Scrollbars disappear
Replies: 3
Views: 3225

Re: BUG: Scrollbars disappear

I agree -- it is not this system-wide setting. Normally the scrollbars in Vensim are always showing but sometimes they disappear. It might be after a do a lot of right-click-grab-canvas scrolling, but I'm not certain. It might also be after switching views.
by Travis
Thu Dec 12, 2024 11:12 pm
Forum: Vensim
Topic: BUG: Scrollbars disappear
Replies: 3
Views: 3225

BUG: Scrollbars disappear

I open a MDL, change views, and there aren't scrollbars any more. This is for a very big view. I can quit Vensim and reopen and then they will appear again.

macOS 15.2
VensimMC 10.2.1

[attachment=0]Screenshot 2024-12-12 at 6.10.33 PM.png[/attachment]
by Travis
Thu Dec 12, 2024 10:59 pm
Forum: Vensim
Topic: BUG: Can't open two MDLs at same time
Replies: 7
Views: 5868

BUG: Can't open two MDLs at same time

I have the setting to Close Active Model turned off. I used to be able to open multiple files. This doesn't seem to work any more. Not sure when it broke, but I think this was working several months ago.

macOS 15.2
Vensim 10.2.1

[attachment=0]Screenshot 2024-12-12 at 5.58.37 PM.png[/attachment]
by Travis
Mon Dec 09, 2024 6:12 pm
Forum: Vensim
Topic: Scrolling slowdown?
Replies: 5
Views: 3657

Scrolling slowdown?

VensimDSSMC v10.2.1 seems more sluggish in the last fews months. This is both for me and a colleague. We don't know if it is a Vensim update or maybe related to the release of macOS15 Sequoia. We're scrolling through some pretty big views with embedded graphs and lots of variables. It was always lab...
by Travis
Wed Nov 06, 2024 9:19 pm
Forum: Vensim
Topic: units for %
Replies: 15
Views: 11235

Re: units for %

Oh, I didn't know about the setting. A quick spot check of my models shows that 'strict' is off, which I assume is the default.
by Travis
Wed Nov 06, 2024 6:07 pm
Forum: Vensim
Topic: units for %
Replies: 15
Views: 11235

Re: units for %

I’m not sure I follow your question but I think “strict” is the answer. “Percent” is a unit like “dollar” and Vensim applies normal units checking.
by Travis
Tue Nov 05, 2024 2:52 pm
Forum: Vensim
Topic: units for %
Replies: 15
Views: 11235

Re: units for %

I do something similar to Tom, including a constant model variable for conversion so the units pass the unit check. To draw out something Tom eluded to, please name your model's variables appropriately. If the value is 0-1, then it should be "Fraction of Population that Loves Pizza". If is...
by Travis
Mon Oct 28, 2024 12:59 pm
Forum: Vensim
Topic: BUG: Zoom text field not accept numbers when blank
Replies: 1
Views: 2780

BUG: Zoom text field not accept numbers when blank

I clicked on the Zoom tool in the lower right corner of the window to get the following dialog. I must have hit delete (to blank out the text field) and then tried typing a new percentage. I just get beeps and no typing. Work around: use the up/down arrow to repopulate the text field and then the fi...
by Travis
Sun Oct 27, 2024 5:47 pm
Forum: Vensim
Topic: SDEverywhere vs. reality checks
Replies: 5
Views: 6102

Re: SDEverywhere vs. reality checks

The OP was right that SDEverywhere [sdeverywhere.org] does have functionality to track changes across model evolution. It is really powerful. I'll give a short summary here. MODEL COMPARE * when you build a model, you can save off a version that is the version to compare to. Sometimes you think of t...
by Travis
Wed Sep 18, 2024 5:56 pm
Forum: Vensim
Topic: Print-Every table bug?
Replies: 1
Views: 2997

Print-Every table bug?

I have a table with the following definition (defined in the GUI) :TABLE CPL_2035_Summary :TITLE 2035 Metrics :PRINT-EVERY 5 :X-MIN 2025 :X-MAX 2050 :FONT Arial Unicode MS|12||0-0-0 :VAR CPL Carbon Tax Rate 2019[Sectors] :DATASET :VAR Output Total CH4 Emissions :DATASET :VAR Output Total CO2e Emissi...
by Travis
Tue Sep 17, 2024 5:59 pm
Forum: Vensim
Topic: Centering "Find" in the screen?
Replies: 3
Views: 3493

Re: Centering "Find" in the screen?

I was wondering about messing with scroll/zoom settings but I then thought that "the current system messes with it already." I might be wrong though. If you're working in a model that has 20 views that are all Very Big at 100% (not fit on a screen), doesn't the current F3 Find behavior cha...
by Travis
Mon Sep 16, 2024 8:03 pm
Forum: Vensim
Topic: Centering "Find" in the screen?
Replies: 3
Views: 3493

Centering "Find" in the screen?

I often use Find and F3 to find again. That is, I want to see when a variable is used and it is often on multiple views. The current behavior of Vensim is to change the view and highlight the variable *somewhere* on the screen. I spend the next few second trying to find the variable. Often it is in ...
by Travis
Mon Sep 16, 2024 6:40 pm
Forum: Vensim
Topic: Solid update to SDEverywhere; GAME; Easier install
Replies: 0
Views: 7911

Solid update to SDEverywhere; GAME; Easier install

Passing on information relevant for Vensim users: SDEverywhere, a tool for MDL files to automate testing and publish web apps, got a big update in August 2024. [https://sdeverywhere.org] One of the biggest additions is an improved ease of installation and use by removing the need for Emscripten. The...
by Travis
Mon Sep 16, 2024 6:33 pm
Forum: Vensim
Topic: How to convert .mdl code to R code
Replies: 2
Views: 3032

Re: How to convert .mdl code to R code

ReadSDR is a good suggestion. An alternative that is likely more complicated would be to use SDEverywhere [https://sdeverywhere.org] to convert to C code. I'm pretty sure you can call C code from R. Or SDEverywhere also has the ability to run models from a command line (Terminal), which you might be...
by Travis
Fri Aug 30, 2024 5:50 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 7482

Re: Disappearing Control Panel window on second display

Yes, this one is definitely weird. I don't want to make this too broad of an issue, but the windowing on macOS has always been a bit whacky. Something that has been raised in the past (either conversation or maybe another forum thread) is that "focus" isn't handled as expected on the platf...
by Travis
Fri Aug 23, 2024 6:39 pm
Forum: Vensim
Topic: Syntax coloring in VSCode?
Replies: 4
Views: 6250

Syntax coloring in VSCode?

We were editing CIN files and CMD files in Visual Studio Code and, after adding some comments in the CIN file, were wondering about syntax coloring. Has anyone developed a VSCode extension and/or grammars or anything related to syntax coloring for Vensim and/or SD-related files (e.g., XMILE)? More i...
by Travis
Tue Aug 20, 2024 6:57 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 7482

Re: Disappearing Control Panel window on second display

Another bit of strange behavior with two displays, but not exactly related to the disappearing window: I'm working on an external monitor with my laptop open (as opposed to two external displays with laptop closed, as above). The main Vensim window is on the external display. When I select a variabl...
by Travis
Mon Aug 19, 2024 5:22 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 7482

Disappearing Control Panel window on second display

I'm working with two displays. To take advantage of the screen real estate, I decided undock the Control Panel window and move it to the second display. I used the following steps: 1. Use the mouse to grab the top part of the docked palette and started dragging. 2. As soon as I passed into the secon...
by Travis
Thu Jun 20, 2024 11:02 am
Forum: Vensim
Topic: Syntax highlighting
Replies: 3
Views: 5712

Re: Syntax highlighting

Agree - this looks really useful!
by Travis
Wed Jun 12, 2024 3:41 pm
Forum: Vensim
Topic: Vensim DSS 10.2.0 MC Apple Silicon
Replies: 3
Views: 6024

Re: Vensim DSS 10.2.0 MC Apple Silicon

Is there any reason to not run MC all the time, even if you're not doing sensitivity runs? And, assuming it is fine, I'm kinda wondering why there are two builds of Vensim then. Will you just be releasing the MC version as plain "Vensim" in the future? (<---leading question....). ;-) I'm a...