R2ForwardEulerTimeIntegration#

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#

timeinput · Scalar · default t

Time

Outputs#

variableoutput · R2 · required

Integrated variable

Other options#

ratestr

Override name for the variable rate.

old_variablestr

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.