feat(ecs): calcul consommation auxiliaires de distribution ECS - cas … - #199
Merged
Merged
Conversation
…immeuble Implement ECS distribution auxiliary consumption calculation for immeuble DPEs. Three cases based on enum_bouclage_reseau_ecs_id: - CAS 1 (non boucle): conso_auxiliaire = 0 - CAS 2 (boucle): 9-step calculation per month per installation - CAS 3 (tracage): 0.14 x BECS_annuel x surface_ratio [Wh] Modified files: - src/11_besoin_ecs.js: add monthly BECS breakdown (besoin_ecs_par_mois) - src/engine.js: pass monthly BECS to calc_ecs - src/11_ecs.js: add calc_auxiliaire_distribution_ecs_immeuble function and store conso_auxiliaire_distribution_ecs in donnee_intermediaire - src/conso.js: read conso_auxiliaire_distribution_ecs from ECS installations (replaces hardcoded 0) Verified results: - 2592E0278308W: 2 boucle installations -> total ~400.53 kWh - 2231E1326114Q: 1 tracage installation -> ~2504.61 kWh Closes #157
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…immeuble
Implement ECS distribution auxiliary consumption calculation for immeuble DPEs.
Three cases based on enum_bouclage_reseau_ecs_id:
Modified files:
Verified results:
Closes #157