ScalarVariableRate¶
Source: models/common/VariableRate.py
Calculate the first order discrete time derivative of a variable as \(\dot{f} = \frac{f-f_n}{t-t_n}\), where \(f\) is the variable, \(f_n\) is the variable at the previous time step, and \(t\) is time.
Inputs¶
variable—input·Scalar· requiredThe variable being differentiated
time—input·Scalar· defaulttTime