Search found 204 matches

by aliakhavan89
Tue Jun 17, 2025 1:52 am
Forum: Vensim
Topic: What does fp_err_ctx do?
Replies: 2
Views: 290

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: 290

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: 1231

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: 1231

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 1231 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: 1940

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: 1940

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: 3224

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: 3224

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: 3224

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 3224 times
by aliakhavan89
Thu May 29, 2025 12:49 am
Forum: Vensim
Topic: MCMC with multiple chains and starting points
Replies: 3
Views: 2462

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: 2462

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: 2678

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 2678 times
by aliakhavan89
Wed Apr 02, 2025 6:29 pm
Forum: Vensim
Topic: insert picture into Aux / Stock variable?
Replies: 8
Views: 8978

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 4401 times
by aliakhavan89
Wed Apr 02, 2025 5:30 pm
Forum: Vensim
Topic: insert picture into Aux / Stock variable?
Replies: 8
Views: 8978

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 4409 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 4409 times
by aliakhavan89
Thu Mar 13, 2025 2:00 pm
Forum: Vensim
Topic: Help with SVG Export
Replies: 4
Views: 4865

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 4720 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: 5582

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 5568 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: 5582

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 5568 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: 5582

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: 5582

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 5582 times
by aliakhavan89
Thu Mar 13, 2025 1:32 pm
Forum: Vensim
Topic: DLL vs Vensim Behavior
Replies: 13
Views: 15255

Re: DLL vs Vensim Behavior

It now throws an error on 10.3.0. I agree with you. it might be the difference between ARM & Intel. Now that I installed 10.3.0, Mac throws an error (which is what we expect). But I have a VM on Mac (Windows 11 using Parallel Desktop). The VM still has the same problem (not throwing an FP error)...
by aliakhavan89
Wed Mar 12, 2025 6:14 pm
Forum: Vensim
Topic: Help with SVG Export
Replies: 4
Views: 4865

Re: Help with SVG Export

Thank you, Tom. I found another workaround a few minutes ago, but I'll keep Inkscape in mind. For what it's worth, here's the workaround: I had a hidden variable, and when I dragged it outside of the area of the current variables, I think it somehow expanded the printable area. Thanks again for the ...
by aliakhavan89
Wed Mar 12, 2025 4:33 pm
Forum: Vensim
Topic: Help with SVG Export
Replies: 4
Views: 4865

Help with SVG Export

Hello, could you please help me properly export the svg of the attached model so that all variables appear in the final product?
Here are some of failed attempts:
Screenshot 2025-03-12 at 12.30.12 PM.png
Screenshot 2025-03-12 at 12.30.12 PM.png (83.33 KiB) Viewed 4865 times
Screenshot 2025-03-12 at 12.30.25 PM.png
Screenshot 2025-03-12 at 12.30.25 PM.png (185.85 KiB) Viewed 4865 times
by aliakhavan89
Wed Mar 12, 2025 11:16 am
Forum: Vensim
Topic: DLL vs Vensim Behavior
Replies: 13
Views: 15255

Re: DLL vs Vensim Behavior

Did you see that I don’t get the error?
by aliakhavan89
Tue Mar 11, 2025 6:01 pm
Forum: Vensim
Topic: DLL vs Vensim Behavior
Replies: 13
Views: 15255

Re: DLL vs Vensim Behavior

The original test I did was on M3, macOS 15.3.1, and Vensim 10.2.2. I just tested it on an M4 machine (but still on macOS 15.3.1) and Vensim 10.1.3. It doesn't throw an FP error either. So, I'm not suspecting Vensim or the build version anymore. Which macOS are you using? At any rate, do you have an...
by aliakhavan89
Mon Mar 10, 2025 4:36 pm
Forum: Vensim
Topic: DLL vs Vensim Behavior
Replies: 13
Views: 15255

Re: DLL vs Vensim Behavior

macOS sequoia 15.3.1 Please see this: https://youtu.be/qywCbmphC5I Note that the first test is on my MacBook Pro M3, macOS 15.3.1, but the second one is on a windows machine (Intel) using Remote Desktop. FYI, Parallels Desktop (on macOS), doesn't throw FP either, so it could be related to ARM or App...