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

WaterGems Model Builder Importing Shape Files into a child scenario, but pipes are changing in the current scenario

WaterGEMS V8i (SELECT series 6) 08.11.06.113 64-bit

When I Import a pipe shape file with Model Builder it is changing the pipes in my current scenario.  The active scenario  is set as the Base scenario with associated alternatives for Base Active Topology and Base Physical, etc.  The Model Builder is importing a child scenario and creating the associated alternatives for topology and physical as I specified; however,  it is also changing some pipes in the current scenario as well.  What am I missing?  I've synchronized the database before starting.

Model Builder settings:

x  Create nodes if none found at pipe endpoint

x Establish connectivity using spatial data I've tried (1 ft, 5, 10, 11, 15, 20, 25,  ft) --- regardless, it shouldn't change my base scenario (?)

x Add objects to destination if present in source

x Update existing objects in destination if present in source

x create referenced object automatically

New Child Scenario

Key Field:  GIS-ID

x if several elements share the same GIS-ID, then apply updates to all

x When removing objects from destination if missing from source only remove objects that have a GIS-ID

Table Type:  Pipe

Key Fields "FacilityID"        "GIS-ID"

all fields needed are linked to a property

xCreate a selection -set with elements added

xCreate a selection-set with elements modified

xOnly show a subset of messages when synchronizing

  • Hello Paula,

     

    Please note that elements are common between all the scenarios, unless you are making some inactive in any particular scenario.

    Meaning elements added in one scenario, will be present in another scenario as well.

     

    When you are adding pipes in the model, it will not update the existing pipes, unless they are having same co-ordinates.

    So when you say, it is changing pipes in the base scenario, in that case the pipes you are importing through shapefiles might have the same spatial information as the pipes in the model.

    Did you apply that pipe shapefile as the background layer, to check the location of the new pipes, or to see if they are overwriting the existing pipes?

    Did you try to look at the whole model by doing zoom extents, after adding the pipes through Modelbuilder?

     

    For testing, I added a pipe shapefile in the existing model, it didn’t update the pipes in the existing model, but the added pipes were there in all the scenarios.

    Here is the technote about updating model with Modelbuilder, for your reference. 

    http://communities.bentley.com/Products/Hydraulics___Hydrology/w/Hydraulics_and_Hydrology__Wiki/updating-a-model-using-model-builder 

    If you want you can upload your model file and the shapefile, for our testing. 

    There are two options for sharing your model on Communities, whichever you choose please be sure to zip your files first. The first option is to attach the zip file containing your model to your reply on the forum using the Advanced Reply Editor (you'll find the link below and to the right of the reply box). If your data is confidential please use the instructions in the link below to send it via Bentley Sharefile. Files uploaded to Sharefile can only be viewed by Bentley employees. Please be sure to reply on this thread with the name of the file after it has been uploaded.

    http://communities.bentley.com/help/w/be_communities_help/7079.be-communities-secure-file-upload 

    If you upload the files to Sharefile, please post here with the name of the files so that we know they are available.

    Regards,

    Sushma Choure

    Bentley Technical Suppport

  • I uploaded private files: PoggemeyerDesignGroupPAULA.zip
  • Hello Paula,

    The shapefile of pipes that you are importing into the existing model, contains the pipes that are already present in the model, which means that you are updating the model with more information and pipes. 

    Below is the picture of the shapefile of pipes which i applied in the background and the model , which shows that the pipes in the shepefiles are already present in the model, so when you are importing them, it is modifying the existing model pipes as well. 

    To see the elements added in the model, please change the scenario to newly created by Modelbuilder. After adding the shapefile through Modelbuiler, model gets updated with the new pipes along with the existing pipes. 

    Regards,

    Sushma Choure

    Bentley Technical Suppport

  • It is definitely not how I was hoping model builder would work.  I thought by importing the shape file to a child scenario with child alternatives for active topology and physical, I would be able to maintain the base scenario and modify the child alternatives for active topology and physical as needed.  I definitely do not want the base scenario pipes changed.  The fact that it is modifying the base data is a huge issue.
     
    If you have questions or need additional information, please do not hesitate to contact me.
     
    Paula
     
     
     
    CONFIDENTIALITY STATEMENT: This message (including any attachments) may contain confidential information intended only for the use of the individual or entity to whom it is addressed.  If you are not the addressee or the employee or agent responsible to deliver this e-mail to its intended recipient, you are hereby notified that any review, use, dissemination, distribution, disclosure, copying, or taking of any action in reliance on the contents of this information is strictly prohibited.
     
  • Hello Paula,

    I did some testing with your model, what happens is there are initially 18269 pipes in the model, after adding the pipes shapefiles the number of pipes become 35869, meaning the pipes are added in all the scenarios, not replaced with the existing ones. If you take a closer look at the model, after the Modelbuilder run, you will find two parallel pipes, not a single one. Please display inactive topology option for this through Tools>Options and give specific color to differentiate.

    However, when you create a new child scenario through Modelbuilder, the newly added pipes become inactive in all old scenarios and active only in child scenario created by Modelbuilder.

    But in the new child scenario, all the pipes including old and newly created pipes are active, please note that Modelbuilder only creates the child active topology alternative not the physical topology alternative.

    So what can be done is, before adding the pipes through Modelbuilder, create a selection set of old pipes and then import the pipes through Modelbuilder.

    When you have imported the additional pipes, please make the old pipes inactive in the new child scenario by selecting the old pipes selection set and make a group edit to make them inactive. Also new selection set of elements added via Modelbuilder is created, which is a good way to differentiate the existing and newly added pipes.

    Please let us know, if this workaround is suitable for you.

    Regards,

    Sushma Choure

    Bentley Technical Suppport