ruspy.model_code.cost_functions

Functions

calc_obs_costs(num_states, maint_func, ...)

Calculating the observed costs of maintenance and replacement for each state.

cubic_costs(num_states, params, scale)

Calculating for each state the observed costs of maintenance in the case of a cubic cost function.

cubic_costs_dev(num_states, scale)

Calculating for each state the derivative of the cubic maintenance cost function.

hyperbolic_costs(num_states, params, scale)

Calculating for each state the observed costs of maintenance in the case of a hyperbolic cost function.

hyperbolic_costs_dev(num_states, scale)

Calculating for each state the derivative of the hyperbolic maintenance cost function.

lin_cost(num_states, params, scale)

Calculating for each state the observed costs of maintenance in the case of a linear cost function.

lin_cost_dev(num_states, scale)

Calculating for each state the derivative of the linear maintenance cost function.

quadratic_costs(num_states, params, scale)

Calculating for each state the observed costs of maintenance in the case of a quadratic cost function.

quadratic_costs_dev(num_states, scale)

Calculating for each state the derivative of the quadratic maintenance cost function.

sqrt_costs(num_states, params, scale)

Calculating for each state the observed costs of maintenance in the case of a square root cost function.

sqrt_costs_dev(num_states, scale)

Calculating for each state the derivative of the square root maintenance cost function.