getSolution: Calculates all stocks all fluxes to ,in and out of the...

getSolutionR Documentation

Calculates all stocks all fluxes to ,in and out of the compartment system and also their integrals over time

Description

Have a look at the methods for details.

Usage

getSolution(object, params, as.closures = F)

Arguments

object

A modelrun as produced by the constructors: Model, Model_by_PoolNames, Model_14 the function GeneralModel or the functions listed in predefinedModels.
A model represents the initial value problem (IVP) for the contents of the pool consisting of

  • The initial values of the pool content

  • The system of ordinary differential equations, as dictated by the fluxes

  • The times for which the solution of the IVP is evaluated.

params

parameter values

as.closures

a logical variable. Default to FALSE

Value

A matrix with columns representing the name of the statevariable, flux and accumulated flux for every time

as specified by the times of the model.


SoilR documentation built on Oct. 13, 2023, 5:06 p.m.