Search found 6 matches

by Ryan
Fri Aug 09, 2019 8:50 pm
Forum: System Dynamics Discussion
Topic: what method of generating random variable is correct in this problem?
Replies: 2
Views: 9030

what method of generating random variable is correct in this problem?

hi I have made a model in which a surgeon performs surgeries on multiple patients. The surgeon is capable of performing 2 different types of surgeries (type A and type B). type A surgery is more desirable but at the same time, it requires more skills from the surgeon compared to type B surgery. It i...
by Ryan
Mon Jun 24, 2019 7:46 am
Forum: System Dynamics Discussion
Topic: how to determine the number of positive values every 5 time-steps
Replies: 3
Views: 9025

Re: how to determine the number of positive values every 5 time-steps

thank you so much. apparently, "number of time steps elapsed" is not a built-in Vensim function. I tried: number of time steps = Time/TIME STEP reset count = if then else ( number of time steps/5=0 , Number of positive values / time step , 0 ) but for an unknown reason, it doesn't seem to ...
by Ryan
Sun Jun 23, 2019 7:06 am
Forum: System Dynamics Discussion
Topic: how to determine the number of positive values every 5 time-steps
Replies: 3
Views: 9025

how to determine the number of positive values every 5 time-steps

Hello Everyone my model consists of a random number generator. it generates positive and negative numbers. is there a way to find out the number of positive values generated every 5 time-steps? in other words, I want to specify a variable in my model called "number of positive values" to s...
by Ryan
Wed Jun 19, 2019 3:07 pm
Forum: System Dynamics Discussion
Topic: conditional activation of outflow.
Replies: 2
Views: 8202

Re: conditional activation of outflow.

thank you so much
it really helped
by Ryan
Wed Jun 19, 2019 12:26 pm
Forum: System Dynamics Discussion
Topic: conditional activation of outflow.
Replies: 2
Views: 8202

conditional activation of outflow.

Hello everyone I am modeling a surgeon's skills in a specific kind of surgery, she gains some skills in that specific kind of surgery if she performs one. she also loses some part of her skills in that kind of surgery if she doesn't have any interventions of that kind during 6 months. the unit of ti...