dala318 / nordpool_planner

nordpool_planner custom component for Home Assistant
MIT License
18 stars 4 forks source link

Explain values #5

Closed flippz closed 1 year ago

flippz commented 1 year ago

Hi. Could you please explain the expressions below a bit better?

duration: What do u mean?

accept_cost: are we talking a actual price here?

accept_rate what are the numbers here?

now_cost_rate what is this value?

dala318 commented 1 year ago

I'll see if I find time to clarify in readme.md.

"duration" is the number of consecutive hours you need energy, i.e. the size of the time window sliding over the "search_length" to find the lowest average.

"accept_cost" is a price that gets accepted if found. No more searching is done. Yes actual price, should be in the currency of your Nordpool integration (please verify this)

"accept_rate" similar but a rate comparing the to Nordpool reported average price. If set to 1 an average over duration <= nordpool average is accepted. If 0.5 it has to be half the price of nordpool average. The idea is to not be as sensitive to offsets I price levels but just a generic rule to accept low section, not just the lowest.

"now_cost_rate" is just a comparison to how much more expensive the electricity right now is compared to the found slot. 2 means you could half the cost by waiting for the found slot.