PM2 with ASM2d (PM2ASM2d)

class qsdsan.process_models.PM2ASM2d(components=None, a_c=0.049, I_n=250, arr_a=18000000000.0, arr_e=6842, beta_1=2.9, beta_2=3.5, b_reactor=0.03, I_opt=300, k_gamma=1e-05, K_N=0.1, K_P=1.0, K_A=6.3, K_G=6.3, rho=1.186, K_STO=1.566, f_CH_max=0.819, f_LI_max=3.249, m_ATP=15.835, mu_max=1.969, q_CH=0.594, q_LI=0.91, Q_N_max=0.417, Q_N_min=0.082, Q_P_max=0.092, Q_P_min=0.0163, V_NH=0.254, V_NO=0.254, V_P=0.016, exponent=4, Y_ATP_PHO=55.073, Y_CH_PHO=0.754, Y_LI_PHO=0.901, Y_X_ALG_PHO=0.45, Y_ATP_HET_ACE=39.623, Y_CH_NR_HET_ACE=0.625, Y_CH_ND_HET_ACE=0.6, Y_LI_NR_HET_ACE=1.105, Y_LI_ND_HET_ACE=0.713, Y_X_ALG_HET_ACE=0.216, Y_ATP_HET_GLU=58.114, Y_CH_NR_HET_GLU=0.917, Y_CH_ND_HET_GLU=0.88, Y_LI_NR_HET_GLU=1.62, Y_LI_ND_HET_GLU=1.046, Y_X_ALG_HET_GLU=0.317, n_dark=0.7, f_SI=0.0, Y_H=0.625, f_XI_H=0.1, Y_A=0.24, f_XI_AUT=0.1, K_h=3.0, eta_NO3=0.6, eta_fe=0.4, K_O2=0.2, K_NO3=0.5, K_X=0.1, mu_H=6.0, q_fe=3.0, eta_NO3_H=0.8, b_H=0.4, K_O2_H=0.2, K_F_H=4.0, K_fe=4.0, K_A_H=4.0, K_NO3_H=0.5, K_NH4_H=0.05, K_P_H=0.01, K_ALK_H=0.1, mu_AUT=1.0, b_AUT=0.15, K_O2_AUT=0.5, K_NH4_AUT=1.0, K_ALK_AUT=0.5, K_P_AUT=0.01, path=None, **kwargs)

Phototrophic-Mixotrophic Process Model (PM2) coupled with Activated Sludge Model No. 2d (ASM2d) for joint microalgae-bacteria treatment [1], [2].

