question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Jordan Johnson commented

The input-output counts of the doors don't count correctly.

The input-output counts of the doors don't count correctly.

Look at attached model, click on a door and look at the stats as people go through the doors.

When someone goes out, the input goes up by 1. But when someone goes in the input and output go up by 1.

error-with-input-output-of-doors.fsm

FlexSim 18.2.2
people moduledoor stats
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

·
Joshua S avatar image
1 Like"
Joshua S answered Jordan Johnson commented

Anytime a person is created at a door, it will always register as an input and output, because a person is created at that object and will be assigned a subnode of that object which registers as an input. Then when it releases the person to go to the other door, then it registers that as an output. It's the same if you created an object in a processor through process flow.

· 2
5 |100000

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

Patrick Cloutier avatar image Patrick Cloutier commented ·

This is not very logical. It is an unusable stat. Is there any way to measure in-out without counting what is created in the door? What else would a door be used for besides creating and deleting people?

And why doesn't it count the destroyobject when they exit as an output?

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Patrick Cloutier commented ·

A door is a Location, just like an exam table or a waiting room. If you create an object in any Location, the Input of that location increments. Fixed Resources also have this behavior.

Because it's just a location, it can be used in many more contexts than just as a source or a sink. You can use it as a travel destination at any point in the process. Perhaps people travel to a certain door, and when they arrive, decide where to go next. The door in that case is neither a source nor a sink, but just a destination.

None of the objects in FlexSim count an object's destruction as an Output. Sinks, for example, do not increment their output variable when they destroy flowitems or tokens. The item simply vanishes.

If you want, you can use a different door as the exit. Then the 3D object statistics will happen to reflect your model statistics.

The more correct way gather model statistics is to use the Statistics Collector. You can listen to the OnExit of the Create Person activity, and listen to the OnEntry of the Destroy Object, and then increment and decrement a number based on those events. Then it won't matter if there are 0, 1, 2, or 1000 doors in your model, or if any of those doors are actually entrances, exits, or just travel destinations. If you listen to objects by requirement, you can listen to all CreatePerson and RemovePerson activities, which means it won't matter how many CreatePerson or RemovePerson activities you have in the model either.

The goal for People Module is to include many statistics collectors that collect data this way by default. For now, however, you will have to create those kind of collectors on your own.

1 Like 1 ·

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.