CADETProcess.dynamicEvents.Section#
- class CADETProcess.dynamicEvents.Section(coeffs)[source]#
Helper class to store parameter states between events.
- Attributes:
- startfloat
Start time of section
- endfloat
End time of section.
- coeffsint or float or array_like
Polynomial coefficients of state in order of increasing degree.
- n_entriesint
Number of entries (e.g. components, output_states)
- degreeint
Degree of polynomial to represent state.
Methods
__call__(t)Return value of parameter section at time t.
Verify if all required parameters are set.
coefficients([offset])Get coefficients at (time) offset.
derivative(t[, order])Return derivative of parameter section at time t.
integral([start, end])Return integral of function in interval [start, end].
value(t)Return value of parameter section at time t.
Notes
if coeffs is int: Set constant value for for all entries if coeffs is list: Set value per component (check length!) if coeffs is ndarray (or list of lists): set polynomial coefficients