Multi-Tier Graphical Web Service for Simulating Reflectometry in Plasma Eliot Feibush, Gerrit Kramer, Ernest Valeo, Raffi Nazikian, Douglas McCune Princeton.

Slides:



Advertisements
Similar presentations
Building Portals to access Grid Middleware National Technical University of Athens Konstantinos Dolkas, On behalf of Andreas Menychtas.
Advertisements

17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
Vehicle Tracking Remote Control & Monitoring System.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
SALSA HPC Group School of Informatics and Computing Indiana University.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
SWIM WEB PORTAL by Dipti Aswath SWIM Meeting ORNL Oct 15-17, 2007.
11 DICOM Image Communication in Globus-Based Medical Grids Michal Vossberg, Thomas Tolxdorff, Associate Member, IEEE, and Dagmar Krefting Ting-Wei, Chen.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
ITER reflectometry diagnostics operation limitations caused by strong back and small angle scattering E.Gusakov 1, S. Heuraux 2, A. Popov 1 1 Ioffe Institute,
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
ElVis Features & Animations Michael Shmulevich PPPL Summer High School Intern Mentor – Eliot Feibush August 14, 2008.
Enabling Grids for E-sciencE Medical image processing web portal : Requirements analysis. An almost end user point of view … H. Benoit-Cattin,
Computer for Health Sciences
BAB 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT. User interface – –a program that controls a display for the user (usually on a computer monitor) and.
INTRODUCTION TO WEB DATABASE PROGRAMMING
High-Speed, High Volume Document Storage, Retrieval, and Manipulation with Documentum and Snowbound March 8, 2007.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
Web 2.0: Concepts and Applications 11 The Web Becomes 2.0.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
ElVis Developments for Simulation and Analysis Programs Tarun Pondicherry Summer 2006 Science Ed High School Intern Eliot Feibush, Mentor 8/16/2006.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
Postacademic Interuniversity Course in Information Technology – Module C1p1 Contents Data Communications Applications –File & print serving –Mail –Domain.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
第十四章 J2EE 入门 Introduction What is J2EE ?
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Development of ORBIT Data Generation and Exploration Routines G. Shelburne K. Indireshkumar E. Feibush.
Database structure for the European Integrated Tokamak Modelling Task Force F. Imbeaux On behalf of the Data Coordination Project.
PPPL Spring/Summer CO-OP 2006 Stephen Krenzel. Focus of the CO-OP The co-op focused on improving ElVis, an application for the visualization and monitoring.
GridFE: Web-accessible Grid System Front End Jared Yanovich, PSC Robert Budden, PSC.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Computer Emergency Notification System (CENS)
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Grid MP at ISIS Tom Griffin, ISIS Facility. Introduction About ISIS Why Grid MP? About Grid MP Examples The future.
Grid Chemistry System Architecture Overview Akylbek Zhumabayev.
Characterization of core and edge turbulence in L- and H-mode Alcator C-Mod plasmas Outline: Alcator C-Mod tokamak Fluctuation diagnostics Low to high.
CS 7: Introduction to Computer Programming Java and the Internet Sections ,2.1.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Holding slide prior to starting show. A Portlet Interface for Computational Electromagnetics on the Grid Maria Lin and David Walker Cardiff University.
ElVis Tutorial Eliot Feibush
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
Location Aware Information System (LAIS) Neftali Alverio Bryan Halter Jeff Cardillo Brian Reed Advisor: Prof. Tilman Wolf.
A radiologist analyzes an X-ray image, and writes his observations on papers  Image Tagging improves the quality, consistency.  Usefulness of the data.
Framework for Virtual Web Laboratory I. Petković M. Rajković.
ElVis – Collaborative Visualization Display and explore fusion data. Monitor TRANSP runs. Display input data. Retrieve shot data from MDSplus. Whiteboard.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Dispatching Java agents to user for data extraction from third party web sites Alex Roque F.I.U. HPDRC.
Java – in context Main Features From Sun Microsystems ‘White Paper’
Web 2.0: Concepts and Applications 11 The Web Becomes 2.0.
Data Optimization for Reflectometer Simulation Marc Osherson Science Education Summer Intern 9/1/2005.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data Acquisition Systems Tomoyuki Konno 1, Anatael Cabrera 2, Masaki.
Antonio Fuentes RedIRIS Barcelona, 15 Abril 2008 The GENIUS Grid portal.
WWW and HTTP King Fahd University of Petroleum & Minerals
Introduction to J2EE Architecture
Information Technology Ms. Abeer Helwa
Web Servers (IIS and Apache)
Presentation transcript:

