Based on the analysis presented in this paper, it could be concluded that the hybrid PV/wind/diesel/battery system is a practical and cost-effective solution to satisfy the electrical energy needs for an environmentally friendly factory in New Borg El Arab city