-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHCI.html
781 lines (727 loc) · 31.8 KB
/
HCI.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
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
<!DOCTYPE HTML>
<!--
Spectral by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Systems Engineering HCI</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
</head>
<body>
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Header -->
<header id="header">
<h1><a href="index.html">Systems Engineering HCI</a></h1>
<nav id="nav">
<ul>
<li class="special">
<a href="#menu" class="menuToggle"><span>Menu</span></a>
<div id="menu">
<ul>
<li><a href="index.html">Overview</a></li>
<li><a href="Requirements2.html">Requirements</a></li>
<li><a href="Research2.html">Research</a></li>
<li><a href="HCI.html">HCI</a></li>
<li><a href="Design.html">Design</a></li>
<li><a href="Testing.html">Testing</a></li>
<li><a href="Evaluation2.html">Evaluation</a></li>
<li><a href="Management.html">Management</a></li>
</ul>
</div>
</li>
</ul>
</nav>
</header>
<!-- Main -->
<article id="main">
<header>
<h2>HCI</h2>
</header>
<section class="wrapper style5">
<div class="inner">
<section>
<h4>Gathering User Data</h4>
<p>Before our team started designing the prototypes for the Chatbot and the Data Science part, we decided to conduct some research by asking some of our colleagues to answer some survey questions.
They were asked questions about User Interface and Chatbot features that they would like to see implemented. (the proportions on the charts are in percentages %)</p>
<div class="chart-container" style="position: relative; height:60vh; width:100%; margin-bottom: 2%">
<canvas id="chart1" style="float: left;max-width: 50%; height: 100%;"></canvas>
<canvas id="chart2" style="float: right;max-width: 50%; height: 100%;"></canvas>
</div>
<div class="chart-container" style="position: relative; height:60vh; width:100%; margin-bottom: 2%">
<canvas id="chart3" style="float: left;max-width: 50%; height: 100%;"></canvas>
<canvas id="chart4" style="float: left;max-width: 50%; height: 100%;"></canvas>
</div>
<div class="chart-container" style="position: relative; height:60vh; width:100%; margin-bottom: 2%">
<canvas id="chart5" style="float: left;max-width: 50%; height: 100%;"></canvas>
<canvas id="chart6" style="float: left;max-width: 50%; height: 100%;"></canvas>
</div>
<hr />
</section>
<section>
<h4>Scenario</h4>
<p>After we have created the personas, we got an general idea of why and how the user will use our appplication. We came up with a scenario which summerize well the interaction between the user and our web. </p>
<h5>Renewables.ai scenario</h5>
<p> Mark is a 30 year old entrepreneur who has just started his own business. His company is a local energy provider. After a thorough research, he reached the conclusion that green energy is more profitable on the long term. Because the company’s quarter is located in Eastbourne, he thought about taking advantage of the geographical potential of the area and built a solar power plant. Being new on the market and without any previous experience in solar energy, he turned to Renewables.AI platform. Mark can log into his account and can visualize a personalized view of the data received from the panels. He now has a good estimation of how much energy the panels are going to produce each day, as well as a precise prediction of how much revenue he can make daily. This gives him a good feedback on how well his company is performing and helps him make decision for the long term. When he wants to see quick information such as the weather forest for the next 7 days or a summary of the plant info, he interacts with the chat box integrated in the user interface. Moreover, whenever Mark needs guidance on how to interact with the graphs, the chat box will explain him to do it. Despite him not having any previous experience with solar energy, he is able to stay a valid competitor in the market.</p>
<hr />
</section>
<section>
<h4>Iterations</h4>
<div class="table-wrapper">
<table>
<thead>
<tr>
<th>Iteration</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;">
<img src="images/iter1.jpg" style="width: 90%"/>
</td>
<td style="float: left">
<ul>
<li>2 pages [1]</li>
<li>Non-interative graph</li>
<li>Each plant has own graph</li>
</ul>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<img src="images/poza1.jpg" style="width: 90%"/>
</td>
<td style="float: left">
<ul>
<li>Prediction button to switch between past actual data and future predictions</li>
<li>Buttons to alter timeframe</li>
</ul>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<img src="images/poza4.jpg" style="width: 90%"/>
</td>
<td style="float: left">
<ul>
<li>Prediction line toggle to show and hide the prediction data for previous days</li>
</ul>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<img src="images/iter4.jpg" style="width: 90%"/>
</td>
<td style="float: left">
<ul>
<li>Simiplifies timeframe with timeline selection</li>
<li>Ability to add multiple plants making comparisons easier</li>
<li>Flexibility on showing past predictions</li>
<li>Graph lines togglable and option boxes collapsable to
prevent cluttering [6]</li>
</ul>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<img src="images/iter5.png" style="width: 90%"/>
</td>
<td style="float: left">
<ul>
<li>Merged toggles in 1 field box</li>
<li>Replaced timeline with more intuitive buttons (as requested by user feedback - see evauluation)</li>
</ul>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<img src="images/iter6.png" style="width: 90%"/>
</td>
<td style="float: left">
<ul>
<li>Wireframe with graph and bot to show the overall layout of the web application [3]</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section>
<h4>Sketches</h4>
<div class="slideshow-container">
<div class="mySlides fade">
<div class="numbertext">1 / 5</div>
<img src="images/poza1.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 5</div>
<img src="images/poza2.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 5</div>
<img src="images/poza3.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<div class="numbertext">4 / 5</div>
<img src="images/poza4.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<div class="numbertext">5 / 5</div>
<img src="images/poza5.jpg" style="width:100%">
</div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>
</div>
<hr />
</section>
<section>
<h4>Data Science Prototype</h4>
<p> We used the library Chart.js to implement the interactive Prototype of the graph. The user can now click the "Add Actual Production" or the "Remove Actual Production" buttons to
show or hide the Actual Production line and the "1 hour" button to show the Revenue and Price Prediction for the next hour. For now, just this
button is implemented and can be clicked multiple times to show a further prediction. Nevertheless, the current prediction lines are plotted
using randomized data, which is due to be replaced with a proper dataset at a later stage of the project. One of the main aims is to also improve
the accuracy of the prediction lines using machine learning algorithms.</p>
<div class="chart-container" style="position: relative; height:45vh; width:100%; margin-bottom: 100px">
<canvas id="chart" style="margin: 0 auto;"></canvas>
</div>
<ul class="actions">
<li style="padding: 10px; padding-top: 0px">
<button id="remove" onClick="this.disabled = true;">Add Actual Production</button>
<button id="add" type="button" disabled>Remove Actual Production</button>
</li>
<li style="padding: 10px; padding-top: 0px">
<button id="1day">3 hours</button>
<button id="2days" onClick="this.disabled = true;">1 day</button>
<button id="1week" onClick="this.disabled = true;">1week</button>
<button id="1month" onClick="this.disabled = true;">1month</button>
</li>
<li style="padding: 10px; padding-top: 0px">
<button id="remove1" type="button" disabled>Remove 3 hours</button>
</li>
</ul>
<hr />
</section>
<section>
<h4>Bot Prototype</h4>
<p>After conducting some research into how chatbots work and what techniques can be used to build rich and capable bots, our
team started to sketch some straightforward interactions with the so called "Elastabot. As, we discovered that we can implement the
ability to send or receive attachments, ask the bot for more information by pressing the relevant buttons or by asking direct questions,
we began by drawing some basic conversations. We are aiming to later implement the bot to using LUIS(Natural Language Understanding Software) so that it could make relevant
suggestions based on the conversation with the user.</p>
<div class="12u"><span class="image fit"><img src="images/poza3.jpg" alt="" /></span></div>
<div style="overflow: hidden; padding: 2.5%">
<script type='text/javascript' src='https://app.botsociety.io/js/lib/embedsoc.js'></script>
<p><span class="image left"><a class='botsoc' href='https://app.botsociety.io/emb/59efb55d7844dd0f0098a26b?p=afe77945cde550176ac62eb43b802cd88e0ad2aa' target='medium'></a></span>
In order to create an interactive version of the Elastabot, we chose to use the tools provided by the Botsociety. Botsociety offers an online
platform that can be used to create interactive chatbot prototypes that can be shared with other users. As we wanted our bot to be able to
interact in a number of different ways, Elastabot can not only offer "button" alternatives, but also understand regular questions and
browse the Internet for information. It can answer questions related to the plant/s owned by the user, user interface navigation and even topics
such as weather forecast and/or solar energy. The bot is currently only set to ask a series of standard questions after it finishes answering the user's initial question, such as "Is there anything else I could help you with?". Our team is aiming to create an interactive chatbot using machine learning algorithms that will be able to hold a fluent conversation and even make suggestionsbased on the conversation with the user.
</p>
</div>
<hr />
</section>
<section>
<h4>Prototypes Evaluation</h4>
<p> In order to evaluate our prototypes, we used the Heuristic Evaluation as well as user testing.</p>
<p> Our main goal was to come up with user-friendly features that enabled users to get all kind of information, from the prediction line on the graph to a quick presentation on how to use Renewables.AI with the help of our chatbox.</p>
<p>After the finishing the first ptotoype, we saw some flaws which we later fixed, as they are presented in the Heuristic Evaluation </p>
<table style="width:100%">
<tr>
<th>Problem no.</th>
<th>Location&Description</th>
<th>Heuristic</th>
<th>Solution</th>
<th>Severity(0-4)</th>
</tr>
<tr>
<td>1</td>
<td>Graph prediction - user could not show/hide the "actual revenue" line if he/she wanted</td>
<td>User control and freedom</td>
<td>Added a "remove" button </td>
<td>2</td>
</tr>
<tr>
<td>2</td>
<td>Graph prediction - different graphs for 1 day/1 week/1 month prediction</td>
<td>Consistency and standards</td>
<td>Created one graph with buttons for each option</td>
<td>3</td>
</tr>
<tr>
<td>3</td>
<td>The chatbox could not explain to new users how Renewables.AI works </td>
<td>Flexibility and efficiency of use</td>
<td>Incorporated this option into the chatbox</td>
<td>2</td>
</tr>
<tr>
<td>4</td>
<td>Graph prediction - the user feedback for the timeline selector for the graph timeframe was that it's confusing and they would prefer simple buttons</td>
<td>Consistency and standards</td>
<td>In a later iteration we removed the timeline selector feature and replaced it with a group of buttons</td>
<td>3</td>
</tr>
</table>
<br>
</section>
</div>
</section>
</article>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
<script src="Chart.js/dist/Chart.js"></script>
<script src="Chart.js/samples/utils.js"></script>
<script type="text/javascript">
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</body>
<script>
var ctx1 = document.getElementById("chart1");
var chart1 = new Chart(ctx1, {
type: 'doughnut',
data: {
labels: ["Yes","No"],
datasets: [{
data: [71,29],
backgroundColor: [
window.chartColors.yellow,
window.chartColors.purple,
],
label: 'First Chart'
}],
labels: [
"Yes","No"
]
},
options: {
responsive: true,
title: {
display: true,
text: ['Would you choose a chatbot', 'over an e-mail or a FAQ page?'],
fontSize: 25,
padding: 20
}
}
});
var ctx2 = document.getElementById("chart2");
var chart2 = new Chart(ctx2, {
type: 'doughnut',
data: {
labels: ["Energy Generated in the Past","Energy past prices","Profit", "Bad performance cases"],
datasets: [{
data: [35,29,23,13],
backgroundColor: [
window.chartColors.grey,
window.chartColors.blue,
window.chartColors.red,
window.chartColors.purple
],
label: 'First Chart'
}],
labels: [
"Energy Generated in the Past","Energy past prices","Profit", "Bad performance cases"
]
},
options: {
responsive: true,
title: {
display: true,
text: ['As a solar plant owner, which feature', 'would you think is most important?'],
fontSize: 25,
padding: 20
}
}
});
var ctx3 = document.getElementById("chart3");
var chart3 = new Chart(ctx3, {
type: 'doughnut',
data: {
labels: ["Yes","No"],
datasets: [{
data: [89,11],
backgroundColor: [
window.chartColors.blue,
window.chartColors.red,
],
label: 'First Chart'
}],
labels: [
"Yes","No"
]
},
options: {
responsive: true,
title: {
display: true,
text: ['Do you think some User Interface', 'navigation tips would be useful?'],
fontSize: 25,
padding: 20
}
}
});
var ctx4 = document.getElementById("chart4");
var chart4 = new Chart(ctx4, {
type: 'doughnut',
data: {
labels: ["3-day prediction of the solar energy production","3-day prediction of the solar energy price","More detailed graphs and trends"],
datasets: [{
data: [41,32,27],
backgroundColor: [
window.chartColors.orange,
window.chartColors.blue,
window.chartColors.red,
],
label: 'First Chart'
}],
labels: [
"3-day prediction of the solar energy production","3-day prediction of the solar energy price","More detailed graphs and trends"
]
},
options: {
responsive: true,
title: {
display: true,
text: ['Which one of these would you like', 'to have most in Renewables.AI?'],
fontSize: 25,
padding: 20
}
}
});
var ctx5 = document.getElementById("chart5");
var chart5 = new Chart(ctx5, {
type: 'doughnut',
data: {
labels: ["Yes","No"],
datasets: [{
data: [59,41],
backgroundColor: [
window.chartColors.grey,
window.chartColors.purple,
],
label: 'First Chart'
}],
labels: [
"Yes","No"
]
},
options: {
responsive: true,
title: {
display: true,
text: ['Do you believe interacting with', 'a chatbot can be a time saver?'],
fontSize: 25,
padding: 20
}
}
});
var ctx6 = document.getElementById("chart6");
var chart6 = new Chart(ctx6, {
type: 'doughnut',
data: {
labels: ["Yes","No"],
datasets: [{
data: [61,39],
backgroundColor: [
window.chartColors.green,
window.chartColors.orange,
],
label: 'First Chart'
}],
labels: [
"Yes","No"
]
},
options: {
responsive: true,
title: {
display: true,
text: ['Did you know that a chatbot can be', 'faster, less invasive and cost effective?'],
fontSize: 25,
padding: 20
}
}
});
var HOURS = ["00:00","3:00","6:00","9:00","12:00", "15:00", "18:00", "21:00", "24:00"];
var ctx = document.getElementById("chart");
var chart = new Chart(ctx, {
type: 'line',
data: {
labels: ["00:00","3:00","6:00","9:00","12:00", "15:00", "18:00", "21:00", "24:00"],
datasets: [{
label: "Production Forecast",
backgroundColor: '#cc65fe',
borderColor: '#cc65fe',
data: [{
x: 10,
y: 10
}, {
x: 15,
y: 20
}, {
x: 25,
y: 25
}, {
x: 30,
y: 30
}, {
x: 27,
y: 27
}, {
x: 21,
y: 21
}, {
x: 18,
y: 18
}, {
x: 15,
y: 15
}, {
x: 10,
y: 10
}
],
fill: false,
cubicInterpolationMode: 'default',
}, {
label: "Solar Energy Price",
fill: false,
backgroundColor: '#36a2eb',
borderColor: '#36a2eb',
data: [
{
x: 10,
y: 20
}, {
x: 15,
y: 15
}, {
x: 15,
y: 15
}, {
x: 15,
y: 20
}, {
x: 15,
y: 20
}, {
x: 15,
y: 20
}, {
x: 15,
y: 20
}, {
x: 15,
y: 20
}, {
x: 15,
y: 20
}
],
}]
},
options: {
responsive: true,
title: {
display: true,
text: 'Solar Energy Revenue',
fontSize: 30,
padding: 20
},
tooltips: {
mode: 'index',
intersect: false,
},
hover: {
mode: 'nearest',
intersect: true
},
scales: {
xAxes: [{
display: true,
scaleLabel: {
display: true,
labelString: 'Hours'
}
}],
yAxes: [{
ticks:{
min: 0,
max: 40
},
display: true,
scaleLabel: {
display: true,
labelString: 'Price'
}
}]
}
}
});
document.getElementById('remove').addEventListener('click', function () {
this.disabled = true;
document.getElementById('add').disabled = false;
var set = {
label: 'Actual Production',
backgroundColor: '#eb101f',
borderColor: '#eb101f',
fill: false,
data: [
{
x: 15,
y: 22
},
{
x: 15,
y: 27
},
{
x: 15,
y: 28
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
}
]
}
chart.data.datasets.push(set);
chart.update();
});
document.getElementById('add').addEventListener('click', function () {
this.disabled = true;
document.getElementById('remove').disabled = false;
var set = {
label: 'Actual Production',
backgroundColor: '#eb101f',
borderColor: '#eb101f',
fill: false,
data: [
{
x: 15,
y: 22
},
{
x: 15,
y: 27
},
{
x: 15,
y: 28
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
},
{
x: 15,
y: 23
}
]
}
chart.data.datasets.pop(set);
chart.update();
});
document.getElementById('1day').addEventListener('click', function () {
document.getElementById('remove1').disabled = false;
document.getElementById('2days').disabled = true;
document.getElementById('1week').disabled = true;
document.getElementById('1month').disabled = true;
var hour = HOURS[chart.data.labels.length % HOURS.length];
chart.data.labels.push([hour]);
chart.data.datasets.forEach(function (dataset) {
dataset.data.push(randomScalingFactor());
});
chart.update();
});
document.getElementById('remove1').addEventListener('click', function () {
chart.data.labels.splice(-1, 1);
chart.data.datasets.forEach(function (dataset, datasetIndex) {
dataset.data.pop();
});
chart.update();
});
chart.canvas.parentNode.style.height = '500px';
</script>
</html>