Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for OARO flowsheet #1351

Merged
merged 114 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
7d35890
add
luohezhiming Mar 16, 2023
4766c52
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 16, 2023
ef81bae
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 22, 2023
168bbaf
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 27, 2023
a09b4e9
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 30, 2023
44a22e8
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 31, 2023
1c1a135
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 5, 2023
401f997
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 10, 2023
258f6fe
delete redundant files
luohezhiming Apr 11, 2023
2c994c3
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 17, 2023
5b6baed
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 21, 2023
0afa551
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 24, 2023
479fb6d
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 28, 2023
b393ed0
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 9, 2023
708ad0a
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 12, 2023
5a69761
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 17, 2023
112415a
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 19, 2023
93737c0
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 25, 2023
3162e34
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 26, 2023
637b32d
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 29, 2023
ea4e066
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 5, 2023
84a2900
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 7, 2023
17bc5e3
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 12, 2023
f816483
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 13, 2023
fea68e3
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 14, 2023
c19fba5
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 20, 2023
0754d21
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 22, 2023
9dcece1
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 22, 2023
a5325c9
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jun 27, 2023
c4bc3ef
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 5, 2023
bb8ca41
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 7, 2023
5afdc55
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 11, 2023
35ecf79
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 12, 2023
fb2a100
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 17, 2023
40b4de5
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 19, 2023
72f6f25
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jul 21, 2023
ece1d2f
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 2, 2023
a861a5b
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 7, 2023
d58a9a7
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 9, 2023
4968282
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 19, 2023
acfd9f6
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 23, 2023
a97fbe3
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 24, 2023
2fc2425
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Aug 25, 2023
581dec0
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Sep 4, 2023
3202970
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Sep 20, 2023
625e610
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Sep 25, 2023
2a37aca
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 2, 2023
1fa9316
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 3, 2023
74811ea
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 16, 2023
a89268c
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 16, 2023
09cf01e
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 19, 2023
4070fa1
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 20, 2023
0d6fe1a
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Oct 23, 2023
0f09c3c
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 6, 2023
5f82e05
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 9, 2023
025f9b6
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 13, 2023
af92e14
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 15, 2023
c61fc6d
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 16, 2023
87fbfaf
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 17, 2023
cc20cf2
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 22, 2023
20a0b7b
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 22, 2023
7e4224f
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 27, 2023
e48e352
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Nov 30, 2023
2e0c474
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Dec 6, 2023
88c873d
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Dec 7, 2023
d75ea4e
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Dec 14, 2023
4cc24eb
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Dec 15, 2023
64eb819
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Dec 30, 2023
3b03877
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jan 2, 2024
9757884
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jan 5, 2024
cc171a6
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jan 12, 2024
fbdfae9
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jan 19, 2024
799e3b0
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jan 25, 2024
324685e
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Jan 30, 2024
4158c7e
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 2, 2024
5f8b7d1
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 5, 2024
17d268c
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 7, 2024
383a9d8
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 7, 2024
9a05662
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 28, 2024
dd00a3f
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 28, 2024
8175c28
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 28, 2024
252b899
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Feb 29, 2024
9de729a
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 4, 2024
349b52c
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 4, 2024
b0e7287
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 12, 2024
74abee6
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 21, 2024
dc73edf
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 25, 2024
8fd87d2
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 25, 2024
50703b1
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Mar 26, 2024
2e44849
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 1, 2024
dbcf10b
add OARO documents
luohezhiming Apr 2, 2024
4bc5fe6
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 4, 2024
2396811
update doc
luohezhiming Apr 9, 2024
23f9342
Update docs/technical_reference/flowsheets/oaro.rst
luohezhiming Apr 11, 2024
22a7703
Update docs/technical_reference/flowsheets/oaro.rst
luohezhiming Apr 11, 2024
fa9c6df
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 12, 2024
e0d89f8
Update docs/technical_reference/flowsheets/oaro.rst
luohezhiming Apr 16, 2024
1c09fe1
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 24, 2024
c67a95b
revise typo
luohezhiming Apr 25, 2024
3480a47
Merge branch 'main' into oaro_doc
luohezhiming Apr 25, 2024
0333b77
Merge branch 'oaro_doc' of https://github.com/luohezhiming/watertap i…
luohezhiming Apr 25, 2024
aed90ee
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 26, 2024
918b718
Merge branch 'main' into oaro_doc
luohezhiming Apr 26, 2024
72e5ccd
updated doc
luohezhiming Apr 26, 2024
3fb19b7
edit file
luohezhiming Apr 29, 2024
98a5258
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming Apr 29, 2024
e451e50
Merge branch 'main' into oaro_doc
luohezhiming Apr 29, 2024
b2e24bf
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 3, 2024
52afa40
Update docs/technical_reference/flowsheets/oaro.rst
luohezhiming May 9, 2024
8848e9e
Update docs/technical_reference/flowsheets/oaro.rst
luohezhiming May 9, 2024
46053da
Merge branch 'main' of https://github.com/watertap-org/watertap
luohezhiming May 9, 2024
f7bd782
Merge branch 'main' into oaro_doc
luohezhiming May 9, 2024
72a2769
Merge branch 'main' into oaro_doc
ksbeattie May 16, 2024
ebc6510
Merge branch 'main' into oaro_doc
bknueven May 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/_static/flowsheets/OARO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/technical_reference/flowsheets/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Flowsheets

