Just today, Renfe (the Spanish train company) has provided the authorization to get a 30% discount on all the trains from 01-Sep to 6-Sep.
To get this discount, use the following document: http://act.yapc.eu/ye2015/img/TES_2015_01708.pdf when buying your tickets.