[][src]Function cteepbd::energy_performance

pub fn energy_performance(
    components: &Components,
    wfactors: &Factors,
    k_exp: f32,
    arearef: f32
) -> Result<Balance>

Calcula enficiencia energética agregando resultados por vector energético

Compute overall energy performance by aggregating results from all energy carriers.

  • components - energy components
  • wfactors - weighting factors
  • k_exp - exported energy factor [0, 1]
  • arearef - reference area used for computing energy performance ratios

Errors

  • Use of an arearef less than 1e-3 raises an error
  • Missing weighting factors needed for balance computation