Parameters:
  • components (class:CompiledComponents, optional) – Components corresponding to each entry in the stoichiometry array, defaults to thermosteam.settings.chemicals.

  • a_c (float, optional) – PAR absorption coefficient on a TSS (total suspended solids) basis, in [m^2/g TSS]. The default is 0.049.

  • I_n (float, optional) – Maximum incident PAR irradiance (“irradiance at noon”), in [uE/m^2/s]. The default is 250.

  • arr_a (float, optional) – Arrhenius constant (A), in [unitless]. The default is 1.8 * 10**10.

  • arr_e (float, optional) – Arrhenius exponential constant (E/R), in [K]. The default is 6842.

  • beta_1 (float, optional) – Power coefficient for carbohydrate storage inhibition, in [unitless]. The default is 2.90.

  • beta_2 (float, optional) – Power coefficient for lipid storage inhibition, in [unitless]. The default is 3.50.

  • b_reactor (float, optional) – Thickness of reactor along light path, in [m]. The default is 0.03.

  • I_opt (float, optional) – Optimal irradiance, in [uE/m^2/s]. The default is 300.

  • k_gamma (float, optional) – Photoadaptation coefficient, in [unitless]. The default is 0.00001.

  • K_N (float, optional) – Nitrogen half-saturation constant, in [g N/m^3]. The default is 0.1.

  • K_P (float, optional) – Phosphorus half-saturation constant, in [g P/m^3]. The default is 1.0.

  • K_A (float, optional) – Organic carbon half-saturation constant (acetate) (Wagner, 2016), in [g COD/m^3]. The default is 6.3.

  • K_G (float, optional) – Organic carbon half-saturation constant (glucose); assumes K_A = K_G, in [g COD/m^3]. The default is 6.3.

  • rho (float, optional) – Carbohydrate relative preference factor (calibrated in Guest et al., 2013), in [unitless]. The default is 1.186.

  • K_STO (float, optional) – Half-saturation constant for stored organic carbon (calibrated in Guest et al., 2013), in [g COD/g COD]. The default is 1.566.

  • f_CH_max (float, optional) – Maximum achievable ratio of stored carbohydrates to functional cells, in [g COD/g COD]. The default is 0.819.

  • f_LI_max (float, optional) – Maximum achievable ratio of stored lipids to functional cells, in [g COD/g COD]. The default is 3.249.

  • m_ATP (float, optional) – Specific maintenance rate, in [g ATP/g COD/d]. The default is 15.835.

  • mu_max (float, optional) – Maximum specific growth rate, in [d^(-1)]. The default is 1.969.

  • q_CH (float, optional) – Maximum specific carbohydrate storage rate, in [g COD/g COD/d]. The default is 0.594.

  • q_LI (float, optional) – Maximum specific lipid storage rate, in [g COD/g COD/d]. The default is 0.910.

  • Q_N_max (float, optional) – Maximum nitrogen quota, in [g N/g COD]. The default is 0.417.

  • Q_N_min (float, optional) – Nitrogen subsistence quota, in [g N/g COD]. The default is 0.082.

  • Q_P_max (float, optional) – Maximum phosphorus quota, in [g P/g COD]. The default is 0.092.

  • Q_P_min (float, optional) – Phosphorus subsistence quota; assumes N:P ratio of 5:1, in [g P/g COD]. The default is 0.0163.

  • V_NH (float, optional) – Maximum specific ammonium uptake rate (calibrated in Guest et al., 2013), in [g N/g COD/d]. The default is 0.254.

  • V_NO (float, optional) – Maximum specific nitrate uptake rate (calibrated in Guest et al., 2013), in [g N/g COD/d]. The default is 0.254.

  • V_P (float, optional) – Maximum specific phosphorus uptake rate (calibrated in Guest et al., 2013), in [g P/g COD/d]. The default is 0.016.

  • exponent (float, optional) – Exponent to allow for more rapid transitions from growth to storage (see Guest et al., 2013), in [unitless] The default is 4.

  • Y_ATP_PHO (float, optional) – Yield of ATP on CO2 fixed to G3P, in [g ATP/g CO2]. The default is 55.073.

  • Y_CH_PHO (float, optional) – Yield of storage carbohydrate (as polyglucose, PG) on CO2 fixed to G3P, in [g COD/g CO2]. The default is 0.754.

  • Y_LI_PHO (float, optional) – Yield of storage lipids (as triacylglycerol, TAG) on CO2 fixed to G3P, in [g COD/g CO2]. The default is 0.901.

  • Y_X_ALG_PHO (float, optional) – Yield of carbon-accumulating phototrophic organisms on CO2 fixed to G3P, in [g COD/g CO2]. The default is 0.450.

  • Y_ATP_HET_ACE (float, optional) – Yield of ATP on acetate fixed to acetyl-CoA, in [g ATP/g COD]. The default is 39.623.

  • Y_CH_NR_HET_ACE (float, optional) – Yield of storage carbohydrates (as polyglucose, PG) on acetate fixed to acetyl-CoA under nutrient-replete condition, in [g COD/g COD]. The default is 0.625.

  • Y_CH_ND_HET_ACE (float, optional) – Yield of storage carbohydrates (as polyglucose, PG) on acetate fixed to acetyl-CoA under nutrient-deplete condition, in [g COD/g COD]. The default is 0.600.

  • Y_LI_NR_HET_ACE (float, optional) – Yield of storage lipids (as triacylglycerol, TAG) on acetate fixed to acetyl-CoA under nutrient-replete condition, in [g COD/g COD]. The default is 1.105.

  • Y_LI_ND_HET_ACE (float, optional) – Yield of storage lipids (as triacylglycerol, TAG) on acetate fixed to acetyl-CoA under nutrient-deplete condition, in [g COD/g COD]. The default is 0.713.

  • Y_X_ALG_HET_ACE (float, optional) – Yield of carbon-accumulating phototrophic organisms on acetate fixed to acetyl-CoA, in [g COD/g COD]. The default is 0.216.

  • Y_ATP_HET_GLU (float, optional) – Yield of ATP on glucose fixed to G6P, in [g ATP/g COD]. The default is 58.114.

  • Y_CH_NR_HET_GLU (float, optional) – Yield of storage carbohydrates (as polyglucose, PG) on glucose fixed to G6P under nutrient-replete condition, in [g COD/g COD]. The default is 0.917.

  • Y_CH_ND_HET_GLU (float, optional) – Yield of storage carbohydrates (as polyglucose, PG) on glucose fixed to G6P under nutrient-deplete condition, in [g COD/g COD]. The default is 0.880.

  • Y_LI_NR_HET_GLU (float, optional) – Yield of storage lipids (as triacylglycerol, TAG) on glucose fixed to G6P under nutrient-replete condition, in [g COD/g COD]. The default is 1.620.

  • Y_LI_ND_HET_GLU (float, optional) – Yield of storage lipids (as triacylglycerol, TAG) on glucose fixed to G6P under nutrient-deplete condition, in [g COD/g COD]. The default is 1.046.

  • Y_X_ALG_HET_GLU (float, optional) – Yield of carbon-accumulating phototrophic organisms on glucose fixed to G6P, in [g COD/g COD]. The default is 0.317.

  • n_dark (float, optional) – Dark growth reduction factor, in [unitless] The default is 0.7.

  • f_SI (float, optional) – Production of soluble inerts in hydrolysis, in [g COD/g COD]. The default is 0.0.

  • Y_H (float, optional) – Heterotrophic yield coefficient, in[g COD/g COD]. The default is 0.625.

  • f_XI_H (float, optional) – Fraction of inert COD generated in heterotrophic biomass lysis, in [g COD/g COD]. The default is 0.1.

  • Y_A (float, optional) – Autotrophic yield, in [g COD/g N]. The default is 0.24.

  • f_XI_AUT (float, optional) – Fraction of inert COD generated in autotrophic biomass lysis, in [g COD/g COD]. The default is 0.1.

  • K_h (float, optional) – Hydrolysis rate constant, in [d^(-1)]. The default is 3.0.

  • eta_NO3 (float, optional) – Reduction factor for anoxic hydrolysis, dimensionless. The default is 0.6.

  • eta_fe (float, optional) – Anaerobic hydrolysis reduction factor, dimensionless. The default is 0.4.

  • K_O2 (float, optional) – O2 half saturation coefficient for hydrolysis, in [g O2/m^3]. The default is 0.2.

  • K_NO3 (float, optional) – Nitrate half saturation coefficient for hydrolysis, in [g N/m^3]. The default is 0.5.

  • K_X (float, optional) – Slowly biodegradable substrate half saturation coefficient for hydrolysis, in [g COD/g COD]. The default is 0.1.

  • mu_H (float, optional) – Heterotrophic maximum specific growth rate, in [d^(-1)]. The default is 6.0.

  • q_fe (float, optional) – Fermentation maximum rate, in [d^(-1)]. The default is 3.0.

  • eta_NO3_H (float, optional) – Reduction factor for anoxic heterotrophic growth, dimensionless. The default is 0.8.

  • b_H (float, optional) – Lysis and decay rate constant, in [d^(-1)]. The default is 0.4.

  • K_O2_H (float, optional) – O2 half saturation coefficient for heterotrophs, in [g O2/m^3]. The default is 0.2.

  • K_F_H (float, optional) – Fermentable substrate half saturation coefficient for heterotrophic growth (K_F in ASM2d), in [g COD/m^3]. The default is 4.0.

  • K_fe (float, optional) – Fermentable substrate half saturation coefficient for fermentation, in [g COD/m^3]. The default is 4.0.

  • K_A_H (float, optional) – VFA half saturation coefficient for heterotrophs, in [g COD/m^3]. The default is 4.0.

  • K_NO3_H (float, optional) – Nitrate half saturation coefficient for heterotrophs, in [g N/m^3]. The default is 0.5.

  • K_NH4_H (float, optional) – Ammonium (nutrient) half saturation coefficient for heterotrophs, in [g N/m^3]. The default is 0.05.

  • K_P_H (float, optional) – Phosphorus (nutrient) half saturation coefficient for heterotrophs, in [g P/m^3]. The default is 0.01.

  • K_ALK_H (float, optional) – Alkalinity half saturation coefficient for heterotrophs, in [mol(HCO3-)/m^3]. (user input unit, converted as C) The default is 0.1.

  • mu_AUT (float, optional) – Autotrophic maximum specific growth rate, in [d^(-1)]. The default is 1.0.

  • b_AUT (float, optional) – Autotrophic decay rate, in [d^(-1)]. The default is 0.15.

  • K_O2_AUT (float, optional) – O2 half saturation coefficient for autotrophs, in [g O2/m^3]. The default is 0.5.

  • K_NH4_AUT (float, optional) – Ammonium (nutrient) half saturation coefficient for autotrophs, in [g N/m^3]. The default is 1.0.

  • K_ALK_AUT (float, optional) – Alkalinity half saturation coefficient for autotrophs, in [mol(HCO3-)/m^3]. (user input unit, converted as C) The default is 0.5.

  • K_P_AUT (float, optional) – Phosphorus (nutrient) half saturation coefficient for autotrophs, in [g P/m^3]. The default is 0.01.

  • path (str, optional) – Alternative file path for the Petersen matrix. The default is None.

