Home energy storage system model