Quick Start Guide
This page provides a quick tutorial on the basics of QSWAT+ and SWAT+ Editor. You'll walk through setting up the Robit watershed (Lake Tana Basin) step by step.
For comprehensive guidance on QSWAT+ features and capabilities, consult the QSWAT+ manual. Introductory videos are also available on our YouTube channel. While these videos feature earlier interface versions, the underlying principles and workflows are still relevant.
Project Setup
- Click the QSWAT+ icon to start
- Click New Project in the interface popup
- Browse to your project directory (e.g.,
C:\QSWATPlus_Projects) - Create a new folder called "Robit" (right-click > New > Folder)
- Select the Robit folder and click Select Folder
- Enter "Demo1" as the project name (must start with a letter)
- Click OK
Confirmation: The project database Demo1.sqlite and a copy of the SWAT reference database swatplus_datasets.sqlite are created in your project folder.
Note: Before proceeding, ensure all maps are in the same projection coordinate system, preferably an equal area projection such as UTM. While UTM is not strictly an equal area projection, it is close enough to being so, and is sufficiently accurate for SWAT+ modeling on most watersheds.
Example Dataset Location
The files used in this demo are located in the SWATPlus installation folder, typically at:C:\Users\[USER_NAME]\SWATPlus\ExampleDatasets\Robit, or you may download them here.
Watershed Delineation
Loading the DEM
- Click Delineate Watershed
- Click the button in the Select DEM group
- Browse to
Robit/DEM/srtm_30mand openhdr.adf - If needed, adjust DEM units in the DEM properties tab (default is meters)
Confirmation: The DEM file name will be displayed in the DEM text box. The DEM will be copied to the project's Source folder and converted to GeoTiff format (.tif) if necessary.
Burn in Stream Network
- Change threshold method to hectares
- Set area for channels to 9 and streams to 90
- Click Create Streams
Inlets and Outlets
- Check Use an inlets/outlets shapefile
- Browse to
Robit/MainOutlet/MainOutlet.shp - The outlet will be added to the map
Confirmation: Check that the delineation form shows the correct number of points have been snapped (in this case, 1) and none have failed.
Creating Landscape Units
- Click the Create landscape tab, then click Create
- Create three floodplain rasters using the default parameter settings for each method:
- Buffer method (creates
bufferfloodfile) - DEM inversion method (creates
invfloodfile) - Branch length method (creates
branchfloodfile)
- Buffer method (creates
- Click Done to close the Landscape analysis form
Viewing Your Setup: The three floodplain rasters will be added to the map. You can toggle their visibility in the Layers panel to compare the different methods visually.
Note: You can create multiple landscape unit versions and choose which to use later when creating HRUs.
Completing Delineation
- Click OK to complete watershed delineation
- The system will construct topology and number the subbasins
- The Create HRUs option will now be enabled
Confirmation: After clicking OK, you'll see a "Constructing topology" message. The subbasins will be numbered and displayed on the map.
Viewing Your Setup:
- The watershed boundary and subbasins are now visible in the map
- You can zoom in using the Zoom to layer button (top toolbar) after selecting the subbasins layer
- Check the number of subbasins created (9 in this example)
Create HRUs
Landuse and Soil Maps
- Click Create HRUs to open the Create HRUs form
- Select
Robit/Landuse/roblandusenew/hdr.adfas the Landuse map - Select
Robit/Soil/mowr_soil90/hdr.adfas the Soil map
Note: QSWAT+ will automatically clip maps that are substantially larger than the DEM and convert them to GeoTiff format if needed.
Setting Up Lookup Tables
- In the Landuse table dropdown, select Use csv file
- Browse to
Robit/Robit_landuses.csvand click Open - In the Soil table dropdown, select Use csv file
- Browse to
Robit/Robit_soils.csvand click Open - In the Usersoil table dropdown, select Use csv file
- Browse to
Robit/Robit_usersoil.csvand click Open
Note: In the Soil data section to the left, keep it set to usersoil.
Confirmation: The tables Robit_landuses, Robit_soils, and Robit_usersoil are created in the project database and will appear in their respective dropdown menus.
Select Floodplain Map
- Use the Select floodplain map dropdown to select
invflood0_10.tif
Note: If you don't select a floodplain map, no landscape units will be created.
Configure Slope Bands
- Type 10 in the slope bands box and click Insert (creates slope ranges 0-10% and >10%)
- Check the Generate FullHRUs shapefile box
Note: Generating the FullHRUs shapefile is optional but necessary if you intend to visualize HRU results after running SWAT+.
Read Maps
- Ensure Read from maps is checked
- Click Read
Confirmation: After reading, several changes occur:
- A Slope bands map is created and added
- Full HRUs and Full LSUs shapefiles are created and added
- Counts are displayed: 9 subbasins, 87 channels, and ~516 full (potential) HRUs
- The landuse legend shows categories from the lookup table
Viewing Your Setup:
- Zoom in on a subbasin to see the Full HRUs
- Select the Full HRUs layer and open its attribute table (right-click)
- Use Select Feature(s) tool to click on an HRU and view its properties (subbasin, channel, landscape unit, landuse, soil, slope band, area, and percentages)
- View available reports: Elevation and Landuse and Soil reports
Elevation Report: Shows land distribution by elevation for the watershed and each subbasin.
Landuse and Soil Report: Lists landuse, soil, and slope-band areas for each subbasin and channel reach.
Merging Short Channels
- In the Short channel merge group, set the threshold to 2%
- Select Re-merge short channels
- Click Read again
Confirmation: The channel count drops from 87 to 72, and the full HRUs count drops to ~455. You can verify in the Landuse and Soil report that the smallest channel drainage area is now at least 2.62% of its subbasin.
Note: This step removes very small channel reaches by merging them into neighboring ones, which helps eliminate insignificant HRUs.
Preparing to Create HRUs
After reading the maps, the HRUs tab (second tab) in the Create HRUs form will be enabled. Select this tab to configure and create the actual HRUs for your project.
- Select Filter by land use, soil and slope
- Choose Threshold method: Percent of landscape unit
- Set thresholds and click Go after each:
- Landuse: 10%
- Soil: 10%
- Slope: 10%
- Leave groundwater option at default (Use SWAT+ aquifers)
- Click Create HRUs
Note: The filter method ignores HRUs below the specified thresholds. Their areas are redistributed proportionately among retained HRUs within each landscape unit. Each landscape unit will retain at least one HRU.
Confirming HRU Creation
After clicking Create HRUs:
- The number of HRUs created will be displayed at the top of the map canvas
- Create HRUs will show as "done" and the Edit Inputs and Run SWAT button will be enabled
- New shapefiles will be added:
- Actual LSUs - shows landscape units after channel merges
- Actual HRUs - shows the potential HRUs that were retained
- Channel reaches - shows merged channels
- Point sources - automatically added to each channel
Viewing Your Setup
View Attribute Tables:
- Right-click on Full HRUs or Actual HRUs in the Layers panel and select "Open Attribute Table"
- Use the Select Feature tool to click on areas in the map and view their properties
- You can see subbasin numbers, channel IDs, landscape units, landuse, soil, slope bands, and HRU numbers
View Reports:
In the main QSWAT+ window, use Select report to view to access:
- Elevation report - elevation distribution across the watershed and subbasins
- Landuse and Soil report - areas for each landuse, soil, and slope band by subbasin
- HRUs report - details of all HRUs that were created (available after HRU creation, shows only retained landuses, soils, and slope bands)
Save Your Project
Important: Save your project now via the QGIS File menu before proceeding to the SWAT+ Editor.
You can now click Edit Inputs and Run SWAT to start SWAT+ Editor.
Edit Inputs and Run SWAT+
Launching SWAT+ Editor
- From the main QSWAT+ dialog, click Step 3: Edit Inputs and Run SWAT
- Upon opening your project in SWAT+ Editor, your data must be imported from the GIS tables into SWAT+ database format. Confirm your project name and enter a short description. Click Start and wait for it to finish (this may take a few seconds to several minutes).
- Once loaded, click Get Started at the bottom of the window
Note: When launching SWAT+ Editor from QSWAT+, the QSWAT+ interface will lock and show a "Not Responding" message. This is expected behavior. SWAT+ Editor is a stand-alone program that can also be accessed outside of QSWAT+. In Windows, search for SWAT+ Editor in the taskbar to launch on its own.
Adding Weather Generator Data
- In the left menu, go to Weather Generator
- Click Import Data at the bottom of the window
- Select Two CSV files from the top dropdown menu
- Browse to
C:\Users\[USER_NAME]\SWATPlus\ExampleDatasets\Robit - Select
WGEN_Robit_stat.csvandWGEN_Robit_mon.csv - Check the box to use observed weather data
- Click Start Import
Confirmation: One weather generator station will be added.
Note: You can alternatively import from the distributed WGN database by selecting the database import option and choosing from tables like wgn_cfsr_world (global data), wgn_us (United States), or wgn (empty table for custom data).
Adding Observed Weather Data
- In the left menu, click Weather Stations
- Click Import Data
- For SWAT2012 weather files directory, browse to
C:\Users\[USER_NAME]\SWATPlus\ExampleDatasets\Robit\ClimateRobit - Leave the default save location (TxtInOut folder)
- Click Start
Confirmation: One weather station will be added. The station is automatically connected to the weather generator from the previous step and assigned to spatial connection objects by closest latitude/longitude.
Viewing Your Setup: You can click on the file names to open them directly from the editor.
Running the Simulation
- Click the play/triangle icon in the navy ribbon on the left side
- Click Set your simulation period and adjust the starting date to 01/01/2000
- Click Choose output to print and set warm-up period to 3 years
- Review available outputs to print (scroll to see all options)
- Keep all three task checkboxes selected:
- Write input files - translates database to text files for SWAT+
- Run SWAT+ - executes the model
- Analyze output for visualization - reads output files into SQLite database
- Click Save Settings & Run Selected
Note: Input files are saved to [Project Directory]/Scenarios/Default/TxtInOut by default. Maximum simulation date range is based on your observed weather files.
Checking Model Output
When the simulation completes, you'll see a menu of options for what to do next. Click SWAT+ Check to check for potential model problems.
SWAT+ Check has several tabs at the top—navigate through them to review different aspects of your model. For several sections, you can filter values by land use. For example, go to the Plants tab, turn on the Check by land use switch, then select a land use from the dropdown menu to see values specific to that land use type.
You can also preview HRU management from this window. Select an HRU from the list, and its management events will load in a list.
You can now proceed to QSWAT+ Step 4: Visualization.
Visualization
Click Visualize on the main QSWAT+ form to open the Visualize Results window. Select your simulation from Choose scenario (initially just Default), then pick a data table from Choose SWAT+ output table.
The Visualize tool offers three display options: Static data (summary maps), Animation (time-based changes), and Plot (charts). This tutorial covers Static data and Animation. For advanced topics, refer to the QSWAT+ manual.
Creating Static Maps
- Select the Static data tab
- Choose a SWAT+ output table (example: lsunit_pw_yr)
- Add variables - Click All to include everything, or add individually with Add. Use Del or Clear to remove variables. For this example, make sure bioms is included in your selection.
- Pick a summary method:
- Totals - Sum of all values
- Daily/Monthly/Annual means - Average per time period
- Maxima/Minima - Highest/lowest value
Note: For flow rates and similar variables, only means and extremes make sense.
For this example, select annual means to display the average biomass per year.
- Select bioms from the variables list, then click Create to generate your map showing annual mean biomass values across your watershed.
Working with your map: To display a different variable or summary method, select it and click Create. To change colors, right-click the layer, select Properties → Symbology. Enable Show Map Tips and hover over areas to see values.
Animation
- Choose your scenario and output table (example: channel_sdmorph_mon)
- Select the Animation tab
- Pick a variable (example: flo_out)
- Keep animation mode set to Map canvas
- Start playback by pressing the run button (right triangle icon)
- Adjust playback using the pause and rewind buttons or use the slider and arrow keys to navigate
- Adjust the Speed as needed
- Right-click the layer on the map and select Open Attribute Table to see actual values at each frame.
Recording GIFs
- Click the green box to start recording
- Run your animation
- Click the red box to stop recording
- Press Play to play the recording
- flo_outVideo.gif is saved in the Results directory
Congratulations!
You've completed the Quick Start Guide for QSWAT+ and SWAT+ Editor. You've walked through the entire modeling workflow for the Robit watershed—from initial project setup and watershed delineation, through creating HRUs and running SWAT+, to visualizing and analyzing your results.
This tutorial covered the essential steps to get you started, but SWAT+ offers many more advanced features and options. To explore these capabilities in depth, consider attending our SWAT+ Beginner and Advanced workshops held multiple times a year online.
Now that you're familiar with the basic workflow, you're ready to apply these skills to your own watershed projects. Happy modeling!



















