Description Usage Arguments Value See Also
View source: R/simulate_marketing.R
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.
1 2 3 4 5 6 7 8 | simulate_marketing(
parameters,
da_prices,
id_prices,
id_index_names,
blocked_per_day = NULL,
simplify = FALSE
)
|
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 |
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. |
A list of results for each of the three scenarios or a data frame with the respective revenues.
format_id_prices
, format_da_prices
,
optimise_schedule
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.