pastas.model.Model.add_stressmodel ================================== .. py:method:: pastas.model.Model.add_stressmodel(stressmodel: pastas.typing.StressModel | list[pastas.typing.StressModel], replace: bool = True) Add a stressmodel to the model (Deprecated). .. deprecated:: 2.4.0 Use ``ps.StressModel(model=ml, ...)`` to add a stressmodel directly without calling this method. .. !! processed by numpydoc !!