Skip to main content

PNNL

  • About
  • News & Media
  • Careers
  • Events
  • Research
    • Scientific Discovery
      • Biology
        • Chemical Biology
        • Computational Biology
        • Ecosystem Science
        • Human Health
          • Cancer Biology
          • Exposure Science & Pathogen Biology
          • Metabolic Inflammatory Diseases
        • Integrative Omics
          • Advanced Metabolomics
          • Chemical Biology
          • Mass Spectrometry-Based Measurement Technologies
          • Spatial and Single-Cell Proteomics
          • Structural Biology
        • Microbiome Science
          • Biofuels & Bioproducts
          • Human Microbiome
          • Soil Microbiome
          • Synthetic Biology
      • Chemistry
        • Computational Chemistry
        • Chemical Separations
        • Chemical Physics
        • Catalysis
      • Earth & Coastal Sciences
        • Atmospheric Science
          • Atmospheric Aerosols
          • Human-Earth System Interactions
          • Modeling Earth Systems
        • Coastal Science
        • Ecosystem Science
        • Plant Science
        • Subsurface Science
        • Terrestrial Aquatics
      • Materials Sciences
        • Materials in Extreme Environments
        • Precision Materials by Design
        • Science of Interfaces
        • Solid Phase Processing
          • Cold Spray
          • Friction Stir Welding & Processing
          • ShAPE
      • Nuclear & Particle Physics
        • Dark Matter
        • Flavor Physics
        • Fusion Energy Science
        • Neutrino Physics
      • Quantum Information Sciences
    • Sustainable Energy
      • Electric Grid Modernization
        • Emergency Response
        • Grid Analytics
          • AGM Program
          • Tools and Capabilities
        • Grid Architecture
        • Grid Cybersecurity
        • Grid Energy Storage
        • Grid Resilience and Decarbonization
          • Earth System Modeling
          • Energy System Modeling
        • Transmission
        • Distribution
      • Energy Efficiency
        • Appliance and Equipment Standards
        • Building Energy Codes
        • Building Technologies
          • Advanced Building Controls
          • Advanced Lighting
          • Building-Grid Integration
        • Building and Grid Modeling
        • Commercial Buildings
        • Federal Buildings
          • Federal Performance Optimization
          • Resilience and Security
        • Grid Resilience and Decarbonization
        • Residential Buildings
          • Building America Solution Center
          • Energy Efficient Technology Integration
          • Home Energy Score
        • Energy Efficient Technology Integration
      • Energy Storage
        • Electrochemical Energy Storage
        • Flexible Loads and Generation
        • Grid Integration, Controls, and Architecture
        • Regulation, Policy, and Valuation
        • Science Supporting Energy Storage
        • Chemical Energy Storage
      • Environmental Management
        • Waste Processing
        • Radiation Measurement
        • Environmental Remediation
      • Fossil Energy
        • Subsurface Energy Systems
        • Carbon Management
          • Carbon Capture
          • Carbon Storage
          • Carbon Utilization
        • Advanced Hydrocarbon Conversion
      • Nuclear Energy
        • Fuel Cycle Research
        • Advanced Reactors
        • Reactor Operations
        • Reactor Licensing
      • Renewable Energy
        • Solar Energy
        • Wind Energy
          • Distributed Wind
          • Wildlife and Wind
          • Wind Data Management
          • Wind Resource Characterization
        • Energy Equity & Health
        • Marine Energy
          • Environmental Monitoring for Marine Energy
          • Marine Biofouling and Corrosion
          • Marine Energy Resource Characterization
          • Testing for Marine Energy
          • The Blue Economy
        • Hydropower
          • Environmental Performance of Hydropower
          • Hydropower Cybersecurity and Digitalization
          • Hydropower and the Electric Grid
          • Materials Science for Hydropower
          • Pumped Storage Hydropower
          • Water + Hydropower Planning
        • Grid Integration of Renewable Energy
        • Geothermal Energy
      • Transportation
        • Bioenergy Technologies
          • Algal Biofuels
          • Aviation Biofuels
          • Waste-to-Energy and Products
        • Hydrogen & Fuel Cells
        • Vehicle Technologies
          • Emission Control
          • Energy-Efficient Mobility Systems
          • Lightweight Materials
          • Vehicle Electrification
          • Vehicle Grid Integration
    • National Security
      • Cybersecurity
        • Discovery and Insight
        • Proactive Defense
        • Trusted Systems
      • Nuclear Material Science
      • Nuclear Nonproliferation
        • Radiological & Nuclear Detection
        • Nuclear Forensics
        • Ultra-Sensitive Nuclear Measurements
        • Nuclear Explosion Monitoring
        • Global Nuclear & Radiological Security
      • Stakeholder Engagement
        • Disaster Recovery
        • Global Collaborations
        • Legislative and Regulatory Analysis
        • Technical Training
      • Systems Integration & Deployment
        • Additive Manufacturing
        • Deployed Technologies
        • Rapid Prototyping
        • Systems Engineering
      • Threat Analysis
        • Advanced Wireless Security
          • 5G Security
          • RF Signal Detection & Exploitation
        • Climate Security
        • Grid Resilience and Decarbonization
        • Internet of Things
        • Maritime Security
      • Chemical & Biothreat Signatures
        • Contraband Detection
        • Pathogen Science & Detection
        • Explosives Detection
        • Threat-Agnostic Biodefense
    • Data Science & Computing
      • Artificial Intelligence
      • Graph and Data Analytics
      • Software Engineering
      • Computational Mathematics & Statistics
      • High-Performance Computing
      • Visual Analytics
    • Lab Objectives
    • Publications & Reports
    • Featured Research
  • People
    • Inventors
    • Diversity & Inclusion
    • Lab Leadership
    • Lab Fellows
    • Staff Accomplishments
  • Partner with PNNL
    • Academia
      • Distinguished Graduate Research Programs
      • Internships
      • Visiting Faculty Program
      • Joint Appointments
      • Joint Institutes
      • Linus Pauling Distinguished Postdoctoral Fellowship
      • Minority-serving Institutions
    • Community
      • Regional Impact
      • STEM Education
        • Resources
        • Student STEM Ambassadors
        • STEM Ambassadors in the Classroom
      • Philanthropy
      • Volunteering
    • Industry
      • Available Technologies
      • Industry
      • Industry Partnerships
      • Licensing & Technology Transfer
      • Entrepreneurial Leave
  • Facilities & Centers
    • All Facilities
      • Atmospheric Radiation Measurement User Facility
      • Electricity Infrastructure Operations Center
      • Energy Sciences Center
      • Environmental Molecular Sciences Laboratory
      • Grid Storage Launchpad
      • Institute for Integrated Catalysis
      • Interdiction Technology and Integration Laboratory
      • PNNL Seattle Research Center
      • PNNL-Sequim
      • Radiochemical Processing Laboratory
      • Shallow Underground Laboratory

