flash_vessel_design#

General functional algorithms for the design and purchase cost estimation of flash pressure vessels.

References

compute_horizontal_vessel_purchase_cost(W)[source]#

Return the purchase cost [Cp; in USD] of a horizontal vessel, without the cost of the platform and ladders.

Parameters:

W (float) – Weight [lb].

Examples

>>> compute_horizontal_vessel_purchase_cost(W=1e3)
8857.9578

Notes

The purchase cost is given by [1]. See source code for details. The purchase cost is scaled according to BioSTEAM’s Chemical Plant Cost Index, biosteam.CE.

compute_vertical_vessel_purchase_cost(W)[source]#

Return the purchase cost [Cp; in USD] of a vertical vessel, without the cost of the platform and ladders.

Parameters:

W (float) – Weight [lb].

Examples

>>> compute_vertical_vessel_purchase_cost(1e3)
13319.0892

Notes

The purchase cost is given by [1]. See source code for details. The purchase cost is scaled according to BioSTEAM’s Chemical Plant Cost Index, biosteam.CE.

compute_horizontal_vessel_platform_and_ladders_purchase_cost(D)[source]#

Return the purchase cost [Cp; in USD] of the platform and ladders for a horizontal vessel.

Parameters:

D (float) – Diameter [ft].

Examples

>>> compute_horizontal_vessel_platform_and_ladders_purchase_cost(D=4)
3016.7982

Notes

The purchase cost is given by [1]. See source code for details. The purchase cost is scaled according to BioSTEAM’s Chemical Plant Cost Index, biosteam.CE.

compute_vertical_vessel_platform_and_ladders_purchase_cost(D, L)[source]#

Return the purchase cost [Cp; in USD] of the platform and ladders for a vertical vessel.

Parameters:
  • D (float) – Diameter [ft].

  • L (float) – Length [ft].

Examples

>>> compute_vertical_vessel_platform_and_ladders_purchase_cost(3, 10)
4708.5321

Notes

The purchase cost is given by [1]. See source code for details. The purchase cost is scaled according to BioSTEAM’s Chemical Plant Cost Index, biosteam.CE.

GTable(DRho, Hlr)[source]#

Return the allowable downflow (baffle liquid load) in gph/ft2, usually used for vertical vessel.

Parameters:
  • DRho (float) – Density difference between light liquid and vapor [lb/ft^3 ?]

  • Hlr (float) – Height of liquid level above the interphase of light liquid and heavy liquid [ft]

Notes

This function is not currently in use, nor has it been tested.

HNATable(Type, X)[source]#

Table for cylindrical height and area conversions.

Parameters:
  • Type (int) – 1 if given H/D and find A/At, 2 if given A/At and find H/D.

  • X (float) – H/D or A/At.

Notes

Equations are given by [2]. See source code for details.

ceil_half_step(value)[source]#

Return value to the next highest 0.5 units

compute_vessel_weight_and_wall_thickness(P, D, L, rho_M, Je=0.85)[source]#

Return vessel weight and wall thickness.

Parameters:
  • P (float) – Pressure [psia].

  • D (float) – Diameter [ft].

  • L (float) – Vessel length [ft].

  • rho_M (float) – Density of Material [lb/ft^3].

  • Je (float) – Joint efficiency (1.0 for X-Rayed joints, 0.85 for thin carbon steel),

Examples

>>> compute_vessel_weight_and_wall_thickness(14.7, 3, 10, 490)
(1116.83, 0.25)

Notes

Equations are given by [2]. See source code for details.

Warning

This function is only applicable to positive internal pressures (no vacuums). Vacuum pressure vessels may require stiffening rings and higher vessel thickness.

compute_Stokes_law_York_Demister_K_value(P)[source]#

Return K-constant in Stoke’s Law using the York-Demister equation.

Parameters:

P (float) – Pressure [psia].

Examples

>>> compute_Stokes_law_York_Demister_K_value(14)
0.34409663
>>> compute_Stokes_law_York_Demister_K_value(20)
0.35
>>> compute_Stokes_law_York_Demister_K_value(125)
0.31894878

Notes

Equations are given by [2]. See source code for details.