solar thermal plant design and operation suite of tools computation using opencl

24
SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL Instructor: Dr.Perez Davila 1

Upload: korene

Post on 19-Mar-2016

60 views

Category:

Documents


0 download

DESCRIPTION

SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL. Instructor: Dr.Perez Davila. MENTOR INFORMATION Mr.Peter Armstrong - [email protected] Tietronix Software Inc. TEAM INFORMATION. Ramesh Pathuri - [email protected]  - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF

TOOLS COMPUTATION USING OPENCL

Instructor: Dr.Perez Davila1

Page 2: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

TEAM INFORMATION1. Ramesh Pathuri - [email protected] 2. Manasa Ravi - [email protected]. Ravinder Rao Chikkaraju [email protected]  4. Sunil Alasyam - [email protected]

MENTOR INFORMATION• Mr.Peter Armstrong - [email protected]• Tietronix Software Inc.

2

Page 3: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

AGENDA• Introduction• Project Objective• Requirements• Problem Specifications• Use case Diagram• Sequence Diagram• Workflow Diagram• System Architecture • Implementation• Algorithm• Applied Technologies• Project Timeline• Website Demo• Progress• References

3

Page 4: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

INTRODUCTION• Solar thermal power plants are used to generate electricity from the energy of the sun.

• Heliostat-Movable mirrors that are used in the solar energy power plants.

4

Page 5: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

INTRODUCTION• Shading occurs when a heliostat casts its shadow on another heliostat located behind it.

• Blocking occurs when a heliostat in front of another heliostat, blocks the reflected suns energy on its way to the receiver.

5

Page 6: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

PROJECT OBJECTIVE

• To develop a suite of software that can support the solar plant designers in computing the shading and blocking of a field of heliostats in real time.

• To produce a continuously updated 2D color contour map that represents the overall efficiency of the heliostat field.

• To calculate the position of the sun.

• To allow users to control the simulation date and time, the rate of change of time, the camera position.

6

Page 7: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

REQUIREMENTS• To read a text file in the format of ID,S,E,Z,R.

• To set the heliostat width and height, the pedestal height, receiver radius, and tower focal height entered by user.

• To find out the sun position at the date and time entered in by the user.

• To display the azimuth and elevation of the sun.

• To compute the shading and blocking of each heliostats.

• To render a 2D contour map of heliostat field.

7

Page 8: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

PROBLEM SPECIFICATIONS• Find the equation of the plane of target mirror.

• Find the co-ordinates of the target mirror on the absolute

coordinate system.

• Find the co-ordinates of the source mirror on the absolute

coordinate system.

• Compute the sun vector(X,Y,Z) in the absolute coordinate system.

• Compute the projections of the source mirror corners with respect

to sun vector on to the target mirror plane.

• Compute the intersection area of the target mirror and the

projected plane. 8

Page 9: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

USE CASE DIAGRAM

9

Page 10: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

10

Page 11: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

User System

1 : User gives input file()

2 : heliostat information()

3 : Latitude longitude()

4 : Time in UCT()

5 : Sun position()

6 : Shading and blocking()

7 : Writes output to the file()

11

Page 12: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

WORK FLOW DIAGRAM

12

Page 13: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

13

Page 14: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

Once the shading and blocking between two mirrors is

achieved it can be implemented on to eight mirrors.

The distance between the mirrors can be varied.

The Shading and Blocking for different values of ∆R and

∆Az are to be noted and stored.

14

Page 15: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

Psuedo Code

List outputList = subjectPolygon; for (Edge clipEdge in clipPolygon) do List inputList = outputList; outputList.clear(); Point S = inputList.last; for (Point E in inputList) do if (E inside clipEdge) then if (S not inside clipEdge) then outputList.add(ComputeIntersection(S,E,clipEdge)); end if outputList.add(E); else if (S inside clipEdge) then outputList.add(ComputeIntersection(S,E,clipEdge)); end if S = E; done done

Sutherland-Hodgeman polygon clipping algorithm:

15

Page 16: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

APPLIED TECHNOLOGIES• CUDA is NVIDIA’s parallel computing architecture that enables dramatic

increases in computing performance by harnessing the power of the GPU.

• A CUDA device is built around a scalable array of multithreaded

Streaming Multiprocessors(SMs).

16

Page 17: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

CUDA Features:

• CUDA driver is used for computing with fast data

transfer path between GPU and CPU.

• CUDA driver interoperates with OpenCL and DirectX

graphics drivers.

• It supports for Linux and Windows XP.

• GPUs have a parallel "many-core" architecture, and

each core can run thousands of threads

simultaneously.

CUDA

17

Page 18: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

OPENCL• OpenCL (Open Computing Language) is a new

heterogeneous computing environment, that runs on the

CUDA architecture.

• It will allow developers to harness the massive parallel

computing power of NVIDIA GPU’s to create compelling

computing applications.

18

Page 19: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

PROJECT TIMELINE

19

Page 20: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

http://dcm.uhcl.edu/caps10g5/index.html

20

Page 21: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

Work Done:• Worked on the SRS and Design of the project.• Research on shading and blocking.• Research on polygon clipping algorithm.

Future Work:• Computing the shading and blocking formulas.• Research on OpenCL.• Implementing the sun position vector.

21

Page 22: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

1. Ramesh Pathuri

Team Leader, Research , Programmer and Documentation.

2. Manasa Ravi

Algorithm, programmer and Documentation .

3. Sunil Alasyam

Research, Testing and Programmer.

4. Ravinder Rao Chikkaraju

Designer, programmer and Webmaster.

22

Page 23: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

Peter Armstrong. An Annotated Algorithm for Shading and Blocking Computations of a Field of Heliostats Arranged in a Grid Layout. Available from Tietronix Software, Inc.; received February 4 2010.

http://www.khronos.org/opencl/

http://www.khronos.org/developers/library/overview/opencl_overview.pdf

http://www.nvidia.com/object/cuda_opencl_new.html

http://2.bp.blogspot.com/_0A8DCf9FR68/Sk4bWJI54hI/AAAAAAAAAL4/zY57UgUhoA0/s400/solar-1.jpg

23

Page 24: SOLAR THERMAL PLANT DESIGN AND OPERATION SUITE OF TOOLS COMPUTATION USING OPENCL

Thank you

24