get_lpf_smoothing_time_scale: Obtain alpha value for low pass filter

get_lpf_smoothing_time_scaleR Documentation

Obtain alpha value for low pass filter

Description

Physical transformation of the smoothing time scale parameter to consider no affectance to the output variable after a known number of hours

Usage

get_lpf_smoothing_time_scale(data, timeConstantInHours)

Arguments

data

<data.frame> to filter

timeConstantInHours

<float> defining the number of hours that the a system is affected by a certain change in the input time series (data argument). For instance, when there's a need to model the affectance of the outdoor temperature to a building, this time constant in hours correspond to the thermal inertia of the building.

Value

<float> of the smoothing time scale parameter. It corresponds to the so-called alpha parameter of low pass filter. It ranges from 0 to 1.


biggproject/biggr documentation built on Oct. 2, 2024, 11:13 p.m.