Thanks that is helpful. We have an instance or two of that in the part of the codes that is heavily subscripted, and will edit accordingly.
Ultimately, we ended up just reducing the number of elements in a few of the main subscript ranges, which dramatically lowered the run time.
Search found 43 matches
- Mon Nov 06, 2023 3:06 pm
- Forum: Vensim
- Topic: Vensim Equation Auditing?
- Replies: 5
- Views: 2697
- Fri Nov 03, 2023 2:44 pm
- Forum: Vensim
- Topic: Vensim Equation Auditing?
- Replies: 5
- Views: 2697
Re: Vensim Equation Auditing?
Thanks @Tom. One other question for you. We have started using LOOKUP INVERT in some variables that have high dimensionality. Do you know if this is an expensive function? If not we can replace it with some math instead based on the input table we are using. I'm looking into the output approach you ...
- Thu Nov 02, 2023 3:13 pm
- Forum: Vensim
- Topic: Vensim DSS Crashing on Save When Viewing As Sketch
- Replies: 5
- Views: 1052
Re: Vensim DSS Crashing on Save When Viewing As Sketch
Yes, I haven't changed anything for those files.
Given the issues I was having I just went back and replicated my work off an earlier model and have moved forward with that. At this point, I'm fine to close this issue, given I've moved on.
Given the issues I was having I just went back and replicated my work off an earlier model and have moved forward with that. At this point, I'm fine to close this issue, given I've moved on.
- Wed Nov 01, 2023 6:43 pm
- Forum: Vensim
- Topic: Vensim Equation Auditing?
- Replies: 5
- Views: 2697
Vensim Equation Auditing?
We are building out some complicated new code and have noticed significant runtime slowdown (not surprising). We are wondering if there is any existing software or capability to audit the equations in a .mdl file and identify which are using the most memory/processing, in order to try and reduce the...
- Mon Oct 30, 2023 9:24 pm
- Forum: Vensim
- Topic: Vensim DSS Crashing on Save When Viewing As Sketch
- Replies: 5
- Views: 1052
Re: Vensim DSS Crashing on Save When Viewing As Sketch
Sadly, I don't. The backup version is what I sent. The prior editing was nothing complicated... Just a few formula tweaks.
- Mon Oct 30, 2023 6:59 pm
- Forum: Vensim
- Topic: Vensim DSS Crashing on Save When Viewing As Sketch
- Replies: 5
- Views: 1052
Vensim DSS Crashing on Save When Viewing As Sketch
I am not sure how/why the .mdl got corrupted, but the uploaded file reliably crashes every time I attempt to save it on Vensim DSS 8.2.4. It was working fine until a recent round of edits. It opens as text, which is strange. But I can view it as a sketch. I attempted to copy and paste the text into ...
- Fri Mar 24, 2023 7:53 pm
- Forum: Vensim
- Topic: Clicking on move tool causes screen to jump
- Replies: 3
- Views: 571
Re: Clicking on move tool causes screen to jump
I think you're right. I've been trying to replicate it but this is I think the effect. Thanks for the clarification
- Fri Mar 24, 2023 5:42 pm
- Forum: Vensim
- Topic: Pressing enter when editing a constant setting in detail does not accept and close the box
- Replies: 1
- Views: 282
Pressing enter when editing a constant setting in detail does not accept and close the box
Bug report for DSS 9.3.5 When editing a constant by clicking on the slider bar and entering values in SyntheSim mode, once values are entered, clicking "Return" or "Enter" on the keyboard does not accept the changes and close the box. It just returns an audio warning. This is a r...
- Fri Mar 24, 2023 4:46 pm
- Forum: Vensim
- Topic: Clicking on move tool causes screen to jump
- Replies: 3
- Views: 571
Clicking on move tool causes screen to jump
Bug report for DSS 9.3.5
Click on the move tool seems to pretty reliably cause the screen to jump to a new a spot on the view.
Click on the move tool seems to pretty reliably cause the screen to jump to a new a spot on the view.
- Thu Mar 23, 2023 7:34 pm
- Forum: Vensim
- Topic: Changing variable name in equation editor doesn't carry throughout
- Replies: 2
- Views: 421
Changing variable name in equation editor doesn't carry throughout
Bug report for DSS on 9.3.5
Changing the variable name in the equation editor window doesn't necessarily carry through to the variable name in the sketch. Also, it is producing an error that usually comes up when different equations within a variable have different variable names.
Changing the variable name in the equation editor window doesn't necessarily carry through to the variable name in the sketch. Also, it is producing an error that usually comes up when different equations within a variable have different variable names.
- Thu Mar 23, 2023 3:44 pm
- Forum: Vensim
- Topic: Drawing a new arrow for an existing connection doesn't replace the old connection
- Replies: 3
- Views: 424
- Thu Mar 23, 2023 3:42 pm
- Forum: Vensim
- Topic: Drawing a new arrow for an existing connection doesn't replace the old connection
- Replies: 3
- Views: 424
Drawing a new arrow for an existing connection doesn't replace the old connection
Bug report for the new GUI. When creating an equation and drawing an arrow from a shadow variable to the new variable, Vensim is not deleting or prompting to delete the existing connection, so I have two sets of arrows from the same variable (one the model variable and one the shadow variable) to th...
- Wed Mar 22, 2023 2:55 pm
- Forum: Vensim
- Topic: Unable to open vensimdp.ini error on application open
- Replies: 4
- Views: 454
Re: Unable to open vensimdp.ini error on application open
I will switch back to the new GUI and log bugs going forward instead of staying on the old GUI. It's been a few months since I switched back so I don't recall exactly.
- Tue Mar 21, 2023 3:55 pm
- Forum: Vensim
- Topic: Unable to open vensimdp.ini error on application open
- Replies: 4
- Views: 454
Re: Unable to open vensimdp.ini error on application open
Yes, we've been using the old GUI after running into some issues with the new one.
- Tue Mar 21, 2023 3:38 pm
- Forum: Vensim
- Topic: Unable to open vensimdp.ini error on application open
- Replies: 4
- Views: 454
Unable to open vensimdp.ini error on application open
Hello, My colleagues and I have recently been running into a "Stop from Vensim" warning on application open in which Vensim states it is unable to open the vensimdp.ini file for read/record initialization information. This appears to be happening on DSS 9.3.5. When this warning appears, Ve...
Re: LP_solve
I've been playing around with this a bit, starting from the FIND ZERO example and trying to build something for electricity capacity. However, this has proven to be very tough. I tried developing a formula that would get closer to zero with a growing difference in future system costs with additions ...
- Tue Jan 10, 2023 11:02 pm
- Forum: Vensim
- Topic: DSS + Source Management (e.g. Github)
- Replies: 6
- Views: 756
Re: DSS + Source Management (e.g. Github)
For what it's worth after some very brief testing, this is still causing merge conflicts when we try to merge separately edited model versions together. I'm not sure if it is a Git configuration setting or something else. The general issue is that when the same line number is edited in two .mdl file...
- Tue Jan 10, 2023 10:45 pm
- Forum: Vensim
- Topic: DSS + Source Management (e.g. Github)
- Replies: 6
- Views: 756
Re: DSS + Source Management (e.g. Github)
Aha! I have been using the old GUI, which doesn't have these options when I go to Model>Settings. I am gathering might be the issue here since these options aren't available.
I can test more tomorrow using the new GUI and settings above.
I can test more tomorrow using the new GUI and settings above.
Re: LP_solve
Thanks for this. Will have a look! By the way, Jeff and I are working on an 8760 dispatch model within an annual timestep model within the EPS that you might find interesting and we hope to have soon. We mapped hours onto a subscript and the model solves using ALLOCATE AVAILABLE for each hour. We ba...
- Mon Jan 09, 2023 6:54 pm
- Forum: Vensim
- Topic: DSS + Source Management (e.g. Github)
- Replies: 6
- Views: 756
DSS + Source Management (e.g. Github)
Hello, Moving a prior thread to its own thread here: has there been progress made on using DSS with source management tools, like Github. Previously, when attempting to do merges and other actions, the coordinate system in Vensim would get messed up and cause the model to visually fail. Travis Franc...
- Mon Jan 09, 2023 4:56 pm
- Forum: Vensim
- Topic: Problem with sketch view using GET DIRECT SUBCRIPTS
- Replies: 4
- Views: 459
Re: Problem with sketch view using GET DIRECT SUBCRIPTS
More generally, it appears that adding equations is still creating changes to the formatting section of the .mdl file which is preventing us from being able to merge changes across multiple branches for the .mdl file, which was the goal of this exercise. Do you have any other guidance on this? The ....
- Mon Jan 09, 2023 4:36 pm
- Forum: Vensim
- Topic: Problem with sketch view using GET DIRECT SUBCRIPTS
- Replies: 4
- Views: 459
Re: Problem with sketch view using GET DIRECT SUBCRIPTS
We aren't for this, but I will relay this to Jeff. I'm pretty sure that's just how it was stored as text when we used the equation edtor. As an aside, I retried the model settings change without changing the Equation Format to Verbose, and the problem appears to have gone away. So maybe it's an issu...
- Mon Jan 09, 2023 4:19 pm
- Forum: Vensim
- Topic: Problem with sketch view using GET DIRECT SUBCRIPTS
- Replies: 4
- Views: 459
Problem with sketch view using GET DIRECT SUBCRIPTS
Hello, We are trying to explore using Github for source management for the Energy Policy Simulator at Travis Franck's suggestion. We tried setting the model up for this today by changing the model settings (using DSS v9.3.5). Our modified settings are: FILE FORMAT OPTIONS Equation Order: Alphabetica...
Re: LP_solve
An extremely belated reply here, but do you have any examples of the FIND ZERO application used in the way you mentioned? I've got the example .mdl file downloaded and am looking at that, but thought I would check. I think perhaps the example above is for electricity generation, which we actually ha...
Re: LP_solve
Thanks Tom, we are making forays into more detailed electricity capacity expansion modeling to integrate with the EPS. Dedicated capacity expansion models use linear programming to solve for deployment since the goal is to minimize a cost function with many different options. Happy to share more det...