pystra.systems.SeriesSystem#
Use it: User guide · Worked example · Theory
- class SeriesSystem(children, name=None)[source]#
Bases:
SystemA system that fails when any child component or subsystem fails.
The equivalent limit-state function is the minimum child limit-state value.
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.
- as_limit_state()#
Return the composed system as a PySTRA
LimitState.- Return type:
- component_failure_masks(**kwargs)#
Return failure masks for each leaf component.
- Return type:
dict[str,bool|ndarray]
- component_values(**kwargs)#
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.
- evaluate(**kwargs)#
Evaluate the equivalent scalar system limit state.
- Return type:
float|ndarray
- failure_mask(**kwargs)#
Return a boolean mask where the system is failed.
- Return type:
bool|ndarray
- get_limit_state()#
Return the composed system as a PySTRA
LimitState.This legacy-style alias mirrors the existing PySTRA getter naming.
- Return type: