mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Basic: Add CheckValve hydraulic structure and VAR export.
This commit is contained in:
1 parent
793289dd80
commit
7fd6e4469b
2 files changed
+52
-8
No files matched your search
@@ -205,11 +205,13 @@ class CheckValve(BasicHS):
|
||||
|
||||
self._type = "CV"
|
||||
self._data = [
|
||||
BHSValue("parameter_1", float, 0.0, status=status),
|
||||
BHSValue("parameter_2", float, 0.0, status=status),
|
||||
BHSValue("parameter_3", float, 0.0, status=status),
|
||||
BHSValue("parameter_4", float, 0.0, status=status),
|
||||
BHSValue("parameter_5", float, 0.0, status=status),
|
||||
BHSValue("width", float, 0.0, status=status),
|
||||
BHSValue("elevation", float, 0.0, status=status),
|
||||
BHSValue("loading_elevation", float, 9999.999,
|
||||
status=status),
|
||||
BHSValue("discharge_coefficient", float, 0.4, status=status),
|
||||
BHSValue("maximal_loading_elevation", float, 9999.999,
|
||||
status=status),
|
||||
]
|
||||
|
||||
|
||||
@@ -242,6 +244,6 @@ BHS_types = {
|
||||
"V1": RectangularGate,
|
||||
"V2": SimplifiedRectangularGate,
|
||||
"BO": Borda,
|
||||
# "VC": CheckValve,
|
||||
"CV": CheckValve,
|
||||
"UD": UserDefined
|
||||
}
|
||||
Reference in new issue
Block a user