Search found 13 matches

by OlivierV
Fri Jul 02, 2021 3:21 pm
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

I finally unistalled Vensim, deleted all folders and reinstalled it. I also changed the installation path.
Now everything seems to work well, I don’t really understand why, but I can normally run simulations.
Thank you for your help.
by OlivierV
Tue Jun 29, 2021 12:39 pm
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

Ok, I saw
That still does not work. First it tells me «The model C:\users\ovidal\documents\mdl.tmp does not exist - can’t open»
Then it creates one, I can open it but the problem of simulations remains.
by OlivierV
Tue Jun 29, 2021 12:12 pm
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

Here it is.
It has been the same in the document folder. I am under Windows 10 for companies. But the only thing I think changed before the apparition of the errors was installing and then uninstalling Vensim reader.
by OlivierV
Tue Jun 29, 2021 11:42 am
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

The shortcut to Vensim.ini only opens it to me a text file, and the Function Example is in the Public User folder of my computer, thus I have no problem to access it (other model at different paths also do not open)
by OlivierV
Tue Jun 29, 2021 10:12 am
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

I have made screenshot of manipulations on a Function Example in the PNG attached
by OlivierV
Tue Jun 29, 2021 8:30 am
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

No model at all can run.
I figured out that there only were Venread.ini and Vensimdp.ini in the folder, even thought I uninstalled Vensim reader and unistalled/re-installed Vensim DSS. Vensim.ini doesn’t exist.
Maybe I should retrieve that specific file ?
by OlivierV
Mon Jun 28, 2021 4:29 pm
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Re: Error: Simulate button that does not work and MS3321 error

Do you think it is a model problem ? I have tried with some models and also Vensim Example or models, nothing runs.
I am using standard Vensim version
by OlivierV
Mon Jun 28, 2021 12:14 pm
Forum: Vensim
Topic: Error: Simulate button that does not work and MS3321 error
Replies: 16
Views: 3443

Error: Simulate button that does not work and MS3321 error

Hello, I have an error that I can’t understand: When I click on «simulate» button, nothing happens. I could also saw errors: - When I load (afer opening the model), it indicates errors like «VarX is not used in the model», and then returns «RMS3321» or crash. If i check synthax at the «VarX is not u...
by OlivierV
Tue May 04, 2021 11:53 am
Forum: Vensim
Topic: Optimization with variables as parameters and varying constraints
Replies: 13
Views: 4606

Re: Optimization with variables as parameters and varying constraints

You are right about exp penalty overflow. What bothers me for penalties is that the limits I want to represent are tough limits, meaning that I can’t overpass them but I can be just at their edge without problems (that is why I thought about logistic curves allowing me model a continous penalty swit...
by OlivierV
Fri Apr 30, 2021 1:10 pm
Forum: Vensim
Topic: Optimization with variables as parameters and varying constraints
Replies: 13
Views: 4606

Re: Optimization with variables as parameters and varying constraints

Thank you for your answers and advices I could have tried different optimization methods and found that only Multiple start Vector gave different (and better) results. However, I have not been able to generate good output even with few objectives. As explained in a previous message, «we could expect...
by OlivierV
Wed Apr 28, 2021 1:54 pm
Forum: Vensim
Topic: Optimization with variables as parameters and varying constraints
Replies: 13
Views: 4606

Re: Optimization with variables as parameters and varying constraints

Sorry, Voc and VPD file attached.
A first issue is precisely that even with only “Objective Function” in policy mode, I find a -3 payoff
by OlivierV
Wed Apr 28, 2021 8:12 am
Forum: Vensim
Topic: Optimization with variables as parameters and varying constraints
Replies: 13
Views: 4606

Re: Optimization with variables as parameters and varying constraints

Thank you for your answers. Is there documentation about how Vensim mathematicaly compute optimization ? I have implemented the optimisation using Vector lookup as you suggested, and turned variable constraints into binary penalties (if variable reach limit, then penalty=100). That has allowed me cr...
by OlivierV
Fri Apr 23, 2021 11:38 am
Forum: Vensim
Topic: Optimization with variables as parameters and varying constraints
Replies: 13
Views: 4606

Optimization with variables as parameters and varying constraints

Hi, I would like to optimize a model, in which : - Some optimization constraints are time varying (exogeneously). - Optimization parameters should vary over time. - I would like to constraint stocks, without taking them as optimization parameters. It is a dynamic system that I would like to optimise...