Issue with CalculatedTable and Math Functions

Issue with CalculatedTable and Math Functions

nilP8GEZ
Enthusiast Enthusiast
41 Views
2 Replies
Message 1 of 3

Issue with CalculatedTable and Math Functions

nilP8GEZ
Enthusiast
Enthusiast

[ FlexSim 24.0.1 ]

Hello,


I have a isue when using a Math function (I have tested with Math.trunc and Math.floor) in a CalculatedTable.


When I use these functions, the model works without any issues. However, if I save this version of the model (control + s), the CalculatedTable does not function correctly and appears as a single row. If I remove the Math.trunc function, update it, and then add it back, the table functions correctly again.

If I close FlexSim and then reopen the saved model, the issue is resolved.

I have attached a dummy model for reference.


I have not been able to test this issue on version 23.0, but given that it also occurs on version 23.1, it is likely that the bug is present in both versions.


Thak you!

24.0 Dummy calculated tables.fsm

Accepted solutions (1)
42 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution
I cannot repeat the problem in 24.0.2 can you try in that version?
0 Likes
Message 3 of 3

nilP8GEZ
Enthusiast
Enthusiast

You’re right. In this version, it seems that a reset makes it work correctly.


Thank you