-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from iggroup/QgepSwmmPhase3Enhancements
Qgep swmm phase3 enhancements
- Loading branch information
Showing
20 changed files
with
916 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
.. _Change-Default-Export-Parameters: | ||
|
||
Change default export parameters | ||
-------------------------------- | ||
As mentionned earlier, most of the simulation parameters are copied from the template ``.inp`` file. | ||
|
||
Remaining default parameters are currently hard coded in the views within the database ``qgep_swmm`` schema. | ||
The defaults parameters can be edited directly in the view (with PgAdmin). | ||
|
||
.. note:: | ||
|
||
The default parameters modified in the views and modified views in general will be overwritten during a datamodel update. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.. _Coefficient-Of-Friction: | ||
|
||
Coefficient of friction | ||
----------------------- | ||
|
||
- The plugin will export the roughness according to these priorities: | ||
|
||
- If ``reach.coefficient_of_friction`` is set then it is converted (``1/coefficient_of_friction``) and exported to SWMM | ||
- Else if ``reach.wall_roughness`` and ``reach.clear_height`` are set, it is converted (``(1/(4 * SQRT(9.81)*POWER((32/re.clear_height/1000),(1/6))*LOG(((3.71*re.clear_height/1000)/(re.wall_roughness/1000)))))``) and exported. | ||
- Else if ``reach.swmm_default_coefficient_of_friction`` is set then it is used | ||
- Else a default value of ``0.01`` is set | ||
- See ``vw_swmm_conduites.sql`` for details | ||
|
||
|
||
|
||
.. note:: | ||
The formula to convert from Strickler to Coolebrook is documented in *ATV-DVWK STANDARD ATV-DVWK-A 110E, Hydraulic Dimensioning and Performance Verification of Sewers and Drains September 2001* | ||
`Link <https://pdfslide.net/documents/atv-dvwk-a-110-e-55846635d4eef.html>`__ | ||
|
||
|
||
Populate default coefficient of friction | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
The table ``qgep_swmm.reach_coefficient_of_friction`` contains default coefficient of Strickler for the reach materials. | ||
The file ``../project/qml/reach_coefficient_of_friction.qml`` is the layer definition, that you can import in your QGIS project. | ||
If the default values don't match your needs you can edit them. | ||
The function ``SWMM Set default coefficient of friction`` will put in ``qgep_od.reach.swmm_default_coefficient_of_friction`` these default values. | ||
You can choose if you want to overwrite or not the values existing in this attribute. | ||
|
||
Launch ``SWMM Set default coefficient of friction``: | ||
|
||
- ``Overwrite existing default values``: If checked the values stored in ``swmm_default_coefficient_of_friction`` will be overwrited with new values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
.. _Generate-SWMM-File: | ||
|
||
Generate SWMM File | ||
================== | ||
|
||
.. include:: Create-Input.rst | ||
|
||
.. include:: Change-Default-Export-Parameters.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.