Units#

class Units(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: IntEnum

The units that are used to define the scenario.

Depths, heights, and cavern radii are in the first (larger) length unit. Tubing radii are in the second (smaller) length unit. Volumes and volumetric flow rates are in the third unit.

Durations are in hours. Constant injection rates are in <volume-unit> per day. File-based injection rates are in <volume-unit> per hour.

Summary

inch()

1 in ≔ 0.0254 m

foot()

1 ft ≔ 0.3048 m

cubic_foot()

1 ft³ == 0.028316846592 m³

barrel()

1 bbl == 0.158987294928 m³

centimeter()

1 cm ≔ 0.01 m

FT_IN_BBL

foot/inch/barrel

FT_IN_FT3

foot/inch/cubic foot

M_CM_M3

meter/centimeter/cubic meter

Details

classmethod barrel()[source]#

1 bbl == 0.158987294928 m³

classmethod centimeter()[source]#

1 cm ≔ 0.01 m

classmethod cubic_foot()[source]#

1 ft³ == 0.028316846592 m³

classmethod foot()[source]#

1 ft ≔ 0.3048 m

classmethod inch()[source]#

1 in ≔ 0.0254 m

FT_IN_BBL = 1#

foot/inch/barrel

FT_IN_FT3 = 2#

foot/inch/cubic foot

M_CM_M3 = 3#

meter/centimeter/cubic meter