Spanish firm Greenalia has agreed a loan worth €125 million ($146 million) to finance its biomass electric power production plant.