0
$\begingroup$

What I want

A function with pressure and temperature as input parameter and enthalpy as output. I am using R but any hint for choosing an algorithm/model would be appreciated.

Data

# A tibble: 521 x 3
   pressure temperature enthalpy
      <dbl>       <dbl>    <dbl>
 1     2.36         -15    1444 
 2     2.36         -15     131.
 3     1            -10    1471 
 4     2.91         -10    1451 
 5     2.91         -10     154 
 6     5            -10     154.
 7    10            -10     154.
 8    15            -10     155.
 9    20            -10     155.
10    25            -10     156.

enter image description here

Please note for each temperature there are two points with same temperature and pressure but different enthalpy. That is physical sane but I can adjust one of the two values slightly if that helps.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.