pastas.stressmodels.Constant#

class pastas.stressmodels.Constant(initial: float = 0.0, name: str = 'constant')#

A constant value that is added to the time series model.

Parameters:
  • initial (float, optional) – Initial estimate of the parameter value. For example, the minimum of the observed series.

  • name (str, optional) – Name of the stressmodel. Default is “constant”.

property stresses: tuple#

Return the stresses used by the stress model.

property nsplit: int#

Determine in how many time series the contribution can be split.

Methods#

set_init_parameters()

Set the initial parameters (back) to their default values.

simulate(→ float)

Simulate the stress model contribution.

to_dict(→ dict)

Export the stress model to a dictionary.