Within the D-Hydro model a location exist with two (parallel) pump structures. When including both pumps (pump stages) as a split location I ran into a problem when generating the ribasim lumping network (network.generate_ribasim_lumping_network). The error occurs in generate_ribasim_network l. 53: Length of values does not match length of index.
I think the error originates from l. 34. Where the number of split edges and number of split_nodes_edges starts to deviate. Probably because both pumps point to the same edge number.
When excluding one of the pumps, the script works.
Within the D-Hydro model a location exist with two (parallel) pump structures. When including both pumps (pump stages) as a split location I ran into a problem when generating the ribasim lumping network (network.generate_ribasim_lumping_network). The error occurs in generate_ribasim_network l. 53: Length of values does not match length of index.
I think the error originates from l. 34. Where the number of split edges and number of split_nodes_edges starts to deviate. Probably because both pumps point to the same edge number.
When excluding one of the pumps, the script works.