Compressor

QSDsan: Quantitative Sustainable Design for sanitation and resource recovery systems

This module is developed by:

This module is under the University of Illinois/NCSA Open Source License. Please refer to https://github.com/QSD-Group/QSDsan/blob/main/LICENSE.txt for license details.

class qsdsan.sanunits._compressor.IsothermalCompressor(ins: Sequence[Stream] | None = None, outs: Sequence[Stream] | None = (), thermo: Thermo | None = None, *, P, eta=0.7, vle=False, compressor_type=None, driver=None, material=None, driver_efficiency=None)

Similar to biosteam.units.IsothermalCompressor, but can calculate number of units and construction impacts.

line: str = 'Isothermal compressor'

class-attribute Name denoting the type of Unit class. Defaults to the class name of the first child class

run()

Run mass and energy balance. This method also runs specifications user defined specifications unless it is being run within a specification (to avoid infinite loops).

See also

_run, specifications, add_specification, add_bounded_numerical_specification