question

Clair A avatar image
0 Likes"
Clair A asked Phil BoBo edited

Upgrading a model from 24.0 to 24.2 beta changes the A* grid size

Open the attached model astar-240.fsm in 24.0. This is how the A* grid grid looks like:

1721832377041.png

Open the same model in 24.2 beta. This is how the A* grid grid looks like:

1721832450599.png

Upgrading a model from 24.0 to 24.2 should not change the grid size.

Could you please fix it before the final release ?

@Jordan Johnson

FlexSim 24.2.0
astarbeta
1721832377041.png (48.6 KiB)
1721832450599.png (48.1 KiB)
astar-240.fsm (33.1 KiB)
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hey @Clair A, are you good to accept Jordan's answer, or do you want to keep this open for now?

0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Phil BoBo edited

Thanks for the bug report. It looks like this issue has been fixed, and should not be a problem in the final release.

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

Clair A avatar image Clair A commented ·
Thanks Jordan, I installed the final 24.2 release and I confirm that this is fixed.
0 Likes 0 ·
Clair A avatar image Clair A commented ·

Hi @Jordan Johnson , could you please check if this bug has been fully fixed ?

I have a weird behaviour with the attached model astar-242.fsm.

When you open the model in 24.2, the grid bounds are around the source and the sink:

1734359192865.png

But when you hit reset the grid bounds change:

1734359255615.png

I notice the same behaviour in 25.0.0: astar-250.fsm

0 Likes 0 ·
1734359192865.png (24.0 KiB)
1734359255615.png (23.8 KiB)
astar-242.fsm (33.3 KiB)
astar-250.fsm (33.3 KiB)
Phil BoBo avatar image Phil BoBo ♦♦ Clair A commented ·

This is a variable binding issue with the grid forgetting that the user had customized its size. The grid is automatically resizing itself to fit its members. We can fix the binding issue for an upcoming bugfix release.

To work around the issue in the meantime, you could add members (the source and sink objects in this example, or barriers beyond them) to grow the grid's size automatically on reset rather than manually resizing it.

2 Likes 2 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Clair A commented ·
Hmm, this seems like a different issue. I see the same behavior with the given model. I'll add this to the dev list to investigate further.
1 Like 1 ·