from biosteam import Species from biosteam.compounds import Substance from .ethanol import ethanol_species from .biodiesel import lipid __all__ = ['pretreatment_species'] sp = Species() for name in ('Ash', 'Cellulose', 'Flocculant', 'Hemicellulose', 'Lignin', 'Solids'): setattr(sp, name, Substance(name, rho=1540)) sp.Lipid = lipid sp.Lipid.ID = 'Lipid' sp.CaO = Substance('CaO', MW=56.0774, rho=1540) sp.setprops(sp.IDs, 'Hf', 0) sp.setprops(sp.IDs, 'T_ref', 298.15) # %% Heat capacities # References # https://www.sciencedirect.com/science/article/pii/0032386182901252 # https://link.springer.com/article/10.1007%2Fs10853-013-7815-6 pretreatment_species = Species.tospecies(tuple(ethanol_species) + tuple(sp)) sp = pretreatment_species sp.Ash.Cp = sp.Ash.Cpm = 0.09 * 4184 / 1000 # from Kumar sp.CaO.Cp = 1023.88 / 1000 # from Kumar sp.CaO.Cpm = 1023.88 / 1000 * 56.0774 sp.Cellulose.Cp = sp.Cellulose.Cpm = 1364 / 1000 # from paper sp.Hemicellulose.Cp = sp.Hemicellulose.Cpm = 1364 / 1000 # same as cellulose
Water.Hf = -241.820 * 1000 CO2.Hf = -393.520 * 1000 # in gas glucose.Hf = -1274 * 1000 sucrose.Hf = -2221.2 * 1000 Octane.Hf = -250 * 1000 phosphoric_acid.Hf = -1271.66 * 1000 dry_yeast.Hf = 0 # %% Dissolved compounds dissolved = Species() for name in ('Ash', 'Cellulose', 'Flocculant', 'Hemicellulose', 'Lignin', 'Solids'): setattr(dissolved, name, Substance(name, rho=1540)) dissolved.CaO = Substance('CaO', MW=56.0774, rho=1540) dissolved.setprops(dissolved.IDs, 'Hf', 0) dissolved.setprops(dissolved.IDs, 'T_ref', 298.15) # %% Heat capacities # References # https://www.sciencedirect.com/science/article/pii/0032386182901252 # https://link.springer.com/article/10.1007%2Fs10853-013-7815-6 sugarcane_species = sp = Species.tospecies((CO2, Ethanol, Water, glucose, sucrose, phosphoric_acid, Octane, dry_yeast) + tuple(dissolved)) sp.Ash.Cp = sp.Ash.Cpm = 0.09 * 4184 / 1000 # from Kumar sp.CaO.Cp = 1023.88 / 1000 # from Kumar sp.CaO.Cpm = 1023.88 / 1000 * 56.0774 sp.Cellulose.Cp = sp.Cellulose.Cpm = 1364 / 1000 # from paper