Pre-feasibility study for a chemical manufactuing plant with applications in mining, water treatment and agricultural sectors