Green diesel is a real solution for the decarbonization process of the world, reducing in this way, carbon dioxide emissions to the atmosphere. The present work proposes a flexible biorefinery design where green diesel is produced by catalytic hydrotreatment of four vegetable oils: soybean, sunflower, palm, and cardoon oil feedstock. The process was simulated in Aspen Plus®. A multi-bed reactor composed of four catalytic beds with quenching cooling is designed and simulated in the presence of Ni-W/SiO2-Al2O3 catalyst, in addition to a separation phase train to obtain the green diesel. Sensitivity analyses were carried out to determine the parameter conditions of the unit operations. The results of the model reflex a molar conversion of triglycerides above 97% and overall mass yield into diesel fraction above 79%. Total capital costs and operating costs of the process were determined in the economic analysis, where a base case is considered for the calculations, obtaining the maximum vegetable oil market price can be sustainable to make economically convenient the biorefinery. Soybean oil resulted in the worst feedstock due to the high percentage of unsaturated bonds, while cardoon oil can be considered the best source to produce green diesel thanks to higher conversion yields.