valve#

class Valve(ID='', ins=None, outs=(), thermo=None, **kwargs)[source]#

Abstract class for valves. Child classes should implement the _run method for mass and energy balances. No design or costing algorithms are implemented (yet). Any contributions to design and costing is certainly welcome. For now, it is assumed that the cost of valves in a production process is negligible in relation to other unit operations. Additionally, valves serve a level of detail that is above the accuracy of cost correlations in BioSTEAM (which serve preliminary techno-economic analysis purposes).

class IsenthalpicValve(ID='', ins=None, outs=(), thermo=None, **kwargs)[source]#

Create an isenthalpic valve. Reduces the pressure of a fluid while keeping the enthalpy constant (adiabatic flash).

Parameters:
  • ins (Stream], optional) – Inlet fluid.

  • outs (Stream], optional) – Outlet fluid.

  • P (float) – Outlet pressure [Pa].

  • vle (bool) – Whether to perform phase equilibrium calculations on the outflow. If False, the outlet will be assumed to be the same phase as the inlet.

Warning

No design or costing algorithms have been implemented (yet). For now, it is assumed that the cost of valves in a production process is negligible in relation to other unit operations. Additionally, valves serve a level of detail that is above the accuracy of cost correlations in BioSTEAM (which serve preliminary techno-economic analysis purposes).