Text this: Optimal Energy Recycling, Allocation, and Trading for Electricity, Natural Gas, Heat, and Cold Energies in Factories With Ground Source Heat Pumps.