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

timeinput · Scalar · default t

Time

Outputs

variableoutput · SR2 · required

Integrated variable

Other options

ratestr

Override name for the variable rate.