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

Pipe

I use modelbuilder to import shapefile/ excel data...excel data seem to be very easy to use for my side. 

My weakness is...when i import start and stop point,my line is not connected to junctions, i edit unnecessary lines manually?? Qn is how to connected automatic disconnected line to the nearest junction with corresponding pipe diameter like my extension line???

  • Hi Gadama,

    Some good guidance here:

    https://communities.bentley.com/products/hydraulics___hydrology/w/hydraulics_and_hydrology__wiki/2821/using-modelbuilder-to-import-external-data

    Specifically for your question, I believe this section will be helpful: "Specify Spatial and Connectivity Options".

    Best Regards,

    Rob.

  • To add to Rob's reply, if you are using an Excel spreadsheet to add pipes to your model, you will need columns in your spreadsheet that say specifically what the start and stop nodes are the pipes. If these are not in the spreadsheet, ModelBuillder will not know where to place the ppe.

    Shapefiles, on the other hand, include spatial data for the pipes. The pipe will be placed in the correct location without specifying the start and stop nodes. If there already nodes in the model, the pipe will connect to them automatically if they are within a given tolerance or will add junctions to the ends of the pipes if there are no nodes present. The link Rob provided goes into details on this as well.

    Regards,

    Scott

  • Answer i was faiting for??? What's easy way to import data via model builder?? Whow longer will it take to prepare data shapefile and importing via modelbuilder.

    Can can i get tutorials or elaboration on preparing X,Y & Z to shapefile connected to form lines....means point to line data??
  • Hello Gadama,

    The ModelBuilder wiki includes all of the steps to import source file data into ModelBuilder. You can also find information in the Help documentation. 

    As for creating a shapefile, that is outside of the scope of this forum, but you can likely find information with an Internet search. This link from ESRI may be a good start. If you don't have access to GIS or some CAD program to create a file type like a shapefile or DXF file, you can still use the spreadsheet. You would simply need to define the coordinates for the nodes in your model and define the start and stop nodes for your pipes. 

    Regards,

    Scott

  • If your model is not huge,you can manually build it in WaterGEMS/SewerGEMS. If you have a background map, you can use it in  the background so that the model is to scale. If you don't have a scaled background, you can just draw a schematic and enter lengths manually. In the early days of modeling, this is how all models were built.