pystra.ddo.CostBenefitModel#

class CostBenefitModel(benefit_rate, interest_rate, service_life, construction_cost, failure_cost)[source]#

Bases: DDOObjective

Cost-benefit objective for a reliability design study.

Methods

annualized_safety_cost

Return the JCSS annualized safety cost for a design point.

consequence

Return the failure consequence cost for a design value.

construction

Return the construction or safety cost for a design value.

evaluate

Return results with cost-benefit objective columns.

objective

Return the net present value objective for a design point.

present_value_factor

Return the present value factor for this model.

present_value_factor()[source]#

Return the present value factor for this model.

Return type:

float

construction(design)[source]#

Return the construction or safety cost for a design value.

Return type:

float

consequence(design)[source]#

Return the failure consequence cost for a design value.

Return type:

float

objective(design, failure_probability)[source]#

Return the net present value objective for a design point.

Return type:

float

annualized_safety_cost(design, failure_probability, replacement_cost=None)[source]#

Return the JCSS annualized safety cost for a design point.

Return type:

float

evaluate(results, design)[source]#

Return results with cost-benefit objective columns.

Return type:

DataFrame