Jump to content

sswann

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by sswann

  1. I have a situation where I have entities at a single source that are transferred to their destination by a vehicle. Each vehicle delivers 1 entity per trip. The destination is dictated by the entity's state variable ModelEntity.DropOff (if=1, then drop off at server 1, if=2, drop off at server 2, etc..). The vehicle path is the same for all vehicles (pick-up, then server 1, then server 2, etc.... return home) until they drop off their entity. Once they drop off their entity, they immediately return home to pick up another entity. With support's help, I have the model working fine except for the drop-off part (right now vehicles pick-up an entity, follow a nodelist, and dropoff entities at random destinations in the nodelist, and return home to pick up another) . I cannot figure out how to tell a vehicle to drop off a particular entity at a particular destination based on the attributes of the riding entity. Any help would be appreciated. Thanks, Scott
  2. I am trying to model a system that has ships arriving to 1 of 8 berths. A ship stays in the same berth for 10 days and does not move, but instead different crews (resources) come to the ship at different times in the following order: Day 1 - unload crew Day 3 - fuel crew Day 5 - load crew Day 9 - catering crew Each type of work is performed by a different type of crew which rotate through the ships in the order they arrive to their berth. There is a chance that the crew will not complete all of their work in their assigned duration. At the end of each scheduled interval, if a crew has not completed all their assigned work, part of that crew will finish their work the next day, reducing the size of the crew to work on the next ship. For example: if at the end of Day 2, the Unload crew has not finished all their work on Ship1, on Day 3 a few of the unload crew will stay back and finish unloading Ship1 while the rest of the crew will move on to unload Ship2. Regardless of whether all the previous work was completed, fueling will begin on Day 3 as scheduled, so there could be more than 1 type of crew working on the same ship at a time. Additionally, as crews get better at their work, the day that a certain task begins may get moved up (i.e. fueling may start on Day2 instead of Day 3 after some period of time). At the end of Day 10, regardless if all the work was completed, the ship leaves the berth. I'm looking to see if anyone has some suggestions on how to approach this problem - entity staying in same place for a fixed duration while different crews come and leave in a certain order for a certain period of time.
×
×
  • Create New...