question

Ajay Bhesaniya avatar image
0 Likes"
Ajay Bhesaniya asked Joerg Vogel edited

Looking up Label data

After running the model, I saw the "ItemCounts" label on the sink not incrementing in value but stays at 0.00.Is there a way to build separate labels for each "itemtype" and thus get a count of each? which I can use to verify if the sink is pulling based on the demand table.

**This question was originally part of a followup question. The original question thread is found here.

FlexSim 16.0.1
labelsobject referencing
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

Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered Joerg Vogel edited

The ItemCounts Label is a Label Table not just a single integer. So if you try to look at the table as a whole it might return a different value. If you want to look at each item count for each type, just look at each row in the ItemCounts table. We created it so that the rows correspond to each of the four item types (ie row 1 = itemtype 1, etc.)

· 8
5 |100000

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

Ajay Bhesaniya avatar image Ajay Bhesaniya commented ·

Sam, based on your previous message, I thought I would see 4 rows in the ItemCounts table, but I only see one row. See the snapshot taken after running the model for some time. Am I looking at the right place?

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ Ajay Bhesaniya commented ·

So in that window pane that you have open, click on the ItemCounts label, then look at the button right above the "Okay" button, called "Label Table" That will show you the full table and rows.

0 Likes 0 ·
table.jpg (61.7 KiB)
Ajay Bhesaniya avatar image Ajay Bhesaniya commented ·

Got it. Works like a charm!

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ Ajay Bhesaniya commented ·

Great! I'm glad that it worked! IF you're satisfied with this answer, you can go ahead and click the Accept button, unless you had other questions or comments regarding this topic.

0 Likes 0 ·
JUanGarcia avatar image JUanGarcia commented ·

We are in a same situation with the difference that we have 14 diferent references. But doing as you explain the value (ItemCounts) doesn´t increment.


DDMRP Question.fsm

0 Likes 0 ·
ddmrp-question.fsm (71.4 KiB)
Joerg Vogel avatar image Joerg Vogel JUanGarcia commented ·
@JUanGarcia, would you mind to ask a new question? Your request does not provide any new relevant information to an accepted answer. Then you should put a Reference to this thread here. Perhaps do you find some time to look into Best Practices of this site. Thank you! It was a clever move to delete your comment in the other thread.
0 Likes 0 ·
chanclas avatar image chanclas commented ·
Hellow,


I´m doing a similar model, and I want to know what type of label is ItemCounts. Is it number label?

Thank you.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel chanclas commented ·

Obviously, yes! It consists of number and it is aligned to the right of a field.

0 Likes 0 ·