pystra.distributions.distribution.Constant#
Use it: User guide · Worked example · Theory
- class Constant(name, value)[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).value (
float) – The fixed value.
Methods
Return the constant name.
- property value: float#
The fixed value.