Goals and Objectives
The purpose of this assignment is to perform network analysis (NA) on frac sand mines in Wisconsin. Feature class data were prepared for NA in a Python scripting exercise (Pyscripting 2 Link).
Using the 'Model Builder (MB)' program in ArcGIS, the objectives for the exercise are as follows:
- Load features into the Network Analysis interface
- Calculate a route
- Build a model to calculate the closest facility route
- Calculate the cost of sand truck travel on roads by county
Notes
The following table summarizes the data that were used for the NA exercise as well as the sources associated with the datasets:
Table 1. Summary of datasets and sources used for network analysis.
It should be noted that dollar-value used to calculate the travel of sand trucks on roads by county is a hypothetical value.
Methods
Network Analyst is a set of tools and functions within ArcGIS. NA tools allow for the calculation of logistical problems, such as routing sand from sand mines to rail terminals in using the most efficient pathways. Once such pathways are determined, other ArcMap tools can be used to assess the costs associated with using such routes. The NA load locations interface (fig.1) was first used to generate a route in ArcMap before using the Model Builder function of the program. Generating a route in the familiar ArcMap program (fig. 2) allowed for a comparison of the results when MB (fig. 3) was used to perform the same function.
Figure 1. NA interface to load locations for network analysis. The interface above is for loading incidents (mine facilities). A similar interface was used to load facility (rail terminal locations).
Figure 1. NA interface to load locations for network analysis. The interface above is for loading incidents (mine facilities). A similar interface was used to load facility (rail terminal locations).
Load Features onto NA Interface. ESRI street features were uploaded into ArcMap (fig. 1), along with the rail terminal features and sand mine locations. Sand mine location data were previously adapted for the current exercise using Python scripting (see link in introduction). Adaption of the data included creating a feature class for sand mines that did not have a rail terminal within 1.5 km of them. Such a feature class was made because it is unlikely that sand will need to be hauled across roads if the facility it originates from has its own rail terminal.
Calculate Route. When all the data were loaded into the NA interface properly a route was generated between the sand mines and rail terminals (fig. 2). The closest facility route was generated by selecting the solve button on the interface.
Build a Model. Model builder was used to determine the closest route between rail terminal facilities and sand mine incidents (fig. 3). Model Builder was also used to create a layer from the routes using 'select data' and 'copy features' tools. Once a route was generated, a batch projection tool was used to project the mine, terminal, and rote datasets into the NAD_1983_HARN_Transverse_Mercator coordinate system so that it would match the coordinate system used for Wisconsin county data (fig. 3).
Figure 2. Closest routes generated between facilities (rail terminals) and incidents (sand mine facilities) using the NA tool in the ArcMap interface.
Build a Model. Model builder was used to determine the closest route between rail terminal facilities and sand mine incidents (fig. 3). Model Builder was also used to create a layer from the routes using 'select data' and 'copy features' tools. Once a route was generated, a batch projection tool was used to project the mine, terminal, and rote datasets into the NAD_1983_HARN_Transverse_Mercator coordinate system so that it would match the coordinate system used for Wisconsin county data (fig. 3).
Figure 3. Model of the tools (rectangles), input feature classes (blue and green ellipses) and outputs datsets (blue ellipses) used for network analysis used to find the closest routs between sand mines and the nearest rail terminals.
Calculate Cost. In order to calculate the annual cost of sand truck traffic by county, the road length needed to be determined for each county (in miles). The tabulate intersection tool was used to determine the length of sand truck routes through each county (Brost, 2014). The tabulate intersection tool was useful because the parameters of the tool automatically converted the lengths of roads in each county into miles. MB was used to generate the table that contained the distance calculated by the tabulate intersection tool (fig. 4). Additionally, the "County_FIP" field was preserved when the new table was generated so that it could be joined to the county feature class in ArcMap for data comparison (table 2).
Table 2. The table generated by the Tabulate Intersection tool was joined with the attribute table for Wisconsin county boundaries via the County_FIP field.
Table 2. The table generated by the Tabulate Intersection tool was joined with the attribute table for Wisconsin county boundaries via the County_FIP field.
Once the length of road that ran through each county was determined, an annual cost per county was generated based on a dollar-amount per mile. The hypothetical dollar-amount used to generate the cost was $0.022/mile. The assumption is that sand each mine facility will require haul 50 truck loads per year. Calculations also accounted for the fact that each truck would have return to the sand mine facility after bringing material to the rail depot (eqn. 1). MB was used to calculate the annual calculate the cost of road use per county by adding a field to the table generated by the tabulate intersection tool and applying the field calculator to the new field.
Figure 4. Model used to determine the miles of road found in each county and to apply the equation to determine the annual cost incurred per county due to the transportation of frac sand.
Annual Road Use Cost Per County = (0.022) x 2 x 50 Equation 1.
Results
The routes between sand mine locations and rail terminals is shown in figure 5. Some of the original routes entered Minnesota from the east due to the fact that the closest rail depots to Wisconsin sand mines were in that state. However, such routes through Minnesota were clipped as the project is meant to determine costs incurred by Wisconsin counties for the transportation across their roads.
The tabulate intersection tool used to determine the mileage of routes through each county seemed to be fairly accurate. For example, the 'measure' tool was used to crudely estimate (at 1: 1,000,000 scale) the distance of routes in four counties and compared to the results generated by the tabulate intersection tool (table 3). While three of the counties, Clark, Outagamie, and Dunn had distances fairly close to the distances generated by the Tabulate Intersection tool, the estimate (measure tool) for Eau Claire county was off by a considerable amount (~50%; Table 3).
Figure 5. Map showing routes between sand mine facilities and rail terminal depots. The route feature class was generated using MB.
Table 3. Comparison of lengths generated by the Tabulate Intersection tool and estimated using the Measure line tool on the ArcMap interface.
The county with the highest cost associated with frac sand trucking is Chippewa at around $690/year (tables 3 and 4; figs. 6 and 7). Chippewa county's annual cost for frac sand transportation is more than double second and third highest, which are Monroe and Wood Counties at $331 and $329, respectively.
The counties with the least amount of frac sand through traffic were Winnebago and Burnett counties at $2 and $3, respectively (tables 3 and 4; figs. 6 and 7).
Five counties incurred costs due to frac sand transportation through across their borders, although neither has a mine nor a rail depot (figs. 6and 7). The counties were Eau Claire, Vernon, and La Crosse, Dane, Dodge, and Winnebago at $103, $73, $237, $14, $62, and $2, respectively. Of course, as mentioned previously, mileage across Eau Claire County appears to be erroneous.
Six counties would route their sand through Minnesota they choose to do so via the shortest route distance-wise (figs. 6 and 7). Four counties, Burnett, St. Croix, Pierce, and Pepin would route their sand exclusively through Minnesota, while the remaining counties, Trempealeau and Buffalo have routes through both Minnesota and Wisconsin.
Table 4. Attribute data from the joined tables (table 3) were cleaned up and organized into Microsoft Excel.
Figure 6. Graph illustrating the annual cost to transport sand across the county based on mileages generated for each with the tabulate intersection tool.
Figure 7. Map showing annual estimated costs incurred by counties affected by sand mine traffic to and from rail depots.
Conclusions
Network Analysis and Model Builder generally provided good tools for calculating the closest routes between sand mines and rail terminals. However, although a comparison of the distances generated by the Tabulate Intersection tool and the measure tool in the ArcMap interface were close to one anther in general (table 3), Eau Claire county's distances were off from one another by about 50%. There is no real good explanation for the gross error between the two distances generated for Eau Claire county, especially when considering the fact that Eau Claire has only one route (segment) transecting it while others with two (~4.6%) or even six segments (~2.5%) were closer in terms of value.
Due to such disagreement in the distance values generated by the Tabulate Intersection tool and those estimated manually with measure tool, accuracy of the rest of the distance data from untested counties is questionable as well. In the future it might be interesting to generate route distances by county using two (or more) methods and then perform a more in-depth analysis on the error generated between the methods used.
Works Cited
Brost, S., 2014, Network analysis, Fall 2014 Geog 337:
http://fracsandgeog337.blogspot.com/2014/11/network-analysis.html (accessed April, 2015).
http://fracsandgeog337.blogspot.com/2014/11/network-analysis.html (accessed April, 2015).