Lab 7

Network Analysis

Goals and Objectives
Introducing Sand Mines anywhere in Wisconsin adds multiple hurdles that need to be overcome by the mine. The hurdles can be political, environmental, or industrial issues voiced by the community the mine is located in. A main issue is the heavy truck traffic associated with the transportation of the sand from the mines to the nearest rail terminal. Therefore, the roads suffer considerably due to the constant weight traveling over them. Our goal is to figure out an estimate on how much it will costs to route the trucks to the nearest terminal based on distance and impact cost per mile.

Methods
In order to calculate the estimated cost of the truck traffic on the road network, we need to use the streets feature class provided by ESRI, the rail terminals, and the queried mine locations.The first thing to do was specify what mines we wanted to focus our calculations on. The mines had to be active, not a rail loading station, or within 1.5 miles of a railroad. The Python Script used to query these mines can be seen in Figure 1 as well as on the Python tab above under lab 7. The resulting mines feature class can then be used in Network Analysis to figure out which rail terminals are closest to each of the desired mines.

The second step involves using the queried mine locations, the rail terminals, and streets feature classes in the Network Analysis toolbar and the New Closest Facility tool. With those features, the closest rail terminal to each sand mine could be calculated. Instead of running each tool individual, Model Builder was used to string together all the processes into one fluid, generic tool that can be replicated easily in the future. Walking through the model seen in Figure 2, we start off with the Closest Facility tool using streets, the calculated mines_norail_final, and rail_truck_terminals feature classes. Since we want the the terminals to be the destination, it is set as the Facility and the mines as the Incidents. The result is selected and projected to a Wisconsin NAD 1983 meters projection and added to the geodatabase as routes_final_project. Since we want to know the impact per county, the routes feature class is Intersected with the county layer to split the roads into county specific routes. With that new feature class, two new fields need to be added and calculated in order to generate values for the number of miles of desired routes per county and the estimated cost per county. The equation used to figure out the routes per county in miles = [SUM_Shape_Length] * .00062137  converts the length in meters, which is what the road data is in due to the projection, into miles. Then the new field takes the route length in miles and multiplies it by 2.2cents and that result is multiplied by 100 to symbolize a sand truck traveling both to and from the mines 50 times. There is major error in this calculation because we did not set up a number_of_mines_per_county field. It would be pretty simple to just calculate that but it becomes tricky to incorporate that in the already generated Model Builder workflow. The final result of the model builder process is a table with the county name, number of routes, the length of each route in meters and miles, and the cost associated with the length. The final table and map can be seen in Figure 3 and Figure 4 below in the Results section.

Results
Looking at the final results displayed in Figure 4 below, we can see the impact the mines have on the road networks in between the mines and terminals. The display gradient of each county makes it easy to see which counties are going to have to spend more money on their roads due to the heavy truck traffic to and from the sand mines. This information can be used by county officials and the state to communicate with each other to see which areas are impacted the most and will therefore need more funds to repair and maintain the road networks.

Figure 1: The Python Script used to query out the unwanted mines
(click to enlarge)
Figure 2: The workflow created in Model Builder to get the cost per county
based on the number of trucks traveling on the roads
(click to enlarge)

Figure 3: The Final table that has the calculated value of cost per county based
on the number of trucks traveling to and from each sand mine.
(click to enlarge)

Figure 4: Shortest route from sand mines to rail terminals and the cost to the roads due to heavy truck traffic
Data taken from ESRI
(click to enlarge) 
Figure 5: Area of most activity taken from the map in Figure 4
(click to enlarge)


Conclusion
By utilizing public data including simple road, county, and location feature classes, we have created a risk map that could help utilize state and county funds when repairing roads. It is clear that the mines in the Central and Western part of Wisconsin are the most involved in potential road damages due to their distance away from rail road terminals. The blue lines symbolize roads that are most likely to be used by the sand trucks to get from the sand mine to the rail terminals, and in that process the roads will suffer. The estimated cost per county is based on inaccurate assumptions related to the number of trucks traveling on the routes and the cost each inflicts on the road. If the analysis was extremely accurate this information could prove very useful to counties, states, and mine companies to help prioritize funding for road restoration and preservation.

Sources
ESRI street map USA
Wisconsin DNR