The sm4sd provides several methods to extract the pore water electrical conductivity based on data including Hilhorst model (deterministic model) and time-varying dynamic linear model approach.
Salt concentration of bulk is a strong indicator for world's agricultural productivity. One way to mesure it is through determining the pore water conductivity of soil, σp. According to Hilhorst, σp can be determined from the equation:
whereε : electrical permittivity,
σ : electrical conductivity,
p : pore water,
b : bulk soil.
The values εb and σb can be mesured in the bulk soil using a dielectric sensor; εp is a function of temperature; and εσb=0 appear as a offset of the linear relationship between εb and σb depending on soil type. In his work, he recommended using 4.1 as a generic offset.
Once the offset is fixed, this model is deterministic. The producer of capacitance soil moisture sensors 5TE recommends the use the an offset εσb=0 of 6 while another study found that this value is appropriate and does not present a good linear relationship between εb and σb Giving the randomness, Basem, Jose and Gerd described a statistical approach using the time-varying dynamic linear model (dlm). In this work, they considered the offset εσb=0 as an unknow parameter which is also estimaded by the model. The model can be formulated as follow:
is an 1-dimensional vector, representing the observation at time t, εb;
is an 2-dimensional uncorrelated vector, representing the state at time t, (x1, x2)t, and
is the offset εσb=0,
is related to the product of σb, εp;
, for our specific model, is 2-dimension vector (1, σb × εp)t;
are white noise random variable with their own covariance matrix.
The sm4sd contrains several classes:
RS
: raw signal class with 3 raw inputs, σb, εb and εp;
SM-class
: signal model class, it contains the RS
and it's virtual, it means you can't create directly an instance with this class;
SM.dlm
: dynamic linear model for raw signal, it contains SM-class
and the extra parameters for the model definition;
SM.dlm.fitted
: fitted dynamic linear model;
SM.HL
: Hilhorst model;
SM.rnn
: Recurrent Neural Network model for σb simulation.
For more details, check the class definitions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.