Incorporation of sustainability in process control of hydraulic fracturing in unconventional reservoirs