Stochastic and deterministic formulations for capacity firming nominations