Replies: 1 comment
-
Hi, @AARON683. Thanks for posting this issue. Regarding the value of -680 for charge density, this hypothetical value is admittedly higher in magnitude than what is directly observed in the literature. The value originated from a preliminary estimation that was made for an internal analysis that our team was experimenting with; the estimated value was calculated using relationships that accounted for pH, ionic strength, and zeta potential (Ortiz-Albo et al. 2019 and Diop et al., 2011). Nevertheless, to avoid confusion in the future, we plan to update the NF example and change the charge density value to something closer to what is directly citable in the literature (e.g., -50). Additionally, you can find other examples in our test file for the NF DSPMDE unit here that include more nominal values for charge density and which may be of interest to you. With regard to changing the charge density in the existing example(s) provided in the code and the UI, there are several reasons why the solve could've failed. After looking at the example and trying out a charge density of -50, one of the more immediate factors that need to be considered is the constraint on maximum hardness of the permeate. We had set the maximum hardness of the permeate to 200 ( We are considering revisions to this example to facilitate exploration of the model. Moreover, the DSPM-DE model is one of our more complex models, and we do have model enhancements planned for the near future. Lastly, it would also be useful to know what operating system and version of Python you are using in your environment. Please let us know how it goes and if you have any other questions or feedback! |
Beta Was this translation helpful? Give feedback.
-
watertap/watertap/examples/flowsheets/nf_dspmde/nf.py
Line 259 in b043b50
Is there a reference for the NF270 properties used in this example. From literature, the values for pore radius, effective membrane thickness and the dielectric constant seem reasonable, however, the value for the charge density seems to be quite large. Typically in literature the charge density has a magnitude of -10 to -100 mol/m3 and this is replicated in the coding of the NF DSPM-DE 0D Block in which it is intialized at -50 mol/m3. However when I try to decrease the charge density from -680 mol/m3 (which is used in the example) to 50 mol/m3, the MCAS property package fails to solve. Is there a reason for this?
I also attempted to run the UI model with a charge density of -50 mol/m3 and this also failed.
Any tips on this issue would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions