Table Of Contents
Table Of Contents

project

from inet.simulation

This module provides abstractions for simulation projects.

The main functions are:

In general, it’s a good idea to use the default project, because it makes calling the various functions easier and in most cases there’s only one simulation project is worked on. The default simulation project is automatically set to the one above the current working directory when the omnetpp.repl package is loaded, but it can be overridden by the user later.

Functions

define_simulation_project

Defines a simulation project for the provided name, version and additional parameters.

get_default_simulation_project

Returns the currently selected default simulation project from the set of defined simulation projects.

get_simulation_project

Returns a defined simulation project for the provided name and version.

set_default_simulation_project

Changes the currently selected default simulation project from the set of defined simulation projects.

Classes

SimulationProject

Represents a simulation project that usually comes with its own modules and their C++ implementation, and also with several example simulations.