Search found 210 matches

by aliakhavan89
Sat Jun 21, 2025 4:33 pm
Forum: Vensim
Topic: Non-integer Poisson Warning
Replies: 2
Views: 88

Re: Non-integer Poisson Warning

I understand it now. Thanks a lot for the clarification!
by aliakhavan89
Fri Jun 20, 2025 5:37 pm
Forum: Vensim
Topic: Non-integer Poisson Warning
Replies: 2
Views: 88

Non-integer Poisson Warning

This is a Lotka-Volterra model with an over-dispersed Poisson as payoff (I've shared a version of this model earlier). What does Vensim do when the event data is non-integer? I get these warnings at the very end of the estimation log:
Screenshot 2025-06-20 at 1.19.59 PM.png
Screenshot 2025-06-20 at 1.19.59 PM.png (703.93 KiB) Viewed 88 times
Thank you!
by aliakhavan89
Fri Jun 20, 2025 2:55 pm
Forum: Vensim
Topic: non-zero exit status
Replies: 0
Views: 32

non-zero exit status

When I run optimization on a model iteratively on different datasets using command script (e.g., 10 rounds of Powell/MCMC on 10 different datasets back to back without killing the terminal session), I get this message in the terminal from time to time: Command '['C:\\Program Files\\Vensim\\vendss64M...
by aliakhavan89
Thu Jun 19, 2025 1:51 pm
Forum: Vensim
Topic: Kalman and command script
Replies: 2
Views: 109

Re: Kalman and command script

I meant setting these two options highlighted. What I'm currently doing is to save the model with these settings, but when I run the script I shared I iterate over different Data.vdfx. I was just wondering if I'm doing it correctly or if there's a better way to handle this. Screenshot 2025-06-19 at ...
by aliakhavan89
Wed Jun 18, 2025 2:08 pm
Forum: Vensim
Topic: Max PSRF in Kalman MCMC
Replies: 0
Views: 57

Max PSRF in Kalman MCMC

When I run Kalman MCMC using MCINITMETHOD=3 (hybrid) on top of Powell.out, it gives Max PSRF = 0, which I found it odd. What's the meaning of it?
Screenshot 2025-06-18 at 9.48.27 AM.png
Screenshot 2025-06-18 at 9.48.27 AM.png (618.97 KiB) Viewed 57 times
kalman to check.zip
(111.14 KiB) Downloaded 15 times
by aliakhavan89
Wed Jun 18, 2025 1:46 pm
Forum: Vensim
Topic: Kalman and command script
Replies: 2
Views: 109

Kalman and command script

What command should I use to make sure that Kalman.prm file is used when running a Kalman optimization? These are the commands I have that I run using terminal without opening Vensim: SPECIAL>NOINTERACTION SPECIAL>LOADMODEL|model.mdl SIMULATE>DATA|Data.vdfx SIMULATE>RUNNAME|Kalman_Powell SIMULATE>OP...
by aliakhavan89
Tue Jun 17, 2025 1:52 am
Forum: Vensim
Topic: What does fp_err_ctx do?
Replies: 2
Views: 373

Re: What does fp_err_ctx do?

Thank you very much, Tom! I didn't have the payoff report on, and I accidentally found out about the cin fp error files. But I didn't get any error when I used the .cin input to simply run the model, which was surprising. I can run the calibration with the payoff report on to see what else is being ...
by aliakhavan89
Sun Jun 15, 2025 1:16 am
Forum: Vensim
Topic: What does fp_err_ctx do?
Replies: 2
Views: 373

What does fp_err_ctx do?

When I estimate the parameters of a model using over-dispersed Poisson (attached), the optimizer generates 'fp_err_ctx' .cin files. But when I run the model with these inputs, I don't get any fp errors. I might be missing something, so could you please help me understand what's happening? Thank you!...
by aliakhavan89
Mon Jun 09, 2025 3:09 pm
Forum: Vensim
Topic: Can I vary the NOISE SEED in the .vsc text instead of the checkbox?
Replies: 2
Views: 1428

Re: Can I vary the NOISE SEED in the .vsc text instead of the checkbox?

Thanks a lot, Tom. Yes, I'm doing sensitivity after MCMC, and all I had to do was to include NOISE SEED as a variable in the model and set MY_SEED = 0, which goes into the Random functions. Such a nice feature! Thanks a lot!
by aliakhavan89
Mon Jun 09, 2025 2:32 am
Forum: Vensim
Topic: Can I vary the NOISE SEED in the .vsc text instead of the checkbox?
Replies: 2
Views: 1428

Can I vary the NOISE SEED in the .vsc text instead of the checkbox?

Is it possible to manually add this option in the .vsc file as a text? (to avoid the hassle when using cmd/dll)
hmfile_hash_77444542.png
hmfile_hash_77444542.png (11.3 KiB) Viewed 1428 times
by aliakhavan89
Fri Jun 06, 2025 2:49 am
Forum: Vensim
Topic: Does running Powell using DLL/Venpy generate '.out' file?
Replies: 2
Views: 2240

Re: Does running Powell using DLL/Venpy generate '.out' file?

Hi Tom, thank you for your quick response. I'll email you now.
by aliakhavan89
Fri Jun 06, 2025 2:32 am
Forum: Vensim
Topic: Does running Powell using DLL/Venpy generate '.out' file?
Replies: 2
Views: 2240

Does running Powell using DLL/Venpy generate '.out' file?

I can see the .out files being generated when running a cmd file manually. But when I use the same command "MENU>RUN_OPTIMIZE|o" combined with venpy/dll on windows, it generates the .vdfx files but not the .out ones. Is there a way to save the optimized parameters? On a related note, I wan...
by aliakhavan89
Thu May 29, 2025 9:57 pm
Forum: Vensim
Topic: How to load '.out' using script command
Replies: 3
Views: 3446

Re: How to load '.out' using script command

I have another question. Is it possible to tell 'SIMULATE>ADDCIN' command to read the .out file from a subdirectory rather than the parent directory where the model and .cmd files are saved? If so, could you please provide an example? Thanks again!
by aliakhavan89
Thu May 29, 2025 5:28 pm
Forum: Vensim
Topic: How to load '.out' using script command
Replies: 3
Views: 3446

Re: How to load '.out' using script command

I could run it. Thank you so much!!
by aliakhavan89
Thu May 29, 2025 4:30 pm
Forum: Vensim
Topic: How to load '.out' using script command
Replies: 3
Views: 3446

How to load '.out' using script command

Hi. What is the equivalent of this action in the command script? FYI, I want to run MCMC with the values obtained from Powell. Thanks so much in advance!
Screenshot 2025-05-29 at 12.22.45 PM.png
Screenshot 2025-05-29 at 12.22.45 PM.png (759.08 KiB) Viewed 3446 times
by aliakhavan89
Thu May 29, 2025 12:49 am
Forum: Vensim
Topic: MCMC with multiple chains and starting points
Replies: 3
Views: 2599

Re: MCMC with multiple chains and starting points

Thank you, Tom! I think I got confused thinking all chains start from the same point and MCINIT controls the level of "added noise" for sampling. But noise is clearly controlled by other parameters, so not sure why I got confused. Thanks a lot for the clarification!
by aliakhavan89
Wed May 28, 2025 5:49 pm
Forum: Vensim
Topic: MCMC with multiple chains and starting points
Replies: 3
Views: 2599

MCMC with multiple chains and starting points

I couldn't find the explicit definition in the tutorial, so I'm posting my question here: When running a standalone MCMC with multiple chains per each parameter, do all chains start from the same starting point?
by aliakhavan89
Fri Apr 25, 2025 12:29 pm
Forum: Vensim
Topic: Simultaneous Equation Visualization
Replies: 1
Views: 2728

Simultaneous Equation Visualization

Such a great graphical visualization for simultaneous equations! Very cool feature!
Screenshot 2025-04-24 at 9.34.56 PM.png
Screenshot 2025-04-24 at 9.34.56 PM.png (1.43 MiB) Viewed 2728 times
by aliakhavan89
Wed Apr 02, 2025 6:29 pm
Forum: Vensim
Topic: insert picture into Aux / Stock variable?
Replies: 8
Views: 9168

Re: insert picture into Aux / Stock variable?

Yes, they also show up in the equations.
Screenshot 2025-04-02 at 2.28.56 PM.png
Screenshot 2025-04-02 at 2.28.56 PM.png (1.77 MiB) Viewed 4591 times
by aliakhavan89
Wed Apr 02, 2025 5:30 pm
Forum: Vensim
Topic: insert picture into Aux / Stock variable?
Replies: 8
Views: 9168

Re: insert picture into Aux / Stock variable?

I'm not sure how it would look like on other machines, but on macOS, you can use emojis instead of regular characters.
Screenshot 2025-04-02 at 1.26.28 PM.png
Screenshot 2025-04-02 at 1.26.28 PM.png (677.73 KiB) Viewed 4599 times
Screenshot 2025-04-02 at 1.27.57 PM.png
Screenshot 2025-04-02 at 1.27.57 PM.png (1.07 MiB) Viewed 4599 times
by aliakhavan89
Thu Mar 13, 2025 2:00 pm
Forum: Vensim
Topic: Help with SVG Export
Replies: 4
Views: 4974

Re: Help with SVG Export

Thank you so much! 10.3.0 works perfectly now! Lot's of great features!
Screenshot 2025-03-13 at 9.59.07 AM.png
Screenshot 2025-03-13 at 9.59.07 AM.png (978.18 KiB) Viewed 4829 times
by aliakhavan89
Thu Mar 13, 2025 1:56 pm
Forum: Vensim
Topic: Equation Editor not showing up on 10.3.0 on Mac
Replies: 6
Views: 5687

Re: Equation Editor not showing up on 10.3.0 on Mac

And it now appears in the default resolution. I guess for the very first time it was outside of the display area (all displays).
Screenshot 2025-03-13 at 9.55.20 AM.png
Screenshot 2025-03-13 at 9.55.20 AM.png (1.19 MiB) Viewed 5673 times
it's all set now. Thank you!
by aliakhavan89
Thu Mar 13, 2025 1:54 pm
Forum: Vensim
Topic: Equation Editor not showing up on 10.3.0 on Mac
Replies: 6
Views: 5687

Re: Equation Editor not showing up on 10.3.0 on Mac

When the equation editor was open (and it was not showing up), I changed the resolution and it suddenly appeared!
Screenshot 2025-03-13 at 9.52.11 AM.png
Screenshot 2025-03-13 at 9.52.11 AM.png (1.78 MiB) Viewed 5673 times
by aliakhavan89
Thu Mar 13, 2025 1:50 pm
Forum: Vensim
Topic: Equation Editor not showing up on 10.3.0 on Mac
Replies: 6
Views: 5687

Re: Equation Editor not showing up on 10.3.0 on Mac

Of course, I had done that. I only had two monitors connected and was suspecting the extra displays are acting up. They did not. Just a FYI, I have a 14-inch Mac. I can restart it to see what happens. Is it possible that some interface settings from the previous version in the shared folder are inte...
by aliakhavan89
Thu Mar 13, 2025 1:44 pm
Forum: Vensim
Topic: Equation Editor not showing up on 10.3.0 on Mac
Replies: 6
Views: 5687

Equation Editor not showing up on 10.3.0 on Mac

Equation editor seems to get activated but nothing shows up
Screenshot 2025-03-13 at 9.39.27 AM.png
Screenshot 2025-03-13 at 9.39.27 AM.png (1.07 MiB) Viewed 5687 times