A simulation of the Spanish electricity pool