question

Lou Keller avatar image
0 Likes"
Lou Keller asked Sumanth Raja edited

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

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);
FlexSim HC 5.0.12
flexscriptflexsim hccommandsdistribution parameters
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Lou Keller avatar image
1 Like"
Lou Keller answered Sumanth Raja edited

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

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sumanth Raja avatar image Sumanth Raja commented ·

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 0 ·