Skip to content

Commit

Permalink
Update zeroinput.py
Browse files Browse the repository at this point in the history
reduced free energy input to a little scale
if you want to input more: raise it
  • Loading branch information
E-t0m committed Sep 12, 2022
1 parent d19c1d0 commit 07676ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zeroinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def avg(inlist): # return the average of a list variable
send_power = max_night_input
if verbose: status_text = 'night limit'

if bat_cont > 55.0: # give some free power to the world if bat > 55.0 V
free_power = int((bat_cont - 55.0)*10 *100) # 100 W / 0.1 V, max depends on esmart "saturation charging voltage"
if bat_cont > 54.5: # give some free power to the world if bat > 55.0 V
free_power = int((bat_cont - 54.5)*10 *5) # 5 W / 0.1 V, max depends on esmart "saturation charging voltage"
send_power += free_power
if verbose: status_text = 'over export '+str(free_power)+' W'
else: free_power = 0
Expand Down

0 comments on commit 07676ed

Please sign in to comment.