simulate_marketing: Simulate different marketing scenarios for a set of...

Description Usage Arguments Value See Also

View source: R/simulate_marketing.R

Description

A single set of parameters, day ahead prices and intra day prices are used to construct the performance of marketing the parameters without storage on the day ahead market, with storage on the day ahead market, and with an intra day marketing on top of day ahead.

Usage

1
2
3
4
5
6
7
8
simulate_marketing(
  parameters,
  da_prices,
  id_prices,
  id_index_names,
  blocked_per_day = NULL,
  simplify = FALSE
)

Arguments

parameters

A named vector of parameters.

da_prices

A vector of day ahead prices, must be a multiple of 24.

id_prices

A data frame of intra day prices, different columns describe different indexes.

id_index_names

A vector of strings describing the order of columns for consecutive hours as encoded in the parameter id_prices.

blocked_per_day

An optional vector of 24 integers describing the power that is predetermined for certain hours and cannot be optimised.

simplify

Whether the output should be a simple data frame describing the revenues or a more complex list with the whole trade logs, schedule and state.

Value

A list of results for each of the three scenarios or a data frame with the respective revenues.

See Also

format_id_prices, format_da_prices, optimise_schedule


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