Skip to content

Simplified Photosynthesis and Evapotranspiration Model: process-based ecosystem model for simulating carbon and water fluxes.

License

Notifications You must be signed in to change notification settings

PecanProject/sipnet

SIPNET

SIPNET (Simplified Photosynthesis and Evapotranspiration Model) is an ecosystem model designed to efficiently simulate carbon and water dynamics. Originally developed for assimilation of eddy covariance flux data in forest ecosystems, current development is focused on representing carbon balance and GHG fluxes and agricultural management practices.

DOI

Getting Started

Requirements

  • gcc or clang
  • make

Quick Start

  1. Clone the repository:
    git clone https://github.com/PecanProject/sipnet.git
    cd sipnet
  2. Build the SIPNET executable:
     make
  3. Change directory and run a test simulation:
    cd tests/smoke/niwot
    ../../../sipnet -i sipnet.in
  4. Check the output:
    cat niwot.out

Run Tests

  • Unit tests:
    make unit
    # or: make testbuild && ./tools/run_unit_tests.sh
  • Smoke tests:
    make smoke
    # or: ./tests/smoke/run_smoke.sh
  • Full tests (build + unit + smoke):
    make test
  • Clean up test artifacts:
    make testclean

## Documentation

Documentation for SIPNET is published at [pecanproject.github.io/sipnet](https://pecanproject.github.io/sipnet/), which is built using `mkdocs`. 
See the [Documentation section](CONTRIBUTING.md#documentation) in the CONTRIBUTING page for more information
about how to write and compile the documentation.

Key pages:

- [Model inputs](user-guide/model-inputs.md): Input files and configuration.
- [Model outputs](user-guide/model-outputs.md): Output files and structure.
- [Parameters](parameters.md): Model parameters and settings.
- [Model structure](developer-guide/model-structure.md): Overview of code organization.

## Contributing

See the main [Contributing](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md) pages for details on how to contribute to SIPNET.

## License

Distributed under the BSD 3-Clause license. See [LICENSE](../LICENSE) for more information.