def _run(self):
     wet_solids, air, natural_gas = self.ins
     dry_solids, hot_air, emissions = self.outs
     wet_solids.split_to(hot_air, dry_solids, self.split)
     sep.adjust_moisture_content(dry_solids, hot_air, self.moisture_content)
     emissions.phase = air.phase = natural_gas.phase = hot_air.phase = 'g'
     design_results = self.design_results
     design_results['Evaporation'] = evaporation = hot_air.F_mass
     air.imass['N2', 'O2'] = np.array([0.78, 0.32]) * self.R * evaporation
     hot_air.mol += air.mol
     dry_solids.T = hot_air.T = self.T
     emissions.T = self.T + 30.
     natural_gas.empty()
     emissions.empty()
     if self.utility_agent == 'Natural gas':
         LHV = self.chemicals.CH4.LHV
         def f(CH4):
             CO2 = CH4    
             H2O = 2. * CH4
             natural_gas.imol['CH4'] = CH4
             emissions.imol['CO2', 'H2O'] = [CO2, H2O]    
             duty = (dry_solids.H + hot_air.H + emissions.H) - (wet_solids.H + air.H + natural_gas.H)
             CH4 = duty / LHV
             return CH4
         flx.wegstein(f, 0., 1e-3)
Esempio n. 2
0
 def _run(self):
     top, bottom, solids = self.outs
     sep.lle(self.ins[0], top, bottom, self.top_chemical, self.efficiency)
     bottom.split_to(solids,
                     bottom,
                     self.solids_split,
                     energy_balance=False)
     sep.adjust_moisture_content(solids, bottom, self.moisture_content)
Esempio n. 3
0
 def _run(self):
     oil, aqueous, solids = self.outs
     self.ins[0].split_to(aqueous, oil, self.aqueous_split)
     aqueous.split_to(solids, aqueous, self.solids_split)
     sep.adjust_moisture_content(solids, aqueous, self.moisture_content)
Esempio n. 4
0
 def _run(self):
     top, bottom, solids = self.outs
     sep.lle(self.ins[0], top, bottom, self.top_chemical, self.efficiency)
     sep.split(bottom, solids, bottom, self.solids_split)
     sep.adjust_moisture_content(solids, bottom, self.moisture_content)
Esempio n. 5
0
 def _run(self):
     top, bottom, solids = self.outs
     sep.split(self.ins[0], top, bottom, self.liquids_split)
     sep.split(bottom, solids, bottom, self.solids_split)
     sep.adjust_moisture_content(solids, bottom, self.moisture_content)