This repository was archived by the owner on Mar 8, 2024. It is now read-only.
forked from ModelEarth/apps
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
540 lines (420 loc) · 19.8 KB
/
index.html
File metadata and controls
540 lines (420 loc) · 19.8 KB
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>MockUp - Sustainable Material Management</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<link type="text/css" rel="stylesheet" href="../../localsite/css/base.css" id="/localsite/css/base.css" />
<link type="text/css" rel="stylesheet" href="../css/apps.css" id="/apps/css/apps.css" />
<script type="text/javascript" src="../../localsite/js/d3.v5.min.js" id="/localsite/js/d3.v5.min.js"></script>
<script type="text/javascript" src="../../localsite/js/jquery.min.js" id="/localsite/js/jquery.min.js"></script>
<script type="text/javascript" src="../../localsite/js/showdown.min.js" id="/localsite/js/showdown.min.js"></script>
<!-- Set custom app values -->
<script>
if(typeof param=='undefined'){ var param={}; }
param.startTitle = "US EPA"
param.headerLogo = "<img src='img/epa-header-logo.png' style='width:280px'>"
param.state = "DE"
param.naics = "327310" // Cement and Engineered Wood 321213 - These 2 won't appear together, maybe they are not both in Deleware.
//param.naics = "221114,334313,335999" // Solar
param.indicators = "ACID,CCDD,CMSW,CRHW,ENRG,ETOX,EUTR,GHG,HAPS,HCAN,HNCN,HRSP,HTOX,JOBS,LAND,MNRL,NNRG,OZON,PEST,RNRG,SMOG,VADD,WATR"
// naics should limit the
// sectors should select, but not limit
// http://localhost:8887/io/build/iochart.html#naics=327310&indicators=ACID,CCDD,CMSW,CRHW,ENRG,ETOX,EUTR,GHG,HAPS,HCAN,HNCN,HRSP,HTOX,JOBS,LAND,MNRL,NNRG,OZON,PEST,RNRG,SMOG,VADD,WATR&naics=327310&page=1
loadMarkdown("README.md", "readmeDiv", "_parent");
</script>
<!-- &set=air&indicators=ENRG,ETOX -->
<script type="text/javascript" src="../../localsite/js/localsite.js?display=everything&lat=37&lon=-95.7"></script>
<!-- Interactive state menu - Display beyond carbon table -->
<!--
<script type="text/javascript" src="../js/bc.js" id="/apps/js/bc.js"></script>
-->
</head>
<body>
<style>
.btn {
font-weight: 600;
}
.introLeft {
float:left;
width:200px;
clear:both;
}
.introRight {
float:left;
width:300px;
margin-bottom: 6px;
}
.introDivider {
border-topX: 1px solid #ccc;
margin-bottom: 6px;
clear:both;
}
input[type=checkbox].bigcheck
{
/* Double-sized Checkboxes */
-ms-transform: scale(2); /* IE */
-moz-transform: scale(2); /* FF */
-webkit-transform: scale(2); /* Safari and Chrome */
-o-transform: scale(2); /* Opera */
transform: scale(2);
padding: 10px;
cursor: pointer;
}
.envProfile {
max-width:320px;
width:100%;
border:1px solid #ccc;
padding:20px;
float:left;
margin-right:20px;
margin-bottom:30px;
}
.envProfile div {
padding: 4px 6px 3px 6px;
font-size: 13px;
border-bottom: 1px solid #333;
}
.envProfile div span {
float: right;
font-weight: bold;
}
.envProfile div div {
margin-left: 20px;
border: 0px;
padding: 0px;
}
.envProfile div div span {
float: right;
font-weight: bold;
}
.envProfile .profileTitle {
font-size: 20px;
padding: 5px;
padding-top: 0px;
font-weight: 800;
font-family: 'Roboto', helvetica;
border-bottom: 6px solid #333;
}
.envProfile .profileType {
font-size: 12px;
padding: 5px;
padding-bottom: 0px;
border-bottom: 0px solid #333;
}
</style>
<!-- State image refreshed by localsite/js/map-filters.js -->
<div id="hero_holder">
<div id="hero-landscape-image" class="bgimg" style="z-index:-1; min-height: 600px; background-position: 0 54px; position: absolute; left:0; right:0; opacity: 0.6; background-color:#888">
</div>
<div class="content contentpadding displayOnload" style="display: none; padding-top:60px; min-height:600px">
<div class="hero-text">
<a href="../../community/projects/" class="btn btn-danger" style="text-shadow: none; border:2px solid #ddd; border-radius: 0rem;">USEEIO 3.0 MockUp</a><br>
<div style="font-size:40px; line-height: 1.1em; font-weight:800">Lifecycle<br>Tools</div><br>
<div style="font-size:22px; line-height: 1.2em; font-weight:800">
Identify potential hotspots<br>in your purchases and output.
</div><br>
<div style="font-size:20px; line-height: 1.2em;">
<br>
<div style="font-size:17px; max-width:260px; font-weight:800">
This is mockup only.<br>
<a href="../../io/team/" style="color:#b9da79; text-decoration:underline;">Share your ideas</a> to help us create web interfaces for<br>Life Cycle Analysis.<br>
</div>
<br>
</div>
</div>
<div class="hero-bucket" style="min-width: 380px; float:left">
<div style="font-size:20px; margin-top:14px; margin-bottom:18px; font-weight:800">
<!--
<h1 style="font-size:28px">Learn how you can improve your impact</h1>
Generate an environmental profile for your....
-->
<h1 style="font-size:24px">Generate an environmental profile for your....</h1>
</div>
<div id="lifecycle_selects" style="font-size: 20px;">
<div class="introLeft"><input type="checkbox" class="bigcheck" name="optionb" id="optb" /> Country</div>
<div class="introRight">
<select id="select2" class="bigselect">
<option value="USA">USA</option>
</select>
</div>
<div class="introDivider"></div>
<div class="introLeft"><input type="checkbox" class="bigcheck" checked /> State</div>
<div class="introRight" id="relocatedStateMenu"></div>
<div class="introDivider"></div>
<div class="introLeft"><input type="checkbox" class="bigcheck" name="optiona" id="opta" checked /> Organization</div>
<div class="introRight">
<div class="showApps">
<select id="select1" class="bigselect" style="pointer-events:none;">
<option value="Goods & Services Provided">Cement Manufacturing</option>
</select>
</div>
</div>
<div class="introDivider"></div>
<div class="introLeft"><input type="checkbox" class="bigcheck" /> Community</div>
<div class="introRight">
<div onclick="$('#filterClickLocation').click();return false;">
<select id="" class="bigselect" style="pointer-events:none;">
<option value="">Counties or zip codes...</option>
</select>
</div>
</div>
<div class="introDivider"></div>
<div class="introLeft"><input type="checkbox" class="bigcheck" checked /> Family</div>
<div class="introRight">
<select id="family_count_select" class="bigselect">
<option value="">How far do you commute?</option>
</select>
</div>
<div class="introDivider"></div>
<div style="float:left; font-size:13px; margin-top:10px">
Choose more than one to compare.<br>
(Not yet active)
</div>
<div style="float:right">
<a href="#mockup" style="text-shadow: none; border:2px solid #ddd; width:200px;" class="btn btn-success">Continue</a>
</div>
</div>
<!--
<div id="dataHeader"></div>
<div id="dataDisplay"></div>
-->
</div>
</div>
</div>
<div style="clear:both">
</div>
<div id="mockup"></div>
<div class="content contentpadding" style="padding-bottom: 0px">
<div id="readmeDiv"></div>
</div>
<div class="content contentpadding">
<!-- Click USEEIO V3.0 below to toggle to prior versions.
Show the year by each version (hence year is not needed in settings)
v1.2 2007 - IO data year and final demand year
v2.0 2012 - IO data year and final demand year
Environmental data from each model are more updated – see the original docs for v1 for instance on env data years
Perspective is a way of grouping the calculation results. It is not used in the IO chart.
-->
<div style="float:right; font-size:11px">USEEIO V3.0 <i class="material-icons" style="font-size: 18px; cursor: pointer; display: inline-block; line-height:10px; margin:0px; padding:0px; float: right;"></i></div>
<h1>Environmental Profiles (Under Development)</h1>
Default profiles could be based on averages for the state and industry.
More about <a href="../../io/template/">YAML EPD Templates</a> / <a href="https://zctaimpacts.abrie.dev/">React Dev</a> (<a href="https://github.com/abrie/zctaimpacts">Git</a>)<br><br>
<div class="envProfile">
<div class="profileType">State Profile</div>
<div class="profileTitle regiontitle"></div>
<div><b>Counties:</b> <div class="counties_title"></div></div>
</div>
<div class="envProfile">
<div class="profileType">Organization Profile</div>
<div class="profileTitle">Cement Manufacturing</div>
<div><b>Amount Per:</b><br>1 m<sub>3</sub> of 10,000 psi concrete at 28 days</div>
<div><b>Global Warming Potential</b> (kg CO<sub>2</sub> eq)
<span><b>445</b></span>
<div>Emitted <span> <b>460</b></span></div>
<div>Sequestered <span> <b>-15</b></span></div>
</div>
<div><b>Ozone Depletion</b> (kg CFC 11 eq)
<span><b>0.000</b></span>
</div>
<div><b>Acidification</b> (kg SO<sub>2</sub> eq)
<span><b>2.96</b></span>
</div>
<div><b>Eutrophication</b> (kg N eq)
<span><b>0.09</b></span>
</div>
<div><b>Smog Formation</b> (kg O<sub>3</sub> eq)
<span><b>0.61</b></span>
</div>
<div><b>Primary Energy Demand</b> (Mj)
<span><b>3017</b></span>
<div>Non-renewable <span> <b>3000</b></span></div>
<div>Renewable <span> <b>17</b></span></div>
</div>
</div>
<div class="envProfile" style="margin-bottom: 15px">
<div class="profileType">Family Footprint</div>
<div class="profileTitle">My Family</div>
<div><b>Monthly Commute</b> (miles) <span>210</span></div>
</div>
</div>
<div style="clear:both"></div>
<!-- Tabular: Latest version -->
<script type="text/javascript" src="https://unpkg.com/tabulator-tables/dist/js/tabulator.min.js"></script>
<div class="content contentpadding">
<div class="btn btn-danger" style="text-shadow: none; border:2px solid #ddd; border-radius: 0rem;">
Web-Based OpenLCA Tabulator Development</div>
<h1><b>Organization:</b> Omega Cement</h1>
General Information | <span style="font-weight: bold">Inputs/Outputs</span> | Administrative | Modeling | Parameters | Social Aspects | Impact Analysis
<hr>
<select style="float:right" style="font-size:14px !important;"><option>Annually</option><option>Quarterly</option></select>
<h3 style="padding-top:0px; margin-top:0px;">Your Inputs</h3>
<div id="tabulator-lca-input"></div>
<div style="margin-top:8px; margin-bottom:25px">
<button id="add-row" style="float:left; margin-right:4px">Add Row</button>
<button id="download-csv" style="float:left; margin-right:4px">Download CSV</button>
<button id="download-json" style="float:left; margin-right:4px">Download JSON</button>
<!--
<div style="float:left">Upload File</div>
-->
<div style="float:right; font-size: 11px">Click table cells to edit</div>
</div>
<br><br>
<select style="float:right" style="font-size:14px !important;"><option>Annually</option><option>Quarterly</option></select>
<h3 style="padding-top:0px; margin-top:0px;">Your Outputs</h3>
<div id="tabulator-lca-output"></div>
<div style="margin-top:8px">
<a href="http://tabulator.info/docs/" target="_blank">Tabulator Documentation</a><br><br>
Tabs and tables above based on <a href="https://www.openlca.org/">OpenLCA</a><br><br>
</div>
</div>
<script>
var tabledata = [
{id:1, name:"Highways, streets, bridges", category:"23: Construction/2373: Highways", amount:5.00000E4, unit:"USD", costs:"80000", uncertainty:"none", provider:""},
{id:2, name:"Other educational services", category:"Technosphere Flows/61: Educational", amount:20.00000, unit:"USD", costs:"20000", uncertainty:"none", provider:""},
{id:3, name:"Transport, Train, diesel powered", category:"48-49 Transportation", amount:500.00000, unit:"t*km", costs:"40000", uncertainty:"none", provider:""},
];
var table = new Tabulator("#tabulator-lca-input", {
data:tabledata, //load row data from array
layout:"fitColumns", //fit columns to width of table
responsiveLayout:"hide", //hide columns that dont fit on the table
tooltips:true, //show tool tips on cells
addRowPos:"top", //when adding a new row, add it to the top of the table
history:true, //allow undo and redo actions on the table
movableColumns:true, //allow column order to be changed
resizableRows:true, //allow row order to be changed
columns:[ //define the table columns
{title:"Flow", field:"name", minWidth:150, editor:"input"},
{title:"Category", field:"category", minWidth:250, editor:"input"},
{title:"Amount", field:"amount", hozAlign:"right", width:120, editor:true, sorter:"number", formatter:"money", formatterParams:{precision:false,symbol:"$"}},
{title:"Unit", field:"unit", hozAlign:"right", width:95, editor:"select", editorParams:{values:["USD", "t*km"]}},
{title:"Costs/Rev", field:"costs", hozAlign:"right", width:120, editor:true, sorter:"number", formatter:"money", formatterParams:{precision:false,symbol:"$"}},
{title:"Uncertainty", field:"uncertainty", hozAlign:"right", width:120, editor:true},
{title:"Avoided", field:"avoided", hozAlign:"right", width:100, editor:true},
{title:"Provider", field:"provider", hozAlign:"right", width:100, editor:true},
],
rowSelectionChanged: function(e, row) {
//alert("Mockup Only")
//this.recalc();
},
// Within OpenLCA title appears as:
// Avoided was...
});
document.getElementById("add-row").addEventListener("click", function(){
table.addRow({});
});
document.getElementById("download-csv").addEventListener("click", function(){
table.download("csv", "data.csv");
});
document.getElementById("download-json").addEventListener("click", function(){
table.download("json", "data.json");
});
/// Output table
var tableout = [
{id:1, name:"My Project", category:"", amount:230000, unit:"USD", costs:202000, uncertainty:"none", provider:""},
];
// pagination:"local", //paginate the data
// paginationSize:7, //allow 7 rows per page of data
var tableOutput = new Tabulator("#tabulator-lca-output", {
data:tableout, //load row data from array
layout:"fitColumns", //fit columns to width of table
responsiveLayout:"hide", //hide columns that dont fit on the table
tooltips:true, //show tool tips on cells
addRowPos:"top", //when adding a new row, add it to the top of the table
history:true, //allow undo and redo actions on the table
movableColumns:true, //allow column order to be changed
resizableRows:true, //allow row order to be changed
columns:[ //define the table columns
{title:"Flow", field:"name", minWidth:150, editor:"input"},
{title:"Category", field:"category", minWidth:250, editor:"input"},
{title:"Amount", field:"amount", hozAlign:"right", width:120, editor:true, sorter:"number", formatter:"money", formatterParams:{precision:false,symbol:"$"}},
{title:"Unit", field:"unit", hozAlign:"right", width:95, editor:"select", editorParams:{values:["USD", "t*km"]}},
{title:"Costs/Rev", field:"costs", hozAlign:"right", width:120, editor:true, sorter:"number", formatter:"money", formatterParams:{precision:false,symbol:"$"}},
{title:"Uncertainty", field:"uncertainty", hozAlign:"right", width:120, editor:true},
{title:"Avoided", field:"avoided", hozAlign:"right", width:100, editor:true},
{title:"Provider", field:"provider", hozAlign:"right", width:100, editor:true},
],
rowSelectionChanged: function(e, row) {
//alert("Mockup Only")
//this.recalc();
},
});
</script>
<hr style="clear:both">
<div class="content contentpadding">
<div class="btn btn-danger" style="text-shadow: none; border:2px solid #ddd; border-radius: 0rem;">
Sustainable Material Management (SMM) Planning</div>
<h1 style="font-weight:600;">Cement Manufacturing</h1>
NAICS 327310<br><br>
This industry comprises establishments primarily engaged in manufacturing portland, natural, masonry, pozzolanic, and other hydraulic cements. Cement manufacturing establishments may calcine earths or mine, quarry, manufacture, or purchase lime. (NAICS 2007 description)
<br><br>
<h2>Top Issues</h2>
<img src="img/cement-issues-1.png" style="width:100%;max-width:800px"><br><br>
TO DO: Sort the IO Chart by issue intensity. Display totals for one year.<br><br>
<img src="img/cement-issues-2.png" style="width:100%;max-width:800px"><br><br>
<h2>Supply Chain vs Operations</h2>
<img src="img/cement-supply-vs-op.png" style="width:100%;max-width:800px"><br><br>
<br>
NOTE: Bar charts are easier to read and allow quantities to be displayed for printing.
We could default to bar chart displays in the update.<br><br>
<h2>Direct Inflow for Cement</h2>
Direct purchases potentially contributing to overall environmental issues<br><br>
<img src="img/cement-direct-purchases.png" style="width:100%;max-width:800px"><br><br>
<h2>Impacts of Direct Inflow</h2>
TO DO: Use the IO Chart to display the suppliers contributing to each impact.<br><br>
<img src="img/cement-impacts-of-purchases.png" style="width:100%;max-width:800px"><br><br>
Also "Indirect Inflow for Cement" and "Impacts of Indirect Inflow for Cement" (in page's hidden comments here)<br><br>
<!--
<h2>Indirect Inflow for Cement</h2>
<img src="img/cement-indirect-purchases.png" style="width:100%;max-width:700px"><br><br>
<h2>Impacts of Indirect Inflow for Cement</h2>
<img src="img/cement-impacts-of-indirect.png" style="width:100%;max-width:750px"><br><br>
-->
This information represents the life cycle environmental performance of an average provider of Cement in the US. This information is meant to serve as a starting place to help organizations engage in life cycle thinking and action.<br><br>
<style>
.scopeCol {
float:left;
margin-right:40px;
}
.scopeCol > b {
font-size: 18px;
font-weight: 600;
}
</style>
Alternative way to present the Supply Chain <b>Upstream-Commodites-Downstream</b> columns below.<br>
Commodities (operations) are shifted to the right column. Scope2 is primarily energy purchases according to Wes.<br><br>
<div style="border:1px solid #ccc; padding:10px 20px 10px 20px; display:inline-block;">
<h2 style="font-size:30px; font-weight:300">Value Chain</h2>
<div style="float:left; margin-right:30px">
<div style="border-bottom:1px solid #ccc">Inflow</div>
<div class="scopeCol">
<b>Before Purchases</b><br>
Indirect - Scope 3
</div>
<div class="scopeCol">
<b>From Purchases</b><br>
Indirect - Scope 2
</div>
</div>
<div class="scopeCol" style="margin-right: 0px">
<div style="border-bottom:1px solid #ccc">Outflow</div>
<b>Direct Emissions</b><br>
From owned or controlled sources - Scope 1
</div>
<br><br>
</div>
</div>
<hr style="clear:both">
<div class="content contentpadding">
<h3>One indicator across multiple commodities</h3>
Great layout for comparison with a baseline.
See our related <a href="../../community/biotech/">Deaggregation of Stage 2 Biofuels</a>.<br><br>
<a href="../../community/projects/flight/img/alternative-aviation-fuel-sustainability-fig-mar2021.png"><img src="../../community/projects/flight/img/alternative-aviation-fuel-sustainability-fig-mar2021.png" style="width:100%"></a><br>
<div style="margin-left:27px">
Source: <a href="https://theicct.org/publications/alternative-aviation-fuel-sustainability-mar2021">Assessing the sustainability implications of alternative aviation fuels</a>
</div>
</div>
<hr style="clear:both">
</body>
</html>