watertap.flowsheets.RO_with_energy_recovery package
Submodules
watertap.flowsheets.RO_with_energy_recovery.RO_with_energy_recovery module
- class watertap.flowsheets.RO_with_energy_recovery.RO_with_energy_recovery.ERDtype(value)[source]
Bases:
StrEnum
An enumeration.
- watertap.flowsheets.RO_with_energy_recovery.RO_with_energy_recovery.calculate_operating_pressure(feed_state_block=None, over_pressure=0.15, water_recovery=0.5, NaCl_passage=0.01, solver=None)[source]
Estimate operating pressure for RO unit model given the following arguments:
- Parameters:
feed_state_block – the state block of the RO feed that has the non-pressure state variables initialized to their values (default=None)
over_pressure – the amount of operating pressure above the brine osmotic pressure represented as a fraction (default=0.15)
water_recovery – the mass-based fraction of inlet H2O that becomes permeate (default=0.5)
NaCl_passage – the mass-based fraction of inlet NaCl that becomes permeate (default=0.01)
solver – solver object to be used (default=None)