Simulation plugins: EPP

Slides:



Advertisements
Similar presentations
Processing and Java David Meredith
Advertisements

Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Intro to Microsoft PowerPoint 2010 Public Computer Center, Moore Memorial Library, Greene, NY.
Total Quality Management Tools
1 Copyright © 2014 Tata Consultancy Services Limited Source Code Management using Rational Team Concert IBM Rational, Alliance & Technology Unit 2 July.
Programming with Images (continued). Another teachpack – “tiles.ss” Download from the website: “ Save.
How To Make Graphs in Microsoft Excel Outline Making Bar Graphs Making Scatter Plots – 1 series Making Scatter Plots – Multiple Series.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
ADOBE WEAVER WEB DESIGN. START THE DW 2 WORKSPACE LAYOUT Application Bar Document Toolbar Document Window Workspace Switcher Property Inspector GroupPanel.
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
SPREADSHEET BASICS SPREADSHEET BASICS What are the benefits of using a spreadsheet to solve a problem?
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
Active-HDL Interfaces Debugging C Code Course 10.
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
Project Deployment IT [211 CAP] How to convert your project to a full application.
How to start Visual Studio 2008 or 2010 (command-line program)
Version How to Use Packet Tracer MarinaMD.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
1 CSC 221: Computer Programming I Spring 2008 Objects and classes: a broad view  software objects, classes, object-oriented design  BlueJ IDE, compilation.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Nissan FAST Installation
Places Bar The Places bar contains shortcuts to five standard folders: History, Desktop, My Documents, My Computer, and My Network Places. (We’re looking.
1 Setting Up for RePast, and Running a Repast Stand Alone Example 06/21/2004 by Deddy Koesrindartoto Department of Economics Iowa State University.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Use Flowchart modeling to design and create an interactive quiz to be run on Powerpoint. Start Question Click to start the quiz Correct Incorrect, try.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
How to Create a PowerPoint Presentation Mrs. Leah Craft University of Mississippi NMGK-8.
Computer Science I Programming in Java (programming using Processing IN Java, using IntelliJ IDE) Classwork/Homework: copy your Processing projects over.
Double click here to add event title Double click here to add event date Double click here to add event time Double click here to add event location.
Introduction to Eclipse Programming with an Integrated Development Environment.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
Create Windows Setup and Deployment Projects Windows Development Fundamentals LESSON 5.2.
CS122 – Quiz 2 Winter, 2013 Quiz Hints. Quiz 2 Hints Question 1 – working with the “if” statement  First, we did not fully explain the structure of the.
Downloading the MAXENT Software
SEAMCAT’s propagation model plugin Karl Koch, BNetzA, CEPT SEAMCAT Workshop Copenhagen,
SEAMCAT European Communications Office José Carrascosa - SEAMCAT Manager 5 April 2016.
How to use MATLAB (using M-files) Double click this icon To start Matlab 6.5.
ECLIPSE IDE & PACKAGES. ECLIPSE IDE Setting up workspace Making a new project How to make classes Packages (will explain more about this) Useful short-cuts.
HMI - Web Visualization
Plugin overview Functional Plugins (PMP)
Workshop Terminology.
Introduction to Programming
Antenna Gain Plugin (AGP)
Extensions, System Outline and Correlation Modes and
Post Processing Plugins: PPP
System Plugin (SP).
Eclipse Navigation & Usage.
Introduction to Programming
X AND R CHART EXAMPLE IN-CLASS EXERCISE
Call to Fix HP Printer Installation Error Code 1603
MATLAB How to use (using M-files) Double click this icon
MATLAB How to use (using M-files) Double click this icon
1. Open Visual Studio 2008.
MATLAB How to use (using M-files)
Introduction to Programming
Exercise 1 Modify some parameters in the histogram.js and see what would happen (one by one) 20 in Line 2  in Line 3  in Line 15  .9.
Accessing Databases with ADO.NET, Handling Exceptions, and Printing
These slides are for reference only. They are not "lecture notes"
Chapter 5 Processing Input with Applets
Area Learning Intentions
University of Warith AL-Anbiya’a
Introduction to Programming
Java Code Review with CheckStyle
Navigating Excel.
Presentation transcript:

Simulation plugins: EPP

Event Processing Plugin (EPP) Event Processing Plugin (EPP): A plugin that uses calculations done in the core of SEAMCAT and that processes them to produce alternative results In contrast with the functional plugins, simulation plugins do not compute one value but rather collect as many result values as the plugin specifies. It runs after a snapshot and inspects the values produced. In other words, it runs adjacent to the simulation.

Event Processing Plugin (EPP) Value definitions Using Factory.results() a value is defined and collected. Collector.add(…) is used to capture the value All types that are possible to collect and how they are collected is shown in the following table.

Event Processing Plugin (EPP) Value definitions Type Definition Collection Vector Factory.results().value(“vectorName”, “unit”); collector.add(def, 3.2); Integer Factory.results().single(“intName”,”unit”); collector.add(def, 22); Long Factory.results().single(“longName”,”unit”); collector.add(def, 23419231323991L); Double Factory.results().single(“doubleName”,”unit”); collector.add(def, 2.3); String Factory.results().single(“stringName”,”unit”); collector.add(def, “value”); Bar chart Factory.results().multi(“barName”,”x-axis”,”y-axis”); collector.add(def, new BarChartValue(“name”, 3.4)); Scatter Factory.results().multi(“scatterName”,”x-axis”,”y-axis”); collector.add(def, new Point2D(1.3, 2.5)); Function Factory.results().function(“functionName”,”x-axis”,”y-axis”); Function fun = Factory.functionFactory() .constantFunction(2.3);   collector.add(def, fun);

Event Processing Plugin (EPP) Value definitions Running all of the above code snippets in an EPP produces the following output in the SEAMCAT results tab:

EPP Exercise Sample Event Processing Plugin: In this exercise we will implement a simple Event Processing Plugin and see how it works inside SEAMCAT. To start the exercise you need to access the file SampleEPP.java (under the src folder) in IntelliJ.

EPP Exercise Unzip the file Exercise2_EPP.zip and import it as a project into intelliJ. Set it up as described in the Computer Setup presentation Open the SampleEPP.java file:

EPP: Implement the class SampleEPP.java Fill out the code following the comments in Step 1 to 2:

As described in the Computer setup presentation: EPP: Build the .jar file As described in the Computer setup presentation: Build the .jar file : press Build -> Build Artifacts... -> Exercise2.jar -> Build The generated artifact is available under the folder out -> artifacts -> Exercise2_jar

EPP: Install the .jar file in SEAMCAT Open the new EPP from the Event Processing Plugin library in SEAMCAT. The plugin named Sample EPP should appear:

Add this EPP to the scenario EPP: Run the plugin Add this EPP to the scenario

Running the scenario will give the following results EPP: Run the plugin Running the scenario will give the following results Double clicking will show the rx points collected:

Running the scenario will give the following results EPP: Run the plugin Running the scenario will give the following results Double clicking will show the rx points collected. There are 10 collected points from each snapshot and they appear in random order

EPP: Run the plugin Turning the simulation events up to 1000 the picture shows a circle shape more clearly:

EPP: Run the plugin Change the victim system to OFDMA UpLink Configure it with the following layout:

EPP: Run the plugin Run the simulation with 10 events. You will obtain the following layout. The squares correspond to the receiver positions (base stations). In contrast to the generic system, here the positions are fixed so each event will capture 19 Rx positions.

EPP: SOLUTION

Questions?