Self-consumption with storage