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

Index error activity_statistics #30

Open
ISHINJaR opened this issue Nov 15, 2022 · 0 comments
Open

Index error activity_statistics #30

ISHINJaR opened this issue Nov 15, 2022 · 0 comments

Comments

@ISHINJaR
Copy link

There is a mistake in line 596 of appliances.py. Correct would be " int(6 * iActiveOccupants + sUseProfile)". A "6" is necessary to read in the correct element of activity_statistics.

There can be 0 to 5 active occupants and there are the activity profiles 0 to 5 (after "if sUseProfile < 6" in line 585). So activity_statistics has 36 elements for all combinations of active occupants and activity profiles smaller then 6.

int(5 * iActiveOccupants + sUseProfile)][

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

No branches or pull requests

1 participant