ruspy.model_code.cost_functions.hyperbolic_costs_dev

ruspy.model_code.cost_functions.hyperbolic_costs_dev(num_states, scale)[source]

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

Parameters
num_statespython:int

The size of the state space.

scalenumpy.float

see Scale

Returns
devnumpy.ndarray

A num_states sized one dimensional numpy array containing the derivative of the hyperbolic maintenance cost function for each state.