Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/2872965.2872986acmconferencesArticle/Chapter ViewAbstractPublication PagesspringsimConference Proceedingsconference-collections
research-article

Improving the flexibility of simulation modeling with aspects

Published: 12 April 2015 Publication History

Abstract

While simulation and modeling serve as increasingly popular tools in addressing complex policy challenges, modeling projects are often encumbered by significant complexity within the model itself. This includes complexity extending from software engineering challenges, implementation, management of the model execution, difficulty in maintaining metadata to cross-link models, scenario results, associated simulation results, and a dependence of knowledge-users on modelers to modify model output and visualization mechanisms to explore patterns of interest. Furthermore, debugging of and developing confidence in a model often requires enabling/disabling tracing output of various model quantities. We present techniques to enhance flexibility, transparency, usefulness and effectiveness of simulation modeling by using Aspect-Oriented Programming to automatically manage the high-level execution results (Run Log) and, separately, low-level details (Trace Log) associated with model executions. With an eye towards enabling scenario reproducibility, Run Log documents the scenarios run for a given model, and records the associated model version, scenario assumptions and elements of output. The Aspect framework for Trace Log eliminates boilerplate logging code within models, supports flexibly enabling/disabling logging, improves the robustness of the model by providing easy mechanisms of debugging, and supports knowledge-users in exploring model output. We describe the framework, experiments conducted, and feedback received.

References

[1]
AnyLogic features: Overview. http://www.anylogic.com/overview, (last accessed Jan 17, 2014).
[2]
Alawami, F. An Aspect Refactoring Tool for The Observer Pattern. Master's thesis, Department of Computer Science, University of Saskatchewan, May 2012.
[3]
Bateman, S., Gutwin, C., Osgood, N., and McCalla, G. Interactive usability instrumentation. In Proc. EICS 2009, ACM Press (2009), 45--54.
[4]
Gilbert, N. Agent-based models. Sage Publications Inc., 2007.
[5]
Java for AnyLogic users. http://www.xjtek.com/files/book/Java_for_AnyLogic_users.pdf, (last accessed Apr 20, 2014).
[6]
Krasner, G. E., and Pope, S. T. A Cookbook for Using the Model-View-Controller User Interface Paradigm in Smalltalk-80. Journal of Object-Oriented Programming 1, 3 (1988), 26--49.
[7]
Laddad, R. AspectJ in Action. Manning Publications Co., 2003.
[8]
Miles, R. AspectJ Cookbook. O'Reilly Media Inc., 2005.
[9]
AnyLogic Example Health Model Inventory. http://www.cs.usask.ca/faculty/ndo885/Classes/ConsensusABM/ExampleModelInventory.html, (last accessed Apr 20, 2014).
[10]
Osgood, N. Silver: Software in support of the system dynamics modeling process. In Proc. The 27th International Conference of the System Dynamics Society (2009).
[11]
Osgood, N., and Tian, Y. 15 things system dynamics can learn from software development. In Proc. The 29th International Conference of the System Dynamics Society (2012).
[12]
Paudel, J. S. Aspect Structure of Compilers. Master's thesis, Department of Computer Science, University of Saskatchewan, August 2009.
[13]
Railsback, S. F., and Grimm, V. Agent-based and individual-based modeling: a practical introduction. Princeton University Press, 2011.

Cited By

View all
  • (2017)Dynamic Weaving of ASPECTs in C/C++ using PINProceedings of the International Conference on High Performance Compilation, Computing and Communications10.1145/3069593.3069598(55-59)Online publication date: 22-Mar-2017
  • (2016)An aspect oriented framework to applying markov chain Monte Carlo methods with dynamic modelsProceedings of the Symposium on Theory of Modeling & Simulation10.5555/2975389.2975408(1-6)Online publication date: 3-Apr-2016

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DEVS '15: Proceedings of the Symposium on Theory of Modeling & Simulation: DEVS Integrative M&S Symposium
April 2015
288 pages
ISBN:9781510801059

Sponsors

Publisher

Society for Computer Simulation International

San Diego, CA, United States

Publication History

Published: 12 April 2015

Check for updates

Author Tags

  1. aspects
  2. flexibility
  3. logging
  4. reproducibility
  5. tracing

Qualifiers

  • Research-article

Conference

SpringSim '15
Sponsor:
SpringSim '15: 2015 Spring Simulation Multiconference
April 12 - 15, 2015
Virginia, Alexandria

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Aug 2024

Other Metrics

Citations

Cited By

View all
  • (2017)Dynamic Weaving of ASPECTs in C/C++ using PINProceedings of the International Conference on High Performance Compilation, Computing and Communications10.1145/3069593.3069598(55-59)Online publication date: 22-Mar-2017
  • (2016)An aspect oriented framework to applying markov chain Monte Carlo methods with dynamic modelsProceedings of the Symposium on Theory of Modeling & Simulation10.5555/2975389.2975408(1-6)Online publication date: 3-Apr-2016

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media