SR2ForwardEulerTimeIntegration#

Source: models/common/ForwardEulerTimeIntegration.py

Perform forward Euler time integration defined as \(s = s_n + (t - t_n) \dot{s}\), where \(s\) is the variable being integrated, \(\dot{s}\) is the variable rate, and \(t\) is time. Subscripts \(n\) denote quantities from the previous time step.

Inputs#

time — input · Scalar · default t

Time

Outputs#

variable — output · SR2 · required

Integrated variable

Other options#

rate — str

Override name for the variable rate.

old_variable — str

Override name for the variable’s previous-step value. Defaults to <variable>~1; set it to integrate a provisional quantity forward from some other variable’s previous value.