Closed ddceruti closed 3 weeks ago
Added a few more checks to the heat_building.get_sigmoid_parameters
function and added .iloc[0] to avoid warnings.
Added checks and slightly improved functions in src/demandlib/bdew/heat_building.py
documentation and updated AUTHOR and CONTRIB files
Why did you close this?
Why did you close this?
Hi again, sorry, it was not intentional. Thanks for reopening, I checked the code and it is working.
any update on this? :)
Hi, I added the small simplifications as suggested by @p-snft . All clear from my side .
Hi @maurerle I added a new commit with your improvements.
Now the non residential buildings will throw a ValueError to avoid non supported integers in the database located in
src/demandlib/bdew/bdew_data
. This made the functionheat_building.get_sigmoid_parameters
return an empty list ifself.shlp_type
was not 0 for non-commercial buildings. Updated the documentation of the classHeatBuilding
to reflect the needed input data too.