This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Thiessen Polygon - Flow assigned to each node

Hello,

I am taking my first steps with QGIS and the 'Thiessen Polygon" tool from WaterCAD. The thing is that the surfaces assigned to each node, using this areal distribution tool, do not seem to be correctly generated and I wish someone could tell me the reason.

I...

- Created the topology and the influence area in AutoCAD.

- Loaded the first one in WaterCAD using ModelBuilder.

- Turned the other into a shape file using QGIS.

- Imported the QGIS file in WaterCAD and applied the Thiessen Polygon tool.

- Imported the segmented areas in QGIS and sized them.

- Created an attribute called 'Q' and assigned proportionally demands to each area in QGIS.

- Used LoadBuilder and ran the model.

Thanks in advance

Parents Reply
  • Hello,

    Thanks for answering. I respond in order:

    1) Yes, I specified a boundary polygon layer (not buffering percentage. By the way, what is it for?). That is what I mencioned as "influence area".

    2) Sure. I uploaded them in a ZIP file as "RED DE AGUA POTABLE".

    3) When I clicked on Thiessen Polygon tool, I selected 'Junction/All Elements' because I wanted to consider all of them.

    Thanks again

    Answer Verified By: Brian Estrin 

Children
  • Hello Brian,

    Did you adjust the Thiessen Polygon shapefile before applying it in LoadBuilder? Your Thiessen Polygon file appears different compared to what I see when I generate a new one.

    That said, when using the Thiessen Polygon and the loading shapefile in LoadBuilder, the demand data is updated. Are you running into an issue when you are using it?

    Regards

    Scott

  • Hello Scott,

    Thanks for answering. The Thiessen Polygons shown in QGIS (shape file), display the same subdivision that I see on my WaterCAD model. In fact, the polygons where made with the WaterCAD tool. I attach screenshots below.

    Shape before generating Thiessen Polygons with WaterCAD

    Shape after generating Thiessen Polygons with WaterCAD.

    Could you explain me the mistake I am making, please? Or tell me how I should proceed to reach my goal (assign demands to each node in terms of areas)?

    Thanks

  • Hello Brian,

    Try the following to see if it helps. First, create a new Thiessen polygon file in WaterCAD. Don't worry about opening it in QGIS. That step is not necessary. The Thiessen polygon does not need to include the demand data. It is only used to define the area around the nodes.

    After creating the Thiessen polygon, open LoadBuilder. You can create a Proportional Distribution by Area connection or edit the existing one. For the Service Area Layer, select the new Thiessen polygon. For the Flow Boundary Layer, select the shapefile that contains the loading data. Click Next until you finish all of the steps.

    I will note that there is already demand data in the model. Was this created using LoadBuilder and your original data? If so, what is the issue that you are seeing? The steps above or the method using your original data appears to be adding demand data to the nodes in the model.

    Regards,

    Scott

  • Hello Scott,

    Thank you again. I will try to follow your recommendations during these days.

    To introduce the demand, I:

    - Opened the Thiessen polygon file, previouslly obtained with WaterCAD, in QGIS.

    - Opened the 'attributes table' and generated the Areas column (which showed the area of each polygon in rows).

    - Estimated on my own the total Flow needed (all the water needed inside the boundary layer to satisfy the demand)

    - Created a new column called DEMANDAS_Q (demands) with this formula " [Total Flow] * [Polygon Area] / Σ [Polygon Area] "

    - Saved the shape file with these new attributes

    - Opened it with Load Builder in WaterCAD.

    After that, each node had it's own demand charged.

    Regards

  • Hello Scott,

    I did what you suggested, but there are still problems with the Thiessen polygons which WaterCAD generates. Based on the shapes generated after using the tool, it seems not to recognise some nodes and do not link any area (neither demand) to them.

      

    I realized that the problem (Demand = 0 l/s) occurs in nodes that are located on the limit of the boundary polygon. Is it possible that WaterCAD does not recognize those nodes for being exactly at the limit? I cannot find other explanation.

    I uploaded the new files as WATER NETWORK (.zip)

    Thanks