Skip to content

Commit

Permalink
Some docs for critical
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Dec 1, 2023
1 parent b49517f commit 45bf710
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/source/algorithms/critical_curves.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@
"modelPR.solve_pure_critical(T0, rho0)"
]
},
{
"cell_type": "markdown",
"id": "9141858c",
"metadata": {},
"source": [
"If you have a mixture, but want to obtain the critical point of a pure fluid of this mixture, you can specify the index of the component in the mixture, as well as the number of componnts in the mixture with something like:\n",
"\n",
"``\n",
"model.solve_pure_critical(T0, rho0, {\"alternative_pure_index\": 1, \"alternative_length\": 2})\n",
"``\n",
"so here, for the second fluid, with 0-based index of 1, in a two-component mixture"
]
},
{
"cell_type": "markdown",
"id": "e15eeded",
Expand Down

0 comments on commit 45bf710

Please sign in to comment.