{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "import matplotlib.pyplot as plt, CoolProp, numpy as np\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.text.Text at 0x106abfd50>"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAY8AAAEPCAYAAAC6Kkg/AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGq9JREFUeJzt3X2UZHV95/H3Z4BhRpQQddcAAxE3cLJjDvERDXG1fWIN\nQYib3cDRxRg3mg17IsdVdkGjjJscxPi0xqPZJEiWuAc8nKzJQowIqI1xs4IPgw9MiJCIcRTB+IjM\n4Dx994+63VM03T11q/pWdU+9X+fUmVu3bt3+9u2a+6nf7/7uvakqJElqY92kC5AkrT2GhySpNcND\nktSa4SFJas3wkCS1ZnhIklrrPDySHJJka5Jrm+enJLmlmffpJE/tW/aiJHckuT3JaV3XJkkazjha\nHucD24C5E0p+D3hDVT0ReGPznCSbgbOBzcALgPcmsWUkSatQpzvnJJuA04HLgDSz7wZ+rJk+Cvh6\nM30WcFVV7a6qu4A7gVO6rE+SNJxDO17/O4ELgCP75l0IfDLJ2+iF1881848BPtW33Hbg2I7rkyQN\nobOWR5IzgHuraiv7Wx0A7wNeVVXHA68GLl9mNV47RZJWoS5bHqcCZyY5HdgAHJnk/cApVfW8Zpk/\no9elBb3uq+P63r+J/V1a85IYKJI0hKrKgZcaTGctj6p6XVUdV1UnAOcAH6uqc4E7kzyrWew5wJeb\n6WuAc5KsT3ICcCJwyxLrXvWPiy++eOI1WKd1rtUarXPlHyut62Me/eaqfyXwniSHAzub51TVtiRX\n0xuZtQc4r7r4jSVJIxtLeFTV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": [
       "<matplotlib.figure.Figure at 0x1067f8b50>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "p = 1572358 #Pa\n",
    "T = np.linspace(416, 420)\n",
    "h = CoolProp.CoolProp.PropsSI('Hmass','T',T,'P',p,'SES36')/1000.0 #kK/kg\n",
    "plt.plot(T,h)\n",
    "plt.xlabel('T (K)')\n",
    "plt.ylabel('H (kJ/kg)')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
