There is no way I know of to close a model.
What are you trying to do?
Search found 4585 matches
- Tue Feb 07, 2012 5:14 pm
- Forum: Vensim
- Topic: Close/Save functions in command scripts
- Replies: 3
- Views: 3804
- Mon Feb 06, 2012 8:17 pm
- Forum: Vensim
- Topic: Equation editor hangs programme
- Replies: 19
- Views: 15112
Re: Equation editor hangs programme
It's definitely the two monitors causing the problem.
Vensim remembers where the equation editor was, so if it was on a 2nd monitor and then you run using a single monitor, the equation editor will appear off screen. It happens to a lot of software (Microsoft Groove/Sharepoint included).
Tony.
Vensim remembers where the equation editor was, so if it was on a 2nd monitor and then you run using a single monitor, the equation editor will appear off screen. It happens to a lot of software (Microsoft Groove/Sharepoint included).
Tony.
- Mon Feb 06, 2012 8:58 am
- Forum: Vensim
- Topic: Equation editor hangs programme
- Replies: 19
- Views: 15112
Re: Equation editor hangs programme
Did the problem occur when you had two monitors connected?
- Sun Feb 05, 2012 12:32 pm
- Forum: Vensim
- Topic: Compiled simulation recompiles every sessions
- Replies: 4
- Views: 2690
Re: Compiled simulation recompiles every sessions
Is your model a .MDL file?
If yes, save it as a binary format model (.VMF) and try again. MDL files are "reformed/cleaned" on open so effectively appear as a changed model. .VMF models are not.
If yes, save it as a binary format model (.VMF) and try again. MDL files are "reformed/cleaned" on open so effectively appear as a changed model. .VMF models are not.
- Fri Feb 03, 2012 9:00 am
- Forum: Vensim
- Topic: Equation editor hangs programme
- Replies: 19
- Views: 15112
Re: Equation editor hangs programme
My .vensim file is in /Users/tonykennedy.
Let me know how you get on.
Tony.
Let me know how you get on.
Tony.
- Fri Feb 03, 2012 8:49 am
- Forum: Vensim
- Topic: Equation editor hangs programme
- Replies: 19
- Views: 15112
Re: Equation editor hangs programme
I'll fire up my Mac and double check the location of the .vensim file. Give me ten mins.
Tony.
Tony.
- Fri Feb 03, 2012 8:49 am
- Forum: Vensim
- Topic: Equation editor hangs programme
- Replies: 19
- Views: 15112
Re: Equation editor hangs programme
This comes up regularly. http://www.ventanasystems.co.uk/forum/viewtopic.php?f=2&t=4587&p=15553&hilit=equation+editor#p15550 But the instructions on the Mac are slightly different. 1. Close Vensim. 2. Start textedit, browse to your user directory and press CMD + SHIFT + . (the Apple key,...
- Wed Feb 01, 2012 8:22 pm
- Forum: Vensim
- Topic: Data Export to Tab file
- Replies: 2
- Views: 2026
Re: Data Export to Tab file
Sorry about this. It's a bug that we have fixed ready for the next release.
If you email me at vensim@vensim.com and let me know your operating system, I'll send you details on how to get the release.
Tony.
If you email me at vensim@vensim.com and let me know your operating system, I'll send you details on how to get the release.
Tony.
- Wed Feb 01, 2012 1:02 pm
- Forum: Vensim
- Topic: Using INITIAL with user loop
- Replies: 10
- Views: 6255
Re: Using INITIAL with user loop
This will not work, if you are trying to define a constant you need to follow the MYCONSTDEF function exactly (you have mixed up the inputs to the functions which will cause problems).
If you need to specify a 3d array, I'd suggest following the PSUM example, but make user loops = 3.
If you need to specify a 3d array, I'd suggest following the PSUM example, but make user loops = 3.
- Wed Feb 01, 2012 9:29 am
- Forum: Vensim
- Topic: Using INITIAL with user loop
- Replies: 10
- Views: 6255
Re: Using INITIAL with user loop
Do not edit mdl.c. The only file you should change in the compiled simulation path is MDL.BAT. Do not change anything else, or copy any of these files to different locations. Vensim user loop functions work differently to normal functions, putting a zero in as you have done is wrong. A Vensim user ...
- Tue Jan 31, 2012 3:33 pm
- Forum: Vensim
- Topic: Can you put lookups in a data-model?
- Replies: 5
- Views: 3373
Re: Can you put lookups in a data-model?
I would just read the lookup into the main model as well as the data model. Unless you need it in the data model for a particular reason. To work around it, you can create an auxiliary which can be saved, Effect of parking space = Effect of parking space f (time ) Then in the main model, use GET DAT...
- Tue Jan 31, 2012 2:28 pm
- Forum: Vensim
- Topic: Question about the DDE connection with Excel
- Replies: 7
- Views: 6059
Re: Question about the DDE connection with Excel
There seems to be a problem with DDE at the moment in that Excel does not wait for the DDE command to execute in Vensim before executing the next command (that is why it works if you step through it slowly, but not if you run it full speed). I have no work around for this that will actually solve th...
- Tue Jan 31, 2012 11:31 am
- Forum: Vensim
- Topic: Can you put lookups in a data-model?
- Replies: 5
- Views: 3373
Re: Can you put lookups in a data-model?
I don't really understand what you mean here.
What error message are you getting?
What error message are you getting?
- Tue Jan 31, 2012 9:02 am
- Forum: Vensim
- Topic: Using INITIAL with user loop
- Replies: 10
- Views: 6255
Re: Using INITIAL with user loop
You can have up to eight dimensions.The constant definition functions limit to 2-dimension arrays only. My arrays have 3 or more dimensions.
Post a sample of the model that you are trying to do as it's difficult to advise you without something better to look at.
Tony.
- Tue Jan 31, 2012 9:00 am
- Forum: Vensim
- Topic: lookup function curve segmentalize by time
- Replies: 1
- Views: 1741
Re: lookup function curve segmentalize by time
I do not understand what you want to do. But here is a guess. First calculate your lookup values. lookup value[x1] = lookup table f[x1] ( time ) lookup value[x2] = lookup table f[x2] ( time ) lookup value[x3] = lookup table f[x3] ( time ) Next calculate xslice xslice = if then else ( time < 30 , loo...
- Fri Jan 27, 2012 2:30 pm
- Forum: Vensim
- Topic: Questions about PULSE TRAIN and material flow
- Replies: 4
- Views: 3228
Re: Questions about PULSE TRAIN and material flow
Time is the simulation time. t=1, t=1, etc.
- Thu Jan 26, 2012 6:38 pm
- Forum: Vensim
- Topic: Using INITIAL with user loop
- Replies: 10
- Views: 6255
Re: Using INITIAL with user loop
You can also define the function as a constant (see venext.c, there is an example function called MYCONSTDEF).
Tony.
Tony.
- Thu Jan 26, 2012 4:45 pm
- Forum: Vensim
- Topic: Using INITIAL with user loop
- Replies: 10
- Views: 6255
Re: Using INITIAL with user loop
Is there anyway to use INITIAL on an external function specified with user loop? I use this external function to load a multidimensional data file but only at the initialisation. For example, AAA[DIM1,DIM2,DIM3] = INITIAL(OPENWF(FILEID, DD1, DD2,DD3))~~| where OPENWF is setup to use 3 user loops Th...
- Thu Jan 26, 2012 10:35 am
- Forum: Vensim
- Topic: using SETVAL in WORLDAPP
- Replies: 3
- Views: 2441
Re: using SETVAL in WORLDAPP
num$ = Worksheets("Sheet1").Cells(1, 2).Value comstr$ = "SIMULATE>SETVAL|RATE34 = " + num$ result = vensim_command(comsrt$) This should work fine as long as rate34 is a constant. For subscripted constants, use something like num$ = Worksheets("Sheet1").Cells(1, 2).Valu...
- Thu Jan 26, 2012 9:19 am
- Forum: Vensim
- Topic: Truncating data. The tool can n't display more than 8000
- Replies: 1
- Views: 1265
Re: Truncating data. The tool can n't display more than 8000
Tom has raised it as something to add in so hopefully we can add it soon.
Tony.
Tony.
- Tue Jan 24, 2012 3:58 pm
- Forum: System Dynamics Discussion
- Topic: investment model, need help plz
- Replies: 13
- Views: 12152
Re: investment model, need help plz
Only you can decide if the model is doing what you want it to.
I would personally say no, as you need to put units into your model so that it passes basic checks.
I would personally say no, as you need to put units into your model so that it passes basic checks.
- Tue Jan 24, 2012 1:20 pm
- Forum: System Dynamics Discussion
- Topic: investment model, need help plz
- Replies: 13
- Views: 12152
Re: investment model, need help plz
What is your question on the student population?almoon wrote:Thank you very much for your help, but what about the student population part?
- Tue Jan 24, 2012 9:29 am
- Forum: Vensim
- Topic: How to fetch constants in Excel in RC mode
- Replies: 2
- Views: 2009
Re: How to fetch constants in Excel in RC mode
You can work with R1C1 style references as you are working in VBA. Paste the following function into your code. Function R1C1converter(Address As String, ByVal R1C1_output As Integer, ByVal bRemoveExtraChars As Boolean) As String Dim x As Variant 'If RefCell Is Nothing Then Set RefCell = ActiveCell ...
- Tue Jan 24, 2012 9:09 am
- Forum: System Dynamics Discussion
- Topic: investment model, need help plz
- Replies: 13
- Views: 12152
Re: investment model, need help plz
There is some problem which am trying to fix, but in general can you give me your feedback about the work in general and help me to fix the problem ? What is the problem? I'd really spend the time and make sure you add units to each of the parameters in your model. For example, INVESTMENT SHARE pro...
- Fri Jan 20, 2012 3:31 pm
- Forum: Vensim
- Topic: Subrange of Subrange for Subscript
- Replies: 10
- Views: 6362
Re: Subrange of Subrange for Subscript
Sorry Sarah, I don't really understand what you are asking here.