def __init__(self,
              ID='',
              ins=None,
              outs=(),
              thermo=None,
              *,
              split=None,
              order=None):
     self._load_thermo(thermo)
     if split is None:
         chemicals = self.chemicals
         split = dict(Water=0.1454,
                      Glycerol=0.125,
                      LacticAcid=0.145,
                      SuccinicAcid=0.125,
                      HNO3=0.1454,
                      Denaturant=0.125,
                      DAP=0.1454,
                      AmmoniumAcetate=0.145,
                      AmmoniumSulfate=0.1454,
                      H2SO4=0.1454,
                      NaNO3=0.1454,
                      Oil=0.125,
                      N2=0.1351,
                      NH3=0.1579,
                      O2=0.15,
                      CO2=0.1364,
                      Xylose=0.25,
                      Sucrose=0.125,
                      Mannose=0.125,
                      Galactose=0.125,
                      Arabinose=0.125,
                      Extract=0.145,
                      NaOH=0.1454,
                      SolubleLignin=0.145,
                      GlucoseOligomer=0.1429,
                      GalactoseOligomer=0.1429,
                      MannoseOligomer=0.1429,
                      XyloseOligomer=0.1429,
                      ArabinoseOligomer=0.1429,
                      Xylitol=0.125,
                      Cellobiose=0.125,
                      Cellulase=0.145)
         remove_undefined_chemicals(split, chemicals)
         default_chemical_dict(split, chemicals, 0.15, 0.125, 0.145)
     Splitter.__init__(self,
                       ID,
                       ins,
                       outs,
                       thermo,
                       split=split,
                       order=order)
