Code Monkey home page Code Monkey logo

swmm-epanet_user_interface's Introduction

SWMM-EPANET_User_Interface

EPA Dislaimer

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.

Archive

Please note that this github site is archived as the project is no longer active. You may clone from this github site but you may not push changes or open tickets.

Screenshot example

User interfaces for EPA SWMM and EPANET models implemented with:

  • python: 3.6.0

  • pyqt5: 5.9.0

  • pyqgis3: 3.0.3-Girona

  • doc: documentation

  • src: source code

  • test: automated tests and interactive user interface tests

swmm-epanet_user_interface's People

Contributors

andychase avatar barrc avatar ehsanma86 avatar fdumont7 avatar jlkittle avatar jqortiz avatar mariosmsk avatar markgrayrespec avatar michaeltryby avatar michelleannesimon avatar pauldudarespec avatar paulhummelrespec avatar tongzhai avatar woohn avatar xinyuwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swmm-epanet_user_interface's Issues

INP saved when model is ran

After making changes to the model and clicking the run button the INP file is being saved without any prompt. I think it should be allowed to run the model without saving changes.

Slow results table loading

With a large EPANET model (12K junctions) the results tables loads in about 12 seconds (64 bits, Windows 8.1, 6GB, i7). EPANET 2.12 loads it in an eye-blink.

EPANET_EDIT_MISSING_FEATURES

Four items are not highlighted, inaccessible. These are SELECT REGION, SELECT ALL, EDIT OBJECT and DELETE OBJECT

Undo - feature does not seem to work.

Redo - feature does not seem to work.

Error 437, cannot find output file

I was able to get MTP3r2 to run by running as Administrator. The run seemingly completes but generates the subject error and leaves the user unable to see simulation results. Status report is produced, but so is "Error opening model output- EPANET output error #437". Also, the "Run was successful" prompt is produced.

EPANET Model only runs if there are no spaces in the install path

If installed in a location like "C:\Program Files" with a space somewhere in the path, EPANET reports "File Error 305: cannot open hydraulics file."

Workaround: install in a folder where there is no space in the path.

It may be possible to solve this with a change in Python code or it may require recompiling epanet2_amd64.dll which was compiled by Sandia.

EPANET MTP2 run error

Hi,

I have installed EPANET MTP2 on top of MTP1 (Windows 8.1 64 bits). Installation went fine.
When running Net1.inp I got some errors. First 305 and then 434.
Attached are the INP file (with txt extension) the errors screenshots and the report file for the run.

Thanks!

Net1.inp.txt
Net1_status.txt
error 305
error 434

Consistent use of large and small link and node size when coloring by attributes

If a model contains more than 100 nodes, drawing of nodes and links defaults to a smaller size in the map and names are not drawn. When coloring by attributes or output values, the larger size is always used.
This is an opportunity to discuss whether the smaller size should always be used or what rule to use for switching to a larger size.

EPANET - minor feature requests for the UI

Believe the following will streamline the workflow:

  • when user selects an element (e.g. a tank), and click the graph command, the selected elements are automatically selected within the listbox

Other minor edits:

  • an arrow (instead of the cross sign) might be a better selection icon
  • add context menu after an element was selected. e.g. if a user select a pipe, a context menu may include graph selection, time series plot, etc.
  • support cancel button, i.e. allowing close a window by pressing cancel key
  • allowing deleting element by pressing del key
  • support block edit in Pipe Editor. e.g. allowing user to select diameters to change and pop up a window for new values.

By the way will the UI support reading the binary input file?

Table editor feature requests

  1. The table editors would be easier to use if they were rotated 90 degrees so the field names go horizontally and the records go vertically.
  2. Copy and paste from the tables only works for 1 cell at a time. It would be useful to have copy and paste enabled for multiple cells.

This:
image

Instead of this:
image

EPANET_VIEW_MENU

