Skip to contents

Read a table of constant phi (exergy-to-energy ratio) values from a file.

Usage

load_phi_constants_table(
  phi_constants_table_path = sample_phi_constants_path(),
  phi_constants_tab_name = IEATools::phi_constants_names$phi_constants_tab_name,
  product_colname = IEATools::phi_constants_names$product_colname,
  phi_colname = IEATools::phi_constants_names$phi_colname,
  is_useful_colname = IEATools::phi_constants_names$is_useful_colname
)

Arguments

phi_constants_table_path

The path to the Excel file containing a table of constant phi values. Default is the value of sample_phi_constants_path().

phi_constants_tab_name, product_colname, phi_colname, is_useful_colname

See IEATools::phi_constants_names.

Value

A data frame of phi (exergy-to-energy ratio) values.

Examples

load_phi_constants_table()
#> # A tibble: 86 × 3
#>    Product      phi IsUseful
#>    <chr>      <dbl> <lgl>   
#>  1 MD         1     TRUE    
#>  2 KE         1     TRUE    
#>  3 HPA        1     TRUE    
#>  4 Light      0.956 TRUE    
#>  5 Propulsion 1     TRUE    
#>  6 HTH.1600.C 0.847 TRUE    
#>  7 HTH.1300.C 0.817 TRUE    
#>  8 HTH.1000.C 0.774 TRUE    
#>  9 HTH.960.C  0.767 TRUE    
#> 10 HTH.850.C  0.744 TRUE    
#> # ℹ 76 more rows