Mitigating the environmental impacts of oil discharges in a crude oil storage facility