View source: R/specify_elect_heat.R
specify_other_elec_heat_production | R Documentation |
This function specifies electricity and heat production flows (i.e. positive flows in the transformation processes
flow aggregation point) that are not yet specified by calling the energy product
respectively "Electricity [
from Other processes]
and "Heat [
from Other processes]
.
specify_other_elec_heat_production(
.tidy_iea_df,
flow_aggregation_point = IEATools::iea_cols$flow_aggregation_point,
flow = IEATools::iea_cols$flow,
e_dot = IEATools::iea_cols$e_dot,
product = IEATools::iea_cols$product,
transformation_processes = IEATools::aggregation_flows$transformation_processes,
negzeropos = ".negzeropos"
)
.tidy_iea_df |
The |
flow_aggregation_point, flow, e_dot, product |
See |
transformation_processes |
The name of the transformation processes in the flow aggregation point column. Default is IEATools::aggregation_flows$transformation_processes. |
negzeropos |
Temporary column name. Default is ".netzeropos". |
Returns a tidy data frame with all electricity and heat production flows specified (products are specified).
A_B_path <- system.file("extdata/A_B_data_full_2018_format.csv", package = "ECCTools")
IEATools::load_tidy_iea_df(A_B_path) %>%
IEATools::specify_all() %>%
tibble::add_row(
Country = "A",
Method = "PCM",
Energy.type = "E",
Last.stage = "Final",
Year = 2018,
Ledger.side = "Supply",
Unit = "ktoe",
Flow.aggregation.point = "Transformation processes",
Flow = "Heat pumps",
Product = "Heat",
E.dot = 82) %>%
specify_other_elec_heat_production()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.