Steam generator connected to water heating