Risk-constrained dynamic energy allocation for a wind power producer