Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -r39b5287d113697ddf9b1624a42aa1f30dabe11a4 -r323df1eba09cd27a00a56e5e38b1fffcbff3b170 --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 39b5287d113697ddf9b1624a42aa1f30dabe11a4) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 323df1eba09cd27a00a56e5e38b1fffcbff3b170) @@ -810,17 +810,20 @@ ( ( DIAL_IN_FLOW_QHIGHTRANSITION - QdTarget ) / ( DIAL_IN_FLOW_QHIGHTRANSITION - DIAL_IN_FLOW_QLOWTRANSITION ) ) * filteredDialInFlowMeterReading; } else - { // use calculated flow rate. Assume target flow rate has already checked for out of bounds on low end. - estimatedFlow = calculatedFlow; + { + if ( QdTarget > DIAL_IN_FLOW_QHIGHTRANSITION) + { + estimatedFlow = filteredDialInFlowMeterReading; // Use flow sensor + } + else + { + estimatedFlow = calculatedFlow; // use calculated flow rate. + } } } // Check the measured flow against estimated flow - / deltaFlow = 0.5 * estimatedFlow; // 50% estimated flow - //if ( deltaFlow < fabs( estimatedFlow - filteredDialInFlowMeterReading ) ) - //{ - // SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_DIAL_IN_FLOW_CHECK_FAILURE, filteredDialInFlowMeterReading, estimatedFlow ); - //} if ( TRUE == isDialInPumpRunning() ) { if ( ( TRUE == isPersistentAlarmTriggered( ALARM_ID_HD_DIAL_IN_FLOW_CHECK_FAILURE, deltaFlow < fabs( estimatedFlow - filteredDialInFlowMeterReading ) ) ) ) // DN-31OCT2022