Skip to content

Commit

Permalink
applying black
Browse files Browse the repository at this point in the history
  • Loading branch information
JavalVyas2000 committed Apr 30, 2024
1 parent 6489a2c commit 5ddd40c
Show file tree
Hide file tree
Showing 7 changed files with 295 additions and 158 deletions.
2 changes: 1 addition & 1 deletion pareto/examples/Membrane_Distillation/MD_PARETO.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To effectively run this Jupyter Notebook and utilize the associated flowsheet for the Membrane Distillation process simulation and optimization, it's necessary to have the WaterTAP package installed on your system. Detailed installation instructions can be found inthe [WaterTAP documentation](https://watertap.readthedocs.io/en/latest/getting_started.html).\n",
"To effectively run this Jupyter Notebook and utilize the associated flowsheet for the Membrane Distillation process simulation and optimization, it's necessary to have the WaterTAP package installed on your system. Detailed installation instructions can be found in the [WaterTAP documentation](https://watertap.readthedocs.io/en/latest/getting_started.html).\n",
"Note: This model depends on some features in WaterTAP that are not part of the latest release. So, at present, the only way to successfully run this notebook is to install the development version of WaterTAP rather than pip install watertap"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def main():


def build():

# flowsheet set up
m = ConcreteModel()
m.fs = FlowsheetBlock(dynamic=False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"source": [
"## Integrating rigorous desalination models into network optimization\n",
"It is often desired to design a desalination plant at a certain desalination site in the network. However, it is not clear what the optimal design and operation opf the plant should be. In this notebook we show how to co-optimize the network operation and desalination design by using the integrated optimization model available in PARETO. \n",
"It is often desired to design a desalination plant at a certain desalination site in the network. However, it is not clear what the optimal design and operation of the plant should be. In this notebook we show how to co-optimize the network operation and desalination design by using the integrated optimization model available in PARETO. \n",
"\n",
"First we import the necessary utilities to read the network data, the function to build the integrated model with MEE-MVR as the desalination model choice (`integrated_model_build`) and the Pyomo package."
]
Expand Down Expand Up @@ -60,7 +60,7 @@
"source": [
"Along with network data the integrated model inputs a dictionary with the name of the site at which the desalination unit needs to be built and the corresponding number of evaporator stages that need to be built at that site. For example if at site \"R01_IN\" we want to build an MEE-MVR unit consisting of a single evaporator stage, the dictionary will be: {\"R01\":1}\n",
"\n",
"For more information on MEE-MVR desalination please refer to the `mee_mvr_jupyter_notebook`. "
"For more information on MEE-MVR desalination please refer to the [mee_mvr_jupyter_notebook](../desalination_jupyter_notebooks/mee_mvr_jupyter_notebook.ipynb). "
]
},
{
Expand Down
Loading

0 comments on commit 5ddd40c

Please sign in to comment.