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

Weird magic number in factored-customer/../DefaultUtilityOptimizer #1075

Open
jecollins opened this issue Mar 9, 2021 · 0 comments
Open

Comments

@jecollins
Copy link
Member

For population models, the chunk size for tariff evaluation (the smallest number that can be subscribed to an individual tariff) is set to max(1, population / 1000). That 1000 is not configurable, and there's no justification for it. Better to have chunk size a configurable value, particularly since the grid-model integration will need to be able to set it independently.

See DefaultUtilityOptimizer line 93 in the 1.8 version.

@jecollins jecollins changed the title Weird magic number is factored-customer/../DefaultUtilityOptimizer Weird magic number in factored-customer/../DefaultUtilityOptimizer Mar 20, 2021
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