Day-ahead bidding on energy markets