hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
106 stars 13 forks source link

Feature request: add normal & low energy tariff #127

Open Verguldebarman opened 1 month ago

Verguldebarman commented 1 month ago

Hi, Really nice project! I have a suggestion; perhaps you can add normal & low energy in the setup, for (1) consumed/imported, (2) produced/exported and (3) tariff. So something like this:

battery_sim:
  sessy_sim:
    name: Sessy Sim 
    import_sensor_tariff_1: sensor.energy_consumed_tariff_1
    import_sensor_tariff_2: sensor.energy_consumed_tariff_2
    export_sensor_tariff_1: sensor.energy_produced_tariff_1
    export_sensor_tariff_2: sensor.energy_produced_tariff_2
    size_kwh: 5.0
    max_discharge_rate_kw: 1.7
    max_charge_rate_kw: 2.2
    efficiency: 0.9
    energy_tariff_1: 0.31
    energy_tariff_2: 0.25
hif2k1 commented 1 month ago

Thanks for the message. I'm not sure I really understand what you mean, but I think you're asking for multiple imports with different tariffs. This is already supported, but not in the confog.yaml setup I'm afraid. If you set up the battery using the confog_flow (the graphical interface) as described in the readme then you can add as many import and export metres as you like.

On Fri, 24 May 2024, 14:58 Vergulde Barman, @.***> wrote:

Hi, Really nice project! I have a suggestion; perhaps you can add normal & low energy in the setup, for (1) consumed/imported, (2) produced/exported and (3) tariff. So something like this:

battery_sim: sessy_sim: name: Sessy Sim import_sensor_tariff_1: sensor.energy_consumed_tariff_1 import_sensor_tariff_2: sensor.energy_consumed_tariff_2 export_sensor_tariff_1: sensor.energy_produced_tariff_1 export_sensor_tariff_2: sensor.energy_produced_tariff_2 size_kwh: 5.0 max_discharge_rate_kw: 1.7 max_charge_rate_kw: 2.2 efficiency: 0.9 energy_tariff_1: 0.31 energy_tariff_2: 0.25

— Reply to this email directly, view it on GitHub https://github.com/hif2k1/battery_sim/issues/127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAIZGOPFPGBG3BCG4CLGITZD42N7AVCNFSM6AAAAABIHRDTCOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTKMZVGEYTGMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>