Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-gvh9x Total loading time: 0 Render date: 2024-07-22T16:14:28.095Z Has data issue: false hasContentIssue false

14 - External model access (EMA)

from Part IV - OPNET Modeling Facilities

Published online by Cambridge University Press:  05 February 2012

Zheng Lu
Affiliation:
University of Essex
Hongji Yang
Affiliation:
De Montfort University, Leicester
Get access

Summary

This chapter shows the concept of external model access (EMA; a text file representation alternative to OPNET modeler's graphic representation for modeling), the benefits of using EMA in some circumstances, and how simulation models can be constructed via EMA instead of OPNET Modeler's graphic interfaces.

What EMA is and reasons to use it

Usually, a user can access OPNET models by creating a node model or link model and reading/writing that model from OPNET modeler's graphic user interfaces (GUI) such as Node Editor, Link Editor, etc. This way can be called WYSIWYG – “WhatYou See Is What You Get.” Differing from this WYSIWYG method, EMA is a technique provided by OPNET Modeler that allows you to access OPNET models from external programs in a text format; i.e., models can be accessed via code rather than GUI. EMA code can be written in an external C/C++ program. It is different from the C/C++ code written in OPNET process model, which is via the OPNET graphic interface. Therefore, the external C/C++ program with EMA capability can interface with other programs, libraries, and databases just like a general C/C++ program. The EMA C/C++ program is compiled and linked into an executable file. By running that executable file, models and/or objects of models can be read or written or created. To write such an EMA program, you can use any text editor or C/C++ IDE (Integrated Development Environment).

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2012

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • External model access (EMA)
  • Zheng Lu, University of Essex, Hongji Yang, De Montfort University, Leicester
  • Book: Unlocking the Power of OPNET Modeler
  • Online publication: 05 February 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511667572.015
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • External model access (EMA)
  • Zheng Lu, University of Essex, Hongji Yang, De Montfort University, Leicester
  • Book: Unlocking the Power of OPNET Modeler
  • Online publication: 05 February 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511667572.015
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • External model access (EMA)
  • Zheng Lu, University of Essex, Hongji Yang, De Montfort University, Leicester
  • Book: Unlocking the Power of OPNET Modeler
  • Online publication: 05 February 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511667572.015
Available formats
×