from scp.base_melinder import BaseMelinder
[docs]
class PropyleneGlycol(BaseMelinder):
"""
A derived fluid class for propylene glycol and water mixtures
"""
[docs]
def coefficient_freezing(self) -> tuple:
return (
(-1.3250e01, -3.8200e-05, 7.8650e-07, -1.7330e-09),
(-6.6310e-01, 6.7740e-06, -6.2420e-08, -7.8190e-10),
(-1.0940e-02, 5.3320e-08, -4.1690e-09, 3.2880e-11),
(-2.2830e-04, -1.1310e-08, 1.9180e-10),
(-3.4090e-06, 8.0350e-11),
(1.4650e-08,),
)
[docs]
def coefficient_viscosity(self) -> tuple:
return (
(6.8370e-01, -3.0450e-02, 2.5250e-04, -1.3990e-06),
(3.3280e-02, -3.9840e-04, 4.3320e-06, -1.8600e-08),
(5.4530e-05, -8.6000e-08, -1.5930e-08, -4.4650e-11),
(-3.9000e-06, 1.0540e-07, -1.5890e-09),
(-1.5870e-08, 4.4750e-10),
(3.5640e-09,),
)
[docs]
def coefficient_specific_heat(self) -> tuple:
return (
(3.8820e03, 2.6990e00, -1.6590e-03, -1.0320e-05),
(-1.3040e01, 5.0700e-02, -4.7520e-05, 1.5220e-06),
(-1.5980e-01, 9.5340e-05, 1.1670e-05, -4.8700e-08),
(3.5390e-04, 3.1020e-05, -2.9500e-07),
(5.0000e-05, -7.1350e-07),
(-4.9590e-07,),
)
[docs]
def coefficient_conductivity(self) -> tuple:
return (
(4.5130e-01, 7.9550e-04, 3.4820e-08, -5.9660e-09),
(-4.7950e-03, -1.6780e-05, 8.9410e-08, 1.4930e-10),
(2.0760e-05, 1.5630e-07, -4.6150e-09, 9.8970e-12),
(-9.0830e-08, -2.5180e-09, 6.5430e-11),
(-5.9520e-10, -3.6050e-11),
(2.1040e-11,),
)
[docs]
def coefficient_density(self) -> tuple:
return (
(1.0180e03, -5.4060e-01, -2.6660e-03, 1.3470e-05),
(7.6040e-01, -9.4500e-03, 5.5410e-05, -1.3430e-07),
(-2.4980e-03, 2.7000e-05, -4.0180e-07, 3.3760e-09),
(-1.5500e-04, 2.8290e-06, -7.1750e-09),
(-1.1310e-06, -2.2210e-08),
(2.3420e-08,),
)
def __init__(self, x: float) -> None:
"""
Constructor for a propylene glycol mixture instance
@param x: Concentration fraction, from 0 to 0.6
"""
super().__init__(0.0, 100.0, x, 0.0, 0.6)
self.x_base = 30.7031
self.t_base = 32.7083
self.t_min = self.t_freeze = self.freeze_point(x)
@property
def fluid_name(self) -> str:
"""
Returns a descriptive title for this fluid
@return: "PropyleneGlycol"
"""
return "PropyleneGlycol"