Search found 135 matches

by aliakhavan89
Fri Oct 04, 2024 1:34 pm
Forum: Vensim
Topic: The error report was sent to us.
Replies: 2
Views: 65

The error report was sent to us.

I have noticed that error report is sent without giving me time to write some comments. I'm not sure if it's a visual glitch or if it's actually happening. Just wanted to let you know.
Screenshot 2024-10-03 at 5.12.42 PM.png
Screenshot 2024-10-03 at 5.12.42 PM.png (318.16 KiB) Viewed 65 times
by aliakhavan89
Fri Sep 20, 2024 6:18 pm
Forum: Vensim
Topic: Delay Fixed
Replies: 5
Views: 228

Re: Delay Fixed

Thanks, Tom! Your explanation makes sense. I have a follow-up question. What should be the initial value of the stock if I have two different shipping times and outflows? I found this to produce a similar behavior, like the one in the middle: shipping*fraction*shipping time + shipping*(1-fraction)*s...
by aliakhavan89
Fri Sep 20, 2024 3:05 pm
Forum: Vensim
Topic: v.10 Parallel computations
Replies: 8
Views: 2199

Re: v.10 Parallel computations

Hi Tom, Sorry for my late response, and thanks a lot. I have actually used the GET TIME VALUE method, and it is really helpful. Also, thanks for reminding about the reproducibility. However, my inquiry was about the first item: for the algorithm, set in the voc file. As far as I understand, each thr...
by aliakhavan89
Fri Sep 20, 2024 2:54 pm
Forum: Vensim
Topic: Delay Fixed
Replies: 5
Views: 228

Re: Delay Fixed

I revised it based on my experience in a project. I want to have an initial value for 'shipment in transit,' but I don't want items to remain in the stock forever. A simple solution is to assume they've arrived at the start of the simulation and are already in transit. I guess this would work. Again...
by aliakhavan89
Thu Sep 19, 2024 7:19 pm
Forum: Vensim
Topic: Delay Fixed
Replies: 5
Views: 228

Delay Fixed

Hi, I'm trying to make sense of an equation. The model is from Vensim documentation (Delay Fixed). The initial value for 'shipments in transit' is defined based on the model variables as INITIAL(shipments in transit) = shipping*shipping time At the same time, the equation for 'shipping' is shipping ...
by aliakhavan89
Fri Sep 06, 2024 2:28 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 32
Views: 25940

Re: Compile Errors on macOS

Interesting. Not really. It could be caused by some security software that my institution installs on macOS. I'll check more and let you know. Thank you!
by aliakhavan89
Thu Sep 05, 2024 6:57 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 32
Views: 25940

Re: Compile Errors on macOS

Vensim works fine the first time a model is compiled. But if the model is changed and it's going to be compiled again, you'll get the error “Failed to compile the model (does not exist).” However, upon closing and reopening Vensim, it works without any error. 
by aliakhavan89
Thu Sep 05, 2024 6:41 pm
Forum: Vensim
Topic: v.10 Parallel computations
Replies: 8
Views: 2199

Re: v.10 Parallel computations

Hi Tom, Thank you very much for the detailed response. This was very helpful and triggered another question. Can we set the SEED parameter in the optimization setting in a way that each thread (or each restart sequence) uses a new random value throughout the search? Currently, all search threads wit...
by aliakhavan89
Thu Sep 05, 2024 3:39 pm
Forum: Vensim
Topic: v.10 Parallel computations
Replies: 8
Views: 2199

Re: v.10 Parallel computations

I have a few clarification questions: 1. Does MULTIPLE_START = XPARALLEL ignore RESTART_MAX entirely? If not, what does having MULTIPLE_START = XPARALLEL with RESTART_MAX = N mean? In this case, how does the parallelization work? 2. From the documentation: MULTIPLE_START = RPARALLEL is like RRANDOM,...
by aliakhavan89
Thu Aug 29, 2024 2:50 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 32
Views: 25940

Re: Compile Errors on macOS

I figured that you only need to close and reopen Vensim. Here's the test: On Vensim DSS 10.2.1 (MC), the compile error randomly happens (I have a hunch that it happens if it wants to recompile the model after some equations have changed) and the only workaround I've found so far is to close and reo...
by aliakhavan89
Tue Aug 27, 2024 6:47 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 3187

Re: Disappearing Control Panel window on second display

I have another feedback about the workflow on the same display and the same desktop space. When a graph/table is activated in Vensim, as soon as I switch to another app (for example, Excel) to double-check something, the graph/table window disappears. This is really critical, and users should be abl...
by aliakhavan89
Thu Aug 22, 2024 5:52 pm
Forum: Vensim
Topic: Sensibity graphs interpretation help
Replies: 2
Views: 1298

Re: Sensibity graphs interpretation help

The graph you're looking at shows the results of running multiple simulations with different values for one or more parameters, each time randomly sampling from a specified distribution. The different shaded areas in the graph represent confidence bounds, which are intervals within which the outcome...
by aliakhavan89
Mon Aug 19, 2024 6:21 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 3187

Re: Disappearing Control Panel window on second display

