💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
The Resource Assignments tab is used to assign yard resources to move containers to and from yard blocks. Assignments are made using a dispatch table, or set of rules. When an assignment is needed, the dispatch table is searched in order, from top to bottom, to find a rule that matches the current circumstances. As soon as a matching rule is found, it is used to assign the resource to the operation. Tab Page Details ![](https://box.kancloud.cn/60a2d1d32dc8f445af9ae85c00934c6b_725x559.png) Dispatch Selection - This drop-down box selects the dispatch table that you are currently viewing/editing. By default there is one dispatch table named "Main" and it is designated as the "Main Dispatch." Table Buttons - Use these buttons to alter the tables in the dispatch selection drop-down box. Change the name of a table by clicking the Change Name button. Add additional tables by clicking the Add Table button, or remove a table by clicking the Delete Table button. Additional tables can be used as subroutines to the main table, simplifying the structure of the main table. Whichever table appears at the top of the list (when you open the drop-down box) is designated as the "Main Dispatch." This is the first table that will be searched for matching rules during an assignment. Change the ordering of the tables using the Move Table Up and Move Table Down buttons. Rule Buttons - Use these buttons to manipulate the rules in the dispatch table. Add new rules by clicking the Add Rule button, or remove a rule by clicking the Delete Rule button. Change the ordering of the rules using the Move Up and Move Down buttons. Dispatch Table The dispatch table is composed of rules. Each rule is evaluated, beginning with the first row, until a matching rule is found. As an example, in the dispatch table shown above, the first rule reads, "Any container of type聽Type1 in block聽Block1 is moved by resource聽Type1RTG." The second rule reads, "Any 20ft container in block Block1 is moved by resource TwentyRTG." The third rule reads, "Any container that came from a ship in block Block1 is moved by resource ImportsRTG." So if a 20ft container needs to be placed in block Block1, rule 2 will match and the placement will be done by resource TwentyRTG. Unlike the block assignments table, it is not necessary to cover all possible cases. If no matching rule is found, the container is "magically" moved without a resource. There are several elements available in the table. A rule matches when the current conditions of the model match the elements of the rule. A blank value indicates that everything will match that element. Required elements are designated by an asterisk. Available elements are as follows: - Container Profile聽-聽This value is the container profile that you would like to match for the row. Options for this field are determined by the [Container Types window](Container_Types.html). Within a Container Profile, the user can specify: - Container Type聽-聽This value is the type of container that is to be matched. Options for this field are determined by the [Container Types window](Container_Types.html). By specifying a container type, only containers of that type will be considered a match for this rule. - Size - This value is the size of the container. Options include 20ft, 40ft and 45ft containers. - Equipment Type聽-聽This value is the equipment type of the container that is to be matched. Options include General, Open Top, Reefer, Tank, Bulk, Port Hole and Flat Rack equipment types. By specifying an equipment type, only containers of that equipment type will be considered a match for this rule. - Origin - This value is the origin of the container. Options may include Yard, Ship, and Gate if a [Berth Planner object](BerthPlanner.html)or [Gate Planner object](GatePlanner.html) are included in your model. - Destination - This value is the final destination of the container. Options may include Yard, Ship, and Gate if a [Berth Planner object](BerthPlanner.html)or [Gate Planner object](GatePlanner.html) are included in your model. - Ship - This option only appears if a ship is selected for the origin or destination. This value is the specific ship delivering or receiving the container. Ships that have been added to the [Ship Schedule](Ship_Schedule.html) are candidates for this field. - Block- This value is the block or area the container is being moved to or from. Options for this field come from the blocks added to the model (viewable on the [Blocks tab](Blocks.html)), or the areas created on the [Areas tab](Areas.html). - Operation - This value is the operation to be executed on the container. Options include "Stacking,"聽"Unstacking," and "Any." - Segregation - This value is the level of segregation of the location the container is moving from/to. Options include "Segregated bay," "Segregated filling bay,"聽"Segregated cell," "Segregated filling cell," "Mixed Bay," and "Mixed Cell." - Custom - This value is code that you write that returns either a 1, indicating the rule matches, or a 0, indicating the rule doesn't match. Type code directly into the edit box. - Resource\* - This value is the assigned resource. It is the only required field in the table. Options for this field include any relevant [task executers](Flexsim_Users_Manual.html)added to your model, such as [RTGs](RTG.html) and [top loaders](TopLoader.html). If all preceding values in the rule match, this resource will be assigned to the container move operation.