ruspy.model_code.cost_functions.calc_obs_costs¶
-
ruspy.model_code.cost_functions.calc_obs_costs(num_states, maint_func, params, scale)[source]¶ Calculating the observed costs of maintenance and replacement for each state.
- Parameters
- num_states
python:int The size of the state space.
- maint_func
python:callable() - params
numpy.array see Cost parameters
- scale
numpy.float see Scale
- num_states
- Returns
- obs_costs
numpy.array see Observed costs
- obs_costs