Map Dimensions - Seems incomplete, upper left coordinates are missing. Features under this item do not seem to work properly.
Query – nothing happens. Shouldn’t the user be given a query box?
Overview – Similarly, nothing happens.
Objects and Legends have SWMM components
Map Options - Nothing happens

EPANET_PROJECT_MENU

Summary – only provides box for title…DELPHI EPANET provided summary of model attributes.
Details – Nothing happens
Simulation options – Nothing happens

EPANET_Proj_Explorer

On the left side of the main panel is the PROJECT EXPLORER. When closed it is not clear on how to re-open.

EPANET_VIEW_BACKDROP

Backdrop – the user can “LOAD” a .bmp backdrop but it is not a backdrop, it is dislocated from the network model. Nothing seems to happen with the "UNLOAD" feature. It is not clear how the user would get rid of the backdrop or change it.

frmMain: qgis.core and qgis.core not found

        **from qgis.core import QgsApplication
        from qgis.gui import QgsMapCanvas**

give unresolved imports.

The error message becomes:
QGIS libraries not found, Not creating map
DLL load failed: The specified procedure could not be found.

I did install QGis in C:\OSGeo4W64 . I tried 3 different versions (2.16, 2.14 and 2.12)

I run Windows and these are my user variables;

 OSGEO4W_ROOT: _C:\OSGeo4W64\_

 PATH : _C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files (x86)\Skype\Phone\;C:\Anaconda2;C:\Anaconda2\Scripts;C:\Anaconda2\Library\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Users\DEVOGELR\Documents\casadi\casadi-py34-np1.9.1-v3.0.1-64bit\casadi;C:\SQLite3;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Enterprise Vault\EVClient\x64;C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis\bin;C:\OSGeo4W64\apps\qgis\bin_

PYTHONHOME: C:\Anaconda2

PYTHONPATH: C:\Anaconda2

QGIS: C:\OSGeo4W64\apps\qgis

QGIS_PREFIX_PATH: C:\OSGeo4W64\apps\qgis

See attached file for my eclipse PYTHONPATH
eclipse

Improvements to SWMM Output API - Large File Support

In follow up to Colleen Barr's OutputAPI contribution for SWMM, I was hitting the file limits with output files greater than ~3gb. I adjusted the offset data types and have posted the modified code in my repo. These changes should let you get past the the ~3gb int offset limit.

bemcdonnell/SWMMOutputAPI/LargeFS-32

Mac build for testing?

A mac binary would be quite helpful. I don't have a win environment and I've tried to get a build env set up on Mac with no success - many dependencies and conflicts. Alternatively, a better description of how a Mac env should be configured?

Climatology dialog

Temperature Tab has updating problems. Updated values not saved, or saved a different value, or not written to file. Details see the SWMM_UI_TestClimatology.txt. (Comments are saved in Parenthesis at this time)

Map does not appear on "clean" copy of Windows

EPANET-UI-MTP3r1, when installed on a fresh virtual machine, is not displaying the map. Since we have seen the map working with this package on other computers, this is probably because the map has a dependency on something that is not in our install package but which is commonly installed by other software, so computers that are in regular use already have what is needed.

The dependency can probably be located by using a dependency checking tool while the application is running and correctly displaying the map and comparing results with when it is running and not displaying the map.

Since this is not a problem so far for early adopters this is not the top priority.

[question] epanet changes and regression testing

I noticed the regression tests in src/Externals and had a question about the scope of this development project. Is this project likely to change the epanet internals and maintain its own version of that toolkit? And is that why there are these regression tests here?

If that is not the case, then using Git Submodules to link to the OWA repository would be a great way to simplify the epanet and epanet-testing code, given that OWA has most of this already and is continuing to improve it. Also, since there aren't really any ideological fights going on here, this kind of bifurcation seems premature ;)

SWMM landuse editor adds ghost buildup property

when defining a new land use, after pollutant(s) are defined, the new landuse is created with a "ghost" buildup property that is associated with the new landuse, but without pollutant association. This manifests itself when saving the project, the ghost entries are in the BUILDUP section.

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.