# Maple 10 sheet for evalution of a ceiling balloon flight over Innsbruck, 27th Aug. 2006;   

balloon start site was the University's main weather station called "Villa", observer (theodolite) site was on the roof of the meteorological institute. 

created by AndrĂ© Summer 

> restart;
 

> currentdir();
 

C:\Dokumente und Einstellungen\MeinBenutzername\Desktop 

#  sheet works only if the import data are available in the path above! 

 

Reading measurement data: 

> A1_x:=readdata(`Aufstieg1_x.txt`,2);
 

(Typesetting:-mprintslash)([A1_x := [[0., -75.], [30., -87.], [60., -59.], [90., -71.], [120., -62.], [150., -32.], [180., 28.], [210., 76.]]], [[[0., -75.], [30., -87.], [60., -59.], [90., -71.], [12...
(Typesetting:-mprintslash)([A1_x := [[0., -75.], [30., -87.], [60., -59.], [90., -71.], [120., -62.], [150., -32.], [180., 28.], [210., 76.]]], [[[0., -75.], [30., -87.], [60., -59.], [90., -71.], [12...
 

> A1_y:=readdata(`Aufstieg1_y.txt`,2);
 

(Typesetting:-mprintslash)([A1_y := [[0., -497.], [30., -612.], [60., -535.], [90., -500.], [120., -497.], [150., -536.], [180., -508.], [210., -380.]]], [[[0., -497.], [30., -612.], [60., -535.], [90...
(Typesetting:-mprintslash)([A1_y := [[0., -497.], [30., -612.], [60., -535.], [90., -500.], [120., -497.], [150., -536.], [180., -508.], [210., -380.]]], [[[0., -497.], [30., -612.], [60., -535.], [90...
 

> xdata_A1:=[seq(A1_x[i][2], i=1..nops(A1_x))];
 

(Typesetting:-mprintslash)([xdata_A1 := [-75., -87., -59., -71., -62., -32., 28., 76.]], [[-75., -87., -59., -71., -62., -32., 28., 76.]]) 

> ydata_A1:=[seq(A1_y[i][2], i=1..nops(A1_y))];
 

(Typesetting:-mprintslash)([ydata_A1 := [-497., -612., -535., -500., -497., -536., -508., -380.]], [[-497., -612., -535., -500., -497., -536., -508., -380.]]) 

> tdata_A1:=[seq(A1_x[i][1], i=1..nops(A1_x))];
 

(Typesetting:-mprintslash)([tdata_A1 := [0., 30., 60., 90., 120., 150., 180., 210.]], [[0., 30., 60., 90., 120., 150., 180., 210.]]) 

>
 

Interpolation: 

>
 

> with(CurveFitting):
 

> x1(t):=PolynomialInterpolation(tdata_A1,xdata_A1,t);
 

(Typesetting:-mprintslash)([x1(t) := -0.3647092115e-11*t^7+0.2815881718e-8*t^6-7.902619036*t-0.8768861434e-6*t^5+.5033364189*t^2+0.1400548694e-3*t^4-0.1192716047e-1*t^3-75.], [-0.3647092115e-11*t^7+0.... 

> y1(t):=PolynomialInterpolation(tdata_A1,ydata_A1,t);
 

(Typesetting:-mprintslash)([y1(t) := -0.6686335549e-11*t^7+0.4980185940e-8*t^6-19.17507938*t-0.1489140374e-5*t^5+.9401635811*t^2+0.2311385459e-3*t^4-0.2001538067e-1*t^3-497.], [-0.6686335549e-11*t^7+0...
(Typesetting:-mprintslash)([y1(t) := -0.6686335549e-11*t^7+0.4980185940e-8*t^6-19.17507938*t-0.1489140374e-5*t^5+.9401635811*t^2+0.2311385459e-3*t^4-0.2001538067e-1*t^3-497.], [-0.6686335549e-11*t^7+0...
 

> pl_A1x:=plot(x1(t),t=0..210,color=blue):
 

> points_A1x:=stats[statplots,scatterplot](tdata_A1,xdata_A1,color=black,symbol=BOX,symbolsize=15):
 

> interface(warnlevel=0): with(plots):
 

> display({pl_A1x,points_A1x},title=`flight path [m] in x-direction (East) as function of t [s]`);
 

Plot 

> pl_A1y:=plot(y1(t),t=0..210,color=blue):
 

> points_A1y:=stats[statplots,scatterplot](tdata_A1,ydata_A1,color=black,symbol=BOX,symbolsize=15):
 

> display({pl_A1y,points_A1y},title=`flight path [m] in y-direction (North) as function of t [s]`);
 

Plot 

Calculation of wind velocity in x- and y-direction: 

> diff(x1(t),t);
 

-0.2552964480e-10*t^6+0.1689529031e-7*t^5-7.902619036-0.4384430717e-5*t^4+1.006672838*t+0.5602194776e-3*t^3-0.3578148141e-1*t^2 

> diff(y1(t),t);
 

-0.4680434884e-10*t^6+0.2988111564e-7*t^5-19.17507938-0.7445701870e-5*t^4+1.880327162*t+0.9245541836e-3*t^3-0.6004614201e-1*t^2 

 

Animation of balloon ascend 1: 

> v:=4:  z0:=-44:  #z0 ... start height of the balloon in relation to the site of the theodolite
 

>
 

> interface(warnlevel=0): with(plots):
 

> points:={seq([eval(x1(t),t=time_in_s),eval(y1(t),t=time_in_s),z0+v*time_in_s],time_in_s=0..210,5)}:
 

> pointplot3d(points,color=blue,symbol=box, axes=normal,labels=[x,y,z],title=`static 3D-model (x,y, and z)`);
 

Plot 

# The point of intersection ot the 3 axes is not equivalent to the origin which can be seen at the labelling of the axes) 

> balloontrace := pointplot3d(points,color=white,symbol=box, symbolsize=1):
 

> animate( pointplot3d, [ [[eval(x1(t),t=time),eval(y1(t),t=time),z0+v*time]], color=red, symbol = circle, symbolsize=40, labels=[x,y,z]], time=15..210,digits=3,frames=196, background=balloontrace,axes=normal);
 

>
 

Plot 

>
 

# animated 3D-model (x,y, z, and t) 

# Conclusions: Blinding by the sun caused problems during the measurement (the balloon start site was in southern direction related to the theodolite site, so the measurement conditions were only suitable for exercise purposes). At the end the balloon flew fast nearly above our heads which made it difficult to follow it with the theodolite and we had to stop at t = 210 s. So the distance between balloon start site and observer site should not be to close.