Examples

>>> from qsdsan import process_models as pc
>>> cmps = pc.create_pm2asm2d_cmps()
>>> pm2asm2d = pc.PM2ASM2d()
>>> pm2asm2d.show()
PM2ASM2d([photoadaptation, ammonium_uptake, nitrate_uptake_pho, nitrate_uptake_ace, nitrate_uptake_glu, phosphorus_uptake,
     growth_pho, carbohydrate_storage_pho, lipid_storage_pho, carbohydrate_growth_pho, lipid_growth_pho,
     carbohydrate_maintenance_pho, lipid_maintenance_pho, endogenous_respiration_pho,
     growth_ace, carbohydrate_storage_ace, lipid_storage_ace, carbohydrate_growth_ace, lipid_growth_ace,
     carbohydrate_maintenance_ace, lipid_maintenance_ace, endogenous_respiration_ace,
     growth_glu, carbohydrate_storage_glu, lipid_storage_glu, carbohydrate_growth_glu, lipid_growth_glu,
     carbohydrate_maintenance_glu, lipid_maintenance_glu, endogenous_respiration_glu,
     aero_hydrolysis, anox_hydrolysis, anae_hydrolysis,
     hetero_growth_S_F, hetero_growth_S_A, denitri_S_F, denitri_S_A, ferment, hetero_lysis,
     auto_aero_growth, auto_lysis])

References

set_parameters(**parameters)

Set values to stoichiometric and/or kinetic parameters.