dailyPower: Integrates periodical power values

Description Usage Arguments Value Author(s)

View source: R/dailyPower.R

Description

Given a data.frame holding power values (W) measured of forecasted at date/time values in column value, the function integrates them into total values (kW). This is a function to be invoked on groups of hourly power data on a day level. Integration is performed by summing up area of trapezia formed by consecutive power values. Height of trapezia is given by the time lag between two power values, its bases are given by the two consecutive power values.

Usage

1
dailyPower(dayData)

Arguments

dayData

a data.frame holding time and ay least 1 pot column

Value

a summary data.frame of total power bound with columns from daydata whose name start with "year"

Author(s)

Marco Bascietto marco@bascietto.name


mbask/meteopv documentation built on May 21, 2019, 2:25 p.m.