Giter Club home page Giter Club logo

national_stormwater_calculator_desktop's Introduction

National_Stormwater_Calculator_Desktop

This is the source code repository for the desktop version of EPA's National Stormwater Calculator (SWC). The SWC is a software application that estimates the annual amount of rainwater and frequency of runoff from a specific site. Estimates are based on local soil conditions, land cover, and historic rainfall records. It is designed to be used by anyone interested in reducing runoff from a property, including site developers, landscape architects, urban planners, and homeowners.

The SWC accesses several national databases that provide soil, topography, rainfall, and evaporation information for a chosen site. The user supplies information about the site's land cover and selects low impact development (LID) controls they would like to use. The LID controls include seven green infrastructure practices. The SWC's cost module allows users to estimate capital and maintenance costs for LID control projects.

The SWC can be downloaded at the offical website.

License

The source code for the SWC desktop is released in the public domain.

Contact

[email protected]

EPA Disclaimer

The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.

national_stormwater_calculator_desktop's People

Contributors

barrc avatar rwashing523 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

national_stormwater_calculator_desktop's Issues

Remove year reference in y-axis label

The cost plots have the year 2015 hard-coded in the y-axis label. The year dynamically updates in the title of the same plots. After talking with @JasonBernagros we think we should just remove the year from the label and keep it in the title.

Fix water budget calculation for scenarios with LID controls

To calculate the water budget, the SWC reads from the .rpt file and uses values from two tables. Prior to SWMM 5.1.007, a value in the Flow Routing Continuity table was written as “Seepage Loss”; the label was changed to “Exfiltration Loss” in SWMM 5.1.007 (this link should jump you to the code update made in SWMM: USEPA/Stormwater-Management-Model@cb7eb06#diff-5d4d095c0a2f8544178a80766d4943caL729). The SWC searches for the keyword “Seepage Loss”, but since “Seepage Loss” no longer exists in the .rpt file, it will never find it.

Solution: update to search for "Exfiltration Loss" rather than "Seepage Loss" and use that value in the water budget calculation.

Top plot in rainfall/runoff

The top plot for rainfall/runoff has only rainfall values, even when you only have one scenario. The bottom plot shows both rainfall and runoff values depending on where you’re hovering.

Post Build Instructions

It's been awhile since I've built the Stormwater Calculator. I wanted to get in and refresh my memory on how I put together the installer.

So I cloned the repository and successfully opened the Solution in MSVC 2010. The build failed, however, due to unresolved assembly references. Clearly I'm missing something ...

Would be possible to post build instructions for people with poor memory like me?

Thanks! 😄

Cache BLS data

Consider caching BLS data so we don't risk hitting the BLS API limit.

100% impervious/100% permeable pavement

Sites that are 100% impervious and 100% permeable pavement thrown an error. This is also true on the SWC desktop.

Percent impervious on both web/desktop is written as NaN. Input file:

[SUBCATCHMENTS]
Subcatch1  RainGage1  Outfall1  10  NaN  0  5  0

Report file:


  EPA STORM WATER MANAGEMENT MODEL - VERSION 5.1 (Build 5.1.007)
  --------------------------------------------------------------

  
  ERROR 211: invalid number NaN at line 23 of [SUBCATCHMENT] section:
  Subcatch1  RainGage1  Outfall1  10  NaN  0  5  0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.