reservoirflow.fluids.SinglePhase.set_units#

SinglePhase.set_units(unit: str = 'field')#

Set object units.

Parameters:

unit (str ('field', 'metric', 'lab'), optional) – unit used in input and output. Both units and factors attributes will be updated based on the selected unit and can be accessed directly from this class.

Raises:

ValueError – Unknown units.