ruspy.model_code.cost_functions.cubic_costs_dev¶
-
ruspy.model_code.cost_functions.
cubic_costs_dev
(num_states, scale)[source]¶ Calculating for each state the derivative of the cubic maintenance cost function.
- Parameters
- num_states
python:int
The size of the state space.
- scale
numpy.float
see Scale
- num_states
- Returns
- dev
numpy.array
A num_states x 3 dimensional numpy array containing the derivative of the cubic maintenance cost function for each state.
- dev