Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nan QF due to zero population density #240

Open
sunt05 opened this issue Dec 16, 2023 · 0 comments
Open

nan QF due to zero population density #240

sunt05 opened this issue Dec 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working P0 Highest priority (must be addressed immediately) P1 High priority (should be addressed soon)

Comments

@sunt05
Copy link

sunt05 commented Dec 16, 2023

! Should buildings have their own profile? Now using population profile
QF_build = ((QF_SAHP_base*QF0_BEU(iu) + QF_SAHP_heating + QF_SAHP_cooling)/DP_x_RhoPop)* &
(PopDensNighttime*(2 - PopDorNorT) + PopDensDaytime(iu)*(PopDorNorT - 1))

If DP_x_RhoPop equals zero, the code above will result in QF and consequently everything thereafter becoming NaN.

Noticed in #239.

@sunt05 sunt05 added the bug Something isn't working label Dec 16, 2023
@sunt05 sunt05 self-assigned this Dec 16, 2023
@sunt05 sunt05 added P1 High priority (should be addressed soon) P0 Highest priority (must be addressed immediately) labels Jun 8, 2024
@sunt05 sunt05 added bug Something isn't working and removed bug Something isn't working labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Highest priority (must be addressed immediately) P1 High priority (should be addressed soon)
Projects
None yet
Development

No branches or pull requests

1 participant