epanet-dev
epanet-dev copied to clipboard
fix several quality source issues
fix several quality source issues:
- the junction and tank's source quality has not been initialized
- for MASS Booster quality source type, converting mass flow rate from min. to sec. uses strength *= 60.0, which should be strength /= 60.0
- 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
- no source contribution if no flow out of node, but for inflow junction, the source contribution should be the source quality
- the inflow junction's constituent concentration has not been updated if the junction has Quality Source in LTDSolver::updateNodeQuality method