diff --git a/dev/generate_headers.py b/dev/generate_headers.py index 4a88bb3b..f5c153e7 100644 --- a/dev/generate_headers.py +++ b/dev/generate_headers.py @@ -205,7 +205,7 @@ def combine_json(root_dir): master = [] - for file in glob.glob(os.path.join(root_dir,'dev','incompressible_liquids','*.json')): + for file in glob.glob(os.path.join(root_dir,'dev','incompressible_liquids','json','*.json')): path, file_name = os.path.split(file) fluid_name = file_name.split('.')[0] diff --git a/dev/incompressible_liquids/AEG.json b/dev/incompressible_liquids/AEG.json deleted file mode 100644 index 8a3b5163..00000000 --- a/dev/incompressible_liquids/AEG.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.53181e+02 - ], - [ - -9.14490e+01 - ], - [ - -1.32115e+02 - ], - [ - -9.94598e+01 - ] - ], - "type": "polynomial" - }, - "Tbase": 3.05650e+02, - "Tmax": 3.73150e+02, - "Tmin": 2.38150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 4.45374e+02, - -4.06786e+02, - 2.32588e+02, - -1.56913e+02, - -1.07428e+02, - 1.19226e+03 - ], - [ - 8.70681e-01, - -1.56046e+00, - 7.90936e-01, - -2.92692e-02, - -2.37209e-01, - 0.00000e+00 - ], - [ - -5.35276e-03, - 1.08291e-02, - -6.11730e-03, - 5.71603e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.56076e-07, - -6.13994e-06, - 3.17983e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.04734e+03, - 1.40448e+02, - -4.87056e+01, - 7.14169e+01, - 5.24585e+01, - -6.93396e+02 - ], - [ - -4.50505e-01, - -3.00158e-01, - -3.95261e-02, - 2.49626e-02, - -6.81758e-02, - 0.00000e+00 - ], - [ - -2.43270e-03, - -2.08438e-05, - 3.10835e-04, - -8.97971e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -3.72522e-09, - 1.04478e-06, - -4.39116e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "ASHRAE, Ethylene Glycol", - "mass2input": { - "coeffs": [ - [ - 3.25615e-01, - 9.78679e-01, - 1.49269e-01, - 3.63567e-02, - -3.46769e-01, - -1.01166e+00 - ] - ], - "type": "polynomial" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AEG", - "reference": "ASHRAE Fundamentals Handbook 2001, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.59655e+03, - -1.70707e+03, - -4.44754e+02, - -5.52792e+02, - -7.15906e+02, - 7.90530e+03 - ], - [ - 3.09689e+00, - 5.18438e+00, - -7.06138e-01, - 7.94989e-01, - -6.68939e-01, - 0.00000e+00 - ], - [ - -3.38864e-05, - 3.63972e-04, - 9.16994e-04, - -5.35982e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.17128e-07, - -2.45734e-06, - 1.41954e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 5.19337e+00, - 2.88130e+00, - 8.37439e-01, - -1.92963e+01, - -1.31098e+01, - 2.52859e+02 - ], - [ - -2.41085e-02, - -1.59301e-02, - -6.96121e-03, - -6.32225e-02, - -2.65148e-01, - 0.00000e+00 - ], - [ - 1.76448e-04, - 1.70879e-04, - -4.01434e-04, - -2.47710e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.31542e-06, - -1.74532e-06, - 9.97346e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.50000e-01, - "xid": 2, - "xmax": 6.00000e-01, - "xmin": 1.00000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AKF.json b/dev/incompressible_liquids/AKF.json deleted file mode 100644 index 29eaa264..00000000 --- a/dev/incompressible_liquids/AKF.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.42655e+02 - ], - [ - -6.22455e+01 - ], - [ - -3.62720e+01 - ], - [ - -3.81369e+01 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.78150e+02, - "Tmax": 3.23150e+02, - "Tmin": 2.33150e+02, - "TminPsat": 3.23150e+02, - "conductivity": { - "coeffs": [ - [ - 5.03033e-01, - -1.18124e-01, - 1.22604e-02, - -4.81554e-02, - -6.86435e-02, - -2.69198e-01 - ], - [ - 9.82231e-04, - -5.70913e-04, - 4.63187e-04, - -1.21107e-03, - -3.38279e-03, - 0.00000e+00 - ], - [ - 8.30321e-08, - -4.46942e-07, - 5.51279e-08, - -1.55146e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.12992e-09, - 1.03566e-08, - 4.48548e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.26379e+03, - 3.10829e+02, - -4.95857e+01, - 2.44750e+02, - 2.08703e+02, - 3.88899e+01 - ], - [ - -3.57604e-01, - -1.63231e-01, - 1.73516e-02, - -2.27169e-01, - -2.62087e-01, - 0.00000e+00 - ], - [ - -1.11454e-04, - 2.96450e-04, - -8.42446e-04, - -1.39887e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.06738e-05, - -3.30502e-05, - 1.52425e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Antifrogen KF, Potassium Formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AKF", - "reference": "Clariant GmbH Jan. 2000, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.86669e+00, - -1.20396e+00, - 1.01011e+00, - 3.36595e+00, - -3.83552e+00, - -1.96448e+01 - ], - [ - 1.31823e-03, - -1.75221e-03, - -6.87013e-03, - 7.79496e-03, - 2.83631e-02, - 0.00000e+00 - ], - [ - 1.66298e-07, - 3.29186e-06, - -1.40127e-05, - 6.37505e-06, - 0.00000e+00, - 0.00000e+00 - ], - [ - 5.92069e-09, - -3.28861e-08, - 2.92178e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.08527e+00, - 1.36617e+00, - 5.63719e-01, - 5.38741e-01, - 1.54431e+00, - 2.50128e+00 - ], - [ - -2.39090e-02, - -8.58392e-03, - 2.51336e-03, - 3.47628e-02, - -2.37824e-02, - 0.00000e+00 - ], - [ - 1.66964e-04, - -5.07638e-04, - 1.09707e-03, - -9.64705e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -6.71424e-06, - 5.30223e-06, - -3.46799e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 7.00000e-01, - "xid": 2, - "xmax": 1.00000e+00, - "xmin": 4.00000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AL.json b/dev/incompressible_liquids/AL.json deleted file mode 100644 index b9e1294a..00000000 --- a/dev/incompressible_liquids/AL.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.55606e+02 - ], - [ - -8.55434e+01 - ], - [ - -1.11262e+02 - ], - [ - -8.51004e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.93150e+02, - "Tmax": 3.53150e+02, - "Tmin": 2.33150e+02, - "TminPsat": 3.53150e+02, - "conductivity": { - "coeffs": [ - [ - 4.39309e-01, - -4.18248e-01, - 2.07942e-01, - 2.44072e-02, - -3.87048e-01, - 4.48292e-01 - ], - [ - 2.43917e-04, - -3.64724e-03, - 1.99310e-03, - 4.33674e-03, - -2.14561e-03, - 0.00000e+00 - ], - [ - -9.43748e-07, - 7.25046e-06, - -2.15644e-05, - 1.41520e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.09785e-08, - 3.80846e-08, - -9.68744e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.03427e+03, - 9.92541e+01, - -2.92974e+01, - -8.07054e+01, - -5.51870e+01, - -1.35767e+02 - ], - [ - -5.25649e-01, - -6.91564e-01, - -9.58106e-02, - 5.22262e-01, - 1.30731e+00, - 0.00000e+00 - ], - [ - -2.86157e-03, - 2.15927e-03, - 1.17377e-03, - 1.72686e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.26019e-05, - 3.89662e-06, - 3.78836e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Antifrogen L, Propylene Glycol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AL", - "reference": "Clariant GmbH Jan. 2000, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.80756e+00, - -1.52916e+00, - -1.26456e+00, - 1.31193e-01, - 6.29246e-01, - -4.30131e-01 - ], - [ - 2.19962e-03, - 8.68464e-03, - 1.96805e-03, - -1.06077e-02, - -6.66506e-03, - 0.00000e+00 - ], - [ - 3.01594e-06, - -2.83617e-05, - 3.90256e-06, - 8.05890e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.98685e-10, - 1.82859e-07, - 3.74653e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.41445e+00, - 4.28585e+00, - -8.09908e-01, - 1.39768e+00, - -1.47956e+01, - -4.04099e+01 - ], - [ - -3.87655e-02, - -3.41529e-02, - -1.09813e-02, - 9.44568e-02, - -6.68245e-02, - 0.00000e+00 - ], - [ - 2.97989e-04, - -3.17601e-05, - 1.61393e-03, - 1.44119e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.28331e-06, - -3.70486e-06, - -2.99608e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.50000e-01, - "xid": 2, - "xmax": 6.00000e-01, - "xmin": 1.00000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AN.json b/dev/incompressible_liquids/AN.json deleted file mode 100644 index 6952c856..00000000 --- a/dev/incompressible_liquids/AN.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.52420e+02 - ], - [ - -8.24572e+01 - ], - [ - -1.29295e+02 - ], - [ - -2.11010e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.93150e+02, - "Tmax": 3.53150e+02, - "Tmin": 2.33150e+02, - "TminPsat": 3.53150e+02, - "conductivity": { - "coeffs": [ - [ - 4.57783e-01, - -3.17736e-01, - 2.90675e-01, - -2.30276e-02, - -6.60398e-01, - -1.28956e+00 - ], - [ - 2.02498e-04, - -3.15006e-03, - 1.41191e-03, - 6.66716e-03, - -7.57305e-03, - 0.00000e+00 - ], - [ - 6.60426e-07, - -1.45577e-05, - -5.78443e-07, - 7.74864e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -8.72899e-09, - 7.36889e-08, - -1.23574e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.05794e+03, - 1.70264e+02, - -3.87552e+01, - -1.98696e+02, - 1.60669e+02, - 1.13505e+03 - ], - [ - -4.01555e-01, - -6.80156e-01, - -1.31669e-01, - 2.80752e-01, - -1.00194e+00, - 0.00000e+00 - ], - [ - -2.78910e-03, - 4.65307e-03, - 3.92360e-05, - 3.33566e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 6.10953e-06, - -4.77509e-06, - 4.96236e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Antifrogen N, Ethylene Glycol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AN", - "reference": "Clariant GmbH Jan. 2000, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.62977e+00, - -2.07088e+00, - -5.08384e-01, - 4.62370e+00, - 1.64094e+00, - -1.78289e+01 - ], - [ - 1.86500e-03, - 9.42382e-03, - 6.03989e-03, - -4.06848e-02, - -3.63437e-02, - 0.00000e+00 - ], - [ - 6.86292e-06, - -1.56638e-05, - -8.62796e-05, - 2.41699e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.50858e-08, - -9.80426e-08, - 6.54037e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.03551e+00, - 2.74051e+00, - 1.48402e+00, - 6.39522e+00, - -8.82785e+00, - -4.96015e+01 - ], - [ - -3.01333e-02, - -1.79247e-02, - -5.96455e-02, - 6.70173e-02, - 4.14554e-01, - 0.00000e+00 - ], - [ - 2.65215e-04, - 6.09376e-04, - -6.49731e-04, - -2.67949e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.12877e-06, - -6.85323e-06, - 1.77008e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.50000e-01, - "xid": 2, - "xmax": 6.00000e-01, - "xmin": 1.00000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/APG.json b/dev/incompressible_liquids/APG.json deleted file mode 100644 index d5d71a73..00000000 --- a/dev/incompressible_liquids/APG.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.56287e+02 - ], - [ - -8.34536e+01 - ], - [ - -1.65094e+02 - ], - [ - -1.84857e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 3.05650e+02, - "Tmax": 3.73150e+02, - "Tmin": 2.38150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 4.32977e+02, - -4.53555e+02, - 1.84501e+02, - -2.43521e+02, - 6.26649e+01, - 1.89136e+03 - ], - [ - 7.33887e-01, - -1.96685e+00, - 9.86140e-01, - -1.81757e-02, - -1.62875e+00, - 0.00000e+00 - ], - [ - -5.42417e-03, - 1.10080e-02, - -3.75481e-03, - 5.47669e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 5.87975e-07, - -6.77723e-07, - -2.21307e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.02618e+03, - 7.25368e+01, - -6.53255e+01, - 3.46657e+01, - -1.58278e+01, - -2.13988e+02 - ], - [ - -5.35006e-01, - -5.05630e-01, - 1.75128e-01, - -9.23330e-02, - 2.87743e-02, - 0.00000e+00 - ], - [ - -2.56616e-03, - -1.70358e-04, - 1.16589e-03, - -2.07517e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -5.17733e-09, - 9.67318e-09, - 3.36886e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "ASHRAE, Propylene Glycol", - "mass2input": { - "coeffs": [ - [ - 3.44491e-01, - 1.01746e+00, - 1.07297e-01, - -6.23239e-02, - -8.16893e-01, - -1.55261e+00 - ] - ], - "type": "polynomial" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "APG", - "reference": "ASHRAE Fundamentals Handbook 2001, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.81539e+03, - -1.39188e+03, - -1.12140e+03, - -4.19394e+02, - -2.43530e+02, - 4.05415e+03 - ], - [ - 3.02575e+00, - 5.55861e+00, - -1.07339e-01, - 5.29072e-01, - -2.26208e+00, - 0.00000e+00 - ], - [ - 4.16534e-05, - -9.03207e-05, - -3.39217e-03, - 1.07947e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.30948e-07, - -1.33518e-06, - 3.53890e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 5.48710e+00, - 3.57366e+00, - -1.99521e+00, - -6.42511e+00, - 3.60195e+01, - 5.35088e+01 - ], - [ - -3.28440e-02, - -3.83834e-02, - 8.22353e-02, - 1.52079e-02, - -1.12374e+00, - 0.00000e+00 - ], - [ - 2.49201e-04, - 3.52989e-04, - -5.11955e-04, - -6.57229e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.15577e-06, - -1.21654e-06, - 3.23012e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.50000e-01, - "xid": 2, - "xmax": 6.00000e-01, - "xmin": 1.00000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AS10.json b/dev/incompressible_liquids/AS10.json deleted file mode 100644 index 54434339..00000000 --- a/dev/incompressible_liquids/AS10.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.03150e+02, - "Tmin": -10, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 5.14259e-01 - ], - [ - 1.48300e-03 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.09000e+03 - ], - [ - -2.00000e-01 - ], - [ - 1.66533e-16 - ], - [ - -1.89735e-18 - ] - ], - "type": "polynomial" - }, - "description": "Aspen Temper -10, Potassium acetate/formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AS10", - "reference": "Aspen Petroleum AB, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.54183e+03 - ], - [ - 2.01000e+00 - ], - [ - -1.32589e-02 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 2.80155e+00 - ], - [ - -1.06314e-01 - ], - [ - 2.35381e-03 - ], - [ - -2.11481e-05 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 3, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AS20.json b/dev/incompressible_liquids/AS20.json deleted file mode 100644 index 0c7be261..00000000 --- a/dev/incompressible_liquids/AS20.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.03150e+02, - "Tmin": -20, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 4.80766e-01 - ], - [ - 1.34200e-03 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.14700e+03 - ], - [ - -2.21429e-01 - ], - [ - -1.42857e-03 - ], - [ - 2.98156e-19 - ] - ], - "type": "polynomial" - }, - "description": "Aspen Temper -20, Potassium acetate/formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AS20", - "reference": "Aspen Petroleum AB, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.26252e+03 - ], - [ - 2.86000e+00 - ], - [ - -1.22673e-02 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.35858e+00 - ], - [ - -4.17551e-02 - ], - [ - 8.14818e-05 - ], - [ - 1.60342e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 3, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AS30.json b/dev/incompressible_liquids/AS30.json deleted file mode 100644 index 6ad58f2e..00000000 --- a/dev/incompressible_liquids/AS30.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.03150e+02, - "Tmin": -30, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 4.60388e-01 - ], - [ - 1.25600e-03 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.18386e+03 - ], - [ - -3.10859e-01 - ], - [ - -1.03896e-03 - ], - [ - 1.76768e-05 - ] - ], - "type": "polynomial" - }, - "description": "Aspen Temper -30, Potassium acetate/formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AS30", - "reference": "Aspen Petroleum AB, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.07504e+03 - ], - [ - 2.99000e+00 - ], - [ - -2.70232e-02 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.55518e+00 - ], - [ - -4.51874e-02 - ], - [ - 9.74090e-05 - ], - [ - 1.86342e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 3, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AS40.json b/dev/incompressible_liquids/AS40.json deleted file mode 100644 index 7698f374..00000000 --- a/dev/incompressible_liquids/AS40.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.03150e+02, - "Tmin": -40, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 4.43327e-01 - ], - [ - 1.09900e-03 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.21484e+03 - ], - [ - -3.78199e-01 - ], - [ - -1.09307e-03 - ], - [ - 1.68350e-05 - ] - ], - "type": "polynomial" - }, - "description": "Aspen Temper -40, Potassium acetate/formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AS40", - "reference": "Aspen Petroleum AB, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.97788e+03 - ], - [ - 2.28000e+00 - ], - [ - -3.87227e-02 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.73307e+00 - ], - [ - -5.42737e-02 - ], - [ - 2.78602e-04 - ], - [ - 4.99909e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 3, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/AS55.json b/dev/incompressible_liquids/AS55.json deleted file mode 100644 index 3711e17e..00000000 --- a/dev/incompressible_liquids/AS55.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.03150e+02, - "Tmin": -55, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 4.25799e-01 - ], - [ - 9.37902e-04 - ], - [ - 2.28700e-06 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.24975e+03 - ], - [ - -4.76296e-01 - ], - [ - -1.17189e-03 - ], - [ - 1.98824e-05 - ] - ], - "type": "polynomial" - }, - "description": "Aspen Temper -55, Potassium acetate/formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "AS55", - "reference": "Aspen Petroleum AB, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.83985e+03 - ], - [ - 2.29000e+00 - ], - [ - -2.48618e-02 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.79891e+00 - ], - [ - -6.30089e-02 - ], - [ - 4.30552e-04 - ], - [ - 7.31131e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 3, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/CPIncomp/BaseObjects.py b/dev/incompressible_liquids/CPIncomp/BaseObjects.py index e33b2e30..ec64c73f 100644 --- a/dev/incompressible_liquids/CPIncomp/BaseObjects.py +++ b/dev/incompressible_liquids/CPIncomp/BaseObjects.py @@ -2,6 +2,7 @@ from __future__ import division, print_function import numpy as np from scipy.optimize._minimize import minimize from scipy.optimize.minpack import curve_fit +import sys # Here we define the types. This is done to keep the definitions at one # central place instead of hiding them somewhere in the data. @@ -15,11 +16,17 @@ class IncompressibleData(object): def __init__(self): self.INCOMPRESSIBLE_NOT_SET = 'notdefined' self.INCOMPRESSIBLE_POLYNOMIAL = 'polynomial' - self.INCOMPRESSIBLE_EXPONENTIAL = 'exponential' self.INCOMPRESSIBLE_EXPPOLYNOMIAL = 'exppolynomial' - self.INCOMPRESSIBLE_EXPOFFSET = 'expoffset' + self.INCOMPRESSIBLE_EXPONENTIAL = 'exponential' self.INCOMPRESSIBLE_POLYOFFSET = 'polyoffset' self.INCOMPRESSIBLE_CHEBYSHEV = 'chebyshev' + + self.SOURCE_DATA = 'data' + self.SOURCE_EQUATION = 'equation' + self.SOURCE_COEFFS = 'coefficients' + self.SOURCE_NOT_SET = 'notdefined' + + self.source = self.SOURCE_NOT_SET self.type = self.INCOMPRESSIBLE_NOT_SET self.coeffs = None #np.zeros((4,4)) self.data = None # None #np.zeros((10,10)) @@ -39,20 +46,16 @@ class IncompressibleData(object): return np.polynomial.polynomial.polyval2d(x-xbase, y-ybase, c) elif self.type==self.INCOMPRESSIBLE_POLYOFFSET: - if y!=0.0: raise ValueError("This is 1D only, use x not y.") + #if y!=0.0: raise ValueError("This is 1D only, use x not y.") return self.basePolyOffset(c, x) # offset included in coeffs elif self.type==self.INCOMPRESSIBLE_EXPONENTIAL: - if y!=0.0: raise ValueError("This is 1D only, use x not y.") - return self.baseExponential(c, x-xbase) + #if y!=0.0: raise ValueError("This is 1D only, use x not y.") + return self.baseExponential(c, x) elif self.type==self.INCOMPRESSIBLE_EXPPOLYNOMIAL: return np.exp(np.polynomial.polynomial.polyval2d(x-xbase, y-ybase, c)) - elif self.type==self.INCOMPRESSIBLE_EXPOFFSET: - if y!=0.0: raise ValueError("This is 1D only, use x not y.") - return self.baseExponentialOffset(c, x-xbase) - else: raise ValueError("Unknown function: {0}.".format(self.type)) @@ -63,15 +66,6 @@ class IncompressibleData(object): raise ValueError("You have to provide a 3,1 matrix of coefficients, not ({0},{1}).".format(r,c)) coeffs_tmp = np.array(coeffs.flat) return np.exp(np.clip( (coeffs_tmp[0]/ ( x+coeffs_tmp[1] ) - coeffs_tmp[2]),self.minLog,self.maxLog)) - - - def baseExponentialOffset(self, c, x): - raise ValueError("Function not implemented.") - r,c,coeffs = self.shapeArray(c) - if not ( (r==4 and c==1) or (r==1 and c==4) ): - raise ValueError("You have to provide a 4,1 matrix of coefficients, not ({0},{1}).".format(r,c)) - coeffs_tmp = np.array(coeffs.flat) - return np.exp(np.clip( (coeffs_tmp[1]/ ( x-coeffs_tmp[0]+coeffs_tmp[2]) - coeffs_tmp[3]),self.minLog,self.maxLog)) def basePolyOffset(self, co, x): @@ -79,7 +73,7 @@ class IncompressibleData(object): if not ( c==1 or r==1 ): raise ValueError("You have to provide a 1D vector of coefficients, not ({0},{1}).".format(r,c)) offset = coeffs[0][0] - coeffs = np.array(coeffs.flat)[1:c] + coeffs = np.array(coeffs.flat)[1:] return np.polynomial.polynomial.polyval(x-offset, coeffs) @@ -138,30 +132,36 @@ class IncompressibleData(object): if (yr!=1): raise ValueError("The second input has to be a 2D array with one row.") if (xr!=dr): raise ValueError("First independent vector and result vector have to have the same number of rows, {0} is not {1}.".format(xr,dr)) if (yc!=dc): raise ValueError("Second independent vector and result vector have to have the same number of columns, {0} is not {1}.".format(yc,dc)) - - cr,cc,_ = self.shapeArray(self.coeffs) - if self.DEBUG: print("Coefficients: ({0},{1})".format(cr,cc)) - if (xr==1 and xc==1 and cr>1): - if self.DEBUG: print("Discarding coefficient rows, {0} -> {1}".format(cr,xr)) - self.coeffs = self.coeffs[0] - self.coeffs = self.coeffs.reshape((1,cc)) - if (yr==1 and yc==1 and cc>1): - if self.DEBUG: print("Discarding coefficient columns, {0} -> {1}".format(cc,yc)) - self.coeffs = self.coeffs.T[0] - self.coeffs = self.coeffs.reshape((cr,1)) - cr,cc,_ = self.shapeArray(self.coeffs) - + if self.DEBUG: print("Coefficients before fitting: \n{0}".format(self.coeffs)) # Polynomial fitting works for both 1D and 2D functions if self.type==self.INCOMPRESSIBLE_POLYNOMIAL or self.type==self.INCOMPRESSIBLE_EXPPOLYNOMIAL: + + cr,cc,_ = self.shapeArray(self.coeffs) + if self.DEBUG: print("Coefficients: ({0},{1})".format(cr,cc)) + if (xr==1 and xc==1 and cr>1): + if self.DEBUG: print("Discarding coefficient rows, {0} -> {1}".format(cr,xr)) + self.coeffs = self.coeffs[0] + self.coeffs = self.coeffs.reshape((1,cc)) + if (yr==1 and yc==1 and cc>1): + if self.DEBUG: print("Discarding coefficient columns, {0} -> {1}".format(cc,yc)) + self.coeffs = self.coeffs.T[0] + self.coeffs = self.coeffs.reshape((cr,1)) + cr,cc,_ = self.shapeArray(self.coeffs) + if self.DEBUG: print("polynomial detected, fitting {0}".format(self.type)) if cr==1 and cc==1: if self.DEBUG: print("No coefficients left to fit, aborting procedure.") self.coeffs = np.array([[0.0]]) return - if (xrtolStart: - # print "Refitting with new guesses and original tolerance of "+str(tolStart) - # res = minimize(fun, res.x, method=method, args=arguments, tol=tolStart) - - if res.success: - success = True - return res.x - else: - print("Fit failed for "+fit[counter]+": ") - print("Using "+str(fit[counter+1])+" as a fall-back.") - print(res) + try: + res = minimize(fun, coeffs_start, method=algorithm, args=arguments, tol=tolerance) + if res.success: + success = True + if self.DEBUG: print("Fit succeeded with: {0}".format(algorithm)) + return res.x + else: + print("Fit failed for {0}.".format(algorithm)) + sys.stdout.flush() + success = False + except RuntimeError as e: + print("Exception using "+algorithm+": "+str(e)) + sys.stdout.flush() success = False - + # Something went wrong, probably a typo in the algorithm selector else: raise (ValueError("Error: You used an unknown fit method.")) + + if counter xp[-1]]= yp[-1] + (x[x>xp[-1]]-xp[-1])*(yp[-1]-yp[-2])/(xp[-1]-xp[-2]) + # return y + + + + def fitFluid(self): std_coeffs = np.zeros((4,6)) errList = (ValueError, AttributeError, TypeError, RuntimeError) @@ -59,8 +106,10 @@ class SecCoolSolutionData(DigitalData): self.concentration.data = None self.density.data = self.getArray(data='Rho') self.density.coeffs = np.copy(std_coeffs) + self.density.source = self.density.SOURCE_DATA self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.fitCoeffs(tempData,concData,self.Tbase,self.xbase) + self.density.data = self.interp(tempData, concData, self.density.data) except errList as ve: if self.density.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(self.name,'density',ve)) pass @@ -69,11 +118,13 @@ class SecCoolSolutionData(DigitalData): self.temperature.data = None self.concentration.data = None self.specific_heat.data = self.getArray(data='Cp') - while np.max(self.specific_heat.data)<100: # Expect values around 1e3 + while np.max(self.specific_heat.data[np.isfinite(self.specific_heat.data)])<500: # Expect values around 1e3 self.specific_heat.data *= 1e3 self.specific_heat.coeffs = np.copy(std_coeffs) + self.specific_heat.source = self.specific_heat.SOURCE_DATA self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.fitCoeffs(tempData,concData,self.Tbase,self.xbase) + self.specific_heat.data = self.interp(tempData, concData, self.specific_heat.data) except errList as ve: if self.specific_heat.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(self.name,'specific heat',ve)) pass @@ -82,11 +133,13 @@ class SecCoolSolutionData(DigitalData): self.temperature.data = None self.concentration.data = None self.conductivity.data = self.getArray(data='Cond') - while np.max(self.conductivity.data)>10: # Expect value below 1 + while np.max(self.conductivity.data[np.isfinite(self.conductivity.data)])>10: # Expect value below 1 self.conductivity.data *= 1e-3 self.conductivity.coeffs = np.copy(std_coeffs) + self.conductivity.source = self.conductivity.SOURCE_DATA self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.fitCoeffs(tempData,concData,self.Tbase,self.xbase) + self.conductivity.data = self.interp(tempData, concData, self.conductivity.data) except errList as ve: if self.conductivity.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(self.name,'conductivity',ve)) pass @@ -95,11 +148,13 @@ class SecCoolSolutionData(DigitalData): self.temperature.data = None self.concentration.data = None self.viscosity.data = self.getArray(data='Mu') - while np.max(self.viscosity.data)>100: # Expect value below 10 + while np.max(self.viscosity.data[np.isfinite(self.viscosity.data)])>100: # Expect value below 10 self.viscosity.data *= 1e-3 self.viscosity.coeffs = np.copy(std_coeffs) + self.viscosity.source = self.viscosity.SOURCE_DATA self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL self.viscosity.fitCoeffs(tempData,concData,self.Tbase,self.xbase) + self.viscosity.data = self.interp(tempData, concData, self.viscosity.data) except errList as ve: if self.viscosity.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(self.name,'viscosity',ve)) pass @@ -113,11 +168,19 @@ class SecCoolSolutionData(DigitalData): Tfreeze_T = self.getArray(data='TFreeze') if np.min(Tfreeze_T)<150: Tfreeze_T += 273.15 Tfreeze_x = (self.temperature.data - 273.15) / 100.0 - self.T_freeze.data = Tfreeze_T - try: - self.T_freeze.coeffs = np.copy(std_coeffs) - self.T_freeze.type = self.T_freeze.INCOMPRESSIBLE_POLYNOMIAL - self.T_freeze.fitCoeffs(Tfreeze_x,0.0,self.xbase,0.0) + self.T_freeze.data = Tfreeze_T.T + self.temperature.data = [0.0] + self.concentration.data = Tfreeze_x + try: + self.T_freeze.source = self.T_freeze.SOURCE_DATA + if np.isfinite(self.T_freeze.data).sum()<0: + self.T_freeze.coeffs = np.array([+7e+6, +6e+4, +1e+1]) + self.T_freeze.type = self.T_freeze.INCOMPRESSIBLE_EXPONENTIAL + else: + self.T_freeze.coeffs = np.zeros(np.round(np.array(std_coeffs.shape) * 2)) + self.T_freeze.type = self.T_freeze.INCOMPRESSIBLE_EXPPOLYNOMIAL + self.T_freeze.fitCoeffs([0.0],Tfreeze_x,0.0,self.xbase) + self.T_freeze.data = self.interp([0.0], concData, self.T_freeze.data) except errList as ve: if self.T_freeze.DEBUG: print("{0}: Could not fit {1} coefficients: {2}".format(self.name,"T_freeze",ve)) pass @@ -133,6 +196,7 @@ class SecCoolSolutionData(DigitalData): #_,_,massData = IncompressibleData.shapeArray(massData,axs=1) try: self.mass2input.coeffs = np.copy(std_coeffs) + self.mass2input.source = self.mass2input.SOURCE_DATA self.mass2input.type = self.mass2input.INCOMPRESSIBLE_POLYNOMIAL self.mass2input.fitCoeffs([self.Tbase],massData,self.Tbase,self.xbase) except errList as ve: @@ -143,6 +207,7 @@ class SecCoolSolutionData(DigitalData): #_,_,volData = IncompressibleData.shapeArray(volData,axs=1) try: self.volume2input.coeffs = np.copy(std_coeffs) + self.volume2input.source = self.volume2input.SOURCE_DATA self.volume2input.type = self.volume2input.INCOMPRESSIBLE_POLYNOMIAL self.volume2input.fitCoeffs([self.Tbase],volData,self.Tbase,self.xbase) except errList as ve: @@ -332,12 +397,15 @@ class ThermogenVP1869(PureData,DigitalData): self.Tbase = 0.00 + 273.15 + self.density.source = self.density.SOURCE_COEFFS self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[945.5454545],[-1.054545455]]) + self.specific_heat.source = self.specific_heat.SOURCE_COEFFS self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.coeffs = np.array([[2.322218182],[0.003843636]])*1000 + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[0.15],[-0.000154545]]) @@ -353,6 +421,7 @@ class ThermogenVP1869(PureData,DigitalData): (1+T*(0.034502393+T*(0.000401319+1.57288E-06*T)))*1e-2 self.viscosity.data = self.getArray(funcMu,key) + self.viscosity.source = self.viscosity.SOURCE_EQUATION self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL try: self.viscosity.coeffs = np.zeros((4,6)) @@ -384,9 +453,11 @@ class Freezium(DigitalData): self.temperature.data = self.getTrange() self.concentration.data = self.getxrange() - self.density.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL + self.density.source = self.density.SOURCE_COEFFS + self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[1015,462,406],[-40/100.0,0.0,0.0]]) + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[0.55,-0.15],[0.18/100.0,-0.16/100.0]]) @@ -399,6 +470,7 @@ class Freezium(DigitalData): return (4.15*np.exp(-0.9*x)+0.63*T*x)*1000.0 self.specific_heat.data = self.getArray(funcCp,key) + self.specific_heat.source = self.specific_heat.SOURCE_EQUATION self.specific_heat.type = self.viscosity.INCOMPRESSIBLE_POLYNOMIAL try: self.specific_heat.coeffs = np.zeros((4,6)) @@ -416,6 +488,7 @@ class Freezium(DigitalData): return self.rho(T, 1e6, x)*np.power(10,result)*1E-3; self.viscosity.data = self.getArray(funcMu,key) + self.viscosity.source = self.viscosity.SOURCE_EQUATION self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL try: self.viscosity.coeffs = np.zeros((4,6)) @@ -443,23 +516,20 @@ class Freezium(DigitalData): return ((a+x*(c+x*(e+x*(g+i*x))))/(1+x*(b+x*(d+x*(f+x*(h+j*x)))))*100)+273.15 # Change the coefficients for TFreeze - self.temperature.data = self.getxrange() - self.concentration.data = np.array([0.0]) self.T_freeze.data = self.getArray(funcTf,key) - self.temperature.data = self.getTrange() - self.concentration.data = self.getxrange() - self.T_freeze.type = self.viscosity.INCOMPRESSIBLE_POLYNOMIAL - try: self.T_freeze.coeffs = np.zeros((4,6)) + self.T_freeze.source = self.T_freeze.SOURCE_EQUATION self.T_freeze.type = self.T_freeze.INCOMPRESSIBLE_POLYNOMIAL - self.T_freeze.fitCoeffs(self.concentration.data,0.0,self.xbase,0.0) + self.T_freeze.fitCoeffs(0.0,self.concentration.data,0.0,self.xbase) + self.T_freeze.data = self.interp([0.0], self.concentration.data, self.T_freeze.data) except (ValueError, AttributeError, TypeError, RuntimeError) as e: if self.T_freeze.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(self.name,'T freeze',e)) pass funcTf = None + class AS10(PureData,DigitalData): def __init__(self): @@ -470,21 +540,26 @@ class AS10(PureData,DigitalData): self.reference = "Aspen Petroleum AB, SecCool software" self.Tmax = 30 + 273.15 - self.Tmin = -10 + self.Tmin = -10 + 273.15 self.TminPsat = self.Tmax self.Tbase = 0.00 + 273.15 self.temperature.data = self.getTrange() self.concentration.data = np.array([0]) # mass fraction + self.xid = self.ifrac_pure + self.density.source = self.density.SOURCE_COEFFS self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[-1.89735e-18],[+ 1.66533e-16],[- 0.2],[+ 1090]])[::-1] + self.specific_heat.source = self.specific_heat.SOURCE_COEFFS self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.coeffs = np.array([[-0.0132589],[+ 2.01],[+ 3541.83]])[::-1] + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[0.001483],[+ 0.514259]])[::-1] + self.viscosity.source = self.viscosity.SOURCE_COEFFS self.viscosity.type = self.viscosity.INCOMPRESSIBLE_POLYNOMIAL self.viscosity.coeffs = np.array([[-2.11481e-5],[+ 0.00235381],[- 0.10631376],[+ 2.80154921]])[::-1] @@ -503,18 +578,22 @@ class AS20(PureData,DigitalData): self.reference = "Aspen Petroleum AB, SecCool software" self.Tmax = 30 + 273.15 - self.Tmin = -20 + self.Tmin = -20 + 273.15 self.TminPsat = self.Tmax self.Tbase = 0.00 + 273.15 self.temperature.data = self.getTrange() self.concentration.data = np.array([0]) # mass fraction + self.xid = self.ifrac_pure + self.density.source = self.density.SOURCE_COEFFS self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[2.98156e-19],[- 0.00142857],[- 0.22142857],[+ 1147]])[::-1] + self.specific_heat.source = self.specific_heat.SOURCE_COEFFS self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.coeffs = np.array([[-0.0122673],[+ 2.86],[+ 3262.52]])[::-1] + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[0.001342],[+ 0.480766]])[::-1] @@ -526,6 +605,7 @@ class AS20(PureData,DigitalData): return 2.43708721027941*np.exp(-0.0537593944541809*T) + 0.97244 self.viscosity.data = self.getArray(funcMu,key) + self.viscosity.source = self.viscosity.SOURCE_EQUATION self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL try: self.viscosity.coeffs = np.zeros((4,6)) @@ -547,18 +627,22 @@ class AS30(PureData,DigitalData): self.reference = "Aspen Petroleum AB, SecCool software" self.Tmax = 30 + 273.15 - self.Tmin = -30 + self.Tmin = -30 + 273.15 self.TminPsat = self.Tmax self.Tbase = 0.00 + 273.15 self.temperature.data = self.getTrange() self.concentration.data = np.array([0]) # mass fraction + self.xid = self.ifrac_pure + self.density.source = self.density.SOURCE_COEFFS self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[1.76768e-5],[- 0.00103896],[- 0.31085859],[+ 1183.85930736]])[::-1] + self.specific_heat.source = self.specific_heat.SOURCE_COEFFS self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.coeffs = np.array([[-0.0270232],[+ 2.99],[+ 3075.04]])[::-1] + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[0.001256],[+ 0.460388]])[::-1] @@ -570,6 +654,7 @@ class AS30(PureData,DigitalData): return 2.65653950695888*np.exp(-0.0598806339442954*T) + 1.30143 self.viscosity.data = self.getArray(funcMu,key) + self.viscosity.source = self.viscosity.SOURCE_EQUATION self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL try: self.viscosity.coeffs = np.zeros((4,6)) @@ -591,18 +676,22 @@ class AS40(PureData,DigitalData): self.reference = "Aspen Petroleum AB, SecCool software" self.Tmax = 30 + 273.15 - self.Tmin = -40 + self.Tmin = -40 + 273.15 self.TminPsat = self.Tmax self.Tbase = 0.00 + 273.15 self.temperature.data = self.getTrange() self.concentration.data = np.array([0]) # mass fraction + self.xid = self.ifrac_pure + self.density.source = self.density.SOURCE_COEFFS self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[1.6835e-5],[- 0.00109307],[- 0.37819865],[+ 1214.83982684]])[::-1] + self.specific_heat.source = self.specific_heat.SOURCE_COEFFS self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.coeffs = np.array([[-0.0387227],[+ 2.28],[+ 2977.88]])[::-1] + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[0.001099],[+ 0.443327]])[::-1] @@ -613,6 +702,7 @@ class AS40(PureData,DigitalData): return 0.714976365635003*np.exp(-0.100050525515385*T) + 4.38768154440393*np.exp(-0.0260039000649317*T) self.viscosity.data = self.getArray(funcMu,key) + self.viscosity.source = self.viscosity.SOURCE_EQUATION self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL try: self.viscosity.coeffs = np.zeros((4,6)) @@ -634,18 +724,22 @@ class AS55(PureData,DigitalData): self.reference = "Aspen Petroleum AB, SecCool software" self.Tmax = 30 + 273.15 - self.Tmin = -55 + self.Tmin = -55 + 273.15 self.TminPsat = self.Tmax self.Tbase = 0.00 + 273.15 self.temperature.data = self.getTrange() self.concentration.data = np.array([0]) # mass fraction + self.xid = self.ifrac_pure + self.density.source = self.density.SOURCE_COEFFS self.density.type = self.density.INCOMPRESSIBLE_POLYNOMIAL self.density.coeffs = np.array([[1.98824e-5],[- 0.00117189],[- 0.47629615],[+ 1249.7534665]])[::-1] + self.specific_heat.source = self.specific_heat.SOURCE_COEFFS self.specific_heat.type = self.specific_heat.INCOMPRESSIBLE_POLYNOMIAL self.specific_heat.coeffs = np.array([[-0.0248618],[+ 2.29],[+ 2839.85]])[::-1] + self.conductivity.source = self.conductivity.SOURCE_COEFFS self.conductivity.type = self.conductivity.INCOMPRESSIBLE_POLYNOMIAL self.conductivity.coeffs = np.array([[2.287e-6],[+ 0.000937902],[+ 0.425799423]])[::-1] @@ -657,6 +751,7 @@ class AS55(PureData,DigitalData): return 0.159583223482554*np.exp(-0.138097704125669*T) + 6.3176967296442*np.exp(-0.0380509974688477*T) self.viscosity.data = self.getArray(funcMu,key) + self.viscosity.source = self.viscosity.SOURCE_EQUATION self.viscosity.type = self.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL try: self.viscosity.coeffs = np.zeros((4,6)) diff --git a/dev/incompressible_liquids/CPIncomp/WriterObjects.py b/dev/incompressible_liquids/CPIncomp/WriterObjects.py index 41a42892..1ec8cfdb 100644 --- a/dev/incompressible_liquids/CPIncomp/WriterObjects.py +++ b/dev/incompressible_liquids/CPIncomp/WriterObjects.py @@ -1,7 +1,12 @@ from __future__ import division, print_function import numpy as np -import hashlib, os, json +import hashlib, os, json, sys +import matplotlib.pyplot as plt +import matplotlib.gridspec as gridspec +from CPIncomp.DataObjects import SolutionData +from CPIncomp.BaseObjects import IncompressibleData +from matplotlib.patches import Rectangle class SolutionDataWriter(object): """ @@ -55,19 +60,41 @@ class SolutionDataWriter(object): pass try: - fluidObject.viscosity.coeffs = np.copy(std_coeffs) - fluidObject.viscosity.type = fluidObject.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL + if len(concData)==1 and np.isfinite(fluidObject.viscosity.data).sum()<10: + fluidObject.viscosity.coeffs = np.array([+7e+2, -6e+1, +1e+1]) + fluidObject.viscosity.type = fluidObject.viscosity.INCOMPRESSIBLE_EXPONENTIAL + else: + fluidObject.viscosity.coeffs = np.zeros(np.round(np.array(std_coeffs.shape) * 2)) + fluidObject.viscosity.type = fluidObject.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL + #fluidObject.viscosity.coeffs = np.copy(std_coeffs) + #fluidObject.viscosity.type = fluidObject.viscosity.INCOMPRESSIBLE_EXPPOLYNOMIAL fluidObject.viscosity.fitCoeffs(tempData,concData,fluidObject.Tbase,fluidObject.xbase) except errList as ve: if fluidObject.viscosity.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(fluidObject.name,'viscosity',ve)) pass + try: + if len(concData)==1 and np.isfinite(fluidObject.saturation_pressure.data).sum()<10: + fluidObject.saturation_pressure.coeffs = np.array([-5e+3, +6e+1, -1e+1]) + fluidObject.saturation_pressure.type = fluidObject.saturation_pressure.INCOMPRESSIBLE_EXPONENTIAL + else: + fluidObject.saturation_pressure.coeffs = np.zeros(np.round(np.array(std_coeffs.shape) * 2)) + fluidObject.saturation_pressure.type = fluidObject.saturation_pressure.INCOMPRESSIBLE_EXPPOLYNOMIAL + fluidObject.saturation_pressure.fitCoeffs(tempData,concData,fluidObject.Tbase,fluidObject.xbase) + except errList as ve: + if fluidObject.saturation_pressure.DEBUG: print("{0}: Could not fit polynomial {1} coefficients: {2}".format(fluidObject.name,'saturation pressure',ve)) + pass + # reset data for getArray and read special files if fluidObject.xid!=fluidObject.ifrac_pure and fluidObject.xid!=fluidObject.ifrac_undefined: - try: - fluidObject.T_freeze.coeffs = np.copy(std_coeffs) - fluidObject.T_freeze.type = fluidObject.T_freeze.INCOMPRESSIBLE_POLYNOMIAL - fluidObject.T_freeze.fitCoeffs(concData,0.0,fluidObject.xbase,0.0) + try: + if np.isfinite(fluidObject.T_freeze.data).sum()<0: + fluidObject.T_freeze.coeffs = np.array([+7e+2, -6e+1, +1e+1]) + fluidObject.T_freeze.type = fluidObject.T_freeze.INCOMPRESSIBLE_EXPONENTIAL + else: + fluidObject.T_freeze.coeffs = np.zeros(np.round(np.array(std_coeffs.shape) * 2)) + fluidObject.T_freeze.type = fluidObject.T_freeze.INCOMPRESSIBLE_EXPPOLYNOMIAL + fluidObject.T_freeze.fitCoeffs(0.0,concData,0.0,fluidObject.xbase) except errList as ve: if fluidObject.T_freeze.DEBUG: print("{0}: Could not fit {1} coefficients: {2}".format(fluidObject.name,"T_freeze",ve)) pass @@ -147,7 +174,7 @@ class SolutionDataWriter(object): original_float_repr = json.encoder.FLOAT_REPR #print json.dumps(1.0001) - stdFmt = " .{0}e".format(int(data.significantDigits-1)) + stdFmt = "1.{0}e".format(int(data.significantDigits-1)) #pr = np.finfo(float).eps * 10.0 #pr = np.finfo(float).precision - 2 # stay away from numerical precision #json.encoder.FLOAT_REPR = lambda o: format(np.around(o,decimals=pr), stdFmt) @@ -165,12 +192,11 @@ class SolutionDataWriter(object): hashes[name] != hash: # update hashes and write file hashes[name] = hash - self.write_hashes(hashes) - - fp = open(name+'.json', 'w') + self.write_hashes(hashes) + path = os.path.join("json",name+'.json') + fp = open(path, 'w') fp.write(dump) - fp.close() - + fp.close() if not quiet: print(" ({0})".format("w"), end="") else: if not quiet: print(" ({0})".format("i"), end="") @@ -184,7 +210,8 @@ class SolutionDataWriter(object): print(", {0}".format(obj.name), end="") else: print(", {0}".format(obj.name), end="") - + + sys.stdout.flush() return @@ -232,6 +259,511 @@ class SolutionDataWriter(object): pass print(" ... done") return + + def writeReportList(self, fluidObjs): + print("Writing fitting reports:", end="") + for obj in fluidObjs: + self.printStatusID(fluidObjs, obj) + self.makeFitReportPage(obj) + try: + self.makeFitReportPage(obj) + except (TypeError, ValueError) as e: + print("An error occurred for fluid: {0}".format(obj.name)) + print(obj) + print(e) + pass + print(" ... done") + return + + +##################################### +# Plotting routines +##################################### + def relError(self, A=[], B=[], PCT=False): + """ + Returns the absolute relative Error from either + (B-A)/B or (A-B)/A for abs(B)>abs(A) and abs(A)>abs(B), + respectively. If PCT is True, it returns it in percent. + """ + A_a = np.array(A) + B_a = np.array(B) + + abl = np.absolute(B_a) + eps = np.ones_like(abl) * np.finfo(float).eps + #div = np.amax(np.hstack((abl,eps)), axis=1)*np.sign(B_a) + + pos = np.isfinite(B_a) + pos2 = (B_a>eps) + result = np.zeros_like(A_a) + + result[pos & pos2] = (A_a[pos & pos2]-B_a[pos & pos2])/B_a[pos & pos2] + + if PCT: + return result * 100. + else: + return result + + ############################################################ + # Define the general purpose routines for plotting + ############################################################ + def wireFrame2D(self,xz,yz,linesX=5,linesY=None,color='black',ax=None,plot=False): + """ + xz is a 2D array that holds x-values for constant z1 and z2. + yz is a 2D array that holds y-values for the same z1 and z2. + xz and yz have to have the same size. + The first dimension of xz should be greater than + or equal to the lines input. + """ + if xz.ndim!=2: + raise ValueError("xz has to be a 2D array.") + if yz.ndim!=2: + raise ValueError("yz has to be a 2D array.") + if xz.shape!=yz.shape: + raise ValueError("xz and yz have to have the same shape: {0} != {1}".format(xz.shape,yz.shape)) + if linesY==None and linesX!=None: + linesY = linesX + if linesX==None and linesY!=None: + linesX = linesY + if linesY==None and linesX==None: + raise ValueError("You have to provide linesX or linesY") + + xl,yl = xz.shape + x_index = np.round(np.linspace(0, xl-1, linesX)) + y_index = np.round(np.linspace(0, yl-1, linesY)) + x_toPlot = [] + y_toPlot = [] + for i in x_index: + x_toPlot += [xz.T[i]] + y_toPlot += [yz.T[i]] + for i in y_index: + x_toPlot += [xz[i]] + y_toPlot += [yz[i]] + if plot==False: + return x_toPlot,y_toPlot + if ax==None: + raise ValueError("You have to give an axis to plot.") + for i in range(len(x_toPlot)): + ax.plot(x_toPlot[i],y_toPlot[i],color=color) + return x_toPlot,y_toPlot + + + def plotValues(self,axVal,axErr,solObj=SolutionData(),dataObj=IncompressibleData(),func=None,old=None): + """ + Plots two data series using the same axis. You can + choose if you prefer points or a line for the reference + data. This can be used to show that we have experimental + data or a reference equation. + You can use the old input to call CoolProp with this ID. + You can use this feature to visualise changes for new + data fits. Primarily intended to highlight changes from + v4 to v5 of CoolProp. + """ + + if dataObj.type==dataObj.INCOMPRESSIBLE_NOT_SET \ + or dataObj.source==dataObj.SOURCE_NOT_SET: + return + + # TODO: Improve this work-around + xFunction = False + try: + if solObj.T_freeze.coeffs.shape==dataObj.coeffs.shape: + if np.all(solObj.T_freeze.coeffs==dataObj.coeffs): + xFunction = True + except AttributeError as ae: + pass + + points = 30 + + dataFormatter = {} + tData = None + xData = None + pData = None + zData = None + zError= None + + if dataObj.source==dataObj.SOURCE_DATA or dataObj.source==dataObj.SOURCE_EQUATION: + dataFormatter['color'] = 'blue' + dataFormatter['marker'] = 'o' + dataFormatter['ls'] = 'none' + + tData = solObj.temperature.data + xData = solObj.concentration.data + pData = 1e7 # 100 bar + zData = dataObj.data + + if func!=None and zData!=None: + r,c = zData.shape + zError= np.zeros((r,c)) + for i in range(r): + for j in range(c): + zError[i,j]= func(tData[i],pData,xData[j]) + + zError = self.relError(zData, zError, PCT=True) + + if xFunction: axis = 1 + else: axis = 0 + + ## Find the column with the largest single error + #maxVal = np.amax(zError, axis=0) # largest error per column + #col2plot = np.argmax(maxVal) # largest error in row + ## Find the column with the largest total error + #totVal = np.sum(zError, axis=0) # summed error per column + #col2plot = np.argmax(totVal) # largest error in row + # Find the column with the largest average error + avgVal = np.average(zError, axis=axis) # summed error per column + set2plot = np.argmax(avgVal) # largest error in row + if xFunction: + tData = np.array([tData[set2plot]]) + zData = zData[set2plot] + zError= zError[set2plot] + else: + xData = np.array([xData[set2plot]]) + zData = zData.T[set2plot] + zError= zError.T[set2plot] + else: + raise ValueError("You have to provide data and a fitted function.") + + elif dataObj.source==dataObj.SOURCE_COEFFS: + dataFormatter['color'] = 'blue' + #dataFormatter['marker'] = 'o' + dataFormatter['ls'] = 'solid' + + if xFunction: + xData = np.linspace(solObj.xmin, solObj.xmax, num=points) + if solObj.xid==solObj.ifrac_pure: tData = np.array([0.0]) + else: tData = np.array([solObj.Tmin+solObj.Tmax])/2.0 + else: + tData = np.linspace(solObj.Tmin, solObj.Tmax, num=points) + if solObj.xid==solObj.ifrac_pure: xData = np.array([0.0]) + else: xData = np.array([solObj.xmin+solObj.xmax])/2.0 + + pData = 1e7 # 100 bar + + #zData= np.zeros((len(tData),len(xData))) + #for i in range(len(tData)): + # for j in range(len(xData)): + # zData[i,j] = func(tData[i],pData,xData[j]) + #r,c = zData.shape + #if r==1 or c==1: + # zData = np.array(zData.flat) + #else: + # raise ValueError("Cannot plot non-flat arrays!") + + + # Copy the arrays + tFunc = tData + xFunc = xData + pFunc = pData + zFunc = None + + if func!=None: + if len(tFunc)1: + tFunc = np.linspace(solObj.Tmin, solObj.Tmax, num=points) + if len(xFunc)1: + xFunc = np.linspace(solObj.xmin, solObj.xmax, num=points) + + zFunc = np.zeros((len(tFunc),len(xFunc))) + for i in range(len(tFunc)): + for j in range(len(xFunc)): + zFunc[i,j] = func(tFunc[i],pFunc,xFunc[j]) + r,c = zFunc.shape + if r==1 or c==1: + zFunc = np.array(zFunc.flat) + else: + raise ValueError("Cannot plot non-flat arrays!") + + fitFormatter = {} + fitFormatter['color'] = 'red' + fitFormatter['ls'] = 'solid' + + errorFormatter = {} + errorFormatter['color'] = dataFormatter['color'] + errorFormatter['marker'] = 'o' + errorFormatter['ls'] = 'none' + errorFormatter['alpha'] = 0.25 + + pData = None + if xFunction: + pData = xData + pFunc = xFunc + else: + pData = tData + pFunc = tFunc + + if zData!=None and axVal!=None: + axVal.plot(pData, zData, label='data', **dataFormatter) + + if zFunc!=None and axVal!=None: + axVal.plot(pFunc, zFunc, label='function' , **fitFormatter) + + if zError!=None and axErr!=None: + axErr.plot(pData, zError, label='error' , **errorFormatter) + if solObj.xid!=solObj.ifrac_pure and not xFunction: + axErr.set_title("largest error at x={0}".format(xData[0])) + else: + axErr.set_title(" ") + elif axErr!=None: + errorFormatter['alpha'] = 0.00 + axErr.plot([pData[0],pData[-1]], [0,0], **errorFormatter) + #axErr.xaxis.set_visible(False) + #axErr.yaxis.set_visible(False) + #axErr.plot(pData, zFunc, label='function' , **fitFormatter) + + + + #else: + # plt.setp(axErr.get_yticklabels(), visible=False) + # plt.setp(axErr.yaxis.get_label(), visible=False) + + + def printFluidInfo(self,ax,solObj=SolutionData()): + """ + Prints some fluid information on top of the fitting report. + """ + #ax = subplot(111, frame_on=False) + ax.xaxis.set_visible(False) + ax.yaxis.set_visible(False) + + #cellText = [["1","2"],["3","4"]] + #rowLabels = ["Name","Source"] + ## Add a table at the bottom of the axes + #the_table = ax.table(cellText=cellText) + + annotateSettingsTitle = {} + #annotateSettingsLabel['xycoords']=('figure fraction', 'figure fraction') + annotateSettingsTitle['ha'] = 'center' + annotateSettingsTitle['va'] = 'baseline' + annotateSettingsTitle['fontsize'] = 'xx-large' + annotateSettingsTitle['fontweight'] = 'bold' + + annotateSettingsLabel = {} + #annotateSettingsLabel['xycoords']=('figure fraction', 'figure fraction') + annotateSettingsLabel['ha'] = 'right' + annotateSettingsLabel['va'] = 'baseline' + #annotateSettingsLabel['fontsize'] = 'large' + annotateSettingsLabel['fontweight'] = 'semibold' + + annotateSettingsText = {} + #annotateSettingsText['xycoords']=('figure fraction', 'figure fraction') + annotateSettingsText['ha'] = 'left' + annotateSettingsText['va'] = 'baseline' + #annotateSettingsText['fontsize'] = 'large' + annotateSettingsText['fontweight'] = 'medium' + + + #ax.set_title('Fitting Report for {0}'.format(solObj.name)) + ax.text(0.5, 0.8, 'Fitting Report for {0}'.format(solObj.name), **annotateSettingsTitle) + + def myAnnotate(label,text,x=0.0,y=0.0): + dx = 0.005 + ax.text(x-dx,y, label, **annotateSettingsLabel) + ax.text(x+dx,y, text, **annotateSettingsText) + + #ax.annotate(r'Enthalpy [$\mathdefault{10^5\!J/kg}$]', xy=(0.25, 0.03), **annotateSettings) + #ax.annotate(r'Enthalpy [$\mathdefault{10^5\!J/kg}$]', xy=(0.25, 0.03), **annotateSettings) + + dx = 0.50 + dy = 0.10 + + xStart = 0.175 ; x = xStart + yStart = 0.575; y = yStart + + #myAnnotate('Name: ',solObj.name,x=x,y=y); x += .0; y -= dy + myAnnotate('Description: ',solObj.description,x=x,y=y); x += .0; y -= dy + myAnnotate('Source: ',solObj.reference,x=x,y=y); x += .0; y -= dy + myAnnotate('Temperature: ',u'{0} \u00B0C to {1} \u00B0C'.format(solObj.Tmin-273.15, solObj.Tmax-273.15),x=x,y=y); x += .0; y -= dy + conc = False + if solObj.xid==solObj.ifrac_mass: conc=True + if solObj.xid==solObj.ifrac_volume: conc=True + if solObj.xid==solObj.ifrac_mole: conc=True + if conc==True: + myAnnotate('Composition: ',u'{0} % to {1} %, {2}'.format(solObj.xmin*100., solObj.xmax*100., solObj.xid),x=x,y=y); x += .0; y -= dy + else: + x += .0; y -= dy + + if solObj.density.source!=solObj.density.SOURCE_NOT_SET: + myAnnotate('Density: ',u'{0} to {1} {2}'.format(solObj.density.source, solObj.density.type, solObj.density.coeffs.shape),x=x,y=y) + x += .0; y -= dy + if solObj.specific_heat.source!=solObj.specific_heat.SOURCE_NOT_SET: + myAnnotate('Spec. Heat: ',u'{0} to {1} {2}'.format(solObj.specific_heat.source, solObj.specific_heat.type, solObj.specific_heat.coeffs.shape),x=x,y=y) + x += .0; y -= dy + + x = xStart + dx; y = yStart-dy-dy + if solObj.conductivity.source!=solObj.conductivity.SOURCE_NOT_SET: + myAnnotate('Th. Cond.: ',u'{0} to {1} {2}'.format(solObj.conductivity.source, solObj.conductivity.type, solObj.conductivity.coeffs.shape),x=x,y=y) + x += .0; y -= dy + if solObj.viscosity.source!=solObj.viscosity.SOURCE_NOT_SET: + myAnnotate('Viscosity: ',u'{0} to {1} {2}'.format(solObj.viscosity.source, solObj.viscosity.type, solObj.viscosity.coeffs.shape),x=x,y=y) + x += .0; y -= dy + if solObj.saturation_pressure.source!=solObj.saturation_pressure.SOURCE_NOT_SET: + myAnnotate('Psat: ',u'{0} to {1} {2}'.format(solObj.saturation_pressure.source, solObj.saturation_pressure.type, solObj.saturation_pressure.coeffs.shape),x=x,y=y) + x += .0; y -= dy + if solObj.T_freeze.source!=solObj.T_freeze.SOURCE_NOT_SET: + myAnnotate('Tfreeze: ',u'{0} to {1} {2}'.format(solObj.T_freeze.source, solObj.T_freeze.type, solObj.T_freeze.coeffs.shape),x=x,y=y) + x += .0; y -= dy + + + #ax5.set_xlabel(ur'$\mathregular{Temperature\/(\u00B0C)}$') + + #x += dx; y = yStart + #myAnnotate('Name: ',solObj.name,x=x,y=y); x += .0; y -= dy + + ax.set_xlim((0,1)) + ax.set_ylim((0,1)) + + + def printFitDetails(self): + pass + + + + def makeFitReportPage(self, solObj=SolutionData()): + """ + Creates a whole page with some plots and basic information + for both fit quality, reference data, data sources and + more. + """ + + # First we determine some basic settings + + gs = gridspec.GridSpec(4, 2, height_ratios=[2,3,3,3]) + #gs.update(top=0.75, hspace=0.05) + div = 22 + fig = plt.figure(figsize=(210/div,297/div)) + table_axis = plt.subplot(gs[0,:], frame_on=False) + + + + + + + + # Setting the labels + errLabel = r'$\mathdefault{rel.\/Error\/[\%]}$' + + if solObj.density.source!=solObj.density.SOURCE_NOT_SET: + density_axis = plt.subplot(gs[1,0]) + density_error = density_axis.twinx() + density_axis.set_ylabel(r'Density [$\mathdefault{kg/m^3\!}$]') + density_error.set_ylabel(errLabel) + self.plotValues(density_axis,density_error,solObj=solObj,dataObj=solObj.density,func=solObj.rho) + else: + raise ValueError("Density data has to be provided!") + + if solObj.specific_heat.source!=solObj.specific_heat.SOURCE_NOT_SET: + capacity_axis = plt.subplot(gs[1,1]) + capacity_error = capacity_axis.twinx() + capacity_axis.set_ylabel(r'Heat Capacity [$\mathdefault{J/kg/K}$]') + capacity_error.set_ylabel(errLabel) + self.plotValues(capacity_axis,capacity_error,solObj=solObj,dataObj=solObj.specific_heat,func=solObj.c) + else: + raise ValueError("Specific heat data has to be provided!") + + # Optional plots, might not all be shown + if solObj.conductivity.source!=solObj.conductivity.SOURCE_NOT_SET: + conductivity_axis = plt.subplot(gs[2,0])#, sharex=density_axis) + conductivity_error = conductivity_axis.twinx() + conductivity_axis.set_ylabel(r'Thermal Conductivity [$\mathdefault{W/m/K}$]') + conductivity_error.set_ylabel(errLabel) + self.plotValues(conductivity_axis,conductivity_error,solObj=solObj,dataObj=solObj.conductivity,func=solObj.cond) + + if solObj.viscosity.source!=solObj.viscosity.SOURCE_NOT_SET: + viscosity_axis = plt.subplot(gs[2,1])#, sharex=capacity_axis) + viscosity_error = viscosity_axis.twinx() + viscosity_axis.set_yscale('log') + viscosity_axis.set_ylabel(r'Dynamic Viscosity [$\mathdefault{Pa\/s}$]') + viscosity_error.set_ylabel(errLabel) + self.plotValues(viscosity_axis,viscosity_error,solObj=solObj,dataObj=solObj.viscosity,func=solObj.visc) + + if solObj.saturation_pressure.source != solObj.saturation_pressure.SOURCE_NOT_SET: # exists + saturation_axis = plt.subplot(gs[3,0])#, sharex=density_axis) + saturation_error = saturation_axis.twinx() + saturation_axis.set_yscale('log') + saturation_axis.set_ylabel(r'Saturation Pressure [$\mathdefault{Pa}$]') + saturation_error.set_ylabel(errLabel) + self.plotValues(saturation_axis,saturation_error,solObj=solObj,dataObj=solObj.saturation_pressure,func=solObj.psat) + + if solObj.T_freeze.source != solObj.T_freeze.SOURCE_NOT_SET: # exists + Tfreeze_axis = plt.subplot(gs[3,1])#, sharex=capacity_axis) + Tfreeze_error = Tfreeze_axis.twinx() + Tfreeze_axis.set_ylabel(r'Freezing Temperature [$\mathdefault{K}$]') + Tfreeze_error.set_ylabel(errLabel) + self.plotValues(Tfreeze_axis,Tfreeze_error,solObj=solObj,dataObj=solObj.T_freeze,func=solObj.Tfreeze) + + #saturation_axis = plt.subplot2grid((3,2), (2,0)) + #Tfreeze_axis = plt.subplot2grid((3,2), (2,0)) + #mass2input_axis = plt.subplot2grid((3,2), (2,0)) + #volume2input_axis = plt.subplot2grid((3,2), (2,0)) + + # print headlines etc. + self.printFluidInfo(table_axis, solObj) + # Prepare the legend + legenddict = {} + for a in fig.axes: + handles, labels = a.get_legend_handles_labels() + for i in range(len(labels)): + legenddict[labels[i]] = handles[i] + + legKey = ["Legend: "] + legVal = [Rectangle((0, 0), 1, 1, alpha=0.0)] + legKey += legenddict.keys() + legVal += legenddict.values() + legKey += [" "] + legVal += [Rectangle((0, 0), 1, 1, alpha=0.0)] + + table_axis.legend( + legVal, legKey, + bbox_to_anchor=(0.0, 0.015, 1., 0.015), + ncol=len(legKey), mode="expand", borderaxespad=0., + numpoints=1) + #table_axis.legend(handles, labels, bbox_to_anchor=(0.0, -0.1), loc=2, ncol=3) + +# +# +# +# +# +# +# +# t = arange(0.01, 5.0, 0.01) +#s1 = sin(2*pi*t) +#s2 = exp(-t) +#s3 = sin(4*pi*t) +#ax1 = subplot(311) +#plot(t,s1) +#setp( ax1.get_xticklabels(), fontsize=6) +# +### share x only +#ax2 = subplot(312, sharex=ax1) +#plot(t, s2) +## make these tick labels invisible +#setp( ax2.get_xticklabels(), visible=False) +# +## share x and y +#ax3 = subplot(313, sharex=ax1, sharey=ax1) +#plot(t, s3) +#xlim(0.01,5.0) +#show() + + gs.tight_layout(fig)#, rect=[0, 0, 1, 0.75]) + # Fine-tune figure; make subplots close to each other + # and hide x ticks for all but bottom plot. + #fig.subplots_adjust(wspace=0) + #plt.setp([a.get_xticklabels() for a in fig.axes[:-1]], visible=False) + + plt.savefig(os.path.join("report","{0}_fitreport.pdf".format(solObj.name))) + plt.close() + + + + + pass + + + + + + #class FitGraphWriter(object): @@ -266,15 +798,7 @@ class SolutionDataWriter(object): ## containerList += [ZS10(), ZS25(), ZS40(), ZS45(), ZS55()] # return containerList # -# def relError(A=[],B=[],PCT=False): -# """ -# Returns the relative Error from (A-B)/B, if PCT is True, it returns percent. -# """ -# result = (np.array(A)-np.array(B))/np.array(B); -# if PCT: -# return result * 100. -# else: -# return result + # # # def makePlots(self, fluid): diff --git a/dev/incompressible_liquids/DEB.json b/dev/incompressible_liquids/DEB.json deleted file mode 100644 index 5a2848b3..00000000 --- a/dev/incompressible_liquids/DEB.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 0.00000e+00, - "Tmax": 3.73150e+02, - "Tmin": 1.93150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 1.89132e-04 - ], - [ - -2.06364e-07 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.07650e+03 - ], - [ - -7.31182e-01 - ] - ], - "type": "polynomial" - }, - "description": "Diethylbenzene mixture - Dowtherm J Dow Chemical Co.", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "DEB", - "reference": "Melinder-BOOK-2010", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 9.99729e+02 - ], - [ - 2.87576e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 3.55030e+00 - ], - [ - -5.66396e-02 - ], - [ - 7.03331e-05 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/DowJ.json b/dev/incompressible_liquids/DowJ.json deleted file mode 100644 index 91e17ee6..00000000 --- a/dev/incompressible_liquids/DowJ.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 4.05650e+02, - "Tmax": 6.18150e+02, - "Tmin": 1.93150e+02, - "TminPsat": 3.23150e+02, - "conductivity": { - "coeffs": [ - [ - 1.04518e-01 - ], - [ - -2.12843e-04 - ], - [ - -3.45327e-09 - ], - [ - 3.58008e-11 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 7.75459e+02 - ], - [ - -8.53428e-01 - ], - [ - -1.06580e-03 - ], - [ - -2.92227e-06 - ] - ], - "type": "polynomial" - }, - "description": "DowthermJ", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "DowJ", - "reference": "Dow Chemicals data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.20030e+03 - ], - [ - 3.58155e+00 - ], - [ - 4.04739e-03 - ], - [ - 6.78271e-06 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -8.08082e+00 - ], - [ - -5.67888e-03 - ], - [ - 2.80778e-05 - ], - [ - -8.60957e-08 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/DowJ2.json b/dev/incompressible_liquids/DowJ2.json deleted file mode 100644 index 33801d42..00000000 --- a/dev/incompressible_liquids/DowJ2.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.94150e+02, - "Tmax": 5.88150e+02, - "Tmin": 2.00150e+02, - "TminPsat": 5.88150e+02, - "conductivity": { - "coeffs": [ - [ - 1.24483e-01 - ], - [ - -8.22866e-05 - ], - [ - -4.62392e-10 - ], - [ - 1.31218e-11 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 7.84467e+02 - ], - [ - -8.44939e-01 - ], - [ - -8.67323e-04 - ], - [ - -2.16321e-06 - ] - ], - "type": "polynomial" - }, - "description": "Dowtherm J, Diethylbenzene mixture", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "DowJ2", - "reference": "Dow Chemicals, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.16675e+03 - ], - [ - 3.62360e+00 - ], - [ - 3.14590e-03 - ], - [ - 2.11429e-08 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -3.39705e+00 - ], - [ - -6.04223e-03 - ], - [ - 3.01309e-05 - ], - [ - -1.02852e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 0.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/DowQ.json b/dev/incompressible_liquids/DowQ.json deleted file mode 100644 index b762cc54..00000000 --- a/dev/incompressible_liquids/DowQ.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 4.35650e+02, - "Tmax": 6.33150e+02, - "Tmin": 2.38150e+02, - "TminPsat": 3.93150e+02, - "conductivity": { - "coeffs": [ - [ - 1.02427e-01 - ], - [ - -1.50268e-04 - ], - [ - -6.16856e-08 - ], - [ - 2.01708e-10 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 8.57503e+02 - ], - [ - -7.53028e-01 - ], - [ - 1.62652e-05 - ], - [ - -1.77561e-07 - ] - ], - "type": "polynomial" - }, - "description": "DowthermQ", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "DowQ", - "reference": "Dow Chemicals data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.09546e+03 - ], - [ - 3.02966e+00 - ], - [ - -5.39847e-04 - ], - [ - -8.59705e-08 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -7.87220e+00 - ], - [ - -7.90718e-03 - ], - [ - 4.33865e-05 - ], - [ - -1.50606e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/DowQ2.json b/dev/incompressible_liquids/DowQ2.json deleted file mode 100644 index c871c361..00000000 --- a/dev/incompressible_liquids/DowQ2.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 4.20650e+02, - "Tmax": 6.03150e+02, - "Tmin": 2.38150e+02, - "TminPsat": 6.03150e+02, - "conductivity": { - "coeffs": [ - [ - 1.12964e-01 - ], - [ - -1.66747e-04 - ], - [ - -2.56024e-07 - ], - [ - 1.77943e-09 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 8.73686e+02 - ], - [ - -7.65340e-01 - ], - [ - -1.03470e-05 - ], - [ - 1.08805e-07 - ] - ], - "type": "polynomial" - }, - "description": "Dowtherm Q, Diphenylethane/alkylated aromatics", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "DowQ2", - "reference": "Dow Chemicals, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.05210e+03 - ], - [ - 3.05246e+00 - ], - [ - -5.70581e-04 - ], - [ - -2.39204e-07 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -2.92247e+00 - ], - [ - -8.56067e-03 - ], - [ - 4.48552e-05 - ], - [ - -1.85248e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 0.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/ExampleDigital.json b/dev/incompressible_liquids/ExampleDigital.json deleted file mode 100644 index cfc535cb..00000000 --- a/dev/incompressible_liquids/ExampleDigital.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.86500e+02, - "Tmax": 5.00000e+02, - "Tmin": 2.73000e+02, - "TminPsat": 2.73000e+02, - "conductivity": { - "coeffs": "null", - "type": "notdefined" - }, - "density": { - "coeffs": [ - [ - 8.23000e+02, - 4.86501e+02, - 1.25770e-03, - -1.22838e-02, - -8.31261e-03, - 3.23636e-02 - ], - [ - 2.00000e+00, - 1.00000e+00, - 4.19928e-05, - -6.28733e-05, - -1.22770e-04, - 0.00000e+00 - ], - [ - 1.02233e-08, - 4.05814e-08, - -1.06230e-07, - -2.78235e-07, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.11437e-10, - 6.05259e-11, - -3.13824e-09, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "some fluid", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "ExampleDigital", - "reference": "none", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 8.36650e+02, - 4.36500e+02, - 2.45855e-04, - 7.75294e-03, - 2.27666e-03, - -2.27117e-02 - ], - [ - 2.10000e+00, - 9.99993e-01, - -3.68693e-05, - -5.69655e-06, - 1.22510e-04, - 0.00000e+00 - ], - [ - 1.64250e-08, - 1.86468e-08, - -1.66197e-07, - -2.16904e-07, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.67434e-10, - 7.86405e-10, - -8.08087e-11, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": "null", - "type": "notdefined" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 5.00000e-01, - "xid": 0, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/ExampleMelinder.json b/dev/incompressible_liquids/ExampleMelinder.json deleted file mode 100644 index e6548c4b..00000000 --- a/dev/incompressible_liquids/ExampleMelinder.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -2.62900e+01, - -1.18700e+02, - -1.21800e+02, - -6.82300e+01, - 1.29700e+01, - 2.36300e+02 - ], - [ - -2.57500e-06, - -1.60900e-03, - 3.86500e-03, - 2.13700e-02, - -5.40700e-02, - 0.00000e+00 - ], - [ - -6.73200e-06, - 3.42000e-05, - 8.76800e-05, - -4.27100e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.63000e-07, - 5.68700e-08, - -2.09500e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.76686e+02, - "Tmax": 3.13150e+02, - "Tmin": 2.23150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.17500e-01, - -4.42100e-01, - 2.04400e-01, - 2.94300e-01, - -8.66600e-02, - -2.03300e+00 - ], - [ - 7.27100e-04, - -2.95200e-03, - 3.41300e-03, - -9.64600e-04, - -4.57300e-05, - 0.00000e+00 - ], - [ - 2.82300e-07, - 7.33600e-06, - -3.66500e-05, - 3.17400e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 9.71800e-09, - 4.32800e-08, - -2.79100e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.58100e+02, - -1.39100e+02, - -1.10500e+02, - -1.20800e+02, - 4.92700e+02, - -7.72700e+02 - ], - [ - -4.15100e-01, - -1.51000e+00, - 1.82800e+00, - 2.99200e+00, - -1.32500e+01, - 0.00000e+00 - ], - [ - -2.26100e-03, - 1.11300e-02, - -1.64100e-02, - 1.45500e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.99800e-07, - -3.26400e-05, - 1.51000e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Methanol solution", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "ExampleMelinder", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.88700e+03, - -1.85000e+03, - -3.76900e+02, - -3.77600e+03, - -1.50400e+04, - 6.43300e+04 - ], - [ - 7.20100e+00, - 2.98400e+01, - -1.19600e+02, - -5.61100e+01, - 7.37300e+02, - 0.00000e+00 - ], - [ - -8.97900e-02, - -1.86500e-01, - 9.80100e-01, - -7.81100e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.39000e-04, - -1.71800e-03, - 6.66000e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.15300e+00, - 5.44800e-01, - -5.55200e+00, - 3.03800e+00, - 6.66900e+00, - -8.47200e+00 - ], - [ - -3.86600e-02, - 1.00800e-02, - 8.38400e-02, - -7.43500e-02, - -9.10500e-02, - 0.00000e+00 - ], - [ - 2.77900e-04, - -2.80900e-04, - -3.99700e-04, - 7.44200e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.54300e-06, - 9.81100e-07, - -3.46600e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.05128e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/ExamplePure.json b/dev/incompressible_liquids/ExamplePure.json deleted file mode 100644 index b5dae55c..00000000 --- a/dev/incompressible_liquids/ExamplePure.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.73150e+02, - "Tmax": 4.23150e+02, - "Tmin": 3.23150e+02, - "TminPsat": 4.23150e+02, - "conductivity": { - "coeffs": [ - [ - 9.64802e-02 - ], - [ - -1.80089e-04 - ], - [ - -1.16550e-07 - ], - [ - -9.71251e-10 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 7.02445e+02 - ], - [ - -7.70319e-01 - ], - [ - -5.36131e-04 - ], - [ - -5.43901e-06 - ] - ], - "type": "polynomial" - }, - "description": "Heat transfer fluid TherminolD12 by Solutia", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "ExamplePure", - "reference": "Solutia data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.44653e+03 - ], - [ - 4.09602e+00 - ], - [ - -2.07459e-03 - ], - [ - 1.94250e-07 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -7.95256e-01 - ], - [ - -9.66391e-03 - ], - [ - 2.71311e-05 - ], - [ - -2.19029e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/ExampleSecCool.json b/dev/incompressible_liquids/ExampleSecCool.json deleted file mode 100644 index 4e6dc998..00000000 --- a/dev/incompressible_liquids/ExampleSecCool.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - 2.77556e-01, - 2.50177e+02, - -1.10405e+02, - -1.20762e+02, - -9.34346e+01 - ], - "type": "polyoffset" - }, - "Tbase": 2.68670e+02, - "Tmax": 2.93150e+02, - "Tmin": 2.23150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 4.08207e-01, - -3.98169e-01, - 1.58337e-01, - -3.55205e-01, - -9.88418e-02, - 4.46000e+00 - ], - [ - 6.62932e-04, - -2.68648e-03, - 9.03915e-03, - -2.12826e-02, - -5.56200e-02, - 0.00000e+00 - ], - [ - 3.68597e-07, - 7.18842e-06, - -1.04177e-04, - 2.27800e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.70340e-08, - 7.61236e-09, - -2.73400e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.60247e+02, - -1.29038e+02, - -1.61043e+02, - -1.96989e+02, - 1.13156e+03, - 9.18200e+02 - ], - [ - -4.02035e-01, - -1.62464e+00, - 1.62330e+00, - 4.36734e+00, - 1.19900e+00, - 0.00000e+00 - ], - [ - -2.52048e-03, - 1.10151e-02, - -2.32022e-03, - 7.79500e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 9.93748e-06, - -1.34689e-04, - 4.14200e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Methanol solution", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "ExampleSecCool", - "reference": "SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.82297e+03, - -2.31224e+03, - 6.78776e+02, - 2.24139e+03, - -3.04533e+04, - -4.75800e+04 - ], - [ - 2.35014e+00, - 1.78884e+01, - 6.82800e+00, - 2.10117e+02, - -9.81200e+02, - 0.00000e+00 - ], - [ - -4.72418e-04, - -3.31795e-02, - 1.00203e+00, - -5.30600e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.24219e-05, - 2.34719e-03, - -1.89400e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.47255e+00, - 2.22190e-01, - -4.40614e+00, - 6.04798e+00, - -1.95473e+01, - -2.37200e+01 - ], - [ - -4.11842e-02, - 1.78448e-02, - -3.56441e-02, - 4.06467e-02, - 1.91500e+00, - 0.00000e+00 - ], - [ - 2.57286e-04, - -9.22634e-05, - -2.17858e-04, - -9.53000e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.69984e-06, - -1.02355e-05, - 4.48200e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.15700e-01, - "xid": 0, - "xmax": 5.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/ExampleSolution.json b/dev/incompressible_liquids/ExampleSolution.json deleted file mode 100644 index cb9ef811..00000000 --- a/dev/incompressible_liquids/ExampleSolution.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.45650e+02, - "Tmax": 2.63150e+02, - "Tmin": 2.28150e+02, - "TminPsat": 2.63150e+02, - "conductivity": { - "coeffs": "null", - "type": "notdefined" - }, - "density": { - "coeffs": [ - [ - 1.02608e+03, - -1.59017e+02, - 2.36323e+01, - -5.55556e+01, - 3.78788e+01, - 1.50000e+03 - ], - [ - -8.56582e-01, - 1.58439e+00, - -4.88516e-01, - 5.82011e-01, - -1.29870e+00, - 0.00000e+00 - ], - [ - -2.05964e-02, - 2.96221e-02, - -3.28798e-03, - 2.64550e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.97643e-04, - 3.47763e-04, - 1.82780e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Ethanol ice slurry", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "ExampleSolution", - "reference": "SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 1.02608e+03, - -1.59017e+02, - 2.36323e+01, - -5.55556e+01, - 3.78788e+01, - 1.50000e+03 - ], - [ - -8.56582e-01, - 1.58439e+00, - -4.88516e-01, - 5.82011e-01, - -1.29870e+00, - 0.00000e+00 - ], - [ - -2.05964e-02, - 2.96221e-02, - -3.28798e-03, - 2.64550e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.97643e-04, - 3.47763e-04, - 1.82780e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": "null", - "type": "notdefined" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.00000e-01, - "xid": 0, - "xmax": 3.50000e-01, - "xmin": 5.00000e-02 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/FRE.json b/dev/incompressible_liquids/FRE.json deleted file mode 100644 index d7c4d266..00000000 --- a/dev/incompressible_liquids/FRE.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.98106e+02 - ], - [ - -3.00133e+02 - ], - [ - 8.29125e+02 - ], - [ - -1.12384e+03 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.13000e+02, - "Tmin": 2.33000e+02, - "TminPsat": 3.13000e+02, - "conductivity": { - "coeffs": [ - [ - 5.50000e-01, - -1.50000e-01 - ], - [ - 1.80000e-03, - -1.60000e-03 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.01500e+03, - 4.62000e+02, - 4.06000e+02 - ], - [ - -4.00000e-01, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Freezium, Potassium Formate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "FRE", - "reference": "Kemira Chemicals OY, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 4.15007e+03, - -3.73615e+03, - 1.68816e+03, - -5.26984e+02, - 1.46310e+02, - -3.66773e+01 - ], - [ - 1.32829e-04, - 6.29744e+00, - 1.56653e-02, - -3.77733e-02, - 3.04456e-02, - 0.00000e+00 - ], - [ - 1.08670e-05, - -1.09058e-04, - 3.48881e-04, - -3.60016e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -6.37982e-08, - 3.55343e-07, - -3.13279e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 7.51689e-01, - -1.15630e+00, - 5.49895e+00, - -1.50202e-01, - 1.17346e-03, - 1.79702e-02 - ], - [ - -2.94067e-02, - 1.79238e-04, - 7.88887e-05, - -1.18318e-04, - 4.34013e-05, - 0.00000e+00 - ], - [ - 2.57819e-04, - 6.73569e-09, - 1.82979e-07, - -1.77535e-07, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.05848e-06, - -3.34246e-10, - 5.46707e-10, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 0, - "xmax": 5.00000e-01, - "xmin": 1.90000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/GKN.json b/dev/incompressible_liquids/GKN.json deleted file mode 100644 index 0074ec72..00000000 --- a/dev/incompressible_liquids/GKN.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.52425e+02 - ], - [ - -1.00000e+02 - ], - [ - -1.12821e+02 - ], - [ - -4.64500e-12 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.96650e+02, - "Tmax": 3.73150e+02, - "Tmin": 2.20150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 4.60277e-01, - -3.81899e-01, - 3.09173e-01, - -7.33864e-03, - 2.48754e-02, - 5.95325e-02 - ], - [ - 1.11313e-04, - -2.53096e-03, - 1.24601e-05, - -4.77692e-05, - 9.81440e-05, - 0.00000e+00 - ], - [ - 4.05963e-07, - 4.03756e-08, - -4.26908e-07, - 2.08869e-06, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.15934e-10, - -2.03580e-09, - 2.52243e-10, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.05004e+00, - 1.56028e-01, - -2.66321e-02, - 4.00164e-03, - 1.79194e-02, - -4.30066e-02 - ], - [ - -5.15933e-04, - -4.67777e-04, - -1.47142e-06, - -8.72892e-05, - 1.46494e-04, - 0.00000e+00 - ], - [ - -1.25050e-06, - 2.02559e-08, - -4.44693e-07, - 9.18461e-07, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.10111e-10, - -3.79497e-10, - 4.11111e-09, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Glykosol N, Ethylene Glycol", - "mass2input": { - "coeffs": [ - [ - 3.23764e-01, - 9.63226e-01, - 9.54613e-02, - 8.72995e-02, - 2.98500e-01, - -1.58414e+00 - ] - ], - "type": "polynomial" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "GKN", - "reference": "pro KUEHLSOLE GmbH, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.63138e+00, - -1.88371e+00, - 2.89502e-02, - -5.88121e-02, - 1.45875e-01, - 7.88241e-01 - ], - [ - 2.19713e-03, - 6.00296e-03, - 4.10221e-04, - -2.54501e-05, - -4.01495e-03, - 0.00000e+00 - ], - [ - 1.08538e-06, - -2.43341e-07, - -1.10224e-06, - 7.27286e-06, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.60535e-11, - 6.20175e-10, - -2.37499e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 8.92715e-01, - 2.77904e+00, - -7.37108e-01, - 9.68505e-01, - -1.94212e-01, - 3.78094e+00 - ], - [ - -2.76413e-02, - -7.14820e-03, - -3.01987e-02, - 1.25318e-03, - 7.89611e-03, - 0.00000e+00 - ], - [ - 2.58627e-04, - 2.53655e-04, - 8.79675e-06, - -1.17152e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.12787e-06, - 4.91620e-08, - -2.30143e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.50000e-01, - "xid": 2, - "xmax": 6.00000e-01, - "xmin": 1.00000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HC10.json b/dev/incompressible_liquids/HC10.json deleted file mode 100644 index 84361684..00000000 --- a/dev/incompressible_liquids/HC10.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.77150e+02, - "Tmax": 4.91150e+02, - "Tmin": 2.63150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 6.08000e-01 - ], - [ - 1.00000e-03 - ], - [ - -1.15938e-19 - ], - [ - 8.15799e-20 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.15199e+03 - ], - [ - -4.53612e-01 - ], - [ - 2.84297e-05 - ], - [ - 1.12843e-07 - ] - ], - "type": "polynomial" - }, - "description": "Dynalene HC10", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HC10", - "reference": "Dynalene data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.52872e+03 - ], - [ - 2.48064e+00 - ], - [ - 2.49312e-06 - ], - [ - -1.04759e-07 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -7.36367e+00 - ], - [ - -9.45806e-03 - ], - [ - 2.79079e-05 - ], - [ - -7.43936e-08 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HC20.json b/dev/incompressible_liquids/HC20.json deleted file mode 100644 index 8991668b..00000000 --- a/dev/incompressible_liquids/HC20.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.68150e+02, - "Tmax": 4.83150e+02, - "Tmin": 2.53150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 5.98000e-01 - ], - [ - 1.00000e-03 - ], - [ - 0.00000e+00 - ], - [ - 2.49882e-20 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.19828e+03 - ], - [ - -5.18276e-01 - ], - [ - 1.01855e-05 - ], - [ - -2.85276e-08 - ] - ], - "type": "polynomial" - }, - "description": "Dynalene HC20", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HC20", - "reference": "Dynalene data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.38862e+03 - ], - [ - 2.35998e+00 - ], - [ - -7.60109e-06 - ], - [ - 1.87681e-09 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -7.11990e+00 - ], - [ - -1.03133e-02 - ], - [ - 2.99793e-05 - ], - [ - -7.45714e-08 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HC30.json b/dev/incompressible_liquids/HC30.json deleted file mode 100644 index e2071dde..00000000 --- a/dev/incompressible_liquids/HC30.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.63150e+02, - "Tmax": 4.83150e+02, - "Tmin": 2.43150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 5.89000e-01 - ], - [ - 1.00000e-03 - ], - [ - 1.11067e-19 - ], - [ - 1.15402e-19 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.23944e+03 - ], - [ - -5.10221e-01 - ], - [ - -2.99145e-05 - ], - [ - 1.14298e-07 - ] - ], - "type": "polynomial" - }, - "description": "Dynalene HC30", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HC30", - "reference": "Dynalene data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.23846e+03 - ], - [ - 2.30730e+00 - ], - [ - -4.08770e-06 - ], - [ - 3.22061e-07 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -6.92111e+00 - ], - [ - -1.09172e-02 - ], - [ - 3.30391e-05 - ], - [ - -9.22402e-08 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HC40.json b/dev/incompressible_liquids/HC40.json deleted file mode 100644 index 8b80ba78..00000000 --- a/dev/incompressible_liquids/HC40.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.53150e+02, - "Tmax": 4.73150e+02, - "Tmin": 2.33150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 5.69000e-01 - ], - [ - 1.00000e-03 - ], - [ - -2.42754e-19 - ], - [ - -1.70889e-19 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.28145e+03 - ], - [ - -5.60456e-01 - ], - [ - -1.53159e-05 - ], - [ - 1.22289e-07 - ] - ], - "type": "polynomial" - }, - "description": "Dynalene HC40", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HC40", - "reference": "Dynalene data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.07123e+03 - ], - [ - 2.28905e+00 - ], - [ - 9.90950e-05 - ], - [ - -2.20995e-07 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -6.74808e+00 - ], - [ - -9.88935e-03 - ], - [ - 4.98887e-05 - ], - [ - -2.91405e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HC50.json b/dev/incompressible_liquids/HC50.json deleted file mode 100644 index d65c0feb..00000000 --- a/dev/incompressible_liquids/HC50.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.53150e+02, - "Tmax": 4.83150e+02, - "Tmin": 2.23150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 5.65023e-01 - ], - [ - 1.00076e-03 - ], - [ - -6.84182e-09 - ], - [ - -1.06428e-10 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.30629e+03 - ], - [ - -5.55318e-01 - ], - [ - -5.76818e-06 - ], - [ - 6.22196e-08 - ] - ], - "type": "polynomial" - }, - "description": "Dynalene HC50", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HC50", - "reference": "Dynalene data sheet", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.81894e+03 - ], - [ - 1.97098e+00 - ], - [ - 4.50507e-06 - ], - [ - -1.21164e-07 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -6.58418e+00 - ], - [ - -9.17161e-03 - ], - [ - 6.16575e-05 - ], - [ - -3.96030e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HCB.json b/dev/incompressible_liquids/HCB.json deleted file mode 100644 index be977a89..00000000 --- a/dev/incompressible_liquids/HCB.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 0.00000e+00, - "Tmax": 3.73150e+02, - "Tmin": 1.93150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 2.03186e-04 - ], - [ - -2.38690e-07 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.07178e+03 - ], - [ - -7.72024e-01 - ] - ], - "type": "polynomial" - }, - "description": "Hydrocarbon blend - Dynalene MV", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HCB", - "reference": "Melinder-BOOK-2010", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 7.61393e+02 - ], - [ - 3.52976e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 7.16819e+00 - ], - [ - -8.63212e-02 - ], - [ - 1.30604e-04 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HCM.json b/dev/incompressible_liquids/HCM.json deleted file mode 100644 index c3ab65c0..00000000 --- a/dev/incompressible_liquids/HCM.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 0.00000e+00, - "Tmax": 3.73150e+02, - "Tmin": 1.93150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 1.53716e-04 - ], - [ - -1.51212e-07 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.71725e+02 - ], - [ - -7.18788e-01 - ] - ], - "type": "polynomial" - }, - "description": "Hydrocarbon mixture (synthetic) - Therminol D12 (Gilotherm D12) Solutia", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HCM", - "reference": "Melinder-BOOK-2010", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 8.44023e+02 - ], - [ - 4.31212e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.83237e+01 - ], - [ - -1.47060e-01 - ], - [ - 2.09096e-04 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HFE.json b/dev/incompressible_liquids/HFE.json deleted file mode 100644 index b95c1a34..00000000 --- a/dev/incompressible_liquids/HFE.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 0.00000e+00, - "Tmax": 3.73150e+02, - "Tmin": 1.93150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 9.92958e-05 - ], - [ - -8.33333e-08 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.82237e+03 - ], - [ - -9.18485e-01 - ] - ], - "type": "polynomial" - }, - "description": "Hydrofluoroether - HFE-7100 3M Novec", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HFE", - "reference": "Melinder-BOOK-2010", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 8.71834e+02 - ], - [ - 8.58788e+05 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -4.22878e+00 - ], - [ - -1.14765e-02 - ], - [ - 7.39823e-06 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/HFE2.json b/dev/incompressible_liquids/HFE2.json deleted file mode 100644 index ccd3f056..00000000 --- a/dev/incompressible_liquids/HFE2.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.65120e+02, - "Tmax": 3.37420e+02, - "Tmin": 1.92820e+02, - "TminPsat": 3.37420e+02, - "conductivity": { - "coeffs": [ - [ - 7.52837e-02 - ], - [ - -1.95480e-04 - ], - [ - -2.46523e-14 - ], - [ - 6.92101e-16 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.55652e+03 - ], - [ - -2.26900e+00 - ], - [ - 7.67087e-16 - ], - [ - 2.36356e-17 - ] - ], - "type": "polynomial" - }, - "description": "HFE-7100, Hydrofluoroether", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "HFE2", - "reference": "3M Novec, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 1.11694e+03 - ], - [ - 2.00000e+00 - ], - [ - -6.23186e-16 - ], - [ - -4.44414e-16 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -5.75185e-01 - ], - [ - -1.47112e-02 - ], - [ - 1.03197e-04 - ], - [ - -7.16839e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 0.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/LiBr.json b/dev/incompressible_liquids/LiBr.json deleted file mode 100644 index 5e522d96..00000000 --- a/dev/incompressible_liquids/LiBr.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.86500e+02, - "Tmax": 5.00000e+02, - "Tmin": 2.73000e+02, - "TminPsat": 2.73000e+02, - "conductivity": { - "coeffs": "null", - "type": "notdefined" - }, - "density": { - "coeffs": [ - [ - 1.30043e+03, - 1.27751e+03, - 1.18842e+03, - 1.07990e+03, - 1.34800e+03, - 1.19202e+03 - ], - [ - -8.17505e-01, - 4.80861e-02, - 1.13474e+00, - 5.49205e+00, - 9.08744e+00, - 0.00000e+00 - ], - [ - -2.09354e-03, - 3.34592e-03, - 1.63423e-02, - 3.01025e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 7.36860e-06, - 2.86446e-05, - 5.36525e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Lithium-Bromide solution from Patek2006", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "LiBr", - "reference": "Patek2006", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 2.64134e+03, - -3.42700e+03, - 3.32419e+03, - -1.53991e+03, - -1.17986e+04, - 2.48575e+03 - ], - [ - 5.85767e-01, - -1.30817e+00, - 2.46563e+00, - 1.23291e+00, - 1.10337e+01, - 0.00000e+00 - ], - [ - -8.16942e-05, - -3.52563e-02, - 1.71158e-02, - -8.64993e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.46864e-04, - 1.54841e-04, - -4.12861e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": "null", - "type": "notdefined" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.75000e-01, - "xid": 0, - "xmax": 7.50000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/LinearAlgebra.ipynb b/dev/incompressible_liquids/LinearAlgebra.ipynb deleted file mode 100644 index 6c511307..00000000 --- a/dev/incompressible_liquids/LinearAlgebra.ipynb +++ /dev/null @@ -1,306 +0,0 @@ -{ - "metadata": { - "name": "", - "signature": "sha256:6de5b361bf724471b38e3a32d973641aeac571541b15819486c1f0449e310b07" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": [ - "Linear algebra for multidimensional polynomial fitting" - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "import numpy as np\n", - "import itertools\n", - "# A small data set\n", - "#T_in = np.array([20,24,35,40])+273.15\n", - "#x_in = np.array([47,55,70,78,82])/100.0\n", - "#rho_in = np.array([[1047,1033,1020,1000,990],[997,983,970,950,940],[947,933,920,900,895],[987,883,870,850,845]])\n", - "#\n", - "# large data set\n", - "T_in = np.array([ -45 , -40 , -35 , -30 , -25 , -20 , -15 , -10])+273.15 # Kelvin\n", - "x_in = np.array([ 5 , 10 , 15 , 20 , 25 , 30 , 35 ])/100.0 # mass fraction\n", - " \n", - "rho_in = np.array([\n", - " [1064.0, 1054.6, 1045.3, 1036.3, 1027.4, 1018.6, 1010.0],\n", - " [1061.3, 1052.1, 1043.1, 1034.3, 1025.6, 1017.0, 1008.6],\n", - " [1057.6, 1048.8, 1040.1, 1031.5, 1023.1, 1014.8, 1006.7],\n", - " [1053.1, 1044.6, 1036.2, 1028.0, 1019.9, 1012.0, 1004.1],\n", - " [1047.5, 1039.4, 1031.5, 1023.7, 1016.0, 1008.4, 1000.9],\n", - " [1040.7, 1033.2, 1025.7, 1018.4, 1011.2, 1004.0, 997.0],\n", - " [1032.3, 1025.3, 1018.5, 1011.7, 1005.1, 998.5, 992.0],\n", - " [1021.5, 1015.3, 1009.2, 1003.1, 997.1, 991.2, 985.4]]) # kg/m3" - ], - "language": "python", - "metadata": {}, - "outputs": [], - "prompt_number": 13 - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Minimizing the squared error $\\epsilon(\\mathbf{c}) = \\sqrt{\\sum (\\mathbf{z} - \\mathbf{A} \\cdot \\mathbf{c})^2 }$ can be achieved by solving the system of orthogonal equations given by $\\mathbf{A}^\\text{T}\\mathbf{A} \\cdot \\mathbf{c} =\\mathbf{A}^\\text{T}\\mathbf{z}$. Using Python tools, we can leave this to the software and we only have to construct the Van der Monde matrix $\\mathbf{A}$ of the independent variable and equate it with the result vector of the dependent variable." - ] - }, - { - "cell_type": "code", - "collapsed": false, - "input": [ - "def getCoeffs1d(x,z,order):\n", - " if (len(x)" - ] - } - ], - "prompt_number": 47 - }, - { - "cell_type": "code", - "collapsed": false, - "input": [], - "language": "python", - "metadata": {}, - "outputs": [] - } - ], - "metadata": {} - } - ] -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MAM.json b/dev/incompressible_liquids/MAM.json deleted file mode 100644 index 66429952..00000000 --- a/dev/incompressible_liquids/MAM.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -2.57600e+01, - -2.38500e+02, - -7.63600e+02, - -2.61000e+03, - -7.30000e+03, - -1.07500e+04 - ], - [ - -1.81700e-04, - 2.31500e-03, - -2.29000e-02, - -3.76000e-01, - 3.52400e+00, - 0.00000e+00 - ], - [ - 1.20400e-05, - 1.41500e-05, - -2.62000e-03, - 1.36000e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 5.56700e-07, - -4.24400e-06, - 1.78600e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.68501e+02, - "Tmax": 3.03150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 4.55100e-01, - -5.21600e-01, - 8.90900e-01, - 6.80700e+00, - -1.89800e+01, - -1.36100e+02 - ], - [ - 1.67300e-03, - 3.54400e-04, - 3.52600e-02, - -3.39400e-01, - 6.30400e-01, - 0.00000e+00 - ], - [ - -2.21400e-06, - 1.05700e-04, - -1.78200e-03, - 8.31500e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.22800e-07, - -3.47400e-06, - 1.85800e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.44500e+02, - -2.91400e+02, - 2.26200e+02, - -6.68500e+02, - 1.63500e+02, - 6.29800e+03 - ], - [ - -2.74300e-01, - -2.30700e+00, - 6.64500e-01, - -1.00200e+00, - 4.46500e+01, - 0.00000e+00 - ], - [ - -3.11300e-03, - 1.34100e-02, - -8.70000e-02, - 3.30900e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.34900e-06, - -5.15100e-05, - 8.99900e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Ammonia (NH3)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MAM", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 4.23300e+03, - 1.14500e+02, - -1.96500e+01, - 2.13100e+03, - 2.13600e+04, - -8.55100e+04 - ], - [ - -1.61800e+00, - 2.71500e+00, - 3.47200e+01, - 4.11700e+01, - -1.35400e+03, - 0.00000e+00 - ], - [ - 1.61000e-02, - 1.07200e-01, - -9.05100e-01, - 4.44600e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.66200e-05, - -5.26600e-03, - 2.10600e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 9.25500e-01, - 1.32700e+00, - -5.97900e+00, - -1.09700e+02, - 3.06500e+02, - 3.24400e+03 - ], - [ - -3.43900e-02, - 1.85600e-02, - -2.18400e-01, - 1.67000e+00, - -6.16600e+00, - 0.00000e+00 - ], - [ - 3.21700e-04, - -1.64600e-03, - 1.29700e-02, - -3.37700e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.54400e-06, - 3.00400e-05, - -1.14100e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.60784e-01, - "xid": 0, - "xmax": 3.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MAM2.json b/dev/incompressible_liquids/MAM2.json deleted file mode 100644 index 927cac1d..00000000 --- a/dev/incompressible_liquids/MAM2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.48274e+02 - ], - [ - -2.32539e+02 - ], - [ - -7.95433e+02 - ], - [ - -2.90306e+03 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.58650e+02, - "Tmax": 2.93150e+02, - "Tmin": 2.24150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Ammonia", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MAM2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.57000e-01, - "xid": 0, - "xmax": 2.36000e-01, - "xmin": 7.80000e-02 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MCA.json b/dev/incompressible_liquids/MCA.json deleted file mode 100644 index deead060..00000000 --- a/dev/incompressible_liquids/MCA.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.62100e+01, - -1.55500e+02, - -5.49600e+02, - -2.62400e+03, - -1.72600e+04, - -4.49400e+04 - ], - [ - -1.34400e-04, - 2.14600e-03, - 9.41500e-03, - -1.08200e-01, - -4.39600e-01, - 0.00000e+00 - ], - [ - 5.07300e-06, - -1.50000e-04, - 6.18500e-04, - 3.03600e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.82000e-08, - 2.21900e-06, - -1.72300e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.80676e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 5.58000e-01, - -1.15000e-01, - -1.78400e-01, - -4.41500e-01, - 4.69900e+00, - 2.92900e+01 - ], - [ - 1.46000e-03, - -1.00800e-03, - 3.49600e-03, - -3.46200e-03, - 6.17900e-02, - 0.00000e+00 - ], - [ - 3.86100e-07, - -6.54000e-06, - -4.84000e-05, - 3.92200e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.30700e-08, - 4.72800e-08, - -2.01100e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.17100e+03, - 9.84700e+02, - 3.38900e+02, - 1.06200e+03, - 2.78500e+03, - -1.81100e+04 - ], - [ - -1.46300e-01, - -2.48800e+00, - -2.30200e+01, - 6.29100e+01, - 6.42300e+02, - 0.00000e+00 - ], - [ - -1.30200e-03, - -5.53000e-02, - 3.52600e-01, - 1.80600e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.87100e-04, - 1.66500e-03, - 2.78800e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Calcium Chloride (CaCl2)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MCA", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.13300e+03, - -4.48000e+03, - 9.51100e+03, - 1.47200e+04, - -1.34600e+05, - -6.67400e+05 - ], - [ - 2.81000e+00, - 3.27100e+00, - -5.19100e+01, - 1.61500e+02, - -9.75400e+02, - 0.00000e+00 - ], - [ - -1.56300e-02, - -1.20500e-01, - 2.28200e+00, - 5.07300e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.23300e-05, - 9.34600e-04, - -9.29000e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 8.93900e-01, - 4.38900e+00, - 9.12100e+00, - 1.96300e+00, - 2.99700e+01, - 3.43500e+02 - ], - [ - -2.64700e-02, - 2.10200e-02, - 3.99300e-02, - -4.89200e-01, - -3.63100e+00, - 0.00000e+00 - ], - [ - 1.71800e-04, - -8.68800e-05, - 3.78500e-03, - 1.52600e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -7.91800e-07, - -4.35300e-06, - -9.97900e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.87414e-01, - "xid": 0, - "xmax": 3.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MCA2.json b/dev/incompressible_liquids/MCA2.json deleted file mode 100644 index 36e86d00..00000000 --- a/dev/incompressible_liquids/MCA2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.56498e+02 - ], - [ - -1.59975e+02 - ], - [ - -7.92932e+02 - ], - [ - -3.43650e+03 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.66150e+02, - "Tmax": 3.03150e+02, - "Tmin": 2.29150e+02, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 5.35326e-01, - -9.90189e-02, - 3.06059e-01, - -4.61825e+00, - -3.79404e+01, - 4.10400e+02 - ], - [ - 1.46576e-03, - -2.42522e-04, - -6.77110e-03, - -6.55480e-02, - 7.26900e-01, - 0.00000e+00 - ], - [ - 1.96813e-06, - -2.50292e-05, - -8.61012e-05, - 1.22300e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.23620e-08, - 2.59782e-07, - 2.43300e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.17979e+03, - 1.03510e+03, - 4.17854e+02, - -8.15239e+03, - 6.80927e+03, - 6.01500e+05 - ], - [ - -2.41158e-01, - -1.47749e+00, - -1.75855e+01, - 1.31583e+02, - -2.93700e+02, - 0.00000e+00 - ], - [ - -5.45784e-03, - 1.37175e-02, - 6.04222e-01, - -3.86800e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.69624e-05, - -1.34329e-04, - -1.06200e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Calcium Chloride", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MCA2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.07066e+03, - -4.45474e+03, - 8.41657e+03, - 1.79087e+04, - 6.72667e+04, - -1.42300e+06 - ], - [ - 3.15933e+00, - 4.62350e+00, - -9.36063e+01, - -2.70112e+02, - -3.35500e+02, - 0.00000e+00 - ], - [ - -1.52897e-02, - -3.40338e-02, - 1.71841e+00, - 8.49500e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.37348e-05, - -1.85962e-04, - 8.14500e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 5.93704e+00, - 4.36619e+00, - 8.33039e+00, - 1.58454e+01, - 1.82161e+02, - -1.24000e+02 - ], - [ - -3.15333e-02, - 1.18104e-02, - 7.61652e-02, - -2.13551e+00, - -1.29700e+01, - 0.00000e+00 - ], - [ - 2.02602e-04, - 8.56680e-04, - -2.19618e-03, - 3.17700e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.01408e-06, - -1.80611e-05, - 9.95300e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.92000e-01, - "xid": 0, - "xmax": 2.94000e-01, - "xmin": 9.00000e-02 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MEA.json b/dev/incompressible_liquids/MEA.json deleted file mode 100644 index 61ce3a7c..00000000 --- a/dev/incompressible_liquids/MEA.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.94100e+01, - -9.54000e+01, - -2.64800e+01, - 3.85100e+02, - -2.85800e+01, - -1.67000e+03 - ], - [ - -3.66800e-04, - -1.20900e-03, - -3.17300e-03, - 1.34000e-02, - 9.31200e-02, - 0.00000e+00 - ], - [ - -4.00500e-05, - 2.87700e-04, - 8.65200e-05, - -2.09100e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.52400e-06, - -4.39400e-06, - -3.71700e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.81308e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.06700e-01, - -5.00800e-01, - 2.80100e-01, - -2.00900e-02, - -1.50600e-01, - -1.65300e-01 - ], - [ - 6.77500e-04, - -2.37700e-03, - 2.66900e-03, - -6.81300e-03, - 1.16700e-02, - 0.00000e+00 - ], - [ - 3.10500e-07, - -3.21600e-06, - -3.60600e-05, - 1.42900e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.00000e-08, - 8.36200e-09, - 1.55200e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.61900e+02, - -1.43300e+02, - -2.26000e+02, - -1.69000e+02, - 1.29100e+03, - -8.31800e+02 - ], - [ - -5.22200e-01, - -1.98900e+00, - 2.28100e+00, - 8.59400e+00, - -1.59000e+01, - 0.00000e+00 - ], - [ - -3.28100e-03, - 1.87000e-02, - -8.58100e-04, - -9.60700e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.56900e-05, - -9.15400e-05, - 4.05600e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Ethyl Alcohol (Ethanol)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MEA", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 4.20400e+03, - -2.10200e+03, - -3.71400e+03, - 1.74300e+04, - -6.29200e+03, - -8.29000e+04 - ], - [ - 2.31900e+00, - 4.92700e+01, - -2.33500e+01, - -2.96900e+02, - 5.35300e+02, - 0.00000e+00 - ], - [ - -3.04200e-02, - -3.07200e-01, - -1.96000e-01, - 1.90100e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 6.86000e-04, - -5.69000e-03, - 7.46100e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.47400e+00, - 1.56500e+00, - -8.43500e+00, - 7.55200e+00, - 1.52900e+01, - -4.13000e+01 - ], - [ - -4.74500e-02, - -4.10600e-03, - 1.64000e-01, - -1.11800e-01, - -9.48100e-02, - 0.00000e+00 - ], - [ - 4.31400e-04, - -5.13500e-04, - -1.09100e-03, - 1.89900e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -3.02300e-06, - 7.00400e-06, - -1.96700e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.92361e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MEA2.json b/dev/incompressible_liquids/MEA2.json deleted file mode 100644 index 038e55d3..00000000 --- a/dev/incompressible_liquids/MEA2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.48008e+02 - ], - [ - -9.20317e+01 - ], - [ - 7.57949e+00 - ], - [ - 1.68742e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.61150e+02, - "Tmax": 2.93150e+02, - "Tmin": 2.29150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 3.65996e-01, - -4.35123e-01, - 1.94518e-01, - 7.66944e-01, - 4.68424e-01, - -1.01200e+01 - ], - [ - 5.18284e-04, - -2.29438e-03, - 4.14778e-03, - 1.77705e-03, - -3.48600e-02, - 0.00000e+00 - ], - [ - -4.27916e-09, - -1.96645e-06, - 1.31080e-05, - -1.43900e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.22538e-08, - 3.47376e-08, - -7.32499e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.63916e+02, - -1.38527e+02, - -3.14723e+02, - 4.27596e+02, - 1.62071e+03, - -6.41200e+03 - ], - [ - -5.18823e-01, - -2.65921e+00, - 4.93240e+00, - 1.47917e+01, - -4.14100e+01, - 0.00000e+00 - ], - [ - -3.98560e-03, - 3.26150e-02, - 1.65020e-02, - -3.46000e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.91533e-05, - -4.45563e-05, - -2.87500e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Ethanol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MEA2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.99643e+03, - -2.84625e+03, - -1.53143e+03, - 9.30737e+03, - -1.43187e+04, - 2.23500e+03 - ], - [ - 3.21812e+00, - 2.06561e+01, - -4.36868e+01, - 9.48128e-01, - 2.54500e+02, - 0.00000e+00 - ], - [ - 2.61767e-04, - -1.77278e-02, - 2.81940e-01, - -9.14900e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.31245e-06, - 2.77743e-04, - 3.36600e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 7.24478e+00, - 3.63193e-01, - -7.44596e+00, - -1.35005e+00, - -1.48844e+01, - 7.65400e+01 - ], - [ - -6.53340e-02, - 4.10010e-02, - -2.98502e-02, - 3.81461e-01, - 8.58200e-01, - 0.00000e+00 - ], - [ - 5.43659e-04, - -1.56848e-03, - 6.57019e-03, - -1.23400e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.03612e-06, - 2.38837e-05, - -1.32900e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.55000e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 1.10000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MEG.json b/dev/incompressible_liquids/MEG.json deleted file mode 100644 index 4141bc94..00000000 --- a/dev/incompressible_liquids/MEG.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.52500e+01, - -8.08000e+01, - -1.33400e+02, - -7.29300e+01, - 1.00600e+02, - 1.14000e+01 - ], - [ - -1.56600e-06, - -1.33900e-04, - 6.32200e-04, - 1.76400e-03, - -7.66200e-03, - 0.00000e+00 - ], - [ - -2.27800e-07, - 2.04700e-06, - 2.37300e-06, - -2.44200e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.16900e-09, - -2.71700e-09, - -2.18300e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 3.04878e+02, - "Tmax": 3.73150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 4.72000e-01, - -4.28600e-01, - 1.74700e-01, - 3.01700e-02, - -1.32200e-01, - 2.67800e-01 - ], - [ - 8.90300e-04, - -1.47300e-03, - 6.81400e-04, - -2.41200e-03, - 2.55500e-03, - 0.00000e+00 - ], - [ - -1.05800e-06, - 1.05900e-05, - -3.61200e-05, - 4.00400e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.78900e-09, - -1.14200e-08, - 2.36500e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.03400e+03, - 1.31100e+02, - 7.49000e-01, - -1.06200e+02, - -9.62300e+01, - 4.89100e+02 - ], - [ - -4.78100e-01, - -6.87600e-01, - 7.85500e-01, - 1.22900e+00, - -7.21100e+00, - 0.00000e+00 - ], - [ - -2.69200e-03, - 4.80500e-03, - -3.99500e-03, - -1.15300e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.72500e-06, - 1.69000e-06, - 4.98200e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Ethylene Glycol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MEG", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.73700e+00, - -1.79900e+00, - -9.93300e-01, - 2.61000e+00, - 1.53700e+00, - -1.61800e+01 - ], - [ - 2.93000e-03, - 1.04600e-02, - 3.51600e-03, - -1.18900e-03, - -4.27200e-02, - 0.00000e+00 - ], - [ - -4.67500e-06, - -4.14700e-05, - 5.10900e-05, - -1.64300e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.38900e-08, - 1.84700e-08, - -7.13800e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 4.70500e-01, - 2.47100e+00, - 3.32800e-02, - 1.65900e+00, - 3.08900e+00, - -1.86500e+01 - ], - [ - -2.55000e-02, - -1.17100e-02, - 1.08600e-02, - 3.15700e-03, - 1.83100e-02, - 0.00000e+00 - ], - [ - 1.78200e-04, - 1.05200e-04, - 1.05100e-04, - 4.06300e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -7.66900e-07, - -1.63400e-06, - -6.47500e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.08462e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MEG2.json b/dev/incompressible_liquids/MEG2.json deleted file mode 100644 index f07f35bd..00000000 --- a/dev/incompressible_liquids/MEG2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.60004e+02 - ], - [ - -7.35447e+01 - ], - [ - -1.19337e+02 - ], - [ - -8.15890e+01 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.71150e+02, - "Tmax": 3.13150e+02, - "Tmin": 2.29150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.51971e-01, - -3.79474e-01, - 5.34939e-02, - 4.36510e-01, - 3.78463e-01, - -1.82000e+00 - ], - [ - 1.00880e-03, - -2.35315e-03, - 2.68204e-03, - 1.12449e-03, - -1.11200e-02, - 0.00000e+00 - ], - [ - 1.91712e-07, - -4.49816e-07, - 2.73155e-05, - -1.12600e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.20883e-08, - 3.39327e-07, - -6.77200e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.04289e+03, - 1.59475e+02, - 8.95042e+00, - -4.03861e+01, - -2.45825e+02, - -1.12800e+03 - ], - [ - -2.28102e-01, - -1.25288e+00, - 5.36841e-01, - 5.03355e+00, - -3.84800e+00, - 0.00000e+00 - ], - [ - -4.16385e-03, - 8.26531e-03, - 5.48827e-04, - -5.52300e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.24878e-05, - 8.41482e-06, - -9.80899e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Ethylene Glycol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MEG2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.71696e+03, - -2.33031e+03, - -1.77942e+03, - 5.43190e+03, - 8.76344e+03, - -3.38000e+04 - ], - [ - 2.79151e+00, - 1.30976e+01, - -2.19718e+01, - 4.82863e+01, - 5.19000e+01, - 0.00000e+00 - ], - [ - 4.41251e-03, - -8.21343e-02, - 4.80328e-01, - -7.77700e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -9.20519e-05, - 1.17730e-03, - -3.25000e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 6.08908e+00, - 2.96996e+00, - -5.99932e-01, - 4.72582e+00, - 1.29255e+01, - -3.65500e+01 - ], - [ - -4.06354e-02, - -2.03127e-02, - 4.03475e-02, - -4.30466e-02, - -4.29400e-01, - 0.00000e+00 - ], - [ - 2.74955e-04, - 2.76171e-04, - 1.29792e-04, - -9.11700e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -3.98730e-07, - -2.87405e-06, - -1.08200e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.80000e-01, - "xid": 0, - "xmax": 5.60000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MGL.json b/dev/incompressible_liquids/MGL.json deleted file mode 100644 index 89c9959b..00000000 --- a/dev/incompressible_liquids/MGL.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.30000e+01, - -5.74200e+01, - -9.11900e+01, - -1.64100e+02, - -2.40800e+02, - -7.73400e+01 - ], - [ - -8.63800e-04, - -7.99100e-04, - 2.97300e-02, - -5.31300e-03, - -1.68200e-01, - 0.00000e+00 - ], - [ - 6.89500e-06, - -7.51500e-05, - 2.37900e-05, - 4.54600e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 5.22900e-07, - 1.71000e-06, - -1.23700e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.82061e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.53200e-01, - -3.22300e-01, - 5.53900e-02, - -2.07300e-01, - 3.00000e-01, - 2.22100e+00 - ], - [ - 9.78200e-04, - -1.95100e-03, - -6.87800e-04, - -2.23500e-04, - 1.60400e-02, - 0.00000e+00 - ], - [ - -1.19600e-07, - 1.17800e-05, - -2.58700e-05, - -1.42100e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -8.77800e-09, - 1.04800e-08, - 2.26200e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.09300e+03, - 2.74000e+02, - 4.08100e+01, - -4.74400e+01, - -1.41500e+02, - -6.09700e+01 - ], - [ - -3.62400e-01, - -8.37300e-01, - 1.80800e-01, - 1.83300e+00, - 1.86300e+00, - 0.00000e+00 - ], - [ - -2.45100e-03, - 9.59600e-03, - -8.51600e-03, - -3.07700e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.54700e-05, - -6.99900e-05, - 1.44100e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Glycerol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MGL", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.48600e+03, - -2.25000e+03, - -3.25800e+02, - 2.92200e+03, - 2.23800e+03, - -5.94400e+03 - ], - [ - 3.76600e+00, - 1.81100e+01, - 7.24900e+00, - -5.34600e+01, - -5.38300e+01, - 0.00000e+00 - ], - [ - -1.22200e-04, - 3.76600e-02, - -2.13300e-01, - 2.30000e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.21900e-05, - -1.73000e-03, - 4.90700e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.52000e+00, - 4.45000e+00, - 3.63300e+00, - 1.06900e+00, - 5.72900e+00, - 2.11600e+01 - ], - [ - -3.72900e-02, - -2.68800e-02, - -4.08800e-02, - -1.24800e-01, - -1.78000e-01, - 0.00000e+00 - ], - [ - 3.57200e-04, - 8.87600e-05, - 6.21900e-04, - 3.01900e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -3.64800e-06, - -2.20900e-06, - 6.33100e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.61905e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MGL2.json b/dev/incompressible_liquids/MGL2.json deleted file mode 100644 index 3fc48261..00000000 --- a/dev/incompressible_liquids/MGL2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.57099e+02 - ], - [ - -6.90519e+01 - ], - [ - -1.35664e+02 - ], - [ - -2.59258e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.13150e+02, - "Tmin": 2.33150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.29151e-01, - -3.08279e-01, - 1.53124e-01, - 1.99413e-03, - -1.98886e+00, - 6.01900e-01 - ], - [ - 8.50149e-04, - -2.15238e-03, - 1.94758e-03, - 6.00225e-03, - -3.08100e-02, - 0.00000e+00 - ], - [ - 4.89167e-07, - 1.83680e-06, - 2.12190e-05, - -4.28200e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.79013e-08, - 1.54511e-07, - -1.72900e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.11088e+03, - 2.96376e+02, - -4.47837e+01, - -8.41388e+02, - 1.50162e+03, - 1.22400e+04 - ], - [ - -3.53172e-01, - -1.03584e+00, - -6.37512e-01, - 7.09221e+00, - -1.11500e+00, - 0.00000e+00 - ], - [ - -2.94209e-03, - 1.83369e-02, - 4.84942e-05, - -2.54500e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.16871e-05, - -6.66162e-05, - 4.61300e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Glycerol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MGL2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.32254e+03, - -2.42988e+03, - 1.50594e+03, - 1.63862e+03, - -2.68599e+04, - 2.62500e+04 - ], - [ - 4.99313e+00, - 1.93666e+01, - -4.87305e+01, - -7.65822e+01, - 7.83100e+02, - 0.00000e+00 - ], - [ - -3.69836e-03, - -1.97179e-02, - 2.51526e-01, - -4.25200e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.20207e-04, - 5.10373e-04, - -5.80800e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 6.73868e+00, - 5.61070e+00, - 3.23687e+00, - -2.21612e+01, - 5.17880e+01, - 4.12300e+02 - ], - [ - -4.59212e-02, - -5.31595e-02, - 4.00800e-02, - 2.58668e-02, - -2.79700e+00, - 0.00000e+00 - ], - [ - 4.77831e-04, - 5.31410e-04, - -1.53168e-03, - 4.04800e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.68259e-06, - -5.75002e-06, - 7.78800e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 4.12500e-01, - "xid": 0, - "xmax": 6.30000e-01, - "xmin": 1.95000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MKA.json b/dev/incompressible_liquids/MKA.json deleted file mode 100644 index 3876bc44..00000000 --- a/dev/incompressible_liquids/MKA.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.70400e+01, - -1.22800e+02, - -3.86200e+02, - -4.57100e+02, - 2.96900e+03, - 8.69000e+03 - ], - [ - -1.08200e-04, - 2.30200e-05, - 1.56500e-02, - -3.73400e-02, - -2.81700e-01, - 0.00000e+00 - ], - [ - 6.89200e-06, - -8.71100e-05, - 7.56500e-05, - 1.26800e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.39700e-07, - 2.01600e-06, - -3.06300e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.79926e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.95800e-01, - -2.93100e-01, - 1.03200e-01, - -2.02400e-01, - -2.37100e-01, - 5.51500e+00 - ], - [ - 1.34000e-03, - -1.47700e-03, - -2.39600e-03, - -5.54100e-03, - 5.57300e-02, - 0.00000e+00 - ], - [ - 6.83700e-08, - 4.65900e-06, - -4.35200e-05, - 8.98400e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.63700e-09, - 2.88600e-08, - -2.23000e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.13800e+03, - 5.79600e+02, - 1.30600e+02, - -1.42700e+03, - 9.35300e+02, - 2.28500e+04 - ], - [ - -3.56500e-01, - -7.90000e-01, - 6.84500e-01, - 8.30400e-01, - 2.32200e+00, - 0.00000e+00 - ], - [ - -2.02000e-03, - 2.75300e-03, - -1.13000e-02, - 1.30300e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.20500e-06, - 5.14000e-06, - 2.43300e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Potassium Acetate (CH3CO2K)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MKA", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.32700e+03, - -2.89500e+03, - 4.66300e+02, - -1.24900e+03, - 1.65900e+04, - -4.61200e+03 - ], - [ - 1.80600e+00, - 4.13100e+00, - 7.77500e+00, - 5.11500e+01, - -5.19300e+02, - 0.00000e+00 - ], - [ - -1.76600e-03, - 4.42900e-02, - 3.46300e-01, - -2.98700e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.35700e-05, - 1.12500e-03, - -7.26100e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.04200e+00, - 3.40500e+00, - 5.01700e+00, - 5.63700e+00, - -2.92200e+01, - -7.96000e+01 - ], - [ - -3.07100e-02, - -1.51100e-02, - -7.77900e-02, - 2.53400e-02, - 4.60100e-01, - 0.00000e+00 - ], - [ - 2.81900e-04, - 1.17200e-04, - 9.12500e-04, - 1.59600e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.19000e-06, - -2.37900e-06, - -1.88800e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.56757e-01, - "xid": 0, - "xmax": 4.50000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MKA2.json b/dev/incompressible_liquids/MKA2.json deleted file mode 100644 index 775dc105..00000000 --- a/dev/incompressible_liquids/MKA2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.55608e+02 - ], - [ - -1.23957e+02 - ], - [ - -3.35148e+02 - ], - [ - -3.98881e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.66150e+02, - "Tmax": 3.03150e+02, - "Tmin": 2.29150e+02, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 4.76293e-01, - -2.68142e-01, - 3.30969e-01, - -1.37812e+00, - -9.92017e+00, - 5.13600e+01 - ], - [ - 1.33628e-03, - -1.66873e-03, - -1.67583e-03, - -9.46965e-03, - 9.43300e-02, - 0.00000e+00 - ], - [ - -1.14304e-06, - 8.76865e-06, - 1.05109e-05, - -7.68401e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.43480e-08, - 9.71959e-10, - -1.34900e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.14447e+03, - 5.77812e+02, - 1.79010e+02, - 2.37909e+02, - -4.23367e+03, - -7.48301e+03 - ], - [ - -2.91559e-01, - -8.08774e-01, - -1.63873e+00, - 3.30565e+00, - 8.78500e+01, - 0.00000e+00 - ], - [ - -3.94240e-03, - -2.02500e-03, - 1.44297e-01, - -3.00500e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.32328e-05, - 1.87445e-04, - -2.60800e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Potassium Acetate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MKA2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.28714e+03, - -2.98183e+03, - 5.22892e+02, - 5.19755e+03, - 1.80884e+04, - -2.10900e+05 - ], - [ - 1.76051e+00, - 3.70287e+00, - 4.12461e+01, - 7.28534e+01, - -1.97300e+03, - 0.00000e+00 - ], - [ - 6.04641e-03, - -5.47162e-02, - -1.04625e-01, - 1.61000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -9.48822e-05, - 6.63449e-04, - 3.56000e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 6.14800e+00, - 3.80327e+00, - 4.15661e+00, - -1.57647e+01, - 3.39046e+01, - 5.43500e+02 - ], - [ - -3.99914e-02, - -2.18037e-02, - -1.02487e-01, - 1.01847e-02, - -2.68400e-01, - 0.00000e+00 - ], - [ - 3.90531e-04, - 1.42971e-04, - 1.92434e-03, - 2.26100e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.70480e-06, - -8.10038e-07, - -1.45900e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.60000e-01, - "xid": 0, - "xmax": 4.10000e-01, - "xmin": 1.10000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MKC.json b/dev/incompressible_liquids/MKC.json deleted file mode 100644 index 2f818e65..00000000 --- a/dev/incompressible_liquids/MKC.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.03000e+01, - -7.78600e+01, - -2.76600e+02, - -8.22600e+02, - -2.37200e+02, - 3.25100e+03 - ], - [ - -1.57500e-04, - 1.11200e-03, - 1.61600e-02, - -4.91300e-02, - -2.88600e-01, - 0.00000e+00 - ], - [ - 3.59800e-06, - -3.47900e-05, - -1.68100e-04, - 1.39500e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.32400e-09, - -1.24400e-07, - 3.84700e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.84392e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 5.62200e-01, - -8.92000e-02, - -5.23300e-03, - -9.28300e-01, - -1.01100e+00, - 1.31100e+01 - ], - [ - 1.65600e-03, - 2.03100e-04, - -2.96200e-03, - -1.81400e-02, - 8.47100e-02, - 0.00000e+00 - ], - [ - 2.10800e-06, - -2.61600e-05, - -9.17400e-05, - 8.76700e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.48200e-08, - 7.96500e-08, - 1.02700e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.21600e+03, - 1.06400e+03, - 4.41300e+02, - -1.33300e+02, - -1.24600e+03, - 2.03500e+03 - ], - [ - -4.11400e-01, - -7.61400e-01, - 7.80600e-01, - -2.38100e+00, - 2.70800e+01, - 0.00000e+00 - ], - [ - -3.38300e-03, - 5.21400e-03, - -1.17300e-02, - 1.69600e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.99000e-05, - -8.08700e-05, - 5.65800e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Potassium Carbonate (K2CO3)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MKC", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.21700e+03, - -3.73300e+03, - 2.02300e+03, - 1.97100e+04, - 3.40500e+04, - -3.48800e+05 - ], - [ - 1.49200e+00, - -1.77500e+00, - 4.55300e+01, - 1.36700e+02, - -1.67600e+03, - 0.00000e+00 - ], - [ - -1.53900e-03, - 5.41600e-02, - 3.58700e-01, - -3.66700e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -3.54600e-05, - 6.59000e-04, - -3.70700e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 8.06300e-01, - 3.62400e+00, - 6.65900e+00, - 1.07700e+01, - -1.09700e+01, - -8.45300e+01 - ], - [ - -2.36200e-02, - -1.26200e-03, - -1.61100e-01, - -9.79600e-02, - 7.82500e-01, - 0.00000e+00 - ], - [ - 1.85100e-04, - -3.02200e-05, - 1.53000e-03, - 3.07000e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.37200e-06, - -7.76100e-07, - 1.06100e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.20833e-01, - "xid": 0, - "xmax": 4.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MKC2.json b/dev/incompressible_liquids/MKC2.json deleted file mode 100644 index 8a7301c8..00000000 --- a/dev/incompressible_liquids/MKC2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.64853e+02 - ], - [ - -7.16876e+01 - ], - [ - -2.34850e+02 - ], - [ - -4.91415e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.70650e+02, - "Tmax": 3.03150e+02, - "Tmin": 2.38150e+02, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 5.42723e-01, - -9.53472e-02, - 4.30758e-02, - -8.74763e-01, - -4.00619e+00, - 2.24500e+01 - ], - [ - 1.59784e-03, - 5.39620e-04, - -2.00628e-04, - -3.12927e-02, - 9.35200e-02, - 0.00000e+00 - ], - [ - 2.33988e-06, - -2.90760e-05, - -6.46641e-05, - 8.92300e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 6.62831e-09, - 1.21694e-07, - -1.29800e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.19242e+03, - 1.08574e+03, - 4.11860e+02, - -1.95349e+03, - -1.12944e+03, - 3.24100e+04 - ], - [ - -3.46658e-01, - -1.58677e+00, - 1.11707e+01, - -2.22538e+00, - -1.65200e+02, - 0.00000e+00 - ], - [ - -4.86671e-03, - 1.74172e-02, - -8.18649e-02, - 3.45600e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 7.35295e-05, - -3.17838e-04, - 7.37000e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Potassium Carbonate", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MKC2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.29867e+03, - -3.94949e+03, - 1.65997e+03, - 1.60819e+04, - 6.94292e+04, - -4.06300e+05 - ], - [ - 1.56500e+00, - 2.10991e+00, - -4.53414e+01, - 3.92351e+02, - -9.20900e+02, - 0.00000e+00 - ], - [ - 4.13429e-03, - -2.30999e-01, - 2.17492e+00, - -6.24100e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.76126e-04, - 5.95518e-03, - -2.51700e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 5.69491e+00, - 3.34648e+00, - 8.30617e+00, - 3.11505e+00, - -2.09080e+01, - 1.14900e+02 - ], - [ - -3.02209e-02, - 6.36614e-03, - -2.12026e-01, - -2.00553e-01, - 1.93300e+00, - 0.00000e+00 - ], - [ - 2.04431e-04, - 9.40265e-06, - 2.59120e-03, - 2.62400e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 6.15607e-08, - -3.41568e-06, - -5.30200e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.95000e-01, - "xid": 0, - "xmax": 3.90000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MKF.json b/dev/incompressible_liquids/MKF.json deleted file mode 100644 index 55faccbc..00000000 --- a/dev/incompressible_liquids/MKF.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -2.01900e+01, - -1.10600e+02, - -2.10000e+02, - -2.63800e+02, - 8.32700e+01, - 6.34500e+02 - ], - [ - -1.70300e-04, - -4.20300e-04, - -3.80200e-03, - 4.02700e-02, - 9.50700e-02, - 0.00000e+00 - ], - [ - -7.47800e-06, - -5.73700e-05, - 6.50400e-04, - -4.78900e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.76100e-07, - 1.47400e-06, - -1.87700e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.79041e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 5.25300e-01, - -1.97200e-01, - -2.59600e-01, - -5.06200e-01, - 1.50100e+00, - 5.56200e+00 - ], - [ - 1.24100e-03, - -6.32200e-04, - -4.69300e-04, - -5.22900e-03, - 5.37600e-02, - 0.00000e+00 - ], - [ - -3.79900e-08, - 2.65400e-06, - -4.36200e-05, - 1.03500e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.95100e-09, - -7.32400e-08, - 2.89900e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.18900e+03, - 7.04400e+02, - 1.88900e+02, - -2.26200e+02, - 2.36800e+03, - 1.06100e+04 - ], - [ - -3.51500e-01, - -6.56000e-01, - 1.03400e+00, - 3.69200e-01, - 8.76600e+00, - 0.00000e+00 - ], - [ - -1.91800e-03, - 7.01800e-03, - -3.88900e-02, - 6.60900e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.13200e-05, - -1.45900e-04, - 9.22500e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Potassium Formate (CHKO2)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MKF", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.14400e+03, - -2.99400e+03, - 2.94400e+03, - 1.16100e+03, - -1.42900e+04, - -3.22100e+04 - ], - [ - 1.69800e+00, - 2.29000e+00, - -2.48200e+01, - 6.75800e+01, - 9.94900e+01, - 0.00000e+00 - ], - [ - -1.30300e-03, - 3.89800e-04, - 3.30000e-01, - -1.27700e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 5.17700e-05, - 7.39100e-04, - -4.87100e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 8.08800e-01, - 1.75800e+00, - -8.37200e-01, - -1.18400e+00, - 1.08800e+02, - 3.09800e+02 - ], - [ - -2.55600e-02, - 8.60300e-03, - -1.60100e-02, - -1.33100e-01, - -7.00300e-01, - 0.00000e+00 - ], - [ - 2.19500e-04, - 2.49800e-04, - 4.81500e-05, - -5.48900e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.66700e-06, - -3.56900e-06, - -1.86100e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.91447e-01, - "xid": 0, - "xmax": 4.80000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MLI.json b/dev/incompressible_liquids/MLI.json deleted file mode 100644 index 3caa5233..00000000 --- a/dev/incompressible_liquids/MLI.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -2.32900e+01, - -3.05100e+02, - -1.79000e+03, - -2.91700e+03, - 5.71500e+04, - 2.75700e+05 - ], - [ - 6.55500e-04, - -3.97200e-02, - 1.39100e-01, - 1.49000e+00, - 1.18600e+01, - 0.00000e+00 - ], - [ - -1.20800e-04, - 3.67400e-03, - -1.99700e-02, - -6.90400e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.61600e-06, - -5.56900e-05, - 2.93100e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.74639e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 5.36200e-01, - -1.85500e-01, - 1.01700e-01, - 7.08400e-01, - -1.27300e+01, - -9.12400e+01 - ], - [ - 1.45400e-03, - -1.40500e-03, - 6.82100e-03, - -7.43400e-02, - -3.05800e-01, - 0.00000e+00 - ], - [ - -3.26000e-08, - -5.42400e-07, - -8.67400e-05, - 6.98800e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.42000e-08, - 9.82100e-08, - 1.09500e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.08800e+03, - 6.05600e+02, - 2.55600e+02, - 9.40700e+02, - -8.10500e+03, - -3.97400e+04 - ], - [ - -1.77200e-01, - -8.58800e-01, - 7.19400e-01, - -7.25300e+00, - 1.07200e+02, - 0.00000e+00 - ], - [ - -2.61900e-03, - 1.56700e-02, - -1.05300e-01, - 3.14400e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 6.20900e-06, - -1.84700e-04, - 9.71600e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Lithium Chloride (LiCl)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MLI", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.38300e+03, - -5.03600e+03, - 6.29800e+03, - 4.54400e+04, - 2.52700e+05, - 4.05800e+05 - ], - [ - 3.95800e+00, - 4.41500e+01, - -4.38400e+01, - -8.78700e+02, - -3.58000e+03, - 0.00000e+00 - ], - [ - -3.03500e-04, - -2.60900e-02, - 1.03900e+00, - -8.45700e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -3.47700e-06, - 3.65100e-04, - -1.07600e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.01300e+00, - 3.92000e+00, - 3.32000e+00, - 2.20600e+00, - 1.74500e+02, - 6.69900e+02 - ], - [ - -3.06200e-02, - 6.24600e-03, - 7.84000e-03, - -6.01100e-01, - -7.09400e+00, - 0.00000e+00 - ], - [ - 2.94000e-04, - -1.75200e-04, - -3.10000e-03, - 4.02300e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.71900e-06, - 8.34600e-06, - 1.38100e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.48000e-01, - "xid": 0, - "xmax": 2.40000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MMA.json b/dev/incompressible_liquids/MMA.json deleted file mode 100644 index bc118afb..00000000 --- a/dev/incompressible_liquids/MMA.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -2.62900e+01, - -1.18700e+02, - -1.21800e+02, - -6.82300e+01, - 1.29700e+01, - 2.36300e+02 - ], - [ - -2.57500e-06, - -1.60900e-03, - 3.86500e-03, - 2.13700e-02, - -5.40700e-02, - 0.00000e+00 - ], - [ - -6.73200e-06, - 3.42000e-05, - 8.76800e-05, - -4.27100e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.63000e-07, - 5.68700e-08, - -2.09500e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.76686e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.17500e-01, - -4.42100e-01, - 2.04400e-01, - 2.94300e-01, - -8.66600e-02, - -2.03300e+00 - ], - [ - 7.27100e-04, - -2.95200e-03, - 3.41300e-03, - -9.64600e-04, - -4.57300e-05, - 0.00000e+00 - ], - [ - 2.82300e-07, - 7.33600e-06, - -3.66500e-05, - 3.17400e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - 9.71800e-09, - 4.32800e-08, - -2.79100e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.58100e+02, - -1.39100e+02, - -1.10500e+02, - -1.20800e+02, - 4.92700e+02, - -7.72700e+02 - ], - [ - -4.15100e-01, - -1.51000e+00, - 1.82800e+00, - 2.99200e+00, - -1.32500e+01, - 0.00000e+00 - ], - [ - -2.26100e-03, - 1.11300e-02, - -1.64100e-02, - 1.45500e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.99800e-07, - -3.26400e-05, - 1.51000e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Methyl Alcohol (Methanol)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MMA", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.88700e+03, - -1.85000e+03, - -3.76900e+02, - -3.77600e+03, - -1.50400e+04, - 6.43300e+04 - ], - [ - 7.20100e+00, - 2.98400e+01, - -1.19600e+02, - -5.61100e+01, - 7.37300e+02, - 0.00000e+00 - ], - [ - -8.97900e-02, - -1.86500e-01, - 9.80100e-01, - -7.81100e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.39000e-04, - -1.71800e-03, - 6.66000e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 1.15300e+00, - 5.44800e-01, - -5.55200e+00, - 3.03800e+00, - 6.66900e+00, - -8.47200e+00 - ], - [ - -3.86600e-02, - 1.00800e-02, - 8.38400e-02, - -7.43500e-02, - -9.10500e-02, - 0.00000e+00 - ], - [ - 2.77900e-04, - -2.80900e-04, - -3.99700e-04, - 7.44200e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.54300e-06, - 9.81100e-07, - -3.46600e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.05128e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MMA2.json b/dev/incompressible_liquids/MMA2.json deleted file mode 100644 index 3c6df381..00000000 --- a/dev/incompressible_liquids/MMA2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.50348e+02 - ], - [ - -1.10030e+02 - ], - [ - -1.20326e+02 - ], - [ - -9.34346e+01 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.58150e+02, - "Tmax": 2.93150e+02, - "Tmin": 2.23150e+02, - "TminPsat": 2.93150e+02, - "conductivity": { - "coeffs": [ - [ - 4.15951e-01, - -3.74047e-01, - 6.93486e-02, - -1.13126e-01, - -3.98136e-01, - 4.46000e+00 - ], - [ - 8.00944e-04, - -3.76307e-03, - 1.29005e-02, - -1.72521e-02, - -5.56200e-02, - 0.00000e+00 - ], - [ - -1.43347e-06, - 9.44302e-06, - -4.50061e-05, - 2.27800e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 4.24326e-08, - 2.24451e-07, - -2.73400e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.68306e+02, - -9.77620e+01, - -1.40996e+02, - -3.97355e+02, - 9.36886e+02, - 9.18200e+02 - ], - [ - -2.67646e-01, - -2.03202e+00, - 1.49641e+00, - 2.53733e+00, - 1.19900e+00, - 0.00000e+00 - ], - [ - -3.46848e-03, - 1.68537e-02, - -2.46640e-02, - 7.79500e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.59301e-05, - -1.67540e-04, - 4.14200e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Methanol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MMA2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.89871e+03, - -2.56367e+03, - 6.45684e+02, - 1.88953e+03, - -1.06985e+04, - -4.75800e+04 - ], - [ - 1.55142e+00, - 2.27570e+01, - -6.80728e+01, - 4.77380e+02, - -9.81200e+02, - 0.00000e+00 - ], - [ - 5.28845e-03, - -2.59153e-01, - 2.23093e+00, - -5.30600e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -8.04433e-05, - 3.84936e-03, - -1.89400e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 6.53302e+00, - 3.97593e-01, - -5.12330e+00, - 1.14378e+01, - -3.49869e+01, - -2.37200e+01 - ], - [ - -4.78352e-02, - 1.74807e-02, - -5.33637e-03, - -2.43070e-01, - 1.91500e+00, - 0.00000e+00 - ], - [ - 2.99268e-04, - 3.55676e-04, - -1.51879e-03, - -9.53000e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.22346e-06, - -1.37903e-05, - 4.48200e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 2.76000e-01, - "xid": 0, - "xmax": 4.74000e-01, - "xmin": 7.80000e-02 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MMG.json b/dev/incompressible_liquids/MMG.json deleted file mode 100644 index a483a064..00000000 --- a/dev/incompressible_liquids/MMG.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.51200e+01, - -1.88500e+02, - -5.45500e+02, - -7.25700e+02, - -3.20800e+04, - -1.79400e+05 - ], - [ - -4.84300e-04, - -5.46100e-03, - 1.88700e-01, - 7.58800e-01, - -4.92000e+00, - 0.00000e+00 - ], - [ - 1.11300e-05, - 3.57900e-04, - -3.17100e-03, - -4.10200e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.85800e-07, - -3.99900e-06, - -6.24600e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.82466e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 5.46100e-01, - -2.73000e-01, - 8.67500e-02, - 8.65100e-01, - -4.77900e+01, - -2.50300e+02 - ], - [ - 1.78400e-03, - -1.48300e-03, - -1.48900e-02, - 1.99200e-01, - 1.79700e+00, - 0.00000e+00 - ], - [ - -8.17100e-07, - 3.85000e-05, - -3.88200e-04, - -1.19600e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -6.59400e-08, - -5.55600e-07, - 9.28200e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.12400e+03, - 9.07100e+02, - 2.44900e+02, - 3.40200e+03, - 3.34400e+04, - 7.23900e+04 - ], - [ - -3.07200e-01, - -6.51300e-01, - 3.57400e-01, - -1.40900e+02, - -6.83000e+02, - 0.00000e+00 - ], - [ - -3.29500e-03, - 4.66400e-03, - 4.33700e-02, - 1.85700e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.01500e-05, - 2.28700e-04, - 6.04400e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "(MgCl2)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MMG", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.36500e+03, - -5.22200e+03, - 6.20200e+03, - 1.05200e+04, - -1.06700e+05, - -6.96000e+05 - ], - [ - 2.22900e+00, - 1.16200e+01, - 2.33700e+01, - -4.59000e+02, - -1.04800e+04, - 0.00000e+00 - ], - [ - -4.62700e-03, - 1.24900e-01, - 7.24000e-01, - -2.47700e+01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 9.18600e-05, - 2.42100e-04, - -3.61300e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 9.57300e-01, - 4.96800e+00, - -2.72200e+01, - 9.35100e+01, - 7.36400e+03, - 3.71700e+04 - ], - [ - -3.06500e-02, - 1.55900e-02, - -1.75300e-01, - -8.35300e+00, - -4.01400e+01, - 0.00000e+00 - ], - [ - 1.11500e-04, - -1.79600e-03, - 2.02100e-02, - 1.90100e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.92300e-06, - 3.05100e-05, - 2.61400e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.41327e-01, - "xid": 0, - "xmax": 3.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MMG2.json b/dev/incompressible_liquids/MMG2.json deleted file mode 100644 index 8ac51a20..00000000 --- a/dev/incompressible_liquids/MMG2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.64420e+02 - ], - [ - -1.41202e+02 - ], - [ - -6.00030e+02 - ], - [ - -5.09115e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.73150e+02, - "Tmax": 3.03150e+02, - "Tmin": 2.43150e+02, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 5.39306e-01, - -2.39962e-01, - 1.59128e-01, - -5.66420e+00, - -3.54344e+01, - 5.16800e+02 - ], - [ - 1.74229e-03, - -2.43214e-04, - 4.98124e-03, - -5.98071e-02, - 4.49429e-03, - 0.00000e+00 - ], - [ - 3.06342e-07, - 2.94195e-05, - -2.58618e-04, - -5.89199e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.55098e-14, - 1.71522e-13, - 1.25528e-12, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.08926e+03, - 9.04714e+02, - 7.57958e+02, - -4.92183e+03, - -4.37056e+04, - 4.37400e+05 - ], - [ - -1.38972e-01, - -6.55649e-01, - -9.18862e+00, - -6.71572e+01, - 1.11900e+03, - 0.00000e+00 - ], - [ - -3.80578e-03, - 1.41528e-02, - 3.35216e-02, - 6.48099e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -5.55556e-12, - -1.94655e-10, - 7.53285e-10, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Magnesium Chloride", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MMG2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.55477e+03, - -5.79774e+03, - 1.33335e+04, - -6.24990e+04, - -6.51818e+05, - 6.00000e+06 - ], - [ - 1.81549e+00, - 2.33757e+01, - -2.68977e+02, - 3.21140e+02, - 8.80300e+03, - 0.00000e+00 - ], - [ - -4.26126e-04, - -1.39841e-01, - 2.49015e+00, - -9.52800e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 5.14655e-12, - -3.24640e-10, - 1.94452e-09, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 5.65743e+00, - 5.41495e+00, - 1.69748e+01, - -1.46595e+02, - -7.67416e+02, - 1.48400e+04 - ], - [ - -3.77300e-02, - -4.68872e-03, - 3.61107e-01, - -1.30366e+00, - -1.42100e+01, - 0.00000e+00 - ], - [ - 2.34189e-04, - -3.27350e-04, - -2.25078e-03, - 1.66500e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.78289e-14, - -2.58351e-13, - 3.89584e-14, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.02500e-01, - "xid": 0, - "xmax": 2.05000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MNA.json b/dev/incompressible_liquids/MNA.json deleted file mode 100644 index e4d75af6..00000000 --- a/dev/incompressible_liquids/MNA.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -9.38300e+00, - -9.03900e+01, - -2.20400e+02, - -4.82700e+02, - 2.24700e+02, - 0.00000e+00 - ], - [ - -2.58100e-05, - 2.57800e-04, - 1.19200e-03, - -1.46700e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.42300e-06, - -3.31800e-06, - -8.99300e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.85768e+02, - "Tmax": 3.13150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 5.73600e-01, - -9.38300e-02, - -1.05700e-01, - -4.85300e-01, - -4.65400e-01, - 0.00000e+00 - ], - [ - 1.59500e-03, - -1.24800e-03, - 4.15800e-03, - -1.58700e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.00300e-07, - 3.35300e-05, - -2.03200e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.09900e+03, - 7.72300e+02, - 2.56700e+02, - 1.10800e+02, - -1.68600e+03, - 0.00000e+00 - ], - [ - -3.75800e-01, - -1.42600e+00, - 3.99400e+00, - 3.52200e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.02300e-03, - 1.53500e-02, - -7.28100e-02, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Sodium Chloride (NaCl)", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MNA", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.59300e+03, - -3.24800e+03, - 6.45300e+03, - -1.62900e+04, - 2.33100e+04, - 0.00000e+00 - ], - [ - 1.66900e+00, - -3.33100e+00, - -9.31400e+01, - 7.92700e+02, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.01900e-02, - -1.16400e-01, - 2.23600e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 4.36900e-01, - 2.34600e+00, - 4.27600e+00, - 7.38600e+00, - 4.68800e+01, - 0.00000e+00 - ], - [ - -2.66600e-02, - -5.36800e-03, - -4.52600e-02, - 5.43700e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.03500e-04, - 2.87100e-04, - 1.83800e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.33897e-01, - "xid": 0, - "xmax": 2.30000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MNA2.json b/dev/incompressible_liquids/MNA2.json deleted file mode 100644 index f9b928a1..00000000 --- a/dev/incompressible_liquids/MNA2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.65416e+02 - ], - [ - -8.21145e+01 - ], - [ - -1.96011e+02 - ], - [ - -5.85100e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.78150e+02, - "Tmax": 3.03150e+02, - "Tmin": 2.53150e+02, - "TminPsat": 3.03150e+02, - "conductivity": { - "coeffs": [ - [ - 5.62673e-01, - -7.67724e-02, - -8.09524e-02, - -3.14700e-01, - -1.55803e-06, - 2.87644e-06 - ], - [ - 1.71496e-03, - -1.78802e-03, - -4.24099e-04, - -2.35457e-08, - -3.50997e-08, - 0.00000e+00 - ], - [ - -2.93800e-06, - 3.24400e-05, - -1.19112e-10, - 1.04374e-09, - 0.00000e+00, - 0.00000e+00 - ], - [ - -2.81927e-14, - -3.55745e-13, - 3.54493e-12, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.08953e+03, - 6.99347e+02, - 1.18514e+02, - 6.13300e+03, - -9.31249e-04, - 2.24447e-02 - ], - [ - -3.35693e-01, - -1.70111e+00, - 3.11800e+00, - -7.83310e-06, - 1.96283e-04, - 0.00000e+00 - ], - [ - -1.50599e-03, - 5.73700e-03, - 1.84083e-08, - 1.51125e-07, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.39433e-12, - 4.00279e-11, - 2.07893e-09, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Sodium Chloride", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MNA2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.64073e+03, - -3.56560e+03, - 9.11467e+03, - -1.95900e+04, - 2.16470e-03, - 2.84182e-02 - ], - [ - 1.81882e+00, - 1.02123e+01, - -1.45800e+02, - 3.28624e-05, - -1.82868e-04, - 0.00000e+00 - ], - [ - 9.72271e-04, - -1.46700e-01, - 1.42678e-07, - -1.28493e-06, - 0.00000e+00, - 0.00000e+00 - ], - [ - 2.58740e-11, - 3.02493e-10, - -5.25396e-09, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 5.20226e+00, - 2.19764e+00, - 5.39636e+00, - -2.52400e+00, - -1.27832e-06, - 1.50408e-05 - ], - [ - -2.94380e-02, - -3.05515e-03, - -9.97400e-02, - -1.29488e-08, - 1.94596e-07, - 0.00000e+00 - ], - [ - 2.35927e-04, - 4.41900e-04, - -4.04495e-11, - 7.12017e-10, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.96395e-14, - -3.32034e-14, - 2.03196e-12, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 1.15000e-01, - "xid": 0, - "xmax": 2.30000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MPG.json b/dev/incompressible_liquids/MPG.json deleted file mode 100644 index 8d21e554..00000000 --- a/dev/incompressible_liquids/MPG.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - -1.32500e+01, - -6.63100e+01, - -1.09400e+02, - -2.28300e+02, - -3.40900e+02, - 1.46500e+02 - ], - [ - -3.82000e-05, - 6.77400e-04, - 5.33200e-04, - -1.13100e-02, - 8.03500e-03, - 0.00000e+00 - ], - [ - 7.86500e-07, - -6.24200e-06, - -4.16900e-05, - 1.91800e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.73300e-09, - -7.81900e-08, - 3.28800e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "Tbase": 3.05858e+02, - "Tmax": 3.73150e+02, - "Tmin": 1.73150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 4.51300e-01, - -4.79500e-01, - 2.07600e-01, - -9.08300e-02, - -5.95200e-02, - 2.10400e-01 - ], - [ - 7.95500e-04, - -1.67800e-03, - 1.56300e-03, - -2.51800e-03, - -3.60500e-03, - 0.00000e+00 - ], - [ - 3.48200e-08, - 8.94100e-06, - -4.61500e-05, - 6.54300e-05, - 0.00000e+00, - 0.00000e+00 - ], - [ - -5.96600e-09, - 1.49300e-08, - 9.89700e-08, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.01800e+03, - 7.60400e+01, - -2.49800e+01, - -1.55000e+02, - -1.13100e+02, - 2.34200e+02 - ], - [ - -5.40600e-01, - -9.45000e-01, - 2.70000e-01, - 2.82900e+00, - -2.22100e+00, - 0.00000e+00 - ], - [ - -2.66600e-03, - 5.54100e-03, - -4.01800e-03, - -7.17500e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - 1.34700e-05, - -1.34300e-05, - 3.37600e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Propylene Glycol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MPG", - "reference": "Melinder Book", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.88200e+03, - -1.30400e+03, - -1.59800e+03, - 3.53900e+02, - 5.00000e+03, - -4.95900e+03 - ], - [ - 2.69900e+00, - 5.07000e+00, - 9.53400e-01, - 3.10200e+01, - -7.13500e+01, - 0.00000e+00 - ], - [ - -1.65900e-03, - -4.75200e-03, - 1.16700e-01, - -2.95000e-01, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.03200e-05, - 1.52200e-04, - -4.87000e-04, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 6.83700e-01, - 3.32800e+00, - 5.45300e-01, - -3.90000e+00, - -1.58700e+00, - 3.56400e+01 - ], - [ - -3.04500e-02, - -3.98400e-02, - -8.60000e-04, - 1.05400e-01, - 4.47500e-02, - 0.00000e+00 - ], - [ - 2.52500e-04, - 4.33200e-04, - -1.59300e-04, - -1.58900e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -1.39900e-06, - -1.86000e-06, - -4.46500e-07, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.07031e-01, - "xid": 0, - "xmax": 6.00000e-01, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/MPG2.json b/dev/incompressible_liquids/MPG2.json deleted file mode 100644 index 00fc80b8..00000000 --- a/dev/incompressible_liquids/MPG2.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "T_freeze": { - "coeffs": [ - [ - 2.55913e+02 - ], - [ - -8.12816e+01 - ], - [ - -1.81780e+02 - ], - [ - -3.58493e+02 - ] - ], - "type": "polynomial" - }, - "Tbase": 2.70650e+02, - "Tmax": 3.13150e+02, - "Tmin": 2.28150e+02, - "TminPsat": 3.13150e+02, - "conductivity": { - "coeffs": [ - [ - 4.01795e-01, - -3.94710e-01, - 2.67376e-01, - -6.06205e-01, - -3.92835e+00, - 1.29000e+01 - ], - [ - 6.83503e-04, - -1.65635e-03, - 2.68975e-03, - -1.02247e-02, - 1.43700e-02, - 0.00000e+00 - ], - [ - -3.57966e-07, - 5.71068e-06, - -7.13880e-05, - 3.00500e-04, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.74430e-09, - -2.30598e-07, - 1.27100e-06, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 1.03923e+03, - 1.02839e+02, - -1.23598e+02, - 1.44415e+02, - 1.10078e+03, - -6.03300e+03 - ], - [ - -3.64327e-01, - -1.36325e+00, - 2.19090e+00, - 2.14170e+00, - -2.91500e+01, - 0.00000e+00 - ], - [ - -3.51952e-03, - 1.43697e-02, - -5.43132e-02, - -3.02600e-02, - 0.00000e+00, - 0.00000e+00 - ], - [ - 3.06567e-06, - -1.32044e-04, - 1.15300e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "description": "Melinder, Propylene Glycol", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "MPG2", - "reference": "Melinder-BOOK-2010, SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 3.80066e+03, - -1.87336e+03, - -1.92932e+03, - 7.89520e+03, - 7.50543e+03, - -1.06800e+05 - ], - [ - 4.62130e-01, - 1.33666e+01, - 1.92973e+00, - -4.39682e+01, - -9.05000e+00, - 0.00000e+00 - ], - [ - 2.27930e-02, - -1.52044e-01, - 8.83699e-02, - 1.28600e+00, - 0.00000e+00, - 0.00000e+00 - ], - [ - -4.75533e-05, - 9.18551e-04, - -3.14800e-03, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 6.99366e+00, - 5.13749e+00, - -1.33075e+00, - -5.81956e+00, - 3.86891e+01, - 1.09200e+02 - ], - [ - -5.85869e-02, - -6.91817e-02, - 1.13335e-01, - 3.00953e-03, - -1.43000e+00, - 0.00000e+00 - ], - [ - 6.38754e-04, - 5.41284e-04, - -4.58807e-03, - -1.21200e-03, - 0.00000e+00, - 0.00000e+00 - ], - [ - -5.36956e-06, - 3.29449e-07, - 8.56200e-05, - 0.00000e+00, - 0.00000e+00, - 0.00000e+00 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 3.60000e-01, - "xid": 0, - "xmax": 5.70000e-01, - "xmin": 1.50000e-01 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/NBS.json b/dev/incompressible_liquids/NBS.json deleted file mode 100644 index 66331452..00000000 --- a/dev/incompressible_liquids/NBS.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 3.23650e+02, - "Tmax": 3.73150e+02, - "Tmin": 2.74150e+02, - "TminPsat": 3.73150e+02, - "conductivity": { - "coeffs": [ - [ - 6.41133e-01 - ], - [ - 1.09215e-03 - ], - [ - -8.22065e-06 - ], - [ - 2.09789e-08 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 9.87906e+02 - ], - [ - -4.61990e-01 - ], - [ - -3.55471e-03 - ], - [ - 1.59238e-05 - ] - ], - "type": "polynomial" - }, - "description": "NBS, Water", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "NBS", - "reference": "Properties of Water and Steam in SI-Units, 2nd Revised and Updated Printing, Springer 1979, pp. 175 ff., SecCool software", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 4.17953e+03 - ], - [ - 3.63860e-01 - ], - [ - 1.25218e-02 - ], - [ - -1.27857e-04 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - -6.14188e-01 - ], - [ - -1.65846e-02 - ], - [ - 1.01580e-04 - ], - [ - -6.98528e-07 - ] - ], - "type": "exppolynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 4, - "xmax": 0.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/NaK.json b/dev/incompressible_liquids/NaK.json deleted file mode 100644 index aa9cbe1c..00000000 --- a/dev/incompressible_liquids/NaK.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "T_freeze": { - "coeffs": "null", - "type": "notdefined" - }, - "Tbase": 2.73150e+02, - "Tmax": 8.73150e+02, - "Tmin": 5.73150e+02, - "TminPsat": 8.73150e+02, - "conductivity": { - "coeffs": [ - [ - 4.43000e-01 - ], - [ - 1.90000e-04 - ] - ], - "type": "polynomial" - }, - "density": { - "coeffs": [ - [ - 2.09000e+03 - ], - [ - -6.36000e-01 - ] - ], - "type": "polynomial" - }, - "description": "NitrateSalt", - "mass2input": { - "coeffs": "null", - "type": "notdefined" - }, - "mole2input": { - "coeffs": "null", - "type": "notdefined" - }, - "name": "NaK", - "reference": "Solar Power Tower Design Basis Document, Alexis B. Zavoico, Sandia Labs, USA", - "saturation_pressure": { - "coeffs": "null", - "type": "notdefined" - }, - "specific_heat": { - "coeffs": [ - [ - 1.44300e+03 - ], - [ - 1.72000e-01 - ] - ], - "type": "polynomial" - }, - "viscosity": { - "coeffs": [ - [ - 2.27140e-02 - ], - [ - -1.20000e-04 - ], - [ - 2.28100e-07 - ], - [ - -1.47400e-10 - ] - ], - "type": "polynomial" - }, - "volume2input": { - "coeffs": "null", - "type": "notdefined" - }, - "xbase": 0.00000e+00, - "xid": 3, - "xmax": 1.00000e+00, - "xmin": 0.00000e+00 -} \ No newline at end of file diff --git a/dev/incompressible_liquids/OLD_incompressible.py b/dev/incompressible_liquids/OLD_incompressible.py deleted file mode 100644 index 07cea3a1..00000000 --- a/dev/incompressible_liquids/OLD_incompressible.py +++ /dev/null @@ -1,1123 +0,0 @@ -import numpy as np -import itertools,scipy.interpolate - - -class LiquidData(object): - """ - A base class that defines all the variables needed - in order to make a proper fit. You can copy this code - put in your data and some documentation for where the - information came from. - """ - Name = None # Name of the current fluid - Desc = None # Name of the current fluid - Tmin = None # Minimum temperature in K - TminPsat = None # Minimum saturation temperature in K - Tmax = None # Maximum temperature in K - T = None # Temperature for data points in K - rho = None # Density in kg/m3 - c_p = None # Heat capacity in J/(kg.K) - lam = None # Thermal conductivity in W/(m.K) - mu_dyn = None # Dynamic viscosity in Pa.s - psat = None # Saturation pressure in Pa - - - -class Example(LiquidData): - """ - Heat transfer fluid TherminolD12 by Solutia - """ - Name = "Example" - Tmin = -85 + 273.15 - TminPsat= 40 + 273.15 - Tmax = 260 + 273.15 - T = np.array([ 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150])+273.15 # Kelvin - rho = np.array([ 740, 733, 726, 717, 710, 702, 695, 687, 679, 670, 662]) # kg/m3 - c_p = np.array([ 2235, 2280, 2326, 2361, 2406, 2445, 2485, 2528, 2571, 2607, 2645]) # J/kg-K - lam = np.array([0.105, 0.104, 0.102, 0.100, 0.098, 0.096, 0.095, 0.093, 0.091, 0.089, 0.087]) # W/m-K - mu_dyn = np.array([0.804, 0.704, 0.623, 0.556, 0.498, 0.451, 0.410, 0.374, 0.346, 0.317, 0.289]) # Pa-s - psat = np.array([ 0.5, 0.9, 1.4, 2.3, 3.9, 6.0, 8.7, 12.4, 17.6, 24.4, 33.2]) # Pa - - -#class TherminolD12(LiquidData): -# """ -# Heat transfer fluid Therminol D12 by Solutia -# Source: http://twt.mpei.ac.ru/MCS/Worksheets/HEDH/.%5C..%5C..%5C..%5CTTHB%5CHEDH%5CHTF-D12.PDF -# """ -# Tmin = -85 + 273.15 -# TminPsat= 40 + 273.15 -# Tmax = 260 + 273.15 -# T = np.array([ 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150])+273.15 # Kelvin -# rho = np.array([ 740, 733, 726, 717, 710, 702, 695, 687, 679, 670, 662]) # kg/m3 -# c_p = np.array([ 2235, 2280, 2326, 2361, 2406, 2445, 2485, 2528, 2571, 2607, 2645])/1000. # kJ/kg-K -# lam = np.array([0.105, 0.104, 0.102, 0.100, 0.098, 0.096, 0.095, 0.093, 0.091, 0.089, 0.087])/1000. # kW/m-K -# mu_dyn = np.array([0.804, 0.704, 0.623, 0.556, 0.498, 0.451, 0.410, 0.374, 0.346, 0.317, 0.289])/1000. # Pa-s -# psat = np.array([ 0.5, 0.9, 1.4, 2.3, 3.9, 6.0, 8.7, 12.4, 17.6, 24.4, 33.2]) # kPa - - -class TherminolD12(LiquidData): - """ - Heat transfer fluid Therminol D12 by Solutia - Source: Therminol Heat Transfer Reference Disk - """ - T = np.array([-8.50000E+1, -8.00000E+1, -7.50000E+1, -7.00000E+1, -6.50000E+1, -6.00000E+1, -5.50000E+1, -5.00000E+1, -4.50000E+1, -4.00000E+1, -3.50000E+1, -3.00000E+1, -2.50000E+1, -2.00000E+1, -1.50000E+1, -1.00000E+1, -5.00000E+0, +0.00000E+0, +5.00000E+0, +1.00000E+1, +1.50000E+1, +2.00000E+1, +2.50000E+1, +3.00000E+1, +3.50000E+1, +4.00000E+1, +4.50000E+1, +5.00000E+1, +5.50000E+1, +6.00000E+1, +6.50000E+1, +7.00000E+1, +7.50000E+1, +8.00000E+1, +8.50000E+1, +9.00000E+1, +9.50000E+1, +1.00000E+2, +1.05000E+2, +1.10000E+2, +1.15000E+2, +1.20000E+2, +1.25000E+2, +1.30000E+2, +1.35000E+2, +1.40000E+2, +1.45000E+2, +1.50000E+2, +1.55000E+2, +1.60000E+2, +1.65000E+2, +1.70000E+2, +1.75000E+2, +1.80000E+2, +1.85000E+2, +1.90000E+2, +1.95000E+2, +2.00000E+2, +2.05000E+2, +2.10000E+2, +2.15000E+2, +2.20000E+2, +2.25000E+2, +2.30000E+2])+273.15 # Kelvin - rho = np.array([+8.35000E+2, +8.32000E+2, +8.28000E+2, +8.25000E+2, +8.22000E+2, +8.18000E+2, +8.15000E+2, +8.11000E+2, +8.08000E+2, +8.05000E+2, +8.01000E+2, +7.98000E+2, +7.94000E+2, +7.91000E+2, +7.87000E+2, +7.84000E+2, +7.80000E+2, +7.77000E+2, +7.73000E+2, +7.70000E+2, +7.66000E+2, +7.62000E+2, +7.59000E+2, +7.55000E+2, +7.52000E+2, +7.48000E+2, +7.44000E+2, +7.41000E+2, +7.37000E+2, +7.33000E+2, +7.29000E+2, +7.26000E+2, +7.22000E+2, +7.18000E+2, +7.14000E+2, +7.10000E+2, +7.06000E+2, +7.03000E+2, +6.99000E+2, +6.95000E+2, +6.91000E+2, +6.87000E+2, +6.82000E+2, +6.78000E+2, +6.74000E+2, +6.70000E+2, +6.66000E+2, +6.61000E+2, +6.57000E+2, +6.53000E+2, +6.48000E+2, +6.44000E+2, +6.39000E+2, +6.35000E+2, +6.30000E+2, +6.25000E+2, +6.20000E+2, +6.16000E+2, +6.11000E+2, +6.06000E+2, +6.00000E+2, +5.95000E+2, +5.90000E+2, +5.84000E+2]) # kg/m3 - c_p = np.array([+1.69400E+0, +1.71200E+0, +1.73100E+0, +1.75000E+0, +1.76800E+0, +1.78700E+0, +1.80600E+0, +1.82400E+0, +1.84300E+0, +1.86200E+0, +1.88100E+0, +1.90000E+0, +1.91900E+0, +1.93800E+0, +1.95700E+0, +1.97700E+0, +1.99600E+0, +2.01500E+0, +2.03500E+0, +2.05400E+0, +2.07300E+0, +2.09300E+0, +2.11300E+0, +2.13200E+0, +2.15200E+0, +2.17200E+0, +2.19100E+0, +2.21100E+0, +2.23100E+0, +2.25100E+0, +2.27100E+0, +2.29100E+0, +2.31200E+0, +2.33200E+0, +2.35200E+0, +2.37300E+0, +2.39300E+0, +2.41400E+0, +2.43400E+0, +2.45500E+0, +2.47600E+0, +2.49600E+0, +2.51700E+0, +2.53800E+0, +2.55900E+0, +2.58000E+0, +2.60200E+0, +2.62300E+0, +2.64400E+0, +2.66600E+0, +2.68700E+0, +2.70900E+0, +2.73100E+0, +2.75300E+0, +2.77500E+0, +2.79700E+0, +2.82000E+0, +2.84200E+0, +2.86500E+0, +2.88800E+0, +2.91100E+0, +2.93500E+0, +2.95900E+0, +2.98300E+0])*1000. # J/kg-K - lam = np.array([+1.24400E-1, +1.23800E-1, +1.23200E-1, +1.22500E-1, +1.21900E-1, +1.21300E-1, +1.20600E-1, +1.20000E-1, +1.19300E-1, +1.18600E-1, +1.18000E-1, +1.17300E-1, +1.16600E-1, +1.15900E-1, +1.15200E-1, +1.14500E-1, +1.13700E-1, +1.13000E-1, +1.12200E-1, +1.11500E-1, +1.10700E-1, +1.10000E-1, +1.09200E-1, +1.08400E-1, +1.07600E-1, +1.06800E-1, +1.06000E-1, +1.05200E-1, +1.04400E-1, +1.03500E-1, +1.02700E-1, +1.01900E-1, +1.01000E-1, +1.00100E-1, +9.93000E-2, +9.84000E-2, +9.75000E-2, +9.66000E-2, +9.57000E-2, +9.48000E-2, +9.39000E-2, +9.29000E-2, +9.20000E-2, +9.10000E-2, +9.01000E-2, +8.91000E-2, +8.82000E-2, +8.72000E-2, +8.62000E-2, +8.52000E-2, +8.42000E-2, +8.32000E-2, +8.22000E-2, +8.12000E-2, +8.01000E-2, +7.91000E-2, +7.80000E-2, +7.70000E-2, +7.59000E-2, +7.48000E-2, +7.38000E-2, +7.27000E-2, +7.16000E-2, +7.05000E-2]) # W/m-K - mu_dyn = np.array([+3.59000E-1, +1.77000E-1, +9.59000E-2, +5.64000E-2, +3.55000E-2, +2.36000E-2, +1.65000E-2, +1.20000E-2, +9.07000E-3, +7.06000E-3, +5.63000E-3, +4.60000E-3, +3.82000E-3, +3.24000E-3, +2.78000E-3, +2.41000E-3, +2.12000E-3, +1.88000E-3, +1.69000E-3, +1.52000E-3, +1.38000E-3, +1.26000E-3, +1.16000E-3, +1.07000E-3, +9.88000E-4, +9.18000E-4, +8.56000E-4, +8.00000E-4, +7.50000E-4, +7.05000E-4, +6.64000E-4, +6.26000E-4, +5.92000E-4, +5.61000E-4, +5.31000E-4, +5.04000E-4, +4.79000E-4, +4.56000E-4, +4.35000E-4, +4.14000E-4, +3.95000E-4, +3.78000E-4, +3.61000E-4, +3.45000E-4, +3.30000E-4, +3.16000E-4, +3.03000E-4, +2.90000E-4, +2.78000E-4, +2.67000E-4, +2.57000E-4, +2.46000E-4, +2.37000E-4, +2.27000E-4, +2.19000E-4, +2.10000E-4, +2.02000E-4, +1.95000E-4, +1.87000E-4, +1.80000E-4, +1.74000E-4, +1.67000E-4, +1.61000E-4, +1.56000E-4]) # Pa-s - psat = np.array([+4.75000E-9, +2.07000E-8, +8.08000E-8, +2.81000E-7, +8.86000E-7, +2.56000E-6, +6.82000E-6, +1.70000E-5, +3.96000E-5, +8.75000E-5, +1.84000E-4, +3.68000E-4, +7.06000E-4, +1.30000E-3, +2.33000E-3, +4.02000E-3, +6.75000E-3, +1.10000E-2, +1.76000E-2, +2.73000E-2, +4.16000E-2, +6.21000E-2, +9.10000E-2, +1.31000E-1, +1.86000E-1, +2.59000E-1, +3.56000E-1, +4.84000E-1, +6.48000E-1, +8.59000E-1, +1.13000E+0, +1.46000E+0, +1.88000E+0, +2.39000E+0, +3.01000E+0, +3.77000E+0, +4.68000E+0, +5.76000E+0, +7.05000E+0, +8.57000E+0, +1.03000E+1, +1.24000E+1, +1.48000E+1, +1.76000E+1, +2.08000E+1, +2.44000E+1, +2.85000E+1, +3.32000E+1, +3.84000E+1, +4.43000E+1, +5.09000E+1, +5.83000E+1, +6.64000E+1, +7.55000E+1, +8.55000E+1, +9.65000E+1, +1.09000E+2, +1.22000E+2, +1.36000E+2, +1.52000E+2, +1.69000E+2, +1.88000E+2, +2.08000E+2, +2.29000E+2])*1000. # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmin - Name = "TD12" - Desc = "TherminolD12" - -class TherminolVP1(LiquidData): - """ - Heat transfer fluid Therminol VP-1 by Solutia - Source: Therminol Heat Transfer Reference Disk - """ - T = np.array([+1.20000E+1, +1.70000E+1, +2.20000E+1, +2.70000E+1, +3.20000E+1, +3.70000E+1, +4.20000E+1, +4.70000E+1, +5.20000E+1, +5.70000E+1, +6.20000E+1, +6.70000E+1, +7.20000E+1, +7.70000E+1, +8.20000E+1, +8.70000E+1, +9.20000E+1, +9.70000E+1, +1.02000E+2, +1.07000E+2, +1.12000E+2, +1.17000E+2, +1.22000E+2, +1.27000E+2, +1.32000E+2, +1.37000E+2, +1.42000E+2, +1.47000E+2, +1.52000E+2, +1.57000E+2, +1.62000E+2, +1.67000E+2, +1.72000E+2, +1.77000E+2, +1.82000E+2, +1.87000E+2, +1.92000E+2, +1.97000E+2, +2.02000E+2, +2.07000E+2, +2.12000E+2, +2.17000E+2, +2.22000E+2, +2.27000E+2, +2.32000E+2, +2.37000E+2, +2.42000E+2, +2.47000E+2, +2.52000E+2, +2.57000E+2, +2.62000E+2, +2.67000E+2, +2.72000E+2, +2.77000E+2, +2.82000E+2, +2.87000E+2, +2.92000E+2, +2.97000E+2, +3.02000E+2, +3.07000E+2, +3.12000E+2, +3.17000E+2, +3.22000E+2, +3.27000E+2, +3.32000E+2, +3.37000E+2, +3.42000E+2, +3.47000E+2, +3.52000E+2, +3.57000E+2, +3.62000E+2, +3.67000E+2, +3.72000E+2, +3.77000E+2, +3.82000E+2, +3.87000E+2, +3.92000E+2, +3.97000E+2])+273.15 # Kelvin - rho = np.array([+1.07000E+3, +1.07000E+3, +1.06000E+3, +1.06000E+3, +1.05000E+3, +1.05000E+3, +1.05000E+3, +1.04000E+3, +1.04000E+3, +1.03000E+3, +1.03000E+3, +1.03000E+3, +1.02000E+3, +1.02000E+3, +1.01000E+3, +1.01000E+3, +1.01000E+3, +1.00000E+3, +9.97000E+2, +9.93000E+2, +9.88000E+2, +9.84000E+2, +9.80000E+2, +9.76000E+2, +9.72000E+2, +9.67000E+2, +9.63000E+2, +9.59000E+2, +9.55000E+2, +9.50000E+2, +9.46000E+2, +9.42000E+2, +9.37000E+2, +9.33000E+2, +9.29000E+2, +9.24000E+2, +9.20000E+2, +9.15000E+2, +9.11000E+2, +9.06000E+2, +9.02000E+2, +8.98000E+2, +8.93000E+2, +8.89000E+2, +8.84000E+2, +8.79000E+2, +8.75000E+2, +8.70000E+2, +8.65000E+2, +8.60000E+2, +8.56000E+2, +8.51000E+2, +8.46000E+2, +8.41000E+2, +8.36000E+2, +8.31000E+2, +8.25000E+2, +8.20000E+2, +8.15000E+2, +8.10000E+2, +8.04000E+2, +7.99000E+2, +7.93000E+2, +7.88000E+2, +7.82000E+2, +7.76000E+2, +7.70000E+2, +7.65000E+2, +7.59000E+2, +7.52000E+2, +7.46000E+2, +7.40000E+2, +7.33000E+2, +7.27000E+2, +7.20000E+2, +7.13000E+2, +7.06000E+2, +6.99000E+2]) # kg/m3 - c_p = np.array([+1.52300E+0, +1.53700E+0, +1.55200E+0, +1.56600E+0, +1.58100E+0, +1.59600E+0, +1.61000E+0, +1.62400E+0, +1.63900E+0, +1.65300E+0, +1.66800E+0, +1.68200E+0, +1.69600E+0, +1.71000E+0, +1.72400E+0, +1.73900E+0, +1.75300E+0, +1.76700E+0, +1.78100E+0, +1.79500E+0, +1.80900E+0, +1.82200E+0, +1.83600E+0, +1.85000E+0, +1.86400E+0, +1.87800E+0, +1.89100E+0, +1.90500E+0, +1.91900E+0, +1.93200E+0, +1.94600E+0, +1.95900E+0, +1.97300E+0, +1.98600E+0, +2.00000E+0, +2.01300E+0, +2.02700E+0, +2.04000E+0, +2.05400E+0, +2.06700E+0, +2.08000E+0, +2.09300E+0, +2.10700E+0, +2.12000E+0, +2.13300E+0, +2.14700E+0, +2.16000E+0, +2.17300E+0, +2.18600E+0, +2.19900E+0, +2.21300E+0, +2.22600E+0, +2.23900E+0, +2.25200E+0, +2.26600E+0, +2.27900E+0, +2.29300E+0, +2.30600E+0, +2.31900E+0, +2.33300E+0, +2.34700E+0, +2.36000E+0, +2.37400E+0, +2.38800E+0, +2.40200E+0, +2.41600E+0, +2.43100E+0, +2.44600E+0, +2.46000E+0, +2.47600E+0, +2.49100E+0, +2.50700E+0, +2.52300E+0, +2.54000E+0, +2.55800E+0, +2.57600E+0, +2.59500E+0, +2.61500E+0])*1000. # J/kg-K - lam = np.array([+1.37000E-1, +1.36600E-1, +1.36100E-1, +1.35600E-1, +1.35200E-1, +1.34700E-1, +1.34200E-1, +1.33600E-1, +1.33100E-1, +1.32600E-1, +1.32000E-1, +1.31500E-1, +1.30900E-1, +1.30400E-1, +1.29800E-1, +1.29200E-1, +1.28600E-1, +1.28000E-1, +1.27400E-1, +1.26800E-1, +1.26200E-1, +1.25600E-1, +1.24900E-1, +1.24300E-1, +1.23600E-1, +1.22900E-1, +1.22300E-1, +1.21600E-1, +1.20900E-1, +1.20200E-1, +1.19500E-1, +1.18700E-1, +1.18000E-1, +1.17300E-1, +1.16500E-1, +1.15800E-1, +1.15000E-1, +1.14200E-1, +1.13500E-1, +1.12700E-1, +1.11900E-1, +1.11100E-1, +1.10300E-1, +1.09400E-1, +1.08600E-1, +1.07800E-1, +1.06900E-1, +1.06000E-1, +1.05200E-1, +1.04300E-1, +1.03400E-1, +1.02500E-1, +1.01600E-1, +1.00700E-1, +9.98000E-2, +9.89000E-2, +9.79000E-2, +9.70000E-2, +9.60000E-2, +9.51000E-2, +9.41000E-2, +9.31000E-2, +9.21000E-2, +9.11000E-2, +9.01000E-2, +8.91000E-2, +8.81000E-2, +8.71000E-2, +8.60000E-2, +8.50000E-2, +8.39000E-2, +8.29000E-2, +8.18000E-2, +8.07000E-2, +7.96000E-2, +7.85000E-2, +7.74000E-2, +7.63000E-2]) # W/m-K - mu_dyn = np.array([+5.48000E-3, +4.68000E-3, +4.05000E-3, +3.54000E-3, +3.12000E-3, +2.78000E-3, +2.49000E-3, +2.24000E-3, +2.04000E-3, +1.86000E-3, +1.70000E-3, +1.57000E-3, +1.45000E-3, +1.34000E-3, +1.25000E-3, +1.16000E-3, +1.09000E-3, +1.02000E-3, +9.62000E-4, +9.06000E-4, +8.56000E-4, +8.10000E-4, +7.68000E-4, +7.29000E-4, +6.93000E-4, +6.60000E-4, +6.30000E-4, +6.01000E-4, +5.75000E-4, +5.51000E-4, +5.28000E-4, +5.06000E-4, +4.86000E-4, +4.67000E-4, +4.50000E-4, +4.33000E-4, +4.18000E-4, +4.03000E-4, +3.89000E-4, +3.76000E-4, +3.64000E-4, +3.52000E-4, +3.41000E-4, +3.30000E-4, +3.20000E-4, +3.10000E-4, +3.01000E-4, +2.93000E-4, +2.84000E-4, +2.77000E-4, +2.69000E-4, +2.62000E-4, +2.55000E-4, +2.48000E-4, +2.42000E-4, +2.36000E-4, +2.30000E-4, +2.25000E-4, +2.19000E-4, +2.14000E-4, +2.09000E-4, +2.04000E-4, +2.00000E-4, +1.96000E-4, +1.91000E-4, +1.87000E-4, +1.83000E-4, +1.80000E-4, +1.76000E-4, +1.72000E-4, +1.69000E-4, +1.66000E-4, +1.62000E-4, +1.59000E-4, +1.56000E-4, +1.53000E-4, +1.51000E-4, +1.48000E-4]) # Pa-s - psat = np.array([+5.76000E-4, +9.86000E-4, +1.65000E-3, +2.68000E-3, +4.27000E-3, +6.67000E-3, +1.02000E-2, +1.53000E-2, +2.26000E-2, +3.29000E-2, +4.71000E-2, +6.65000E-2, +9.26000E-2, +1.27000E-1, +1.73000E-1, +2.32000E-1, +3.09000E-1, +4.07000E-1, +5.30000E-1, +6.85000E-1, +8.77000E-1, +1.11000E+0, +1.40000E+0, +1.76000E+0, +2.18000E+0, +2.70000E+0, +3.31000E+0, +4.03000E+0, +4.88000E+0, +5.88000E+0, +7.05000E+0, +8.40000E+0, +9.96000E+0, +1.18000E+1, +1.38000E+1, +1.62000E+1, +1.89000E+1, +2.19000E+1, +2.53000E+1, +2.92000E+1, +3.35000E+1, +3.84000E+1, +4.37000E+1, +4.97000E+1, +5.63000E+1, +6.37000E+1, +7.17000E+1, +8.06000E+1, +9.03000E+1, +1.01000E+2, +1.13000E+2, +1.25000E+2, +1.39000E+2, +1.54000E+2, +1.70000E+2, +1.87000E+2, +2.06000E+2, +2.26000E+2, +2.48000E+2, +2.71000E+2, +2.96000E+2, +3.23000E+2, +3.51000E+2, +3.82000E+2, +4.14000E+2, +4.48000E+2, +4.85000E+2, +5.24000E+2, +5.64000E+2, +6.08000E+2, +6.54000E+2, +7.02000E+2, +7.53000E+2, +8.06000E+2, +8.62000E+2, +9.21000E+2, +9.83000E+2, +1.05000E+3])*1000. # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmin - Name = "TVP1" - Desc = "TherminolVP1" - - -class Therminol66(LiquidData): - """ - Heat transfer fluid Therminol 66 by Solutia - Source: Therminol Heat Transfer Reference Disk - """ - temp = np.linspace(0, 380, 30) # Celsius temperaure - def f_rho( T_C): - return -0.614254 * T_C - 0.000321 * T_C**2 + 1020.62 - def f_cp( T_C): - return 0.003313 * T_C + 0.0000008970785 * T_C**2 + 1.496005 - def f_mu( T_C): - return np.exp(586.375/(T_C+62.5) -2.2809 ) - def f_lam( T_C): - return -0.000033 * T_C - 0.00000015 * T_C**2 + 0.118294 - def f_psa( T_C): - return np.exp(-9094.51/(T_C+340) + 17.6371 ) - - T = temp + 273.15 # Kelvin - rho = f_rho(temp) # kg/m3 - c_p = f_cp(temp)*1e3 # J/kg-K - lam = f_lam(temp) # W/m-K - # Viscosity: Pa-s (dynamic = kinematic * rho) - # mm2/s /1e6 -> m2/s * kg/m3 = kg/s/m = Pa s - mu_dyn = f_mu(temp)/1e6 * rho - psat = f_psa(temp) * 1e3 # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 70+273.15 - Name = "T66" - Desc = "Therminol66" - - -class Therminol72(LiquidData): - """ - Heat transfer fluid Therminol 72 by Solutia - Source: Therminol Heat Transfer Reference Disk - """ - T = np.array([-1.00000E+1, -5.00000E+0, +0.00000E+0, +5.00000E+0, +1.00000E+1, +1.50000E+1, +2.00000E+1, +2.50000E+1, +3.00000E+1, +3.50000E+1, +4.00000E+1, +4.50000E+1, +5.00000E+1, +5.50000E+1, +6.00000E+1, +6.50000E+1, +7.00000E+1, +7.50000E+1, +8.00000E+1, +8.50000E+1, +9.00000E+1, +9.50000E+1, +1.00000E+2, +1.05000E+2, +1.10000E+2, +1.15000E+2, +1.20000E+2, +1.25000E+2, +1.30000E+2, +1.35000E+2, +1.40000E+2, +1.45000E+2, +1.50000E+2, +1.55000E+2, +1.60000E+2, +1.65000E+2, +1.70000E+2, +1.75000E+2, +1.80000E+2, +1.85000E+2, +1.90000E+2, +1.95000E+2, +2.00000E+2, +2.05000E+2, +2.10000E+2, +2.15000E+2, +2.20000E+2, +2.25000E+2, +2.30000E+2, +2.35000E+2, +2.40000E+2, +2.45000E+2, +2.50000E+2, +2.55000E+2, +2.60000E+2, +2.65000E+2, +2.70000E+2, +2.75000E+2, +2.80000E+2, +2.85000E+2, +2.90000E+2, +2.95000E+2, +3.00000E+2, +3.05000E+2, +3.10000E+2, +3.15000E+2, +3.20000E+2, +3.25000E+2, +3.30000E+2, +3.35000E+2, +3.40000E+2, +3.45000E+2, +3.50000E+2, +3.55000E+2, +3.60000E+2, +3.65000E+2, +3.70000E+2, +3.75000E+2, +3.80000E+2])+273.15 # Kelvin - rho = np.array([+1.11000E+3, +1.10000E+3, +1.10000E+3, +1.09000E+3, +1.09000E+3, +1.08000E+3, +1.08000E+3, +1.07000E+3, +1.07000E+3, +1.07000E+3, +1.06000E+3, +1.06000E+3, +1.05000E+3, +1.05000E+3, +1.04000E+3, +1.04000E+3, +1.03000E+3, +1.03000E+3, +1.02000E+3, +1.02000E+3, +1.02000E+3, +1.01000E+3, +1.01000E+3, +1.00000E+3, +9.97000E+2, +9.93000E+2, +9.88000E+2, +9.84000E+2, +9.79000E+2, +9.74000E+2, +9.70000E+2, +9.65000E+2, +9.61000E+2, +9.56000E+2, +9.52000E+2, +9.47000E+2, +9.43000E+2, +9.38000E+2, +9.34000E+2, +9.29000E+2, +9.25000E+2, +9.20000E+2, +9.16000E+2, +9.11000E+2, +9.06000E+2, +9.02000E+2, +8.98000E+2, +8.93000E+2, +8.89000E+2, +8.84000E+2, +8.80000E+2, +8.75000E+2, +8.71000E+2, +8.66000E+2, +8.62000E+2, +8.57000E+2, +8.53000E+2, +8.48000E+2, +8.44000E+2, +8.39000E+2, +8.34000E+2, +8.30000E+2, +8.25000E+2, +8.21000E+2, +8.16000E+2, +8.12000E+2, +8.07000E+2, +8.03000E+2, +7.98000E+2, +7.94000E+2, +7.89000E+2, +7.85000E+2, +7.80000E+2, +7.76000E+2, +7.71000E+2, +7.66000E+2, +7.62000E+2, +7.57000E+2, +7.53000E+2]) # kg/m3 - c_p = np.array([+1.47100E+0, +1.48400E+0, +1.49800E+0, +1.51200E+0, +1.52500E+0, +1.53900E+0, +1.55200E+0, +1.56600E+0, +1.57900E+0, +1.59300E+0, +1.60600E+0, +1.62000E+0, +1.63400E+0, +1.64700E+0, +1.66100E+0, +1.67400E+0, +1.68800E+0, +1.70100E+0, +1.71500E+0, +1.72800E+0, +1.74200E+0, +1.75500E+0, +1.76900E+0, +1.78300E+0, +1.79600E+0, +1.81000E+0, +1.82300E+0, +1.83700E+0, +1.85000E+0, +1.86400E+0, +1.87700E+0, +1.89100E+0, +1.90500E+0, +1.91800E+0, +1.93200E+0, +1.94500E+0, +1.95900E+0, +1.97200E+0, +1.98600E+0, +1.99900E+0, +2.01300E+0, +2.02600E+0, +2.04000E+0, +2.05400E+0, +2.06700E+0, +2.08100E+0, +2.09400E+0, +2.10800E+0, +2.12100E+0, +2.13500E+0, +2.14800E+0, +2.16200E+0, +2.17600E+0, +2.18900E+0, +2.20300E+0, +2.21600E+0, +2.23000E+0, +2.24300E+0, +2.25700E+0, +2.27000E+0, +2.28400E+0, +2.29700E+0, +2.31100E+0, +2.32500E+0, +2.33800E+0, +2.35200E+0, +2.36500E+0, +2.37900E+0, +2.39200E+0, +2.40600E+0, +2.41900E+0, +2.43300E+0, +2.44600E+0, +2.46000E+0, +2.47400E+0, +2.48700E+0, +2.50100E+0, +2.51400E+0, +2.52800E+0])*1000. # J/kg-K - lam = np.array([+1.43200E-1, +1.42600E-1, +1.42000E-1, +1.41400E-1, +1.40800E-1, +1.40200E-1, +1.39600E-1, +1.39000E-1, +1.38400E-1, +1.37800E-1, +1.37100E-1, +1.36500E-1, +1.35900E-1, +1.35300E-1, +1.34700E-1, +1.34100E-1, +1.33500E-1, +1.32900E-1, +1.32300E-1, +1.31700E-1, +1.31100E-1, +1.30500E-1, +1.29900E-1, +1.29300E-1, +1.28700E-1, +1.28000E-1, +1.27400E-1, +1.26800E-1, +1.26200E-1, +1.25600E-1, +1.25000E-1, +1.24400E-1, +1.23800E-1, +1.23200E-1, +1.22600E-1, +1.22000E-1, +1.21400E-1, +1.20800E-1, +1.20200E-1, +1.19600E-1, +1.18900E-1, +1.18300E-1, +1.17700E-1, +1.17100E-1, +1.16500E-1, +1.15900E-1, +1.15300E-1, +1.14700E-1, +1.14100E-1, +1.13500E-1, +1.12900E-1, +1.12300E-1, +1.11700E-1, +1.11100E-1, +1.10500E-1, +1.09800E-1, +1.09200E-1, +1.08600E-1, +1.08000E-1, +1.07400E-1, +1.06800E-1, +1.06200E-1, +1.05600E-1, +1.05000E-1, +1.04400E-1, +1.03800E-1, +1.03200E-1, +1.02600E-1, +1.02000E-1, +1.01400E-1, +1.00700E-1, +1.00100E-1, +9.95000E-2, +9.89000E-2, +9.83000E-2, +9.77000E-2, +9.71000E-2, +9.65000E-2, +9.59000E-2]) # W/m-K - mu_dyn = np.array([+3.83000E-1, +1.19000E-1, +5.92000E-2, +3.60000E-2, +2.44000E-2, +1.77000E-2, +1.35000E-2, +1.07000E-2, +8.68000E-3, +7.21000E-3, +6.09000E-3, +5.21000E-3, +4.52000E-3, +3.96000E-3, +3.50000E-3, +3.12000E-3, +2.79000E-3, +2.52000E-3, +2.28000E-3, +2.08000E-3, +1.90000E-3, +1.75000E-3, +1.61000E-3, +1.49000E-3, +1.38000E-3, +1.29000E-3, +1.20000E-3, +1.12000E-3, +1.05000E-3, +9.86000E-4, +9.28000E-4, +8.74000E-4, +8.25000E-4, +7.79000E-4, +7.38000E-4, +6.99000E-4, +6.64000E-4, +6.31000E-4, +6.00000E-4, +5.72000E-4, +5.45000E-4, +5.20000E-4, +4.97000E-4, +4.75000E-4, +4.55000E-4, +4.36000E-4, +4.18000E-4, +4.01000E-4, +3.85000E-4, +3.70000E-4, +3.55000E-4, +3.42000E-4, +3.29000E-4, +3.17000E-4, +3.05000E-4, +2.95000E-4, +2.84000E-4, +2.74000E-4, +2.65000E-4, +2.56000E-4, +2.47000E-4, +2.39000E-4, +2.31000E-4, +2.24000E-4, +2.17000E-4, +2.10000E-4, +2.03000E-4, +1.97000E-4, +1.91000E-4, +1.85000E-4, +1.80000E-4, +1.75000E-4, +1.69000E-4, +1.65000E-4, +1.60000E-4, +1.55000E-4, +1.51000E-4, +1.47000E-4, +1.43000E-4]) # Pa-s - psat = np.array([+9.60000E-1, +1.05000E+0, +1.14000E+0, +1.24000E+0, +1.35000E+0, +1.47000E+0, +1.60000E+0, +1.74000E+0, +1.89000E+0, +2.06000E+0, +2.24000E+0, +2.44000E+0, +2.65000E+0, +2.88000E+0, +3.14000E+0, +3.41000E+0, +3.71000E+0, +4.03000E+0, +4.39000E+0, +4.77000E+0, +5.18000E+0, +5.63000E+0, +6.12000E+0, +6.66000E+0, +7.23000E+0, +7.86000E+0, +8.54000E+0, +9.27000E+0, +1.01000E+1, +1.10000E+1, +1.19000E+1, +1.29000E+1, +1.40000E+1, +1.52000E+1, +1.65000E+1, +1.80000E+1, +1.95000E+1, +2.12000E+1, +2.30000E+1, +2.49000E+1, +2.71000E+1, +2.94000E+1, +3.19000E+1, +3.46000E+1, +3.75000E+1, +4.07000E+1, +4.42000E+1, +4.79000E+1, +5.20000E+1, +5.64000E+1, +6.11000E+1, +6.63000E+1, +7.19000E+1, +7.79000E+1, +8.45000E+1, +9.15000E+1, +9.92000E+1, +1.08000E+2, +1.17000E+2, +1.26000E+2, +1.37000E+2, +1.48000E+2, +1.61000E+2, +1.74000E+2, +1.89000E+2, +2.04000E+2, +2.21000E+2, +2.40000E+2, +2.60000E+2, +2.81000E+2, +3.04000E+2, +3.30000E+2, +3.57000E+2, +3.86000E+2, +4.18000E+2, +4.53000E+2, +4.90000E+2, +5.30000E+2, +5.74000E+2])*1000. # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmin - Name = "T72" - Desc = "Therminol72" - - - -class DowthermJ(LiquidData): - """ - Heat transfer fluid Dowtherm J by Dow Chemicals - Source: Dow Chemicals data sheet - """ - T = np.array([-8.00000E+1, -7.00000E+1, -6.00000E+1, -5.00000E+1, -4.00000E+1, -3.00000E+1, -2.00000E+1, -1.00000E+1, +0.00000E+0, +1.00000E+1, +2.00000E+1, +3.00000E+1, +4.00000E+1, +5.00000E+1, +6.00000E+1, +7.00000E+1, +8.00000E+1, +9.00000E+1, +1.00000E+2, +1.10000E+2, +1.20000E+2, +1.30000E+2, +1.40000E+2, +1.50000E+2, +1.60000E+2, +1.70000E+2, +1.80000E+2, +1.81300E+2, +1.90000E+2, +2.00000E+2, +2.10000E+2, +2.20000E+2, +2.30000E+2, +2.40000E+2, +2.50000E+2, +2.60000E+2, +2.70000E+2, +2.80000E+2, +2.90000E+2, +3.00000E+2, +3.10000E+2, +3.20000E+2, +3.30000E+2, +3.40000E+2, +3.45000E+2])+273.15 # Kelvin - rho = np.array([+9.31300E+2, +9.27900E+2, +9.21000E+2, +9.14100E+2, +9.07100E+2, +9.00000E+2, +8.92900E+2, +8.85700E+2, +8.78500E+2, +8.71100E+2, +8.63700E+2, +8.56200E+2, +8.48700E+2, +8.41000E+2, +8.33200E+2, +8.25400E+2, +8.17400E+2, +8.09400E+2, +8.01200E+2, +7.92900E+2, +7.84400E+2, +7.75900E+2, +7.67100E+2, +7.58300E+2, +7.49200E+2, +7.40000E+2, +7.30600E+2, +7.29300E+2, +7.20900E+2, +7.11000E+2, +7.00900E+2, +6.90500E+2, +6.79800E+2, +6.68800E+2, +6.57300E+2, +6.45500E+2, +6.33100E+2, +6.20200E+2, +6.06600E+2, +5.92200E+2, +5.76900E+2, +5.60400E+2, +5.42400E+2, +5.22400E+2, +5.11400E+2]) # kg/m3 - c_p = np.array([+1.58400E+0, +1.59400E+0, +1.61600E+0, +1.63900E+0, +1.66300E+0, +1.68800E+0, +1.71400E+0, +1.74100E+0, +1.76900E+0, +1.79800E+0, +1.82800E+0, +1.85900E+0, +1.89000E+0, +1.92300E+0, +1.95500E+0, +1.98900E+0, +2.02300E+0, +2.05800E+0, +2.09300E+0, +2.12900E+0, +2.16500E+0, +2.20200E+0, +2.23900E+0, +2.27700E+0, +2.31500E+0, +2.35300E+0, +2.39200E+0, +2.39700E+0, +2.43200E+0, +2.47200E+0, +2.51200E+0, +2.55300E+0, +2.59400E+0, +2.63600E+0, +2.68000E+0, +2.72400E+0, +2.76900E+0, +2.81600E+0, +2.86600E+0, +2.91900E+0, +2.97600E+0, +3.04000E+0, +3.11500E+0, +3.20800E+0, +3.26500E+0])*1000. # J/kg-K - lam = np.array([+1.48500E-1, +1.47500E-1, +1.45300E-1, +1.43200E-1, +1.41100E-1, +1.39000E-1, +1.36800E-1, +1.34700E-1, +1.32600E-1, +1.30500E-1, +1.28400E-1, +1.26200E-1, +1.24100E-1, +1.22000E-1, +1.19900E-1, +1.17700E-1, +1.15600E-1, +1.13500E-1, +1.11400E-1, +1.09300E-1, +1.07100E-1, +1.05000E-1, +1.02900E-1, +1.00800E-1, +9.87000E-2, +9.65000E-2, +9.44000E-2, +9.41000E-2, +9.23000E-2, +9.02000E-2, +8.80000E-2, +8.59000E-2, +8.38000E-2, +8.17000E-2, +7.96000E-2, +7.74000E-2, +7.53000E-2, +7.32000E-2, +7.11000E-2, +6.90000E-2, +6.68000E-2, +6.47000E-2, +6.26000E-2, +6.05000E-2, +5.94000E-2]) # W/m-K - mu_dyn = np.array([+8.43000E+0, +7.11000E+0, +5.12000E+0, +3.78000E+0, +2.88000E+0, +2.25000E+0, +1.80000E+0, +1.48000E+0, +1.23000E+0, +1.05000E+0, +9.10000E-1, +7.90000E-1, +7.00000E-1, +6.30000E-1, +5.60000E-1, +5.10000E-1, +4.70000E-1, +4.30000E-1, +4.00000E-1, +3.70000E-1, +3.50000E-1, +3.30000E-1, +3.10000E-1, +2.90000E-1, +2.80000E-1, +2.70000E-1, +2.50000E-1, +2.50000E-1, +2.40000E-1, +2.30000E-1, +2.30000E-1, +2.20000E-1, +2.10000E-1, +2.00000E-1, +2.00000E-1, +1.90000E-1, +1.80000E-1, +1.80000E-1, +1.70000E-1, +1.70000E-1, +1.70000E-1, +1.60000E-1, +1.60000E-1, +1.60000E-1, +1.50000E-1])/1000. # Pa-s - psat = np.array([+0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +5.00000E-3, +1.00000E-2, +2.00000E-2, +3.00000E-2, +5.00000E-2, +8.00000E-2, +1.10000E-1, +1.60000E-1, +2.30000E-1, +3.20000E-1, +4.30000E-1, +5.80000E-1, +7.60000E-1, +9.80000E-1, +1.01000E+0, +1.25000E+0, +1.58000E+0, +1.97000E+0, +2.43000E+0, +2.96000E+0, +3.59000E+0, +4.30000E+0, +5.13000E+0, +6.06000E+0, +7.12000E+0, +8.31000E+0, +9.64000E+0, +1.11300E+1, +1.27900E+1, +1.46400E+1, +1.66900E+1, +1.78000E+1])*1e5 # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 50 + 273.15 - Name = "DowJ" - Desc = "DowthermJ" - -class DowthermQ(LiquidData): - """ - Heat transfer fluid Dowtherm Q by Dow Chemicals - Source: Dow Chemicals data sheet - """ - T = np.array([-3.50000E+1, -3.00000E+1, -2.00000E+1, -1.00000E+1, +0.00000E+0, +1.00000E+1, +2.00000E+1, +3.00000E+1, +4.00000E+1, +5.00000E+1, +6.00000E+1, +7.00000E+1, +8.00000E+1, +9.00000E+1, +1.00000E+2, +1.10000E+2, +1.20000E+2, +1.30000E+2, +1.40000E+2, +1.50000E+2, +1.60000E+2, +1.70000E+2, +1.80000E+2, +1.90000E+2, +2.00000E+2, +2.10000E+2, +2.20000E+2, +2.30000E+2, +2.40000E+2, +2.50000E+2, +2.60000E+2, +2.70000E+2, +2.80000E+2, +2.90000E+2, +3.00000E+2, +3.10000E+2, +3.20000E+2, +3.30000E+2, +3.40000E+2, +3.50000E+2, +3.60000E+2])+273.15 # Kelvin - rho = np.array([+1.01140E+3, +1.00320E+3, +9.95600E+2, +9.88000E+2, +9.80500E+2, +9.72900E+2, +9.65400E+2, +9.57800E+2, +9.50200E+2, +9.42700E+2, +9.35100E+2, +9.27600E+2, +9.20000E+2, +9.12400E+2, +9.04900E+2, +8.97300E+2, +8.89800E+2, +8.82200E+2, +8.74600E+2, +8.67100E+2, +8.59500E+2, +8.52000E+2, +8.44400E+2, +8.36800E+2, +8.29300E+2, +8.21700E+2, +8.14200E+2, +8.06600E+2, +7.99000E+2, +7.91500E+2, +7.83900E+2, +7.76400E+2, +7.68800E+2, +7.61200E+2, +7.53700E+2, +7.46100E+2, +7.38600E+2, +7.31000E+2, +7.23400E+2, +7.15900E+2, +7.08300E+2]) # kg/m3 - c_p = np.array([+1.47800E+0, +1.49200E+0, +1.52500E+0, +1.55700E+0, +1.58900E+0, +1.62100E+0, +1.65300E+0, +1.68500E+0, +1.71600E+0, +1.74800E+0, +1.77900E+0, +1.81100E+0, +1.84200E+0, +1.87300E+0, +1.90400E+0, +1.93500E+0, +1.96600E+0, +1.99700E+0, +2.02700E+0, +2.05800E+0, +2.08800E+0, +2.11800E+0, +2.14800E+0, +2.17800E+0, +2.20800E+0, +2.23800E+0, +2.26800E+0, +2.29700E+0, +2.32700E+0, +2.35600E+0, +2.38600E+0, +2.41500E+0, +2.44400E+0, +2.47300E+0, +2.50200E+0, +2.53000E+0, +2.55900E+0, +2.58700E+0, +2.61600E+0, +2.64400E+0, +2.67200E+0])*1000. # J/kg-K - lam = np.array([+1.28000E-1, +1.27700E-1, +1.26600E-1, +1.25500E-1, +1.24400E-1, +1.23200E-1, +1.22000E-1, +1.20800E-1, +1.19500E-1, +1.18300E-1, +1.17000E-1, +1.15600E-1, +1.14300E-1, +1.12900E-1, +1.11500E-1, +1.10100E-1, +1.08700E-1, +1.07200E-1, +1.05800E-1, +1.04300E-1, +1.02800E-1, +1.01300E-1, +9.98000E-2, +9.82000E-2, +9.67000E-2, +9.52000E-2, +9.36000E-2, +9.21000E-2, +9.05000E-2, +8.89000E-2, +8.74000E-2, +8.58000E-2, +8.43000E-2, +8.27000E-2, +8.11000E-2, +7.96000E-2, +7.80000E-2, +7.65000E-2, +7.49000E-2, +7.34000E-2, +7.19000E-2]) # W/m-K - mu_dyn = np.array([+4.66000E+1, +2.42000E+1, +1.61000E+1, +1.09000E+1, +7.56000E+0, +5.42000E+0, +4.00000E+0, +3.04000E+0, +2.37000E+0, +1.89000E+0, +1.54000E+0, +1.28000E+0, +1.07000E+0, +9.20000E-1, +8.00000E-1, +7.00000E-1, +6.20000E-1, +5.50000E-1, +5.00000E-1, +4.50000E-1, +4.10000E-1, +3.80000E-1, +3.50000E-1, +3.30000E-1, +3.10000E-1, +2.90000E-1, +2.70000E-1, +2.60000E-1, +2.40000E-1, +2.30000E-1, +2.20000E-1, +2.10000E-1, +2.00000E-1, +1.90000E-1, +1.90000E-1, +1.80000E-1, +1.70000E-1, +1.70000E-1, +1.60000E-1, +1.60000E-1, +1.50000E-1])/1000. # Pa-s - psat = np.array([+0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +5.00000E-3, +1.00000E-2, +2.00000E-2, +3.00000E-2, +5.00000E-2, +7.00000E-2, +9.00000E-2, +1.30000E-1, +1.70000E-1, +2.30000E-1, +3.10000E-1, +4.00000E-1, +5.10000E-1, +6.40000E-1, +8.10000E-1, +1.00000E+0, +1.24000E+0, +1.51000E+0, +1.82000E+0, +2.19000E+0, +2.61000E+0, +3.09000E+0, +3.64000E+0, +4.25000E+0, +4.95000E+0])*1e5 # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 120 + 273.15 - Name = "DowQ" - Desc = "DowthermQ" - - -class Texatherm22(LiquidData): - """ - Heat transfer fluid Texatherm 22 by Texaco - Source: Texaco data sheet - """ - T = np.array([+0.00000E+0, +4.00000E+1, +5.00000E+1, +1.00000E+2, +1.50000E+2, +2.00000E+2, +2.50000E+2, +3.00000E+2, +3.50000E+2])+273.15 # Kelvin - rho = np.array([+8.74500E+2, +8.47300E+2, +8.42500E+2, +8.10500E+2, +7.76300E+2, +7.41600E+2, +7.03200E+2, +6.68000E+2, +6.21500E+2]) # kg/m3 - c_p = np.array([+1.81000E+0, +1.95000E+0, +1.99000E+0, +2.18000E+0, +2.36000E+0, +2.54000E+0, +2.72000E+0, +2.90000E+0, +3.08000E+0])*1e3 # J/kg-K - lam = np.array([+1.35000E-1, +1.32000E-1, +1.32000E-1, +1.28000E-1, +1.25000E-1, +1.21000E-1, +1.17100E-1, +1.13000E-1, +1.10000E-1]) # W/m-K - mu_dyn = np.array([+4.19760E+2, +0.00000E+0, +2.31688E+1, +0.00000E+0, +2.09601E+0, +1.26072E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0])/1000. # Pa-s - psat = np.array([+0.00000E+0, +5.3300E-10, +4.00000E-8, +2.67000E-7, +2.27000E-5, +4.67000E-4, +6.67000E-3, +2.13000E-2, +5.33000E-2])*1e5 # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 40 + 273.15 - Name = "TX22" - Desc = "Texatherm22" - - -class NitrateSalt(LiquidData): - """ - Heat transfer fluid based on 60% NaNO3 and 40% KNO3 - Source: Solar Power Tower Design Basis Document, Alexis B. Zavoico, Sandia Labs, USA - """ - temp = np.linspace(300, 600, 25) # Celsius temperaure - def f_rho( T_C): - return 2090 - 0.636 * T_C - def f_cp( T_C): - return 1443 + 0.172 * T_C - def f_mu( T_C): - return 22.714 - 0.120 * T_C + 2.281 * 1e-4 * T_C*T_C - 1.474 * 1e-7 * T_C*T_C*T_C - def f_lam( T_C): - return 0.443 + 1.9e-4 * T_C - - T = temp + 273.15 # Kelvin - rho = f_rho(temp) # kg/m3 - c_p = f_cp(temp) # J/kg-K - lam = f_lam(temp) # W/m-K - mu_dyn = f_mu(temp)/1e3 # Pa-s - psat = temp * 0 # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "NaK" - Desc = "NitrateSalt" - - -class SylthermXLT(LiquidData): - """ - Heat transfer fluid Syltherm XLT by Dow Chemicals - Source: Dow Chemicals data sheet - """ - T = np.array([-1.00000E+2, -9.50000E+1, -9.00000E+1, -8.50000E+1, -8.00000E+1, -7.50000E+1, -7.00000E+1, -6.50000E+1, -6.00000E+1, -5.50000E+1, -5.00000E+1, -4.50000E+1, -4.00000E+1, -3.50000E+1, -3.00000E+1, -2.50000E+1, -2.00000E+1, -1.50000E+1, -1.00000E+1, -5.00000E+0, +0.00000E+0, +5.00000E+0, +1.00000E+1, +1.50000E+1, +2.00000E+1, +2.50000E+1, +3.00000E+1, +3.50000E+1, +4.00000E+1, +4.50000E+1, +5.00000E+1, +5.50000E+1, +6.00000E+1, +6.50000E+1, +7.00000E+1, +7.50000E+1, +8.00000E+1, +8.50000E+1, +9.00000E+1, +9.50000E+1, +1.00000E+2, +1.05000E+2, +1.10000E+2, +1.15000E+2, +1.20000E+2, +1.25000E+2, +1.30000E+2, +1.35000E+2, +1.40000E+2, +1.45000E+2, +1.50000E+2, +1.55000E+2, +1.60000E+2, +1.65000E+2, +1.70000E+2, +1.75000E+2, +1.80000E+2, +1.85000E+2, +1.90000E+2, +1.95000E+2, +2.00000E+2, +2.05000E+2, +2.10000E+2, +2.15000E+2, +2.20000E+2, +2.25000E+2, +2.30000E+2, +2.35000E+2, +2.40000E+2, +2.45000E+2, +2.50000E+2, +2.55000E+2, +2.60000E+2])+273.15 # Kelvin - rho = np.array([+9.78500E+2, +9.73400E+2, +9.68300E+2, +9.63100E+2, +9.58000E+2, +9.52900E+2, +9.47700E+2, +9.42600E+2, +9.37500E+2, +9.32300E+2, +9.27200E+2, +9.22000E+2, +9.16900E+2, +9.11800E+2, +9.06600E+2, +9.01500E+2, +8.96400E+2, +8.91200E+2, +8.86100E+2, +8.81000E+2, +8.75800E+2, +8.70700E+2, +8.65500E+2, +8.60400E+2, +8.55300E+2, +8.50100E+2, +8.45000E+2, +8.39900E+2, +8.34700E+2, +8.29600E+2, +8.24500E+2, +8.19300E+2, +8.14200E+2, +8.09100E+2, +8.03900E+2, +7.98800E+2, +7.93600E+2, +7.88500E+2, +7.83400E+2, +7.78200E+2, +7.73100E+2, +7.68000E+2, +7.62800E+2, +7.57700E+2, +7.52600E+2, +7.47400E+2, +7.42300E+2, +7.37200E+2, +7.32000E+2, +7.26900E+2, +7.21700E+2, +7.16600E+2, +7.11500E+2, +7.06300E+2, +7.01200E+2, +6.96100E+2, +6.90900E+2, +6.85800E+2, +6.80700E+2, +6.75500E+2, +6.70400E+2, +6.65300E+2, +6.60100E+2, +6.55000E+2, +6.49800E+2, +6.44700E+2, +6.39600E+2, +6.34400E+2, +6.29300E+2, +6.24200E+2, +6.19000E+2, +6.13900E+2, +6.08800E+2]) # kg/m3 - c_p = np.array([+1.52000E+0, +1.53000E+0, +1.54100E+0, +1.55100E+0, +1.56200E+0, +1.57200E+0, +1.58300E+0, +1.59300E+0, +1.60400E+0, +1.61400E+0, +1.62500E+0, +1.63500E+0, +1.64600E+0, +1.65600E+0, +1.66700E+0, +1.67700E+0, +1.68800E+0, +1.69800E+0, +1.70900E+0, +1.71900E+0, +1.73000E+0, +1.74000E+0, +1.75100E+0, +1.76100E+0, +1.77200E+0, +1.78200E+0, +1.79300E+0, +1.80300E+0, +1.81400E+0, +1.82400E+0, +1.83500E+0, +1.84500E+0, +1.85600E+0, +1.86600E+0, +1.87700E+0, +1.88700E+0, +1.89800E+0, +1.90800E+0, +1.91900E+0, +1.92900E+0, +1.94000E+0, +1.95000E+0, +1.96100E+0, +1.97100E+0, +1.98200E+0, +1.99200E+0, +2.00300E+0, +2.01300E+0, +2.02400E+0, +2.03400E+0, +2.04500E+0, +2.05500E+0, +2.06600E+0, +2.07600E+0, +2.08700E+0, +2.09700E+0, +2.10800E+0, +2.11800E+0, +2.12900E+0, +2.13900E+0, +2.15000E+0, +2.16000E+0, +2.17100E+0, +2.18100E+0, +2.19200E+0, +2.20200E+0, +2.21300E+0, +2.22300E+0, +2.23400E+0, +2.24400E+0, +2.25500E+0, +2.26500E+0, +2.27600E+0])*1e3 # J/kg-K - lam = np.array([+1.34100E-1, +1.33200E-1, +1.32400E-1, +1.31500E-1, +1.30600E-1, +1.29700E-1, +1.28800E-1, +1.27900E-1, +1.26900E-1, +1.26000E-1, +1.25000E-1, +1.24100E-1, +1.23100E-1, +1.22100E-1, +1.21100E-1, +1.20100E-1, +1.19100E-1, +1.18100E-1, +1.17100E-1, +1.16100E-1, +1.15000E-1, +1.14000E-1, +1.12900E-1, +1.11900E-1, +1.10800E-1, +1.09700E-1, +1.08600E-1, +1.07500E-1, +1.06400E-1, +1.05300E-1, +1.04200E-1, +1.03000E-1, +1.01900E-1, +1.00800E-1, +9.96000E-2, +9.84400E-2, +9.72800E-2, +9.61000E-2, +9.49200E-2, +9.37300E-2, +9.25300E-2, +9.13300E-2, +9.01200E-2, +8.89100E-2, +8.76800E-2, +8.64500E-2, +8.52200E-2, +8.39800E-2, +8.27300E-2, +8.14700E-2, +8.02100E-2, +7.89500E-2, +7.76700E-2, +7.64000E-2, +7.51100E-2, +7.38200E-2, +7.25300E-2, +7.12300E-2, +6.99200E-2, +6.86100E-2, +6.72900E-2, +6.59700E-2, +6.46500E-2, +6.33100E-2, +6.19800E-2, +6.06400E-2, +5.92900E-2, +5.79400E-2, +5.65800E-2, +5.52300E-2, +5.38600E-2, +5.24900E-2, +5.11200E-2]) # W/m-K - mu_dyn = np.array([+7.86100E+1, +5.01300E+1, +3.48600E+1, +2.58300E+1, +2.00400E+1, +1.60800E+1, +1.32200E+1, +1.10500E+1, +9.35600E+0, +7.99400E+0, +6.87900E+0, +5.95600E+0, +5.18400E+0, +4.53500E+0, +3.98600E+0, +3.52100E+0, +3.12600E+0, +2.78800E+0, +2.49900E+0, +2.25000E+0, +2.03500E+0, +1.84900E+0, +1.68700E+0, +1.54500E+0, +1.41900E+0, +1.30900E+0, +1.21000E+0, +1.12200E+0, +1.04300E+0, +9.72000E-1, +9.08000E-1, +8.49000E-1, +7.96000E-1, +7.48000E-1, +7.05000E-1, +6.65000E-1, +6.28000E-1, +5.95000E-1, +5.64000E-1, +5.36000E-1, +5.11000E-1, +4.87000E-1, +4.65000E-1, +4.45000E-1, +4.26000E-1, +4.09000E-1, +3.93000E-1, +3.77000E-1, +3.63000E-1, +3.50000E-1, +3.37000E-1, +3.25000E-1, +3.14000E-1, +3.03000E-1, +2.93000E-1, +2.84000E-1, +2.75000E-1, +2.66000E-1, +2.58000E-1, +2.51000E-1, +2.44000E-1, +2.38000E-1, +2.32000E-1, +2.26000E-1, +2.20000E-1, +2.15000E-1, +2.09000E-1, +2.04000E-1, +1.99000E-1, +1.94000E-1, +1.89000E-1, +1.85000E-1, +1.82000E-1])/1000. # Pa-s - psat = np.array([+0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0])*1e5 # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "XLT" - Desc = "SylthermXLT" - - -class HC50(LiquidData): - """ - Heat transfer fluid Dynalene HC-50 - Source: Dynalene - """ - T = np.array([+2.23150E+2,+2.33150E+2,+2.43150E+2,+2.53150E+2,+2.63150E+2,+2.73150E+2,+2.83150E+2,+2.93150E+2,+3.03150E+2,+3.13150E+2,+3.23150E+2,+3.33150E+2,+3.43150E+2,+3.53150E+2,+3.63150E+2,+3.73150E+2,+3.83150E+2,+3.93150E+2,+4.03150E+2,+4.13150E+2,+4.23150E+2,+4.33150E+2,+4.43150E+2,+4.53150E+2,+4.63150E+2,+4.73150E+2,+4.83150E+2]) # Kelvin - rho = np.array([+1.37800E+3,+1.37300E+3,+1.36700E+3,+1.36200E+3,+1.35600E+3,+1.35100E+3,+1.34500E+3,+1.34000E+3,+1.33400E+3,+1.32800E+3,+1.32300E+3,+1.31700E+3,+1.31200E+3,+1.30600E+3,+1.30100E+3,+1.29500E+3,+1.29000E+3,+1.28400E+3,+1.27900E+3,+1.27300E+3,+1.26700E+3,+1.26200E+3,+1.25600E+3,+1.25100E+3,+1.24500E+3,+1.24000E+3,+1.23400E+3]) # kg/m3 - c_p = np.array([+2.56300E+3,+2.58300E+3,+2.60200E+3,+2.62200E+3,+2.64200E+3,+2.66100E+3,+2.68100E+3,+2.70100E+3,+2.72000E+3,+2.74000E+3,+2.76000E+3,+2.78000E+3,+2.79900E+3,+2.81900E+3,+2.83900E+3,+2.85800E+3,+2.87800E+3,+2.89800E+3,+2.91700E+3,+2.93700E+3,+2.95700E+3,+2.97700E+3,+2.99600E+3,+3.01600E+3,+3.03600E+3,+3.05500E+3,+3.07500E+3]) # J/kg-K - lam = np.array([+4.35000E+2,+4.45000E+2,+4.55000E+2,+4.65000E+2,+4.75000E+2,+4.85000E+2,+4.95000E+2,+5.05000E+2,+5.15000E+2,+5.25000E+2,+5.35000E+2,+5.45000E+2,+5.55000E+2,+5.65000E+2,+5.75000E+2,+5.85000E+2,+5.95000E+2,+6.05000E+2,+6.15000E+2,+6.25000E+2,+6.35000E+2,+6.45000E+2,+6.55000E+2,+6.65000E+2,+6.75000E+2,+6.85000E+2,+6.94500E+2])/1e3 # W/m-K - mu_dyn = np.array([+3.84000E-2,+2.04000E-2,+1.25000E-2,+8.40000E-3,+5.99000E-3,+4.70000E-3,+3.80000E-3,+3.20000E-3,+2.70000E-3,+2.40000E-3,+2.40000E-3,+1.80000E-3,+1.60000E-3,+1.50000E-3,+1.30000E-3,+1.20000E-3,+1.10000E-3,+1.00000E-3,+9.40000E-4,+8.70000E-4,+8.10000E-4,+7.60000E-4,+7.10000E-4,+6.60000E-4,+6.20000E-4,+5.80000E-4,+5.50000E-4]) # Pa-s - psat = np.array([+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+1.58579E+3,+1.93053E+3,+3.10264E+3,+5.58475E+3,+9.85950E+3,+1.64785E+4,+2.60622E+4,+3.93691E+4,+5.72954E+4,+8.06687E+4,+1.11695E+5,+1.50995E+5,+2.00637E+5,+2.63380E+5,+3.41290E+5,+4.36438E+5,+5.53649E+5,+6.95681E+5,+8.67360E+5,+1.07282E+6]) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 20+273.15 - Name = "HC50" - Desc = "Dynalene "+Name - - -class HC40(LiquidData): - """ - Heat transfer fluid Dynalene HC-40 - Source: Dynalene - """ - T = np.array([+2.33150E+2,+2.43150E+2,+2.53150E+2,+2.63150E+2,+2.73150E+2,+2.83150E+2,+2.93150E+2,+3.03150E+2,+3.13150E+2,+3.23150E+2,+3.33150E+2,+3.43150E+2,+3.53150E+2,+3.63150E+2,+3.73150E+2,+3.83150E+2,+3.93150E+2,+4.03150E+2,+4.13150E+2,+4.23150E+2,+4.33150E+2,+4.38150E+2,+4.43150E+2,+4.53150E+2,+4.63150E+2,+4.73150E+2]) # Kelvin - rho = np.array([+1.34800E+3,+1.34300E+3,+1.33700E+3,+1.33200E+3,+1.32600E+3,+1.32100E+3,+1.31500E+3,+1.30900E+3,+1.30400E+3,+1.29800E+3,+1.29300E+3,+1.28700E+3,+1.28100E+3,+1.27600E+3,+1.27000E+3,+1.26500E+3,+1.25900E+3,+1.25300E+3,+1.24800E+3,+1.24200E+3,+1.23700E+3,+1.23400E+3,+1.23100E+3,+1.22500E+3,+1.22000E+3,+1.21400E+3]) # kg/m3 - c_p = np.array([+2.80000E+3,+2.82000E+3,+2.84000E+3,+2.87000E+3,+2.89000E+3,+2.91000E+3,+2.93000E+3,+2.96000E+3,+2.98000E+3,+3.00000E+3,+3.03000E+3,+3.05000E+3,+3.07000E+3,+3.09000E+3,+3.12000E+3,+3.14000E+3,+3.16000E+3,+3.19000E+3,+3.21000E+3,+3.23000E+3,+3.25000E+3,+3.27000E+3,+3.28000E+3,+3.30000E+3,+3.32000E+3,+3.35000E+3]) # J/kg-K - lam = np.array([+4.49000E+2,+4.59000E+2,+4.69000E+2,+4.79000E+2,+4.89000E+2,+4.99000E+2,+5.09000E+2,+5.19000E+2,+5.29000E+2,+5.39000E+2,+5.49000E+2,+5.59000E+2,+5.69000E+2,+5.79000E+2,+5.89000E+2,+5.99000E+2,+6.09000E+2,+6.19000E+2,+6.29000E+2,+6.39000E+2,+6.49000E+2,+6.54000E+2,+6.59000E+2,+6.69000E+2,+6.79000E+2,+6.89000E+2])/1e3 # W/m-K - mu_dyn = np.array([+1.49000E-2,+9.20000E-3,+6.50000E-3,+4.90000E-3,+3.90000E-3,+3.20000E-3,+2.70000E-3,+2.30000E-3,+1.96000E-3,+1.70000E-3,+1.50000E-3,+1.40000E-3,+1.20000E-3,+1.10000E-3,+9.90000E-4,+9.10000E-4,+8.30000E-4,+7.70000E-4,+7.10000E-4,+6.60000E-4,+6.10000E-4,+5.90000E-4,+5.70000E-4,+5.30000E-4,+5.00000E-4,+4.70000E-4]) # Pa-s - psat = np.array([+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+1.51685E+3,+2.20632E+3,+3.79212E+3,+6.68791E+3,+1.15142E+4,+1.87537E+4,+2.92338E+4,+4.37817E+4,+6.35007E+4,+8.96318E+4,+1.23416E+5,+1.66853E+5,+2.22701E+5,+2.92338E+5,+3.79212E+5,+4.85391E+5,+6.16391E+5,+7.74971E+5,+9.65955E+5,+1.19417E+6]) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 20+273.15 - Name = "HC40" - Desc = "Dynalene "+Name - - -class HC30(LiquidData): - """ - Heat transfer fluid Dynalene HC-30 - Source: Dynalene - """ - T = np.array([+2.43150E+2,+2.53150E+2,+2.63150E+2,+2.73150E+2,+2.83150E+2,+2.93150E+2,+3.03150E+2,+3.13150E+2,+3.23150E+2,+3.33150E+2,+3.43150E+2,+3.53150E+2,+3.63150E+2,+3.73150E+2,+3.83150E+2,+3.93150E+2,+4.03150E+2,+4.13150E+2,+4.23150E+2,+4.33150E+2,+4.43150E+2,+4.53150E+2,+4.63150E+2,+4.73150E+2,+4.83150E+2]) # Kelvin - rho = np.array([+1.30000E+3,+1.29500E+3,+1.29000E+3,+1.28500E+3,+1.28000E+3,+1.27500E+3,+1.27000E+3,+1.26500E+3,+1.26000E+3,+1.25500E+3,+1.25000E+3,+1.24400E+3,+1.23900E+3,+1.23400E+3,+1.22900E+3,+1.22400E+3,+1.21900E+3,+1.21400E+3,+1.20900E+3,+1.20400E+3,+1.19900E+3,+1.19300E+3,+1.18800E+3,+1.18300E+3,+1.17800E+3]) # kg/m3 - c_p = np.array([+2.96100E+3,+2.98400E+3,+3.00700E+3,+3.03100E+3,+3.05400E+3,+3.07700E+3,+3.10000E+3,+3.12300E+3,+3.14600E+3,+3.16900E+3,+3.19200E+3,+3.21500E+3,+3.23800E+3,+3.26200E+3,+3.28500E+3,+3.30800E+3,+3.33100E+3,+3.35400E+3,+3.37700E+3,+3.40000E+3,+3.42300E+3,+3.44600E+3,+3.46900E+3,+3.49300E+3,+3.51600E+3]) # J/kg-K - lam = np.array([+4.69000E+2,+4.79000E+2,+4.89000E+2,+4.99000E+2,+5.09000E+2,+5.19000E+2,+5.29000E+2,+5.39000E+2,+5.49000E+2,+5.59000E+2,+5.69000E+2,+5.79000E+2,+5.89000E+2,+5.99000E+2,+6.09000E+2,+6.19000E+2,+6.29000E+2,+6.39000E+2,+6.49000E+2,+6.59000E+2,+6.69000E+2,+6.79000E+2,+6.89000E+2,+6.99000E+2,+7.09000E+2])/1e3 # W/m-K - mu_dyn = np.array([+7.00000E-3,+5.50000E-3,+4.50000E-3,+3.70000E-3,+3.00000E-3,+2.50000E-3,+2.20000E-3,+1.90000E-3,+1.60000E-3,+1.40000E-3,+1.30000E-3,+1.10000E-3,+9.90000E-4,+8.90000E-4,+8.00000E-4,+7.30000E-4,+6.70000E-4,+6.10000E-4,+5.70000E-4,+5.20000E-4,+4.80000E-4,+4.50000E-4,+4.20000E-4,+3.90000E-4,+3.70000E-4]) # Pa-s - psat = np.array([+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+1.79264E+3,+2.41317E+3,+3.99896E+3,+7.17055E+3,+1.24795E+4,+2.06153E+4,+3.23364E+4,+4.86770E+4,+7.10160E+4,+9.99740E+4,+1.37895E+5,+1.86158E+5,+2.47522E+5,+3.24743E+5,+4.20580E+5,+5.39170E+5,+6.83960E+5,+8.59087E+5,+1.07145E+6,+1.32517E+6]) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 20+273.15 - Name = "HC30" - Desc = "Dynalene "+Name - - -class HC20(LiquidData): - """ - Heat transfer fluid Dynalene HC-20 - Source: Dynalene - """ - T = np.array([+2.53150E+2,+2.63150E+2,+2.73150E+2,+2.83150E+2,+2.93150E+2,+3.03150E+2,+3.13150E+2,+3.23150E+2,+3.33150E+2,+3.43150E+2,+3.53150E+2,+3.63150E+2,+3.73150E+2,+3.83150E+2,+3.93150E+2,+4.03150E+2,+4.13150E+2,+4.23150E+2,+4.33150E+2,+4.43150E+2,+4.53150E+2,+4.63150E+2,+4.73150E+2,+4.83150E+2]) # Kelvin - rho = np.array([+1.25800E+3,+1.25300E+3,+1.24800E+3,+1.24200E+3,+1.23700E+3,+1.23200E+3,+1.22700E+3,+1.22200E+3,+1.21600E+3,+1.21100E+3,+1.20600E+3,+1.20100E+3,+1.19600E+3,+1.19100E+3,+1.18500E+3,+1.18000E+3,+1.17500E+3,+1.17000E+3,+1.16500E+3,+1.15900E+3,+1.15400E+3,+1.14900E+3,+1.14400E+3,+1.13900E+3]) # kg/m3 - c_p = np.array([+3.11700E+3,+3.14100E+3,+3.16400E+3,+3.18800E+3,+3.21200E+3,+3.23500E+3,+3.25900E+3,+3.28200E+3,+3.30600E+3,+3.33000E+3,+3.35300E+3,+3.37700E+3,+3.40000E+3,+3.42400E+3,+3.44800E+3,+3.47100E+3,+3.49500E+3,+3.51800E+3,+3.54200E+3,+3.56600E+3,+3.58900E+3,+3.61300E+3,+3.63600E+3,+3.66000E+3]) # J/kg-K - lam = np.array([+4.83000E+2,+4.93000E+2,+5.03000E+2,+5.13000E+2,+5.23000E+2,+5.33000E+2,+5.43000E+2,+5.53000E+2,+5.63000E+2,+5.73000E+2,+5.83000E+2,+5.93000E+2,+6.03000E+2,+6.13000E+2,+6.23000E+2,+6.33000E+2,+6.43000E+2,+6.53000E+2,+6.63000E+2,+6.73000E+2,+6.83000E+2,+6.93000E+2,+7.03000E+2,+7.13000E+2])/1e3 # W/m-K - mu_dyn = np.array([+4.50000E-3,+3.60000E-3,+3.00000E-3,+2.50000E-3,+2.10000E-3,+1.80000E-3,+1.60000E-3,+1.40000E-3,+1.20000E-3,+1.10000E-3,+9.50000E-4,+8.50000E-4,+7.70000E-4,+7.00000E-4,+6.30000E-4,+5.80000E-4,+5.40000E-4,+4.90000E-4,+4.60000E-4,+4.30000E-4,+4.00000E-4,+3.70000E-4,+3.50000E-4,+3.30000E-4]) # Pa-s - psat = np.array([+0.00000E+0,+0.00000E+0,+0.00000E+0,+0.00000E+0,+2.06843E+3,+2.75790E+3,+4.55054E+3,+7.99792E+3,+1.37206E+4,+2.24769E+4,+3.52322E+4,+5.29517E+4,+7.72213E+4,+1.08937E+5,+1.50306E+5,+2.04085E+5,+2.71653E+5,+3.57148E+5,+4.62638E+5,+5.93639E+5,+7.52907E+5,+9.46650E+5,+1.18038E+6,+1.45962E+6]) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 20+273.15 - Name = "HC20" - Desc = "Dynalene "+Name - - -class HC10(LiquidData): - """ - Heat transfer fluid Dynalene HC-10 - Source: Dynalene - """ - T = np.array([+2.63150E+2,+2.73150E+2,+2.83150E+2,+2.93150E+2,+3.03150E+2,+3.13150E+2,+3.23150E+2,+3.33150E+2,+3.43150E+2,+3.53150E+2,+3.63150E+2,+3.73150E+2,+3.83150E+2,+3.93150E+2,+4.03150E+2,+4.13150E+2,+4.23150E+2,+4.33150E+2,+4.43150E+2,+4.53150E+2,+4.63150E+2,+4.73150E+2,+4.83150E+2,+4.91150E+2]) # Kelvin - rho = np.array([+1.20400E+3,+1.19900E+3,+1.19500E+3,+1.19000E+3,+1.18600E+3,+1.18100E+3,+1.17700E+3,+1.17200E+3,+1.16700E+3,+1.16300E+3,+1.15800E+3,+1.15400E+3,+1.14900E+3,+1.14500E+3,+1.14000E+3,+1.13600E+3,+1.13100E+3,+1.12700E+3,+1.12200E+3,+1.11800E+3,+1.11300E+3,+1.10900E+3,+1.10400E+3,+1.10100E+3]) # kg/m3 - c_p = np.array([+3.24600E+3,+3.27100E+3,+3.29600E+3,+3.32000E+3,+3.34500E+3,+3.37000E+3,+3.39500E+3,+3.42000E+3,+3.44400E+3,+3.46900E+3,+3.49400E+3,+3.51900E+3,+3.54400E+3,+3.56800E+3,+3.59300E+3,+3.61800E+3,+3.64300E+3,+3.66800E+3,+3.69200E+3,+3.71700E+3,+3.74200E+3,+3.76700E+3,+3.79200E+3,+3.81100E+3]) # J/kg-K - lam = np.array([+4.94000E+2,+5.04000E+2,+5.14000E+2,+5.24000E+2,+5.34000E+2,+5.44000E+2,+5.54000E+2,+5.64000E+2,+5.74000E+2,+5.84000E+2,+5.94000E+2,+6.04000E+2,+6.14000E+2,+6.24000E+2,+6.34000E+2,+6.44000E+2,+6.54000E+2,+6.64000E+2,+6.74000E+2,+6.84000E+2,+6.94000E+2,+7.04000E+2,+7.14000E+2,+7.22000E+2])/1e3 # W/m-K - mu_dyn = np.array([+3.00000E-3,+2.50000E-3,+2.10000E-3,+1.80000E-3,+1.50000E-3,+1.30000E-3,+1.20000E-3,+1.00000E-3,+9.10000E-4,+8.10000E-4,+7.30000E-4,+6.60000E-4,+6.00000E-4,+5.50000E-4,+5.10000E-4,+4.70000E-4,+4.30000E-4,+4.00000E-4,+3.70000E-4,+3.50000E-4,+3.30000E-4,+3.10000E-4,+2.90000E-4,+2.80000E-4]) # Pa-s - psat = np.array([+0.00000E+0,+0.00000E+0,+0.00000E+0,+2.27527E+3,+2.89580E+3,+4.75738E+3,+8.54950E+3,+1.48927E+4,+2.46143E+4,+3.87485E+4,+5.83986E+4,+8.48055E+4,+1.19969E+5,+1.65474E+5,+2.23390E+5,+2.97164E+5,+3.90243E+5,+5.05386E+5,+6.47418E+5,+8.20476E+5,+1.03146E+6,+1.28587E+6,+1.58993E+6,+1.87468E+6]) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= 20+273.15 - Name = "HC10" - Desc = "Dynalene "+Name - - - -class AS10(LiquidData): - """ - Heat transfer fluid Aspen Temper -10 by Aspen Petroleum - Source: SecCool Software - """ - T = np.array([2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02]) # Kelvin - rho = np.array([1.09160E+03, 1.09060E+03, 1.08960E+03, 1.08860E+03, 1.08760E+03, 1.08660E+03, 1.08560E+03, 1.08460E+03]) # kg/m3 - c_p = np.array([3.52460E+03, 3.53540E+03, 3.54550E+03, 3.55500E+03, 3.56380E+03, 3.57190E+03, 3.57940E+03, 3.58620E+03]) # J/kg-K - lam = np.array([5.02200E-01, 5.09600E-01, 5.17000E-01, 5.24400E-01, 5.31800E-01, 5.39200E-01, 5.46700E-01, 5.54100E-01]) # W/m-K - mu_dyn = np.array([3.83600E-03, 3.16000E-03, 2.61300E-03, 2.17700E-03, 1.83700E-03, 1.57700E-03, 1.38200E-03, 1.23500E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "AS10" - Desc = "Aspen Temper -10" - - -class AS20(LiquidData): - """ - Heat transfer fluid Aspen Temper -20 by Aspen Petroleum - Source: SecCool Software - """ - T = np.array([2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02]) # Kelvin - rho = np.array([1.15050E+03, 1.14970E+03, 1.14870E+03, 1.14770E+03, 1.14660E+03, 1.14540E+03, 1.14420E+03, 1.14290E+03, 1.14150E+03, 1.14000E+03]) # kg/m3 - c_p = np.array([3.20660E+03, 3.22280E+03, 3.23840E+03, 3.25340E+03, 3.26780E+03, 3.28150E+03, 3.29470E+03, 3.30720E+03, 3.31920E+03, 3.33050E+03]) # J/kg-K - lam = np.array([4.56400E-01, 4.63100E-01, 4.69800E-01, 4.76500E-01, 4.83200E-01, 4.90000E-01, 4.96700E-01, 5.03400E-01, 5.10100E-01, 5.16800E-01]) # W/m-K - mu_dyn = np.array([7.43800E-03, 5.91400E-03, 4.74900E-03, 3.85900E-03, 3.17900E-03, 2.65900E-03, 2.26100E-03, 1.95800E-03, 1.72500E-03, 1.54800E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "AS20" - Desc = "Aspen Temper -20" - - -class AS30(LiquidData): - """ - Heat transfer fluid Aspen Temper -30 by Aspen Petroleum - Source: SecCool Software - """ - T = np.array([2.45000E+02, 2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02]) # Kelvin - rho = np.array([1.19140E+03, 1.19030E+03, 1.18910E+03, 1.18770E+03, 1.18630E+03, 1.18480E+03, 1.18330E+03, 1.18170E+03, 1.18010E+03, 1.17840E+03, 1.17680E+03, 1.17510E+03]) # kg/m3 - c_p = np.array([2.96950E+03, 2.99130E+03, 3.01190E+03, 3.03100E+03, 3.04890E+03, 3.06540E+03, 3.08050E+03, 3.09430E+03, 3.10670E+03, 3.11770E+03, 3.12750E+03, 3.13580E+03]) # J/kg-K - lam = np.array([4.25000E-01, 4.31300E-01, 4.37600E-01, 4.43900E-01, 4.50200E-01, 4.56400E-01, 4.62700E-01, 4.69000E-01, 4.75300E-01, 4.81600E-01, 4.87800E-01, 4.94100E-01]) # W/m-K - mu_dyn = np.array([1.56400E-02, 1.19300E-02, 9.17800E-03, 7.14000E-03, 5.62900E-03, 4.50900E-03, 3.67900E-03, 3.06400E-03, 2.60800E-03, 2.27000E-03, 2.01900E-03, 1.83400E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "AS30" - Desc = "Aspen Temper -30" - - -class AS40(LiquidData): - """ - Heat transfer fluid Aspen Temper -40 by Aspen Petroleum - Source: SecCool Software - """ - T = np.array([2.35000E+02, 2.40000E+02, 2.45000E+02, 2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02]) # Kelvin - rho = np.array([1.22670E+03, 1.22560E+03, 1.22420E+03, 1.22280E+03, 1.22120E+03, 1.21960E+03, 1.21780E+03, 1.21600E+03, 1.21410E+03, 1.21220E+03, 1.21020E+03, 1.20820E+03, 1.20620E+03, 1.20420E+03]) # kg/m3 - c_p = np.array([2.83450E+03, 2.85970E+03, 2.88300E+03, 2.90430E+03, 2.92370E+03, 2.94120E+03, 2.95670E+03, 2.97030E+03, 2.98200E+03, 2.99170E+03, 2.99950E+03, 3.00530E+03, 3.00920E+03, 3.01120E+03]) # J/kg-K - lam = np.array([4.01400E-01, 4.06900E-01, 4.12400E-01, 4.17900E-01, 4.23400E-01, 4.28900E-01, 4.34400E-01, 4.39900E-01, 4.45400E-01, 4.50900E-01, 4.56400E-01, 4.61800E-01, 4.67300E-01, 4.72800E-01]) # W/m-K - mu_dyn = np.array([4.43400E-02, 3.01000E-02, 2.10800E-02, 1.52600E-02, 1.14300E-02, 8.84100E-03, 7.03900E-03, 5.74200E-03, 4.77600E-03, 4.03200E-03, 3.44300E-03, 2.96300E-03, 2.56600E-03, 2.23100E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "AS40" - Desc = "Aspen Temper -40" - - -class AS55(LiquidData): - """ - Heat transfer fluid Aspen Temper -55 by Aspen Petroleum - Source: SecCool Software - """ - T = np.array([2.20000E+02, 2.25000E+02, 2.30000E+02, 2.35000E+02, 2.40000E+02, 2.45000E+02, 2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02]) # Kelvin - rho = np.array([1.26880E+03, 1.26780E+03, 1.26650E+03, 1.26510E+03, 1.26350E+03, 1.26180E+03, 1.25990E+03, 1.25790E+03, 1.25580E+03, 1.25350E+03, 1.25120E+03, 1.24890E+03, 1.24640E+03, 1.24400E+03, 1.24150E+03, 1.23900E+03, 1.23650E+03]) # kg/m3 - c_p = np.array([2.64790E+03, 2.67190E+03, 2.69470E+03, 2.71630E+03, 2.73660E+03, 2.75570E+03, 2.77350E+03, 2.79010E+03, 2.80540E+03, 2.81950E+03, 2.83240E+03, 2.84400E+03, 2.85440E+03, 2.86350E+03, 2.87140E+03, 2.87800E+03, 2.88340E+03]) # J/kg-K - lam = np.array([3.82400E-01, 3.85900E-01, 3.89600E-01, 3.93300E-01, 3.97200E-01, 4.01200E-01, 4.05300E-01, 4.09500E-01, 4.13900E-01, 4.18300E-01, 4.22900E-01, 4.27500E-01, 4.32300E-01, 4.37200E-01, 4.42300E-01, 4.47400E-01, 4.52600E-01]) # W/m-K - mu_dyn = np.array([2.93600E-01, 1.62700E-01, 9.44200E-02, 5.79500E-02, 3.78300E-02, 2.62200E-02, 1.91500E-02, 1.45600E-02, 1.14000E-02, 9.10600E-03, 7.36900E-03, 6.01200E-03, 4.93000E-03, 4.05600E-03, 3.34300E-03, 2.75900E-03, 2.27800E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "AS55" - Desc = "Aspen Temper -55" - - -class ZS10(LiquidData): - """ - Heat transfer fluid Zitrec S -10 by Arteco - Source: SecCool Software - """ - T = np.array([2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02, 3.05000E+02, 3.10000E+02, 3.15000E+02, 3.20000E+02, 3.25000E+02, 3.30000E+02, 3.35000E+02, 3.40000E+02, 3.45000E+02, 3.50000E+02, 3.55000E+02, 3.60000E+02]) # Kelvin - rho = np.array([1.10250E+03, 1.10020E+03, 1.09790E+03, 1.09550E+03, 1.09320E+03, 1.09090E+03, 1.08860E+03, 1.08630E+03, 1.08390E+03, 1.08160E+03, 1.07930E+03, 1.07700E+03, 1.07470E+03, 1.07230E+03, 1.07000E+03, 1.06770E+03, 1.06540E+03, 1.06300E+03, 1.06070E+03, 1.05840E+03]) # kg/m3 - c_p = np.array([3.54260E+03, 3.55520E+03, 3.56720E+03, 3.57880E+03, 3.59000E+03, 3.60070E+03, 3.61090E+03, 3.62060E+03, 3.62990E+03, 3.63870E+03, 3.64710E+03, 3.65500E+03, 3.66240E+03, 3.66940E+03, 3.67590E+03, 3.68190E+03, 3.68750E+03, 3.69260E+03, 3.69720E+03, 3.70140E+03]) # J/kg-K - lam = np.array([4.99700E-01, 5.06300E-01, 5.13000E-01, 5.19600E-01, 5.26200E-01, 5.32800E-01, 5.39400E-01, 5.45900E-01, 5.52500E-01, 5.59000E-01, 5.65500E-01, 5.72000E-01, 5.78500E-01, 5.84900E-01, 5.91400E-01, 5.97800E-01, 6.04300E-01, 6.10700E-01, 6.17100E-01, 6.23400E-01]) # W/m-K - mu_dyn = np.array([4.51900E-03, 3.75000E-03, 3.14500E-03, 2.66500E-03, 2.28200E-03, 1.97200E-03, 1.72000E-03, 1.51300E-03, 1.34200E-03, 1.20000E-03, 1.08100E-03, 9.80000E-04, 8.94000E-04, 8.21000E-04, 7.58000E-04, 7.03000E-04, 6.56000E-04, 6.14000E-04, 5.77000E-04, 5.44000E-04]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "ZS10" - Desc = "Zitrec S -10" - - -class ZS25(LiquidData): - """ - Heat transfer fluid Zitrec S -25 by Arteco - Source: SecCool Software - """ - T = np.array([2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02, 3.05000E+02, 3.10000E+02, 3.15000E+02, 3.20000E+02, 3.25000E+02, 3.30000E+02, 3.35000E+02, 3.40000E+02, 3.45000E+02, 3.50000E+02, 3.55000E+02, 3.60000E+02]) # Kelvin - rho = np.array([1.20620E+03, 1.20360E+03, 1.20090E+03, 1.19820E+03, 1.19560E+03, 1.19290E+03, 1.19030E+03, 1.18760E+03, 1.18490E+03, 1.18230E+03, 1.17960E+03, 1.17690E+03, 1.17430E+03, 1.17160E+03, 1.16890E+03, 1.16630E+03, 1.16360E+03, 1.16100E+03, 1.15830E+03, 1.15560E+03, 1.15300E+03, 1.15030E+03, 1.14760E+03]) # kg/m3 - c_p = np.array([3.17680E+03, 3.17880E+03, 3.18090E+03, 3.18290E+03, 3.18500E+03, 3.18710E+03, 3.18920E+03, 3.19130E+03, 3.19340E+03, 3.19550E+03, 3.19760E+03, 3.19980E+03, 3.20200E+03, 3.20410E+03, 3.20630E+03, 3.20850E+03, 3.21070E+03, 3.21290E+03, 3.21520E+03, 3.21740E+03, 3.21970E+03, 3.22200E+03, 3.22420E+03]) # J/kg-K - lam = np.array([4.43000E-01, 4.49600E-01, 4.56200E-01, 4.62700E-01, 4.69200E-01, 4.75600E-01, 4.81900E-01, 4.88200E-01, 4.94400E-01, 5.00600E-01, 5.06700E-01, 5.12700E-01, 5.18700E-01, 5.24600E-01, 5.30400E-01, 5.36200E-01, 5.42000E-01, 5.47700E-01, 5.53300E-01, 5.58800E-01, 5.64300E-01, 5.69800E-01, 5.75200E-01]) # W/m-K - mu_dyn = np.array([1.06800E-02, 8.37400E-03, 6.68600E-03, 5.42800E-03, 4.47800E-03, 3.74900E-03, 3.18300E-03, 2.73800E-03, 2.38400E-03, 2.10000E-03, 1.86800E-03, 1.67800E-03, 1.52000E-03, 1.38800E-03, 1.27500E-03, 1.17900E-03, 1.09500E-03, 1.02100E-03, 9.55000E-04, 8.95000E-04, 8.40000E-04, 7.89000E-04, 7.40000E-04]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "ZS25" - Desc = "Zitrec S -25" - - -class ZS40(LiquidData): - """ - Heat transfer fluid Zitrec S -40 by Arteco - Source: SecCool Software - """ - T = np.array([2.35000E+02, 2.40000E+02, 2.45000E+02, 2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02, 3.05000E+02, 3.10000E+02, 3.15000E+02, 3.20000E+02, 3.25000E+02, 3.30000E+02, 3.35000E+02, 3.40000E+02, 3.45000E+02, 3.50000E+02, 3.55000E+02, 3.60000E+02]) # Kelvin - rho = np.array([1.28360E+03, 1.28080E+03, 1.27800E+03, 1.27510E+03, 1.27230E+03, 1.26940E+03, 1.26660E+03, 1.26380E+03, 1.26090E+03, 1.25810E+03, 1.25530E+03, 1.25240E+03, 1.24960E+03, 1.24680E+03, 1.24390E+03, 1.24110E+03, 1.23820E+03, 1.23540E+03, 1.23260E+03, 1.22970E+03, 1.22690E+03, 1.22410E+03, 1.22120E+03, 1.21840E+03, 1.21550E+03, 1.21270E+03]) # kg/m3 - c_p = np.array([2.69640E+03, 2.70500E+03, 2.71320E+03, 2.72100E+03, 2.72850E+03, 2.73570E+03, 2.74260E+03, 2.74940E+03, 2.75600E+03, 2.76250E+03, 2.76900E+03, 2.77540E+03, 2.78190E+03, 2.78850E+03, 2.79530E+03, 2.80220E+03, 2.80930E+03, 2.81670E+03, 2.82440E+03, 2.83250E+03, 2.84100E+03, 2.85000E+03, 2.85950E+03, 2.86950E+03, 2.88010E+03, 2.89140E+03]) # J/kg-K - lam = np.array([4.15100E-01, 4.20500E-01, 4.25800E-01, 4.31200E-01, 4.36500E-01, 4.41800E-01, 4.47200E-01, 4.52500E-01, 4.57800E-01, 4.63100E-01, 4.68400E-01, 4.73600E-01, 4.78900E-01, 4.84200E-01, 4.89400E-01, 4.94700E-01, 4.99900E-01, 5.05200E-01, 5.10400E-01, 5.15600E-01, 5.20800E-01, 5.26000E-01, 5.31200E-01, 5.36400E-01, 5.41600E-01, 5.46800E-01]) # W/m-K - mu_dyn = np.array([3.10200E-02, 2.28600E-02, 1.72100E-02, 1.32300E-02, 1.03600E-02, 8.26100E-03, 6.70400E-03, 5.53000E-03, 4.63200E-03, 3.93600E-03, 3.38900E-03, 2.95500E-03, 2.60700E-03, 2.32300E-03, 2.09100E-03, 1.89800E-03, 1.73500E-03, 1.59700E-03, 1.47900E-03, 1.37500E-03, 1.28400E-03, 1.20200E-03, 1.12700E-03, 1.05800E-03, 9.93000E-04, 9.30000E-04]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "ZS40" - Desc = "Zitrec S -40" - - -class ZS45(LiquidData): - """ - Heat transfer fluid Zitrec S -45 by Arteco - Source: SecCool Software - """ - T = np.array([2.30000E+02, 2.35000E+02, 2.40000E+02, 2.45000E+02, 2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02, 3.05000E+02, 3.10000E+02, 3.15000E+02, 3.20000E+02, 3.25000E+02, 3.30000E+02, 3.35000E+02, 3.40000E+02, 3.45000E+02, 3.50000E+02, 3.55000E+02, 3.60000E+02]) # Kelvin - rho = np.array([1.30590E+03, 1.30320E+03, 1.30040E+03, 1.29760E+03, 1.29490E+03, 1.29210E+03, 1.28940E+03, 1.28660E+03, 1.28380E+03, 1.28110E+03, 1.27830E+03, 1.27550E+03, 1.27280E+03, 1.27000E+03, 1.26730E+03, 1.26450E+03, 1.26170E+03, 1.25900E+03, 1.25620E+03, 1.25340E+03, 1.25070E+03, 1.24790E+03, 1.24520E+03, 1.24240E+03, 1.23960E+03, 1.23690E+03, 1.23410E+03]) # kg/m3 - c_p = np.array([2.55240E+03, 2.56350E+03, 2.57450E+03, 2.58550E+03, 2.59650E+03, 2.60760E+03, 2.61860E+03, 2.62960E+03, 2.64070E+03, 2.65170E+03, 2.66270E+03, 2.67370E+03, 2.68480E+03, 2.69580E+03, 2.70680E+03, 2.71790E+03, 2.72890E+03, 2.73990E+03, 2.75090E+03, 2.76200E+03, 2.77300E+03, 2.78400E+03, 2.79510E+03, 2.80610E+03, 2.81710E+03, 2.82810E+03, 2.83920E+03]) # J/kg-K - lam = np.array([4.06200E-01, 4.11100E-01, 4.15900E-01, 4.20900E-01, 4.25800E-01, 4.30700E-01, 4.35700E-01, 4.40600E-01, 4.45600E-01, 4.50600E-01, 4.55700E-01, 4.60700E-01, 4.65800E-01, 4.70900E-01, 4.76000E-01, 4.81100E-01, 4.86200E-01, 4.91400E-01, 4.96600E-01, 5.01700E-01, 5.07000E-01, 5.12200E-01, 5.17400E-01, 5.22700E-01, 5.28000E-01, 5.33300E-01, 5.38600E-01]) # W/m-K - mu_dyn = np.array([4.97400E-02, 3.53200E-02, 2.57000E-02, 1.91400E-02, 1.45700E-02, 1.13300E-02, 8.99200E-03, 7.27000E-03, 5.98200E-03, 5.00500E-03, 4.25200E-03, 3.66500E-03, 3.20000E-03, 2.82800E-03, 2.52700E-03, 2.28000E-03, 2.07500E-03, 1.90300E-03, 1.75600E-03, 1.62900E-03, 1.51800E-03, 1.41800E-03, 1.32800E-03, 1.24400E-03, 1.16500E-03, 1.08900E-03, 1.01600E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "ZS45" - Desc = "Zitrec S -45" - - -class ZS55(LiquidData): - """ - Heat transfer fluid Zitrec S -55 by Arteco - Source: SecCool Software - """ - T = np.array([2.20000E+02, 2.25000E+02, 2.30000E+02, 2.35000E+02, 2.40000E+02, 2.45000E+02, 2.50000E+02, 2.55000E+02, 2.60000E+02, 2.65000E+02, 2.70000E+02, 2.75000E+02, 2.80000E+02, 2.85000E+02, 2.90000E+02, 2.95000E+02, 3.00000E+02, 3.05000E+02, 3.10000E+02, 3.15000E+02, 3.20000E+02, 3.25000E+02, 3.30000E+02, 3.35000E+02, 3.40000E+02, 3.45000E+02, 3.50000E+02, 3.55000E+02, 3.60000E+02]) # Kelvin - rho = np.array([1.35580E+03, 1.35280E+03, 1.34980E+03, 1.34680E+03, 1.34380E+03, 1.34070E+03, 1.33770E+03, 1.33470E+03, 1.33170E+03, 1.32870E+03, 1.32560E+03, 1.32260E+03, 1.31960E+03, 1.31660E+03, 1.31350E+03, 1.31050E+03, 1.30750E+03, 1.30450E+03, 1.30150E+03, 1.29840E+03, 1.29540E+03, 1.29240E+03, 1.28940E+03, 1.28630E+03, 1.28330E+03, 1.28030E+03, 1.27730E+03, 1.27430E+03, 1.27120E+03]) # kg/m3 - c_p = np.array([2.43970E+03, 2.44650E+03, 2.45350E+03, 2.46070E+03, 2.46810E+03, 2.47580E+03, 2.48380E+03, 2.49190E+03, 2.50030E+03, 2.50900E+03, 2.51780E+03, 2.52700E+03, 2.53630E+03, 2.54590E+03, 2.55570E+03, 2.56580E+03, 2.57610E+03, 2.58660E+03, 2.59740E+03, 2.60840E+03, 2.61970E+03, 2.63120E+03, 2.64290E+03, 2.65480E+03, 2.66700E+03, 2.67950E+03, 2.69210E+03, 2.70500E+03, 2.71820E+03]) # J/kg-K - lam = np.array([3.93100E-01, 3.97000E-01, 4.01000E-01, 4.05100E-01, 4.09100E-01, 4.13200E-01, 4.17300E-01, 4.21400E-01, 4.25600E-01, 4.29700E-01, 4.33900E-01, 4.38200E-01, 4.42400E-01, 4.46700E-01, 4.51000E-01, 4.55400E-01, 4.59700E-01, 4.64100E-01, 4.68500E-01, 4.73000E-01, 4.77500E-01, 4.82000E-01, 4.86500E-01, 4.91000E-01, 4.95600E-01, 5.00200E-01, 5.04800E-01, 5.09500E-01, 5.14200E-01]) # W/m-K - mu_dyn = np.array([1.44300E-01, 9.52000E-02, 6.46500E-02, 4.51300E-02, 3.23400E-02, 2.37700E-02, 1.78900E-02, 1.37800E-02, 1.08400E-02, 8.69800E-03, 7.11600E-03, 5.92500E-03, 5.01500E-03, 4.31100E-03, 3.75700E-03, 3.31700E-03, 2.96200E-03, 2.67300E-03, 2.43300E-03, 2.23300E-03, 2.06300E-03, 1.91500E-03, 1.78600E-03, 1.67000E-03, 1.56500E-03, 1.46600E-03, 1.37300E-03, 1.28300E-03, 1.19400E-03]) # Pa-s - psat = np.zeros(T.shape) # Pa - Tmin = np.min(T) - Tmax = np.max(T) - TminPsat= Tmax - Name = "ZS55" - Desc = "Zitrec S -55" - - -#class SylthermXLT(LiquidData): -# """ -# Heat transfer fluid Syltherm XLT by Dow Chemicals -# Source: Dow Chemicals data sheet -# """ -# T = np.array([-1.00000E+2, -9.50000E+1, -9.00000E+1, -8.50000E+1, -8.00000E+1, -7.50000E+1, -7.00000E+1, -6.50000E+1, -6.00000E+1, -5.50000E+1, -5.00000E+1, -4.50000E+1, -4.00000E+1, -3.50000E+1, -3.00000E+1, -2.50000E+1, -2.00000E+1, -1.50000E+1, -1.00000E+1, -5.00000E+0, +0.00000E+0, +5.00000E+0, +1.00000E+1, +1.50000E+1, +2.00000E+1, +2.50000E+1, +3.00000E+1, +3.50000E+1, +4.00000E+1, +4.50000E+1, +5.00000E+1, +5.50000E+1, +6.00000E+1, +6.50000E+1, +7.00000E+1, +7.50000E+1, +8.00000E+1, +8.50000E+1, +9.00000E+1, +9.50000E+1, +1.00000E+2, +1.05000E+2, +1.10000E+2, +1.15000E+2, +1.20000E+2, +1.25000E+2, +1.30000E+2, +1.35000E+2, +1.40000E+2, +1.45000E+2, +1.50000E+2, +1.55000E+2, +1.60000E+2, +1.65000E+2, +1.70000E+2, +1.75000E+2, +1.80000E+2, +1.85000E+2, +1.90000E+2, +1.95000E+2, +2.00000E+2, +2.05000E+2, +2.10000E+2, +2.15000E+2, +2.20000E+2, +2.25000E+2, +2.30000E+2, +2.35000E+2, +2.40000E+2, +2.45000E+2, +2.50000E+2, +2.55000E+2, +2.60000E+2])+273.15 # Kelvin -# rho = np.array([+9.78500E+2, +9.73400E+2, +9.68300E+2, +9.63100E+2, +9.58000E+2, +9.52900E+2, +9.47700E+2, +9.42600E+2, +9.37500E+2, +9.32300E+2, +9.27200E+2, +9.22000E+2, +9.16900E+2, +9.11800E+2, +9.06600E+2, +9.01500E+2, +8.96400E+2, +8.91200E+2, +8.86100E+2, +8.81000E+2, +8.75800E+2, +8.70700E+2, +8.65500E+2, +8.60400E+2, +8.55300E+2, +8.50100E+2, +8.45000E+2, +8.39900E+2, +8.34700E+2, +8.29600E+2, +8.24500E+2, +8.19300E+2, +8.14200E+2, +8.09100E+2, +8.03900E+2, +7.98800E+2, +7.93600E+2, +7.88500E+2, +7.83400E+2, +7.78200E+2, +7.73100E+2, +7.68000E+2, +7.62800E+2, +7.57700E+2, +7.52600E+2, +7.47400E+2, +7.42300E+2, +7.37200E+2, +7.32000E+2, +7.26900E+2, +7.21700E+2, +7.16600E+2, +7.11500E+2, +7.06300E+2, +7.01200E+2, +6.96100E+2, +6.90900E+2, +6.85800E+2, +6.80700E+2, +6.75500E+2, +6.70400E+2, +6.65300E+2, +6.60100E+2, +6.55000E+2, +6.49800E+2, +6.44700E+2, +6.39600E+2, +6.34400E+2, +6.29300E+2, +6.24200E+2, +6.19000E+2, +6.13900E+2, +6.08800E+2]) # kg/m3 -# c_p = np.array([+1.52000E+0, +1.53000E+0, +1.54100E+0, +1.55100E+0, +1.56200E+0, +1.57200E+0, +1.58300E+0, +1.59300E+0, +1.60400E+0, +1.61400E+0, +1.62500E+0, +1.63500E+0, +1.64600E+0, +1.65600E+0, +1.66700E+0, +1.67700E+0, +1.68800E+0, +1.69800E+0, +1.70900E+0, +1.71900E+0, +1.73000E+0, +1.74000E+0, +1.75100E+0, +1.76100E+0, +1.77200E+0, +1.78200E+0, +1.79300E+0, +1.80300E+0, +1.81400E+0, +1.82400E+0, +1.83500E+0, +1.84500E+0, +1.85600E+0, +1.86600E+0, +1.87700E+0, +1.88700E+0, +1.89800E+0, +1.90800E+0, +1.91900E+0, +1.92900E+0, +1.94000E+0, +1.95000E+0, +1.96100E+0, +1.97100E+0, +1.98200E+0, +1.99200E+0, +2.00300E+0, +2.01300E+0, +2.02400E+0, +2.03400E+0, +2.04500E+0, +2.05500E+0, +2.06600E+0, +2.07600E+0, +2.08700E+0, +2.09700E+0, +2.10800E+0, +2.11800E+0, +2.12900E+0, +2.13900E+0, +2.15000E+0, +2.16000E+0, +2.17100E+0, +2.18100E+0, +2.19200E+0, +2.20200E+0, +2.21300E+0, +2.22300E+0, +2.23400E+0, +2.24400E+0, +2.25500E+0, +2.26500E+0, +2.27600E+0])*1e3 # J/kg-K -# lam = np.array([+1.34100E-1, +1.33200E-1, +1.32400E-1, +1.31500E-1, +1.30600E-1, +1.29700E-1, +1.28800E-1, +1.27900E-1, +1.26900E-1, +1.26000E-1, +1.25000E-1, +1.24100E-1, +1.23100E-1, +1.22100E-1, +1.21100E-1, +1.20100E-1, +1.19100E-1, +1.18100E-1, +1.17100E-1, +1.16100E-1, +1.15000E-1, +1.14000E-1, +1.12900E-1, +1.11900E-1, +1.10800E-1, +1.09700E-1, +1.08600E-1, +1.07500E-1, +1.06400E-1, +1.05300E-1, +1.04200E-1, +1.03000E-1, +1.01900E-1, +1.00800E-1, +9.96000E-2, +9.84400E-2, +9.72800E-2, +9.61000E-2, +9.49200E-2, +9.37300E-2, +9.25300E-2, +9.13300E-2, +9.01200E-2, +8.89100E-2, +8.76800E-2, +8.64500E-2, +8.52200E-2, +8.39800E-2, +8.27300E-2, +8.14700E-2, +8.02100E-2, +7.89500E-2, +7.76700E-2, +7.64000E-2, +7.51100E-2, +7.38200E-2, +7.25300E-2, +7.12300E-2, +6.99200E-2, +6.86100E-2, +6.72900E-2, +6.59700E-2, +6.46500E-2, +6.33100E-2, +6.19800E-2, +6.06400E-2, +5.92900E-2, +5.79400E-2, +5.65800E-2, +5.52300E-2, +5.38600E-2, +5.24900E-2, +5.11200E-2]) # W/m-K -# mu_dyn = np.array([+7.86100E+1, +5.01300E+1, +3.48600E+1, +2.58300E+1, +2.00400E+1, +1.60800E+1, +1.32200E+1, +1.10500E+1, +9.35600E+0, +7.99400E+0, +6.87900E+0, +5.95600E+0, +5.18400E+0, +4.53500E+0, +3.98600E+0, +3.52100E+0, +3.12600E+0, +2.78800E+0, +2.49900E+0, +2.25000E+0, +2.03500E+0, +1.84900E+0, +1.68700E+0, +1.54500E+0, +1.41900E+0, +1.30900E+0, +1.21000E+0, +1.12200E+0, +1.04300E+0, +9.72000E-1, +9.08000E-1, +8.49000E-1, +7.96000E-1, +7.48000E-1, +7.05000E-1, +6.65000E-1, +6.28000E-1, +5.95000E-1, +5.64000E-1, +5.36000E-1, +5.11000E-1, +4.87000E-1, +4.65000E-1, +4.45000E-1, +4.26000E-1, +4.09000E-1, +3.93000E-1, +3.77000E-1, +3.63000E-1, +3.50000E-1, +3.37000E-1, +3.25000E-1, +3.14000E-1, +3.03000E-1, +2.93000E-1, +2.84000E-1, +2.75000E-1, +2.66000E-1, +2.58000E-1, +2.51000E-1, +2.44000E-1, +2.38000E-1, +2.32000E-1, +2.26000E-1, +2.20000E-1, +2.15000E-1, +2.09000E-1, +2.04000E-1, +1.99000E-1, +1.94000E-1, +1.89000E-1, +1.85000E-1, +1.82000E-1])/1000. # Pa-s -# psat = np.array([+0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0, +0.00000E+0])*1e5 # Pa -# Tmin = np.min(T) -# Tmax = np.max(T) -# TminPsat= Tmax -# Name = "XLT" -# Desc = "SylthermXLT" - - -# output -#dataObj = Therminol72() -#for i in range(len(dataObj.T)): -# print str(dataObj.T[i])+", "+str(np.log(dataObj.mu_dyn[i])) - -class IncompressibleData(object): - def __init__(self): - self.INCOMPRESSIBLE_NOT_SET = 'notdefined' - self.INCOMPRESSIBLE_POLYNOMIAL = 'polynomial' - self.INCOMPRESSIBLE_EXPONENTIAL = 'exponential' - self.INCOMPRESSIBLE_EXPPOLYNOMIAL = 'exppolynomial' - self.INCOMPRESSIBLE_EXPOFFSET = 'expoffset' - self.INCOMPRESSIBLE_POLYOFFSET = 'polyoffset' - self.INCOMPRESSIBLE_CHEBYSHEV = 'chebyshev' - self.type = self.INCOMPRESSIBLE_NOT_SET - self.coeffs = None #np.zeros((4,4)) - self.data = None #np.zeros((10,10)) - - def fit(self, T, x=0.0, Tbase=0.0, xbase=0.0): - (cr,cc) = self.coeffs.shape - (dr,dc) = self.data.shape - (Tr,Tc) = (len(T),1) #T.shape #(len(T),1) - if (Tc!=1): raise ValueError("Temperature has to be a 2D array with one column.") - if (Tr!=dr): raise ValueError("Temperature and fitting data have to have the same number of rows.") - - if self.type==self.INCOMPRESSIBLE_POLYNOMIAL or self.type==self.INCOMPRESSIBLE_EXPPOLYNOMIAL: - if (np.max(x)<1e-10): # x not given - x = np.array([0.0]) - #if (cc==1): # requires 1D coefficients - if (dc==1): - if self.type==self.INCOMPRESSIBLE_POLYNOMIAL: - self.coeffs = self.getCoeffs2d(T-Tbase, x-xbase, self.data, cr-1, 0) - elif self.type==self.INCOMPRESSIBLE_EXPPOLYNOMIAL: - self.coeffs = self.getCoeffs2d(T-Tbase, x-xbase, np.log(self.data), cr-1, 0) - else: raise ValueError("Unknown function.") - else: - raise ValueError("Cannot use 2D data with 1D references") - #else: - # raise ValueError("Cannot use 2D coefficients without concentration input") - else: # Assume 2D input - (xr,xc) = (1,len(x))#x.shape#(1,len(x)) - if (xr!=1): raise ValueError("Concentration has to be a 2D array with one row.") - if (xc!=dc): raise ValueError("Concentration and fitting data have to have the same number of columns.") - if self.type==self.INCOMPRESSIBLE_POLYNOMIAL: - self.coeffs = self.getCoeffs2d(T-Tbase, x-xbase, self.data, cr-1, cc-1) - elif self.type==self.INCOMPRESSIBLE_EXPPOLYNOMIAL: - self.coeffs = self.getCoeffs2d(T-Tbase, x-xbase, np.log(self.data), cr-1, cc-1) - else: raise ValueError("Unknown function.") - #print self.coeffs - else: - raise ValueError("Cannot fit that function.") - - - def getCoeffs1d(self, x, z, order): - if (len(x)=20) std::cout << format("Incompressible library: Loading base values for %s ",fluid.getName().c_str()) << std::endl; fluid.setDescription(cpjson::get_string(fluid_json, "description")); fluid.setReference(cpjson::get_string(fluid_json, "reference")); - fluid.setTmax(parse_value(fluid_json, "Tmax", true, 0.0)); - fluid.setTmin(parse_value(fluid_json, "Tmin", true, 0.0)); - fluid.setxmax(parse_value(fluid_json, "xmax", false, 1.0)); - fluid.setxmin(parse_value(fluid_json, "xmin", false, 0.0)); - fluid.setxid((int) parse_value(fluid_json, "xid", true, 0.0)); + fluid.setTmax( parse_value(fluid_json, "Tmax", true, 0.0)); + fluid.setTmin( parse_value(fluid_json, "Tmin", true, 0.0)); + fluid.setxmax( parse_value(fluid_json, "xmax", false, 1.0)); + fluid.setxmin( parse_value(fluid_json, "xmin", false, 0.0)); + fluid.setxid( parse_ifrac(fluid_json, "xid") ); fluid.setTminPsat(parse_value(fluid_json, "TminPsat", false, 0.0)); fluid.setTbase(parse_value(fluid_json, "Tbase", false, 0.0)); diff --git a/src/Backends/Incompressible/IncompressibleLibrary.h b/src/Backends/Incompressible/IncompressibleLibrary.h index b432fe0f..f623c63b 100644 --- a/src/Backends/Incompressible/IncompressibleLibrary.h +++ b/src/Backends/Incompressible/IncompressibleLibrary.h @@ -154,6 +154,7 @@ protected: /// A general function to parse the json files that hold the coefficient matrices IncompressibleData parse_coefficients(rapidjson::Value &obj, std::string id, bool vital); double parse_value(rapidjson::Value &obj, std::string id, bool vital, double def); + int parse_ifrac(rapidjson::Value &obj, std::string id); public: // Default constructor; diff --git a/src/Tests/TestObjects.cpp b/src/Tests/TestObjects.cpp index 6062d348..f8da85d6 100644 --- a/src/Tests/TestObjects.cpp +++ b/src/Tests/TestObjects.cpp @@ -171,6 +171,7 @@ CoolProp::IncompressibleFluid CoolPropTesting::incompressibleFluidObject(){ CoolProp::IncompressibleData T_freeze; T_freeze.type = CoolProp::IncompressibleData::INCOMPRESSIBLE_POLYOFFSET; T_freeze.coeffs = CoolProp::vec_to_eigen(tmpVector); + T_freeze.coeffs.transposeInPlace(); // After preparing the coefficients, we have to create the objects CoolProp::IncompressibleFluid CH3OH;