Gửi tin nhắn: A model for the optimal design and management of a cogeneration system with energy storage