Scientific Programming MAIN INPUTINITCOMPUTEOUTPUT SOLVER DERIV FUNC2 TABUL FUNC1 STATIC BLASLAPACKMEMLIB.

Slides:



Advertisements
Similar presentations
National Institute of Advanced Industrial Science and Technology Ninf-G - Core GridRPC Infrastructure Software OGF19 Yoshio Tanaka (AIST) On behalf.
Advertisements

10.1 Introduction Chapter 10 PID Controls
Procedures and Functions. What are they? They are both blocks of code that can be reused to perform specific task. However there is a difference: Function-
Hydrological information systems Svein Taksdal Head of section, Section for Hydroinformatics Hydrology department Norwegian Water Resources and Energy.
LPDS MTA SZTAKI Equation Solver A Grid solution Important hint: A follow up example demonstrating the Parameter Study solution for the mass calculations.
Sorting Really Big Files Sorting Part 3. Using K Temporary Files Given  N records in file F  M records will fit into internal memory  Use K temp files,
Puzzle Image Processing Sam Bair (Group Leader) Nick Halliday Nathan Malkin Joe Wang.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
Computational Electronics Generalized Monte Carlo Tool for Investigating Low-Field and High Field Properties of Materials Using Non-parabolic Band Structure.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Parallelized Evolution System Onur Soysal, Erkin Bahçeci Erol Şahin Dept. of Computer Engineering Middle East Technical University.
Module on Computational Astrophysics Professor Jim Stone Department of Astrophysical Sciences and PACM.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 4 Programming and Software EXCEL and MathCAD.
Software. Application Software performs useful work on general-purpose tasks such as word processing and data analysis. The user interacts with the application.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
Lecture 9 Interpolation and Splines. Lingo Interpolation – filling in gaps in data Find a function f(x) that 1) goes through all your data points 2) does.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Computer Assisted Process Design---HYSYS Bo Hu. Introduction HYSYS is only one process simulation program out of a number. Steady State Processes ASPEN.
Numerical Grid Computations with the OPeNDAP Back End Server (BES)
Session 9, Unit 17 UAM and CAMx. UAM and CAMx UAM - Urban Airshed Model Currently available versions:  UAM-V 1.24  UAM-V 1.30  Available from Systems.
Island Based GA for Optimization University of Guelph School of Engineering Hooman Homayounfar March 2003.
Teaching with MATLAB - Tips and Tricks
CompuCell Software Current capabilities and Research Plan Rajiv Chaturvedi Jesús A. Izaguirre With Patrick M. Virtue.
Automating the Lee Model. Major Components Simulator code –Verifying outputs –Verifying model equations –Graphical User interface Auto-tuning the model.
Blue: Histogram of normalised deviation from “true” value; Red: Gaussian fit to histogram Presented at ESA Hyperspectral Workshop 2010, March 16-19, Frascati,
Analytical vs. Numerical Minimization Each experimental data point, l, has an error, ε l, associated with it ‣ Difference between the experimentally measured.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
Modeling Morphogenesis in Multi-Cellular Systems (Complex Systems Project) Heather Koyuk Spring 2005 Other Team Members CS Student: Nick Armstrong Chemistry.
NIH Resource for Biomolecular Modeling and Bioinformatics Beckman Institute, UIUC NAMD Development Goals L.V. (Sanjay) Kale Professor.
An Adaptive-Stochastic Boussinesq Solver With Safety Critical Applications In Nuclear Reactor Engineering Andrew Hagues PhD Student – KNOO Work Package.
Evolution of math programs in French high schools Yves Coudert Math Teacher – France 12th April 2013 Pan European EDU Conference.
Modeling and simulation of systems Simulation languages Slovak University of Technology Faculty of Material Science and Technology in Trnava.
1 Complex Images k’k’ k”k” k0k0 -k0-k0 branch cut   k 0 pole C1C1 C0C0 from the Sommerfeld identity, the complex exponentials must be a function.
“propagating ideas”. Rix=2.5 Rix=1 L=0.5 D=0.35 Our Aim.
3DFM – Agnostic Tracking of Bead Position CISMM: Computer Integrated Systems for Microscopy and Manipulation Project Investigators: Kalpit Desai, Dr. Gary.
Fuzzy Systems Michael J. Watts
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
The Software Development Process
Access Chapter 5-Table Tricks, Advanced Queries and Custom Forms.
George Goulas, Christos Gogos, Panayiotis Alefragis, Efthymios Housos Computer Systems Laboratory, Electrical & Computer Engineering Dept., University.
Texas A&M University, Department of Aerospace Engineering AN EMBEDDED FUNCTION TOOL FOR MODELING AND SIMULATING ESTIMATION PROBLEMS IN AEROSPACE ENGINEERING.
FRANEC and BaSTI grid integration Massimo Sponza INAF - Osservatorio Astronomico di Trieste.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Intro to Simulink April 15, Copyright , Andy Packard. This work is licensed under the Creative Commons.
Stein Unbiased Risk Estimator Michael Elad. The Objective We have a denoising algorithm of some sort, and we want to set its parameters so as to extract.
ME 142 Engineering Computation I Exam 3 Review Mathematica.
Quiz Week 8 Topical. Topical Quiz (Section 2) What is the difference between Computer Vision and Computer Graphics What is the difference between Computer.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Stability Analysis . A system is BIBO stable if all poles or roots of
© Ram Ramanan 2/22/2016 Commercial Codes 1 ME 7337 Notes Computational Fluid Dynamics for Engineers Lecture 4: Commercial Codes.
Chemical Compositions of Stars from IGRINS Spectra; the Good, the Risky, and the Ugly some comments on the uses and abuses of ordinary stellar abundance.
A field of study that encompasses computational techniques for performing tasks that require intelligence when performed by humans. Simulation of human.
Application Development in Engineering Optimization with Matlab and External Solvers Aalto University School of Engineering.
Intro to Simulink Modified by Gary Balas 20 Feb 2011 Copyright , Andy Packard. This work is licensed under.
Anders Nielsen Technical University of Denmark, DTU-Aqua Mark Maunder Inter-American Tropical Tuna Commission An Introduction.
哈工大信息检索研究室 HITIR ’ s Update Summary at TAC2008 Extractive Content Selection Using Evolutionary Manifold-ranking and Spectral Clustering Reporter: Ph.d.
Insert your name and class period here. 1. What is the goal of every equation you solve? 2. How do we accomplish this goal? Type your answer here.
Grid-Based Genetic Algorithm Approach to Colour Image Segmentation Marco Gallotta Keri Woods Supervised by Audrey Mbogho.
Sub-fields of computer science. Sub-fields of computer science.
Introduction.
Section 1 INTRODUCTION.
Computational Photonics
Objective of This Course
Presented By: Darlene Banta
Introduction To MATLAB
BUS-221 Quantitative Methods
Presentation transcript:

