Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with gateLowerEdgeLevels of orifices (onderspuier) in D-HyDAMO #129

Open
rhutten opened this issue Nov 24, 2022 · 0 comments
Open
Assignees

Comments

@rhutten
Copy link
Collaborator

rhutten commented Nov 24, 2022

Problem
The gateLowerEdgeLevel of an orifice is the position of the gate door's lower edge [m AD]. This is an absolute value in D-Flow FM.

However, the gateLowerEdgeLevels of orifices resulting from the D-HyDAMO converter is a relative value with respect to the crestLevel (laagstedoorstroomhoogte). This results from the 'hoogteopening' [m] being assigned as gateLowerEdgeLevel. More information about the D-HyDAMO onderspuier (orifice) can be found here.

The code below shows how the hoogteopening is assigned as gateLowerEdgeLevel:

  1. weirs function in hydrolib/dhydamo/io/fmconverter.py:
    image

Proposed solution

Adjust line 593 in weirs function in hydrolib/dhydamo/io/fmconverter.py to
gateloweredgelevel = weir_opening.laagstedoorstroomhoogte.values[0] + weir_mandev.hoogteopening.values[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants