Chemical Dose Controller

The chemical dose controller (CDC) of an AguaClara plant uses the linear relation between flow rate and entrance tank water level (set by the LFOM) to dose the correct amount of coagulant and chlorine into the entrance tank.

Example:
>>> from aguaclara.design.cdc import *
>>> cdc = CDC(q = 20 * u.L/u.s, coag_type = 'pacl')
>>> cdc.coag_stock_vol
<Quantity(2500.0, 'liter')>
class aguaclara.design.cdc.CDC(**kwargs)[source]

Design an AguaClara plant’s chemical dose controller.

Design Inputs:
  • q (float * u.L / u.s): Flow rate (required)

alum_nu(coag_conc)[source]

Return the dynamic viscosity of water at a given temperature.

If given units, the function will automatically convert to Kelvin. If not given units, the function will assume Kelvin. This function assumes that the temperature dependence can be explained based on the effect on water and that there is no confounding effect from the coagulant.

pacl_nu(coag_conc)[source]

Return the dynamic viscosity of water at a given temperature.

If given units, the function will automatically convert to Kelvin. If not given units, the function will assume Kelvin. This function assumes that the temperature dependence can be explained based on the effect on water and that there is no confounding effect from the coagulant.

coag_nu(coag_conc, coag_type)[source]

Return the dynamic viscosity of water at a given temperature.

If given units, the function will automatically convert to Kelvin. If not given units, the function will assume Kelvin.

property coag_q_max_est

The estimated maximum permissible flow rate of the coagulant stock, based on a whole number of sacks of coagulant used.

Deprecated since version `coag_q_max_est`: is deprecated; use coag_q_max instead, which is based on the exact user-defined coagulant stock concentration, coag_stock_conc.

property coag_q_max

The maximum permissible flow rate of the coagulant stock.

property coag_stock_vol

The volume of the coagulant stock tank, based on available sizes from the supplier.

property coag_sack_n

The number of sacks of coagulant needed to make the coagulant stock, rounded to the nearest whole number.

property coag_stock_time_min

The minimum amount of time that the coagulant stock will last.

property coag_stock_nu

The kinematic viscosity of the coagulant stock.

property coag_tubes_active_n

The number of coagulant tubes in use.

property coag_tubes_n

The number of coagulant tubes in use, plus a spare tube for maintenance.

property coag_tube_operating_q_max

The maximum flow through a coagulant tube during actual operation.

property coag_tube_l

The length of a coagulant tube.

property coag_tank_r

The radius of the coagulant stock tank, based on available sizes from the supplier.

property coag_tank_h

The height of the coagulant stock tank, based on available sizes from the supplier.