Distributed Hydrology Soil Vegetation Model

  • FAQ
  • Tutorials and Datasets
    • Tutorial for DHSVM 2.0
    • Tutorial for DHSVM 3.0
    • Tutorial for DHSVM 3.1
  • Source Code
  • Data Products
  • Documentation
    • Tools
    • Model Operation
    • Model Input Files
    • Processing of Input Files
    • Model Output
  • Publications

Model Operation

Describes how to compile the source code, input requirements, and miscellaneous issues related to running the model.

  • Hardware requirements
  • Compiling and running the source code
  • Input requirements

Hardware requirements

The hardware requirements for DHSVM depend on the size of the application, that is, the number of pixels within the watershed. However, most modern workstations with a large amount of memory (512Mb RAM or more) and a fast processor (Pentium IV, PowerPC G4, or equivalent) will be amply sufficient.

DHSVM does not make use of multiple processors, so a fast single processor machine will result in a shorter runtime than a slower multi-processor machine (assuming no other processes are active)

Compiling and running the source code

DHSVM is written in ANSI-C, and will run under most operating systems. It has been successfully implemented on Pentium PC based systems (under FreeBSD, Linux, and Microsoft Windows), Apple PowerPC based systems (OS X), SUN workstations, and HP workstations.

The Gnu C-Compiler (gcc) is available for all these platforms and operating systems and is the compiler of choice. This means that this is the only compiler used in testing the model codes, and no attempts will be made to support other compilers.

You will need to modify the makefile that comes with the DHSVM source code to reflect the location of the necessary header and library files on your system. DHSVM has an option to display its output in an X-window while the model is running. This requires the availability of the X11 library on your system. To compile the code for the X-window display, uncomment the line in the makefile with DEFS=-DHAVE_X11. 

Similarly, DHSVM can read and write NetCDF files. This option is only available if you have the netcdf libraries on your system. To download the netcdf software and obtain more information, visit the Unidata website. To compile the code for reading and writing NetCDF files, uncomment the line in the makefile with DEFS=-DHAVE_NETCDF.

Input requirements

As a spatially distributed hydrological model, DHSVM is input intensive. In broad terms, the following input is needed for the implementation of the model in a specific area:

  • Digital Elevation Model (DEM) of the basin
  • Soil textural and hydraulic information
  • Vegetation information
  • Meteorological conditions at a subdaily timestep, in particular precipitation, air temperature, humidity, wind speed, incoming shortwave radiation and incoming longwave radiation
  • Information about the stream and road network (location, width, etc.)

Soil and vegetation information is needed at the same resolution as the resolution at which the model is implemented. For each pixel a soil and vegetation type is specified, and a lookup table is used to store the associated soil and vegetation properties.

The specific content and format of each of the input files is specified on the Model Input page.

PNNL

  • Get in Touch
    • Contact
    • Careers
    • Doing Business
    • Environmental Reports
    • Security & Privacy
    • Vulnerability Disclosure Program
  • Research
    • Scientific Discovery
    • Sustainable Energy
    • National Security
Subscribe to PNNL News
Department of Energy Logo Battelle Logo
Pacific Northwest National Laboratory (PNNL) is managed and operated by Battelle for the Department of Energy
  • YouTube
  • Facebook
  • Twitter
  • Instagram
  • LinkedIn