-
Notifications
You must be signed in to change notification settings - Fork 3
/
residential.html
395 lines (360 loc) · 17.1 KB
/
residential.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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Solar Calculator|SOL India</title>
<meta name="description" content="Residential solar calculator by SOL India to accurately measure your solar potential and give you a quote for investment and profits.">
<!-- core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">
<link href="css/jquery.modal.css" rel="stylesheet">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<link rel="shortcut icon" href="images/ico/logo.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="images/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="images/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="images/ico/apple-touch-icon-57-precomposed.png">
<script>
var moreclick=0;
function onformsubmit(){
var form = document.getElementById("solar-calculator-form");
var bulb = form.elements.namedItem("bulb").value;
var fan = form.elements.namedItem("fan").value;
var ac = form.elements.namedItem("ac").value;
var cooler = form.elements.namedItem("cooler").value;
var pc = form.elements.namedItem("pc").value;
var water = form.elements.namedItem("water").value;
var washing = form.elements.namedItem("washing").value;
var refrigerator = form.elements.namedItem("refrigerator").value;
var num1 = form.elements.namedItem("num1").value;
var watt1 = form.elements.namedItem("watt1").value;
var hr1 = form.elements.namedItem("hr1").value;
var num2 = form.elements.namedItem("num2").value;
var watt2 = form.elements.namedItem("watt2").value;
var hr2 = form.elements.namedItem("hr2").value;
var num3 = form.elements.namedItem("num3").value;
var watt3 = form.elements.namedItem("watt3").value;
var hr3 = form.elements.namedItem("hr3").value;
var total_unit_per_day = (bulb*0.6)+(fan*0.9)+(ac*10.8)+(cooler*10.8)+(pc*0.3)+(water*1)+(washing*0.15)+(refrigerator*3)+((num1*watt1*hr1)/1000)+((num2*watt2*hr2)/1000)+((num3*watt3*hr3)/1000);
var system_size = total_unit_per_day/4.5;
var annualYield = (total_unit_per_day*365)/1000; //MWh
var annualSaving = 0;
var temp= total_unit_per_day*30;
if(temp>1200){
annualSaving+= (temp-1200)*8.75;
temp = 1200;
}
if(temp>800){
annualSaving+= (temp-800)*8.10;
temp = 800;
}
if(temp>400){
annualSaving+= (temp-400)*7.30;
temp = 400;
}
if(temp>200){
annualSaving+= (temp-200)*5.9;
temp = 200;
}
if(temp>0){
annualSaving+= temp*4;
}
annualSaving*=12;
document.getElementById("size").innerHTML=Math.round(system_size*10)/10 + ' ';
document.getElementById("yield").innerHTML=Math.round(total_unit_per_day*3.650)/10 + '* ';
document.getElementById("saving").innerHTML=Math.round(annualSaving*10)/10 + '*';
document.getElementById("outputs").focus();
return false;
}
function addmore(){
if(moreclick==0){
document.getElementById("extra1").style.display = "block";
moreclick+=1;
return;
}
if(moreclick==1){
document.getElementById("extra2").style.display = "block";
moreclick+=1;
return;
}
if(moreclick==2){
document.getElementById("extra3").style.display = "block";
document.getElementById("moreAppliances").style.cursor = "not-allowed";
moreclick+=1;
}
}
</script>
</head><!--/head-->
<body id="home" class="homepage" style="overflow-x: hidden;">
<header id="header">
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top" role="banner">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"></a>
</div>
<div class="collapse navbar-collapse navbar-left">
<ul class="nav navbar-nav">
<li><a href="index.html"><img alt="logo of SOL India" src="images/logo.png" style="width:200px; height: 30px; margin-left: -20px; margin-right: 30px;"></a></li>
<li class="scroll"><a href="index.html#about">Overview</a></li>
<li class="scroll"><a href="offerings.html">Offerings</a></li>
<li class="scroll"><a href="#">Finance</a></li>
<li class="scroll"><a href="#">Projects</a></li>
<li class="scroll"><a href="#">Contact Us</a></li>
<li class="scroll"><a href="mail.html">Mail</a></li>
</ul>
</div>
</div><!--/.container-->
</nav><!--/nav-->
</header><!--/header-->
<div style="padding: 4em; padding-top: 5em; background: url(images/texture.jpg);">
<form id="solar-calculator-form" onsubmit="return onformsubmit()">
<div class="row">
<h1 style="text-align: center; margin-bottom: 40px; margin-top: -15px; color: #428bca;">Get A Quote Now</h1>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of CFL/LED Bulbs </label>
<img alt="bulb" src="images/bulb.png" style="margin-bottom: 9px; margin-top: 2px;">
<div class="input-group">
<input type="number" name="bulb" autocomplete="off"
class="form-control " id="bulb1" placeholder="Total Items" required >
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of Fans </label>
<img alt="fan" src="images/fan.png" style="margin-bottom: 5px;">
<div class="input-group">
<input type="number" name="fan" autocomplete="off"
class="form-control " id="fan1" placeholder="Total Items" required >
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of ACs </label>
<img alt="AC" src="images/ac.png" style="margin-bottom: 5px;">
<div class="input-group">
<input type="number" name="ac" autocomplete="off"
class="form-control " id="ac1" placeholder="Total Items" required >
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of Coolers </label>
<img alt="Cooler" src="images/cooler.png" style="margin-bottom: 5px;">
<div class="input-group">
<input type="number" name="cooler" autocomplete="off"
class="form-control " id="cooler1" placeholder="Total Items" required >
</div>
</div>
</div>
</div>
<div class="row" style="margin-top: 40px;">
<div class="col-md-3">
<div class="form-group">
<label for="">Number of PC/Laptop/TV </label>
<img alt="Computer" src="images/pc.png" style="margin-bottom: 9px; margin-top: 2px;">
<div class="input-group">
<input type="number" name="pc" autocomplete="off"
class="form-control " id="pc1" placeholder="Total Items" required >
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of Water Pumps </label>
<img alt="water" src="images/water.png" style="margin-bottom: 5px;">
<div class="input-group">
<input type="number" name="water" autocomplete="off"
class="form-control " id="water" placeholder="Total Items" required >
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of Washing Machines </label>
<img alt="washing machine" src="images/washing.png" style="margin-bottom: 5px;">
<div class="input-group">
<input type="number" name="washing" autocomplete="off"
class="form-control " id="washing1" placeholder="Total Items" required >
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="">Number of Refrigerator </label>
<img alt="refrigerator" src="images/refrigerator.png" style="margin-bottom: 5px;">
<div class="input-group">
<input type="number" name="refrigerator" autocomplete="off"
class="form-control " id="refrigerator1" placeholder="Total Items" required >
</div>
</div>
</div>
</div>
<div>
<h4 style="text-align: center; color: #428bca; cursor: pointer; margin: 20px;" onclick="addmore()" id="moreAppliances">Add More Appliances
<icon class="fa fa-plus-square"></icon></h4>
<div class="row" style="text-align: center; display: none;" id="extra1">
<div class="col-md-4">
<div class="form-group">
<label for="">Number of appliance</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="num1" autocomplete="off"
class="form-control " id="num1_1" placeholder="Total Items">
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="">Wattage</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="watt1" autocomplete="off"
class="form-control " id="watt1_1" placeholder="Total Wattage">
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="">Daily average use (in hours)</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="hr1" autocomplete="off"
class="form-control " id="hr1_1" placeholder="Total Items">
</div>
</div>
</div>
</div>
<div class="row" style="text-align: center; display: none;" id="extra2">
<div class="col-md-4">
<div class="form-group">
<label for="">Number of appliance</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="num2" autocomplete="off"
class="form-control " id="num2_1" placeholder="Total Items">
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="">Wattage</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="watt2" autocomplete="off"
class="form-control " id="watt2_1" placeholder="Total Wattage">
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="">Daily average use (in hours)</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="hr2" autocomplete="off"
class="form-control " id="hr2_1" placeholder="Total Items">
</div>
</div>
</div>
</div>
<div class="row" style="text-align: center; display: none;" id="extra3">
<div class="col-md-4">
<div class="form-group">
<label for="">Number of appliance</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="num3" autocomplete="off"
class="form-control " id="num3_1" placeholder="Total Items">
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="">Wattage</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="watt3" autocomplete="off"
class="form-control " id="watt3_1" placeholder="Total Wattage">
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="">Daily average use (in hours)</label>
<div class="input-group">
<div class="input-group-addon"></div>
<input type="number" name="hr3" autocomplete="off"
class="form-control " id="hr3_1" placeholder="Total Items">
</div>
</div>
</div>
</div>
</div>
<div class="row" style="margin-top: 40px;">
<div class="col-md-offset-4 col-md-4">
<input class="btn btn-primary btn-block" type="submit" value="Calculate My Savings"/>
</div>
</div>
</form>
</div>
<div class="row" id="outputs" tabindex="-1">
<div class="col-md-4" style="text-align: center;">
<h1 style="color: #4A6D8B; font-size: 3.5em;">System Size</h1>
<h2 style="color: #4A6D8B; font-size: 3.5em;">
<span id="size"></span><span style="font-size: 1.8em;">KW</span>
</h2>
</div>
<div class="col-md-4" style="text-align: center;">
<h1 style="color: #4A6D8B; font-size: 3.5em;">Annual Yield</h1>
<h2 style="color: #4A6D8B; font-size: 3.5em;">
<span id="yield"></span><span style="font-size: 1.8em;">MWh</span>
</h2>
</div>
<div class="col-md-4" style="text-align: center;">
<h1 style="color: #4A6D8B; font-size: 3.5em;">Annual Savings</h1>
<h2 style="color: #4A6D8B; font-size: 3.5em;">
<i class="fa fa-2x fa-rupee"></i><span id="saving"></span>
</h2>
</div>
</div>
<div>
<p style="text-align: center; font-size: 1.5em; margin: 20px;"><a href="#">Contact Us</a> for more information.</p>
</div>
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-sm-6">
© 2016, SOL India
</div>
<div class="col-sm-6">
<ul class="social-icons">
<li><a href="#"><i class="fa fa-2x fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-2x fa-google-plus"></i></a></li>
<li><a href="#"><i class="fa fa-2x fa-twitter"></i></a></li>
<li> <i class="fa fa-2x fa-phone sr-contact"></i> +91 9868831600</li>
</ul>
</div>
</div>
</div>
</footer><!--/#footer-->
</body>