Energy Hub Dispatch Considering Heating Network Flexibility