Two smart energy management models for the Spanish electricity system | Publicación