Skip to content

Merge LimnoTech RQUAL class approach, GENER, expanded testing to RESPEC develop#61

Merged
PaulDudaRESPEC merged 117 commits intorespec:developfrom
LimnoTech:develop
Oct 19, 2021
Merged

Merge LimnoTech RQUAL class approach, GENER, expanded testing to RESPEC develop#61
PaulDudaRESPEC merged 117 commits intorespec:developfrom
LimnoTech:develop

Conversation

@aufdenkampe
Copy link
Copy Markdown
Collaborator

@aufdenkampe aufdenkampe commented Oct 1, 2021

This PR initiates a dialog and testing phase for a large effort to develop and test detailed water quality modules from RQUAL (i.e. OXRX, NUTRX, PLANK, PHCARB) using a class-based approach, as described in this master issue:

... and including PRs:

This PR also includes implementation of the GENER module:

This PR also includes improved tested capabilities that expands to additional use cases, includes new RQUAL module code from #58, and substantially enhance performance. See:

We don't plan on merging this PR until we have satisfactorily tested the code with several different HSPF test cases.

cc: @tredder75, @ptomasula, @PaulDudaRESPEC

aufdenkampe and others added 30 commits May 13, 2021 13:28
also addresses #35 (git tracking Jupyter notebooks).
The new conda environment substantially improves over the previous version, with a more consolidated HDF5 version (1.10.6) and upgrading JupyterLab to v3.
Steps toward enhanced visualization in Jupyter Lab.
tredder75 and others added 20 commits October 4, 2021 13:23
Fix GENER opcode specification trims off last operation
This seems consistent with the previous testing, but needs to be addressed long term. Doesn't appear to be logic in HBN code to different IQUAL constituent (i.e. IQUAL_1, IQUAL_2). Using IQUAL1 as default for time being.
Pull in WQ update from Todd into testing branch
Restore automated testing support for Test10
…ute reaeration coeff

RQUAL.py -- more consistent handling of multiple exit outflows
RQUAL_Class.py -- implement output of OXRX flux terms
main.py -- use same conversion factor precision as HSPF to more precisely reproduce results
utilities.py -- enhance expand_timeseries_names to handle OXIF2 inflow from PQUAL/IQUAL, as done in test10
SaveTable.csv -- change blanks to underscores in OXRX time series names
regression_base.py -- small bug fix in special case for PWTGAS checking
RQUAL.py -- more consistent handling of multiple exit outflows
RQUAL_Class.py -- implement output of NUTRX internal flux terms, additional outputs
utilities.py -- change blanks to underscores in NUTRX time series names
HBNAliases.csv -- add aliases for NUTRX internal flux terms and additional outputs
SaveTable.csv -- change blanks to underscores in NUTRX time series names, additional outputs
regression_base.py -- special case for concentration values as reach volumes nears zero
PLANK_Class.py -- small fixes to pksums to be consistent with HSPF logic
RQUAL.py -- more consistent handling of multiple exit outflows
RQUAL_Class.py -- implement output of PLANK internal flux terms, additional outputs
utilities.py -- change blanks to underscores in PLANK time series names
HBNAliases.csv -- add aliases for PLANK internal flux terms and additional outputs
SaveTable.csv -- change blanks to underscores in PLANK time series names, additional outputs
regression_base.py -- special case for concentration values as reach volumes near zero
@PaulDudaRESPEC PaulDudaRESPEC merged commit 278ca99 into respec:develop Oct 19, 2021
Copy link
Copy Markdown
Member

@PaulDudaRESPEC PaulDudaRESPEC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested using Test10 with OXRX, NTRX, and PLANK. With a few minor tweaks, all looks good. I'll continue testing using RESPEC develop.

@aufdenkampe
Copy link
Copy Markdown
Collaborator Author

@PaulDudaRESPEC, thanks for the careful review!

We're excited to get all these new water quality capabilities into the next release!

PaulDudaRESPEC added a commit that referenced this pull request Mar 12, 2025
Merge LimnoTech RQUAL class approach, GENER, expanded testing to RESPEC `develop`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete OXRX, NUTRX, PLANK PHCARB modules w/ class-based code Implement GENER and related operations

4 participants