parameters: (self, state: c_void_p, trend_handle: int, count: int)
return_statement: return self.api.getPluginTrendVariableSum(state, trend_handle, count)
docstring: Get the summation of a plugin trend variable over a specific history set.  The count argument specifies how
          many time steps to go back in the trend history.  A value of 1 indicates sweeping just the most recent value.
          The value of time_index must be less than or equal to the number of history terms specified in the matching
          PythonPlugin:TrendVariable object declaration in the input file.  This is only used for Python Plugin
          applications!
  
          Trend variables are used as a way to track history of a PythonPlugin:Variable over time.  First a trend variable
          must be declared in the input file using the PythonPlugin:TrendVariable object.  Once a variable has been
          declared there, it can be accessed in the Plugin by getting a handle to the variable using the get_trend_handle
          function, then using the other trend variable worker functions as needed.
  
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param trend_handle: An integer returned from the `get_trend_handle` function.
          :param count: The number of time steps to search back in history to evaluate this function.
          :return: Floating point value representation of the specific evaluation.
docstring_summary: Get the summation of a plugin trend variable over a specific history set.  The count argument specifies how
          many time steps to go back in the trend history.  A value of 1 indicates sweeping just the most recent value.
          The value of time_index must be less than or equal to the number of history terms specified in the matching
          PythonPlugin:TrendVariable object declaration in the input file.  This is only used for Python Plugin
          applications!
docstring_tokens: Get the summation of a plugin trend variable over a specific history set . The count argument specifies how many time steps to go back in the trend history . A value of 1 indicates sweeping just the most recent value . The value of time_index must be less than or equal to the number of history terms specified in the matching PythonPlugin : TrendVariable object declaration in the input file . This is only used for Python Plugin applications!
function: def get_trend_sum(self, state: c_void_p, trend_handle: int, count: int) -> float:
          """
          Get the summation of a plugin trend variable over a specific history set.  The count argument specifies how
          many time steps to go back in the trend history.  A value of 1 indicates sweeping just the most recent value.
          The value of time_index must be less than or equal to the number of history terms specified in the matching
          PythonPlugin:TrendVariable object declaration in the input file.  This is only used for Python Plugin
          applications!
  
          Trend variables are used as a way to track history of a PythonPlugin:Variable over time.  First a trend variable
          must be declared in the input file using the PythonPlugin:TrendVariable object.  Once a variable has been
          declared there, it can be accessed in the Plugin by getting a handle to the variable using the get_trend_handle
          function, then using the other trend variable worker functions as needed.
  
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param trend_handle: An integer returned from the `get_trend_handle` function.
          :param count: The number of time steps to search back in history to evaluate this function.
          :return: Floating point value representation of the specific evaluation.
          """
          if not self.running_as_python_plugin:
              raise EnergyPlusException("get_trend_sum is only available as part of a Python Plugin workflow")
          if not is_number(trend_handle):
              raise EnergyPlusException(
                  "`get_trend_sum` expects `trend_handle` as an `int`, not "
                  "'{}'".format(trend_handle))
          if not is_number(count):
              raise EnergyPlusException(
                  "`get_trend_sum` expects `count` as an `int`, not "
                  "'{}'".format(count))
          return self.api.getPluginTrendVariableSum(state, trend_handle, count)
function_tokens: def get_trend_sum ( self , state : c_void_p , trend_handle : int , count : int ) -> float : if not self . running_as_python_plugin : raise EnergyPlusException ( "get_trend_sum is only available as part of a Python Plugin workflow" ) if not is_number ( trend_handle ) : raise EnergyPlusException ( "`get_trend_sum` expects `trend_handle` as an `int`, not " "'{}'" . format ( trend_handle ) ) if not is_number ( count ) : raise EnergyPlusException ( "`get_trend_sum` expects `count` as an `int`, not " "'{}'" . format ( count ) ) return self . api . getPluginTrendVariableSum ( state , trend_handle , count )