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

Somewhat scale-free normalization #20

Closed
jpulakka opened this issue Oct 6, 2022 · 1 comment
Closed

Somewhat scale-free normalization #20

jpulakka opened this issue Oct 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jpulakka
Copy link
Owner

jpulakka commented Oct 6, 2022

Normalization made in #15 makes the result "totally scale-free", meaning that (when normalize: max_min is used) the output varies similarly no matter if the input varies between 1-2 cnt/kWh or 100-200 cnt/kWh.

This works as planned - making the the output magnitude independent of current overall electricity price (variation). But this also doesn't feel quite right. When prices are very cheap, there's no need to optimize targets as heavily as when the prices are very expensive. Real-world nonlinearities (heat pump efficiency, heat leak) could turn unnecessary variation into an anti-optimization.

Maybe "somewhat scale-free" normalization would be in place. So, the output wouldn't be linearly dependent of input scale, but it would still be somewhat dependent, so that 100-200 cnt/kWh variation would give bigger input than 1-2 cnt/kWh variation, but just not 100x bigger. Something to think about. Logarithmic dependency?

@jpulakka jpulakka added the enhancement New feature or request label Oct 6, 2022
@jpulakka
Copy link
Owner Author

"sqrt_max" and "max_min_sqrt_max" are there now and will be included in 0.2.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant