Tips to optimize water heating systems