code: def _length_cdc_tube_array(FlowPlant, ConcDoseMax, ConcStock,
                             DiamTubeAvail, HeadlossCDC, temp, en_chem, KMinor):
      
  
      Flow = _flow_cdc_tube(FlowPlant, ConcDoseMax, ConcStock, DiamTubeAvail, HeadlossCDC,Ratio_Error, KMinor).magnitude
  
  
      return _len_tube(Flow, DiamTubeAvail, HeadlossCDC, ConcStock, temp, en_chem, KMinor).magnitude
docs: Calculate the length of each diameter tube given the corresponding flow rate
      and coagulant. Choose the tube that is shorter than the maximum length tube.