FYI, the workaround I just described does not work for 'Preferences...' (Vensim Settings) at all. You should kill the app entirely if you accidentally move the preferences window to a 2nd display. This is because you get stuck, and the main Vensim window and all menus are irresponsive.
by aliakhavan89
Mon Aug 19, 2024 6:02 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 3187

Re: Disappearing Control Panel window on second display

The only workaround I’ve found for this is to move the CP window to the 2nd display. After it disappears, go to Mission Control (Swipe up with 3/4 figures on trackpad) and drag and drop the CP window to the Desktop space on the 2nd display. Note that the CP window only becomes a separate entity and ...
by aliakhavan89
Fri Jul 26, 2024 3:53 pm
Forum: Vensim
Topic: CMD script macOS problem
Replies: 15
Views: 7338

Re: CMD script macOS problem

Thank you!
by aliakhavan89
Fri Jul 26, 2024 2:17 pm
Forum: Vensim
Topic: CMD script macOS problem
Replies: 15
Views: 7338

Re: CMD script macOS problem

edit the CMD script and hit the run button
by aliakhavan89
Fri Jul 26, 2024 12:43 am
Forum: Vensim
Topic: CMD script macOS problem
Replies: 15
Views: 7338

Re: CMD script macOS problem

I couldn't figure out a way to make it 100% replicable, but I have a hunch that this issue happens when there are a lot of datasets in the folder (which is what I had in my original model). A similar error was happening when working with my original model, and I thought there might be something wron...
by aliakhavan89
Fri Jul 26, 2024 12:30 am
Forum: Vensim
Topic: CMD script macOS problem
Replies: 15
Views: 7338

Re: CMD script macOS problem

After updating to DSS 10.2.1, I cannot run the same cmd I've been using for the past few weeks on macOS. It feels that it gets stuck in a loop, and 'cancel' doesn't work (the OS doesn't say Vensim isn't responding). I have to force quit Vensim. I checked again, and the script works fine on DSS 10.2....
by aliakhavan89
Fri Jul 26, 2024 12:22 am
Forum: Vensim
Topic: MCMC Sampling and Boundary Penalty
Replies: 8
Views: 4448

Re: MCMC Sampling and Boundary Penalty

I borrowed the boundary penalty formulation from a template that normalizes the estimated parameters, but I didn't properly adjust the equation based on the parameter boundaries I have in the model. So, I got it to work by accident. I'll share a revised version, though now I have some doubts about t...
by aliakhavan89
Thu Jul 18, 2024 6:49 pm
Forum: Vensim
Topic: MCMC Sampling and Boundary Penalty
Replies: 8
Views: 4448

Re: MCMC Sampling and Boundary Penalty

Hi Tom, Sorry for not uploading the data. I have attached the whole folder here. I did a quick test with the boundary penalty, and it gave a me a very good result, though I added an additional parameter (Exp Sigma, which is not shown in the graph). I'll try to implement your suggestions. Thanks a lo...
by aliakhavan89
Tue Jul 16, 2024 10:41 pm
Forum: Vensim
Topic: MCMC Sampling and Boundary Penalty
Replies: 8
Views: 4448

Re: MCMC Sampling and Boundary Penalty

Thank you! It is a normal log-likelihood. I have attached the toy model here. These are great suggestions. I think defining a prior and including it (mean and standard deviation) in the payoff as the initial condition would resolve the issue. But I guess I should keep the barrier penalty.
by aliakhavan89
Tue Jul 16, 2024 8:30 pm
Forum: Vensim
Topic: MCMC Sampling and Boundary Penalty
Replies: 8
Views: 4448

MCMC Sampling and Boundary Penalty

Is there a way to avoid sampling from parameter boundaries, apart from manually defining a penalty term in the payoff function? I am fine to get a uniform distribution if MCMC cannot recover a proper posterior distribution. By the way, I have not defined a probability distribution for the prior. Scr...
by aliakhavan89
Thu Jun 20, 2024 6:27 pm
Forum: Vensim
Topic: IO Object Nothing to Paste
Replies: 0
Views: 4856

IO Object Nothing to Paste

Paste shortcut (⌘ + V) does not work in the IO Object window (but right-click -> paste works). Also, I feel that window sizes are optimized for larger displays, and they do not show all the information properly in smaller ones (e.g., 14-inch displays) by default. They have to be resized every time t...
by aliakhavan89
Wed Jun 19, 2024 5:48 pm
Forum: Vensim
Topic: Syntax highlighting
Replies: 3
Views: 3541

Re: Syntax highlighting

This is so cool! When working on large applied models, I've always experienced significant eye strain when finding mathematical operators. The new equation editor should greatly reduce that issue, and I hope the contrast between blue variables and black operators is high enough to reduce eye strain ...
by aliakhavan89
Wed Jun 19, 2024 3:40 pm
Forum: Vensim
Topic: Syntax highlighting
Replies: 3
Views: 3541

Syntax highlighting

In the, hopefully, new equation editor, can we expect (preferably customizable) syntax highlighting, especially for parentheses, operators, and subscripts? Something like the examples here: https://en.wikipedia.org/wiki/Syntax_highlighting that one would find in any modern programming platform. Than...