code: def flow_lfom_actual(FLOW,HL_LFOM,drill_bits,Row_Index_Submerged,N_LFOM_Orifices):
      
      D_LFOM_Orifices=orifice_diameter(FLOW, HL_LFOM, drill_bits).magnitude
      row_height=dist_center_lfom_rows(FLOW, HL_LFOM).magnitude
      harray = (np.linspace(row_height, HL_LFOM, n_lfom_rows(FLOW, HL_LFOM))) - 0.5 * D_LFOM_Orifices
      FLOW_new = 0
      for i in range(Row_Index_Submerged+1):
          FLOW_new = FLOW_new + (N_LFOM_Orifices[i] * (
              pc.flow_orifice_vert(D_LFOM_Orifices, harray[Row_Index_Submerged-i],
                                   con.VC_ORIFICE_RATIO).magnitude))
      return FLOW_new
docs: Calculates the flow for a given number of submerged rows of orifices
      harray is the distance from the water level to the center of the orifices
      when the water is at the max level