pystra.system.ParallelSystem#
- class ParallelSystem(children, name=None)[source]#
Bases:
SystemA system that fails when all child components or subsystems fail.
The equivalent limit-state function is the maximum 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.
- component_failure_masks(**kwargs)#
Return failure masks for each leaf component.
- component_values(**kwargs)#
Evaluate all leaf component limit states.
- Returns:
Mapping component names to their evaluated limit-state values.
- Return type:
dict
- Raises:
ValueError – If duplicate component names would make the mapping ambiguous.
- property components#
Flat tuple of all leaf components in the system.
- evaluate(**kwargs)#
Evaluate the equivalent scalar system limit state.
- failure_mask(**kwargs)#
Return a boolean mask where the system is failed.
- getLimitState()#
Return the composed system as a Pystra
LimitState.This legacy-style alias mirrors the existing Pystra getter naming.
- iter_components()#
Yield all leaf components in the system.