TIDAL PREDICTION WITH A SMALL PERSONAL COMPUTER

Similar documents
APPLICATION OF AUTOMATION IN THE STUDY AND PREDICTION OF TIDES AT THE FRENCH NAVAL HYDROGRAPHIC SERVICE

OPTIMISATION PROCESSES IN TIDAL ANALYSIS

C o r p o r a t e l i f e i n A n c i e n t I n d i a e x p r e s s e d i t s e l f

Nov Julien Michel

DETERMINATION OF FIXED ERRORS IN NAVIGATIONAL (AND HYDROGRAPHIC) DECCA CHAINS

M A T R IX M U L T IP L IC A T IO N A S A T E C H N IQ U E O F P O P U L A T IO N AN A L Y S IS

S ca le M o d e l o f th e S o la r Sy ste m

Few thoughts on PFA, from the calorim etric point of view

A Comparison of Two Methods of Teaching Computer Programming to Secondary Mathematics Students.

SOME METHODS OF TIDAL ANALYSIS

EKOLOGIE EN SYSTEMATIEK. T h is p a p e r n o t to be c i t e d w ith o u t p r i o r r e f e r e n c e to th e a u th o r. PRIMARY PRODUCTIVITY.

The Ability C ongress held at the Shoreham Hotel Decem ber 29 to 31, was a reco rd breaker for winter C ongresses.

Drugs other than alcohol (medicines and illicit drugs) in people involved in fatal road accidents in Spain

LSU Historical Dissertations and Theses

Procedures for Computing Classification Consistency and Accuracy Indices with Multiple Categories

Alles Taylor & Duke, LLC Bob Wright, PE RECORD DRAWINGS. CPOW Mini-Ed Conf er ence Mar ch 27, 2015

GENETIC ALGORlIHMS WITH AN APPLICATION TO NONLINEAR TRANSPORTATION PROBLEMS

Feasibility Analysis, Dynamics, and Control of Distillation Columns With Vapor Recompression.

Form and content. Iowa Research Online. University of Iowa. Ann A Rahim Khan University of Iowa. Theses and Dissertations

T h e C S E T I P r o j e c t

The Ind ian Mynah b ird is no t fro m Vanuat u. It w as b ro ug ht here fro m overseas and is now causing lo t s o f p ro b lem s.

A L A BA M A L A W R E V IE W

Large chunks. voids. Use of Shale in Highway Embankments

(IGBP) km 2,? PRO GR ESS IN GEO GRA PH Y. V o l. 20, N o. 4 D ec., 2001 : (2001) m m 3,

A Study of Drink Driving and Recidivism in the State of Victoria Australia, during the Fiscal Years 1992/ /96 (Inclusive)

O B I T U A R Y C o t, F i c h o t

A MODEL FOR PREDICTION OF THE TIDAL CURRENTS IN THE ENGLISH CHANNEL

OH BOY! Story. N a r r a t iv e a n d o bj e c t s th ea t e r Fo r a l l a g e s, fr o m th e a ge of 9

ANALYSIS OF FORTNIGHTLY AND MONTHLY TIDES

On the M in imum Spann ing Tree Determ ined by n Poin ts in the Un it Square

Presented by Arkajit Dey, Matthew Low, Efrem Rensi, Eric Prawira Tan, Jason Thorsen, Michael Vartanian, Weitao Wu.

(2009) Journal of Rem ote Sensing (, 2006) 2. 1 (, 1999), : ( : 2007CB714402) ;

Sodium-Initiated Polymerization of Alpha- Methylstyrene in the Vicinity of Its Reported Ceiling Temperature

THE SHAPE OF THE EARTH GIVEN BY ARTIFICIAL SATELLITES

Author's personal copy

Comparative Analyses of Teacher Verbal and Nonverbal Behavior in a Traditional and an Openspace

I AM ASLEEP. 1. A nostalgia fo r Being. 2. The life force

Designing the Human Machine Interface of Innovative Emergency Handling Systems in Cars

TIDE AND TIDAL CURRENT PREDICTIONS BY DIGITAL COMPUTER IBM 7090

NAVIGATIONAL CHART OF THE NORTH ATLANTIC USING AN OBLIQUE CONFORMAL MAP PROJECTION

