The Thai Biogas Energy Company has agreed a THB402 million ($12.3 million) loan from the Industrial and Commercial Bank of China for the development of two projects.