Generating simulation code from federation models: A field artillery case study


Özhan G., Oǧuztüzün H.

2011 Summer Simulation Multiconference, SummerSim'11, Co-located with the 2011 SISO European Simulation Interoperability Workshop, Euro SIW, The Hague, Hollanda, 27 - 30 Haziran 2011, ss.60-70 identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası:
  • Basıldığı Şehir: The Hague
  • Basıldığı Ülke: Hollanda
  • Sayfa Sayıları: ss.60-70
  • Orta Doğu Teknik Üniversitesi Adresli: Evet

Özet

Suggestions for the application of Model Driven Engineering approach in the modeling and simulation community have been proliferating in recent years. We have developed a two-step end to end model transformer that can produce HLA-based simulation code from field artillery conceptual models. A conceptual model is first transformed into an intermediary federation architecture model using a graph-based model transformer front-end tool. The field artillery conceptual model and the federation architecture model adhere to their own metamodels. Both metamodels are composed of data and behavior parts, where the behavior representation in both is based on Live Sequence Chart (LSC). The code generator is a model interpreter that is launched on a federation architecture model to generate base codes (in Java/AspectJ) for each federate application from a document of LSCs, coupled with the federation object model, in an aspect-oriented way. The federate application code can be executed on an HLA run-time infrastructure once the computational aspects are woven by the simulation developer. We demonstrate our approach on a federation scenario of the "adjustment followed by fire-for-effect" field artillery mission.