F O R M T H R E E K enya C ertificate of Secondary E ducation

Detection of the location of the hazard during and after the design of combinational circuits

TIDE PREDICTIONS USING SATELLITE CONSTITUENTS

On the convergence of solutions of the non-linear differential equation

A GRAPHICAL METHOD OF ADJUSTING A DOUBLY-BRACED QUADRILATERAL

Introd uction to Num erical Analysis for Eng ineers

CPU. 60%/yr. Moore s Law. Processor-Memory Performance Gap: (grows 50% / year) DRAM. 7%/yr. DRAM

I zm ir I nstiute of Technology CS Lecture Notes are based on the CS 101 notes at the University of I llinois at Urbana-Cham paign

What are S M U s? SMU = Software Maintenance Upgrade Software patch del iv ery u nit wh ich once ins tal l ed and activ ated prov ides a point-fix for

HYDROGRAPHIC SOUNDINGS IN SURF AREAS

Table of C on t en t s Global Campus 21 in N umbe r s R e g ional Capac it y D e v e lopme nt in E-L e ar ning Structure a n d C o m p o n en ts R ea

A DIGITAL METHOD FOR STAR SIGHTS

Results as of 30 September 2018

Breakup of weakly bound nuclei and its influence on fusion. Paulo R. S. Gomes Univ. Fed. Fluminense (UFF), Niteroi, Brazil

A NUMERICAL METHOD FOR COMPUTING THE CRAFT S POSITION

Straight Lines. Distance Formula. Gradients. positive direction. Equation of a Straight Line. Medians. hsn.uk.net

HARMONIC CONSTANTS Product Specification

Impact of Drink-drive Enforcement and Public Education Programs in Victoria, Australia

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

Agenda Rationale for ETG S eek ing I d eas ETG fram ew ork and res u lts 2

Definitions of Monomials, Polynomials and Degrees Adding and Subtracting Polynomials Definitions of Monomials, Polynomials and Degrees. disappear.

Oleh Wolowyna Research Triangle Institute. and. Ellen H. Starbird Agency for International Development

The Construction and Testing of a New Empathy Rating Scale

Feature Extraction Techniques

Grain Reserves, Volatility and the WTO

Oscar Cubo M edina fi.upm.es)

Physics 12 Rules for Significant Digits and Rounding

University Microfilms

Use precise language and domain-specific vocabulary to inform about or explain the topic. CCSS.ELA-LITERACY.WHST D

P a g e 5 1 of R e p o r t P B 4 / 0 9

MAST ACADEMY OUTREACH. WOW (Weather on Wheels)

The M echanism of Factor VIII Inactivation by H um an Antibodies

HYDROGRAPHIC SURVEYING AND DATA PROCESSING

Analysis and Experimental Study of Vibration System Characteristics of Ultrasonic Compound Electrical Machining

M ultiple O rg anisations of E ven ts in M em ory

Streaming Algorithms for Optimal Generation of Random Bits

EXAMPLE E. NCTM Standards

Mark Schem e (Results) Novem ber GCSE Mathem atics (Linear) 1MA0 Higher (Non-Calculator) Paper 1H

Chapter 5 Workshop on Fitting of Linear Data

c. What is the average rate of change of f on the interval [, ]? Answer: d. What is a local minimum value of f? Answer: 5 e. On what interval(s) is f

Beechwood Music Department Staff

3B/16. L a force portante des fondations en coins

The effect of pollutants of crude oil origin on the diffusive reflectance of the ocean*

Method to evaluate the L/D Ratio of Neutron Imaging Beams

Binary Convolutional Codes

(L uf engp ithecus luf engensis)

Computational Methods CMSC/AMSC/MAPL 460. Linear Systems, Matrices, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

I/O7 I/O6 GND I/O5 I/O4. Pin Con fig u ra tion Pin Con fig u ra tion

