pystra.ddo.DDO#
- class DDO(*, study, criterion, objective=None)[source]#
Bases:
objectEvaluate a decision context with an objective and acceptability criterion.
Methods
Return the feasible row with the largest objective value.
Return a dataframe with reliability, cost, and decision columns.
Return evaluated alternatives satisfying the criterion.
Return the results from the most recent
run()call.Create a DDO study using the LQI criterion.
Return the row with the largest objective value before feasibility.
Return the best feasible design alternative.
Plot results from the most recent run.
Evaluate the DDO study.
- classmethod lqi(study, *, objective=None, criterion=None, country=None, indexed=None, swtp=None, expected_fatalities_given_failure=None, marginal_safety_cost=None, variability=None, consequence=None)[source]#
Create a DDO study using the LQI criterion.
- Return type:
- evaluate()[source]#
Return a dataframe with reliability, cost, and decision columns.
- Return type:
DataFrame
- run()[source]#
Evaluate the DDO study.
runis provided as a convenience for users familiar with Pystra’s analysis objects. It returns the same dataframe asevaluate().- Return type:
DataFrame
- maximize_unconstrained_objective()[source]#
Return the row with the largest objective value before feasibility.
- Return type:
Series
- feasible_results()[source]#
Return evaluated alternatives satisfying the criterion.
- Return type:
DataFrame