CSalt#

class CSalt(self: CSalt)#

Bases: pybind11_object

A model for salt density and saturation.

Summary

get_recession_rate_coeff(self)

a for the recession rate equation

get_saturated_sg(self)

Get the maximum sg of saturated brine

get_solid_density(self)

Get the density (g/cc) of the rock salt

get_wt_pct_sg_coeff(self)

Get coefficients c for the wt-pct vs specific gravity equation

recession_rate(self, sg)

Calculate the recession rate in ft/s for wall dissolution

set_recession_rate_coeff(self, a)

Set coefficients a [n=6] for the recession rate equation

set_saturated_sg(self, sg)

Set the maximum sg of saturated brine

set_solid_density(self, rho)

Set the density (g/cc) of the rock salt

set_wt_pct_sg_coeff(self, c)

Set coefficients c [n=3] for the wt-pct vs specific gravity equation

sg_to_wt_pct(self, sg[, T])

Convert specific gravity to weight-percent NaCl

wt_pct_to_sg(self, wt[, T])

Convert weight-percent NaCl to specific gravity

Details

get_recession_rate_coeff(self: CSalt) Annotated[list[float], FixedSize(6)]#

a for the recession rate equation

get_saturated_sg(self: CSalt) float#

Get the maximum sg of saturated brine

get_solid_density(self: CSalt) float#

Get the density (g/cc) of the rock salt

get_wt_pct_sg_coeff(self: CSalt) Annotated[list[float], FixedSize(3)]#

Get coefficients c for the wt-pct vs specific gravity equation

recession_rate(self: CSalt, sg: float) float#

Calculate the recession rate in ft/s for wall dissolution

set_recession_rate_coeff(self: CSalt, a: Annotated[list[float], FixedSize(6)]) None#

Set coefficients a [n=6] for the recession rate equation

set_saturated_sg(self: CSalt, sg: float) None#

Set the maximum sg of saturated brine

set_solid_density(self: CSalt, rho: float) None#

Set the density (g/cc) of the rock salt

set_wt_pct_sg_coeff(self: CSalt, c: Annotated[list[float], FixedSize(3)]) None#

Set coefficients c [n=3] for the wt-pct vs specific gravity equation

sg_to_wt_pct(self: CSalt, sg: float, T: float = 75.0) float#

Convert specific gravity to weight-percent NaCl

wt_pct_to_sg(self: CSalt, wt: float, T: float = 75.0) float#

Convert weight-percent NaCl to specific gravity