pastas.model.Model.add_stressmodel#
- pastas.model.Model.add_stressmodel(stressmodel: pastas.typing.StressModel | list[pastas.typing.StressModel], replace: bool = True)#
Add a stressmodel to the model (Deprecated).
Deprecated since version 2.4.0: Use
ps.StressModel(model=ml, ...)to add a stressmodel directly without calling this method.