Skip to content

Commit

Permalink
Fix demo and add presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
priscavdsluis committed Oct 29, 2024
1 parent 1cb0748 commit da9c91c
Show file tree
Hide file tree
Showing 20 changed files with 1,261 additions and 22 deletions.
14 changes: 1 addition & 13 deletions docs/tutorials/dsd_2024/demo/data/crsloc.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,85 +10,73 @@
chainage = 403.089709
shift = 0.0
definitionId = 99
locationtype = 1d

[CrossSection]
id = 63
branchId = 162
chainage = 433.705849
shift = -2.0
definitionId = 10
locationtype = 1d

[CrossSection]
id = 635
branchId = 164
chainage = 273.32385
shift = 0.0
definitionId = 635
locationtype = 1d

[CrossSection]
id = 1184
branchId = 348
chainage = 17.432118
shift = -10.0
definitionId = 386
locationtype = 1d

[CrossSection]
id = 1278
branchId = 379
chainage = 6.413364
shift = -10.0
definitionId = 386
locationtype = 1d

[CrossSection]
id = DV_1477
branchId = 454
chainage = 5.498916
shift = 0.0
definitionId = DV_1477
locationtype = 1d

[CrossSection]
id = DV_Weddermeden_01
branchId = 455
chainage = 328.261959
shift = -2.0
definitionId = 10
locationtype = 1d

[CrossSection]
id = DV_1475
branchId = 456
chainage = 104.239797
shift = 0.0
definitionId = 552
locationtype = 1d

[CrossSection]
id = DV_1473
branchId = 457
chainage = 150.007593
shift = 0.0
definitionId = 552
locationtype = 1d

[CrossSection]
id = DV_1474
branchId = 458
chainage = 178.568704
shift = 0.0
definitionId = 552
locationtype = 1d

[CrossSection]
id = DV_8_217
branchId = 459
chainage = 135.09168
shift = 0.0
definitionId = 552
locationtype = 1d

definitionId = 552
4 changes: 2 additions & 2 deletions docs/tutorials/dsd_2024/demo/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": ".venv",
"language": "python",
"name": "python3"
},
Expand All @@ -302,7 +302,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
78 changes: 78 additions & 0 deletions docs/tutorials/dsd_2024/demo/export/save_crossdef/crsdef.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# written by HYDROLIB-core 0.8.0

[General]
fileVersion = 3.00
fileType = crossDef

[Definition]
id = 99
type = zwRiver
thalweg = 0.0
numLevels = 2
levels = -1.5 -0.3
flowWidths = 9.0 19.8
totalWidths = 9.0 19.8
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 10
type = zwRiver
thalweg = 0.0
numLevels = 5
levels = 0.0 1.25 2.1 2.11 3.51
flowWidths = 9.0 19.0 22.4 25.4 31.0
totalWidths = 9.0 19.0 22.4 25.4 31.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 635
type = zwRiver
thalweg = 0.0
numLevels = 2
levels = -5.0 5.0
flowWidths = 0.001 0.001
totalWidths = 0.001 0.001
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 386
type = zwRiver
thalweg = 0.0
numLevels = 2
levels = 0.0 10.0
flowWidths = 10.0 10.0
totalWidths = 10.0 10.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = DV_1477
type = zwRiver
thalweg = 0.0
numLevels = 3
levels = -1.75 1.0 18.0
flowWidths = 10.0 10.0 10.0
totalWidths = 10.0 10.0 10.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 552
type = zwRiver
thalweg = 0.0
numLevels = 3
levels = -1.0 1.0 18.0
flowWidths = 1.0 1.0 1.0
totalWidths = 1.0 1.0 1.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

404 changes: 404 additions & 0 deletions docs/tutorials/dsd_2024/demo/export/save_model/FlowFM.mdu

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions docs/tutorials/dsd_2024/demo/export/save_model/FlowFM_bnd.ext
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# written by HYDROLIB-core 0.8.0

[General]
fileVersion = 2.00
fileType = extForce

[Lateral]
id = 10
name = Stuw Wedde R5 A=4249 ha
locationType = 1d
nodeId = 10
discharge = FlowFM_lateral_sources.bc

[Lateral]
id = 632
name = De Poale A=424 ha
locationType = 1d
nodeId = 632
discharge = FlowFM_lateral_sources.bc

[Lateral]
id = 1183
locationType = 1d
nodeId = 1183
discharge = realtime

[Lateral]
id = 1277
locationType = 1d
nodeId = 1277
discharge = realtime

[Lateral]
id = DV_360
locationType = 1d
nodeId = DV_360
discharge = FlowFM_lateral_sources.bc

[Lateral]
id = DV_1454
locationType = 1d
nodeId = DV_1454
discharge = FlowFM_lateral_sources.bc

[Lateral]
id = DV_1455
locationType = 1d
nodeId = DV_1455
discharge = FlowFM_lateral_sources.bc

Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# written by HYDROLIB-core 0.8.0

[General]
fileVersion = 1.01
fileType = boundConds

[Forcing]
name = 10
function = constant
offset = 0.0
factor = 1.0
quantity = lateral_discharge
unit = m³/s
0.0

[Forcing]
name = 632
function = constant
offset = 0.0
factor = 1.0
quantity = lateral_discharge
unit = m³/s
0.0

[Forcing]
name = DV_360
function = constant
offset = 0.0
factor = 1.0
quantity = lateral_discharge
unit = m³/s
0.0

[Forcing]
name = DV_1454
function = constant
offset = 0.0
factor = 1.0
quantity = lateral_discharge
unit = m³/s
0.0

[Forcing]
name = DV_1455
function = constant
offset = 0.0
factor = 1.0
quantity = lateral_discharge
unit = m³/s
0.0

Binary file not shown.
78 changes: 78 additions & 0 deletions docs/tutorials/dsd_2024/demo/export/save_model/crsdef.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# written by HYDROLIB-core 0.8.0

[General]
fileVersion = 3.00
fileType = crossDef

[Definition]
id = 99
type = zwRiver
thalweg = 0.0
numLevels = 2
levels = -1.5 -0.3
flowWidths = 9.0 19.8
totalWidths = 9.0 19.8
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 10
type = zwRiver
thalweg = 0.0
numLevels = 5
levels = 0.0 1.25 2.1 2.11 3.51
flowWidths = 9.0 19.0 22.4 25.4 31.0
totalWidths = 9.0 19.0 22.4 25.4 31.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 635
type = zwRiver
thalweg = 0.0
numLevels = 2
levels = -5.0 5.0
flowWidths = 0.001 0.001
totalWidths = 0.001 0.001
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 386
type = zwRiver
thalweg = 0.0
numLevels = 2
levels = 0.0 10.0
flowWidths = 10.0 10.0
totalWidths = 10.0 10.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = DV_1477
type = zwRiver
thalweg = 0.0
numLevels = 3
levels = -1.75 1.0 18.0
flowWidths = 10.0 10.0 10.0
totalWidths = 10.0 10.0 10.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

[Definition]
id = 552
type = zwRiver
thalweg = 0.0
numLevels = 3
levels = -1.0 1.0 18.0
flowWidths = 1.0 1.0 1.0
totalWidths = 1.0 1.0 1.0
leveeBaseLevel = 0.0
leveeFlowArea = 0.0
frictionIds = Channels;Channels;Channels

Loading

0 comments on commit da9c91c

Please sign in to comment.