backshift: Shift demand to the past

Description Usage Arguments Value Examples

View source: R/backshift.R

Description

Shift demand to the past

Usage

1
backshift(input_vct, horizon, storage = list(), fit = ~1 * .demand)

Arguments

input_vct

raw consumption

horizon

how much do you look back

storage

list of R6 class storage

fit

formula to calulate the fit of the flexible demand

Value

object

demand fixed

First item

demand flex

Second item

fit curve initial

Second item

fit curve final

Second item

Examples

1
1+1

cvmartin/eflows documentation built on Dec. 1, 2020, 1:30 p.m.