@open3cl/engine 1.11.0 → 1.11.1
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/11_ecs.js +0 -1
- package/11_ecs.spec.js +0 -12
- package/engine.js +1 -1
- package/package.json +1 -1
package/11_ecs.js
CHANGED
|
@@ -96,7 +96,6 @@ function calc_auxiliaire_distribution_ecs_immeuble(de, di, surfaceImmeuble, becs
|
|
|
96
96
|
// Étape 3 : Calcul de Lb pour l'installation i
|
|
97
97
|
// Lb = 1.2 × (1.1 × Sh_inst/nombre_niveaux + 4 × nombre_niveaux)
|
|
98
98
|
const Lb = 1.2 * (1.1 * (Sh_inst / Niv_inst) + 4 * Niv_inst);
|
|
99
|
-
di.lb = Lb;
|
|
100
99
|
|
|
101
100
|
// Étape 4 : DeltaPb = 0.2 × Lb + 10
|
|
102
101
|
const DeltaPb = 0.2 * Lb + 10;
|
package/11_ecs.spec.js
CHANGED
|
@@ -744,18 +744,6 @@ describe('calc_ecs - auxiliaires de distribution ECS (immeuble)', () => {
|
|
|
744
744
|
return ecs.donnee_intermediaire;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
test('réseau bouclé : longueur de bouclage lb exposée dans la donnée intermédiaire', () => {
|
|
748
|
-
const di = donneeIntermediaireImmeuble({
|
|
749
|
-
enum_type_installation_id: '2',
|
|
750
|
-
enum_bouclage_reseau_ecs_id: '2',
|
|
751
|
-
surface_habitable: 100,
|
|
752
|
-
nombre_niveau_installation_ecs: '2'
|
|
753
|
-
});
|
|
754
|
-
|
|
755
|
-
// Lb = 1,2 × (1,1 × 100 / 2 + 4 × 2) = 75,6 m
|
|
756
|
-
expect(di.lb).toBeCloseTo(75.6, 9);
|
|
757
|
-
});
|
|
758
|
-
|
|
759
747
|
test.each([
|
|
760
748
|
['réseau avec traçage', { enum_type_installation_id: '2', enum_bouclage_reseau_ecs_id: '3' }],
|
|
761
749
|
[
|
package/engine.js
CHANGED
|
@@ -36,7 +36,7 @@ import DpeSanitizerService from './dpe-sanitizer.service.js';
|
|
|
36
36
|
import { reconstituerRdimDpeGenereImmeuble } from './17.2_rdim_dpe_genere_immeuble.js';
|
|
37
37
|
import { reconstituerRdimEcsIndividuelleUnique } from './11_rdim_ecs_individuelle_unique.js';
|
|
38
38
|
|
|
39
|
-
const LIB_VERSION = '1.11.
|
|
39
|
+
const LIB_VERSION = '1.11.1';
|
|
40
40
|
|
|
41
41
|
const dpeSanitizerService = new DpeSanitizerService();
|
|
42
42
|
|