A framework to simulate aircraft systems