PolymathPlus Report
PolymathPlus Report
📈   Explicit Equations 2022-04-01 18:58 

# Explicit Calculations Example: Complex consecutive calculations
# Physical property calculator for liquid CO2
# Verified Solution: LCP = 8.82e+4, LDN = 23.7577
# LTC =0.136225 , LVS = 0.000155, VP = 1.79E+6
# Source of the correlations: DIPPR database

LCP_CO2 = -8304300 + 104370 * T - 433.33 * T ^ 2 + 0.60052 * T ^ 3 # J/kmol*K
LDN_CO2 = 2.768 / 0.26212 ^ (1 + (1 - T / 304.21) ^ 0.2908) # kmol/m^3
LTC_CO2 = 0.4406 - 0.0012175 * T # W/m*K
LVS_CO2 = exp(18.775 - 402.92 / T - 4.6854 * ln(T) - 6.9171E-26 * T ^ 10) # Pa*s
VP_CO2 = exp(140.54 - 4735 / T - 21.268 * ln(T) + 0.040909 * T) # Pa
# Valid temperature range: 217 K - 304 K
T= 250 # Temperature (K)


Calculated values of explicit variables

    Variable Value
1 T 250
2 LCP_CO2 88200
3 LDN_CO2 23.757681
4 LTC_CO2 0.136225
5 LVS_CO2 0.00015487
6 VP_CO2 1.7884E+06

Formatted equations

  T = 2 5 0
  L C P _ C O 2 = + + 8 3 0 4 3 0 0 1 0 4 3 7 0 T 4 3 3 . 3 3 T 2 0 . 6 0 0 5 2 T 3
  L D N _ C O 2 = 2 . 7 6 8 0 . 2 6 2 1 2 ( ) ^ + 1 1 T 3 0 4 . 2 1 0 . 2 9 0 8
  L T C _ C O 2 = 0 . 4 4 0 6 0 . 0 0 1 2 1 7 5 T
  L V S _ C O 2 = e x p 1 8 . 7 7 5 4 0 2 . 9 2 T 4 . 6 8 5 4 l n T ( ) 6 . 9 1 7 1 E - 2 6 T 1 0
  V P _ C O 2 = e x p + 1 4 0 . 5 4 4 7 3 5 T 2 1 . 2 6 8 l n T ( ) 0 . 0 4 0 9 0 9 T

General Settings

number of explicit equations: 6
reporting digits 10