filter_available_cycles: Select only viable charging times

Description Usage Arguments Details Value See Also

View source: R/filter_available_cycles.R

Description

A constraints data frame describes the physical limits of a charging process.

Usage

1

Arguments

constraints

a data frame with columns for cumulative minimum, cummin, cumulative maximum cummax, a direct maximum charge dirmax. The order of the rows is assumed to be strictly chronological without time lapses.

The order of the data frame is assumed to represent the time hierarchy.

Details

The function selects the rows until cummin column first contains a value greater than zero (this row is also selected). Out of this selection only the rows with a cummax and a dirmax value greater than zero are selected.

Value

the original data with filtered rows.

See Also

build_constraints


henobe/flexoptr documentation built on March 11, 2021, 6:04 p.m.