maxfnevals = 100, net = true)</code></pre><p>Solve the leaf energy balance coupled to photosynthesis and transpiration.</p><p><strong>Arguments</strong></p><ul><li><code>Ags</code>: Photosynthesis and stomatal conductance model</li><li><code>gb</code>: Boundary layer conductance model</li><li><code>opt</code>: Optical properties of the leaf</li><li><code>PAR</code>: Photosynthetically active radiation (umol/m2/s)</li><li><code>NIR</code>: Near-infrared radiation (W/m2)</li><li><code>ws</code>: Wind speed (m/s)</li><li><code>RH</code>: Relative humidity</li><li><code>Tair</code>: Air temperature (K)</li><li><code>Ca</code>: Atmospheric CO2 concentration (μmol/mol)</li><li><code>P</code>: Air pressure (Pa)</li><li><code>O2</code>: Atmospheric O2 concentration (μmol/mol)</li><li><code>order</code>: Order of the root solving algorithm that finds leaf temperature (see Roots.jl package for more information).</li><li><code>xatol</code>: Absolute tolerance of the root solving algorithm (see Roots.jl package for more information),</li><li><code>maxfnevals</code>: Maximum number of function evaluations of the root solving algorithm (see Roots.jl package for more information).</li><li><code>net</code>: Whether to return net or gross CO2 assimilation.</li></ul><p><strong>Details</strong></p><p>Inputs maybe be either <code>Real</code> or <code>Quantity</code> types from Unitful.jl (i.e., with physical units). If <code>Quantity</code> types are used, the output will be a <code>Quantity</code> type.</p><p><strong>Returns</strong></p><p>A named tuple with net CO2 assimilation (<code>An</code>, μmol/m^2/s), gross CO2 assimilation (<code>Ag</code>, μmol/m^2/s), transpiration (<code>Tr</code>, mol/m^2/s) and leaf temperature (<code>Tleaf</code>, K).</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/VirtualPlantLab/Ecophys.jl/blob/v0.1.1/src/Photosynthesis/EnergyBalance/EnergyBalance.jl#L92-L137">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Ecophys.Photosynthesis.transpiration-Tuple{}" href="#Ecophys.Photosynthesis.transpiration-Tuple{}"><code>Ecophys.Photosynthesis.transpiration</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">transpiration(;gsw = 0.1, gbw = 1.0, Tleaf = 300.0, Tair = 298.0, P = 101e3,
0 commit comments