예제 #2
0
 def __init__(self,
              ID='',
              ins=None,
              outs=(),
              thermo=None,
              *,
              moisture_content=0.35,
              split=None):
     self._load_thermo(thermo)
     if split is None:
         chemicals = self.chemicals
         split = dict(Furfural=0.03571,
                      Glycerol=0.03714,
                      LacticAcid=0.03727,
                      SuccinicAcid=0.03714,
                      HNO3=0.03716,
                      Denaturant=0.03714,
                      DAP=0.03716,
                      AmmoniumAcetate=0.03727,
                      AmmoniumSulfate=0.03716,
                      NaNO3=0.03716,
                      Oil=0.03714,
                      HMF=0.03571,
                      Glucose=0.03647,
                      Xylose=0.03766,
                      Sucrose=0.0359,
                      Mannose=0.0359,
                      Galactose=0.0359,
                      Arabinose=0.0359,
                      Extract=0.03727,
                      Tar=0.9799,
                      CaO=0.9799,
                      Ash=0.9799,
                      NaOH=0.03716,
                      Lignin=0.98,
                      SolubleLignin=0.03727,
                      GlucoseOligomer=0.03722,
                      GalactoseOligomer=0.03722,
                      MannoseOligomer=0.03722,
                      XyloseOligomer=0.03722,
                      ArabinoseOligomer=0.03722,
                      Z_mobilis=0.9799,
                      T_reesei=0.9799,
                      Protein=0.98,
                      Enzyme=0.98,
                      Glucan=0.9801,
                      Xylan=0.9811,
                      Xylitol=0.03714,
                      Cellobiose=0.0359,
                      DenaturedEnzyme=0.98,
                      Arabinan=0.9792,
                      Mannan=0.9792,
                      Galactan=0.9792,
                      WWTsludge=0.9799,
                      Cellulase=0.03727)
     remove_undefined_chemicals(split, chemicals)
     bst.SolidsSeparator.__init__(self,
                                  ID,
                                  ins,
                                  outs,
                                  thermo,
                                  moisture_content=moisture_content,
                                  split=split)
 def __init__(self,
              ID='',
              ins=None,
              outs=(),
              thermo=None,
              *,
              split=None,
              order=None):
     self._load_thermo(thermo)
     if split is None:
         chemicals = self.chemicals
         split = dict(Water=0.934,
                      Furfural=1,
                      Glycerol=0.8889,
                      LacticAcid=0.935,
                      SuccinicAcid=0.8889,
                      HNO3=0.9344,
                      Denaturant=0.8889,
                      DAP=0.9344,
                      AmmoniumAcetate=0.935,
                      AmmoniumSulfate=0.9344,
                      H2SO4=0.935,
                      NaNO3=0.9344,
                      Oil=0.8889,
                      HMF=1,
                      NH3=0.9388,
                      H2S=0.9394,
                      SO2=0.9394,
                      CO2=0.9333,
                      NO2=0.9394,
                      NO=0.9394,
                      CO=0.9394,
                      Glucose=1,
                      Xylose=1,
                      Sucrose=0.9286,
                      Mannose=0.9286,
                      Galactose=0.9286,
                      Arabinose=0.9286,
                      Extract=0.935,
                      Tar=0.05155,
                      CaO=0.05155,
                      Ash=0.05155,
                      NaOH=0.9344,
                      Lignin=0.04943,
                      SolubleLignin=0.935,
                      GlucoseOligomer=0.9,
                      GalactoseOligomer=0.9,
                      MannoseOligomer=0.9,
                      XyloseOligomer=0.9,
                      ArabinoseOligomer=0.9,
                      Z_mobilis=0.04991,
                      T_reesei=0.04991,
                      Cellulose=0.03846,
                      Protein=0.05455,
                      Enzyme=0.05455,
                      Xylitol=0.8889,
                      Cellobiose=0.9286,
                      DenaturedEnzyme=0.05455,
                      WWTsludge=0.04991,
                      Cellulase=0.935)
         remove_undefined_chemicals(split, chemicals)
         default_chemical_dict(split, chemicals, 0.9394, 0.9286, 0.04991)
     Splitter.__init__(self,
                       ID,
                       ins,
                       outs,
                       thermo,
                       split=split,
                       order=order)
 def __init__(self,
              ID='',
              ins=None,
              outs=(),
              thermo=None,
              *,
              reactions=None,
              sludge_split=None):
     Unit.__init__(self, ID, ins, outs, thermo)
     chemicals = self.chemicals
     if not reactions:
         digestables = get_digestable_organic_chemicals(chemicals)
         reactions = anaerobic_digestion_reactions(digestables,
                                                   chemicals.WWTsludge.MW,
                                                   thermo=self.thermo)
     self.reactions = reactions
     if sludge_split is None:
         sludge_split = dict(Water=0.07087,
                             Ethanol=0.0625,
                             Furfural=0.06667,
                             Glycerol=0.07377,
                             LacticAcid=0.07084,
                             SuccinicAcid=0.07377,
                             HNO3=0.0678,
                             Denaturant=0.07377,
                             DAP=0.0678,
                             AmmoniumAcetate=0.07084,
                             AmmoniumSulfate=0.0678,
                             H2SO4=0.0678,
                             NaNO3=0.0678,
                             Oil=0.07377,
                             HMF=0.06667,
                             NH3=0.07048,
                             Glucose=0.06667,
                             Xylose=0.07609,
                             Sucrose=0.06915,
                             Mannose=0.06915,
                             Galactose=0.06915,
                             Arabinose=0.06915,
                             Extract=0.07084,
                             Tar=0.7473,
                             CaO=0.7473,
                             Ash=0.7473,
                             NaOH=0.0678,
                             Lignin=0.744,
                             SolubleLignin=0.07084,
                             GlucoseOligomer=0.07143,
                             GalactoseOligomer=0.07143,
                             MannoseOligomer=0.07143,
                             XyloseOligomer=0.07143,
                             ArabinoseOligomer=0.07143,
                             Z_mobilis=0.7438,
                             T_reesei=0.7438,
                             Cellulose=0.76,
                             Protein=0.7391,
                             Enzyme=0.7391,
                             Xylan=0.75,
                             Xylitol=0.07377,
                             Cellobiose=0.06915,
                             DenaturedEnzyme=0.7391,
                             Arabinan=1,
                             Mannan=1,
                             Galactan=1,
                             WWTsludge=0.7438,
                             Cellulase=0.07084)
         remove_undefined_chemicals(sludge_split, chemicals)
         default_chemical_dict(sludge_split, chemicals, 0.07087, 0.07087,
                               0.744)
     self.sludge_split = chemicals.isplit(sludge_split)
     self._load_components()