a1: parameter a_1 of the polynomial

Description Usage Arguments Value Author(s) Examples

Description

analytical solution for the parameter a_1 of the polynomial

Usage

1
a1(t, qs, q1, q2, q3)

Arguments

qs

last disaggregated discharge of the day before

q1

daily mean discharge of the current day

q2

daily mean discharge of the next day

q3

daily mean discharge of the day after the next day

Value

Q_i(t)

Author(s)

Svenja Fischer

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (t, qs, q1, q2, q3)
{
    a1t <- -1/36 * ((72 * t^2 + 144 * t + 42) * qs + 4 * q3 +
        t * (-12 * q3 + 96 * q2 - 228 * q1) + t^2 * (-24 * q3 +
        84 * q2 - 132 * q1) - 23 * q2 - 23 * q1)
    return(a1t)
  }

SvenjaFischer/Disagg documentation built on May 14, 2019, 10:37 a.m.