Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The...
Transcript of Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The...
![Page 1: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/1.jpg)
Remembering Bertram Broberg
The ENIAC Forecasts:A Recreation
Peter LynchUCD Meteorology & Climate Centre
School of Mathematical Sciences
Joint Symposium ofIrish Mechanics Society
Swedish National Committee for MechanicsIrish Society for Scientific & Engineering Mechanics
9–10 May, 2007.
![Page 2: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/2.jpg)
Outline of the lecture
• Introduction
• Preparing the Ground
• The First Computer Forecast
• Into Operations
• Recreating the Forecasts
2
![Page 3: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/3.jpg)
Pioneers of Scientific Forecasting
Cleveland Abbe, Vilhelm Bjerknes, Lewis Fry Richardson
3
![Page 4: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/4.jpg)
Cleveland Abbe
By 1890, the American mete-orologist Cleveland Abbe hadrecognized that:
Meteorology is essentially theapplication of hydrodynamicsand thermodynamics to theatmosphere.
Abbe proposed a mathemati-cal approach to forecasting.
4
![Page 5: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/5.jpg)
Vilhelm Bjerknes
A more explicit analysis ofweather prediction was un-dertaken by the Norwegianscientist Vilhelm Bjerknes
He identified the two cru-cial components of a scientificforecasting system:
• Analysis
• Integration
5
![Page 6: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/6.jpg)
Lewis Fry Richardson
The English Quaker scien-tist Lewis Fry Richardson at-tempted a direct solution ofthe equations of motion.
He dreamed that numericalforecasting would become apractical reality.
Today, forecasts are preparedroutinely using methods sim-ilar to Richardson’s . . .
. . . his dream has indeedcome true.
6
![Page 7: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/7.jpg)
Richardson’s Forecast Factory
c©Francois Schuiten
7
![Page 8: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/8.jpg)
Richardson’s Forecast Factory
c©Francois Schuiten
64,000 Computers: The first Massively Parallel Processor
7
![Page 9: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/9.jpg)
Crucial Advances, 1920–1950
�Dynamic Meteorology
� Quasi-geostrophic Theory
�Numerical Analysis
� CFL Criterion
�Atmopsheric Observations
� Radiosonde
�Electronic Computing
� ENIAC
8
![Page 10: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/10.jpg)
The Meteorology ProjectProject estblished by John von Neumann in 1946.
Objective of the project:To study the problem of predicting the weatherusing a digital electronic computer.
A Proposal for Funding listed three “possibilities”:
�New methods of weather prediction
�Rational basis for planning observations
�Step towards influencing the weather!
9
![Page 11: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/11.jpg)
The ENIAC
10
![Page 12: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/12.jpg)
The ENIAC
The ENIAC was thefirst multi-purposeprogrammable elec-tronic digital com-puter.It had:
• 18,000 vacuum tubes
• 70,000 resistors
• 10,000 capacitors
• 6,000 switches
• Power: 140 kWatts
11
![Page 13: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/13.jpg)
The ENIAC: Technical Details.ENIAC was a decimal machine. No high-level language.Assembly language. Fixed-point arithmetic: −1 < x < +1.10 registers, that is,Ten words of high-speed memory.Function Tables:624 6-digit words of “ROM”, set onten-pole rotary switches.“Peripheral Memory”:Punch-cards.Speed: FP multiply: 2ms(say, 500 Flops).Access to Function Tables: 1ms.Access to Punch-card equipment:You can imagine!
12
![Page 14: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/14.jpg)
Evolution of the Project
• Plan A: Integrate the Primitive Equations
Problems similar to Richardson’s would arise
• Plan B: Integrate baroclinic Q-G System
Too computationally demanding
• Plan C: Solve barotropic vorticity equation
Very satisfactory initial results
13
![Page 15: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/15.jpg)
Charney, et al., Tellus, 1950.[Absolute
Vorticity
]=
[Relative
Vorticity
]+
[Planetary
Vorticity
]η = ζ + f .
• The atmosphere is treated as a single layer.• The flow is assumed to be nondivergent.• Absolute vorticity is conserved.
d(ζ + f )
dt= 0.
This equation looks deceptively simple. But it is nonlinear:
∂
∂t[∇2ψ] +
{∂ψ
∂x
∂∇2ψ
∂y− ∂ψ
∂y
∂∇2ψ
∂x
}+ β
∂ψ
∂x= 0 ,
14
![Page 16: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/16.jpg)
Charney, Fjørtoft, von Neumann
Charney Fjørtoft von Neumann
Numerical integration of the barotropic vorticity equationTellus, 2, 237–254 (1950).
15
![Page 17: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/17.jpg)
Solution method for BPVE∂ζ
∂t= J(ψ, ζ + f )
1. Compute the Jacobian
2. Step forward (Leapfrog scheme)
3. Solve Poisson equation ∇2ψ = ζ (Fourier expansion)
4. Go to (1).
• Timestep : ∆t = 1 hour
• Gridstep : ∆x = 750 km (at North Pole)
• Gridsize : 19× 16 ≈ 300 points
• Elapsed time for 24 hour forecast: About 24 hours.
Each forecast involved punching about 25,000 cards.Most of the time was spent handling card-decks.
16
![Page 18: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/18.jpg)
Flow-chart for the computations.G. W. Platzman: The ENIAC Computations of 1950 — Gateway to Numerical Weather Prediction (BAMS, April, 1979).
17
![Page 19: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/19.jpg)
ENIAC: First Computer Forecast
18
![Page 20: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/20.jpg)
Key people in the ENIAC endeavour19
![Page 21: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/21.jpg)
NWP OperationsThe Joint Numerical Weather Prediction
Unit was established on July 1, 1954:
�Air Weather Service of US Air Force
�The US Weather Bureau
�The Naval Weather Service.
Operational numerical weather forecasting be-gan in May, 1955, using a three-level quasi-geostrophic model.
20
![Page 22: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/22.jpg)
Recreating the ENIAC Forecasts
The ENIAC integrations have beenrecreated using:
• A MATLAB program to solve the BVE
• Data from the NCEP/NCAR reanalysis
The matlab code is available on the author’s website
http://maths.ucd.ie/∼plynch/eniac
21
![Page 23: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/23.jpg)
NCEP/NCAR ReanalysisThe initial dates for the four forecasts were:
• January 5, 1949
• January 30, 1949
• January 31, 1949
• February 13, 1949
When a reconstruction was first conceived,a laborious digitization of hand-drawn chartsappeared necessary.
22
![Page 24: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/24.jpg)
23
![Page 25: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/25.jpg)
24
![Page 26: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/26.jpg)
25
![Page 27: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/27.jpg)
The computational grid for the integrations26
![Page 28: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/28.jpg)
ENIAC Forecast for Jan 5, 1949
27
![Page 29: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/29.jpg)
Recreation of the Forecast
28
![Page 30: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/30.jpg)
29
![Page 31: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/31.jpg)
30
![Page 32: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/32.jpg)
31
![Page 33: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/33.jpg)
Computing Time for ENIAC Runs
�George Platzman, during his Starr Lec-ture, re-ran an ENIAC forecast
�The algorithm was coded on an IBM5110, a desk-top machine
�The program execution was completedduring the lecture (about one hour)
�The program eniac.m was run on a SonyVaio (model VGN-TX2XP)
�The main loop of the 24-hour forecastran in about 15 ms.
32
![Page 34: Remembering Bertram Broberg - UCDplynch/Talks/IMG-ENIAC.pdf · 2008. 10. 16. · The ENIAC The ENIAC was the first multi-purpose programmable elec-tronic digital com-puter. It had:](https://reader036.fdocuments.us/reader036/viewer/2022062610/6104af69c8ecb353a350cbb7/html5/thumbnails/34.jpg)
Thank You
33