Skip to content

Update htuse.py #6

Open
idmindo wants to merge 2 commits into
codema-dev:mainfrom
idmindo:main
Open

Update htuse.py #6
idmindo wants to merge 2 commits into
codema-dev:mainfrom
idmindo:main

Conversation

@idmindo

@idmindo idmindo commented Nov 12, 2023

Copy link
Copy Markdown
Member

in this modified function, if internal_temperatures and external_temperatures are not provided (i.e., they are None), delta_t is set to None, and the calculation involving delta_t is skipped. This allows to call the function with only the heat_loss_coefficient argument, and the other arguments will be set to their default values and in the function: calculate_heat_loss_per_year - can call the function with just the heat_loss_coefficient argument and pass None for the missing internal_temperatures and external_temperatures arguments. The function will check for None and handle them accordingly.

change the heat loss function arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant