updates of Snbc3 run3 dgec new#11
Open
remydoudard wants to merge 33 commits into
Open
Conversation
add_output_subsidies_by_income_class_v2
Adding consumption standard and real by : epc, heating system, energy, year
renovation_details by quintile new insulations type mapping
Mapping des déciles en quintiles uniquement si les données contiennent des déciles
Remove hardcoded CONVERSION. Add pef_elec=None argument to functions. Raise error if pef_elec is None.
Read config['energy']['pef_elec'] in read_inputs. Add fill_missing_years function (fills missing years with previous values). Apply fill_missing_years(inputs['pef_elec'], config['start'], config['end']).
Add and propagate pef_elec in res_irf. Add and propagate pef_elec in stock_turnover.
Add self.pef_elec attribute in ThermalBuilding. Add pef_elec=None argument to functions. Update function calls to propagate pef_elec. Add reset_consumption_store method to reinitialize consumption and certificate caches.
Add new file primary_energy_factor_electricity.csv
In model.py, add check on yearly pef_elec value. If pef_elec differs from previous year, call buildings.reset_consumption_store(). Ensures cached consumption values are recalculated with updated PEF.
Read new configuration keys: - config['load_calibration_renovation'] → path to calibration file to import. - config['export_calibration_renovation'] → path where calibration should be exported. -config['stop_after_calibration_export'] → boolean to stop execution after export. Enable loading and saving of renovation calibration data through the model.
Add pef_elec parameter and renovation calibration import/export
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.
No description provided.