Skip to content

rewu1993/pipe-network

 
 

Repository files navigation

Pipe network

CB-Cities

License Developer docs User docs CircleCI codecov Project management

Install dependencies

Prerequisite packages

The following prerequisite packages can be found in the docker image:

Compile and Run

See https://pipe-network-doc.cb-cities.com/ for more detailed instructions.

  1. Run mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release /path/to/CMakeLists.txt.

  2. Run make clean && make -jN (where N is the number of cores).

Run tests

  1. Run ./pipe-network-test -s (for a verbose output) or ctest -VV.

Run hydraulic simulation

Run ./pipe-network with the following flags

-f , --file .inp file path for the WDN system

-t , --to folder to save the simulation results

-d, --debug debug mode: output intermediate results (residuals)

-n , --name Name for the WDN

-h, --help Displays usage information and exits.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 57.5%
  • CMake 36.6%
  • Python 5.4%
  • Shell 0.5%