Glas Energy is planning a $400 million renewable diesel refinery, south-east of Perth, which will turn thousands of tonnes of straw into millions of litres of fuel.