Geometric Predicates P r og r a m s need t o t es t r ela t ive p os it ions of p oint s b a s ed on t heir coor d ina t es. S im p le exa m p les ( i

Use precise language and domain-specific vocabulary to inform about or explain the topic. CCSS.ELA-LITERACY.WHST D

С-4. Simulation of Smoke Particles Coagulation in the Exhaust System of Piston Engine

Applying Metrics to Rule-Based Systems

The Effects of Physica l and Chem ica l Cond ition s on Form ing M ycelia l Pellet of P hanerochaete ch rysosp orium and B iosorption of L ead

MATH 310 TEST Measure April Answers

HYBRIDISATION OF A WAVE PROPAGATION MODEL (SWASH) AND A MESHFREE PARTICLE METHOD (SPH) FOR REAL APPLICATIONS

Archit ect ure s w it h

Adjusting BOOK TWO. Temperature. South Bend WatchCo. South Bend Watch Company. С. T. Higginbotham. Subject. Continued By. C onsulting Superintendent

H STO RY OF TH E SA NT

Binary Arithmetic: counting with ones

Streaming Algorithms for Optimal Generation of Random Bits

Transcription:

International Hydrographic Review, Monaco, LXII (2), July 1985 TIDAL PREDICTION WITH A SMALL PERSONAL COMPUTER by A.S. F R A N C O 1*1 ABSTRACT This paper show s how a personal com puter with 16Kb only can be used to work o ut the prediction of tides with a large num ber o f constituents. In addition, such constituents can be chosen at o n e s convenience and their harm onic and other constants can be recorded in any sta n d a rd m ini-cassette tape. 1. BACKGROUND Som e years ago I prepared a program for a program m able m ini-calculator to predict tides w ith ten constituents. As in the Tables des m arées des grands ports du m onde (B o n n o t & S im o n, 1984), there was no choice as regards the lim ited num ber o f constituents which could be used. Thus, the sm all m achine w orked in a sim ilar m an n er to the old Kelvin analogue tide-predictor. Since the personal m icro-com puter cam e into com m on use, I have bought one of the Sinclair systems and have w ritten o ut program s to w ork out several kinds of calculations w hich were done earlier in large com puters. In fact, I am now in a position to carry out F ourier analysis in this m achine, with FFT algorithm, for 2" sam ples; adjust polynom ials up to 10 degrees; wave refraction by using m ore than 1 000 depths; predict tides with about sixty constituents; and m any other com putations. T he Brazilian m ethod of tidal analysis indicates constituents w hich m ust be statistically rejected. Such constituents ap p ear flagged in the printed list. T hus our standard predicting program, for large com puters, is sufficiently flexible to use any non-flagged constituents. Based on th at standard program I prepared one for the personal com puter an d I succeeded in using a large num ber o f constituents o f my choice. (*) Advisor for Oceanography, Technical Directors Office of the Institute de Fesquisas Technologicas do Estado de S. Paulo S/A, Cidade Universitâria, 05508 Sâo Paulo SP, Brazil.

2. ASTRONOM ICAL ELEMENTS The first step o f the procedure is to find the perinodal factor / an d the phases V + u for Oh o f the desired date, for the 37 purely astronom ical constituents. A 38th fictitious constituent with f = 1 an d V + u = 0 was used in order to sim plify th e calculations. In order to com pute the uniform ly variable part K of astronom ical argum ents, it was necessary to store in the m achine : 38 frequencies ( /h) and a m atrix K(37,5), containing, in each row I, the five coefficients jo,j\,ji,ji and j 4, so that the argum ent for the Ith purely astronom ical co n stituen t is given by where, as usual /(/) = joi -I- jis + j2h + fip + j490 (la ) x = hour angle of the m ean m oon s = m ean longitude o f the m oon h = m ean longitude o f the sun p = m ean longitude o f the perigee. Since the m ean longitude p ' o f the perihelion had to be added to (la ) to obtain U(I) for (jti, t2) and subtracted from (la ) to find U(I) for (vyi, R2), the correction to U(I) was taken into account in the program. To com pute the perinodal correction / a n d u two m atrices o f (37,13) h ad also to be stored ( F r a n c o, 1981), w ith a to tal of 962 values. The vector, depending on p, N'(360 longitude of the ascending node) and p' to be pre-m ultiplied by the (37,13) m atrices, is generated by the p roduct o f a m atrix of 13 x 3 elem ents, stored in the m achine, by the vector { p Np'}T. The values o f U(I) are then corrected by sum m ing u. In short, the m achine had to sw allow 1 214 constants once and for all. Let us explain how it is possible. M y small com puter, a TIC 85 m ade in Brazil, perm its recording in the m ini-cassette the program w ith all the num bers entered with the input instruction. Thus I program m ed all the necessary inputs. A fterw ards, I rem oved these in stru c tions, but kept the respective D IM ( ). Then the program was recorded in the m ini-cassette. H ence, w hen the program is read, all the constants will be there. C onsequently, to run the program it is not possible to press the key R U N because in this case all the stored values w ould be cleared out. However, by using instead the G O TO instruction and the convenient program s label X X X, follow ing the last constant input, the stored constants will be preserved and the program will run norm ally and the / and the V+ u values will be com puted for the 37 purely astronom ical constituents. T he harm onic and other constants for the constituents used in the prediction are record ed on a m ini-cassette.

