Skip to content

StateCU (for Developers)

This documentation is the developer manual for Colorado's Decision Support Systems (CDSS) StateCU consumptive use model software.

If you are reading this documentation, you have an interest in learning how StateCU is designed, are a member of the software development team, or perhaps wish to contribute software code enhancements or otherwise provide input to the project. This documentation is intended to provide sufficient information to software developers to facilitate understanding of the StateCU code and developer environment. It is expected that software developers are technically competent and follow conventions of the open source StateCU project.

This documentation page includes the following sections:

How to Use this Documentation

This website is a companion to the StateCU source code and provides guidance for software developers that modify and support StateCU.

The documentation is organized with the first sections focusing on setup for a new developer and common development tasks. The reference sections at the end provide information that may be of use but are typically not used day to day. Use the search feature of this website to find specific information.

The navigation menu on the left provides access to pages in the documentation. The navigation menu on the right provides access to sections on the page. If the page is viewed in a narrow window the navigation menus may be compressed into an icon.

Colorado's Decision Support Systems

Colorado's Decision Support Systems (CDSS, cdss.colorado.gov) has been developed to answer important questions about Colorado's water resources. CDSS efforts are led by the Colorado Water Conservation Board (CWCB) and Colorado Division of Water Resources (DWR).

CDSS Website

One component of CDSS is the StateCU consumptive use model, which estimates irrigation water requirements and other demands using one of multiple available standard engineering methods. It was originally (1980s) coded in Fortran, and later a Windows Graphical User Interface (GUI) was added using Visual Basic 6 (VB6).

StateCU is frequently used as aprt of a water resources or water rights analysis. StateCU results are used as input to the StateMod water allocation model.

In late 2016, the CWCB funded the OpenCDSS project to move StateCU and other CDSS software to open source licensing and establish open source software projects. The Open Water Foundation was contracted to lead the OpenCDSS project.

License

The license for this documentation is the Creative Commons CC-BY 4.0 license.

The StateCU software is licensed using the GPL v3 license.

Source Repository on GitHub

The source files for this documentation are maintained in the StateCU GitHub repository.