Scientific Programming MAIN INPUTINITCOMPUTEOUTPUT SOLVER DERIV FUNC2 TABUL FUNC1 STATIC BLASLAPACKMEMLIB

 How to split the code in modules and subroutines?  How to select the interface?  Many runs may require automatic documentation  Long runs may need interrupt/continuation possibility  How the results are going to be presented?

 Artificial Intelligence: object detection/classification  Data modelling  Dynamic models

Do you see structures on this image?

… but your computer code has to deal with this:

 Defining pixels that contain signal  Identifying clusters of pixels  Fitting some analytical shape function to the clusters → polynomial coefficients for each cluster  Merging clusters → re-doing polynomials

 You have measurements and physical model controlled by some parameters.  You want to find the set of parameters that realizes the best fit to your data  For example, fitting stellar spectrum  Equations:  Parameters: chemical composition Z  Given chemical composition we solve for intensity  Then we compare with the observations and adjust chemical composition

Outstanding issues:  Do we search for Z one at a time?  Can we associate Z and wavelength intervals?  Is there a clever way to wind optimal Z? E.g. Marquardt-Levenberg algorithm, but this requires 2 nd derivatives over Z.  Subroutines: input – reads in observations and line data init – computes process – does the optimization, needs evaluation of intensities and its 1 st and 2 nd derivatives over Z output – reports the result

Here is how the result of such optimization may look like:

3D hydro-dynamic simulations with radiative energy transport Hydro Radiation

Evolutionary models cannot be compared with observations directly. Therefore, post processing is crucial (analysis of various spectral and integral properties).

1. Many AI-type algorithms are hard to make robust. In same cases it is simply not possible. This requires a comfortable user interface and, perhaps, built-in graphics. Select the programming language wisely. 2. Data models and dynamic models: selected algorithm dictates code structure. 3. Think about the parameters that you are going to change. Make sure you do not need to modify the code to vary those parameters (e.g. grid size). 4. Complex numerical algorithms often require fine tuning and probing large space of parameters. This requires lots of numerical experiments. Incorporate in the code the ability to propagate to the output the parameters of each experiment (self-documentation).

5. Evolutionary codes have to run for long time to “forget” the initial conditions. In fact, it is often better to start from the results of a run with different set of parameters and than start from scratch. Make sure all the necessary results are saved to file(s) reasonably often so you can re-start you calculations. 6. Think in advanced what you may need to get out from your code and make sure this information is saved 7. Think about “easy to grasp” ways of presenting your results.

The lecture is on October 9th 2 nd session of the home work presentations will be next week, perhaps on October 8 th at 10:15am