Jump to content
Simio Forum

Leaderboard


Popular Content

Showing content with the highest reputation since 04/25/2019 in all areas

  1. 1 point
    That might sound counterintuitive, but entities are alternating between 0.0 and 3.0 m/s in a discreet manner. They don't have acceleration or deceleration. They are not slower, they are full-stopping before entering the node. (Difference distance/diference time) = average speed. Movement.Rate returns that instant speed, which are either 0.0 (full stop) or 3.0 (desired speed). You can verify this by looking at the label attached to the entity. I'm not experienced enough in Simio to help you creating an entity capable of smoothly decelerate, but you could calculate the average speed between two nodes (check the attached model). EntitySpeed2.spfx
  2. 1 point
    Desired speed means maximum speed. When there is nothing restricting the entity, it'll travel at its desired speed. If entity's desired speed is 1.4 and the path maximum speed is 2.0, the entity will travel at 1.4. If entity's desired speed is 1.4 and the path maximum speed is 1.0, the entity will travel at 1.0. Initial Desired Speed is a property. Every entity starts at this speed. You can change it mid-run by assigning a new value to the Desired Speed state. It is a constant speed, unless you code it otherwise somehow. Yes, unless the entity is restricted by the path maximum speed or slower entities blocking the path. Use the expression ModelEntity.Movement.Rate. ModelEntity.DesiredSpeed returns the entity's current maximum speed, not that instant speed. ___________________________________________ I tried to compile all my answers in a single model. Check the file attached at my post. EntitySpeed.spfx
×
×
  • Create New...