BSM2
extended_BSM2
oaro
ASM1
ASM2d
ADM1
Expand Down
121 changes: 121 additions & 0 deletions docs/technical_reference/flowsheets/oaro.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
Osmotically Assisted Reverse Osmosis
====================================

Introduction
------------

Osmotically assisted reverse osmosis (OARO) is a non-evaporative membrane-based desalination technology that can treat
high-salinity brines. Compared to conventional reverse osmosis (RO), a saline sweep is added to reduce the osmotic pressure
difference across the membrane as well as enhance water transport. This OARO flowsheet includes numbers of
`OARO <https://watertap.readthedocs.io/en/latest/technical_reference/unit_models/osmotically_assisted_reverse_osmosis_0D.html>`_ units,
pumps, energy recovery devices (ERDs) and a
`RO <https://watertap.readthedocs.io/en/latest/technical_reference/unit_models/reverse_osmosis_0D.html>`_ unit
depending on the number of stages. It can be used to implement techno-economic analyses and optimize costing metrics
with specified number of stages and system water recovery.

Implementation
--------------

Figure 1 shows the process flow diagram for an n-stage OARO system.
After pressurized by the primary pump, the incoming feed water enters the feed-side of the first OARO module,
then the water permeates across the membrane and the resulting concentrated brine flows out of the system from the feed-side,
In addition, the permeate water will dilute a saline sweep solution in the permeate-side
and the diluted sweep solution will flow into the feed-side of the next stage of OARO module.
Similarly, the resulting concentrate flows out of the feed-side, gets energy recovered by the ERD and
pressurized by the recycle pump, and flows back into permeate-side of the last stage.
Meanwhile, the diluted sweep solution in the permeate-side flows into the next stage and finally into a conventional RO module.
Costing relationships for each of the unit models is described in the
`WaterTAP Costing Package <https://watertap.readthedocs.io/en/latest/technical_reference/costing/watertap_costing.html>`_ .
The flowsheet relies on the following key assumptions:

* supports steady-state only
* supports optimization and minimizes levelized cost of water (LCOW) with constraints
* `NaCl Property Package <https://watertap.readthedocs.io/en/latest/technical_reference/property_models/NaCl.html>`_ is utilized
* number of stages and system recovery should be specified for optimization


.. figure:: ../../_static/flowsheets/OARO.png
:width: 800
:align: center

Figure 1. OARO flow diagram

