本論文係利用兩階段酯化/轉酯化系統轉製廢食用油成生質柴油之程序合成與設計。第一階段為酯化/轉酯化製程設計並採用 H2SO4為酸性觸媒，第二階段為轉酯化製程設計並採用NaOH為鹼性觸媒。廢食用油主要含進料油酯與游離酯肪酸；吾人以三酸甘油酯代表進料油酯並以十八烯酸代表游離酯肪酸。研究中並結合狹點技術與換熱器網路合成原理，比較熱能整合前後的能源消耗並計算其化石能源之比值。 論文中主要使用兩套程序軟體：Aspen Plus主要用來進行程序設計與合成；SuperTarget則用來進行程序之狹點分析及換熱器網路合成。 In the thesis, we present a process synthesis and design for the production of biodiesel from waste cooking oil by utilizing two-stage transesterification processes. While in the first stage esterification/transesterification process design was carried out using H2SO4 as the acid catalyst, in the second stage transesterification process design was carried out using NaOH as the alkaline catalyst. The waste cooking oil consists mainly of feeding oil and free fatty acid. In this work, we used triglyceride to represent the feeding oil and oleic acid to represent the free fatty acid. In the study, we also combine the pinch technology with the base-case design for heat exchanger network synthesis so as to compare the energy consumptions and determine the fossil energy ratio with/without heat integration. Two kinds of software were utilized in the research: Aspen Plus was mainly used for the process simulation; SuperTarget was used to carry out the pinch analysis and the synthesis of heat exchanger network.