pystra.system.System#

class System(children, name=None)[source]#

Bases: object

Base class for composed structural system limit states.

Methods

as_limit_state

Return the composed system as a Pystra LimitState.

component_failure_masks

Return failure masks for each leaf component.

component_values

Evaluate all leaf component limit states.

evaluate

Evaluate the equivalent scalar system limit state.

failure_mask

Return a boolean mask where the system is failed.

getLimitState

Return the composed system as a Pystra LimitState.

iter_components

Yield all leaf components in the system.

property components#

Flat tuple of all leaf components in the system.

iter_components()[source]#

Yield all leaf components in the system.

evaluate(**kwargs)[source]#

Evaluate the equivalent scalar system limit state.

as_limit_state()[source]#

Return the composed system as a Pystra LimitState.

getLimitState()[source]#

Return the composed system as a Pystra LimitState.

This legacy-style alias mirrors the existing Pystra getter naming.

component_values(**kwargs)[source]#

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.

component_failure_masks(**kwargs)[source]#

Return failure masks for each leaf component.

failure_mask(**kwargs)[source]#

Return a boolean mask where the system is failed.