internalinactive

Overview

Represents an internal mechanism providing inactive gain calculations.

This class processes weather data to produce inactive internal gain outputs. It fetches the required input data and computes the results as a DataFrame containing internal gain values initialized to zeros. The class is an extension of the AuxiliaryMethod class.

Key facts

  • Method key: InternalInactive

Requirements

Required keys (specify in objects)

  • None

Optional keys (specify in objects)

  • None

Required data (specify in data)

  • weather

Optional data (specify in data)

  • None

Outputs

Summary metrics

  • None

Timeseries columns

  • None

Public methods

  • get_input_data

    def get_input_data(self, obj, data):
      return {O.WEATHER: data[O.WEATHER]}
    
  • run

    def run(self, weather):
      return pd.DataFrame({O.GAINS_INTERNAL: np.zeros(len(weather), dtype=np.float32)}, index=weather.index)