ruspy.model_code.cost_functions.hyperbolic_costs¶
-
ruspy.model_code.cost_functions.
hyperbolic_costs
(num_states, params, scale)[source]¶ Calculating for each state the observed costs of maintenance in the case of a hyperbolic cost function.
- Parameters
- num_states
python:int
The size of the state space.
- params
numpy.array
see Cost parameters
- scale
numpy.float
see Scale
- num_states
- Returns
- costs
numpy.array
A num_states sized one dimensional numpy array containing the maintenance costs for each state.
- costs