Git Product home page Git Product logo

qgis-epanet's Introduction

QGIS epanet plugin

Extends processing framework to models the hydraulic and water quality behavior of water distribution piping systems

This plugin lets you model hydraulic network for water and run simulations to get water pressure informations and more.

See a demo screencast here :

https://vimeo.com/87754967

Requirements

You need :

  • A working version of Epanet (english version mandatory)
  • QGIS > 2.0
  • The QGIS Processing framework

Installation

You need to have epanet as a command line tool for the plugin to work.

Install Epanet for Windows

Download and run http://www.epa.gov/nrmrl/wswrd/dw/epanet/EN2setup.exe

Compile Epanet for linux

Download Epanet sources from http://www.epa.gov/nrmrl/wswrd/dw/epanet/EN2source.zip

For linux:

mkdir epanet
cd epanet
wget http://www.epa.gov/nrmrl/wswrd/dw/epanet/EN2source.zip
unzip EN2source.zip
unzip -n epanet2.zip 
unzip -n makefiles.ZIP
unzip -n GNU_EXE.ZIP

Open the file epanet.c, comment out the line

#define DLL

and uncomment the line

#define CLE

Open the file Makefile and replace the line

cc -o epanet2 -lm $(objs)

by

cc -o epanet2 $(objs) -lm 

Then run:

make

Install the plugin

Simply put this directory in the plugin directory. On linux:

cd ~/.qgis2/python/plugin
git clone https://github.com/Oslandia/qgis-epanet.git

You then need to run QGIS, install the processing plugin and configure the path to the epanet executable in QGIS menu Processsing->Options and configuration.

Note: On Windows, choose epanet2d.exe.

Testing

The file simple_network.zip contains an example of a tank emptying on a pipe. Unzip the directory en follow intructions in simple_network/README.md

Notes

This plugin has been tested on real data on a real use case. This use case cannot be made publicly available.

We are currently looking for a use case with data that can be published alongside the code.

Credits

This plugin has been developed by Oslandia ( http://www.oslandia.com ).

Oslandia provides support and assistance for QGIS and associated tools, including this plugin.

This work has been funded by European funds. Thanks to the GIS Office of Apavil, Valcea County (Romania)

License

This work is free software and licenced under the GNU GPL version 2 or any later version. See LICENSE file.

qgis-epanet's People

Contributors

vmora avatar vpicavet avatar

Watchers

 avatar  avatar

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.