Loading Orders into the Model
As you will recall from the lecture videos, Modeling Network Paths, the orders are a network class that represents places where something is picked up or delivered. In this scenario, organic waste will be picked up from participating businesses. The participating businesses represent our orders. Orders also have attributes that influence cost or place limitations on the model. In this model, our orders have attributes that include a time window which indicates when organic waste pickups are allowed. The service time attribute indicates the average time, in minutes, spent at each location during a pickup. The pickup quantities attribute indicates the average weight of the organic waste in pounds. Finally, the curb approach attribute limits the route direction at the order location. Right-click on Orders in the Network Analyst window and select Load Locations. From the drop-down menu next to Load From, select the businesses layer. Order parameters are defined under the Location Analysis Properties pane using two attributes, Field, and Default Value. If the layer does not have a field that matches the property, a default value may be entered instead.
Use the following values in the Location Analysis Properties. Keep the default values for any properties not listed here.
Once the values above are entered, click OK.
|CurbApproach||Right side of vehicle|
The orders should now be loaded in two places. The orders in the Network Analyst window represent our model parameters. Any modification of the model parameters, or input to the model, are entered here. In the Table of Contents, the memory feature class, also named Orders, is now populated with the order attributes, the output from the model.
Take a moment to open the attribute table for the Orders memory feature class in the Table of Contents and inspect the information. The attribute table should look very similar to the businesses shapefile, but with some additional attribute fields. In many ways, memory feature classes look and behave like shapefiles. However, it is important to remember that the information in the attribute table of a memory feature class is temporary. Any changes to the model in the Network Analyst Window will also change the attributes in the memory feature class. To make any information from a memory feature class permanent, it must be exported. Close the attribute table for the Orders memory feature class. Next, you will load the Depot into the model.