Search found 95 matches

by jrissman
Fri Jan 27, 2023 12:02 am
Forum: Vensim
Topic: Display code overhaul to support multiple people working together and version control for .mdl files
Replies: 12
Views: 6398

Re: Display code overhaul to support multiple people working together and version control for .mdl files

I am using the Git client "Fork" to compare files. The website for Fork is https://git-fork.com/ Here are the steps to reproduce the issue: * Start with a model in the source control system and make a new branch from the latest commit. * Activate the new branch, then open the model in Vens...
by jrissman
Wed Jan 25, 2023 3:11 am
Forum: Vensim
Topic: Display code overhaul to support multiple people working together and version control for .mdl files
Replies: 12
Views: 6398

Re: Display code overhaul to support multiple people working together and version control for .mdl files

Hi JJ, Thanks for trying to help on this issue. However, it would be necessary for you to become familiar with Git clients, GitHub, and the process of merging changes to code files from different Git branches before it would be possible to understand the issue I am reporting. The real purpose of thi...
by jrissman
Mon Jan 23, 2023 7:15 pm
Forum: Vensim
Topic: Display code overhaul to support multiple people working together and version control for .mdl files
Replies: 12
Views: 6398

Re: Display code overhaul to support multiple people working together and version control for .mdl files

JJ, No, the display code is not viewable in Vensim flowchart view. You need to view the model as text to see the display code. "Sheet" and "View" are synonyms. No, GitHub doesn't modify the model code. The Vensim application modifies the display code. Earlier versions of Vensim w...
by jrissman
Mon Jan 23, 2023 6:14 pm
Forum: Vensim
Topic: Display code overhaul to support multiple people working together and version control for .mdl files
Replies: 12
Views: 6398

Re: Display code overhaul to support multiple people working together and version control for .mdl files

JJ, By "display code," I mean the section of code that defines the appearance of the variables and comments in the flowchart view, such as their color, coordinates, font style, etc. on each sheet. It comes after the section of code that defines the mathematical equations. As far as I'm awa...
by jrissman
Sat Jan 21, 2023 9:50 pm
Forum: Vensim
Topic: Display code overhaul to support multiple people working together and version control for .mdl files
Replies: 12
Views: 6398

Re: Display code overhaul to support multiple people working together and version control for .mdl files

Hi Ventana team, Thanks for the guidance! That greatly helps to resolve most of the issues. However, even when using the new settings in Vensim 9.3.5 and the new GUI, there are two problems that remain that you should be aware of. First, merging still fails if a person adds a new sheet in Git/SVN br...
by jrissman
Fri Jan 20, 2023 1:05 am
Forum: Vensim
Topic: Display code overhaul to support multiple people working together and version control for .mdl files
Replies: 12
Views: 6398

Display code overhaul to support multiple people working together and version control for .mdl files

Hello Ventana team, I am trying to train other people at my organization to work on the Energy Policy Simulator model. As with most modern software, the model is tracked in a version control system (specifically Git / GitHub). We've run into an issue with the format Vensim uses to store display code...
by jrissman
Mon Jun 21, 2021 6:14 pm
Forum: Vensim
Topic: Bug Report: Vensim Crash on Viewing "Table" for Large Get Direct Lookups Variable
Replies: 2
Views: 1870

Re: Bug Report: Vensim Crash on Viewing "Table" for Large Get Direct Lookups Variable

Great to hear the bug has been fixed. I emailed you to see if you want me to help test the fix on my machine.
by jrissman
Mon Jun 21, 2021 12:57 am
Forum: Vensim
Topic: Bug Report: Vensim Crash on Viewing "Table" for Large Get Direct Lookups Variable
Replies: 2
Views: 1870

Bug Report: Vensim Crash on Viewing "Table" for Large Get Direct Lookups Variable

Hello Ventana team, We've run into a situation that crashes Vensim with 100% reproducibility. This is on Windows 10. Here are the steps to reproduce the crash: 1. Download the following development version of the Energy Policy Simulator (EPS) https://github.com/Energy-Innovation/eps-us/archive/d1c03...
by jrissman
Thu Nov 12, 2020 8:04 pm
Forum: Vensim
Topic: Different results when using Sim Control>Set>Simulate vs Sim Control>Simulate
Replies: 5
Views: 2990

