Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if msg.selling_price == 0:
- if msg.bessSOC > 0.98 and msg.current_load < msg.solar_production:
- load2 = True
- if msg.solar_production - msg.current_load > 0.5 * msg.current_load:
- load3 = True
- else:
- if msg.bessSOC > 0.98 and msg.current_load < msg.solar_production:
- load2 = True
Advertisement
Add Comment
Please, Sign In to add comment