I'm using a year old version of Mohid, so the bug I'm reporting might have been solved already. If not, I think that it's an interesting bug to report.
In two words, I work on very small watershed (a few ha), so I find it more convenient to make my model without using the tools provided by Mohid Studio. In my current project, I wanted to generate a drainage network of a peatland (20 parallel drains every 24 meters that are collected by a larger ditch).
My first attempt to build a drainage network was to generate 20 "rivers" first, then to generate a 21th to collect them all. Doing so, all nodes and reaches are unique and Mohid Studio has no problem plotting it. However, MohidRiver does not read the drainage network properly. The upstream node of each drain is shifted by one with respect to the previous drain.
I solved the problem by generating the main ditch simultaneously with the drains (ex: generate one drain, then the main ditch until the next drain). Therefore, I strongly suspect that the ID and the sequential number of the reaches are mixed up at least somewhere in MohidLand or MohidRiver.
I can provide the two conceptually identical versions of the drainage network for debugging, if wished.
Information about Programming in the MOHID Framework
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest