Skip to content

Fix and standardize parameters.md — notation, tables, units, and row numbering#203

Merged
dlebauer merged 49 commits intoPecanProject:masterfrom
ayushman1210:fix/docs
Feb 23, 2026
Merged

Fix and standardize parameters.md — notation, tables, units, and row numbering#203
dlebauer merged 49 commits intoPecanProject:masterfrom
ayushman1210:fix/docs

Conversation

@ayushman1210
Copy link
Copy Markdown
Contributor

@ayushman1210 ayushman1210 commented Dec 10, 2025

##Summary:

  • Cleaned and standardized [parameters.md]
  • Fixed notation, LaTeX unit formatting, and inconsistent subscripts/superscripts.
  • Consolidated and renumbered run-time parameter tables (rows 1–79).
  • Added missing parameter symbols and parameter names; clarified definitions and notes.

##What I changed (high level):

  • Notation
  • Added/matched flux symbols (Rh, Ra, ET, T) and parameter symbol SLW.
  • Added superscript exception note and X_HC subscript definition.
  • Tables and formatting
  • Converted mixed/broken sections to consistent Markdown long tables.
  • Standardized use of \text{...} in LaTeX math and fixed malformed subscripts (e.g., K_{VPD,exp}, Q_{10,\text{soil}}).
  • Fixed units to LaTeX math format throughout.
  • Run-time parameters
  • Sequential Row column added and numbered 1..79 for all run-time parameters.
  • Assigned parameter configuration names (camelCase) where missing.
  • Consolidated autotrophic/heterotrophic respiration, photosynthesis, litter, allocation, nitrogen, methane, water, and tree physiology sections.
    -Minor
  • Clarified notes on units and internal conversions (e.g., year^-1 → per-day conversion).
  • Kept Hard-coded Values section unchanged except formatting consistency.

fixes #81

@ayushman1210
Copy link
Copy Markdown
Contributor Author

hi @dlebauer please let me know if anything else needed to update in this pr #203
thanks !!

@ayushman1210
Copy link
Copy Markdown
Contributor Author

hey @dlebauer please review this pr
thanks !!

@dlebauer dlebauer self-assigned this Jan 12, 2026
@mswilburn
Copy link
Copy Markdown
Contributor

Looking at this PR, it has a commit that splits maintenance respiration, so it modifies state.h and sipnet.c. Should those changes be included in this PR?

@ayushman1210
Copy link
Copy Markdown
Contributor Author

Hi @mswilburn
file state.h and sipnet.c
changes are necessary to fix the conflation of soil and microbial maintenance respiration in the documentation. Without these code clarifications, the documentation can't accurately reflect how respiration is currently handled.

Copy link
Copy Markdown
Member

@dlebauer dlebauer left a comment

Choose a reason for hiding this comment

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

@ayushman1210 - I've asked @mswilburn to review this PR, and it seems like she is wrapping up her review. I haven't done a complete review yet, but wanted to add a few notes and questions that came up during my initial pass. Thanks again for this effort!

Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Copy link
Copy Markdown
Contributor

@mswilburn mswilburn left a comment

Choose a reason for hiding this comment

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

Some changes requested. Additional comment - please review superscript notation in all parameter tables. Some are not resolving as superscripts such as Initial Nitrogen Content units in Initial State Values table. There are other places where this happening.

Comment thread src/sipnet/sipnet.c Outdated
Comment thread src/sipnet/sipnet.c Outdated
Comment thread src/sipnet/sipnet.c Outdated
Comment thread src/sipnet/state.h Outdated
Comment thread src/sipnet/state.h Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
dlebauer and others added 2 commits February 20, 2026 14:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
dlebauer and others added 4 commits February 20, 2026 16:12
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dlebauer
Copy link
Copy Markdown
Member

A few more updates; documented the leaf-water cap and fixed units (mm-->cm) in docs and source

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/parameters.md Outdated
Comment thread docs/parameters.md Outdated
ayushman1210 and others added 3 commits February 21, 2026 11:06
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ayushman1210
Copy link
Copy Markdown
Contributor Author

hi @dlebauer i have updated the parameter.md and model.md as per your suggestion
let me know anything else needed to update
thanks !!

Comment thread docs/model-structure.md Outdated
Comment thread docs/model-structure.md Outdated
Comment thread docs/parameters.md Outdated
| | $SLW$ | Specific Leaf Weight (leaf carbon per unit leaf area) |

### Subscripts (Temporal, Spatial, or Contextual Identifiers)
**Note on superscripts:** Most variables use superscripts for process context (e.g., $X^{\text{growth}}$ for growth respiration). However, certain fluxes follow established scientific conventions and are written without superscripts: carbon fluxes ($NPP$, $GPP$, $R_H$, $R_A$) and water fluxes ($ET$, $T$). These terms are widely used in the scientific literature as standard measurements and retain this notation even when combined with subscripts (e.g., $R_{H,\text{litter}}$).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Transpiration is now using flux notation, please remove $T$ as an example of water flux.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

done c6a7dc5

Comment thread docs/parameters.md Outdated
| Symbol | Parameter Name | Definition | Units | Notes |
| --------------------------- | --------------------- | --------------------------------------------------------------- | -------- | ------------------ |
| $\alpha_{\text{fine root}}$ | fineRootAllocation | Fraction of $NPP$ allocated to fine roots | unitless | |
| $\alpha_{\text{coarse root}}$ | | Fraction of $NPP$ allocated to coarse roots | unitless | Calculated internally from remainder: $\alpha_{\text{coarse root}} = 1 - \alpha_{\text{leaf}} - \alpha_{\text{wood}} - \alpha_{\text{fine root}}$ |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Named coarseRootAllocation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

fixed in c6a7dc5

@dlebauer dlebauer dismissed mswilburn’s stale review February 23, 2026 21:10

Mikki approved today; its not easy to find and resolve outstanding change requests but the changes have been implemented.

@dlebauer dlebauer merged commit b27a8fa into PecanProject:master Feb 23, 2026
12 checks passed
@dlebauer
Copy link
Copy Markdown
Member

That was a big effort and a huge improvement in our documentation. Thanks you @ayushman1210 and @mswilburn!

@mswilburn
Copy link
Copy Markdown
Contributor

Woohoo! It looks great!

@ayushman1210
Copy link
Copy Markdown
Contributor Author

Happy to contribute and excited to keep contributing more in the future !!
thank-u @mswilburn and @dlebauer for guidance

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.

Ensure documentation of parameters and model structure is consistent and complete.

5 participants