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

[com4FlowPy] Implement "Back-Tracking"/"Back-Calculation" feature more efficiently #1076

Open
2 tasks
ahuber-bfw opened this issue Jan 23, 2025 · 0 comments
Open
2 tasks
Assignees
Labels
enhancement New feature or request flowPyDev Ideas for future development

Comments

@ahuber-bfw
Copy link
Contributor

ahuber-bfw commented Jan 23, 2025

The "back-calculation" or "back-tracking" function in com4FlowPy, which is also described in D'Amboise et al. (2022) --> https://gmd.copernicus.org/articles/15/2423/2022/ and discussed in D'Amboise et al. (2021) --> https://www.intechopen.com/chapters/78979 is currently implemented in flowCore.py.

This is a super cool/important feature, but currently suffers from inefficient code-implementation (Runtimes with provided infrastructure-layer / "back-tracking" enabled take a lot longer, than model runs without this feature.

  • think about a smarter/more efficient way to implement the "back-tracking" feature in flowCore.py
  • Desirable would be to have model runtimes with "back-calculation"/"infrastructure" max. twice as long as model runtimes without the feature (now runtimes with back-tracking are heavily dependend on the number of infrastructure cells, that get "hit"/affected by modeled processes and in test-runs it is not uncommon, that model runs with back-tracking feature enabled are taking 15x as long to process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flowPyDev Ideas for future development
Projects
None yet
Development

No branches or pull requests

2 participants