The present invention relates to a method for processing a renervable bio-based material conrprising the step of reacting the bio-based material rvith hydrogen in tlre presence of a catall,sl on a support in a reaclor to forn a treated oil: (i) passing the treated oil through a distillation unit and an adsorption unit to form green diesel; and/or (ii) passing the treated oil through at least one distillation column to separate the treated oil into at least one componenl and passing the at least one component through an adsorption column; and wherein the reactor comprises a cooling function for controlling the temperature ofthe reactor; wherein the cooling function is at least one ofan intemal cooling function and an external cooling function.