NREL / WaterTAP3

BSD 3-Clause "New" or "Revised" License
10 stars 8 forks source link

WT3 model updates Feb 2022 (see PR description) #250

Closed kurbansitterley closed 2 years ago

kurbansitterley commented 2 years ago

Remove: • excel_cleaning.pymixer_mar5.pyoptimize_setup.py

Clean up: • source_wt3.pymodule_import.pywatertap.py

Move files: • sensitivity functions into sensitivity_runs.py

For BinarySplitter: • initial version of splitter_binary.py • change some Var() params for wt_unit.py (bounds, domain, delta_P for some Var()s) • changes to case_study_trains.py to enable usage • add option/ability to use GDPopt as solver

Model improvements/updates: • improve ion_exchange.py • change water_recovery fraction for flocculator • fix units for electricity flow in lime_addition.py • give option for setting water_recovery in sedimentation.py • fix costing in static_mixer.py • error handling if lift_height not in unit_params for well_field.py

Data: • change feed water info for OCWD and big spring to help scaling issues in solve • add default removals for copper and ammonium • change Chem_index for 1990-1996 to reflect publicly available data

WT3 Solve: • add parameter to change solver tolerance in run_watertap3() • add option to use GDPopt as solver

watertap.py: • changes to enable BinarySplitter • changes to facilitate model run with ion_exchange.py • change some print statements