Transferable {cvasi} | R Documentation |
Biomass transfer class
Description
By inheriting from class Transferable
, a scenario's behavior can be
extended to support transfer and reset of biomass at dedicated points during
simulation.
Slots
transfer.times
numeric
, vector of time points at which transfers occur, e.g.c(7,10,14)
transfer.interval
numeric
, interval length until frond transfer to new mediumtransfer.biomass
numeric
, amount of biomass transferred to new mediumtransfer.comp.biomass
character
state variable which describes biomasstransfer.comp.scaled
character
vector of state variable which will be scaled 1:1 when biomass is modified, e.g. internal toxicant mass
Biomass transfer
Models supporting biomass transfer can be instructed to move a fixed amount of biomass to a new medium after a period of time. This feature replicates a procedure occurring in e.g. Lemna effect studies and may be necessary to recreate study results.
The biomass transfer feature assumes that always a fixed amount of
biomass is transferred. Transfers can occur at any fixed point in time or
in regular intervals. During a transfer, the biomass is reset to the
transferred amount and additional compartments can be scaled 1:1 accordingly,
to e.g. reflect the change in internal toxicant mass when biomass is modified.
Transfer settings can be modified using set_transfer()
.
Any transfer time point must also be an output time point. If a transfer occurs, simulation results of that time point will report the model state before the transfer. Be aware that in order to use transfers at regular intervals, the simulation must start at time point zero.
See Also
Other scenarios:
Algae-models
,
DEB-models
,
GUTS-RED-models
,
Lemna-models
,
Macrophyte-models
,
Myriophyllum-models
,
Scenarios