Shadow prediction: SQL 2014 spatial data types and astronomy well mixed.

Slides:



Advertisements
Similar presentations
Pleased to Meet You Five people meet in a room. Each one shakes hands with the other four. How many handshakes are there? (Hint: Draw a picture)
Advertisements

Cylindrical and Spherical Coordinates
Coordinate Geometry – The Circle This week the focus is on solving problems which involve circles, lines meeting circles and lines and circles intersecting.
Make An Astrolabe A Tool Used in Exploring The Night Sky.
Coordinate System & Time/Calendar
Prof. D.C. Richardson Sections
Chapter 1 Charting the Heavens
John T. McGraw, Professor Laurel Ladwig, Planetarium Manager
Astronomy and Cosmology week 2 - Tuesday Star Date Short lecture on Ch.1-2 Questions? Your Web-X posts Thursday assignments Solar motion workshop: predictions.
Astronomy Foundations – Chapter 0
Coordinate systems in Astronomy
Cylindrical and Spherical Coordinates Representation and Conversions.
PHY134 Introductory Astronomy
POSITION BY INTERSECTION. Learning Objectives After this lecture you will be able to: n Determine adjusted geographic coordinates from field distance.
A C B Introduction To Spherical Trigonometry/Astronomy
A battle for the ages….  Where Do Degrees Come From?  Before numbers and language we had the stars.  Ancient civilizations used astronomy to mark.
Perimeter Rectangles, Squares, and Triangles Perimeter Measures the distance around the edge of any flat object. To find the perimeter of any figure,
7.6 Law of Sines. Use the Law of Sines to solve triangles and problems.
Geometry Equations of a Circle.
Grab your text book Chapter 1 Astronomy Today 7th Edition
Getting Oriented: Astronomical Coordinate Systems Why are we doing this? Lecture material for next week’s lab Basis for many important technological accomplishments.
Title: Moon.
1 Put Corporate Volunteers to Work! Jennifer Bennett, CVA, Senior Manager, Education & Training VolunteerMatch.
Modern Navigation Thomas Herring MW 11:00-12:30 Room
Constellations A constellation is a region of the sky.
© 2011 Pearson Education, Inc. Lecture Outlines Chapter 1 Astronomy Today 7th Edition Chaisson/McMillan.
© 2011 Pearson Education, Inc. Lecture Outlines Chapter 1 Astronomy Today 7th Edition Chaisson/McMillan.
Introduction to Astronomy.  Observations lead to theories and laws  Laws are concise statements that summaries a large number of observations.  Theories.
GRADE 8 PYTHAGOREAN THEOREM  Understand and apply the Pythagorean Theorem.  Explain a proof of the Pythagorean Theorem and its converse. Here is one.
Chapter 7 – UQ: How do you solve for missing sides and angles in a non-right triangle?
Thank you for using this pre-visit resource. We believe this will help strengthen student learning leading up to and during your gallery visit. Due to.
Last time: 2.1. Patterns in The Sky: Stars and constellations, TODAY: celestial coordinates 2.2 Seasons,…Precession 2.2 (cont.) The Moon and Eclipses.
Chapter 0 Lecture Charting the Heavens.
Chapter 1 Predicting the Motions of the Stars, Sun, and Moon.
New Solids: Pyramids, Cones, Spheres Challenge Questions Projects and exam area next week! Sites: 1, 2, 3123 Videos (Bubbles is #2): 1, 212.
Sullivan Algebra and Trigonometry: Section R.3 Geometry Review Objectives of this Section Use the Pythagorean Theorem and Its Converse Know Geometry Formulas.
GG 450 Feb 27, 2008 Resistivity 2. Resistivity: Quantitative Interpretation - Flat interface Recall the angles that the current will take as it hits an.
1.7 Introduction to Perimeter, Circumference, and Area Geometry.
1.9 Distance & Midpoint Formulas Circles Objectives –Find the distance between two points. –Find the midpoint of a line segment. –Write the standard form.
Chapter 7 – UQ: How do you solve for missing sides and angles in a non-right triangle?
Unit 11 Review By: Jason/Julia. Overview of Key Concepts ● Finding volume of… o Prisms and Cylinders o Pyramids and cones o Spheres ● Finding surface.
Chapter 0: Charting the Heavens. Units of Chapter 0 The “Obvious” View Earth’s Orbital Motion The Motion of the Moon The Measurement of Distance Science.
INTRODUCTION TO MDX. Stick around for SWAG! (Prize drawing at 5.00 p.m)  All our volunteers and organisers do not get paid for running SPS SQLSaturday.
Lecture Outlines Astronomy Today 8th Edition Chaisson/McMillan © 2014 Pearson Education, Inc. Chapter 1.
How to create a Windows app with Project Siena, SharePoint and Office 365 Knut Relbe-Moe Office 365 MVP Chief Technical Architect.
Configure on-premises SharePoint environment for App/Add-in Koncern-it Dias 1.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Risk Assessment AFFORDABLE SOLUTION USING E XCEL AND P OWER BI.
SQL Server High Availability Introduction to SQL Server high availability solutions.
INTRODUCTION TO MDX. Stick around for RAFFLE and the AFTER EVENT!  All our volunteers and organisers do not get paid for organizing this event – If.
Lecture Outlines Astronomy Today 8th Edition Chaisson/McMillan © 2014 Pearson Education, Inc. Chapter 1.
SECURING SQL AZURE DATABASE? Boris Hristov SQLSaturday #413 Copenhagen.
© 2011 Pearson Education, Inc. Chapter 1 Charting the Heavens.
© 2017 Pearson Education, Inc.
From MDS to SSRS - a short walkthrough
Module 13: Creating Highly Concurrent SQL Server 2012 Applications
Astronomical distances.
NEUTRAL GEOMETRY PRESENTED BY: WARSOYO
SSIS Custom Pipeline Component A step-by-step guide
SSIS Custom Pipeline Component A step-by-step guide
From Navision Dynamics Nav to Power BI Dashboard in 45 minutes
SQL 2016 spatial data types and astronomy well mixed
Mr. Young’s Geometry Classes, Spring 2005
Warm Up Find the missing side length Find the missing angle.
GEOMETRI ELIPTIK Oleh : ADANG KUSDIANA NIM
Performance tuning Tabular and PowerPivot models
Finding celestial objects in our night sky … … requires knowing celestial coordinates, based on the time of night, and our location Every star, cluster,
Arne Bartels Shadow prediction: SQL 2017 spatial data types and astronomy well mixed.
Mr. Young’s Geometry Classes, Spring 2005
Presentation transcript:

Shadow prediction: SQL 2014 spatial data types and astronomy well mixed

Agenda  Whoami  Motivation  Examples  How to model?  What is needed?  Demo1: Drawing circles or Introduction to spacial datatypes  Tools 1: Tilt of coordinate system/spherical trigonometry  Demo2: Paint the sun in the sky  Tools 2: Azimuth, altitude, size  Demo3: Add the turbine(s)  Bonus : Astronomy, precise to the second

Whoami  Arne Bartels  Working for Vestas Windsystems A/S in Aarhus DK. Since approx as Data Warehouse Developer  Software developer in wind industry since 2001  Physicist by training, programmer by profession  Worked in C/C++,Pascal,Linux scripts/PHP, MySQL…  Recent: T-SQL, SSIS, C#  

Motivation  Inspired by real world challenge  Encourage to use unusal combination of methods  Introduce spatial data types i.e. GEOGRAPHY  A shift of perspective might give new ideas  Show what Management Studio/SQLServer can do  Show off what I can do

Tauernwind

How to model?  Assume worst case i.e. turbine is always pointed in the sun, then the turbine can be modeled as a sphere on top of the tower. The radius is the blade length or a bit more.  The house in the shadow can be encompassed by a circle where no shadow is allowed.  Then the sensitive areas can be projected as circles in the sphere, that represents the sky seen from the house  Compare to path of the sun seen from the house  => simple drawings of circles with GEOGRAPHY are usable

What is needed?  Path of the sun -> formulas known for ages  Turbine picture in the sky -> basic (?) geometry

Demo1: Drawing circles or Introduction to spatial datatypes Goal: introduce the necessary datatypes and operators  Necessary tools:  Minimum SQL2012, here 2014  SQL Management studio  Any Database, here : AdventureworksDW2014  Imagination…

Tools 1: Tilt of coordinate system/spherical geometry  There seem to no way to move GEOGRAPHY elements in SQL directly. Possible solution: parse as XML, recalculate and recreate.  How do lat and lon change if we tilt by angle ?  Believe me, check here for yourself, or look in the appendixhere

Tools: Spherical Trigonometry

Demo 2: Paint the sun in the sky Goal: Model the sun’s area in the sky for different latitudes Subtract the part obscured by the ground, aka night 

Tools 2: Azimuth, altitude, size  

Azimuth  Precise solution: Precise solution  Short distance approximation:

Altitude

Width  Add both radiuses  Add sun radius full or partially

Demo 3: Add the turbine(s)  Refshaleøen Refshaleøen  Around the corner Around the corner  Microsoft Danmark Aps Microsoft Danmark Aps  Lille Havfrue Lille Havfrue

Bonus : Astronomy, precise to the second

Say thank you to our Sponsors :

Stick around for RAFFLE and the AFTER EVENT!  All our volunteers and organisers do not get paid for organizing this event – If you see them, please:  Give them a hug  Shake their hand  Say thank you  Spread the word  Get involved yourself  Don’t forget to thank the sponsors for their support  Thank the speakers for donating their time, energy and expenses