Improving the value of variable and uncertain power generation in energy systems