Network-based energy supply optimal system in the condition where both heating and cooling are required simultaneously in a swing season. (2nd January 2018)