People-Places-Solutions / floodmodeller-api

The Flood Modeller Python API is a free and open-source python package which provides a bridge between Flood Modeller and the python programming language to extend the capabilities of Flood Modeller in automated workflows
https://api.floodmodeller.com/api/
Other
38 stars 15 forks source link

Support Junction and Lateral units #134

Open joe-pierce opened 1 month ago

joe-pierce commented 1 month ago

Add support for Junction and Lateral units. They can be under a new 'connectors' type. The unit classes themselves would likely be very simple, but it would be good for them to be useful in how they connect different units - i.e. from a Junction instance you should be able to readily access nodes they connect if they're available in a DAT file.

Would need to understand better how they are interacted with through the .next() and .prev() DAT methods as they already have some support for Junctions