3. PREPARING THE TAPE WITH THE CONSTITUENTS The order for the 37 purely astronom ical constituents is fixed. Thus all their elem ents are related to rigid subscripts. In addition, the constituents used in the prediction can be related to these subscripts. If we ignore some very small shallow -w ater constituents, those h an d led in the prediction can be purely a stro n o m ical or the com bination o f three astronom ical constituents at m ost. Let us suppose that we wish to form the shallow w ater constituents 2 M N K 2. The subscripts of M 2, N 2 an d S2 are 28, 26 and 32 respectively; thus we have : G(I) = U(26) + 2 /(28) - 1/(34) w here U is the m atrix containing the values of V + u for the purely astronom ical constituents. If W is the m atrix o f the astronom ical constituent frequencies, then the com pound frequency is : R(I) = W (26) + 2W(2%) - W(34) The value / for th e sam e constituent is : H{I) = F(26) * [F(28)]2 * F(34) Expressions (3a) an d (3b) are bo th o f the form : S, = Z a, b, (3d) n= 1 w here a, and bin are, respectively, the three coefficients 1,2, 1 o f order I and the subscripts of the purely astronom ical U(J) an d IV(I). E xpression (3c) can be expressed as : IQ- I T, = 2 b, 'a,n' (3e) n = 1 The program uses expressions (3d) an d (3e), in a recurrent form, w here ain and bin are extracted from an alphanum eric m atrix X$ and converted into num bers w ith the VAL function, in order to fill m atrices G (I), H(I) and R(I). The harm onic constants g and H, extracted from X$ are, respectively, ad d ed to G (I) and m ultiplied by H(I), transform ing the elem ents o f these m atrices into phases and am plitudes respectively. If the constituent is purely astronom ical, as for instance M 2, then the corresponding coefficients and subscripts tak en from X$ will be 1 0 0 and 28 38 38. For a com bination o f two constituents only, say 2 SM 2, we m ust find 28 32 38 and 2 1 0. A large table has been organized, from w hich is extracted the table to be recorded on the m ini-cassette. Table 1 is an extract o f th a t table for the constituents used in the prediction. The symbol b corresponds to the key SPA CE in the used micro ; g and H are harm onic constants and the last figure in H is the datum. N um bers can neither be recorded on nor read out from the m ini-cassette tape. Only alphanum eric sym bols can be recorded or read. T hus a tailored FO R M A T was prepared, so th a t each row o f the fo u r m atrices h a d to be form ed w ith six (3a) (3b) (3c)

