Thanks LAUJJ
that cleaned it up!
Search found 11 matches
- Mon Apr 30, 2018 4:34 am
- Forum: Vensim
- Topic: longest run of zeros
- Replies: 4
- Views: 2666
- Sun Apr 29, 2018 8:06 am
- Forum: Vensim
- Topic: longest run of zeros
- Replies: 4
- Views: 2666
Re: longest run of zeros
Got it:
Used IF THEN ELSE to catch when zero stream started and count it. Used SAMPLE IF TRUE to find the maximum length of the counted stream.
Thanks
Used IF THEN ELSE to catch when zero stream started and count it. Used SAMPLE IF TRUE to find the maximum length of the counted stream.
Thanks
- Sun Apr 29, 2018 7:03 am
- Forum: Vensim
- Topic: longest run of zeros
- Replies: 4
- Views: 2666
Re: longest run of zeros
I realise how I can solve this.
But I need to reset a level to zero after the data stream changes back to 650 (having accumulated the count of zeros in another variable).
I can't find a way to do this, is there a reset variable command?
But I need to reset a level to zero after the data stream changes back to 650 (having accumulated the count of zeros in another variable).
I can't find a way to do this, is there a reset variable command?
- Sat Apr 28, 2018 8:23 am
- Forum: Vensim
- Topic: longest run of zeros
- Replies: 4
- Views: 2666
longest run of zeros
I have a flow that can either 650 or zero depending on other conditions. I need to calculate the longest period where the flow remains zero.
e.g. 650,650,0,0,0,650,0,0,0,0,0,650,0,0 the answer would be 5 (days in my case).
I have PLE Plus is there a way to code this?
Thanks
e.g. 650,650,0,0,0,650,0,0,0,0,0,650,0,0 the answer would be 5 (days in my case).
I have PLE Plus is there a way to code this?
Thanks
- Sat Apr 28, 2018 6:16 am
- Forum: Vensim
- Topic: Custom Report
- Replies: 5
- Views: 3246
Re: Custom Report
Does anyone have a small .mdl file example that demonstrates the use of the :REPORT keyword please I can't find examples anywhere.
- Fri Apr 27, 2018 7:40 am
- Forum: Vensim
- Topic: Custom Report
- Replies: 5
- Views: 3246
Re: Custom Report
Thank you I use Notepad++ so easy.
But how once I create in notepad do I get it into Vensim model to get the data variables into the report?
But how once I create in notepad do I get it into Vensim model to get the data variables into the report?
- Fri Apr 27, 2018 6:24 am
- Forum: Vensim
- Topic: Custom Report
- Replies: 5
- Views: 3246
Custom Report
I know this is a newbie question but:
I have read the help documentation and see I can create a custom report with the:REPORT keyword followed by my text and variables etc.
But how to do this? Where is the text editor or menu item? Where do I type this keyword. I have PLE PLus?
Thanks
I have read the help documentation and see I can create a custom report with the:REPORT keyword followed by my text and variables etc.
But how to do this? Where is the text editor or menu item? Where do I type this keyword. I have PLE PLus?
Thanks
- Fri Apr 27, 2018 5:24 am
- Forum: Vensim
- Topic: Accessing value of a variable at a previous time
- Replies: 2
- Views: 1740
Re: Accessing value of a variable at a previous time
Solved it thanks
- Fri Apr 27, 2018 2:14 am
- Forum: Vensim
- Topic: Accessing value of a variable at a previous time
- Replies: 2
- Views: 1740
Accessing value of a variable at a previous time
I am developing a simple tank model.
I am calculating the tank volume based on inflows and outflows. In my case I need to use the tank volume at Time-1 in an equation.
How do I do that?
I am calculating the tank volume based on inflows and outflows. In my case I need to use the tank volume at Time-1 in an equation.
How do I do that?
- Fri Apr 27, 2018 1:53 am
- Forum: Vensim
- Topic: Vensim and stella question
- Replies: 2
- Views: 2052
Vensim and stella question
In Stella, in the interface, I can create a "numeric display" which provides a continuous readout of a variable as it changes with time. This enables me to watch a variable as the simulation proceeds. Is there a way to replicate this in Vensim? I can create graphs etc but not just a changi...
- Thu Apr 26, 2018 10:44 pm
- Forum: Vensim
- Topic: Where are the example models?
- Replies: 1
- Views: 1469
Where are the example models?
I have newly purchased Vensim PLE PLus and installed it. It works fine and its nice to be able to move from the free version.
However, I cannot locate the example models mentioned throughout the Help documentation. Where can I find them or download them please.
Thanks
However, I cannot locate the example models mentioned throughout the Help documentation. Where can I find them or download them please.
Thanks