What is the limit to the number of parameters (sets) you can have in a P() statement? How about the dempirical() statement?

What is the limit to the number of parameters (sets) you can have in a P() statement? How about the dempirical() statement?

lou_keller
Not applicable
38 Views
2 Replies
Message 1 of 3

What is the limit to the number of parameters (sets) you can have in a P() statement? How about the dempirical() statement?

lou_keller
Not applicable

[ FlexSim HC 5.0.12 ]

I understand the manual command structure. What is the limit to the number of probability sets either the P() statement or dempirical() statement can contain? In other words, if a single "set" is the probability of an outcome and its respective value, should the P() statement be able to handle

P(2.7,1,2.1,2,1.5,3,7.5,4,0.1,5,5.8,6,2.3,7,1.6,8,6.1,9,6,10,1.2,11,5.8,12,5.6,13,3.9,14,1.7,15,6.8,16,7.1,17,0.8,18,1.2,19,2,20,3.3,21,7.1,22,6.2,23,4.6,24,7,25);
0 Likes
Accepted solutions (1)
39 Views
2 Replies
Replies (2)
Message 2 of 3

lou_keller
Not applicable
Accepted solution

I found the answer to my own question. It's in paragraph 21, of the New Features announcement for FlexSim Healthcare version 2.7.7, published in December 2009. Here's what the entry says...

21. To facilitate quick and easy data entry, two new commands have been included in the software: T() and P(). The first is just a substitute for the triangular() command. However the second, allows you to specify a list of values to be returned based on a corresponding list of probabilities. The format for the data typed into the P() command, is P(value1, percent1, value2, percent2, …) for up to nine different values. If more are required, then the dempirical() or cempirical() commands which can reference an unlimited list of values/percents in a global table must still be used.

Lou

Message 3 of 3

sumanth_raja
Not applicable

Hello Lou,

Is there a way to set up something similar, but return text values (such as location names)?

eg. P(85, Bed_Area1, 15, Bed_Area2).

Thank you!

-Sumanth

0 Likes