Stock QC
- class aguaclara.research.stock_qc.Variable_C_Stock(Q_sys, C_sys, Q_stock)[source]
A flow reactor with input from a stock of material of unknown concentration.
- Examples:
>>> from aguaclara.research.stock_qc import Variable_C_Stock >>> from aguaclara.core.units import u >>> reactor = Variable_C_Stock(Q_sys = 1*u.mL/u.s, C_sys = 1.4*u.mg/u.L, Q_stock = .01*u.mL/u.s) >>> reactor.C_stock() <Quantity(140.0, 'milligram / liter')>
- __init__(Q_sys, C_sys, Q_stock)[source]
Initialize a reactor of unknown material stock concentration.
- C_sys()[source]
Return the concentration of the material in the system.
- Returns:
Concentration of the material in the system
- Return type:
- Q_stock()[source]
Return the flow rate from the stock of material.
- Returns:
Flow rate from the stock of material
- Return type:
- C_stock()[source]
Return the required concentration of material in the stock given a reactor’s desired system flow rate, system concentration, and stock flow rate.
- Returns:
Concentration of material in the stock
- Return type:
- rpm(vol_per_rev)[source]
Return the pump speed required for the reactor’s stock of material given the volume of fluid output per revolution by the stock’s pump.
- M_stock(V_stock)[source]
Return the mass of undiluted material required for the stock concentration.
- V_super_stock(V_stock, C_super_stock)[source]
Return the volume of super (more concentrated) stock that must be diluted for the desired stock volume and required stock concentration.
- class aguaclara.research.stock_qc.Variable_Q_Stock(Q_sys, C_sys, C_stock)[source]
A flow reactor with input from a stock of material at an unknown flow rate.
- Examples:
>>> from aguaclara.research.stock_qc import Variable_Q_Stock >>> from aguaclara.core.units import u >>> reactor = Variable_Q_Stock(Q_sys = 1*u.mL/u.s, C_sys = 1.4*u.mg/u.L, C_stock = 7.6*u.mg/u.L) >>> round(reactor.Q_stock(), 6) <Quantity(0.184211, 'milliliter / second')> >>> pump_speed = reactor.rpm(vol_per_rev = .5*u.mL/u.rev).to(u.rev/u.min) >>> round(pump_speed, 6) <Quantity(22.105263, 'rev / minute')>
- C_sys()[source]
Return the concentration of the material in the system.
- Returns:
Concentration of the material in the system
- Return type:
- C_stock()[source]
Return the concentration of the material in the stock.
- Returns:
Concentration of the material in the stock
- Return type:
- Q_stock()[source]
Return the required flow rate from the stock of material given a reactor’s desired system flow rate, system concentration, and stock concentration.
- Returns:
Flow rate from the stock of material
- Return type:
- rpm(vol_per_rev)[source]
Return the pump speed required for the reactor’s stock of material given the volume of fluid output per revolution by the stock’s pump.
- M_stock(V_stock)[source]
Return the mass of undiluted material required for the stock concentration.
- V_super_stock(V_stock, C_super_stock)[source]
Return the volume of super (more concentrated) stock that must be diluted for the desired stock volume and stock concentration.