pastas.model.Model.add_constant#

pastas.model.Model.add_constant(constant: pastas.stressmodels.Constant) None#

Add a constant to the model (Deprecated).

Deprecated since version 2.4.0: Use ps.Constant(model=ml, ...) to add a constant directly without calling this method.