ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
This tutorial adds a gate interface to the previous model and briefly shows some of the statistics that can be gathered. Adding the Gate Note: If you are using an evaluation version of the software, you will not be able to build this portion because FlexSim restricts the number of objects that you can create. - First create the road that external trucks will follow to reach the yard block. - Extend the network paths for gate traffic to reach the yard. Do this by adding more network nodes and connecting them with the 'A' key. You can also make paths one-way by right-clicking one of the colored points and selecting No\_Connection. The point will turn red and no longer allow trucks to flow in the direction of the arrow shown at the point. - Modify your network to match the following image. Be sure to connect the node left of the block to the block so that gate trucks can access the block. You may receive an error message when trying to run the model if trucks are unable to get to a destination node. ![](https://box.kancloud.cn/b55f73090ddea526dd600eb66fa92f55_853x607.png) - Drag a [GatePlanner](GatePlanner.html) from the icon grid onto the model. Its window will automatically open. Close it. Adjustments to the settings on the Gate will be completed later. - Drag a [GateQueue](TruckQueue.html), a [GateProcess](GateProcess.html), and a [GateToYard](GateToYard.html) onto the model. - Using the ‘A’ key, connect the GatePlanner to the GateQueue, the GateQueue to the GateProcess, the GateProcess to the GateToYard object, and the GateToYard object to the closest network node. Your model should then appear as below. ![](https://box.kancloud.cn/e7c25e4f4991356a8ade382089a29a60_993x605.png) - Drag a [YardToGate](YardToGate.html) icon and a [GateSink](GateSink.html)from the icon grid onto the model. - Using the ‘A’ key, connect the exit node of the road to the YardToGate object and the YardToGate object to the GateSink. - Using the ‘A’ key, connect the GateToYard to the YardToGate object. ![](https://box.kancloud.cn/9ff05f585e7e4786d115c915f8e5882f_848x607.png) - Open the [Hatch Profiles](Hatch_Profiles.html) tab in the [Berth Planner](Berth_Planner_Overview.html). - Change Hatch1 to dispatch and receive from the Gate. Do this by opening the drop down menu in the Container Profile column and changing the Destination from Default to Gate (via another drop down menu). - Press Apply and Close. ![](https://box.kancloud.cn/9684059b434bfb90738e00135bc0a564_851x281.png) - Open the [Gate Planner](Gate_Planner_Overview.html) by double-clicking on the [GatePlanner](GatePlanner.html) in the model or by going to the main menu option Container Terminal > Gate Planner. - Click on the [Arrivals](Arrivals.html)tab. Create two "empty bucket" operations to support the operations from the berth, as follows: - Press Apply and Close. ![](https://box.kancloud.cn/4e7a846570e1712e9d927bd1e4c2f2c8_724x216.png) Note: This makes the berth the "data driver" for this model. For more information, see [Choosing a Data Driver](Container_Terminal_Modeling_Overview.html#ChoosingADataDriver). - Resetand Run the model. Eventually you will see trucks coming from the gate to pickup or dropoff containers. If you are running the model quickly, you may not see them. If you slow the model down and use the Step button to go from one event to the next, it may be easier to see what is happening. ![](https://box.kancloud.cn/16609bfe498e563a336b47738a8f98be_708x606.png) Statistics - In the main menu choose [Container Terminal](Container_Terminal_Menu.html) > [Statistics](Statistics.html) to review the system output variables. - You will need to check boxes to enable certain statistics collections. Then press Apply, reset and run your model again. ![](https://box.kancloud.cn/bd2619283dbb9c90349b5b2b1aae7147_604x610.png)