How Our Model Works
Input Data:
We started with a USGS National Elevation Dataset10 m elevation data as the base of our topography data. We edited it by using a fill tool to remove local low points in the landscape. From this filled dataset we calculated 10 m slope and flow direction maps. All maps were then reprojected into NAD 1983 Zone 10N. To maintain landowner privacy about the exact land cover types and presence or absence of existing wetlands on their lands, we created one “flow barrier” raster map that included a variety of irrigation-flow-disrupting land cover types. These included emergent wetland, open water, and rice (manually delineated in Google Earth from 2013 GeoEye Imagery), roads (from USGS National Transportation Dataset), medium to high development (from National Land Cover Dataset 2011) and irrigation canals, creeks, rivers, and lakes (from National Hydrography Dataset). These datasets were merged into one 10 m raster map of flow barriers. When assigning raster cell values, we used a centroid rule for polygon and raster input datasets, and an intersection rule for line datasets.
Parameterizing the Simulation Model: We coded our water flow and wetland creation model as an agent-based model in NetLogo 5.20. There are five global variables that control the behavior of water flows and wetland formation: water loss rate, slope parameter, slope cutoff, accumulation floor and accumulation ceiling. The values of these five parameters were fit based on 28 real-world wetlands with known areas and irrigation release points and values. The model was run for each wetland landscape over a range of possible parameter combinations, and the parameter values that produced the lowest classification error + size estimation error used, to split the difference between a fitting that maximized spatial accuracy and overall size estimation accuracy. We considered "tracked patches" any patches that either were actually open water, pasture, or wetland, or any patches that simulated water flowed over in the model run.
Classification error was defined as:
(# of tracked patches classified incorrectly - # of tracked patches classified correctly) / # of tracked patches
Size estimation error was defined as:
Abs((estimated area - actual area) / total tracked area)
These metrics were calculated separately for flow of any kind, and for each land cover type (wetland, pasture, and open water). Metrics were standardized so that each was weighted evenly, and then all eight error metrics were summed for an overall error metric. We also assessed several other potential error metrics formulations, but this performed best at producing qualitiatively accurate model behavior. After an exploratory analysis examining model behavior over a wide range of parameter values, we tested the following range of parameter values that produced realistic behavior in the models:
We then selected the five parameter values that minimized the overall error metric. Water loss rate dropped out of the final model (this parameter was zero in the top model), but is included in the description below as it was tested.
Agents in the Model:
1. Patches: contain the information on slope, elevation, and flow direction, contain landscape data (barriers or channels), and total water accumulation and wetlands acreage.
2. Gates: release irrigation water (create initial irrigations) and have a flow amount.
3. Irrigations: inherit their gate’s flow amount, then move and spread downhill, adding water accumulation to patches as they move over them.
Once a parcel is read into our NetLogo model, the slope, elevation, and flow direction data raster maps are loaded in.
Before running the model, users set up the scenario by modify this landscape in four ways:
1. Create or destroy gates. Gates can be set to release any flow amount of water, and can vary from gate to gate within one scenario. Units for gates’ flow amount are shared amongst all gates can be changed at any time after gate creation, as they are not calculated until the scenario is run, when all units are converted to Miner’s Inches for calculation.
2. Create or remove barriers to flow.
3. Create or remove channels that direct the flow.
4. Create or remove forcings that force water to flow a specific direction and not spread.
Once the landscape scenario is set up, the user clicks a button to run the scenario and the flows are estimated according to the rules below.
Flow rules:
Once the flow simulation is complete, patches change to wetland if their water accumulation is above accumulation floor (not enough water for a wetland to form; pasture) and below accumulation ceiling (too much water for a wetland to form; open water). The model then tallies and reports the total amount of each land cover type created.