In this paper, the application of the method of affinely adjustable robust optimization to a planning model of an energy system under uncertain parameters is presented, and the total scheduling costs in comparison with the deterministic model are evaluated. First, the basics of optimization under uncertain data are recapped, and it is described how these methods can be used in different applications for energy systems. This is followed by the methodology of adjustable robust optimization by defining the affinely adjustable robust counterpart. Finally, a numerical case study is conducted to compare the adjustable robust method with a rolling deterministic scheduling method. Both are implemented on a model of an energy system and compared with each other by simulation using real-world data. By calculating the total operating costs for both methods, it can be concluded that the adjustable robust optimization provides a significantly more cost-effective solution to the scheduling problem.