question

gilbert jerald avatar image
1 Like"
gilbert jerald asked Sam Stubbs commented

How to have quantity represented in a label?

In my model item type 1 consist of 1 person , and 2 consist of 2 person ,3 consist of 3 person, 4 consist of 4 person, 5 consist of 5 person .and there is different percentage for each item type to arrival ,but the problem is when running this model it shows the output quantity based on number of flow items, but i want the output quantity based on person inside each the item type (for example if item type 3 arrives the output should show 3 not as 1). How do I make this? (Note this is in conjunction with another question here. )

Choose One
labelsoutputquantity
5 |100000

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

Jeff Nordgren avatar image
2 Likes"
Jeff Nordgren answered gilbert jerald commented

@gilbert jerald

Attached is a sample model that does what you describe. It shows a Text visual with the number of the Total Output of people as well as a bar graph showing in a Dashboard. If you have any questions on how this was done, please let me know but it is pretty simple using labels.

outputbylabel-jn1.fsm


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

gilbert jerald avatar image gilbert jerald commented ·

@Jeff Nordgren

thank you sir i got it what you have mention here .

0 Likes 0 ·
Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered Sam Stubbs commented

So the "Output" value is meant to show specifically the output of flow items in a model. If you want the output to represent the number of people based on the itemtype quantity one way you could accomplish this would be to use a Separator object. Have the Separator right near the sink, and have it "split" the item by creating a number of new items based on itemtype who then are also moved into the sink.

Alternatively you could use Process Flow to do this as well. I'm attaching an example that would demonstrate using Process Flow to create multiple items based on item quantity.

labelqtyexample.fsm


labelqtyexample.fsm (19.1 KiB)
· 4
5 |100000

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

gilbert jerald avatar image gilbert jerald commented ·

@Sam Stubbs

sir the model u have attached is not running ,its shows some error.

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ gilbert jerald commented ·

My model seems to be running just fine on my machine. What version of FlexSim are you running?

0 Likes 0 ·
gilbert jerald avatar image gilbert jerald Sam Stubbs ♦ commented ·

@Sam Stubbs

my model is now working i got some ideas from you which is very useful for me.

Thank you sir

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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