question

Serge A avatar image
0 Likes"
Serge A asked Jason Lightfoot answered

Inconsistent naming of the instances in Zone>stats/instances

I noticed some strange naming of the instance references in the Zone tree structure.

How to reproduce:

  1. FlexSim 21.0.2,
  2. Create a BasicFR, attach it to an Object PF, with an activity EnterZone and a local Zone
  3. Copy-paste this object
  4. Run this model
  5. Explore attribute tree of the Zone

What is observed:

nodes of both instances have the same name, even if they refer different objects. See the highlighted text:

This issue doesn't seem to affect how models work, but it may be a trap if someone decides that names of the subnodes of >stats/instances are meaningful.

`gettokens` command works as expected:

gettokens(Model.find("BasicFR4"), node("MODEL:/Tools/ProcessFlow/Object/Zone"))
// -> [/Tools/ProcessFlow/Object>stats/instances/BasicFR4/tokens/1]
FlexSim 21.0.2
bugflexsim 21.0.2zones
1614075482300.png (71.5 KiB)
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

I'll post to dev for review - as you say it's just a name - and probably nothing uses it since the pointer value is correct and where there's an option you should always compare pointer values.

5 |100000

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

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.