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