コード例 #1
0
 def outlet_post_weir_w(self):
     """Width of the outlet channel (post-weir)."""
     outlet_post_weir_w = max(
         #need self.outlet_to_filter_nd
         self.fitting_s + pipe.fitting_od(self.outlet_pipe.size),
         self.fitting_s + pipe.fitting_od(self.drain_pipe.size),
         self.w_min,
         pc.horiz_chan_w(
             self.q,
             self.outlet_weir_depth -
             self.outlet_free_h,  #what is outlet_free_h
             self.outlet_weir_depth,
             self.l,
             pc.viscosity_kinematic(self.temp),
             mat.PVC_PIPE_ROUGH,
             1,
             hl.PIPE_ENTRANCE_K_MINOR + hl.PIPE_EXIT_K_MINOR +
             hl.EL90_K_MINOR))
     return outlet_post_weir_w
コード例 #2
0
 def inlet_slope_l(self):
     """Length of the slopes between each pipe in the inlet channel."""
     inlet_slope_l = self.l + self.sed_wall_thickness - \
         pipe.fitting_od(self.sed_tank_inlet_man_nd) - self.fitting_s
     return inlet_slope_l
コード例 #3
0
 def outlet_drain_box_w(self):
     """Width of the outlet channel drain box."""
     outlet_drain_box_w = max(
         self.fitting_s + pipe.fitting_od(self.drain_pipe.size),
         self.outlet_post_weir_w)
     return outlet_drain_box_w
コード例 #4
0
 def inlet_drain_box_w(self):
     """Width of the inlet channel drain box"""
     inlet_drain_box_w = max(
         2 * self.fitting_s + pipe.fitting_od(self.drain_pipe.size),
         self.inlet_w_post_weir)
     return inlet_drain_box_w
コード例 #5
0
 def _inlet_depth_plumbing_min(self):
     """Minimum depth of the inlet channel to fit pipes."""
     inlet_plumbing_depth_min = self.sed_tank_outlet_man_hl + self.sed_tank_diffuser_hl + \
         pipe.fitting_od(self.sed_tank_outlet_man_nd) + \
             self.fitting_s + self.outlet_weir_hl
     return inlet_plumbing_depth_min
コード例 #6
0
 def _inlet_w_pre_weir_plumbing_min(self):
     """Minimum width of the inlet channel (pre-weir) to fit pipes."""
     inlet_w_pre_weir_plumbing_min = pipe.fitting_od(self.sed_tank_inlet_man_nd) + \
         2 * self.fitting_s
     return inlet_w_pre_weir_plumbing_min