get_energy_balance: Get energy balance time-series

View source: R/energy.R

get_energy_balanceR Documentation

Get energy balance time-series

Description

Input data frame must have columns consumption, production. Output data frame has extra columns balance, local, imported, exported. Column balance is positive when there is more production than consumption.

Usage

get_energy_balance(df)

Arguments

df

data.frame or tibble, with columns datetime, consumption, production

Value

tibble or data.frame


mcanigueral/dutils documentation built on Jan. 25, 2024, 3:34 p.m.