Non-Reactive Unit

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.unit_operations.static._non_reactive.Copier(ID='', ins: Sequence[AbstractStream] | None = None, outs: Sequence[AbstractStream] | None = (), thermo=None, init_with='WasteStream', F_BM_default=1, **kwargs)

A non-reactive unit that simply copy all the influents to the effluents (in the same order), i.e., it does not affect stream flow.

Note that for a unit without the _run function and with only one influent, the effluent will be automatically copied from the influent, but this Copier class will work for any number of influents.

Parameters:
  • ins (Iterable(obj)) – Any number of influents, all will be copied to the effluents.

  • ins – Any number of effluents, all copied from the corresponding influents.

line: str = 'Copier'

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

class qsdsan.unit_operations.static._non_reactive.LumpedCost(ID='', ins: Sequence[AbstractStream] | None = None, outs: Sequence[AbstractStream] | None = (), thermo=None, init_with='WasteStream', cost_item_name='Lumped cost', CAPEX=0.0, power=0.0, add_OPEX=0.0, **kwargs)

A non-reactive unit only for cost calculation purpose.

Parameters:
  • cost_item_name (str) – The name of this unit that will be shown in design, cost, and result dicts.

  • CAPEX (float) – Total installed capital cost.

  • power (float) – Total electricity usage.

  • add_OPEX (float) – Additional operating cost per hour.

See also

qsdsan.unit_operations.Copier

Examples

bwaise systems

line: str = 'Lumped cost'

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