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

Reading Transient Results Viewer From WO.NET

Hello,

As part of a research I'm developing right now, I need to obtain from HAMMER the Pressure Series in all nodes of a network under a valve closure scenario. This results are available in HAMMER in the Transient Results Viewer but I'm not really sure how to access this from WO.NET. I have the reference "Haestad.HAMMER.TransientResultsViewer" installed but I'm not really sure how to use it.

I hope someone has worked with this before or know how to help me with some guidance. Thanks in advance.

  • Jessica,

    Let me find little more on this fist. The result information that you are looking for, is that visible in the property grid or do you have to have the Transient Result Viewer open in HAMMER software?

    Thanks,

    Akshaya



  • Akshaya,

    I need to enter to the Transient Result Viewer in the tab "Time Histories" and get the time history of a pipe (with Graph Type: Pressure). Then in the tab "data" I got to the results that I need.

    Thanks,

    Jessica

  • Jessica,

    Can you elaborate on what you need to get from the transient time history? If you look at the properties of an element, under the "Results (Transient)" section, you'll see some statistical results such as the max and min pressure. If that's all you need, it might be easier (on the coding side) to extract those results from there. It would help us to understand your use case and what you ultimately need to get from your Waterobjects tool.


    Regards,

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

  • Hello Jesse,

    I need to get from the transient time history the pressure series during the transient event (not only the statistics of maximum and minimum pressure during the event) from all the pipes in a model. I also need the flow series (during the transient event) for the pipe with a valve installed.

    From WO.NET tool I essentially need three things:

    1) Change the Operational Rule of a valve

    2) Execute Transient Hydraulic

    3) Get the pressure series (in pipes) and flow series (in the valve closed)

    I need to execute these three steps repeatedly because this is linked to an optimization model. Right now I'm working on the step 2 with Akshaya.

    Thanks in advance for your help, have a good day.

    Jessica.

  • Thanks for the details. If you don't mind sharing, what is the reason for needing the entire time series? Does it need to be presented visually in graph form? It would help to understand the end-goal engineering problem that this tool is intended to solve.

    In the meantime, we'll look into how Waterobjects.NET might be used to extract the transient result time series. These are stored in a different output file than the other results.

    Note that you can set up multiple scenarios in HAMMER with different operational rules and graph the time series transient results together on the same axis. In the time series tab of the Transient Results Viewer, click the ellipsis button next to "additional scenarios" to select the scenarios to graph.


    Regards,

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