TABLE 1 Coefficients Subscripts g H Q. blbobo b83838 bb60.8 bbb3.6 o, blbobo 103838 bb78.1 bbll.8 p, blbobo 153838 bl47.7 bbbl.8 K. blbobo 173838 bl47.7 bbb5.5 blbobo 253838 bl 12.4 bbbl.5 n 2 blbobo 263838 bl24.4 bbb4.2 v2 blboko 273838 b 124.4 bbbfc.8 m 2 blbobo 283838 m m bb33.4 l2 blbobo 303838 ki 107.1 bbb3.7 S2 blbobo 323838 bb76.0 bb20.0 k 2 blbobo 343838 bb76.0 bbb5.6 m 3 blbobo 373838 b219.3 bbbl.4 m n 4 blblbo 282638 b222.3 KbH3 6 m 4 b2bobo 283838 b 17.6 bbb8.4 m s4 blbobo 283238 bl03.4 b2b4.4 So Datum - b207.3 sym bols, as shown in Table 1. The input of each m atrix is worked out as a whole by writing all the rows o f six symbols successively. After printing the last row of each m atrix, the N E W LIN E key is pressed. A fter the input o f m atrix H, the datum is introduced. The num ber o f constituents m ust be known beforehand, because the size of a m atrix like X$ has to be equal to the exact num ber of symbols. From Table 1 one can deduce that this num ber is given by 4 x 6 x 15+6 = 366. This result can be expressed in a general form by : 24 x NC + 6 where NC is the num ber of constituents. 4. WORKING OUT THE PROGRAM The program starts w ith a G O TO XXX. Input by hand is lim ited to six data only : 1) T he tim e interval, in decim al hours, at which the heights are desired; 2) The num ber of the m o n th s day; 3) The num ber of the y ear s m onth; 4) The year 5) The num ber of days for which the prediction is w orked out; 6) The num ber of constituents. The TV screen shows the call for each o f the above data. A fter input of the last datum the m icro com putes all the / and V+ u for the date, for all the 37

astronom ical constituents. Then the TV screen calls for the m ini-cassette tape. Thus the counter of the tape deck is adjusted to the num ber corresponding to the constituents to be used, the key C O N T o f the micro is pressed and the key PLAY of the tape deck is pressed. Then one stops the deck and waits for the result, which is given in tw o colum ns : one w ith the tim e and the o ther with the heights. Since the TV screen perm its the printing of 22 rows only, one needs to press key C O N T to obtain the rem aining heights. A fter the printing o f the last height of the day a message appears on the TV screen : if t h e p r e d ic t io n f o r t h e n e x t d a y is d e s ir e d t h e n p r e s s G O TO XXX. 5. COM M ENTS AND CONCLUSIONS N ow a little bit o f an o ld-tim er h ydrographer s recollections. Y oung people cannot have any idea o f the enthusiasm a hydrographer o f the forties feels tow ards m odern com puting facilities. I rem em ber how difficult it was to analyse tides with a desk m achine and how tedious it was to predict them with special tables for ten constituents only. D o o d s o n used to say that there was no tidal analysis w ithout m istakes! In fact the m anipulation of a one-year tidal record to digitize 8 520 hourly heights and analyse them was a trem endous task : it was a task to be done by tw o experienced people taking ab o u t tw o and a h a lf to three m onths. Prediction with many constituents was unthinkable w ithout a tide analogue predictor with a fixed num ber o f constituents. These m achines w ere very refined and the largest one, at the G erm an H ydrographic Institute, was able to handle 60 constituents. N ow adays, this kind of predictor is a beautiful piece for a m useum. In fact our previous description shows that a very small com puter can replace such m achines with great advantage, since the 60 constituents can be chosen at one s convenience. In order to give an idea o f the efficiency of the prediction proposed, I observed the tim e spent in each step o f the program, when 15 constituents are used, and a 1-hour interval is desired for the heights : A stronom ical calcu latio n... R eading c o n sta n ts... A m plitudes, phases and frequencies H ourly h e ig h ts... 54 s 10s 20 s 54 s The time taken to com pute the heights can be reduced if an additional memory is available. In fact, if a cosine table is stored in the com puter, the com putations can be w orked out in even less time. I w onder if the classical tide tables are still necessary. The main conclusion is th at the limit for thinking is now reduced to about nothing. A lm ost everything we im agine can be checked out at once.

Acknowledgements I am very m uch indebted to m y colleague, Ing. Izabel G e v e, for the revision o f my m anuscript and to Dr Joseph H a r a r i o f the Instituto O ceanogrâfico of the Sâo Paulo U niversity for checking my results by w orking out the same prediction in the U niversity s large com puter. Bibliography F r a n c o, A.S. (1 9 8 1 ) : Tide fundamentals, analysis and prediction. Instituto de Pesquisas Technolôgicas do Estado de Sâo Paulo - IPT. B o n n o t, J.-F. & S im o n, B. (1 9 8 4 ) : Notes à propos de la Table des marées des grands ports du monde. Notes concerning the Tide Tables for the Major Ports of the World. I.H. Review, Vol. LXI (2), July.