NonHomogeneousPoissonAgeReplacementPolicy#

class relife.policies.NonHomogeneousPoissonAgeReplacementPolicy(process, cr, cp, discounting_rate=0.0)[source]#

Age replacement policy for non-Homogeneous Poisson process.

Parameters:
nhppnon-homogeneous Poisson process

The underlying non homogeneous poisson process.

crfloat or 1darray

The cost of repair.

cpfloat or 1darray

The cost of failure.

discounting_ratefloat, default is 0.

The discounting rate value used in the exponential discounting function

Attributes:
cp
cr

Methods

asymptotic_expected_equivalent_annual_cost

asymptotic_expected_net_present_value

expected_equivalent_annual_cost

expected_net_present_value

get_cp

Costs of preventive replacements.

get_cr

Costs of minimal repair.

get_optimal_ar

Optimize the policy according to the costs, the discounting rate and the underlying lifetime model.

set_cp

set_cr

get_cp()[source]#

Costs of preventive replacements.

Returns:
np.ndarray
get_cr()[source]#

Costs of minimal repair.

Returns:
np.ndarray
get_optimal_ar()[source]#

Optimize the policy according to the costs, the discounting rate and the underlying lifetime model.

Returns:
arfloat or np.ndarray

Optimal ages of replacements.