Implement H2O balance checking

Open
#310 4 comments 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 2 days

@ANAMASGARD is already working on this.

Since Jun 3, 2026.

  • #343 by @ANAMASGARD — open

Assessment

This issue has not been assessed yet.

Description

PR #248 implemented carbon and nitrogen mass-balance checking.

This issue tracks implementing analogous H2O mass-balance checking.

For consistency with the current balance framework, this should compare the timestep change in tracked water stocks against modeled external water inputs and outputs.

Formulation:

delta(total tracked water) = external inputs - external outputs

where tracked water may include soilWater, snow, and any other explicit water pools (for example leaf water, if enabled), and external fluxes may include precipitation/rainfall, irrigation, transpiration, evaporation, immediate evaporation of intercepted water, sublimation, drainage, and fast flow as appropriate to the current implementation.

Dominant language
C
Stars
42
Forks
38
Avg merge
3d 21h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PecanProject/sipnet

All issues in PecanProject/sipnet

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.