Calculation of flow-rate for domestic sewer

The app returns infos about water demand and sewage flow-rate
Peak coefficient
Minimum demand coefficient
Year average flow-rate
Maximum hourly flow-rate

        
Number of users for sewerP(  )  
Dispersion coefficiente(  )
  
Peak coefficientCp(  )  
      
Minimum demand coefficientCm(  )  
      
   MinMaxMed
Year average water demandd[l / (ab.d)]
Year average flow-rateQ0(l/sec)
      
Maximum hourly flow-rateQm(l/sec)