Multi-Tier Graphical Web Service for Simulating Reflectometry in Plasma Eliot Feibush, Gerrit Kramer, Ernest Valeo, Raffi Nazikian, Douglas McCune Princeton Plasma Physics Laboratory

Reflectometer on Fusion Experiment Expensive, custom-made diagnostic instrument on fusion experiments. Limited opportunities for acquiring data from tokamaks. Emit radio frequency waves, measure reflected wave. Locate turbulence in plasma by correlating reflections from frequencies.

Goals for Software Simulation of Reflectometer ChallengesSolutions Visualize input & output with minimal changes to existing Fortran simulation code. Different computer platforms. Increase accessibility of simulation to physicists at different locations, different institutions. Distribution, installation Security Blend reflected waves with input plasma. Data size exceeds memory limits Transfer technology to other fusion codes. Develop new Java GUI for portability. Graphical input for visual verification. Web service - Java applet GUI in web browser. Java servlet on server side inside firewall. Simulation runs on compute servers. Grid certificates, MyProxy server. Scale to 8-bit data on server. Client color-codes to original range. Transform only visible pixels for efficient image blending. Develop reusable modules for graphs, plasma cross sections, monitoring, run history, credential management.

Internal Server http Web Server User’s PC, Mac, Linux Multi – Tier Architecture Java Client GUI Java Servlet Compute Cluster Wave Propagation Simulation Simulated Device Data compression netCDF files Experiment Data Server Acquired data Standardized Form Correlation Graphs Input Plasma Full Wave Solution Firewall Parametric Model

Internal Server http Web Server User’s PC, Mac, Linux Java Client GUI Java Servlet Compute Cluster Wave Propagation Simulation Simulated Device Data compression netCDF files Experiment Data Server Acquired data Standardized Form Correlation Graphs Input Plasma Full Wave Solution Firewall Parametric Model 2. Web server is accessible from anywhere on Internet. Forwards requests to Java servlet running in Tomcat container behind firewall. 3.Servlet can access files on portal and run programs. 4. Compute servers retrieve or model input plasma and run simulation code. Compute “cut-off “ visualization. 6. Extract & compress data needed by applet for display. 1. Java UI runs on user’s computer for interactive graphics & display. Sends requests to web server. Distribute Processing to Optimize Resources 7. Compute graphs on server, send graph objects to applet. 5. Large output files saved in user’s working directory on portal storage area.

Benefits of Java Client Applet Portable. No software installation. Accessible by Internet. Read URL files over the net. GUI classes. Porter, Duff image blending methods. Always run latest version, compatible with compute service maintained on server side. Elfresco – The Full Wave Reflectometer Simulation Code w3.pppl.gov/fwr

Server Functions Input plasma –Run program to generate parametric model of plasma. –Run program to retrieve standardized form of plasma from database of experiments. –Import netCDF file of electron density, temperature, magnetic field. –Compress input plasma to new file. Link to a URL. Send URL to client. Save input plasma file in working directory. Run wave propagation simulation code –Read new lines in progress file, return to client for monitoring. –Compress output to new file. Link to a URL. Send URL to client. –Create correlation graph and send to client. Run management –Create working directory for each new simulation run. –Assemble list of run history and send to client. –Send prior run parameters to client. –Schedule a run directory to be archived. –Delete a run directory. –Retrieve user’s X.509 credentials from MyProxy server.

Electron Density Temperature Magnetic Field 3. x keV 1 T Coils surround the vacuum vessel so magnetic field extends beyond the plasma. Visualize Input Plasma Cross Sections

Input Plasma: Experimental Shot MDS+ Database Acquired data Shot # Shot # Shot... Standard Form Run A83 Run A83 Run... Acquired data from each shot Process into Standardized Form Retrieve 2-D Profile Electron Density Temperature Magnetic Field netCDF file - Input to wave simulation National Spherical Torus Experiment Produces shots of plasma within the vacuum vessel surrounded by magnetic field coils.

