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

Profiles in HAMMER

Hello,

Is there an easy way to duplicate a profile and then edit (add/remove elements)?  I have eight different profiles for a transient simulation that I am looking at.  For the proposed mitigation strategies, I created new pipes in parallel (made active) and inactivated the old pipes to evaluate the system response.  Both pipes are linked to the same start and stop nodes.  However, it doesn't seem like there is an easy way to create a duplicate of my existing profiles to include the new pipes and remove the old pipes.  Do I need to manually select the profile elements again?  There are over 800 elements with various paths.  

  • Existing profile
    • Tank 1 -> pipe 1a -> junction 1
  • Proposed profile How do I create this from the existing profile, instead of manually selecting individual elements?  
    • Tank 1 -> pipe 1b -> junction 1 

Regards,

Youssef 

  • I should point out that for the purpose of the analysis, we needed to split the new pipe to add several new intermediate junctions, which we do not want in the existing profile.  That is why I approached this by creating a totally new pipe element with intermediate junctions versus simply creating a new physical alternative and editing.  I hope someone can clarify my misunderstanding.  

  • Hi Youssef,

    I am not certain I understand your situation but I will attempt to explain some options.

    Generally speaking - you would indeed need to select the elements again in this case in order to create the new profile, so that you can place a waypoint on the new path (during" select from drawing") to direct the profile to go through the other element. You can see examples of this in some of the sample models included with HAMMER (in the "Samples" subfolder within the installation folder). For example, in the "Air_Valve_Example" model, compare the "no protection" scenario to the other scenarios. In the "no protection" scenario, the profile named "Profile - Without Air Valve" includes waypoints that direct it through pipes P-3 and P-4 (and a junction), whereas in the other scenarios use a profile called "Profile - With Air Valve" which has waypoints that go through a path that includes pipes P-3-AV and P-4-AV (and an air valve). The scenarios use different Active Topology alternatives in order to turn each of the paths on or off depending on the scenario, to be able to compare results. 

    If you're trying to compare single barrel pipeline vs. double-barrel pipeline (one pipeline in series vs. two parallel pipelines), you could consider using a different physical alternative with pipe diameters increased to be hydraulically equivalent to the two pipes together, but this may skew the transient results as the transient response may be different in an actual two-barrel situation vs. one barrel.

    If the two-barrel situation is simply two separate, unconnected linear paths, then you can create a new profile easily by using the "select from drawing" option and then simply selecting the start and stop nodes as the path will be drawn between them:

    However, your post seems to suggest that you might be re-using the junctions so that each parallel pipe connects to the same start and stop node, which seems odd to me. This would simulate a common chamber at the endpoint of each pipe segment - what do you actually need to model? (what does this/will this look like in the real system?)

    If you really do have a situation like above, then if you can use some criteria (such as labeling?) to filter only the new pipes, (and assuming the lengths are already equal) you could apply the query, filter the pipe table on selection, globally subtract a small length from just those pipes. (change to user defined length first and copy/paste the scaled length values if needed). Then when selecting waypoints on either side of the pipeline, a new profile should be created through the new path since it will be the shortest. You can then globally add the same length back to the pipes.


    Regards,

    Jesse Dringoli
    Technical Support Manager, OpenFlows
    Bentley Communities Site Administrator
    Bentley Systems, Inc.

  • Hi Jesse,

    This is great, thank you so much for clarifying.  You pretty much covered what I was trying to do in the first section, I ended up doing it manually but I will explore the filtering method you detailed in the last paragraph.  For visualization, below is the existing profile (cyan).  I was looking to add a new pipe segment (with three new nodes) between points A and B shown in red below.  The existing pipe between A and B is relatively long and is steep.  The intent of the new pipe was to have three additional intermediate nodes for air valves, however, I did not want so split the existing pipe.  I am sure there are better ways of approaching this and I would be happy to hear your thoughts.  

  • Hello Youssef, 

    Do you mean that you want to have parallel pipes between points A & B so that you do not wish to split existing pipe between A & B? So you could analyze the scenarios for two different situations? One with air valve with new parallel pipes (3 junctions) between A & B where you could place air valve and other scenario without air valve with existing pipe between A & B using active topology alternative? 

    If yes it could look something like this below with no splitting of existing pipe. 

    If this is not what you are looking for then please elaborate your query. 

    Regards,

    Sushma Choure

    Bentley Technical Suppport

  • Hello Sushma,

    Yes, that is exactly what I wanted to do.  But I wanted to know if there was an easy way to duplicate the existing cyan profile while going through the newly create segment between A/B (the one with three new junctions).  It seems that I would need to manually select the profile?