Spanish firms are ramping up production of emissions-free fuel and ploughing investment into green energy projects, despite fears over the high price of production.