Input Plasma: Parametric Model Parameters Major Radius Minor Radius Maximum Electron Density Maximum Temperature Maximum Magnetic Field Ellipticity Shift Ellipticity 1.3 Shift 30% Ellipticity.8 Ellipticity 1.3 Calculate profiles when measured data from experiment is not available. Electron density & temperature are highest at center of plasma and decrease toward edges.

Input Plasma: Simulate New Design Programatically create density, temperature, & magnetic field profiles. Cross section of ITER, the international fusion project to be constructed, is shown with 1 transmitter and 4 receivers. Transmitter sends waves toward plasma. Receivers measure reflected amplitude of reflected waves.

Wave Reflection Layer (Cut-off Location) O-mode LX-mode RX-mode Visualizing location in plasma where a radio frequency wave will be reflected. Helps the user select frequency for investigating a specific location in the plasma. Color bands preferred to grayscale for perceiving frequency range even though information is only 1 dimensional. Transmitter is outside the plasma, on the left or right side. Emits waves toward plasma. Color code indicates frequency of wave reflected at a location.

Wave Reflection Calculation Reflectometers emit radio frequency waves, typically up to 140 Ghz. Waves penetrate plasma proportional to frequency. O-mode (ordinary emitted waves) reflection location: X-mode (circularly polarized emitted waves) reflection location:

Interactive Graphical Input User positions transmitter and receivers. Specify frequencies. Full Wave (high density) & Paraxial (lower density) compute regions. Regions & text drawn with white shadow to increase visibility. Interactive crosshair on graph for finding reflection location (R = 1.92) of 53 Ghz wave. Visually verify input before running simulation

Multi-Tier Simulation & Graphical Output Simulation computes amplitude of reflected waves. Visualized relative to O-mode reflection locations. Graphed at upper right. User interface assembles all input. Sends as HTTP request to servlet: Run simulation. Polls for incremental updates to monitor progress of simulation. Server compresses output for display. Creates output in a URL file. Applet downloads from URL and displays results.

Visualize Solution from Simulation 53 Ghz wave reflection is displayed. Blending shows wave reaching reflection layer (R = 1.92) predicted by color-coded cut-off visualization. 45 Ghz wave can not propagate as far as 53 Ghz so it reflects at R = 2.1

Efficient Image Blending Blend Buffer (500 x 500 pixels) Allocated to size of Display Area. Input arrays are clipped before transforming. Input Plasma 600 x 900 Computed Simulation of reflected waves x 400. Pixels per meter is greater than input plasma. Horizontal resolution ≠ vertical resolution; Full wave > paraxial resolution. Display Area in Java applet (500 x 500 pixels) Transform to blend buffer only the visible pixels corresponding to Display Area. r 1, z 1 r 2, z 2 r’ 1, z’ 1 r’ 2, z’ 2 Full WaveParaxial

Correlation graphs of 4 frequencies between 2 receivers. Decreasing correlation indicates fluctuation and turbulence areas in the plasma. Graphs created on server where all data is accessible. Graphing software, written in Java, integrates data exploration and display. Graph objects containing actual data are created in Java servlet. Serialized graphs sent to Java applet as HTTP response. Graph class running in applet has methods for display and exploration. Graphs are not static images. Graphs have interactive display features. Correlation Graphs Created on Server

Security Model User applies for X.509 certificate. –Requires approval by human. –Create user’s work directory within portal. –Sub-directory for each run created automatically. Globus runs jobs in protected directory on compute server. Credential stored on MyProxy server. Retrieved by servlet via user password. No certificate files for user to misplace.

Reusable Software Components Develop object-oriented Java classes for applet and servlet. Scientific Graphics –Gryph.java – base class for objects, graphical glyphs, drawn in R-Z coordinate system. Extended for rectangular regions, antenna icons, wave paths. –f(x) graphs, indexed f(x, i ) graphs with time-step animation. –Color-coded f(x,y) graphs & legends of plasma cross sections. Simulations –Sign on to portal. Retrieve & manage security credentials. –Submit jobs. –Monitor a run. Applet polls from a new thread so GUI can continue running. –Maintain run history.

Conclusion Successful approach for adding graphical input and output to simulation with minimal changes to original Fortran code. Web service makes simulations more accessible to user community. System architecture optimizes resources of various computers. Credential server is convenient for users and compatible with security. Browser memory limits overcome by scaling data on server. Efficient blending of zoomed images by transforming only visible pixels. Visualization guides choosing frequencies. Reusable modules enable web services for other fusion simulation codes.