canezzy

Untitled

Nov 5th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. if msg.selling_price == 0:
  2. if msg.bessSOC > 0.98 and msg.current_load < msg.solar_production:
  3. load2 = True
  4. if msg.solar_production - msg.current_load > 0.5 * msg.current_load:
  5. load3 = True
  6. else:
  7. if msg.bessSOC > 0.98 and msg.current_load < msg.solar_production:
  8. load2 = True
Advertisement
Add Comment
Please, Sign In to add comment