SDMProjectBuilder
SWAT Simulation and Calibration for Nutrient Fate and Transport
Keewook Kim
University of Idaho
Idaho National Laboratory
Center for Advanced Energy Studies
Idaho Falls, ID
Michael Galvin
Kurt Wolfe
Gene Whelan
Rajbir Parmar
U.S. Environmental Protection Agency
Office of Research and Development
National Exposure Research Laboratory
Athens, GA
5/20/16
-------
SUMMARY
This tutorial reviews screens, icons, and basic functions for downloading flow, sediment, and nutrient
observations for a watershed of interest; how to prepare SWAT-CUP input files for SWAT parameter
calibration; and how to perform SWAT parameter calibration with SWAT-CUP. It demonstrates how to
• Identify a USGS gaging station where flow, sediment, and nutrient data are available for a
watershed of interest.
• Download flow, sediment, and nutrient observations associated with a USGS gage station.
• Prepare SWAT-CUP input files for SWAT parameter calibration.
• Calibrate SWAT parameters.
• View SWAT parameter calibration results with SWAT-CUP.
1
-------
SWAT Simulation and Calibration for Nutrient Fate and Transport
PURPOSE
Automate SWAT parameter calibration, as much as possible, with SWAT-CUP.
OBJECTIVE
Prepare flow, sediment, and nutrient observation time series for SWAT parameter calibration; prepare
SWAT-CUP input files for SWAT parameter calibration; and perform SWAT parameter calibration with
SWAT-CUP
DEMONSTRATION
This tutorial reviews how to download flow, sediment, and nutrient observations for a watershed of
interest; how to prepare SWAT-CUP input files for SWAT parameter calibration; and how to perform
SWAT parameter calibration with SWAT-CUP. It demonstrates how to
• Identify a USGS gaging station where flow, sediment, and nutrient data are available for a
watershed of interest.
• Download flow, sediment, and nutrient observations associated with a USGS gage station.
• Prepare SWAT-CUP input files for SWAT parameter calibration.
• Calibrate SWAT parameters.
• View SWAT parameter calibration results with SWAT-CUP.
2
-------
TUTORIAL - TABLE OF CONTENTS
SOFTWARE ACCESS, RETRIEVAL, DOWNLOAD, AND INSTALLATION
DOWNLOADING FLOW, SEDIMENT, AND NUTRIENT OBSERVATION TIME SERIES
• Daily Discharge Data
• Sediment Data
• Nutrient Data
PREPARING SWAT-CUP INPUT FILES FOR SWAT PARAMETER CALIBRATION
• Generate a New SWAT-CUP Project
• Prepare SWAT-CUP Input Files
• Inspect SWAT-CUP Input Files
CALIBRATING SWAT PARAMETERS WITH SWAT-CUP
• Calibration, Iteration 1
• Additional Calibration Iterations
DISCLAIMER
REFERENCES
APPENDIX A: Details of "SWAT_SWATCUP.exe" and "lnput_SWAT.in"
APPENDIX B: Example "lnput_SWAT.in" Files for Independent Calibrations of Flow, Sediment, and
Nutrients
3
-------
SOFTWARE ACCESS, RETRIEVAL, DOWNLOAD, AND INSTALLATION
Kim et al. (2016a) provide software access, retrieval, download, and installation instructions that must
be implemented prior to executing the tutorial. The authors review screens, icons, and basic functions of
the SDMProjectBuilder (SDMPB) and explain how to use SDMPB output to populate the Soil and Water
Assessment Tool (SWAT) input files for nutrient fate and transport modeling in the Salt River Basin. They
demonstrate how to choose and delineate a HUC-8 which includes the Salt River Basin; collect
environmental data used in watershed modeling; address isolated subwatersheds which are
disconnected from the waterbody network; modify a local data file to define an outlet point within a
HUC-8; and develop input files necessary to execute SWAT successfully. By following Kim et al. (2016a)
tutorial, appropriate folder structure and files associated with nutrient simulation and calibration are
created and saved, including initial execution and results of SWAT for flow and nutrient fate and
transport. SWAT-related software covered by Kim et al. (2016a) are summarized in Table 1.
Table 1. Summary of SWAT-related Software (after Kim et al., 2016a)
SOFTWARE
PURPOSE
SOURCE
SDMProjectBuilder
SWAT input file generator
O:\Public\QMRA\Software for
Download\SDMPB
SWAT-CUP
SWAT parameter calibration
http://swat.tamu.edu/software/s
wat-cup/
SWAT SWATCUP.exe
SWAT-CUP input file generator
Installed with SDMProjectBuilder
lnput_SWAT.in
Default input file of "SWAT_SWATCUP.exe"
Installed with SDMProjectBuilder
Update_par_inf.exe
Updating "par_inf.txt" with new parameter
ranges after each SWAT-CUP iteration
Installed with SDMProjectBuilder
FORTRAN Library
Library package for executing
SWAT_SWATCUP.exe and
Update_par_inf.exe
https://software.intel.com/en-
us/articles/redistributable-
libraries-of-the-intel-c-and-
fortran-compiler-for-windows
4
-------
DOWNLOADING FLOW, SEDIMENT, AND NUTRIENT OBSERVATION TIME SERIES
This section describes how to obtain flow, sediment, and nutrient observations for the calibration
process. Kim et al, (2016b) describe how flow observations at USGS gage stations can be downloaded
and exported through BASINS, although the example used is with the HSPF watershed model. For SWAT
simulation and calibration, sediment and nutrient observations must be directly downloaded through
the Internet. Here, a process is outlined that gathers data from sources which may differ slightly due to
browser choice and its plug-in capabilities. The objective is to produce CSV-formatted files for use in
SWAT-CUP. This may require steps to save the data in native formats, perform ancillary processes (e.g.,
un-zip), import the data into a spreadsheet (e.g., Excel), and save the data in a CSV format.
Daily Discharge Data
1. To download flow data at USGS Salt River ab Reservoir nr Etna WY gage station (13027500), click the
following link to reach a USGS webpage:
http://waterdata.usgs.gov/nwis/inventory/7site no=13027500&agency cd=USGS
httij./,'waterdata.usgs.gov .. s P - O I Z USGS 13027500 SALT RIVER...
_ ~ X
ft ~ o
USGS 13027500 SALT RIVER AB RESERVOIR NR ETNA WY
Available data for this site
SUMMARY OF ALL AVAILABLE DATA
Stream Site
DESCRIPTION:
Latitude 43°04,47", Longitude lllo02'14" NAD83
Lincoln County, Wyoming, Hydrologic Unit 17040105
Drainage area: 857 square miles
Datum of gage: 5,676 feet above NGVD29.
AVAILABLE DATA:
Data Type
Begin Date
End Date
Count
Current / Historical Observations (availability statement)
2007-10-01
2016-01-21
Dailv Data
Temperature, water, degrees Celsius
1965-10-01
1995-09-16
3996
Discharge, cubic feet per second
1953-10-01
2016-01-20
22757
Specific conductance, water, unfiltered, microsiemens per centimeter at 25 degrees Celsius
1965-10-01
1966-09-30
363
Dailv Statistics
Temperature, water, degrees Celsius
1993-06-23
1994-09-05
171
Discharge, cubic feet per second
1953-10-01
2015-11-03
22679
Monthly Statistics
Temperature, water, degrees Celsius
1993-06
1994-09
Discharge, cubic feet per second
1953-10
2015-11
Annual Statistics
Temperature, water, degrees Celsius
1993
1994
Discharge, cubic feet per second
1954
2016
Peak streamflow
1918-06-17
2014-05-29
62
Field measurements
1973-11-07
2015-12-15
327
2. Daily discharge data from 1953/10/01 to 2016/01/20 are available, including the simulation period
specified in Kim et al. (2016a), which is the precursor to this tutorial. Click "Daily Data" in the
"AVAILABLE DATA" table. The data at USGS gages are continuously updated, so more data may be
available when users access this site.
5
-------
— ~ X
j http://waterdata.usgs.gov/nwis/ P » (5 | ^ USGS 13027500 SALT RIVER...'
USGS 13027500 SALT RIVER AB RESERVOIR NR ETNA WY
Stream Site
Available data for this site
SUMMARY OF ALL AVAILABLE DATA
DESCRIPTION:
Latitude 43°04'47", Longitude 111°02'14" NAD83
Lincoln County, Wyoming, Hydrologic Unit 17040105
Drainage area: 857 square miles
Datum of gage: 5,676 feet above NGVD29.
AVAILABLE DATA:
Data Type
Begin Date
End Date
Count
riirrenT / Historical Observations (availability statement)
2007-10-01
2016-01-21
'Daily Data}
"""""TenTpSfature, water, degrees Celsius
1965-10-01
1995-09-16
3996
Discharge, cubic feet per second
1953-10-01
2016-01-20
22757
Specific conductance, water, unfiltered, microsiemens per centimeter at 25 degrees Celsius
1965-10-01
1966-09-30
363
Dailv Statistics
Temperature, water, degrees Celsius
1993-06-23
1994-09-05
171
Discharge, cubic feet per second
1953-10-01
2015-11-03
22679
Monthly Statistics
Temperature, water, degrees Celsius
1993-06
1994-09
Discharge, cubic feet per second
1953-10
2015-11
Annual Statistics
Temperature, water, degrees Celsius
1993
1994
Discharge, cubic feet per second
1954
2016
Peak streamflow
1918-06-17
2014-05-29
62
Field measurements
1973-11-07
2015-12-15
327
^ 100% -
3. The following page will appear.
_ ~ X
http://waterdata.usgs.gov/nwi5/ D ~
-------
4. Ensure that "Discharge(Mean)" is checked and other variables are unchecked. Select "Tab-
separated" for "Output format", and set "Begin date" and "End date" as "1990-01-01" and "2000-
12-31", respectively. "Begin date" and "End date" can be outside the simulation period as long as
they include it (1990-01-01 - 2000-12-31). Click "GO".
P - 0
JSCL-.CO
USGS Current Conditions to... x
Station operated in cooperation with Idaho Water District No.l.
Realtime Gage Height data is provided by U.S. Bureau of Reclamation (USBR) telemetry .
This station managed by the Idaho Falls Office, jake@usgs.gov; 208 529-4287..
Available Parameters
~ All 3 Available Parameters for this site
j—| 00010 Temperature, water
| 0 00060 Discharge(Mean)|
U 00095 Specific cond at 25C(Ins.)
Period of Record
1965-10-01 1995-09-16
1953-10-01 2016-01-20
1965-10-01 1966-09-30
Output format
O Graph
O Graph w/ stats
O Graph w/ meas
O Graph w/ (up to 3) parms
''Table
:
r°°i
| •Tab-separated |
Begin date
11990-01-01 ~|
End date
[2000-12-31 ~|
Summary of all available data for this site
Instantaneous-data availability statement
Discharge, cubic feet per second
USGS 13027500 SALT RIVER ftB RESERVOIR NR ETHH HY
Add up to 2 more sites and replot
for "Discharge, cubic feet per
second"
a Add site numbers
Enter up to 2 site
numbers separated
5. The following data table will appear in the browser.
irdata usgs.gov/nwis/ D
waterdata.usgs.gov
$ WARNING
~ The data you have obtained from this automated U.S. Geological Survey database
~ have not received Director's approval and as such are provisional and subject to
: data are released on the condition that neither the USGS nor the
~ United States Government may be held liable for any damages resulting from its u:
# Addit
info: http://help.waterdata.usgs.gov/policies/p:
.-data-statement
# File-format description: http://help,
# Automated-retrieval info: http://help.fc
isg3.gov/faq/about-tab-delimited-output
isgs.gov/faq/automated-retrieval3
# Contact: gs-w_support_nwi3web@usg3.gov
# retrieved: 2016-01-21 15:20:22 EST (cawwOl)
# Data provided for site 13027500
# DD parameter statistic Description
$ 02 00060 00003 Discharge, cubic feet per ;
scond (Mean)
# Data-value qualification codes included in this output:
# A Approved for publication — Processing and review completed.
# e Value has been estimated.
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
j datetime
14n 10s
1990-01-01
1990-01-02
1990-01-03
1990-01-04
1990-01-05
1990-01-06
1990-01-07
1990-01-08
1990-01-09
1990-01-10
1990-01-11
1990-01-12
1990-01-13
1990-01-14
1990-01-15
1990-01-16
1990-01-17
1990-01-18
1990-01-19
02_00060_00003 02_00060_00003_cd
415 A
420 A
410 A
412 A
417 A
397 A
401 A
452 A
427 A
416 A
415 A
417 A
420 A
422 A
426 A
420 A
413 A
408 A
397 A
7
-------
6. Right-click on the webpage, and select "Export to Microsoft Excel".
usgs.gov
P - o
;| waterdata.usgs.gov
w
f WARNING
# The data you have obtained from this automated U.S. Geological Survey database
# have not received Director's approval and as such are provisional and subject to
>. The data are released on the condition that neither the USGS nor the
# United States Government may be held liable for any damages resulting from its U3e.
# Additional info: http://help.waterdata.u3gs.gov/policies/provisional-data-statement
#
# File-format description: http://help.waterdata.usgs.gov/faq/about-tab-delimited-output
# Automated-retrieval info: http://help.waterdata.usg3.gov/faq/automated-retrieval3
# Contact: gs-w_3upport_nwisweb0usgs.gov
# retrieved: 2016-01-21 15:20:22 EST (cawwOl)
# Data for the following 1 site(s) are contained in this file
USGS 13027500 SALT RIVER AB RESERVOIR NR ETNA WY
# Data provided for site 13027500
DD parameter statistic Description
02 00060 00003 Discharge, cubic feet per second (Mean)
# Data-value qualification codes included in this output:
A Approved for publication — Processing and review completed,
e Value has been estimated.
#
agency_cd site no datetime
02 00060 00003 02 00060 00003 cd
5s
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
USGS
15s 20d
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
13027500
14n 103
1990-01-01
1990-01-02
1990-01-03
1990-01-04
1990-01-05
1990-01-06
1990-01-07
1990-01-08
1990-01-09
1990-01-10
1990-01-11
1990-01-12
1990-01-13
1990-01-14
1990-01-15
1990-01-16
1990-01-17
1990-01-18
1990-01-19
415
420
410
412
417
397
401
452
427
416
415
417
420
422
426
420
413
408
397
Back
Goto eopie<
Copy backgroum
Select all
a»| Translate with Bing
All Accelerators
Create shortcut
Add to favorites...
View source
Inspect element
Encoding
Print..
Print preview...
Refresh
^Bcport to Microsoft Excej^
Send to OneNote
Properties
7. The following window will appear. Click "Import".
New Web Queryl
Address: http://waterdata.usgs.gov/nwis/dv?cb_00060=on&format=rdb^ ~ j | Go j '^5 12$ El Options...
Click [*] next to the tables you want to select, then click Import.
0
# WARNING [Si
# The data you have obtained from this automated U.S. Geological Survey t
# have not received Director's approval and as such are provisional and :
# revision. The data are released on the condition that neither the USG;
# United States Government may be held liable for any damages resulting :
# Additional info: http://help.waterdata.usgs.gov/policies/provisional-di
#
# File-format description: http://help.waterdata.usgs.gov/faq/about-tab-
# Automated-retrieval info: http://help.waterdata.usgs.gov/faq/automated-
#
# Contact: gs-w_support_nwisweb@usgs.gov
# retrieved: 2016-01-21 11:33:38 EST (vaww02)
#
# Data for the following 1 site(s) are contained in this file
# USGS 13027500 SALT RIVER AB RESERVOIR NR ETNA WY
# Data provided for site 13027500
Import
Cancel
8
-------
8. On the following window, click "OK".
Import
Where do you want to put the data?
Q Existing worksheet:
=$A$1
New worksheet
Properties...
OK
Cancel
9. These data must be imported into an Excel spreadsheet. If the "Export to Microsoft Excel" menu is
not available in the browser, data must be manually copied from the webpage and pasted to the
spreadsheet. Now save the Excel file. In this example, the file is saved as
"C:\Temp\SDMProject\SaltRiverlD\HUC8\Scenarios\17040105\Flow_13027500.csv". The file can be
saved in any other folder with a different name.
[ - iSave As ,
« SDMProject ~ SaltRiverlD ~ HUC8 ~ Scenarios ~ 17040105 ~
Search 17040105
Organize ~ New folder
HSPF
HSPF-PES
I hucl2
Local Data
I met
NHDPIus
NLCD
I pes
Scenarios
i 1704010
Name
Seen
Tablesln
TablesOut
TxtlnOut
Save as type:
Authors: KeewookKim
Hide Folders
Date modified
1/12/201611:59 A...
1/12/2016 11:59 A...
1/12/2016 11:59 A...
1/12/201611:59 A...
Type
File folder
File folder
File folder
File folder
Tags: Add a tag
Tools
Save
HO
Size
Flow_13027500.csv
-
CSV (MS-DOS) (*.C5v)
~
Cancel
9
-------
Sediment Data
Monlrc
•ToiontOj
Site Legend
Accessibility FOIA Privacy Policies and Notices
Monlrc
Min Years of Daily Data:
Min Discrete Samples:
Year Range: between
and
•ToiontOj
Hydrologic Benchmark Sites:
USGS Station ID:
USGS Station Name:
Drainage Area (mi2): between
and
Soil K-Factor: between
and
R-Factor: between
and
Soil Permeability: between
and
Urban Land Use (%): between
and
Ag Land Use {%): between
and
Forest Land Use (%): between
and
10. To download sediment data at USGS Salt River ab Reservoir nr Etna WY gage station (13027500),
click on http://cida.usgs.gOv/sediment/#, which results in the following USGS webpage.
| http://cida.usgs.gov/sediment/? P ' Cl 1 USGS Sediment Data Portal
^USGS
science lor a changing world w"=
USGS Sediment Data Portal
Apply Filter Clear Filter Download Data
Basin Boundary: I
Ecoregion Level 2 Number: I
HUC: I
States: I Select a State
>_
% 100% -
Apply Filter Clear Filter Download Data
HELP
Boundary Filters
SI hit:, cida.usgs.gov/sediment/* P -• (ji | USGS Sediment Data Portal x
Basin Boundary:•»> L
Ecoregion Level 2 Number: l_
Min Years of Daily Data: C
Min Discrete Samples: l_
Year Range: between (_
and I
Hydrologic Benchmark Sites:
USGS Station ID:
USGS Station Name:
Drainage Area (mi*): between
and
Soil K-Factor: between
and
R-Factor: between
and
Soil Permeability: between
and
Urban Land Use (%): between
and
Ag Land Use (%): between
Discrete
Privacy Policies and Notices
11. Within the "Boundary Filters" section, type the USGS gage station ID "13027500" for the "Basin
Boundary", then click "Apply Filter".
10
-------
12. A purple circle (highlighted with a red open circle in the picture below) will appear at the gage
station's location. Click "Download Data".
Boundary Filters
Seattle
Montreal
Miri Years of Daily Data:
Min Discrete Samples:
Year Range: between
and
Toronto,.
Detroit
Los
Angeles
Dallas
Houston
Mexico
^ "Philadelphia
^ Washington
H Daily Sites
S Discrete Sites
Apply Filter
Accessibility FOIA Privacy Policies and Notices
Discrete
0 Discrete suspended-sediment sites
f proportional to number of Mmples.
| http://cida.usgs.gOv/sediment/s P » C I 21 USGS Sediment Data Portal x
Basin Boundary: «i> (13027!
Ecoregion Level 2 Number: I
HUC: I
States: | Select a State
>
, 100% -
Hydrologic Benchmark Sites:
USGS Station ID:
USGS Station Name:
Drainage Area (mi2): between
and
Soil K-Factor: between
and
R-Factor: between
and
Soil Permeability: between
and
Urban Land Use (%): between
and
Ag Land Use (%): between
and
Forest Land Use (%): between
and
13. The following prompt window appears in the browser.
Sediment Data Download
Hover over (?) for assistance.
0 Daily Flow and Sediment Data (?)
0 Discrete Sample Data (?)
~ include Daily Flow (?)
D Site Attribute Information Only (?)
File Format: [tsv_s/ (?)
~ Direct Download (?)
Email Address: (?)
( '
[ Download Data ) I Cancel |
11
-------
14. Select "csv" for "File Format", check "Direct Download", and include your Email address in the text
box for "Email Address". Click "Download Data".
Sediment Data Download
Hover over (?) for assistance.
0 Daily Flow and Sediment Data (?)
0 Discrete Sample Data (?)
~ include Daily Flow [?)
Site Attribute Information Only (?)
File Formatj
CSV ^
K
|0 Direct Doi
ivnload
(?)|
Email Address: (?)
[' 1.1.1..." ..(gigmail.com! J
(Download Data J I Cancel)
15. A download prompt will appear in the browser, asking if you want to open or save a zip file.
_ ~ X
1 d usgs.gov/sec y 1 ^ USGS Sediment Data Portal 1
¦ ft * O
1* II
^USGS™"
__
USGS Sediment Data Portal
Apply Filter Clear Filter Download Data
~
Vancouver "¦
Seattle .
Toronto0
Detroit
-UNITED STATES
Dallas
Houston
Philadelphia
o V
Washington
¦ Ecoregion Level 2
¦ USGS Basin Boundaries
H Daily Sites
Q Discrete Sites
I National Inventory of Dam
BAHAJ
CUBA.
500 mi |
Accessibility FOIA Privacy Policies and Notices
^Belmopan
Guatemala
Discrete
^ Discrete suspended-sediment
Daily
at 01-21-2016. Point si
|ll.S. npnartmp]
Do you want to open or save data.zip (5.75 KB) from cida.usgs.gov?
Open
Boundary Filters
Basin Boundary :*» [ 13027!
Ecoregion Level 2 Number: I
HUC: I.
States: | Select a State
Data-Characteristic Filte
Min Years of Daily Data: f
Min Discrete Samples: (
Year Range: between !
and I
Hydrologic Benchmark Sites:
USGS Station ID: f
USGS Station Name: (
Drainage Area (mi2): between (
and (
Soil K-Factor: between (
and (
R-Factor: between (
and (
Soil Permeability: between I
and (
Urban Land Use (%): between f
and (
Ag Land Use (%): between (
and I
Forest Land Use (%): between I
and I
^ Save
>
L ioo% -
12
-------
16. Click
to the rig
it of "Save", then select "Save as".
My Ldiiu ui>t; \voj. ueiweeii iv
and I
Forest Land Use (%): between (
and I
nded-sediment sites
o years of available data.
Save
Save asj
Save arid open
Save
Site Legend
Open
17. Here, the file is saved as
"C:\Temp\SDMProject\SaltRiverlD\HUC8\Scenarios\17040105\Sediment.zip". The file can be saved
with a different name in any other folder.
X
EiSLJB " OS (C:) ~ Temp ~ SC = ~ Sa iR'verD »
~ HUC8 ~ Sc os ~ 1704010!
>
-Kr -
P
1 Organize' New folder
m - ©
i Manitowoc_S
* Name
Date modified
Type
Size
SaltRiverlD
J HUC8
I HSPF
1 HSPF-PES'
i hucl2
1 Seen
1 Tablesln
i TablesOut
1 TxtlnOut
1/12/2016 11:59 A„
1A2/201611:59 A...
1/12/201611:59 A...
1/12/201611:59 A..
File folder
File folder
File folder
File folder
1 Local Data
k. met
fc. NHDPIus
t NLCD
=
L PCS
_J
I Scenarios
. 1704010
l Watershec
i HUC8_0km
-
Filename: Sedimentzip ~ I
Save as type: [zip Archive (*.zip) * 11
| " Hide Folders
Save
[ Cancel |
18. Once the ZIP file is extracted, two CSV files will appear in the folder.
« Temp ~ SDMProject
~
iverlD ~ HUC8 ~ Sc os ~ 17040105
|
p
Organize " Open Share with
' Print Burn New folder
IS
• ~ ©
Jl SaltRiverlD
*
Name
Date modified
Type
Size
k HUC8
k, HSPF
k HSPF-PEST
i, hucl2
i LocalData
met
i. NHDPIus
i. NLCD
k pes
k Seen
1 Tablesln
1 TablesOut
1/12/2016 11:59 A..
1A2/2016 11:59 A...
1/12/2016 11:59 A...
File folder
File folder
File folder
1 TxtlnOut
^ discrete.data.csv
1/12/2016 11:59 A..
1/21/2016 11:31 A...
File folder
Microsoft Excel Co...
18 KB
discrete_sites.csv
1/21/20161131 A...
Microsoft Excel Co™
4KB
E'
^ Flow_13027500j(lsx
1_3 Sedimentzip
1/21/2016 9:41 AM
1/21/2016 10:35 A..
Microsoft Excel W...
zip Archive
32 KB
6 KB
i. Scenarios
—
i 17040105
i Watershed
i HUC8_0km
2 items selected Date modified: 1/21/201611:31 AM Date created: 1/21/201610:35 AM
Size: 20,9 KB
13
-------
Nutrient Data
19. To download nutrient data at the USGS Salt River ab Reservoir nr Etna WY gage station (13027500),
click http://nwis.waterdata.usgs.gov/usa/nwis/qwdata, and the following USGS webpage will
appear.
M:, <>"¦ ¦' s.waterdata usgs.gov; P > C I USGS Water Quality Sampl... x
w
MUSGS
Home
ct USGS
h USGS
National Water Information System: Web Interface
USGS Water Resources
Data Category: Geographic Area:
K EM
O Click to hide News Bulletins
• August 8, 2013
• Try our new Mobile-friendly v
r data site from your mobile device!
• New improved user interface.
• Full News ES
Water Quality Samples for the Nation
Some complex retrievals may take a few minutes.
Choose Site Selection Criteria
There are 404,868 sites with water-quality data. Choose at least one of the following criteria to constrain the number of sites
selected.
Site
— Location —
~ 0 State/Territory
~ 0 Hydrologic Region
~ 0 Lat-Long box
Site
— Identifier —
~ 0Site Name
~ 0Site Number
~ ©Multiple Site Numbers
~ ©Agency Code
~ 0 File of Site Numbers
Site
— Attribute —
~ 0Site type
~ 0 Drainage area
~ 0 Well depth
~ 0 Hole depth
~ ©National aquifer (by code)
~ ©National aquifer (by name)
Data
— Attribute * —
~ 0 Number of observations
~ 0 Period of record
~ ©Sample medium type
~ © Parameter Codes
~ © File of Parameter Codes
~ © Parameter groupings
20. Check "Site Number" under "Site Identifier" and "Parameter Codes" under "Data Attribute", and
click "Submit".
htrp.//rrwi5.waterdati
USGS Water Quality Sampl...
O Click to hide News Bulletins
• August 8, 2013
• Try our new Mobile-friendly water data site from your mobile device!
• New improved user Interface.
• Full News ~
Water Quality Samples for the Nation
Some complex retrievals may take a few minutes.
Choose Site Selection Criteria
There are 404,981 sites with water-quality data. Choose at least one of the following criteria to constrain the number of sites
selected.
Site
— Location —
~ 0 State/Territory
~ 0 Hydrologic Region
~ 0 Lat-Long box
Site
— Identifier -
~ 0 Site Name
13 ^ Site Number |
LJ ©Multiple Site Numbers
~ 0 Agency Code
~ 0 File of Site Numbers
Site
— Attribute —
~ 0 Site type
~ 0 Drainage area
~ 0 Well depth
~ 0 Hole depth
~ 0 National aquifer (by code)
~ ©National aquifer (by name)
Data
— Attribute * —
~ 0 Number of observations
~ 0 Period of record
~ ©Sample medium type
151 0 Parameter Codes |
U © File of Parameter "odes
~ 0 Parameter groupings
* Selection of more than one data attribute will include all samples that meet all conditions selected.
Submit Reset
Questions about sites/data?
Feedback on this web site
Automated retrievals
http://help.waterdata.usgs.g0v/c0des-and-parameters/c0des#param_gr0up
Data Tips
Explanation of terms ^
Subscribe for system changes
% 100% "
14
-------
21.
The following screen will appear.
1USGS K,L. —
_ USGS Home
contact usgs
Search USGS
National Water Information System: Web Interface
| uses Water Resources
eeseBmb e2
iiHI Ea|
O Click to hide News Bulletins
• August 8, 2013
• Try our new M
• New improved user interface.
• Full News ~
e from your mobile device!
Water Quality Samples for the Nation
Some complex retrievals may take a few minutes.
Select sites that have samples which meet the following criteria:
Define one or more values for each of the following site-selection criteria: — or select new criteria
^Site Number - enter a full or partial site ID (optional)
| | exact match match from the start O match any part
0 Parameter Codes — enter one o
Logic to link parameters:
e parameter codes separated by a comma. A parameter code consists of 5 digits. (Limit: 200 codes) (Help
_ _¦ >
* 100% -
22. Place the USGS gage station ID (i.e., 13027500) in the blank for "Site Number"; place parameter
codes "00060" for discharge, "00061" for instantaneous discharge, "00600" for total nitrogen, and
"00665" for total phosphorus in the text box for "Parameter Codes"; and select "Sites must have at
least one parameter code listed".
aala.usgs.gov » G
USGS Water Quality Sampl... >'
• August 8, 2013
• Try our new Mobile-friendiv water data site from your mobile device!
• New improved user interface.
• Full News
Water Quality Samples for the Nation
Some complex retrievals may take a few minutes.
Select sites that have samples which meet the following criteria:
Define one or more values for each of the following site-selection criteria: — or select new criteria
8 Site Number — enter a full or partial site ID (optional)
|130275001 | ® exact match O match from the start O match any part
0 Parameter Codes — enter one or more parameter codes separated by a comma. A parameter code consists of 5 digits. (Limit: 200 codes) (Help
finding code)
00060
00061
00600
00665
L
Logic to link parameters:
,v Sites must hays all parameter codes listed fANCO
I© Sites must have at least one parameter code listed (OR)|
Choose Output Format
Display Summary of Selected Sites
Choose one of the following options for displaying descriptions of the sites meeting the criteria above:
O f* Show sites on a map
Q BTahln nfr^nr nrA..nM Kwl 771
>
* 100% -
15
-------
23. Scroll down, and select "Tab-separated data", then click "Submit". Ensure that pull-down menus are
selected, as shown below.
| g() http://nwis.waterdata.usgs.gov i P - C | pj USGS Water Quality Samp!...
|] (Parameter Code) [Greaterthan-
1 (Numeric Value)
I Retrieve samples for specified parameter values: Q
1 Samples and parameters to include:
Samples that include only above parameter selection criteria (Count: 0)
® Samples that include above selection criteria and all associated parameters
Q Samples that include above selection criteria plus one or more of these parameter codes separated by a comma (Limit: 200 codes).
J<—Find parameter codes
O Samples that include above selection criteria plus one or more of these parameters in a file
Enter the full pathname of a file containing parameter codes. (Limit: 200 codes)
Browse...
O 0 Table of data I Default attributes
3 Tab-separated data I One sample per row with remark codes combined with values v| | Default attributes v| |YYYY-MM-DD v| | Save to file
5 Save compressed files with a .gz file extension.
[ Submit ] | Reset | | Help |
Questions about sites/data?
Feedback on this web site
Automated retrievals
Help
Data Tips
Explanation of terms
Subscribe for svstem chanaes
News
1 Accessibility Plug-Ins FOIA Privacy Policies and Notices |
U.S. Deoartment of the Interior 1 U.S. Geoloqical Survev
Title: Water Quality Samples for USA: Sample Data
URL: http://nwis.waterdata.usgs.gov/nwis/qwdata?
"OSA.aov
Paqe Contact Information: USGS Water Data Support Team
<
>
24. A download prompt will appear in the browser.
http://ravis.waterdata.usgs.gov/: O ~ (j
USGS Water Quality Sampl...
] (Parameter Code) [Greater than
] (Numeric Value)
0 Retrieve samples for specified parameter values: Q
0Samples and parameters to include:
Samples that include only above parameter selection criteria (Count: 0)
® Samples that include above selection criteria and all associated parameters
O Samples that include above selection criteria plus one or more of these parameter codes separated by a comma (Limit: 200 codes).
<—Find parameter codes
OSamples that include above selection criteria plus one or more of these parameters in a file
Enter the full pathname of a file containing parameter codes. (Limit: 200 codes)
Browse...
O 0 Table of data I Default attributes
® Tab-separated data \ One sample per row with remark codes combined with values v| |Default attributes v| |YYYY-MM-DD v| | Save to file~
* Save compressed files with a .gz file extension.
| Submit | | Reset | | Help |
Questions about sites/data?
Feedback on this web site
Automated retrievals
Help
Accessibility Plug-Ins FOIA Privacy Policies and Notices
U.S. Department of the Interior | U.S. Geological Survey
Title: Water Quality Samples for USA: Sample Data
URL: http://nwis.waterdata.usgs.gov/nwis/qwdata?
Data Tips
Explanation of terms
Subscribe for system changes
News
T'SA.qqv
Page Contact
<
Do you want to open or save qwdata from nwis.waterdata.usgs.gov?
Save § Cancel
16
-------
25. Click
, to the right of "Save", then select "Save as".
Subscribe for system changes
News
T'SA-ggy^
Save
CSave aQ
~
~
Open
I Save
w
Save arid open
1
26. In this example, the file is saved as
"C:\Temp\SDMProject\SaltRiverlD\HUC8\Scenarios\17040105\Nutrient_13027500.txt". The file can
be saved with a different name in any other folder.
Save As
OS (0) ~ Temp ~ SDMProject ~ SaltRiverlD ~ HUC8 ~ Scenarios ~ 17040105 ~
~ I Search 17040105
Organize '
New folder
Manitowoc S
SaltRiverlD
-JCd
HSPF-PES
hucl2
LocalData
i met
NHDPIus
NLCD
Scenarios
i 1704010
Tables]
Name
i Seen
( Tablesln
I TablesOut
i TxtlnOut
discrete_data.csv
discrete_sites.csv
U Flow_13027500.xlsx
^ Sedimentzip
File name: Nutrient_13027500.txt
Save as type: | All Files (*.*)
Date modified
1/12/2016 11
1/12/2016 11
1/12/201611
1/12/2016 11
1/21/2016 11
1/21/201611:
1/21/2016 9:41 AM
1/21/2016 10:35 A..
59 A...
59 A...
59 A...
59 A...
31 A...
Type
Size
File folder
File folder
File folder
File folder
Microsoft Excel Co...
31 A... Microsoft Excel Co...
Microsoft Excel W...
zip Archive
18 KB
4KB
32 KB
6 KB
Hide Folders
Save
Cancel
27. Open "Nutrient_13027500.txt" in Excel, and save it as "Nutrient_13027500.csv".
17
-------
PREPARING SWAT-CUP INPUT FILES FOR SWAT PARAMETER CALIBRATION
28. Parameter calibration will be performed using daily observations. For this, create a new folder
(",\SWAT\"); in this case, it was created under "C:\Temp\SDMProject\SaltRiverlD\HUC8\".
_ n x
s.®-¦
~ Computer ~ OS (C:) ~ Temp ~ SDMProject ~ SaltRiverlD ~ HUC8 ~
~ I
Organize »
^ Open Include in library ~ Share with w Burn New folder
m •
-
^1
SaltRiverlD
HUC8
Name
HSPF
HSPF
HSPF-PEST
HSPF-PEST
1 hucl2
hucl2
LocalData
LocalData
i met
met
NHDPIus
NHDPIus
n
- NLCD
NLCD
=
1 pes
pes
J
J Scenarios
Scenarios
SWAT
SWAT
I Watershed
Watershed
HUC8_0km
SWAT Date modified: 1/21/20161:42 PM
File folder
Date modified
1/12/2016 9:59 AM
1/12/2016 8:26 AM
1/12/20168:26 AM
1/12/201612:00 PM
1/12/2016 8:40 AM
1/12/2016 8:32 AM
1/12/2016 8:33 AM
1/12/2016 8:31 AM
1/12/201611:59 A...
1/21/2016 1:42 PM
1/12/201611:59 A...
1/12/201611:59 A...
Type
File folder
File folder
File folder
File folder
File folder
File folder
File folder
File folder
File folder
File folder
File folder
Microsoft Access...
Size
7,684 KB
i ~
29. Move the following files, including observations, to
"C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\". If you saved these files under different names,
you should move them with your naming convention.
1 — I ~
X Jj
~ Computer ~ OS (C:) ~ Temp ~ SDMProject ~ SaltRiverlD ~ HUC8 ~ SWAT ~ if
1 P ||
Organize l§ Open Share with" Print Burn New folder
- ~ el
Name
Date modified
^ discrete_data.csv
1/21/2016 11:31 A...
Microsoft Excel Co...
18 KB
discrete_sites.csv
1/21/2016 11:31 A..
Microsoft Excel Co...
4KB
^ Flow_13027500.csv
1/21/2016 1:23 PM
Microsoft Excel Co...
124 KB
Nutrient_13027500.csv
1/21/20161:29 PM
Microsoft Excel Co...
623 KB
SaltRiverlD
HUC8
HSPF
HSPF-PEST
i hucl2
LocalData
I met
NHDPIus
|l NLCD
i pes
I Scenarios
i 17040105
SWAT
Watershed
4 items selected Date modified: 1/21/201611:31 AM Date created: 1/21/20161:44 PM
Size: 767 KB
Type
Size
18
-------
Generate a New SWAT-CUP Project
30. A new SWAT-CUP project must be generated, so open SWAT-CUP by double-clicking (left) on the
icon If the icon cannot be found on the Desktop screen, locate SwatCup.exe on the hard drive,
typically in C:\SWAT\SWAT-CUP\.
CUP
~
SWAT-CUP
31. The following SWAT-CUP window will appear.
Home [l Parallel Processing Utility Programs j Layout
~
y Cut ' ) Undo :
® Copy r" Redo
K Delete Select All
% Find
& Replace
Next Bookmark Save
^ Previous Bookmark ft Save All
Clear Bookmarks
# M
& & 0 ®
Calibrate... Save aeration validate...
CaBbration - Validation
Advanced
Writing
Tools
Help About License and
Activation *¦
Project Explorer
|? G§Rch MHRU MSub
Parallel Processing License Status: Limited
32. At the top-left of the window, select " >New"
fi * &
New
Open
Import Outlets
K. Restore files from Backup
19
-------
33. The "New Project Wizard" window will appear. Click "Next".
Welcome to the SWAT-CUP
project creation Wizard
This wizard will help you to create a SWAT-CUP project step by
step
Back
Next >
Cancel
34. The screen below appears. SWAT input files are located at "TxtlnOut Location"; this location must be
specified, so click "Browse...".
Import a swat TxtlnOut directory
Please Browse a swat TxtlnOut directory as data source of your project to import
TxtlnOut Location:
< Back
Next >
Cancel
20
-------
35. A window like the following will appear.
P TxtlnOut Folderl
Please choose a TxtlnOut Folder
B-m Desktop
Computer
^ OS (C:)
. 3* BD-RE Drive (D:)
E Local Disk (E:)
E&Removable Disk (F:)
Removable Disk (G:)
lit Removable Disk (H:)
ffl-Removable Disk (I:)
EB ^ External Hard Drive (J:)
i+)-ISp Control Panel
ffl- tij, KKim
®- Libraries
Network
Recycle Bin
ffl i direct-land-use-change-assessment-tool-(version-2014-l-21-january-2014).xlsx
ffl - Flow
Open
36. In this example, browse to
"C:\Temp\SDMProject\SaltRiverlD\HUC8\Scenarios\17Q40105\TxtlnQut\", then click "Open".
Alternatively, browse to the location of previously created SWAT TxtlnOut directory.
Txt
Please choose a TxtlnOut Folder
a-
SDMProject
|±! | BoiseRiverlD
ffl~ I Manitowoc
ffl- I Manitowoc_MET
ffl- | Manitowoc_NLDAS
Ei • I Manitowoc_SWAT
S | SaltRiverlD
0 I HUC8
|^ HSPF
| J HSPPPEST
hucl2
LocalData
| met
i NHDPlus
I NLCD
I pes
I Scenarios
B- J 17040105
i Seen
I T ablesln
yHBBBDL
SWAT
(j)- | Watershed
| HUC8_0km
i HUC8_10km
| HUC8_15km
| HUC8_30km
Open
21
-------
37. The SDMProjectBuilder was originally designed to prepare input files for SWAT 2005, but SWAT
2005 is also compatible with SWAT 2009; therefore, select "2009" for "SWAT Version" and "64-bit"
for "Processor Architecture". "32-bit" can be selected, if using a 32-bit Operating System (OS). Click
"Next". Note that SWAT input files generated by the SDMProjectBuilder are not compatible with
SWAT2012.
SWAT Version
Please choose the SWAT Version.
SWAT Version:
(mm)
Processor Architecture:
CI
< Back
Cancel
38. The following window appears. There are different calibration algorithms that can be used within
SWAT-CUP; for the purpose of this tutorial, we will only use Sufi2 for calibration of SWAT. Select
"Sufi2" for "Project type". Details of project types in SWAT-CUP can be found in Abbaspour (2014).
Click "Next".
Project Type
Choose the calibration method for project
LU
"*• Help ?
< Back
Cancel
22
-------
39. The following screen appears. Define "Project Name" (in this case, "SaltRiverHUCS"), and browse to
the "Project Location" of "C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\. SWAT-CUP generates a
new folder with the "Project Name" in the "Project Location". Here, the project will be generated in
"C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\SaltRiverHUC8.Sufi2.SwatCup\". Click "Finish".
Project Name and Location
Please choose the project name and location to create in
Project Name:
|saltRiverHUC8| |.SufB.SwatCup
Project Location:
| C:\Temp\SDMProject\SdtRiverID\HUC8 \SWAt|
Browse...
< Back
Finish
Cancel
40. SWAT-CUP will copy SWAT input files from the "TxtlnOut" folder to the project folder. Depending on
the size of the project, this could take minutes to hours. This example took only a few minutes.
^Copying 4,488 items (6.92 MB
Copying 4,488 items (6.92 MB)
from 17040105 (C:\Te...\17Q40105) to SWAT (C:\Temp\...\SWAT)
— ¦!
v More details Cancel
41. After files have been copied, the project will appear in the SWAT-CUP window.
a m
-AJ
el Processing utility Programs Layout
« fil « I > « OO i
Advanced cow Help About license am
Writing Activation"
Calibrate... save Iteration Validate...
=5*Rcb MHRU M Sub
- QsoltRiveiHUCe
£' Executable fi
if; ©Maps
tfj Utility Programs
-^Iteration History
Parallel Processing License Status; Limited SWAT Vi
Architecture: M-bi
23
-------
Prepare SWAT-CUP Input Files
42. SWAT-CUP input files need additional preparation, but must be copied from
"C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT-SWATCUP\" to
"C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\"
• "SWAT_SWATCUP.exe"
• "lnput_SWAT.in"
• "Update_par_inf.exe"
Descriptions of these and related files are provided in Table 2.
I
~ Computer ~ OS (C:) ~ Temp ~ SDMProject ~ SaltRiverlD ~ HUC8 ~ SWAT ~
Search SWAT
Organize ~ w) Open
I SaltRiverlD
i HUC8
i. HSPF
HSPF-PEST
I hucl2
Local Data
i met
I NHDPIus
I NLCD
I pes
I Scenarios
I SWAT
Watershed
i HUC8_0km
Share with
Burn
New folder
H
~ $
Name
Date modified
Type
Size
; SaltRiverHUC8.Sufi2.SwatCup
2/23/2016 4:15 PM
File folder
discrete_data.csv
1/21/2016 11:31 A...
Microsoft Excel Co...
18 KB
discrete_sites.csv
1/21/2016 11:31 A...
Microsoft Excel Co...
4KB
^ Flow_13027500.csv
1/21/20161:23 PM
Microsoft Excel Co...
124 KB
Input_SWAT.in
3/8/2016 10:49 AM
IN File
4KB
^ Nutrient_13027500.csv
2/1/2016 11:21 AM
Microsoft Excel Co...
32 KB
11 SWAT_SWATCUP.exe
4/11/2016 3:14 PM
Application
61 KB
¦ 1 Update_par_inf.exe
4/11/2016 3:23 PM
Application
20 KB
«
3 items selected Date modified: 3/8/201610:49 AM - 4/.., Date created: 2/3/2016 2:38 PM - 4/11/2016 3:32 PM
Size: 83.4 KB
Table 2. Descriptions of Selected Files
FILE
DESCRIPTION
par_inf.txt
is the file used in the calibration process and contains ranges in
parameter values that are within acceptable minimum and maximum
values
new_pars.txt
contains suggested updated ranges in parameter values computed by
SWAT-CUP without considering whether the values are outside of the
minimums and maximums defined in "Absolute_SWAT_Values.txt"
Absolute_SWAT_Values.txt
identifies acceptable minimum and maximum value ranges for ali SWAT
parameters and is a part of SWAT-CUP
SWAT_SWATCUP.exe
prepares SWAT-CUP input files
lnput_SWAT,in
is a default input file of "SWAT_SWATCUP.exe", includes acceptable
ranges for calibration parameters (i.e., subset of
"Absolute_SWAT_Values.txt"), and are the same as those included in
" Abso 1 ute_S W AT_Va 1 ues.txt"
24
-------
Update_par_inf.exe
reads suggested parameter ranges, compares them to acceptable
minimums and maximums, modifies suggested parameter ranges within
acceptable bounds, and stores updated ranges in "parjnf.txt" for the
next iteration
par_inf_init.txt
Is created by "Update_par_inf.exe", and stores the original acceptable
ranges defined in "lnput_SWAT.in" for use after the first calibration
iteration
43. Save a copy of "lnput_SWAT.in" to another folder for future use. Open "lnput_SWAT.in" with a text
editor, since it needs to be reviewed and updated. In this example, parameters for flow, sediment,
and total phosphorus will be calibrated.
Input_SWAT.in - Notepad)]
File Edit Format
View Help
1990
!Simulation start year
1995
!Simulation end
year
^1
1
\# of
years for
model
warm
up
1000
! # of
parameter
sets
Flow
{Parameter group
25
! # of
parameters
CN2
mgt
relative
-0.
2 0.2
ESCO
bsn
replace
0
1
SURLAG
bsn
replace
0.
05
24
ALPHA_BF
gw
replace
0
1
GW_REVAP
gw
replace
0.
02
0.2
CH_N2
rte
replace
0
0. 3
CH_K2
rte
replace
0
500
CAN MX
hru
replace
0
100
GWQMN
gw
replace
0
5000
SOI AWC ()
sol
relative
-0.
8
0.8
BIOMIX
mgt
replace
0
1
SLSUBBSN
hru
relative
-0.
8
0.8
GW_DELAY
gw
replace
1
450
SOL_K()
sol
relative
-0.
8
0.8
REVAPMN
gw
replace
0
500
EPCO
bsn
replace
0
1
SFTMP
bsn
replace
-20
20
SMFMN
bsn
replace
0
20
SMFMX
bsn
replace
0
20
SMTMP
bsn
replace
-20
20
TIMP
bsn
replace
0
1
-
4
~
Ln 20, Col 39
44. Under the "Nutrient" parameter group,
• change "TNTP" in line 50 to "TP"
• remove parameters for nitrogen
• update the "# of parameters" to "13".
Save and close "lnput_SWAT.in". Parameter definitions can be found in the SWAT Input/Output
Documentation (Arnold et al., 2012) or in the "Absolute_SWAT_Values.txt" file, generated in the
SWAT-CUP project folder.
25
-------
Input_SWAT.in - Notepad^
U ~ x
3)
i
File Edit Format
View Help
1
LAT_SED
hru
replace
0
5000
RSDIN
hru
replace
0
10000
ADJ_PKR
bsn
replace
0.5
2
PRF_BSN
bsn
replace
0
2
USLE CU-121}
plant.dat
relative
-0.5
0.5
USLE_P
mgt
replace
0
1
USLE K()
sol
relative
-0.8
0.8
SPCON
bsn
replace
0.0001
0.01
SPEXP
bsn
replace
1
1.5
CH_C0V1
rte
replace
0.05
0.6
CH_C0V2
rte
replace
0.001
1
Nutrient
!Parameter group
IE.
!TN or
TP
IB
! # of
parameters
PPERCO
bsn
replace
10
17.5
RSDCO
bsn
replace
0.02
0.1
PHOSKD
bsn
replace
100
200
P_UPDIS
bsn
replace
0
100
PSP
bsn
replace
0.01
0.7
BC4
swq
replace
0.01
0.7
ERORGP
hru
replace
0
5
1
SOI—LABP()
chm
replace
0
100
r
SOL 0RGPO
chm
replace
0
100
SOI—CBNO
sol
relative
-0.5
0.5
BC1
swq
replace
0.1
1
BC2
swq
replace
0.2
2
RS3
swq
replace
0
1
~
¦
Ln 1, Col 1
«
SWAT-CUP input files are prepared by executing "SWAT_SWATCUP.exe" with its input file
"lnput_SWAT.in". "SWAT_SWATCUP.exe" prepares:
A. A SWAT input file
a. Master watershed file (file.cio): Beginning year of SWAT simulation, number of years
simulated, and number of years to skip output printing (model warm up period) are
modified, as defined in "lnput_SWAT.in". A description of "lnput_SWAT.in" is
provided in Appendix A. "lnput_SWAT.in", the default input file of
"SWAT_SWATCUP.exe", contains details for preparing SWAT-CUP input files,
including:
i. Simulation start and end year
ii. Number of years for model warm up
ill. Number of parameter sets in each iteration for the parameter calibration
process
iv. Parameter group name (i.e., Flow, Sediment, or Nutrient), number of
parameters to be calibrated in each group, names of parameters to be
calibrated in each group, and ranges.
B. Seven SWAT-CUP input files
a. "SUFI2_swEdit.def": A file including starting and ending simulation numbers.
b. "SUF12_extract_rch.def": A file defining how to extract modeling results for
estimating the objective function (e.g., Nash-Sutcliffe statistic).
c. "par_inf.txt": A file defining the number and names of parameters to be calibrated
and their ranges, and number of model runs for calibration.
26
-------
d. "observed.txt": A file including the objective function of the calibration, observed
data, etc.
e. "observed_rch.txt": A file including the number of observations and observed data in
reaches.
f. "var_file_name.txt": A file including all variable names in the estimation of the
objective function.
g. "var_file_rch.txt": A file including all variable names in reaches that should be
included in estimation of the objective function.
C. Input file for "Update_par_inf.exe"
a. "projectfolder.txt": Includes a name of the SWAT-CUP project folder.
D. An extra output file
a. "observed_data.txt": Includes all observed data in the parameter calibration. This can
be used for drawing graphs and parameter validation with another period.
45. In "C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\", execute "SWAT_SWATCUP.exe" by double-
clicking on the icon. The Command window shown below will appear.
a. Type in the SWAT-CUP project folder name, where the SWAT-CUP project was generated:
"SaltRiverHUC8.Sufi2.SwatCup". Press enter.
b. Type in "Flow_13027500.csv" for the flow observation file name. Press enter.
c. Type in "discrete_data.csv" and "Nutrient_13027500.csv" for sediment and nutrient
observation file names, and press enter, respectively.
ti
SWAT-CUP project folder name?
SaltRiuerHUCS,Sufi2.Suatcup
I Flow observation file name?
Flow 13027500. cs«j
Sediment observation file name?
discrete_data.csu
Nutrient observation file name?
Nutrient 13027506.csv
iT/JHUilg
_ ~ X
27
-------
46. The following screen will appear, but the "Reach number for the observed data" must first be
determined for the observed data where the USGS gage is located, which will be determined by
executing BASINS.
_ ~ X
SUAT-CUP project folder name?
SaltRiuerHUCS.Sufi2,SwatCup
Flow observation file naiae?
Flow_130275G0.CSU
Sediment observation file name?
discrete_data.csu
Nutrient observation file name?
Nutrient_13027590.csu
Reach number for the observed data?
47. Without exiting the current screen, start BASINS from the BASINS 4.1 icon on the desktop:
BASINS 4.1
48. At the "Welcome" window, choose "Open Existing Project".
H Welcome to BASINS 4.1
Build New Project
View Documentation
Open Existing Project
02060006
f7\ Show this dialog at startup
Close
28
-------
49. Navigate to the project folder (e.g., "C:\Temp\SDMProject\SaltRiverlD\HUC8\), with the
MapWindow project file f*.mwpj), and select "SaltRiver.mwprj". Click "Open".
50. The following screen will appear.
I BASINS 4.1 - SaltRiver
_ n x
File H Watershed Delineation Compute
! U ii i s 9
New Open Save Print Settings
> « ,
Pan | In | Out Extent Selected Previous Next Layer
Legend * x
Layers [Toolbox|
BBIlj Point Sources and Withdrawal +¦
[BP Permit Compliance System
~
~0 NLDAS Grid Center ^
~
B0 Weather Station Sites 2006
Cateqories
Hi ATEM
0
M CLOU
¦ DEWP
<8>
*
» PEVT
g PREC
m SOLR
Models ¦sM Launch Analysis
La la to M
Layer View Bookmarks Plug-ins
» % m is
Add Remove Clear Symbology Categories Query Properties Table
Shapefile Editor Converters Help
* a 01' o n
Select Deselect Measure Identify Label Mover
ID • • ® 5S
fel Sb si*
New Insert Add Remove Copy Paste Merge Erase Erase beneath Move
Preview Map
J unnamed - X: -1,217,410.955 Y: 2,338,595.529 Meters Lat: 43.169 Long: -111.114
51. In the "Legend" section, highlight "Simplified Flowline".
Select Deselect Measure Identify Label Mover
M BASINS 4-1 -'saltt
File k1 Watershed Delineation -51 Compute u '1 Models i» ^ Launch i 1 Analysis Layer View Bookmarks Plug-ins Shapefile Editor Converters Help
u * * ¦ • Us Lo lq a » » -b at* o
New Open Save Print Settings Add Remove Clear Symbology Categories Query Properties Table
, Id , iP £2- 0" ibi* 1? • 5| Q • • fli
Pan | In | Out Extent Selected Previous Next Layer New Insert Add Remove Copy Paste Merge Erase Erase beneath Move
Leg end * x
Layers | Toolbox j
~ P Land Use Index ^
~
0P Manaqed Area Database
~
-in I x f
Simplified rlowlin
SE Simplified Catchment
~
HH Area of Interest
a
0 Observed Data Stations
0 Hvdroloav
0 TransDortation
01^ Soil. Land Use/Cover
0 C& Hvdroloav-NHDPIus
0 £2 Political
J unnamed ~: X: -1,157,547.017 Y: 2,286,477.144 Meters Lat. 42.791 Long: -110.285
29
-------
52. From the Tool bar, click Identify ; ancj select the stream line directly upstream from the USGS gaging
station, as illustrated in the screen capture below.
File Watershed Delineation a 4 Compute Models
U k k s Lb la
Launch
Analysis Layer View Bookmarks Plug-ins Shapefile Editor Converters Help
~ * % % * * **cj ii' ro\ n
New Open Save Print Settings Add Remove Clear Symbology Categories Query Properties Table Select Deselect Measure\ldentify/Label Mover
4* J® £ £5 > A iP i 13' 0- i®j- "? - IS s<$ stj % Q I c
WID2
130.84658748346.
DEP2
2.8274296797312
MINEL
1730
MAXEL
1742
SL02
0.1104870638062
SNAME
Salt River
£1
1 SWATSUB
2 1
w
4
rrr | ~
30
-------
54. "SWAT_SWATCUP.exe" only works for a single outlet. If the user wants to include multiple outlets
for parameter calibration, the user needs to manually modify SWAT-CUP input files (i.e.,
SUFI2_extract_rch.def, observed.txt, observed_rch.txt, var_file_name.txt, var_file_rch.txt).
Close BASINS, then type in "2" in the Command window for the "Reach number for the observed
data". Press enter.
SWAT-CUP project folder name?
SaltRiuerHUC8.Sufi2.SwatCup
Flow observation file name?
Flow_13027500.csu
Sediment observation file name?
discrete_data.csu
Nutrient obseruation file name?
Nutrient_13027500.csu
Reach number for the observed data?
2
55. Press ENTER to close the Command window.
SUJAT-CUP project folder name?
SaltRiuerHUC8.Sufi2.SwatCup
Flow obseruation file name?
Flow_13027500.csu
Sediment obseruation file name?
discrete_data.csu
Nutrient obseruation file name?
Nutrient_13027500.csu
Reach number for the observed data?
2
1 file(s) copied.
Press ENTER to close this window
31
-------
Inspect SWAT-CUP Input Files
56. To inspect the SWAT-CUP input files prepared by "SWAT_SWATCUP.exe", activate reaches in SWAT-
CS Rch
CUP window by clicking in the "Project Explorer" section.
Project Explorer
4
®&Sub
~ 3
SaltRiverHUC8^^^^^^^|
$¦¦¦¦
Calibration Inputs
If)-
1 . j Executable Files
$•••
| n Calibration Outputs
El-
Sensitivity analysis
l+i-
^aPs
ffi-
Utility Programs
Iteration History
SaltRiverHUCB
kJ
SWAT-CUP project.
57. Expand "Calibration Inputs" by clicking "+" at the left of "Calibration Inputs".
Project Explorer
Rch
Vi HRU
Sub
J SaltRiverHUCB
"¦tj Calibration Inputs
Executable Files
+ Calibration Outputs
Sensitivity analysis
EE)-- Maps
ffl"" \/ Utility Programs
»nr-(Knl-nn.
32
-------
58. Sub-items of "Calibration Inputs" will be shown.
Project Explorer
«& HRU E3 Sub
SaltRiverHUCS
Par inf.txt
SUFI2 swEdit.def
File.Cio
Absolute SWAT Values.txt
ffl- Observation
Ehh Extraction
l±l- Objective Function
(±h No Observation
Executable Files
r-i-. U n_ I _ «.r _
Rch
Calibration Inputs
59. Among the sub-items within "Calibration Inputs", expand "Observation", "Extraction", and
"Objective Function" by clicking the corresponding "+" signs.
Project Explorer
W' Rch
HRU
Sub
Calibration Inputs
Par_inf.txt
SUFI2_swEdit.def
File.Cio
. Absolute_SWAT_Values.txt
Observation
Extraction
Objective Function
No Observation
IS-y, , Executable Files
I £ i R On I I: l_ X.: .j
33
-------
60. Open "Par_inf.txt", "SUFI2_swEdit.def", "File.Cio", "Observed_rch.txt", "Var_file_rch.txt",
"SUFI2_extract_rch.def", "Observed.txt", and "Var_file_name.txt" by double-clicking on the file
names. The files will be shown in the main section of the SWAT-CUP window. They can be directly
modified in the SWAT-CUP window, if desired. Details of the files can be found in the SWAT-CUP
user manual (Abbaspour, 2014).
Parameterization SaltRiverHUC8.Sufi2 - SWAT-CUP
Parallel Processing Utility Programs Layout Parameterization
~
• i Undo % Find & Next Bookmark H Save
% Copy C* Redo <£ Previous Bookmark Save All
X Delete Select All Clear Bookmarks
Itl
Add a new Insert a new Import New
parameter parameter Parameters
New Parameter
Project Explorer
Rch CSi HRU
SaltRiverHUC8
IrJ Calibration Inputs
Par_inf.txt
. SUFI2_swEdit.def
File.Cio =1
Absolute_SWAT_Values.txt
Observation
C$ Observed_rch.txt
l40bMrvcd_hru.t3d
# Obocn-cd_Gub.txt
Extraction
Var_file_rch.txt
Pg SUFI2_extract_rch.def
i
Var_file_name.txt
This file contains the names of all the
variables that should be included in the
in the objective function. These names
are similar to the names in the
H Par_inf.txt x SUFI2_swEdit.def | File.Cio | gfe Observed_rch.txt | gg Var_file_rch.txt | Cg SUFI2_extract_rch.def | [J Ol <
A Par_inf.txt
| . j Contains input parameters to be optimized. After a complete iteration, review the suggested new parameters in the "Calibration Outputs \ new_pars.txt", ..
Number Of Parameters Number Of Simulations:
49 \ [1] [All] 11 1000 C
Parameters:
"1; Basic Information
^ Value
Fiter Conditions (optional)
*
Par Name
File Name File Bet.
Method
Min
Max
Hydro Grp Soil Text...
Land... Subbasins
Slope
Conditio!—1
~
1 CN2
¦mgt
l' Relative
-0.2
0.2
(All)
2 ESCO
.bsn
v Replace
0
1
(All)
3 SURLAG
.bsn
v Replace
0.05
24
(All)
4 ALPHA_BF
.gw
v Replace
0
1
(All)
5 GW_REVAP
.gw
v Replace
0.02
0.2
(All)
6 CH_N2
.rte
V Replace
0
0.3
(All)
7
CH_K2
.rte
v Replace
0
500
(All)
8
CANMX
.hru
v Replace
0
100
(All)
9
GWQMN
.gw
v Replace
0
5000
(All)
rAin
:
•
(tView Form View
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
34
-------
CALIBRATING SWAT PARAMETERS WITH SWAT-CUP
Calibration, Iteration 1
61. Go to the "Home" tab in the SWAT-CUP window, and click the "Calibrate" button.
Q H ""> C £& ' Parameterization SaltRiverHUC8.Sufi2 - SWAT-CUP _ o x
«X Home Parallel Processing |j Utility Programs |j Layout j| Parameterization | A Q
¦"> Undo % Find Next Bookmark H Save ( \ 1JJ ^ ^ W
Copy C Redo & Replace 4ft Previous Bookmark Save All | 1 ^
Paste . _ . \Calibrate... / Save Iteration Validate... Print Advanced Close Help About License and
X Delete Select All Clear Bookmarks V V Preview Writing All Activation-
Edit Calibration - Validation Print Tools Window Help
62. The following "Execute Calibration" window will appear. Click "Execute all".
Execute Calibration^!
X |
. SUFI2 pre.bat
w
SUFI2_run.bat
, SUFI2_post.bat
63. A command window will appear. Type "y", then press enter.
j^SUFI2_pre.bai
Running
Total Time: 00:02:14
C:\Temp\SDMProject\SaltRiverID\HUC8\SUAT\SaltRiuerHUC8.Sufi2.SwatCup>SUFI2_LH_sa
mple.exe
C:\Temp\SDHProject\SaltRiyerID\HUC8\SUAT\SaltRiuerHUCS.Sufi2.SuatCup\SUFI2.0UT\*
fire you sure (Y/N)? y
35
-------
64. When the following prompt windows appear in sequence, click "OK".
SWAT-CUP 2012
SWAT-CUP 2012
©
Process is finished, close the window?
Start the execution of Suti2 Run.Bat?
Cance
Cance
65. Execution of SWAT-CUP will begin, and it wili run SWAT with multiple parameter sets in the
following window.
C:\Temp\SDMProject\SaltRiuerID\HUC8\SWAT\SaltRiuerHUC8.Sufi2.SwatCup>sufi2_execu
*
te.exe
parameter set tt 1
Swat_Edit (Swat Parameters Editor 2G12) Uersion 2.7.1.2
Developed by Neprash Technology to use in SWAT-CUP
> SWAT Uersion: u2Q09
Parameter: S0L_AWC()
File: sol
Ualue: (0.080800)
Method: relative change
Files Count: 873
Modified Ualues: 1215 in 492 files
1 Running Total Time: 00:00:22 ||
66. This execution may take hours to days depending on the project (e.g., number of HRUs, subbasins,
years for simulation, etc.). Once complete, the following prompt window will appear. Click "OK".
SWAT-CUP 20
Process is finished, close the window?
OK
Cancel
36
-------
67. On the next prompt window, click "OK".
SWAT-CUP 2012
mM Start the execution of SUFI2_post.bat?
Cancel
68. SWAT-CUP will perform post processing, including calculating the objective function (i.e., Nash-
Sutcliffe statistic), parameter range for the next iteration, etc.
-10.424198
-0.841008
-0.839705
-0.791637
-0.832170
-0.823107
-0.745404
-0.869770
-0.772260
-0.852318
-0.799210
-0.853272
-0.835671
-1.221882
-0.893478
-0.750147
-0.826394
-0.780345
-0.845186
-0.851770
-0.858618
-0.859746
-0.946346
-0.807311
-0.756194
Running
Total Time: 00:00:05
69. Upon completion, the following prompt wine
SWAT-CUP 2012
,4nfc,
Process is finished, close the window?
OK
Cancel
ow will appear. Click "OK".
37
-------
70. The main SWAT-CUP window appears with a prompt window. Click "Yes".
H C* * Parameterization SaltRh/erHUC8.Sufi2 - SWAT-CUP
4 [ Home j Parallel Processing | Utility Programs jj Layout J Parameterization |
"1 Y Cut
a x
- o
') Undo % Find & next Bookmark Save
^ Copy C Redo Replace 41 Previous Bookmark fj Save All
X Delete Select All ; Clear Bookmarks
Edit
§ N1 i
Calibrate... Save Heration Validate...
Calibration - Validation
3 ^ ©o
Print Advanced
Preview Writing
Print Tools Window
Close
All
Help About License and
Activation "
Help
Project Explorer
& S^Rch PSHRU
E- SaltRiverHUC8
Calibration Inputs
Par_inf.txt
SUFI2_swEdit.def
- File.Cio
Absolute_SWAT_Values.txt
Observation
|Gg Observed_rch.txt
WQbmn«d_hru-bct
Extraction
F3 Var_file_rch.txt
»V3!-f,|c-hr'J-M
eg S U FI2_extra ct_rch. def
i
Par_inf.txt
Contains input parameters to be
optimized. After a complete iteration,
review the suggested new parameters
in the "Calibration Outputs \
[_] Par_inf.txt
SUFI2_swEdit.def
I ^
Observed_rch.txt
I &
Var_file_rch.txt
1 8
SUFI2_extract_rch.def
I L^]c
Par_inf.txt
Contains input parameters to be optimized. After a complete iteration, review the suggested new parameters in the "Calibration Outputs \ new_pars.txt",..
Number Of Parameters Number Of Simulations:
49 : [1] [All] 11
Parameters:
Basic Inforn
Par Name
1 CN2
2 ESCO
3 SURLAG
4 ALPHA_BF
5 GW_REVAP
6 CH_N2
7 CH_K2
8 CANMX
9 GWQMN
in SOI AWC
SWAT-CUP 2012
9 Do you want to save this iteration?
Yes No
; - Filter Conditions (optional)
Hydro Grp Soil Text.. Land... |Subbasins
Slope | Conditioi
Replace
Replace
Replace
Replace
Replace
Replace
Replace
^-Relative—
(AH)
(All)
(AH)
(AH)
(All)
(AH)
(All)
(AH)
(AH)
rAin
Text View Form View
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
71. The following window appears. In this example, "Iteration Name" is "Calibration_01". Click "Ok",
and save.
Save New Iteration
Iteration Name:
Calibration 01
Ok
Cancel
38
-------
72. The first iteration of the parameter calibration is complete. To view results, open "Iteration
History>Calibration Outputs>Summary_Stat.txt" in the "Project Explorer" section by double-clicking
on "Summary_Stat.txt".
Project Explorer
*
0
Rch
HRU
B- [£_;¦ Calibration_0l
IB"" Calibration Inputs
i-- |^j Executable Files
0- It M Calibration Outputs
j C: 95ppu plot
^ 95ppu-No-Observed
j Dotty Plots
j t.: Best_Par.txt
j ^ Best_Sim.txt
t.- Goal.txt
j (jk Npvj narq.bft
Ae[E Jf
EE-- SensiTi\'iLy dlldiyds
¦v
*
in ~
73. The file will open to the SWAT-CUP window. In the "Summary_Stat.txt", results of the best objective
function for the SWAT simulation are shown for each variable. Other goodness-of-fit statistics are
also indicated in the file.
Q M
SaltRiverHUC8.Sufi2 - SWAT-CUP
JjSJ Home | Parallel Processing j Utility Programs j Layout
rj ycut
% Copy
X Delete Select All
> Undo
* Redo
"*9 Find Next Bookmark H Save
^ Replace ^ Previous Bookmark Save All
Clear Bookmarks
Edit
* M «
Save Iteration Validate...
Calibration - Validation
Print Advanced
Preview Writing
Print Tools
e 30
Help
Close
All
About License and
Activation '
Help
Project Explorer
13 iqs Rch es* HRU
I Sub
E&- sy Utility Programs
i-- Iteration History
Calibration_01
Ej3- Calibration Inputs
l±J ^Executable Files
cf JW Calibration Outputs
9Sppu plot
^ 95ppu-No-Observed
« Dotty Plots
^ Best_Par.txt
Best_Sim.txt
^ Goal.txt
9 New_pars.txt
9 Summary_Stat.txt
III
Summary_Stat.txt
This file has the statistics comparing
observed data with the simulation band
through p-factor and r-factor and the
best simulation of the current iteration
Calibration_01 - Summary_Stat.txt x
Ca/ibration_01 - Summary_Stat.txt
T^is file has the statistics comparing observed data with the simulation band through p-factor and r-factor and the best simulation of the current iteration by ...
Goal_type= Nash_Sutcliff No_sims= 1000
Best_sim_no= 409 Best_goal = -1.709579e-001
Variable
FLOW_OUT_0 002
SED_OUT_0 002
TP OUT 0002
p-factor
0.13I- -
0.67
0.26
r-factor
0.64 •
0.65
- 0.50
R2
0.46
0.46
0.21
NS
-0.52
-0.03
0.04
bR2
0.0690
0.0331
0.0227
MSE
2.5e+002
2.0e+005
3.8e+005
SSQR PBIAS
2.3e+002 62.6
1.9e+005 74.6
2.8e+005 80.6
KGE
-0.0
-0.2
-0.2
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
39
-------
74. Results of the goodness-of-fit statistics do not indicate good performance of the SWAT model: -0.52,
-0.03, and 0.04 of Nash-Sutcliffe for flow, sediment, and total phosphorus, respectively. Because
Iteration 1 may not be acceptable, additional calibrations iterations may be required.
A summary of key folder locations associated with the example calibration is presented in Table 3.
Table 3. Folder Locations of Key Files for this Example Calibration
FILE
FOLDER LOCATION
par_inf.txt
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\SaltRiverHUC8.Sufi2.SwatCup\SUFI2.IN\
New_pars.txt
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\SaltRiverHUC8.Sufi2.SwatCup\SUFI2.0UT\
Absolute_SWAT_Values.txt
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\SaltRiverHUC8.Sufi2.SwatCup\
[Note that this file is a part of SWAT-CUP.]
SWAT_SWATCUP.exe
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\
[Note that this file is included with the SDMPB install and copied to
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT-SWATCUP\
when a new SDMPB project is generated.]
lnput_SWAT.in
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\
[Note that this file is included with the SDMPB install and copied to
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT-SWATCUP\
when a new SDMPB project is generated.]
U pd ate_pa rj nf. exe
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\
[Note that this file is included with the SDMPB install and copied to
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT-SWATCUP\
when a new SDMPB project is generated.]
par_inf_init.txt
C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\SaltRiverHUC8.Sufi2.SwatCup\SUFI2.IN\
[Note that this file is generated by "Update_par_inf.txt", when it is executed after the first
iteration.]
Additional Calibration Iterations
75. To improve performance statistics, additional calibration iterations can be implemented by
repeating steps outlined previously for calibration Iteration 1. With new iterations, parameter
ranges, which can be supplied by SWAT-CUP, must be updated. To view, open "Iteration
History>Calibration_01>Calibration Outputs>New_pars.txt" in the "Project Explorer" section by
double-clicking the name.
Project Explorer
& <2 Rch «£ HRU
b Sub
1=1™" Iteration History
Eh Calibration_01
US-- X Calibration Inputs
(+)•••• ^Executable Files
Q " linlnl Calibration Outputs
-m 95ppu plot
^ 95ppu-No-Observed
Dotty Plots
Best_Par.txt
-m Best_Sim.txt
-•i§a
New_pars.txt^
- Summary_S
40
-------
76. The file will open to the SWAT-CUP window.
|n r a
PC" Home
i ycut
* H Copy
Parallel Processing Utility Programs | Layout
SaltRiverHUC8.Sufi2 - SWAT-CUP
_ ~ x
- ©
} Undo
" Redo
Utility Programs *
S ¦ Iteration History
Calibration_01
'+!¦••• Calibration Inputs
!±! - Executable Files
§j Calibration Outputs
0, 95ppu plot
i 95ppu-No-Observed|
9 Dotty Plots
Best_Par.txt
ft Best_Sim.txt
« Goal.txt
*J New_pars.txt
• Summary_Stat.txt
New_pars.txt
This file shows the suggested values of
the new parameters to be used in the
next iteration. These values can be
copied and pasted in the Par_inf.txt file
A Calibration_01 - Summary.
Ca/ibration_01
This file shows the
_Stat.txt | • Calibration_01 - New_pars.txt x
-New_pars.txt
suggested values of the new parameters to be used in the next iteration. These values can be copied and pasted in the Parjnf.txt file for..
par_no
r CN2. mgt
v ESCO.bsn
v SURLAG.bsn
v ALPHA_BF. gw
v GW REVAP.gw
v CH_N2.rte
v CH_K2.rte
v CANMX. hru
v GWQMN.gw
_SOL_AWC().SOl
v BIOMIX.mgt
SLSUBBSN.hru
v GW DELAY.gw
r SOL_K().sol
V REVAPMN.gw
v EPCO.bsn
v SFTMP.bsn
v SMFMN.bsn
v SMFMX.bsn
v SMTMP.bsn
-0.029914
0.392353
11.970243
-0.433285
-0.046540
0.084964
155.606644
-13.028638
181.075516
-0.881258
-0.344785
-1.202858
46.894535
-0.330058
231.857285
-0.016517
-0.151419
•;0.9043QO('
1.804294
-4.111421
¦ 0
. . ,i
35
• - .p
0
0
466
62
3393
0
¦0
0
315
' • ' -P
695
• • ;o
39
13
13
27
310314
157197
814209
522285
117160
254936
893372
328636
924561
239658
551785
132458
652466
610058
642700
661207
551414
635700
935705
671419
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
Because SWAT-CUP does not consider acceptable minimum and maximum values identified in
par_inf_init.txt (which contains the same ranges as in "Absolute_SWAT_Values.txt") when it suggests
ranges in "New_pars.txt", those ranges must be reviewed and revised, then copied to "parjnf.txt" for
use in the calibration. For example, in the above window, the new range for "ALPHA_BF" is calculated
as -0.43 - 0.52, and the acceptable range is 0 - 1. In this case, the new range needs to be revised to 0 -
0.52. Although these ranges can be modified manually by copying the revised ranges to "parjnf.txt"
(located in "C:\Temp\SDMProject\SaltRiverlD\HUC8\SWAT\SaltRiverHUC8.Sufi2.SwatCup\SUFI2.IN\"),
a module ("Update_parjnf.exe") has been developed to automatically check and revise ranges and
copy them to "parjnf.txt" for use in the calibration process.
77. Execute "Update_parjnf.exe". The Command window below appears. Press "Enter" to exit.
41
-------
_ n x
Parameter ranges haue been updated successfully.
Press ENTER to close this window
78. Updated parameter ranges in "Par_inf.txt" can be checked by opening the file in the SWAT-CUP
window.
a m
A
| rntM4t f|J^~
! J '-attHRU MSub
Q*
attntJOK fcpua
VDjK+m.4*
- k Rto Do
AtNMf.SWAT.VlMlM
(PON KM (wwefl to
Par (iif.txt
_J Mtoi
<***» it* eu99»fU< tww
» »a a up* a«d *fla a carrpMa >
• OK
- O
»Wa XMrMV Cw^ut
•Mrfcw Of fweiwws •<
*»: w i**:
7 Bmc InfarrruMn
^iVMm
^Ftar Condtom (Otfwva)
• for U»-x r«t Nam*
*4m (H
Mace*
ton
Mo
wyOroiVp So* To*. Land. t>Mi«om siapo (CboM
~ CIO
lit'''
g wmaw
0 07*0..
0*
t**
IVCO
Mr
V MflKf
0JMJ5J
t
(Al)
Mini AG
Mo
V
IttTOX
>*
(A*)
« AtPMA Bf
9*
% H»ptau
•
euun
(AI)
GW KfVAP
V RatKact
0.W
lltTM
w
4. (H MJ
>ia
V ftapiaca
0 0HM4
HWM
w
7 CM JO
% Hapeaca
tivwoe
4C6WJ4
* CANMX
Am
V Aa*oca
«
UUIM
(*)
> C.WQMN
«*»
% Rafttca
MtltW
(M)
jo soi Am:
i *****
4i
(W&
i1 nioMix
v Rapoca
•
tMIW
<«¦)
12 MWfttl!*
^ni
' R*atvr
•M
MU49*
To* Srtaw Ion* vWti
Urncad W»! VWSOft >000, hocraor *xMacb*« M M
42
-------
79. For additional iterations, repeat steps outlined in "Calibration, Iteration 1" until the desired
objective function (e.g., Nash-Sutcliffe statistic) is obtained. A summary of calibration steps is
presented in Table 4. For this example, flow, sediment, and nutrient have been calibrated
simultaneously, so there is only one calibration with 10 iterations.
80. This example performed 10 iterations, and a summary of the results for the 10th iteration can be
found in "Iteration History>Calibration_10>Calibration Outputs>Summary_Stat.txt"
SaltRiverHl)C8.Suft2 - SWAT CUP
4^ Home Parallel Processing Utility Programs | Layout
~ Undo % Rnd Next Bookmark H Save
Wk f.
% Copy Redo
X Delete Select All
Previous Bookmark Save All
Clear Bookmarks
$ m m & o <$> @©
Calibrate... Save Iteration Validate...
Calibration - Validation
Advanced
Writing
Tools
Help About License and
Activation "
Project Explorer
t§Rch: »«HRU
I Sub
!±l - £j| Calibration_09
Calibration_10
(±! Calibration Inputs
Lt'' " j Executable Files
E-3" Ob] Calibration Outputs
• m 95ppu plot
- j 95ppu-No-Observed
"" DottY plots
-¦ &, i Best_Par.txt
•••• Best_Sim.txt
-•« | Goal.txt
• New_pars.txt ;
¦ tb ] Summary_Stat.txt
IS!— Sensitivity analysis —1
H
~
Calibration_01
CaHbration_10 - Summary_Stat.txt x
Ca/ibration_10 - Summary_Stat.txt
This file has the statistics comparing observed data with the simulation band through p-factor and r-factor and the best simulation of the current iteration by ..
Goal_type= Nash_Sutcliff No_sims= 1000
Best_sim_no= 28 Best_goal - 4.589368e-001
Variable
FLOW_OUT_0 002
SED_OUT_0002
TP OUT 0002
p-factor r-factor R2
0.26 j0~2| Q.57: ¦
p. 15; 0.20 0.51-
SO. 47i 0.40 0.54! •
0.38
0.46
0.53
bR2
0.2963
0.1944
0.3131
MSE
1.0e+002
l.le+005
1.8e+005
SSQR PBIAS
6.0e+001 29.2
8.5e+004 -22.4
6.0e+004 23.2
KGE
0.51
¦0.41
0.591
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
Table 4. Summary of Calibration Steps
CALIBRATION 1
1. Manually update "lnput_SWAT.in" with a text editor
2. Execute "SWAT_SWATCUP.exe"
First iteration of calibration 1
3. Go to the "Home" tab in the SWAT-CUP window and click "Calibrate" button.
4. Click the "Execute all" button.
5. Answer command line questions and prompt windows
6. Save first iteration of calibration 1
• When the iteration is saved, it copies files (file.cio, SUFI2_extract_rch.def, etc.) from the
SWAT-CUP project folder and subfolders f".\SUFI2.IN\" and ",\SUFI2.0UT\") to the
"Alterations\{lteratiori Name)\" folder. Saved files for the first and subsequent iterations are
different. For example, parameter ranges in "par_inf.txt" are different, and resulting files in
.\SUFI2.0UT\ are different.
7. Execute "Update_par_inf.exe", where the first iteration is based on the original "par_inf.txt" (i.e.,
prior to modification), and the following automated steps (i.e., invisible to the user) occur:
• reads "new_pars.txt"
43
-------
• reads the original "par_inf.txt" file [For the first iteration, parameter ranges are the same as
those in "lnput_SWAT.in".]
saves the "par_inf.txt" ranges to "par_inf_init.txt". [This only happens after the first iteration,
so "par_inf_init.txt" records possible parameter ranges throughout the iterations for this
calibration cycle.]
• compares new ranges with acceptable ranges
• updates new ranges in "par_inf.txt"
Second iteration of calibration 1
8. Go to the "Home" tab in the SWAT-CUP window and click the "Calibrate" button.
9. Click the "Execute all" button.
10. Answer command line questions and prompt windows
11. Save second iteration of calibration 1
12. Execute the "Update_par_inf.exe"; the following automated steps (i.e., invisible to the user)
occur:
• reads "new_pars.txt"
• reads "par_inf_init.txt" to obtain the possible ranges. [Note that ranges in "par_inf_init.txt"
and "lnput_SWAT.in" are the same],
• compares new ranges with acceptable ranges
• updates the new ranges in "par_inf.txt"
Third iteration of calibration 1
•
•
Tenth iteration of calibration 1
etc.
[Note: The total number of iterations depends on goodness-of-fit statistics]
CALIBRATION 2
13. Update "lnput_SWAT.in" manually with a text editor
14. Execute "SWAT_SWATCUP.exe"
First iteration of calibration 2
15. Go to the "Home" tab in the SWAT-CUP window and click "Calibrate" button.
16. Click "Execute all" button.
17. Answer command line questions and prompt windows
18. Save the first iteration of calibration 2
19. Execute "Update_par_inf.exe" (see Step 7)
Second iteration of calibration 2
20. Go to the "Home" tab in the SWAT-CUP window and click "Calibrate" button.
21. Click the "Execute all" button.
22. Answer command line questions and prompt windows
23. Save the second iteration of calibration 2
24. Execute "Update_par_inf.exe"(see Step 12)
Third iteration of calibration 2
•
44
-------
Tenth iteration of calibration 2
CALIBRATION 3
81. After the 10th iteration, Nash-Sutcliffe statistics have improved to 0.38, 0.46, and 0.53 for flow,
sediment, and total phosphorus, respectively. This example calibrates the three parameters
simultaneously to illustrate the calibration process. It is strongly recommended to calibrate
parameters for flow, sediment, and nutrients separately when performing SWAT parameter
calibrations. Appendix B provides example "lnput_SWAT,in" files for independent calibrations of
flow, sediment, and nutrients. One can modify "lnput_SWAT.in" and repeat steps outlined in
"Calibration, Iteration 1" and "Additional Calibration Iterations". Additional calibration steps are
summarized in Table 4, including steps for Calibrations 2 and 3.
82. The parameters sets with the best Nash-Sutcliffe statistic can be found in
"Iteration History>Caiibration_10>Calibration Outputs>Best_Par.txt".
SaltRiverHUC8.Sufi2 SWAT-CUP
J3J
Home
Y cut
% Copy
Parallel Processing Utility Programs
¦"> Undo
f Redo
Find
Sac Replace
X Delete Select All
Next Bookmark
Previous Bookmark
Clear Bookmarks
H Save
Save A
# ra m
Calibrate... Save Iteration Validate...
Calibration - Validation
Print
Preview
Advanced
Writing
Close
All
©0
Help
About License and
Activation "
Tools Window
Project Explorer
& <51 lich M HRU M Sub
• f^j Calibration_09
\r3 CalibrationlO
[+! Calibration Inputs
0- j£jj| executable Files
1' Jto Calibration Outputs
qfcT 95ppu plot
95ppu-No-Obseived
^ju| Dotty Plots
Best_Par.txt
9 Best_Sim.txt
I— • Goal.txt
m New_pars.ta
:
« Summary_Stat.txt
III ££ Sensitivity analysis
BestPar.txt
The best parameters (giving the best
value of objective function) of the
current iteration.
• Ca!ibration_10 - Best_Par.txt x
Calibration_ 10 - Best_ Par. txt
The best parameters (giving the best value of objective function) of the current iteration.
Goal_type= Nash_Sutcliff No_sims= 1000
Best_sim_no= 28 Best_goal = 4.589368e-001
Parameter_Name Fitted_Value Min_value
1:R CN2.mgt 0.198423 0.194399
2:V ESCO.bsn 0.975679 0.961041
3:V SURLAG.bsn IB.103893 18.074385
4:V ALPHA_BF.gw 0.062431 0.052809
5:V GW REVAP.gw 0.143548 0.139294
6:V CH_N2.rte 0.233881 •• p.231527-•
7:V CH_K2.rte 178.615326 169.050171
8:V CANMX.hru 46.210335 44.539478
9 :V GWQMN.gw 4116.415039 3999.078125:
10:R SOL_AWC(..).sol -0.794907 -6.800000
11:V BIOMIX.mgt 0.005709 0.000000
12:R SLSUBBSN.hru -0.529689 -0.546600
13:V__GW_DELAY.gw 47.388916 40.394642
14:R SOL_K(..).sol -0.003145 -0.039171
15:V REVAPMN.gw 280.798309 279.903442
16:V EPCO.bsn 0.167045 0.158468
17:V SFTMP.bsn 18.856592 18.726418
18:V SMFMN.bsn 1.206779 1.084544
Max_value
0.200000
0.981673
18.955229
0.070811
0.150624
0.249703
180.430481
48.629704
4400.230469
-0.790101
0.015204
-0.493336
50.857281
0.003337
294.943054
0.184818
18.982414
1.617160
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
83. A comparison of observations and simulations can be found in History>Calibration_10>Calibration
Outputs>Best_Sim.txt". No specific software can generate plots for SWAT modeling results. One
may import the results to BASINS and generate plots, similarly to those reported by Kim et al.
(2016c), or use spreadsheet software such as Microsoft Excel.
45
-------
33 h
tax
~
SaltRiverHl>C8.Sufi2 - SWAT-CUP
Parallel Processing | Utility Programs
~ x
A 0
Cut 1 Undo
% Copy C Redo
M Delete Select All
% Find Next Bookmark
Replace Previous Bookma
Clear Bookmarks
Edit
H Save
ffit Save All
« M «
Calibrate... Save Iteration Validate...
Calibration - Validation
Print
Preview
Advanced
Writing
Tools
e o
Close Help
About License and
Activation "
Project Explorer
} Rch ** HRU
I Sub
P I Calibration_09
El— Calibration_10
Calibration Inputs
Executable Rles
c) tt] Calibration Outputs
9 9Sppu plot
^ 95ppu-No-Observed
Dotty Plots
0 Best_Par.txt
Best_Sim.txt
9 Goal.txt
0 New_pars.txt
Summary_Stat.txt
Sensitivity analysis
111 i >
Best_Sim.txt
The best simulated values.
Cafibration_10 - Best Sim.txt x
Ca!ibration_ 10 - Best_Sim.txt
The best simulated values.
FLOW OUT
0002
observed
simulated
9.9109
7.1550
9.2313
7.0110
9.1746
6.8690
9.2313:
6.7270
9.3445
6.5870
9.6277
6.4480
9.7693
6.3110
9.9109
6.1740
9.6277
6.0400
9.4861
5.9060
9.7410
5.7750
9.8259
5.6450
9.9958
5.5160
10.0808
5.3890
9.7693
5.2640
9.4861
5.1400
9.6277
5.0180
10.0525
4.8980
10.1940
4.7800
9.9675
4.6630
Parallel Processing License Status: Limited SWAT Version: 2009, Processor Architecture: 64-bit
DISCLAIMER
The information in this document has been funded in part by the United States Environmental
Protection Agency under Interagency Agreement DW-89-92399101-1 to the Idaho National Laboratory.
It has been subjected to the Agency's peer and administrative review and has been approved for
publication as an EPA document. Mention of trade names or commercial products does not constitute
endorsement or recommendation for use.
REFERENCES
Abbaspour K.C. 2014. SWAT-CUP 2012: SWAT Calibration and Uncertainty Program - A User Manual,
Eawag Aquatic Research.
Arnold^ J.G., Kiniry, J.R., Srinivasan, R., Williams, J.R., Haney, E.B., Neitsch, S.L. 2012. SWAT Input/Output
Documentation. Texas Water Resources Institute. TR-439.
Kim, K., Wolfe, K. Galvin, M., Whelan, G., Parmar, R. 2016a. SDMProjectBuilder: SWAT Setup for Nutrient
Fate and Transport. EPA/600/B-16/065. U.S. Environmental Protection Agency, Athens, GA.
Kim, K., Whelan, G., Wolfe, K., Parmar, R., Galvin, M. 2016b. Quantitative Microbial Risk Assessment
Tutorial: HSPF Flow Application and Calibration. U.S. Environmental Protection Agency, Athens, GA. (in
peer review)
46
-------
Kim, K., Whelan, G., Wolfe, K., Parmar, Molina, M., Zepp, R. 2016c. Quantitative Microbial Risk
Assessment Tutorial: HSPF Microbial Application and Calibration. U.S. Environmental Protection Agency,
Athens, GA.
47
-------
APPENDIX A
Details of "SWAT_SWATCUP.exe" and "lnput_SWAT.in"
The purpose is to provide details of the FORTRAN code for preparing SWAT parameter calibration with
SWAT-CUP (i.e., SWAT_SWATCUP.exe). "SWAT_SWATCUP.exe" is designed to
• consume data from observation files downloaded by the user and the user input file
"lnput_SWAT.in"
• modify the SWAT input file "file.cio"
• prepare SWAT-CUP input files (i.e., SUFI2_swEdit.def, SUFI2_extract_rch.def, par_inf.txt,
observed.txt, observed_rch.txt, var_file_name.txt, var_file_rch.txt) and an extra file including
observed data with missing values (i.e., observed_data.txt).
Input files include:
• Observed data for flow, sediment, or nutrient for the parameter calibration, downloaded by
user. The user must download data as instructed in this document. The time series in this file
can include missing data.
• A User input file ("lnput_SWAT.in") containing information for generating SWAT-CUP input files
startyear
endyear
ny warm
nparaset
paragroup
(TNTP)
npara
para parafile
change
lower
upper
paragroup
(TNTP)
npara
para parafile
change
lower
upper
Figure A.l. Construction of user input file ("lnput_SWAT.in")
Figure A.l presents the format of the "lnput_SWAT.in". Descriptions of input data are:
• startyear: simulation start year including model warm-up period
• endyear: simulation end year
• ny_warm: number of years for model warm-up from start of the simulation (i.e., startyear)
• nparaset: number of parameter sets to be generated by SWAT-CUP for parameter calibration
• paragroup: name of parameter group, which needs to be defined as "Flow", "Sediment", or
"Nutrient"
48
-------
• (TNTP): names of nutrient to be calibrated ("TN", "TP", or "TNTP" for total nitrogen, total
phosphorus, or both, respectively). This variable is only needed when the paragroup is
"Nutrient". With another paragroup (Flow or Sediment), the line including TNTP must be
removed.
• npara: number of parameters to be calibrated in the corresponding paragroup
• para: name of each parameter. Names can be identified from the SWAT input/output
documentation (Arnold et al., 2012) or "Absolute_SWAT_Values.txt", generated in the SWAT-
CUP project folder.
• parafile: extension of SWAT input file where the corresponding parameter will be located. The
file extension can be identified from SWAT input/output documentation (Arnold et al., 2012) or
" Abso I ute_SWAT_Va I u es.txt".
• change: a variable that defines how parameter values should be changed. SWAT-CUP supports
three change types: replace, relative, and additive. Among these, "SWAT_SWATCUP.exe" only
supports two types: replace and relative, excluding additive change type; therefore, one of the
following variables must be selected:
o replace: parameter value is replaced
o relative: parameter value is changed proportionally to the original value in the SWAT
input file. This is generally done if the parameter is defined differently by landuses, soils,
subbasins, etc.
• lower and upper: minimum and maximum values of each parameter used in the calibration
process. Parameter ranges can be identified from "Absolute_SWAT_Values.txt".
Figure A.2 illustrates an example user input file "lnput_SWAT.in". It defines three parameter groups for
simultaneously calibrating flow, sediment, and nutrients (TN and TP for total nitrogen and total
phosphorus, respectively). The following assumptions apply when constructing the file:
• A daily time step is assumed for calibrating parameters with observed data.
• Instantaneous observations of constituent concentrations are assumed to represent daily
values.
• Instantaneous flow observation are used to estimate daily constituent loadings from
concentrations. Daily flow observations always have to be prepared even when flow parameters
are not calibrated. For example, when only sediment or nutrient parameters are calibrated,
"SWAT_SWATCUP.exe" always asks for the flow observation file.
• To obtain total number of reaches in the SWAT project, software reads "fig.fig". The SWAT input
file "fig.fig" defines channel connectivity and provides the total number of reaches.
• The objective function for parameter calibration uses the Nash-Sutcliffe Modeling Efficiency. The
objective function can be modified through the "observed.txt" file.
49
-------
1990
! Simulation start year
1995
! Simulation end year
1
!# of years for model warm up
1000
!# of parameter sets
Flow
IParameter group
9
!# of parameters
CN2
mgt
relative
-0.2
0.2
ESCO
bsn
replace
0
1
SURLAG
bsn
replace
0.05
24
ALPHA BF
gw
replace
0
1
GW REVAP
gw
replace
0.02
0.2
CH N2
rte
replace
0
0.3
CH K2
rte
replace
0
500
CANMX
hru
replace
0
100
GWQMN
gw
replace
0
5000
Sediment
IParameter group
11
!# of parameters
LAT SED
hru
replace
0
5000
RSDIN
hru
replace
0
10000
ADJ PKR
bsn
replace
0.5
2
PRF
bsn
replace
0
2
USLE_C{ 1-108} crop.dat relative
-0.5
0.5
USLE P
mgt
replace
0
1
USLE K()
sol
relative
-0.8
0.8
SPCON
bsn
replace
0.0001 0.01
SPEXP
bsn
replace
1
1.5
CH COV1
rte
replace
0.05
0.6
CHCOV2
rte
replace 0.001
1
Nutrient
IParameter group
TNTP
!TN or TP
7
!# of parameters
CMN
bsn
replace 0.001
0.003
CDN
bsn
replace 0
3
NPERCO
bsn
replace 0
1
PPERCO
bsn
replace 10
17.5
SDNCO
bsn
replace 0
1
RSDCO
bsn
replace 0.02
0.1
PHOSKD
bsn
replace 100
200
Figure A.2. Example user input file ("lnput_SWAT.in"), which defines the three parameter groups for
calibrating flow, sediment, and nutrient (TN and TP) parameters simultaneously
50
-------
APPENDIX B
Example "lnput_SWAT.in" Files for Independent Calibrations of Flow, Sediment, and Nutrients
Input_SWAT.in -
_ D X
File Edit Format
View Help
1990
!Simulation start year
1995
!Simulation end
year
1
!# of
years for
model warm
up
1000
!# of
parameter
sets
Flow
!Parameter group
25
!# of
parameters
CN2
mgt
relative -0.
2 0.2
ESCO
bsn
replace
0.01
1
SURLAG
bsn
replace
0.05
24
ALPHA_BF
gw
replace
0
1
GW_REVAP
gw
replace
0.02
0.2
CH_N2
rte
replace
0
0. 3
CH_K2
rte
replace
0
500
CAN MX
hru
replace
0
100
GWQMN
gw
replace
0
5000
S0L_AWC()
sol
relative
-0.8
0.8
BIOMIX
mgt
replace
0
1
SLSUBBSN
hru
rel ati ve
-0.8
0.8
GW_DELAY
gw
replace
1
450
S0L_K()
sol
relative
-0.8
0.8
REVAPMN
gw
replace
0
500
EPCO
bsn
replace
0.01
1
SFTMP
bsn
replace
-20
20
SMFMN
bsn
replace
0
20
SMFMX
bsn
replace
0
20
SMTMP
bsn
replace
-20
20
TIMP
bsn
replace
0
1
TLAPS
sub
replace
-10
10
SLSOIL
hru
replace
0
150
SOI ALB()
sol
relative
-0.8
0.8
RCHRG_DP
gw
replace
0
1
1 1
] Ln 1, Col 1 |
Figure B.l, Example user input file ("lnput_SWAT.in"), which defines the setup of Flow for calibration
Input_SWAT.in -
^otepa<^3
_ m x
ii n
me tan format
view Help
1990
!Simulation start year
1995
!Simulation end
year
1
!# of years for
model warm
up
1000
!# of parameter
sets
Sediment
[Parameter group
11
!# of parameters
LAT_SED
hru replace
0
5000
RSDIN
hru replace
0
10000
ADJ_PKR
bsn replace
0.5
2
PRF
bsn replace
0
2
USLE_C{1-108}
crop.dat relative
-0.5
0. 5
USLE_P
mgt replace
0
1
USLE_K()
sol relative
-0.8
0.8
SPCON
bsn replace
0.0001
0.01
SPEXP
bsn replace
1
1. 5
CH_COVl
rte replace
0.05
0.6
CH_COV2
rte replace
0.001
1
r
Ln 1, Col 1
Figure B.2. Example user input file ("lnput_SWAT.in"), which defines the setup of Sediment for
calibration
51
-------
File Edit Format
View
Help
1
# of years for
model warm
up
-
1000
# of parameter
sets
Nutrient
!Parameter group
TNTP
!TN or TP
26
# of parameters
CMN
bsn
replace
0.001
0.003
CDN
bsn
replace
0
3
NPERCO
bsn
replace
0
1
PPERCO
bsn
replace
10
17.5
SDNCO
bsn
replace
0
1
RSDCO
bsn
rep!ace
0.02
0.1
PHOSKD
bsn
replace
100
200
N_UPDIS
bsn
replace
0
100
P_UPDIS
bsn
rep!ace
0
100
PSP
bsn
replace
0.01
0.7
BC3
swq
replace
0.2
0.4
RS4
swq
replace
0.001
0.1
=
BC4
swq
replace
0.01
0.7
ERORGN
hru
replace
0
5
ERORGP
hru
replace
0
5
SOL_ORGN()
chm
replace
0
100
S0L_N03()
chm
replace
0
100
SOL_LABP()
chm
replace
0
100
SOL_ORGP O
chm
replace
0
100
SOI CBN 0
sol
relative
-0. 5
0.5
BCl
swq
replace
0.1
1
BC2
swq
replace
0.2
2
RS3
swq
replace
0
1
CH_ONCO
rte
replace
0
100
LAT_ORGN
gw
replace
0
200
HLIFE_NGW
gw
replace
0
200
7"
<
1
Figure B.3. Example user input file ("lnput_SWAT.in"), which defines the setup of Nutrients for
calibration
52
------- |