Re: Different results when using Sim Control>Set>Simulate vs Sim Control>Simulate

That's great! Happy to hear it was a quick fix. If the fix is included in the next incremental Vensim release, that would be perfect. We can simply avoid using the broken "Simulate" button in the meanwhile.
by jrissman
Wed Nov 11, 2020 1:40 am
Forum: Vensim
Topic: Different results when using Sim Control>Set>Simulate vs Sim Control>Simulate
Replies: 5
Views: 2990

Re: Different results when using Sim Control>Set>Simulate vs Sim Control>Simulate

I can provide an example of this bug. Here is how to reproduce the issue: 1. Download the public 3.0.0 release of the U.S. Energy Policy Simulator at https://github.com/Energy-Innovation/eps-us/archive/3.0.0.zip 2. Open the EPS.vpmx file (NOT the EPS.mdl) file in Vensim DSS. 3. Click Sim Control > C...
by jrissman
Tue Nov 03, 2020 7:42 am
Forum: Vensim
Topic: Saving Active Initial threshold settings to model
Replies: 3
Views: 2256

Re: Saving Active Initial threshold settings to model

Got it. Thank you for considering it. No hurry on this feature - this one isn't a priority. But it's nice to have it on the list.
by jrissman
Mon Nov 02, 2020 6:49 pm
Forum: Vensim
Topic: Saving Active Initial threshold settings to model
Replies: 3
Views: 2256

Saving Active Initial threshold settings to model

Hello Ventana team, In our model, when run on a fresh installation of Vensim, very many warnings for Active / Initial value differences come up. They take the form of: WARNING: -Variable Name[subscripts]- Initial=X Active=Y has changed in value. The differences shown are tiny, and we know this is no...
by jrissman
Thu Oct 15, 2020 10:15 pm
Forum: Vensim
Topic: Loading Data, Constants, Lookups from .csv files in WebAssembly
Replies: 5
Views: 3286

Re: Loading Data, Constants, Lookups from .csv files in WebAssembly

Todd indicates that SDEverywhere doesn't include support for all the Vensim functions that the Energy Policy Simulator uses. It is easier for Ventana Systems to add support for Vensim functions because they possess the original Vensim source code that shows how the function is implemented, whereas S...
by jrissman
Wed Oct 14, 2020 11:20 pm
Forum: Vensim
Topic: Loading Data, Constants, Lookups from .csv files in WebAssembly
Replies: 5
Views: 3286

Loading Data, Constants, Lookups from .csv files in WebAssembly

Hello Ventana Team, We at Energy Innovation are extremely interested in the new Vensim 8.1 feature that can convert a model to WebAssembly, to run in a browser. As you may recall, for the Energy Policy Simulator (EPS), we currently use a Linux multi-context version of Vensim running on a server to p...
by jrissman
Tue May 05, 2020 7:05 pm
Forum: Vensim
Topic: Bug Report: SETVAL fails to set constants populated via GET DIRECT CONSTANTS
Replies: 6
Views: 3920

Re: Bug Report: SETVAL fails to set constants populated via GET DIRECT CONSTANTS

Looks like Todd posted and you replied while I was writing the message above. Sounds like you figured out why the override isn't working. Getting us the 8.0.9 linux multicontext library might fix our problem. (I'm still of the opinion the default behavior should allow this to work, but simply gettin...
by jrissman
Tue May 05, 2020 7:03 pm
Forum: Vensim
Topic: Bug Report: SETVAL fails to set constants populated via GET DIRECT CONSTANTS
Replies: 6
Views: 3920

Re: Bug Report: SETVAL fails to set constants populated via GET DIRECT CONSTANTS

Hello Team, Unfortunately, the override is not recognized as a command by Vensim. When I add it to the command script, and run the script, I get this error: UnknownCommandError.PNG Note that I don't have the period in the command script. I entered the command into the script exactly as you specified...
by jrissman
Tue May 05, 2020 3:00 am
Forum: Vensim
Topic: Bug Report: SETVAL fails to set constants populated via GET DIRECT CONSTANTS
Replies: 6
Views: 3920

Bug Report: SETVAL fails to set constants populated via GET DIRECT CONSTANTS

