Skip to content

Conversation

@debpal
Copy link
Collaborator

@debpal debpal commented Oct 22, 2025

This pull request includes:

  • Introduced Calibration class to enable model parameter calibration.
  • Added hru_stats_from_daily_simulation method in the DataManager class to compute monthly and yearly statistical summaries from daily time series data.
  • Renamed types.py to newtype.py to avoid conflicts with Python’s built-in types module, which caused import issues.
  • Moved repetitive functions into utils.py and validators.py to improve code reusability.
  • Added cpu.py module to support running simulations on a separate CPU. This method could not be placed in utils.py due to import dependencies with the TxtinoutReader class.
  • Removed API documentation for newtype.py, as detailed explanations are already provided in other relevant classes to prevent user confusion.
  • Updated and refined documentation for consistency and clarity.
  • Added pymoo dependency for multi-objective optimization support during model calibration.

@debpal debpal merged commit 64898f3 into swat-model:main Oct 22, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant