@open3cl/engine 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/engine.js +8 -3
- package/package.json +1 -1
package/engine.js
CHANGED
|
@@ -31,7 +31,7 @@ import getFicheTechnique from './ficheTechnique.js';
|
|
|
31
31
|
import { ProductionENR } from './16.2_production_enr.js';
|
|
32
32
|
import DpeSanitizerService from './dpe-sanitizer.service.js';
|
|
33
33
|
|
|
34
|
-
const LIB_VERSION = '1.5.
|
|
34
|
+
const LIB_VERSION = '1.5.2';
|
|
35
35
|
|
|
36
36
|
const dpeSanitizerService = new DpeSanitizerService();
|
|
37
37
|
|
|
@@ -673,10 +673,15 @@ export function get_classe_ges_dpe(dpe) {
|
|
|
673
673
|
* {@link https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000054747079}
|
|
674
674
|
*
|
|
675
675
|
* @param dpe {FullDpe}
|
|
676
|
-
* @returns {{
|
|
676
|
+
* @returns {{ep_conso_5_usages_2027: number; ep_conso_5_usages_m2_2027: number; classe_bilan_dpe_2027: string}}
|
|
677
677
|
*/
|
|
678
678
|
export function get_conso_coeff_1_7_2027(dpe) {
|
|
679
|
-
|
|
679
|
+
const coeff = get_conso_with_coeff(dpe, 0.7 / 0.9);
|
|
680
|
+
return {
|
|
681
|
+
classe_bilan_dpe_2027: coeff.classe_bilan_dpe,
|
|
682
|
+
ep_conso_5_usages_m2_2027: coeff.ep_conso_5_usages_m2,
|
|
683
|
+
ep_conso_5_usages_2027: coeff.ep_conso_5_usages
|
|
684
|
+
};
|
|
680
685
|
}
|
|
681
686
|
|
|
682
687
|
/**
|