pystra.distributions.distribution.Constant#
- class Constant(name, val)[source]#
Bases:
objectA deterministic (non-random) variable in the limit state function.
Constants are included in the stochastic model but are not treated as random variables — they carry a fixed value through every evaluation of the limit state function.
- Parameters:
name (str) – Name of the constant (must match a keyword argument of the limit state function).
val (float) – The fixed value.
Methods