An MDA Approach for the Generation of Glue Code for a Virtual Simulation Environment