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

OARO 1D documentation #1261

Merged
merged 69 commits into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 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
0a1bbf7
add oaro 1d documentation
luohezhiming Dec 30, 2023
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
1 change: 1 addition & 0 deletions docs/technical_reference/unit_models/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Unit Models
uv_aop
gac
osmotically_assisted_reverse_osmosis_0D
osmotically_assisted_reverse_osmosis_1D
anaerobic_digestor
ion_exchange_0D
membrane_distillation_0D
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,26 @@ This osmotically assisted reverse osmosis (OARO) unit model

Degrees of Freedom
------------------
Aside from the inlet feed state variables (i.e. temperature, pressure, component flowrates), the OARO model has
at least 5 degrees of freedom that should be fixed for the unit to be fully specified. Unlike RO, which only
Aside from the feed-side and permeate-side inlet state variables (i.e. temperature, pressure, component flowrates), the OARO model has
at least 4 degrees of freedom that should be fixed for the unit to be fully specified. Unlike RO, which only
accounts for concentration polarization on the feed side, the OARO model includes a structural parameter
variable, which is used to calculate the membrane-interface concentration on the permeate side.


Typically, the following variables are fixed for the OARO model, in addition to state variables at the inlet:
* membrane water permeability, A
* membrane salt permeability, B
* permeate pressure
* membrane area
* structural parameter

On the other hand, configuring the OARO unit to calculate concentration polarization effects, mass transfer
coefficient, and pressure drop would result in 6 additional degrees of freedom. In this case, in addition to the
previously fixed variables, we typically fix the following variables to fully specify the unit:

* feed-spacer porosity
* feed-channel height
* feed-velocity
* permeate-space porosity
* permeate-channel height
* membrane length *or* membrane width *or* inlet Reynolds number
* feed-side spacer porosity
* feed-side channel height
* permeate-side space porosity
* permeate-side channel height
* feed-side Reynolds number *or* water mass recovery

Model Structure
------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
Osmotically Assisted Reverse Osmosis (1D)
=========================================
This osmotically assisted reverse osmosis (OARO) unit model
* is 1-dimensional
* supports a single liquid phase only
* supports steady-state only
* is based on the solution-diffusion model and film theory
* assumes isothermal conditions
* assumes the feed-side flows in the forward direction
* assumes the permeate-side flows in the backwards direction

.. index::
pair: watertap.unit_models.osmotically_assisted_reverse_osmosis_1D;osomtically_assisted_reverse_osmosis_1D

.. currentmodule:: watertap.unit_models.osmotically_assisted_reverse_osmosis_1D

Degrees of Freedom
------------------
Aside from the feed-side and permeate-side inlet state variables (i.e. temperature, pressure, component flowrates), the OARO model has
at least 4 degrees of freedom that should be fixed for the unit to be fully specified. Unlike RO, which only
accounts for concentration polarization on the feed side, the OARO model includes a structural parameter
variable, which is used to calculate the membrane-interface concentration on the permeate side.

Typically, the following variables are fixed for the OARO model, in addition to state variables at the inlet:
* membrane water permeability, A
* membrane salt permeability, B
* membrane area
* structural parameter

On the other hand, configuring the OARO unit to calculate concentration polarization effects, mass transfer
coefficient, and pressure drop would result in 6 additional degrees of freedom. In this case, in addition to the
previously fixed variables, we typically fix the following variables to fully specify the unit:

* feed-side spacer porosity
* feed-side channel height
* permeate-side space porosity
* permeate-side channel height
* feed-side Reynolds number *or* water mass recovery

Model Structure
------------------
This OARO model consists of a separate MembraneChannel1DBlock for the feed-side and the permeate-side of the OARO unit.

* The feed-side includes StateBlocks indexed by time and space (feed_side.properties[t, x]) which are used for mass, energy, and momentum balances, and additional StateBlocks for the conditions at the membrane interface (feed_side.properties_interface[t, x]).
* The permeate-side includes StateBlocks indexed by time and space (permeate-side.properties[t, x]) which are used for mass, energy, and momentum balances, and additional StateBlocks for the conditions at the membrane interface (permeate-side.properties_interface[t, x]).

Sets
----
.. csv-table::
:header: "Description", "Symbol", "Indices"

"Time", ":math:`t`", "[0]"
"Inlet/outlet", ":math:`x`", "['in', 'out']"
"Phases", ":math:`p`", "['Liq']"
"Components", ":math:`j`", "['H2O', 'NaCl']*"

\*Solute depends on the imported property model; example shown here is for the NaCl property model.

.. _1doaro_variables:

Variables
----------

Refer to the :any:`0doaro_variables` section in the 0D OARO model.

.. _1doaro_equations:

Equations
-----------

Refer to the :any:`0doaro_equations` section in the 0D OARO model.

Class Documentation
-------------------

* :mod:`watertap.unit_models.osmotically_assisted_reverse_osmosis_1D`
Loading