Hello Ventana team, I have a small but important bug to report to you today. The SIMULATE > SETVAL command (used in Vensim command scripts, as well as passed to Vensim by external programs, like a web interface) is supposed to set the value of a constant or lookup, similar to a human moving a slider...
by jrissman
Tue Dec 03, 2019 12:57 am
Forum: Vensim
Topic: Bug Report: In Vensim DSS 8.0.7, after initiating quit with unsaved changes, the "Cancel" button quits Vensim
Replies: 1
Views: 1733

Bug Report: In Vensim DSS 8.0.7, after initiating quit with unsaved changes, the "Cancel" button quits Vensim

Steps to reproduce the problem: 1. Open any model in Vensim DSS 8.0.7 (Windows 64-bit). 2. Make a change, such as moving a variable to a different place on the screen. 3. Click the "X" button in the upper right corner, initiating a quit of Vensim. 4. A dialogue box appears, asking "Sk...
by jrissman
Tue Oct 22, 2019 11:15 pm
Forum: Vensim
Topic: Bug Report: Slider appears in DSS but not in Model Reader for subscripted GET DIRECT CONSTANTS variables
Replies: 3
Views: 2933

Bug Report: Slider appears in DSS but not in Model Reader for subscripted GET DIRECT CONSTANTS variables

Hello Ventana team, I have a bug to report today. In SyntheSim mode, variables that use the GET DIRECT CONSTANTS statement are supposed to show a slider below them, so their values can be adjusted interactively. In DSS this works fine. However, in Model Reader, the slider only appears for GET DIRECT...
by jrissman
Wed Mar 20, 2019 12:23 am
Forum: Vensim
Topic: Crash Upon Adding New Variable, Possible Memory Issue
Replies: 11
Views: 11431

Re: Crash Upon Adding New Variable, Possible Memory Issue

You mean the multitude of .csv files (not .cin files)? We don't have a multitude of .cin files. We have many .csv files, where the model's input data are stored. In general, we like to keep our input data in .csv files for two reasons. First, it makes it easy to swap input data between countries or ...
by jrissman
Tue Mar 19, 2019 9:40 pm
Forum: Vensim
Topic: Crash Upon Adding New Variable, Possible Memory Issue
Replies: 11
Views: 11431

Re: Crash Upon Adding New Variable, Possible Memory Issue

I've tested the copy of Vensim DSS that you sent to me by email (with version number 7.3.7), and I don't experience any crash. As far as I can tell with some brief testing, it appears to work perfectly. Thank you! We’re looking forward to this fix being included in the publicly-released versions of ...
by jrissman
Fri Mar 15, 2019 7:21 pm
Forum: Vensim
Topic: Crash Upon Adding New Variable, Possible Memory Issue
Replies: 11
Views: 11431

Re: Crash Upon Adding New Variable, Possible Memory Issue

I've sent the license details as requested.
by jrissman
Fri Mar 15, 2019 6:24 pm
Forum: Vensim
Topic: Crash Upon Adding New Variable, Possible Memory Issue
Replies: 11
Views: 11431

Re: Crash Upon Adding New Variable, Possible Memory Issue

I did a more careful count (checking for duplicates this time), and I get 396 CSV files, which are referenced in 412 GET DIRECT statements. I've attached a spreadsheet listing all the CSV filepaths and indicating whether they are unique or not.

I will be glad to test a new build next week.
by jrissman
Fri Mar 15, 2019 4:47 pm
Forum: Vensim
Topic: Crash Upon Adding New Variable, Possible Memory Issue
Replies: 11
Views: 11431

Re: Crash Upon Adding New Variable, Possible Memory Issue

As a test, I removed 10 CSV files from the model (hard-coding constant values for these 10 variables inside Vensim instead of reading them from CSV files). The model still crashes when I run it, with the new variable added (as described in my intial post). So reducing the number of CSV files we're u...
by jrissman
Fri Mar 15, 2019 4:40 pm
Forum: Vensim
Topic: Crash Upon Adding New Variable, Possible Memory Issue
Replies: 11
Views: 11431

Re: Crash Upon Adding New Variable, Possible Memory Issue

When I count instances of the words "GET DIRECT" or the extension ".csv" appearing in the code for eps-1.4.2-us-v2, I find that the model is using 412 different CSV files, already far more than 255 files. It works fine when reading from 412 CSV files. The crash occurs only when I...