Documentation for each of the unit models can be found here:
* `OARO <https://watertap.readthedocs.io/en/latest/technical_reference/unit_models/osmotically_assisted_reverse_osmosis_0D.html>`_
* `RO <https://watertap.readthedocs.io/en/latest/technical_reference/unit_models/reverse_osmosis_0D.html>`_

Documentation for the property model can be found here:
* `NaCl Property Package <https://watertap.readthedocs.io/en/latest/technical_reference/property_models/NaCl.html>`_

Documentation for the costing relationships can be found below.
* `WaterTAP Costing Package <https://watertap.readthedocs.io/en/latest/technical_reference/costing/watertap_costing.html>`_

This flowsheet aims to solve optimization problem that minimizes levelized cost of water (LCOW) with specified
number of stages and system mass recovery.
LCOW can be represented by the following equation where :math:`Q` represents product volumetric flow, :math:`f_{crf}` represents capital recovery factor
:math:`C_{cap,tot}` represents total capital cost, :math:`C_{op,tot}` represents total operating cost, and
:math:`f_{util}` represents the utilization factor:

.. math::

LCOW_{Q} = \frac{f_{crf} C_{cap,tot} + C_{op,tot}}{f_{util} Q}

Degrees of Freedom
------------------
Firstly, the number of stages and water mass recovery of the system need to be specified. In addition, the following variables needs to be specified based on the default settings:
* feed water conditions (flow, temperature, pressure, component concentrations)
* pump efficiency of primary pumps and recycle pumps
* ERD pump efficiency and outlet pressure
* OARO solvent and solute permeability coefficients, membrane structural parameter, channel height and spacer porosity of both feed-side and permeate-side
* RO solvent and solute permeability coefficients, feed-side channel height and spacer porosity, and permeate pressure

Flowsheet Specifications
------------------------

.. csv-table::
:header: "Description", "Units", "Value"

"**Primary pumps**"
"Pump efficiency", ":math:`\text{dimensionless}`", "0.75"
"**Recycle pumps**"
"Pump efficiency", ":math:`\text{dimensionless}`", "0.75"
"**ERDs**"
"Pump efficiency", ":math:`\text{dimensionless}`", "0.75"
"Outlet pressure", ":math:`\text{Pa}`", "101325"
"**OAROs***"
"Solvent permeability coefficient", ":math:`\text{m/Pa/s}`", "1E-12"
"Solute permeability coefficient", ":math:`\text{m/s}`", "8E-8"
"Membrane structural parameter", ":math:`\mu \text{m}`", "1200"
"Feed-channel height", ":math:`\text{m}`", "2E-3"
"Feed-side spacer porosity", ":math:`\text{dimensionless}`", "0.75"
"Permeate-channel height", ":math:`\text{m}`", "2E-3"
"Peremeate-side spacer porosity", ":math:`\text{dimensionless}`", "0.75"
"**RO***"
"Solvent permeability coefficient", ":math:`\text{m/Pa/s}`", "4.2E-12"
"Solute permeability coefficient", ":math:`\text{m/s}`", "3.5E-8"
"Feed-channel height", ":math:`\text{m}`", "2E-3"
"Feed-side spacer porosity", ":math:`\text{dimensionless}`", "0.75"
"Permeate pressure", ":math:`\text{Pa}`", "101325"

\*Settings for `OARO <https://watertap.readthedocs.io/en/latest/technical_reference/unit_models/osmotically_assisted_reverse_osmosis_0D.html>`_
and `RO <https://watertap.readthedocs.io/en/latest/technical_reference/unit_models/reverse_osmosis_0D.html>`_
can vary depending on the configurations.


Additional Variables
--------------------

.. csv-table::
:header: "Description", "Symbol", "Value", "Units"

"Maximum product concentration", ":math:`M_{out, max}`", "500", ":math:`\text{mg/L}`"

Additional Constraints
----------------------

There is an extra inequality constraint to ensure the product quality:

.. csv-table::
:header: "Description", "Equation"

"Product Quality", ":math:`M_{out, NaCl} \le M_{out, max}`"
Loading