Automating la large -scale simulation and data analysis with - - PowerPoint PPT Presentation

automating la
SMART_READER_LITE
LIVE PREVIEW

Automating la large -scale simulation and data analysis with - - PowerPoint PPT Presentation

Automating la large -scale simulation and data analysis with OMNeT++ ++ Antonio Virdis (Carlo Vallati, Giovanni Nardini) University of Pisa Italy OMNeT++ Summit 2016 OMNeT++ Summit 2016 Antonio Virdis 1 OUTLINE Simulation Phases


slide-1
SLIDE 1

Automating la

large-scale

simulation and data analysis with OMNeT++ ++

Antonio Virdis

(Carlo Vallati, Giovanni Nardini) University of Pisa – Italy OMNeT++ Summit 2016

OMNeT++ Summit 2016 Antonio Virdis 1

slide-2
SLIDE 2

OUTLINE

  • Simulation Phases
  • Factors vs Parameters
  • Five main topics

OMNeT++ Summit 2016 Antonio Virdis 2

slide-3
SLIDE 3

Panelists

Red Corner

  • Laura Marie Feeney

(Uppsala University, Sweden)

  • Kyeong Soo (Joseph) Kim

(Xi'an Jiaotong-Liverpool University, Suzhou, China)

Blue Corner

  • Andras Varga
  • Rudolf Hornig

(OMNeT++ Team)

OMNeT++ Summit 2016 Antonio Virdis 3

slide-4
SLIDE 4
  • Modeling, development and validation/verification are completed.
  • We have a pretty good idea on what to test.
  • We have a pretty good idea on what to measure.

Simulation Phases

idea Modeling Development Documentation Validation/ verification Simulation We are here

OMNeT++ Summit 2016 Antonio Virdis 4

slide-5
SLIDE 5

Scenario Generation Execution Result Management Result Analysis

Simulation Phases

  • What to simulate.
  • How to perform simulation (single PC? Multi PC? How many in parallel?)
  • How we write results? How we read them?
  • Statistical analysis and result presentation.

OMNeT++ Summit 2016 Antonio Virdis 5

slide-6
SLIDE 6

Factors vs Parameters

  • Non varying parameters

parameters

**.packets_second = 50 **.mobility_type = “linear” **.size= ${ 50 , 100 } **.speed = ${ 1 , 2 }

  • Varying parameters

${iteration vars}

factors

OMNeT++ Summit 2016 Antonio Virdis 6

slide-7
SLIDE 7

Factors and Simulations

ID size speed 50 1 1 100 1 2 50 2 3 100 2 ID size speed repetition 50 1 1 50 1 1 2 100 1 3 100 1 1 4 50 2 5 50 2 1 6 100 2 7 100 2 1

repeat = 3

OMNeT++ Summit 2016 Antonio Virdis 7

slide-8
SLIDE 8

Scenario Generator Launcher Parser Analyzer Result files values

Factors Parameters

Architecture

OMNeT++ Summit 2016 Antonio Virdis 8

slide-9
SLIDE 9

Topic 0: Large Scale

  • Lots of modules
  • Lots of metrics
  • Lots of factors

Size of the single simulation run Number of simulation runs

  • When does a simulation become “large”?

OMNeT++ Summit 2016 Antonio Virdis 9

slide-10
SLIDE 10

Topic 1: Scenario Generation

  • Are factors that important?
  • Naming: ID based vs Factor Based

ID size speed repetition 50 1 1 50 1 1 2 100 1 3 100 1 1 4 50 2 5 50 2 1 6 100 2 7 100 2 1

OMNeT++ Summit 2016 Antonio Virdis 10

**.size= ${ 50 , 75 , 100 }

Scenario Generation Execution Result Management Result Analysis

slide-11
SLIDE 11

Topic 2: Simulation execution

  • Available: opp_run and opp_runall
  • How to deal with a large number of runs (possibly on multiple cores)?
  • Is AKAROA your favorite son (still)?
  • Need for dynamic stop criterion? (e.g. statistical confidence reached)

OMNeT++ Summit 2016 Antonio Virdis 11

Single configuration

Scenario Generation Execution Result Management Result Analysis

slide-12
SLIDE 12

Topic 3: Writing/Reading Results

  • Available: scavetool + GUI interface (parsing)
  • Work on files using regular expressions.
  • Results are fully loaded into memory.
  • Alternatives?
  • Implementing a new writers?
  • Connecting results to factors?

OMNeT++ Summit 2016 Antonio Virdis 12

Scenario Generation Execution Result Management Result Analysis

  • utput-scalar-file = ${configname}-${runnumber}-${iterationvars}-${repetition}.sca
slide-13
SLIDE 13

Topic 4: Result Analysis

  • Built-in in OMNeT via GUI
  • Connection with R, Octave, Matlab…
  • Data representation: gnuplot interface anyone?

OMNeT++ Summit 2016 Antonio Virdis 13

Scenario Generation Execution Result Management Result Analysis

slide-14
SLIDE 14

Topic 5: Unified Framework

OMNeT++ Summit 2016 Antonio Virdis 14

Scenario Generator Launcher Parser Analyzer Result files values

Factors Parameters