IDC: Integrated Water Flow Model Demand Calculator
Our Integrated Water Flow Model Demand Calculator (IDC) is a computer program used for calculating agricultural and urban water demands at a river basin. Agricultural water demand is calculated based on climate data, crop types, crop acreages, soil properties and irrigation methods. Urban demand is calculated based on population and per-capita water usage. IDC is the stand-alone root zone component of the Integrated Water Flow Model (IWFM).
License information: IDC is copyrighted by the State of California Department of Water Resources. It is licensed under the GNU General Public License. This means it can be copied, distributed, and modified freely, but you may not restrict others in their ability to copy, distribute, and modify it. See GNU General Public License for more details.
Download IWFM: We have 3 current versions of IWFM. Each version has several downloadable content (release notes, executables, source code, documentation, input file templates, sample problem).
- Release Notes: This file includes the list of changes in IDC with respect to the previous version.
- Executables: This file includes the executable files for IDC-2015.0.68 compiled for both 32 bit and 64 bit OS. When unzipped, the files will be restored into predefined directories, namely IDC, Budget and Z-Budget. These executables are created by Intel Visual Fortran XE 2017 Update 6 compiler. IDC2015.exe (IDC2015_x64.exe for 64 bit OS) is the executable for IDC, Budget2015.exe and ZBudget2015.exe (Budget2015_x64.exe and ZBudget2015_x64 for 64 bit OS) are the tools to post-process IDC output. Executables with "D" extension (e.g. "IDC2015_D.exe") are in debug mode. It is recommended that the executables in debug mode are used when building a model from scratch. Once the model is built and debugged, the executables in release mode (e.g. "IDC2015.exe") can be used for production.
- Templates for Input Files: This file includes the templates for input files that are necessary to run IDC and the post-processor tool, Budget. When unzipped, these files will be restored into predefined directories, namely IDC and Budget. Template files for IDC_DLL are the same as those for IDC.
- Source Code: This file contains the Fortran source code for IDC-2015 and a set of files that are required to create IDC, Budget and Z-Budget executables. The source code is generated to be compiled by Intel Visual Fortran XE 2017 Update 6 compiler. There are many source files and complex dependencies between these files. To help the user in building the executables, Microsoft Visual Studio 2015 solution and project files are also included with the source code. These files will be saved under the BuildAll folder. BuildAll.sln file under this folder can be opened from Microsoft Visual Studio 2015 and all IDC executables can be rebuild.
- Sample Model: This file contains the IDC input and output files for a sample model along with supporting GIS files. The sample problem utilizes several input data files in HEC-DSS database format to demostrate the usage of the DSS files. To view the contents of these files HEC-DSSVue, a free utility program developed by the U.S. Army Corps of Engineers, is required.
Reports & Publications
Dogrul, E. C., T. N. Kadir, and F. I. Chung. 2011
Root zone moisture routing and water demand calculations in the context of integrated hydrology. Journal of Irrigation and Drainage Engineering 137, (6) (Jun): 359-366.
Siegfried, L. J., W. E. Fleenor, and J. R. Lund. 2014
Physically based modeling of Delta island consumptive use: Fabian Tract and Staten Island, California. San Francisco Estuary and Watershed Science 12, (4).
Theoretical Documenation and User’s Manual
Soil moisture routing and agricultural demand computation in IWFM Demand Calculator (IDC)
- IWFM Mesh Generator (Last updated: March 9, 2017) This is a mesh generator that is integrated into ESRI's ArcMap software. It utilizes shapefiles to define model boundary, streams, enforcement lines, holes and wells to generate a triangular, quarilateral or mixed triangular-quadrilateral finite element mesh. It uses Triangle, developed by Dr. Jonathan Richard Shewchuk, and Gmsh, developed by Christophe Geuzaine and Jean-François Remacle, as the mesh generator engines. The mesh can be converted to a shapefile to perform various data analysis to develop input data (e.g. soil properties, land use distribution, development of stratigraphic layers) for IWFM applications. Groundwater and stream nodes as well as finite elements can be numbered automatically and the IWFM mesh files can be exported to text files. After downloading the setup executable file, double-click on it and follow the instructions. After installation, start ArcMap and click the "IWFM Mesh Generator" button.
- IWFM Tools Add-in for Excel 2016: (Last updated: July 24, 2018) (Download either for 32-bit MS Office or 64-bit MS Office) This tool is tested under Windows 10 and installs as a new tab named "IWFM Tools" into Excel 2016, and currently includes four utilities (Note: The Budget-To-Excel utility will no longer work for Budget binary files generated by IWFM v3.02 or v4.0):
- data column export to a text file
- Water Year-Month table generator
- Budget-To-Excel data import utility
- Z-Budget-To-Excel data import utility
The first utility is useful when IWFM input data is prepared in Excel and when this data needs to be exported into a text file with right-aligned data columns. The second utility is used to convert time series data into a Water Year-Month table and optinally generate charts. The third and fourth utilities are used to quickly import data from IWFM Budget and Z-Budget HDF5 files into Excel. After downloading the setup file, double-click it and follow the instructions for installation.
- Soil Data Builder (Last updated: June 1, 2016) This tool processes the SSURGO soil database from NRCS and creates text files that store root zone data required by IWFM and IDC. These text files can then be opened in ESRI's ArcGIS along with the SSURGO shapefiles, and processed to generate soil parameters to be input to IWFM or IDC models. This tool requires MS Access 2007 or higher to be installed on the user's computer. Once installed, you can find the tool under Start -> All Programs -> IWFM.
- Soil Data Builder with GIS (Last updated: February 17, 2017) This utility is the Soil Data Builder tool (above) that is integrated within ESRI's ArcMap. It processes multiple SSURGO soil database from NRCS for an IWFM or IDC application and generates the soil parameter values for model cells. This utility can also be used to generate soil parameters for any polygon layer, not just for IWFM or IDC model grids. The utility has been tested with ArcMap v10.3 under Windows 10 OS. After downloading the setup executable file, double-click on it and follow the instructions. After installation, start ArcMap and click the "IWFM SDB-GIS" command button.
- IWFM PEST Utilities (Last updated: October 28, 2013) These utilities are developed to aid the user in automatic calibration of an IWFM application by linking it to the Parameter ESTimation tool (PEST). The download includes the documentation, an example, executables for both Windows and Linux Ubuntu OS, and the source code for the utility programs.
- Land Use Adjustment Preprocessor (Last updated: September 18, 2017) (Download either for IWFM v3.x, IWFM v4.0 or IWFM-2015) The land use adjustment preprocessor allows the user to generate a time series data set of elemental land use areas based on subregional or model-wide time series data and elemental survey data. The download includes the source code, executable program, example input and output files, and program description.
NewsLetters & Subsriptions
User’s Group: The IWFM User’s Group is part of CWEMF, hosted by both DWR and U.S. Bureau of Reclamation in an effort to encourage development and understanding of the model. Information pertaining to the upcoming quarterly meetings, as well as information regarding the previous meetings will be accessible through the CWEMF website. If you're new to the users group please send IWFMtechsupport@water.ca.gov your contact information so we can update you on the next meeting.
Email Us: IWFMtechsupport@water.ca.gov