Search found 167 matches

by Travis
Wed Sep 18, 2024 5:56 pm
Forum: Vensim
Topic: Print-Every table bug?
Replies: 1
Views: 102

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: 172

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: 172

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: 109

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: 167

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: 3189

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: 3
Views: 1580

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: 3189

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: 3189

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: 3541

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: 3505

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...
by Travis
Tue Jun 04, 2024 6:19 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

I've installed the newer build that you sent me but I still can't get VDF2XLSX to work. I can simulate a scenario again (which was broken a few posts earlier in this thread).

Can you send me a script in which VDF2XLSX works on macOS?
by Travis
Fri May 31, 2024 2:14 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

(Hope your time away was for fun!)

I'm happy to help pick this up when you're ready. Just let me know what to test.
by Travis
Wed May 22, 2024 7:01 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

Any update on this? Anything else I can do to test?
by Travis
Mon May 20, 2024 2:35 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

This morning even my script to run a scenario won't work, with an error stating it can't find the model file. Appreciate your help.
by Travis
Fri May 17, 2024 3:43 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

Right now the test is simply the single line script that was suggested. 1. VensimDSS is closed. 2. In Terminal, I call the CMD script using the Vensim app, calling it with: [code] /Applications/VensimDSS.app/Contents/MacOS/VensimDSS "/full/path/in/quotes/script.cmd" [/code] 3. Vensim opens...
by Travis
Fri May 17, 2024 2:19 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

Does this work on Windows? Is this a macOS problem? We'd love to have a workflow that runs the model and exports the data, but can't get by this step.
by Travis
Thu May 16, 2024 6:30 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

I tried removing the LST file from the line and now the error message says, "Unable to open BAU.vdfx to read data." Could it be some path issue?
by Travis
Thu May 16, 2024 3:02 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

Aside: Is there a way to add comments to CMD files? "#" at the beginning of a line or something like that? This would be a nice feature, to comment code and/or comment command lines.
by Travis
Thu May 16, 2024 3:00 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Re: Help: Exporting XLSX from VDFX via CMD script

I ran that single line in a new CMD file. Vensim opened with an error dialog what said, "Unable to open SaveList.lst to read variable names."

The LST file is in the same directory as the CMD, MDL, and VDFX files.
by Travis
Thu May 16, 2024 1:53 pm
Forum: Vensim
Topic: Help: Exporting XLSX from VDFX via CMD script
Replies: 14
Views: 5956

Help: Exporting XLSX from VDFX via CMD script

Should the following script work to export to XLSX? When I call it Vensim opens but then quickly closes. All the files are in the same directory. A XLSX file with the same name does already exist (and I'd like this script to always replace it). [code] SPECIAL>NOINTERACTION MENU>VDF2XLSX|BAU.vdfx|BAU...
by Travis
Wed May 15, 2024 8:03 pm
Forum: Vensim
Topic: BUG: Double-clicking an MDL file in Finder still open a new model
Replies: 3
Views: 1460

Re: BUG: Double-clicking an MDL file in Finder still open a new model

Btw, I (still) feel that a user should be able to close all the model windows in Vensim macOS. When I close the model I'm currently working on (single model open), currently a new model window is opened. I can't think of any other app on macOS what works like that. In Word and Safari, etc., I can cl...
by Travis
Wed May 15, 2024 8:00 pm
Forum: Vensim
Topic: BUG: Double-clicking an MDL file in Finder still open a new model
Replies: 3
Views: 1460

Re: BUG: Double-clicking an MDL file in Finder still open a new model

Updated to 10.1.5.

This seems fixed. Thank you.
by Travis
Wed May 15, 2024 8:00 pm
Forum: Vensim
Topic: BUG: Double-clicking MDL file in Finder replaces open model
Replies: 2
Views: 1338

Re: BUG: Double-clicking MDL file in Finder replaces open model

Updated to 10.1.5.

This is still a problem.
by Travis
Wed May 15, 2024 5:11 pm
Forum: Vensim
Topic: BUG: Double-clicking MDL file in Finder replaces open model
Replies: 2
Views: 1338

BUG: Double-clicking MDL file in Finder replaces open model

I have the Settings "Close active model on New/Open" turned off. But, when I double-click on a second MDL file it replaces the currently opened model that I'm working on. Expected behavior would be to open a new window with the second model, given the current Setting choice. Vensim 10.1.2 ...