diff --git a/notebooks/Nitrogen+Ethane critical loci.ipynb b/notebooks/Nitrogen+Ethane critical loci.ipynb index a6cb527d52d4ac4325cbc4aa8f839b8e81c87b25..4291595063f4c9144222ab1b1c70ef621eadda57 100644 --- a/notebooks/Nitrogen+Ethane critical loci.ipynb +++ b/notebooks/Nitrogen+Ethane critical loci.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "id": "ce87cafd", "metadata": {}, "outputs": [ @@ -34,7 +34,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "869a5da7", "metadata": {}, "outputs": [ @@ -1007,13 +1007,6 @@ }, "metadata": {}, "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "hi\n" - ] } ], "source": [ @@ -1054,7 +1047,8 @@ "def get_critical_curve(ipure):\n", "\n", " names = ['Nitrogen', 'Ethane']\n", - " model = teqp.build_multifluid_model(names, '../mycp', '../mycp/dev/mixtures/mixture_binary_pairs.json')#,{'estimate':'Lorentz-Berthelot'})\n", + " root = teqp.get_datapath()\n", + " model = teqp.build_multifluid_model(names, root, root+'/dev/mixtures/mixture_binary_pairs.json')#,{'estimate':'Lorentz-Berthelot'})\n", "\n", " tic = timeit.default_timer()\n", " T0 = CP.PropsSI('Tcrit', names[ipure])\n", @@ -1077,8 +1071,7 @@ "plt.ylim(1e6, 1e9)\n", "plt.gca().set(xlabel='$T$ / K', ylabel='$p$ / Pa')\n", "plt.yscale('log')\n", - "plt.show()\n", - "print('hi')" + "plt.show()" ] } ],