close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 12 and Version 13 of OverSimDevelop


Ignore:
Timestamp:
Sep 19, 2008, 1:31:55 PM (16 years ago)
Author:
Ingmar Baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimDevelop

    v12 v13  
    7474The user can set custom values for module parameters in the file omnetpp.ini, or in default.ini for general default values, both located in the Simulation folder (see Section 4). Parameters are hierarchic, separated by dots for each layer. For example, setting a parameter for a specific overlay module in a node can be done as follows:
    7575{{{
    76 SimpleOverlay.overlayTerminal[5].overlay.myParam1 = 1024
     76SimpleOverlay.overlayTerminal[5].overlay.myProt.myParam1 = 1024
    7777}}}
    7878
     
    8080
    8181{{{
    82 *.overlayTerminal[5].overlay.myParam1 = 1024
    83 **.overlay.myParam1 = 1024
     82*.overlayTerminal[5].overlay.myProt.myParam1 = 1024
     83**.overlay.myProt.myParam1 = 1024
    8484}}}
    8585
     
    376376
    377377# The following applies to SimpleNetwork
    378 *.underlayConfigurator.churnGeneratorTypes = "RandomChurn"  // one node type
     378*.underlayConfigurator.churnGeneratorTypes = "LifetimeChurn"  // one node type
    379379
    380380# Since we only have one churn generator, the following applies to SimpleNetwork.churnGenerator[0]
     
    382382**.tier1Type = "MyAppModule"            // module name of the application tier
    383383**.overlayType = "MyOverlay"            // module name of the overlay
    384 **.churnChangeInterval=0                // time to wait between churn changes (creation, elimination, ...)
    385 **.targetOverlayTerminalNum=10          // maximal number of nodes
    386 **.creationProbability=0.5              // probability for each churn change to create a node
    387 **.migrationProbability=0.0             // probability for each churn change to migrate a node
    388 **.removalProbability=0.5               // probability for each churn change to eliminate a node
     384**.lifetimeMean = 10000                 // mean session time in seconds
     385**.targetOverlayTerminalNum=10          // target number of nodes
    389386}}}
    390387
     
    394391[Run 2]
    395392
    396 *.underlayConfigurator.churnGeneratorTypes = "RandomChurn RandomChurn"  // two churn generators
     393*.underlayConfigurator.churnGeneratorTypes = "LifetimeChurn NoChurn"  // two churn generators
    397394
    398395# First churn