osier.RampingTechnology.power_output#

RampingTechnology.power_output(demand, time_delta=unyt_quantity(1, 'hr'))[source]#

Raise or lower the power level to meet demand. Returns current power level and appends to power history. Checks if the power level can be achieved given the technology’s ramp rate.

Parameters:
  • demand (unyt.unyt_quantity) – The demand at a particular timestep. Must be a unyt.unyt_quantity to avoid ambiguity.

  • time_delta (unyt.unyt_quantity) – The difference between two timesteps. Default is one hour.

Returns:

power_level – The current power level of the technology.

Return type:

unyt.unyt_quantity