-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
199 lines (194 loc) · 11.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>habitat burst calculator</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<link rel="stylesheet" href="t/css/base.css"/>
<link rel="stylesheet" href="t/css/skeleton.css"/>
<link rel="stylesheet" href="t/css/layout.css"/>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="shortcut icon" href="t/images/favicon.ico" />
<link rel="stylesheet" href="css/burstcalc.css"/>
<script type="text/javascript" src="js/jquery-1.8.3-min.js"></script>
<script type="text/javascript" src="js/jquery-color.js"></script>
<script type="text/javascript" src="js/jquery-mousewheel.js"></script>
<script type="text/javascript" src="js/calc.js"></script>
</head>
<body>
<header>
<div class="container">
<div class="sixteen columns">
<h1 class="no-margin">
<a href="http://habhub.org/" alt="habitat">
<img src="t/images/header_logo.png" alt="habitat" title="habitat"/>
</a>
</h1>
<span id="app_name"><b>burstcalc</b></span>
</div>
</div>
</header>
<div id="grey-section">
<div class="container">
<div class="two-thirds column">
<h3 class="remove-bottom" id="page_title">Loading...</h3>
<p class="remove-bottom" id="page_subtitle">If you can read this, the javascript isn't working :-(.</p>
</div>
</div>
</div>
<section id="main" class="container">
<div id="helpbox" class="thirteen column" style="display: none">
<h2>Help</h2>
<p>
This calculator is designed to help you find how much gas to put into a high altitude balloon
to achieve a desired burst altitude or ascent rate. You have to know the payload mass (including
parachute) and balloon mass.
</p>
<p>
Usage is very straightforward: enter the payload mass into the first box, select the balloon
mass from the second box, and type in either a desired burst altitude in meters or ascent rate
in meters per second in the relevent box. Pressing enter or clicking away from the box you are
typing into will run the calculations, displaying the results in the box at the bottom.
</p>
<p>
The 'Constants' box can be used to adjust constants used by the calculator. These include
selecting a type of gas (or entering a custom gas density), adjusting modelling parameters
or entering a custom burst diameter or drag coefficient for your balloon. Click the tick box
next to the burst diameter or drag coefficient boxes to use a custom value, otherwise the
appropriate value for your selected balloon will be used.
</p>
<p>
<a href="#" class="close">Close</a>
</p>
</div>
<div id="aboutbox" class="thirteen column" style="display: none">
<h2>About</h2>
<p>
Cambridge University Space Flight: Balloon Burst Calculator
</p>
<p>
An entirely javascript based, XHTML-valid, CSS-valid calculator to determine high altitude
balloon parameters.
</p>
<p>
Written by Adam Greig for CUSF in March 2010. Maths derived from `burst1a` spreadsheet by
Steve Randall. Balloon information from Kaymont Totex sounding balloon data. Rewritten by
Rossen Georgiev in 2012 for <a href="http://habhub.org">Habhub.org</a>.
</p>
<p>
No guarantee is given for the accuracy of any data included or produced by this program, use
at your own risk.
</p>
<p>
Copyright 2010 Cambridge University Space Flight
</p>
<p>
<a href="#" class="close">Close</a>
</p>
</div>
<div id="calcbox" class="fourteen columns">
<div class="fourteen columns alpha">
<div class="five columns alpha grey float first">
<div class="sign">↣</div>
<h4>Payload Mass (g)</h4>
<input type="text" id="mp" class="input_field numeric scrollable" value="1500" rel="5" tabindex="1"/>
<h4>Balloon Mass (g)</h4>
<select class="input_field" id="mb" tabindex="2">
<option value="k200">Kaymont - 200</option>
<option value="k300">Kaymont - 300</option>
<option value="k350">Kaymont - 350</option>
<option value="k450">Kaymont - 450</option>
<option value="k500">Kaymont - 500</option>
<option value="k600">Kaymont - 600</option>
<option value="k700">Kaymont - 700</option>
<option value="k800">Kaymont - 800</option>
<option value="k1000" selected="selected">Kaymont - 1000</option>
<option value="k1200">Kaymont - 1200</option>
<option value="k1500">Kaymont - 1500</option>
<option value="k2000">Kaymont - 2000</option>
<option value="k3000">Kaymont - 3000</option>
<option value="h200">Hwoyee - 200</option>
<option value="h300">Hwoyee - 300</option>
<option value="h350">Hwoyee - 350</option>
<option value="h450">Hwoyee - 400</option>
<option value="h500">Hwoyee - 500</option>
<option value="h600">Hwoyee - 600</option>
<option value="h700">Hwoyee - 750</option>
<option value="h800">Hwoyee - 800</option>
<option value="h800">Hwoyee - 950</option>
<option value="h1000">Hwoyee - 1000</option>
<option value="h1200">Hwoyee - 1200</option>
<option value="h1500">Hwoyee - 1500</option>
<option value="h1600">Hwoyee - 1600</option>
<option value="h2000">Hwoyee - 2000</option>
<option value="p1200">PAWAN - 1200</option>
</select>
</div>
<div class="five columns alpha grey float second">
<div class="sign">↴</div>
<h4>Target Burst Altitude (m)</h4>
<input type="text" id="tba" class="input_field numeric scrollable" rel="100" value="33000" tabindex="3"/>
<h4>Target Ascent rate (m/s)</h4>
<input type="text" id="tar" class="input_field numeric scrollable" rel="0.1" tabindex="4"/>
</div>
<div class="thirteen columns alpha grey third">
<h4 id="result">Result</h4>
<div class="three columns offset-by-one">
<span class="output_label">Burst Altitude:</span>
<span class="output_data" id="ba">33000 m</span>
<span class="output_label">Ascent Rate:</span>
<span class="output_data" id="ar">2.33 m/s</span>
</div>
<div class="three columns offset-by-one">
<span class="output_label">Time to Burst:</span>
<span class="output_data" id="ttb">238 min</span>
<span class="output_label">Neck Lift:</span>
<span class="output_data" id="nl">1733 g</span>
</div>
<div class="three columns offset-by-one">
<span class="output_label">Volume:</span>
<span class="output_data" id="lv_m3">2.66 m<sup>3</sup></span>
<span class="output_label" id="lv_l">2660 L</span>
<span class="output_data" id="lv_cf">93.9 ft<sup>3</sup></span>
</div>
</div>
<div class="thirteen columns alpha grey fourth closed">
<h4>Constants (Advanced)</h4>
<div class="column">
<label class="constant_label" for="gas">Gas</label><br />
<select id="gas" class="constant_field">
<option value="he">Helium</option>
<option value="h">Hydrogen</option>
<option value="ch4">Methane</option>
<option value="custom">Custom</option>
</select><br />
<label class="constant_label" for="rho_g">Gas Density (kg/m<sup>3</sup>)</label><br />
<input type="text" id="rho_g" value="0.1786" class="constant_field" size="9" disabled="disabled"/><br />
</div>
<div class="column">
<label class="constant_label" for="rho_a">Air Density (kg/m<sup>3</sup>)</label><br />
<input type="text" id="rho_a" value="1.2050" class="constant_field numeric" autocomplete="off" size="9"/><br />
<label class="constant_label" for="adm">Air Density Model</label><br />
<input type="text" id="adm" value="7238.3" class="constant_field numeric" autocomplete="off" size="9"/><br />
<label class="constant_label" for="ga">Gravitational<br />Acceleration (m/s<sup>2</sup>)</label><br />
<input type="text" id="ga" value="9.80665" class="constant_field numeric" autocomplete="off" size="9" /><br />
</div>
<div class="column omega">
<input type="checkbox" class="float" id="bd_c" />
<label class="constant_label" for="bd">Burst Diameter (m)</label><br />
<input type="text" id="bd" class="constant_field numeric scrollable" rel="0.2" disabled="disabled" value="7.86" autocomplete="off" /><br />
<input type="checkbox" class="float" id="cd_c" />
<label class="constant_label" for="cd">Balloon Cd</label><br />
<input type="text" id="cd" class="constant_field numeric scrollable" rel="0.05" disabled="disabled" value="0.3" autocomplete="off" /><br />
</div>
</div>
</div>
</div>
</section>
</body>
</html>