pystra.systems.System#
Use it: User guide · Worked example · Theory
- class System(children, name=None)[source]#
Bases:
objectBase class for composed structural system limit states.
Methods
Return the composed system as a PySTRA
LimitState.Return failure masks for each leaf component.
Evaluate all leaf component limit states.
Evaluate the equivalent scalar system limit state.
Return a boolean mask where the system is failed.
Return the composed system as a PySTRA
LimitState.Yield all leaf components in the system.
- iter_components()[source]#
Yield all leaf components in the system.
- Return type:
Iterator[Component]
- evaluate(**kwargs)[source]#
Evaluate the equivalent scalar system limit state.
- Return type:
float|ndarray
- get_limit_state()[source]#
Return the composed system as a PySTRA
LimitState.This legacy-style alias mirrors the existing PySTRA getter naming.
- Return type:
- component_values(**kwargs)[source]#
Evaluate all leaf component limit states.
- Returns:
Mapping component names to their evaluated limit-state values.
- Return type:
dict[str,ndarray]- Raises:
ValueError – If duplicate component names would make the mapping ambiguous.