Creates a daily sequence for one year from parameters

plant_coupmodel(
  minval_before_incr,
  minval_after_decr = minval_before_incr,
  maxval,
  doy.incr,
  doy.max,
  doy.min,
  shape.incr,
  shape.decr,
  maxdoy
)

Arguments

minval_before_incr

Minimum value used for the time period before doy.incr.

minval_after_decr

Minimum value used for time period after doy.decr.

maxval

Maximum value.

doy.incr

Day of year when increasing from minval_before_incr to maxval begins.

doy.max

Day of year when maxval is reached.

doy.min

Day of year when minval_after_decr is reached.

shape.incr

Shape parameter of the increasing phase.

shape.decr

Shape parameter of the decreasing phase.

maxdoy

Length of the year, 366 for leap years, 365 for normal years.

Value

A numeric vector of length maxdoy.

References

Jansson, P.-E. & Karlberg, L. (2004): "Coupled heat and mass transfer model for soil-plant-atmosphere systems." Royal Institute of Technolgy, Dept of Civil and Environmental Engineering Stockholm

Examples

plot(plant_coupmodel(0,0.2,5,121, 200, 280, 0.3, 3, 365))