Skip to contents

Calculate operational parameters for Berlin-Schoenerlinde

Usage

calculate_operational_parameters_berlin_s(
  df,
  calc_list = get_calc_info_from_config(config, "expr"),
  calc_list_name = get_calc_info_from_config(config, "name"),
  calc_list_unit = get_calc_info_from_config(config, "unit"),
  calc_paras = get_calc_info_from_config(config, "paras"),
  config = get_calc_config("berlin_s")
)

Arguments

df

a data frame as retrieved by read_wedeco_data()

calc_list

list with calculation operations to be carried out (default: list(deltaSAK = "(1-SCAN_SAK_Ablauf/SCAN_SAK_Zulauf)*100", Ozoneintrag = "(C_O3_Zugas - C_O3_Abgas)*Q_Gas/Q_Ozonanlage"))

calc_list_name

full names of parameters to be used for plotting for each calculation specified wit 'calc_list'. default: c('delta SAK', 'Ozoneintrag')

calc_list_unit

units of parameters to be used for plotting for each calculation specified wit 'calc_list'. default: c("percent", "mg-O3/L")

calc_paras

a vector with parameter codes used for performing calculations defined in 'calc_list' (default: c("SCAN_SAK_Ablauf", "SCAN_SAK_Zulauf", "C_O3_Zugas", "C_O3_Abgas", "Q_Gas", "Q_Ozonanlage"))

config

configuration object (list) from which the calc_* arguments are filled. Default: get_calc_config("berlin_s")

Value

dataframe with calculated operational parameters

Examples

if (FALSE) {
raw_list <- read_wedeco_data()
myDat <- calculate_operational_parameters_berlin_s(df = raw_list)
}