Skip to content

Actual demand is not adjusted when emitter is added to node #80

@jpesantezsarmiento

Description

@jpesantezsarmiento

I am testing the "Net1.inp" file by adding an emitter coefficient of 1.0 to node '23'. The pressure before and after the additional demand changes. However, the total actual nodal demand remains the same. I wanted to ask if you are aware of this limitation or is a pending issue.

To Reproduce
Steps to reproduce the behavior:
Read the input file with epanet('Net1.inp')
Run the original network hydraulics and sample node '23' demand
Set the emitter coefficient to a value (e.g., 1) with d.setNodeEmitterCoeff(node_index, emit_coefficient)
Run the network hydraulics with d.getComputedHydraulicTimeSeries()
Sample the new network hydraulics and sample again node '23' demand. Notice that '23' is the node ID, not the index

Expected behavior
There should be a discrepancy between the two demand curves, as shown by the pressure values. However, they look the same.

Screenshots
Pressure
Image
Demand
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions