epanet-dev icon indicating copy to clipboard operation
epanet-dev copied to clipboard

fix several quality source issues

Open WaterDesk opened this issue 1 year ago • 0 comments

fix several quality source issues:

  1. the junction and tank's source quality has not been initialized
  2. for MASS Booster quality source type, converting mass flow rate from min. to sec. uses strength *= 60.0, which should be strength /= 60.0
  3. in QualSource::getQuality method, to determine if there is no flow out of node, now it uses "==0.0", which should use ZERO_FLOW as instead
  4. no source contribution if no flow out of node, but for inflow junction, the source contribution should be the source quality
  5. the inflow junction's constituent concentration has not been updated if the junction has Quality Source in LTDSolver::updateNodeQuality method

WaterDesk avatar Oct 08 '23 00:10 WaterDesk