Procedures for day-ahead operation planning of heat and power supplying Smart Grid