question

Shinya O avatar image
0 Likes"
Shinya O asked Shinya O commented

Travel distance returns the negative value

Hi,

Why the travel distance of operators return the negative value in the following model?

Is it caused by Parameter Table or A* navigator?

Thanks in advance

TravelDistance.fsm

1658366958507.png

FlexSim 22.0.4
astarastar navigatortravel distance
1658366958507.png (359.3 KiB)
traveldistance.fsm (166.7 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 Shinya O commented

This looks like a bug - all three operators start with zero travel distance and then as soon as they start figuring out who can move first some are initialized with negative values. I'll send in a case for this.

· 3
5 |100000

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

Shinya O avatar image Shinya O commented ·

Is there any alternative until the bug is fixed?

We would like to perform a simulation using A* Navigator with a variable number of operators.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Shinya O commented ·
Travel time behaves similar to travel distance. You can evaluate different states of travel in statistics to collect this data. If you can deactivate acceleration and deceleration, you can easily correlate time and speed to distance. Otherwise there might be a deviation for acceleration times.

A bit more advanced would be a collecting of kinematics profiled data node information about travel distances or times directly. Movement action involves kinematic. You can evaluate this data node to get desired data by command getkinematics( .. )

0 Likes 0 ·
Shinya O avatar image Shinya O Joerg Vogel commented ·
Thank you for the information.
0 Likes 0 ·

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.