Skip to content

Exports when FiT is negative #9

@chaosd0gg

Description

@chaosd0gg

Certain conditions end up with the action set to auto-export when FiT is negative:
image

In the code block between lines 215 and 252 we have the following conditions:

buy_price <= 0.0 and battery_soc < full_battery
sell_price < 0.0 and buy_price < abs(sell_price) and battery_soc <= full_battery
sell_price < 0.0 and battery_soc > full_battery

However there is no check for:

sell_price < 0.0 and battery_soc <= full_battery

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions