The current growth of smart grid capable appliances motivates the development of general and flexible software systems to support these devices. The FlexiblePower Application Infrastructure (FPAI) is such a system, which classifies devices by their type of flexibility. Subsequently, energy applications only have to support these flexibility classes. In this work, we present an implementation of the TRIANA demand side management approach as an energy application on the FPAI energy management software platform. We use dynamic programming to solve the local scheduling problems for each flexibility class. This work shows that FPAI can host energy applications with different control approaches and that the TRIANA control approach can be embedded in a general implementation framework. © 2015 IEEE.