-
Notifications
You must be signed in to change notification settings - Fork 0
/
TiO2_runner_nano_anatase.py
executable file
·3093 lines (2792 loc) · 191 KB
/
TiO2_runner_nano_anatase.py
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
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/env python
# coding: utf-8
# futurize
# from __future__ import print_function
# In[1]:
#######################################
startYear = 2000
Tperiods = 21 # total time range considered, also for np.arange, important for development of Accumulation, release, Concentration
# if Tperiods is changed, the import settings of the production data in the model must also be changed (if Tperiods get higher)
RUNs=100 # 10000
Speriod=20 # specific period for concentrations and Mass-flows, either 14 for 2014 or 20 for 2020
########################################
# In[2]:
import nano_anatase_TiO2_model_product0 as TiO2model # here space is not allowed in model name
import Simulator as sc
import numpy as np
import matplotlib.pyplot as plt
import numpy.random as nr
from scipy.stats import gaussian_kde
import pandas as pd
# In[3]:
print('Results here in console for period: '+str(Speriod))
# In[4]:
plt.close() #
model = TiO2model.model
model.checkModelValidity()
# In[5]:
simulator = sc.Simulator(RUNs, Tperiods, 2250, True, True) # 2250 is just a seed
simulator.setModel(model)
simulator.runSimulation()
# In[6]:
sinks = simulator.getSinks()
stocks = simulator.getStocks()
# In[7]:
#print "logged Inflows called"
loggedInflows = simulator.getLoggedInflows() # compartment with loggedInflows
# In[8]:
#print "loggedInflows" + str(loggedInflows)
Comp_with_loggedOutflows = simulator.getLoggedOutflows() # compartment with LoggedOutflows
# In[9]:
## this part is used to display all flows!
print('logged Outflows:')
for Comp in Comp_with_loggedOutflows: # loggedOutflows is the compartment list of compartmensts with loggedoutflows
print('Flows from ' + Comp.name +':' )
for Target_name, value in Comp.outflowRecord.items(): # in this case name is the key, value is the matrix(data), in this case .items is needed
print(Comp.name + ' --> ' + str(Target_name))
print('Mean-->'+str(round(np.mean(value[:,Speriod]),4)))
print('Q50--> '+str(round(np.percentile(value[:,Speriod],50),4)))
print('Q25--> '+str(round(np.percentile(value[:,Speriod],25),4)))
print('Q75--> '+str(round(np.percentile(value[:,Speriod],75),4)))
print(' ')
print(' ')
print(' ')
# In[10]:
############### ALL DISAGGREGATED FLOWS ######################
# In[11]:
# export all flows to an excel - means
import csv
Flows = []
for Comp in Comp_with_loggedOutflows: # loggedOutflows is the compartment list of compartmensts with loggedoutflows
for Target_name, value in Comp.outflowRecord.items(): # in this case name is the key, value is the matrix(data), in this case .items is needed
x = []
for i in np.arange(0,Tperiods):
x.append((np.mean(value[:,i])))
z = [Comp.name, 'to',Target_name]
y= x + z
Flows.append(y)
with open('AllFlows_TiO2_mean_2000_2020_AUT_2.csv', 'w') as RM :
a = csv.writer(RM, delimiter=' ')
data = np.asarray(Flows)
a.writerows(data)
# In[12]:
# VA: export all flows to an excel - Q5
Flows_Q5 = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(np.percentile(value[:,i], 5))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_Q5.append(y)
with open('AllFlows_TiO2_Q5_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_Q5)
a.writerows(data)
# In[13]:
# VA: export all flows to an excel - Q25
Flows_Q25 = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(np.percentile(value[:,i], 25))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_Q25.append(y)
with open('AllFlows_TiO2_Q25_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_Q25)
a.writerows(data)
# In[14]:
# VA: export all flows to an excel - Q75
Flows_Q75 = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(np.percentile(value[:,i], 75))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_Q75.append(y)
with open('AllFlows_TiO2_Q75_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_Q75)
a.writerows(data)
# In[15]:
# VA: export all flows to an excel - Q95
Flows_Q95 = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(np.percentile(value[:,i], 95))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_Q95.append(y)
with open('AllFlows_TiO2_Q95_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_Q95)
a.writerows(data)
# In[16]:
# VA: export all flows to an excel - min
Flows_min = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(min(value[:,i]))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_min.append(y)
with open('AllFlows_TiO2_min_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_min)
a.writerows(data)
# In[17]:
# VA: export all flows to an excel - max
Flows_max = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(max(value[:,i]))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_max.append(y)
with open('AllFlows_TiO2_max_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_max)
a.writerows(data)
# In[18]:
# VA: export all flows to an excel - medians
Flows_med = []
for Comp in Comp_with_loggedOutflows:
for Target_name, value in Comp.outflowRecord.items():
x = []
for i in np.arange(0, Tperiods):
x.append(np.percentile(value[:,i], 50))
z = [Comp.name, 'to', Target_name]
y = x + z
Flows_med.append(y)
with open('AllFlows_TiO2_median_2000_2020_AUT_2.csv', 'w') as RM:
a = csv.writer(RM, delimiter = ' ')
data = np.asarray(Flows_med)
a.writerows(data)
# In[19]:
################# DISAGGREGATED FLOWS TO SINKS #####################
# In[20]:
Comp_with_loggedInflows = simulator.getLoggedInflows()
# In[21]:
# In[13]:
# sum up all inflows to sinks
Prod_to_Air_as_N = Comp_with_loggedInflows['Pristine from Production to Air']
Manuf_to_Air_as_N = Comp_with_loggedInflows['Pristine from Manufacturing to Air']
Paints_to_Air_as_N = Comp_with_loggedInflows['Pristine in Air from Paints']
Paints_to_Air_as_M = Comp_with_loggedInflows['Matrix-embedded in Air from Paints']
Glass_to_Air_as_N = Comp_with_loggedInflows['Pristine from Glass coating to Air']
Glass_to_Air_as_M = Comp_with_loggedInflows['Matrix-embedded from Glass coating to Air']
Ceram_to_Air_as_N = Comp_with_loggedInflows['Pristine from Ceramics coating to Air']
Ceram_to_Air_as_M = Comp_with_loggedInflows['Matrix-embedded from Ceramics coating to Air']
RubPlas_to_Air_as_N = Comp_with_loggedInflows['Pristine from RubPlas to Air']
RubPlas_to_Air_as_M = Comp_with_loggedInflows['Matrix-embedded from RubPlas to Air']
Textiles_to_Air_as_N = Comp_with_loggedInflows['Pristine from Textiles to Air']
Textiles_to_Air_as_M = Comp_with_loggedInflows['Matrix-embedded from Textiles to Air']
WIP_to_Air_as_N = Comp_with_loggedInflows['From WIP to Air as Pristine']
WIP_to_Air_as_T = Comp_with_loggedInflows['From WIP to Air as Transformed']
Repr_to_Air_as_N = Comp_with_loggedInflows['Pristine particles in air from reprocessing systems']
Repr_to_Air_as_M = Comp_with_loggedInflows['Matrix-embedded particles in air from reprocessing systems']
Paints_to_NUSoil_as_N = Comp_with_loggedInflows['Pristine in Soil from Paints']
Paints_to_NUSoil_as_M = Comp_with_loggedInflows['Matrix-embedded in Soil from Paints']
Glass_to_NUSoil_as_N = Comp_with_loggedInflows['Pristine from Glass coating to NU Soil']
Glass_to_NUSoil_as_M = Comp_with_loggedInflows['Matrix-embedded from Glass coating to NU Soil']
Ceram_to_NUSoil_as_N = Comp_with_loggedInflows['Pristine from Ceramics coating to NU Soil']
Ceram_to_NUSoil_as_M = Comp_with_loggedInflows['Matrix-embedded from Ceramics coating to NU Soil']
Sewer_to_Subsurf_as_N = Comp_with_loggedInflows['Pristine from Sewer to Subsurface']
Sewer_to_Subsurf_as_M = Comp_with_loggedInflows['Matrix-embedded from Sewer to Subsurface']
Sewer_to_Subsurf_as_T = Comp_with_loggedInflows['Transformed from Sewer to Subsurface']
OnSiteTreat_to_Subsurf_as_N = Comp_with_loggedInflows['Pristine from On-site treatment to Subsurface']
OnSiteTreat_to_Subsurf_as_M = Comp_with_loggedInflows['Matrix-embedded from On-site treatment to Subsurface']
OnSiteTreat_to_Subsurf_as_T = Comp_with_loggedInflows['Transformed from On-site treatment to Subsurface']
STSoil_N = Comp_with_loggedInflows['Pristine in Sludge treated soil']
STSoil_M = Comp_with_loggedInflows['Matrix-embedded in Sludge treated soil']
STSoil_T = Comp_with_loggedInflows['Transformed in Sludge treated soil']
OnSiteSludge_N = Comp_with_loggedInflows['Pristine in OnsiteSludge']
OnSiteSludge_M = Comp_with_loggedInflows['Matrix-embedded in OnsiteSludge']
OnSiteSludge_T = Comp_with_loggedInflows['Transformed in OnsiteSludge']
PersCare_to_SurfWater_as_N = Comp_with_loggedInflows['Pristine in Surfacewater from PersCare']
NoSewer_to_SurfWater_as_N = Comp_with_loggedInflows['Pristine from no sewer to surface water']
NoSewer_to_SurfWater_as_M = Comp_with_loggedInflows['Matrix-embedded from no sewer to surface water']
NoSewer_to_SurfWater_as_T = Comp_with_loggedInflows['Transformed from no sewer to surface water']
EndSewer_to_SurfWater_as_N = Comp_with_loggedInflows['Pristine from sewer to surface water']
EndSewer_to_SurfWater_as_M = Comp_with_loggedInflows['Matrix-embedded from sewer to surface water']
EndSewer_to_SurfWater_as_T = Comp_with_loggedInflows['Transformed from sewer to surface water']
Overflow_to_SurfWater_as_N = Comp_with_loggedInflows['Pristine to STPoverflow and Surface water']
Overflow_to_SurfWater_as_M = Comp_with_loggedInflows['Matrix-embedded to STPoverflow and Surface water']
Overflow_to_SurfWater_as_T = Comp_with_loggedInflows['Transformed to STPoverflow and Surface water']
STPEffluent_to_SurfWater_as_N = Comp_with_loggedInflows['Pristine to STPeffluent and Surface water']
STPEffluent_to_SurfWater_as_M = Comp_with_loggedInflows['Matrix-embedded to STPeffluent and Surface water']
STPEffluent_to_SurfWater_as_T = Comp_with_loggedInflows['Transformed to STPeffluent and Surface water']
ManufTextW_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Textile manufacturing waste to Landfill']
ManufPlasW_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Plastics manufacturing waste to Landfill']
STPSlud_to_Landfill_as_N = Comp_with_loggedInflows['Pristine from STP Sludge to Landfill']
STPSlud_to_Landfill_as_M = Comp_with_loggedInflows['Matrix-embedded from STP Sludge to Landfill']
STPSlud_to_Landfill_as_T = Comp_with_loggedInflows['Transformed from STP Sludge to Landfill']
MMSW_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from MMSW to Landfill']
CDW_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from CDW to Landfill']
SortCDWGlass_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Sorted CDW glass to Landfill']
SortCDWMiner_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Sorted CDW minerals to Landfill']
SortDisp_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from other sorting to Landfill']
GranuPlas_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Plastic granulation to Landfill']
BaliText_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Textile baling to Landfill']
Purislag_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Purification slag to Landfill']
Purislag_to_Landfill_as_T = Comp_with_loggedInflows['Transformed from Purification slag to Landfill']
SortMiner_to_Landfill_as_P = Comp_with_loggedInflows['Product-embedded from Sorted minerals to Landfill']
Filterash_to_Landfill_as_N = Comp_with_loggedInflows['Pristine from Filter ash to Landfill']
Filterash_to_Landfill_as_T = Comp_with_loggedInflows['Transformed from Filter ash to Landfill']
Bottomash_to_Landfill_as_N = Comp_with_loggedInflows['Pristine from Bottom ash to Landfill']
Bottomash_to_Landfill_as_T = Comp_with_loggedInflows['Transformed from Bottom ash to Landfill']
ManufTextW_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Textile manufacturing to reprocessing and reuse']
ManufPlasW_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Plastic manufacturing to reprocessing and reuse']
ManufSolidW_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Other solids manufacturing to reprocessing and reuse']
Filterash_to_Reuse_as_N = Comp_with_loggedInflows['Pristine from Filter ash to Reuse']
Filterash_to_Reuse_as_T = Comp_with_loggedInflows['Transformed from Filter ash to Reuse']
Bottomash_to_Reuse_as_N = Comp_with_loggedInflows['Pristine from Bottom ash to Reuse']
Bottomash_to_Reuse_as_T = Comp_with_loggedInflows['Transformed from Bottom ash to Reuse']
GranuPlas_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Plastic granulation to Reuse']
BaliText_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Textile baling to Reuse']
PuriMetal_to_Reuse_as_T = Comp_with_loggedInflows['Transformed from Metal purification to Reuse']
PuriMetal_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Metal purification to Reuse']
PuriSlag_to_Reuse_as_T = Comp_with_loggedInflows['Transformed from Purification slag to Reuse']
PuriSlag_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Purification slag to Reuse']
MeltGlass_to_Reuse_as_T = Comp_with_loggedInflows['Transformed from Glass melting to Reuse']
SortMiner_to_Reuse_as_P = Comp_with_loggedInflows['Product-embedded from Sorted minerals to Reuse']
SortWEEE_to_Export_as_P = Comp_with_loggedInflows['From Sorting WEEE to Export']
SortTextW_to_Export_as_P = Comp_with_loggedInflows['From Sorting Textile waste to Export']
# In[22]:
# Extract means to sinks for each year
Means_To_Sinks = np.zeros(shape=(83,Tperiods))
for i in np.arange(0,Tperiods):
Means_To_Sinks[0,i]=np.mean(Prod_to_Air_as_N[:,i])
Means_To_Sinks[1,i]=np.mean(Manuf_to_Air_as_N[:,i])
Means_To_Sinks[2,i]=np.mean(Paints_to_Air_as_N[:,i])
Means_To_Sinks[3,i]=np.mean(Paints_to_Air_as_M[:,i])
Means_To_Sinks[4,i]=np.mean(Glass_to_Air_as_N[:,i])
Means_To_Sinks[5,i]=np.mean(Glass_to_Air_as_M[:,i])
Means_To_Sinks[6,i]=np.mean(Ceram_to_Air_as_N[:,i])
Means_To_Sinks[7,i]=np.mean(Ceram_to_Air_as_M[:,i])
Means_To_Sinks[8,i]=np.mean(RubPlas_to_Air_as_N[:,i])
Means_To_Sinks[9,i]=np.mean(RubPlas_to_Air_as_M[:,i])
Means_To_Sinks[10,i]=np.mean(Textiles_to_Air_as_N[:,i])
Means_To_Sinks[11,i]=np.mean(Textiles_to_Air_as_M[:,i])
Means_To_Sinks[12,i]=np.mean(WIP_to_Air_as_N[:,i])
Means_To_Sinks[13,i]=np.mean(WIP_to_Air_as_T[:,i])
Means_To_Sinks[14,i]=np.mean(Repr_to_Air_as_N[:,i])
Means_To_Sinks[15,i]=np.mean(Repr_to_Air_as_M[:,i])
Means_To_Sinks[16,i]=np.mean(Paints_to_NUSoil_as_N[:,i])
Means_To_Sinks[17,i]=np.mean(Paints_to_NUSoil_as_M[:,i])
Means_To_Sinks[18,i]=np.mean(Glass_to_NUSoil_as_N[:,i])
Means_To_Sinks[19,i]=np.mean(Glass_to_NUSoil_as_M[:,i])
Means_To_Sinks[20,i]=np.mean(Ceram_to_NUSoil_as_N[:,i])
Means_To_Sinks[21,i]=np.mean(Ceram_to_NUSoil_as_M[:,i])
Means_To_Sinks[22,i]=np.mean(Sewer_to_Subsurf_as_N[:,i])
Means_To_Sinks[23,i]=np.mean(Sewer_to_Subsurf_as_M[:,i])
Means_To_Sinks[24,i]=np.mean(Sewer_to_Subsurf_as_T[:,i])
Means_To_Sinks[25,i]=np.mean(OnSiteTreat_to_Subsurf_as_N[:,i])
Means_To_Sinks[26,i]=np.mean(OnSiteTreat_to_Subsurf_as_M[:,i])
Means_To_Sinks[27,i]=np.mean(OnSiteTreat_to_Subsurf_as_T[:,i])
Means_To_Sinks[28,i]=np.mean(STSoil_N[:,i])
Means_To_Sinks[29,i]=np.mean(STSoil_M[:,i])
Means_To_Sinks[30,i]=np.mean(STSoil_T[:,i])
Means_To_Sinks[31,i]=np.mean(OnSiteSludge_N[:,i])
Means_To_Sinks[32,i]=np.mean(OnSiteSludge_M[:,i])
Means_To_Sinks[33,i]=np.mean(OnSiteSludge_T[:,i])
Means_To_Sinks[34,i]=np.mean(PersCare_to_SurfWater_as_N[:,i])
Means_To_Sinks[35,i]=np.mean(NoSewer_to_SurfWater_as_N[:,i])
Means_To_Sinks[36,i]=np.mean(NoSewer_to_SurfWater_as_M[:,i])
Means_To_Sinks[37,i]=np.mean(NoSewer_to_SurfWater_as_T[:,i])
Means_To_Sinks[38,i]=np.mean(EndSewer_to_SurfWater_as_N[:,i])
Means_To_Sinks[39,i]=np.mean(EndSewer_to_SurfWater_as_M[:,i])
Means_To_Sinks[40,i]=np.mean(EndSewer_to_SurfWater_as_T[:,i])
Means_To_Sinks[41,i]=np.mean(Overflow_to_SurfWater_as_N[:,i])
Means_To_Sinks[42,i]=np.mean(Overflow_to_SurfWater_as_M[:,i])
Means_To_Sinks[43,i]=np.mean(Overflow_to_SurfWater_as_T[:,i])
Means_To_Sinks[44,i]=np.mean(STPEffluent_to_SurfWater_as_N[:,i])
Means_To_Sinks[45,i]=np.mean(STPEffluent_to_SurfWater_as_M[:,i])
Means_To_Sinks[46,i]=np.mean(STPEffluent_to_SurfWater_as_T[:,i])
Means_To_Sinks[47,i]=np.mean(ManufTextW_to_Landfill_as_P[:,i])
Means_To_Sinks[48,i]=np.mean(ManufPlasW_to_Landfill_as_P[:,i])
Means_To_Sinks[49,i]=np.mean(STPSlud_to_Landfill_as_N[:,i])
Means_To_Sinks[50,i]=np.mean(STPSlud_to_Landfill_as_M[:,i])
Means_To_Sinks[51,i]=np.mean(STPSlud_to_Landfill_as_T[:,i])
Means_To_Sinks[52,i]=np.mean(MMSW_to_Landfill_as_P[:,i])
Means_To_Sinks[53,i]=np.mean(CDW_to_Landfill_as_P[:,i])
Means_To_Sinks[54,i]=np.mean(SortCDWGlass_to_Landfill_as_P[:,i])
Means_To_Sinks[55,i]=np.mean(SortCDWMiner_to_Landfill_as_P[:,i])
Means_To_Sinks[56,i]=np.mean(SortDisp_to_Landfill_as_P[:,i])
Means_To_Sinks[57,i]=np.mean(GranuPlas_to_Landfill_as_P[:,i])
Means_To_Sinks[58,i]=np.mean(BaliText_to_Landfill_as_P[:,i])
Means_To_Sinks[59,i]=np.mean(Purislag_to_Landfill_as_P[:,i])
Means_To_Sinks[60,i]=np.mean(Purislag_to_Landfill_as_T[:,i])
Means_To_Sinks[61,i]=np.mean(SortMiner_to_Landfill_as_P[:,i])
Means_To_Sinks[62,i]=np.mean(Filterash_to_Landfill_as_N[:,i])
Means_To_Sinks[63,i]=np.mean(Filterash_to_Landfill_as_T[:,i])
Means_To_Sinks[64,i]=np.mean(Bottomash_to_Landfill_as_N[:,i])
Means_To_Sinks[65,i]=np.mean(Bottomash_to_Landfill_as_T[:,i])
Means_To_Sinks[66,i]=np.mean(ManufTextW_to_Reuse_as_P[:,i])
Means_To_Sinks[67,i]=np.mean(ManufPlasW_to_Reuse_as_P[:,i])
Means_To_Sinks[68,i]=np.mean(ManufSolidW_to_Reuse_as_P[:,i])
Means_To_Sinks[69,i]=np.mean(Filterash_to_Reuse_as_N[:,i])
Means_To_Sinks[70,i]=np.mean(Filterash_to_Reuse_as_T[:,i])
Means_To_Sinks[71,i]=np.mean(Bottomash_to_Reuse_as_N[:,i])
Means_To_Sinks[72,i]=np.mean(Bottomash_to_Reuse_as_T[:,i])
Means_To_Sinks[73,i]=np.mean(GranuPlas_to_Reuse_as_P[:,i])
Means_To_Sinks[74,i]=np.mean(BaliText_to_Reuse_as_P[:,i])
Means_To_Sinks[75,i]=np.mean(PuriMetal_to_Reuse_as_T[:,i])
Means_To_Sinks[76,i]=np.mean(PuriMetal_to_Reuse_as_P[:,i])
Means_To_Sinks[77,i]=np.mean(PuriSlag_to_Reuse_as_T[:,i])
Means_To_Sinks[78,i]=np.mean(PuriSlag_to_Reuse_as_P[:,i])
Means_To_Sinks[79,i]=np.mean(MeltGlass_to_Reuse_as_T[:,i])
Means_To_Sinks[80,i]=np.mean(SortMiner_to_Reuse_as_P[:,i])
Means_To_Sinks[81,i]=np.mean(SortWEEE_to_Export_as_P[:,i])
Means_To_Sinks[82,i]=np.mean(SortTextW_to_Export_as_P[:,i])
# In[23]:
Means_To_Sinks_DF = pd.DataFrame({'Pristine to Air from Production':Means_To_Sinks[0,:],
'Pristine to Air from Manufacturing':Means_To_Sinks[1,:],
'Pristine to Air from Paints':Means_To_Sinks[2,:],
'Matrix-embedded to Air from Paints':Means_To_Sinks[3,:],
'Pristine to Air from Glass':Means_To_Sinks[4,:],
'Matrix-embedded to Air from Glass':Means_To_Sinks[5,:],
'Pristine to Air from Ceramics':Means_To_Sinks[6,:],
'Matrix-embedded to Air from Ceramics':Means_To_Sinks[7,:],
'Pristine to Air from Rubber & Plastics':Means_To_Sinks[8,:],
'Matrix-embedded to Air from Rubber & Plastics':Means_To_Sinks[9,:],
'Pristine to Air from Textiles':Means_To_Sinks[10,:],
'Matrix-embedded to Air from Textiles':Means_To_Sinks[11,:],
'Pristine to Air from WIP':Means_To_Sinks[12,:],
'Transformed to Air from WIP':Means_To_Sinks[13,:],
'Pristine particles to Air from Reprocessing':Means_To_Sinks[14,:],
'Matrix-embedded particles to Air from Reprocessing':Means_To_Sinks[15,:],
'Pristine to NUSoil from Paints':Means_To_Sinks[16,:],
'Matrix-embedded to NUSoil from Paints':Means_To_Sinks[17,:],
'Pristine to NUSoil from Glass':Means_To_Sinks[18,:],
'Matrix-embedded to NUSoil from Glass':Means_To_Sinks[19,:],
'Pristine to NUSoil from Ceramics':Means_To_Sinks[20,:],
'Matrix-embedded to NUSoil from Ceramics':Means_To_Sinks[21,:],
'Pristine to Subsurface from Sewer':Means_To_Sinks[22,:],
'Matrix-embedded to Subsurface from Sewer':Means_To_Sinks[23,:],
'Transformed to Subsurface from Sewer':Means_To_Sinks[24,:],
'Pristine to Subsurface from OnSite treatment':Means_To_Sinks[25,:],
'Matrix-embedded to Subsurface from OnSite treatment':Means_To_Sinks[26,:],
'Transformed to Subsurface from OnSite treatment':Means_To_Sinks[27,:],
'Pristine to Sludge treated soil':Means_To_Sinks[28,:],
'Matrix-embedded to Sludge treated soil':Means_To_Sinks[29,:],
'Transformed to Sludge treated soil':Means_To_Sinks[30,:],
'Pristine to OnsiteSludge':Means_To_Sinks[31,:],
'Matrix-embedded to OnsiteSludge':Means_To_Sinks[32,:],
'Transformed to OnsiteSludge':Means_To_Sinks[33,:],
'Pristine to Surface water from PersCareLiquids':Means_To_Sinks[34,:],
'Pristine to Surface water from No sewer':Means_To_Sinks[35,:],
'Matrix-embedded to Surface water from No sewer':Means_To_Sinks[36,:],
'Transformed to Surface water from No sewer':Means_To_Sinks[37,:],
'Pristine to Surface water from Sewer':Means_To_Sinks[38,:],
'Matrix-embedded to Surface water from Sewer':Means_To_Sinks[39,:],
'Transformed to Surface water from Sewer':Means_To_Sinks[40,:],
'Pristine to STP overflow and Surface water':Means_To_Sinks[41,:],
'Matrix-embedded to STP overflow and Surface water':Means_To_Sinks[42,:],
'Transformed to STP overflow and Surface water':Means_To_Sinks[43,:],
'Pristine to STP effluent and Surface water':Means_To_Sinks[44,:],
'Matrix-embedded to STP effluent and Surface water':Means_To_Sinks[45,:],
'Transformed to STP effluent and Surface water':Means_To_Sinks[46,:],
'Product-embedded to Landfill from Textiles manufacturing waste':Means_To_Sinks[47,:],
'Product-embedded to Landfill from Plastic manufacturing waste':Means_To_Sinks[48,:],
'Pristine to Landfill from STP sludge':Means_To_Sinks[49,:],
'Matrix-embedded to Landfill from STP sludge':Means_To_Sinks[50,:],
'Transformed to Landfill from STP sludge':Means_To_Sinks[51,:],
'Product-embedded to Landfill from MMSW':Means_To_Sinks[52,:],
'Product-embedded to Landfill from CDW':Means_To_Sinks[53,:],
'Product-embedded to Landfill from Sorted CDW Glass':Means_To_Sinks[54,:],
'Product-embedded to Landfill from Sorted CDW Mineral':Means_To_Sinks[55,:],
'Product-embedded to Landfill from Other sorting':Means_To_Sinks[56,:],
'Product-embedded to Landfill from Plastic granulation':Means_To_Sinks[57,:],
'Product-embedded to Landfill from Textile baling':Means_To_Sinks[58,:],
'Product-embedded to Landfill from Purification slag':Means_To_Sinks[59,:],
'Transformed to Landfill from Purification slag':Means_To_Sinks[60,:],
'Product-embedded to Landfill from Sorted mineral':Means_To_Sinks[61,],
'Pristine to Landfill from Filter ash':Means_To_Sinks[62,:],
'Transformed to Landfill from Filter ash':Means_To_Sinks[63,:],
'Pristine to Landfill from Bottom ash':Means_To_Sinks[64,:],
'Transformed to Landfill from Bottom ash':Means_To_Sinks[65,:],
'Product-embedded to Reuse from Manufacturing textile waste':Means_To_Sinks[66,:],
'Product-embedded to Reuse from Manufacturing plastic waste':Means_To_Sinks[67,:],
'Product-embedded to Reuse from Manufacturing other solid waste':Means_To_Sinks[68,:],
'Pristine from Filter ash to Reuse':Means_To_Sinks[69,:],
'Transformed to Reuse from Filter ash':Means_To_Sinks[70,:],
'Pristine to Reuse from Bottom ash':Means_To_Sinks[71,:],
'Transformed to Reuse from Bottom ash':Means_To_Sinks[72,:],
'Product-embedded to Reuse from Plastic granulation':Means_To_Sinks[73,:],
'Product-embedded to Reuse from Baling textiles':Means_To_Sinks[74,:],
'Transformed to Reuse from Metal purification':Means_To_Sinks[75,:],
'Product-embedded to Reuse from Metal purification':Means_To_Sinks[76,:],
'Transformed to Reuse from Slag purification':Means_To_Sinks[77,:],
'Product-embedded to Reuse from Slag purification':Means_To_Sinks[78,:],
'Transformed to Reuse from Melting glass':Means_To_Sinks[79,:],
'Product-embedded to Reuse from Sorting minerals':Means_To_Sinks[80,:],
'Product-embedded to Export from Sorting WEEE':Means_To_Sinks[81,:],
'Product-embedded to Export from Sorting textile waste':Means_To_Sinks[82,:],})
Means_To_Sinks_DF_Transp = pd.DataFrame.transpose(Means_To_Sinks_DF)
Means_To_Sinks_DF_Transp.to_csv('Means to Sinks - TiO2 - AUT_2.csv',index=True, sep=',')
# In[24]:
# Extract means to sinks for each year
Min_To_Sinks = np.zeros(shape=(83,Tperiods))
for i in np.arange(0,Tperiods):
Min_To_Sinks[0,i]=min(Prod_to_Air_as_N[:,i])
Min_To_Sinks[1,i]=min(Manuf_to_Air_as_N[:,i])
Min_To_Sinks[2,i]=min(Paints_to_Air_as_N[:,i])
Min_To_Sinks[3,i]=min(Paints_to_Air_as_M[:,i])
Min_To_Sinks[4,i]=min(Glass_to_Air_as_N[:,i])
Min_To_Sinks[5,i]=min(Glass_to_Air_as_M[:,i])
Min_To_Sinks[6,i]=min(Ceram_to_Air_as_N[:,i])
Min_To_Sinks[7,i]=min(Ceram_to_Air_as_M[:,i])
Min_To_Sinks[8,i]=min(RubPlas_to_Air_as_N[:,i])
Min_To_Sinks[9,i]=min(RubPlas_to_Air_as_M[:,i])
Min_To_Sinks[10,i]=min(Textiles_to_Air_as_N[:,i])
Min_To_Sinks[11,i]=min(Textiles_to_Air_as_M[:,i])
Min_To_Sinks[12,i]=min(WIP_to_Air_as_N[:,i])
Min_To_Sinks[13,i]=min(WIP_to_Air_as_T[:,i])
Min_To_Sinks[14,i]=min(Repr_to_Air_as_N[:,i])
Min_To_Sinks[15,i]=min(Repr_to_Air_as_M[:,i])
Min_To_Sinks[16,i]=min(Paints_to_NUSoil_as_N[:,i])
Min_To_Sinks[17,i]=min(Paints_to_NUSoil_as_M[:,i])
Min_To_Sinks[18,i]=min(Glass_to_NUSoil_as_N[:,i])
Min_To_Sinks[19,i]=min(Glass_to_NUSoil_as_M[:,i])
Min_To_Sinks[20,i]=min(Ceram_to_NUSoil_as_N[:,i])
Min_To_Sinks[21,i]=min(Ceram_to_NUSoil_as_M[:,i])
Min_To_Sinks[22,i]=min(Sewer_to_Subsurf_as_N[:,i])
Min_To_Sinks[23,i]=min(Sewer_to_Subsurf_as_M[:,i])
Min_To_Sinks[24,i]=min(Sewer_to_Subsurf_as_T[:,i])
Min_To_Sinks[25,i]=min(OnSiteTreat_to_Subsurf_as_N[:,i])
Min_To_Sinks[26,i]=min(OnSiteTreat_to_Subsurf_as_M[:,i])
Min_To_Sinks[27,i]=min(OnSiteTreat_to_Subsurf_as_T[:,i])
Min_To_Sinks[28,i]=min(STSoil_N[:,i])
Min_To_Sinks[29,i]=min(STSoil_M[:,i])
Min_To_Sinks[30,i]=min(STSoil_T[:,i])
Min_To_Sinks[31,i]=min(OnSiteSludge_N[:,i])
Min_To_Sinks[32,i]=min(OnSiteSludge_M[:,i])
Min_To_Sinks[33,i]=min(OnSiteSludge_T[:,i])
Min_To_Sinks[34,i]=min(PersCare_to_SurfWater_as_N[:,i])
Min_To_Sinks[35,i]=min(NoSewer_to_SurfWater_as_N[:,i])
Min_To_Sinks[36,i]=min(NoSewer_to_SurfWater_as_M[:,i])
Min_To_Sinks[37,i]=min(NoSewer_to_SurfWater_as_T[:,i])
Min_To_Sinks[38,i]=min(EndSewer_to_SurfWater_as_N[:,i])
Min_To_Sinks[39,i]=min(EndSewer_to_SurfWater_as_M[:,i])
Min_To_Sinks[40,i]=min(EndSewer_to_SurfWater_as_T[:,i])
Min_To_Sinks[41,i]=min(Overflow_to_SurfWater_as_N[:,i])
Min_To_Sinks[42,i]=min(Overflow_to_SurfWater_as_M[:,i])
Min_To_Sinks[43,i]=min(Overflow_to_SurfWater_as_T[:,i])
Min_To_Sinks[44,i]=min(STPEffluent_to_SurfWater_as_N[:,i])
Min_To_Sinks[45,i]=min(STPEffluent_to_SurfWater_as_M[:,i])
Min_To_Sinks[46,i]=min(STPEffluent_to_SurfWater_as_T[:,i])
Min_To_Sinks[47,i]=min(ManufTextW_to_Landfill_as_P[:,i])
Min_To_Sinks[48,i]=min(ManufPlasW_to_Landfill_as_P[:,i])
Min_To_Sinks[49,i]=min(STPSlud_to_Landfill_as_N[:,i])
Min_To_Sinks[50,i]=min(STPSlud_to_Landfill_as_M[:,i])
Min_To_Sinks[51,i]=min(STPSlud_to_Landfill_as_T[:,i])
Min_To_Sinks[52,i]=min(MMSW_to_Landfill_as_P[:,i])
Min_To_Sinks[53,i]=min(CDW_to_Landfill_as_P[:,i])
Min_To_Sinks[54,i]=min(SortCDWGlass_to_Landfill_as_P[:,i])
Min_To_Sinks[55,i]=min(SortCDWMiner_to_Landfill_as_P[:,i])
Min_To_Sinks[56,i]=min(SortDisp_to_Landfill_as_P[:,i])
Min_To_Sinks[57,i]=min(GranuPlas_to_Landfill_as_P[:,i])
Min_To_Sinks[58,i]=min(BaliText_to_Landfill_as_P[:,i])
Min_To_Sinks[59,i]=min(Purislag_to_Landfill_as_P[:,i])
Min_To_Sinks[60,i]=min(Purislag_to_Landfill_as_T[:,i])
Min_To_Sinks[61,i]=min(SortMiner_to_Landfill_as_P[:,i])
Min_To_Sinks[62,i]=min(Filterash_to_Landfill_as_N[:,i])
Min_To_Sinks[63,i]=min(Filterash_to_Landfill_as_T[:,i])
Min_To_Sinks[64,i]=min(Bottomash_to_Landfill_as_N[:,i])
Min_To_Sinks[65,i]=min(Bottomash_to_Landfill_as_T[:,i])
Min_To_Sinks[66,i]=min(ManufTextW_to_Reuse_as_P[:,i])
Min_To_Sinks[67,i]=min(ManufPlasW_to_Reuse_as_P[:,i])
Min_To_Sinks[68,i]=min(ManufSolidW_to_Reuse_as_P[:,i])
Min_To_Sinks[69,i]=min(Filterash_to_Reuse_as_N[:,i])
Min_To_Sinks[70,i]=min(Filterash_to_Reuse_as_T[:,i])
Min_To_Sinks[71,i]=min(Bottomash_to_Reuse_as_N[:,i])
Min_To_Sinks[72,i]=min(Bottomash_to_Reuse_as_T[:,i])
Min_To_Sinks[73,i]=min(GranuPlas_to_Reuse_as_P[:,i])
Min_To_Sinks[74,i]=min(BaliText_to_Reuse_as_P[:,i])
Min_To_Sinks[75,i]=min(PuriMetal_to_Reuse_as_T[:,i])
Min_To_Sinks[76,i]=min(PuriMetal_to_Reuse_as_P[:,i])
Min_To_Sinks[77,i]=min(PuriSlag_to_Reuse_as_T[:,i])
Min_To_Sinks[78,i]=min(PuriSlag_to_Reuse_as_P[:,i])
Min_To_Sinks[79,i]=min(MeltGlass_to_Reuse_as_T[:,i])
Min_To_Sinks[80,i]=min(SortMiner_to_Reuse_as_P[:,i])
Min_To_Sinks[81,i]=min(SortWEEE_to_Export_as_P[:,i])
Min_To_Sinks[82,i]=min(SortTextW_to_Export_as_P[:,i])
# In[25]:
Min_To_Sinks_DF = pd.DataFrame({'Pristine to Air from Production':Min_To_Sinks[0,:],
'Pristine to Air from Manufacturing':Min_To_Sinks[1,:],
'Pristine to Air from Paints':Min_To_Sinks[2,:],
'Matrix-embedded to Air from Paints':Min_To_Sinks[3,:],
'Pristine to Air from Glass':Min_To_Sinks[4,:],
'Matrix-embedded to Air from Glass':Min_To_Sinks[5,:],
'Pristine to Air from Ceramics':Min_To_Sinks[6,:],
'Matrix-embedded to Air from Ceramics':Min_To_Sinks[7,:],
'Pristine to Air from Rubber & Plastics':Min_To_Sinks[8,:],
'Matrix-embedded to Air from Rubber & Plastics':Min_To_Sinks[9,:],
'Pristine to Air from Textiles':Min_To_Sinks[10,:],
'Matrix-embedded to Air from Textiles':Min_To_Sinks[11,:],
'Pristine to Air from WIP':Min_To_Sinks[12,:],
'Transformed to Air from WIP':Min_To_Sinks[13,:],
'Pristine particles to Air from Reprocessing':Min_To_Sinks[14,:],
'Matrix-embedded particles to Air from Reprocessing':Min_To_Sinks[15,:],
'Pristine to NUSoil from Paints':Min_To_Sinks[16,:],
'Matrix-embedded to NUSoil from Paints':Min_To_Sinks[17,:],
'Pristine to NUSoil from Glass':Min_To_Sinks[18,:],
'Matrix-embedded to NUSoil from Glass':Min_To_Sinks[19,:],
'Pristine to NUSoil from Ceramics':Min_To_Sinks[20,:],
'Matrix-embedded to NUSoil from Ceramics':Min_To_Sinks[21,:],
'Pristine to Subsurface from Sewer':Min_To_Sinks[22,:],
'Matrix-embedded to Subsurface from Sewer':Min_To_Sinks[23,:],
'Transformed to Subsurface from Sewer':Min_To_Sinks[24,:],
'Pristine to Subsurface from OnSite treatment':Min_To_Sinks[25,:],
'Matrix-embedded to Subsurface from OnSite treatment':Min_To_Sinks[26,:],
'Transformed to Subsurface from OnSite treatment':Min_To_Sinks[27,:],
'Pristine to Sludge treated soil':Min_To_Sinks[28,:],
'Matrix-embedded to Sludge treated soil':Min_To_Sinks[29,:],
'Transformed to Sludge treated soil':Min_To_Sinks[30,:],
'Pristine to OnsiteSludge':Min_To_Sinks[31,:],
'Matrix-embedded to OnsiteSludge':Min_To_Sinks[32,:],
'Transformed to OnsiteSludge':Min_To_Sinks[33,:],
'Pristine to Surface water from PersCareLiquids':Min_To_Sinks[34,:],
'Pristine to Surface water from No sewer':Min_To_Sinks[35,:],
'Matrix-embedded to Surface water from No sewer':Min_To_Sinks[36,:],
'Transformed to Surface water from No sewer':Min_To_Sinks[37,:],
'Pristine to Surface water from Sewer':Min_To_Sinks[38,:],
'Matrix-embedded to Surface water from Sewer':Min_To_Sinks[39,:],
'Transformed to Surface water from Sewer':Min_To_Sinks[40,:],
'Pristine to STP overflow and Surface water':Min_To_Sinks[41,:],
'Matrix-embedded to STP overflow and Surface water':Min_To_Sinks[42,:],
'Transformed to STP overflow and Surface water':Min_To_Sinks[43,:],
'Pristine to STP effluent and Surface water':Min_To_Sinks[44,:],
'Matrix-embedded to STP effluent and Surface water':Min_To_Sinks[45,:],
'Transformed to STP effluent and Surface water':Min_To_Sinks[46,:],
'Product-embedded to Landfill from Textiles manufacturing waste':Min_To_Sinks[47,:],
'Product-embedded to Landfill from Plastic manufacturing waste':Min_To_Sinks[48,:],
'Pristine to Landfill from STP sludge':Min_To_Sinks[49,:],
'Matrix-embedded to Landfill from STP sludge':Min_To_Sinks[50,:],
'Transformed to Landfill from STP sludge':Min_To_Sinks[51,:],
'Product-embedded to Landfill from MMSW':Min_To_Sinks[52,:],
'Product-embedded to Landfill from CDW':Min_To_Sinks[53,:],
'Product-embedded to Landfill from Sorted CDW Glass':Min_To_Sinks[54,:],
'Product-embedded to Landfill from Sorted CDW Mineral':Min_To_Sinks[55,:],
'Product-embedded to Landfill from Other sorting':Min_To_Sinks[56,:],
'Product-embedded to Landfill from Plastic granulation':Min_To_Sinks[57,:],
'Product-embedded to Landfill from Textile baling':Min_To_Sinks[58,:],
'Product-embedded to Landfill from Purification slag':Min_To_Sinks[59,:],
'Transformed to Landfill from Purification slag':Min_To_Sinks[60,:],
'Product-embedded to Landfill from Sorted mineral':Min_To_Sinks[61,],
'Pristine to Landfill from Filter ash':Min_To_Sinks[62,:],
'Transformed to Landfill from Filter ash':Min_To_Sinks[63,:],
'Pristine to Landfill from Bottom ash':Min_To_Sinks[64,:],
'Transformed to Landfill from Bottom ash':Min_To_Sinks[65,:],
'Product-embedded to Reuse from Manufacturing textile waste':Min_To_Sinks[66,:],
'Product-embedded to Reuse from Manufacturing plastic waste':Min_To_Sinks[67,:],
'Product-embedded to Reuse from Manufacturing other solid waste':Min_To_Sinks[68,:],
'Pristine from Filter ash to Reuse':Min_To_Sinks[69,:],
'Transformed to Reuse from Filter ash':Min_To_Sinks[70,:],
'Pristine to Reuse from Bottom ash':Min_To_Sinks[71,:],
'Transformed to Reuse from Bottom ash':Min_To_Sinks[72,:],
'Product-embedded to Reuse from Plastic granulation':Min_To_Sinks[73,:],
'Product-embedded to Reuse from Baling textiles':Min_To_Sinks[74,:],
'Transformed to Reuse from Metal purification':Min_To_Sinks[75,:],
'Product-embedded to Reuse from Metal purification':Min_To_Sinks[76,:],
'Transformed to Reuse from Slag purification':Min_To_Sinks[77,:],
'Product-embedded to Reuse from Slag purification':Min_To_Sinks[78,:],
'Transformed to Reuse from Melting glass':Min_To_Sinks[79,:],
'Product-embedded to Reuse from Sorting minerals':Min_To_Sinks[80,:],
'Product-embedded to Export from Sorting WEEE':Min_To_Sinks[81,:],
'Product-embedded to Export from Sorting textile waste':Min_To_Sinks[82,:],})
Min_To_Sinks_DF_Transp = pd.DataFrame.transpose(Min_To_Sinks_DF)
Min_To_Sinks_DF_Transp.to_csv('Min to Sinks - TiO2 - AUT.csv',index=True, sep=',')
# In[26]:
# Extract means to sinks for each year
Max_To_Sinks = np.zeros(shape=(83,Tperiods))
for i in np.arange(0,Tperiods):
Max_To_Sinks[0,i]=max(Prod_to_Air_as_N[:,i])
Max_To_Sinks[1,i]=max(Manuf_to_Air_as_N[:,i])
Max_To_Sinks[2,i]=max(Paints_to_Air_as_N[:,i])
Max_To_Sinks[3,i]=max(Paints_to_Air_as_M[:,i])
Max_To_Sinks[4,i]=max(Glass_to_Air_as_N[:,i])
Max_To_Sinks[5,i]=max(Glass_to_Air_as_M[:,i])
Max_To_Sinks[6,i]=max(Ceram_to_Air_as_N[:,i])
Max_To_Sinks[7,i]=max(Ceram_to_Air_as_M[:,i])
Max_To_Sinks[8,i]=max(RubPlas_to_Air_as_N[:,i])
Max_To_Sinks[9,i]=max(RubPlas_to_Air_as_M[:,i])
Max_To_Sinks[10,i]=max(Textiles_to_Air_as_N[:,i])
Max_To_Sinks[11,i]=max(Textiles_to_Air_as_M[:,i])
Max_To_Sinks[12,i]=max(WIP_to_Air_as_N[:,i])
Max_To_Sinks[13,i]=max(WIP_to_Air_as_T[:,i])
Max_To_Sinks[14,i]=max(Repr_to_Air_as_N[:,i])
Max_To_Sinks[15,i]=max(Repr_to_Air_as_M[:,i])
Max_To_Sinks[16,i]=max(Paints_to_NUSoil_as_N[:,i])
Max_To_Sinks[17,i]=max(Paints_to_NUSoil_as_M[:,i])
Max_To_Sinks[18,i]=max(Glass_to_NUSoil_as_N[:,i])
Max_To_Sinks[19,i]=max(Glass_to_NUSoil_as_M[:,i])
Max_To_Sinks[20,i]=max(Ceram_to_NUSoil_as_N[:,i])
Max_To_Sinks[21,i]=max(Ceram_to_NUSoil_as_M[:,i])
Max_To_Sinks[22,i]=max(Sewer_to_Subsurf_as_N[:,i])
Max_To_Sinks[23,i]=max(Sewer_to_Subsurf_as_M[:,i])
Max_To_Sinks[24,i]=max(Sewer_to_Subsurf_as_T[:,i])
Max_To_Sinks[25,i]=max(OnSiteTreat_to_Subsurf_as_N[:,i])
Max_To_Sinks[26,i]=max(OnSiteTreat_to_Subsurf_as_M[:,i])
Max_To_Sinks[27,i]=max(OnSiteTreat_to_Subsurf_as_T[:,i])
Max_To_Sinks[28,i]=max(STSoil_N[:,i])
Max_To_Sinks[29,i]=max(STSoil_M[:,i])
Max_To_Sinks[30,i]=max(STSoil_T[:,i])
Max_To_Sinks[31,i]=max(OnSiteSludge_N[:,i])
Max_To_Sinks[32,i]=max(OnSiteSludge_M[:,i])
Max_To_Sinks[33,i]=max(OnSiteSludge_T[:,i])
Max_To_Sinks[34,i]=max(PersCare_to_SurfWater_as_N[:,i])
Max_To_Sinks[35,i]=max(NoSewer_to_SurfWater_as_N[:,i])
Max_To_Sinks[36,i]=max(NoSewer_to_SurfWater_as_M[:,i])
Max_To_Sinks[37,i]=max(NoSewer_to_SurfWater_as_T[:,i])
Max_To_Sinks[38,i]=max(EndSewer_to_SurfWater_as_N[:,i])
Max_To_Sinks[39,i]=max(EndSewer_to_SurfWater_as_M[:,i])
Max_To_Sinks[40,i]=max(EndSewer_to_SurfWater_as_T[:,i])
Max_To_Sinks[41,i]=max(Overflow_to_SurfWater_as_N[:,i])
Max_To_Sinks[42,i]=max(Overflow_to_SurfWater_as_M[:,i])
Max_To_Sinks[43,i]=max(Overflow_to_SurfWater_as_T[:,i])
Max_To_Sinks[44,i]=max(STPEffluent_to_SurfWater_as_N[:,i])
Max_To_Sinks[45,i]=max(STPEffluent_to_SurfWater_as_M[:,i])
Max_To_Sinks[46,i]=max(STPEffluent_to_SurfWater_as_T[:,i])
Max_To_Sinks[47,i]=max(ManufTextW_to_Landfill_as_P[:,i])
Max_To_Sinks[48,i]=max(ManufPlasW_to_Landfill_as_P[:,i])
Max_To_Sinks[49,i]=max(STPSlud_to_Landfill_as_N[:,i])
Max_To_Sinks[50,i]=max(STPSlud_to_Landfill_as_M[:,i])
Max_To_Sinks[51,i]=max(STPSlud_to_Landfill_as_T[:,i])
Max_To_Sinks[52,i]=max(MMSW_to_Landfill_as_P[:,i])
Max_To_Sinks[53,i]=max(CDW_to_Landfill_as_P[:,i])
Max_To_Sinks[54,i]=max(SortCDWGlass_to_Landfill_as_P[:,i])
Max_To_Sinks[55,i]=max(SortCDWMiner_to_Landfill_as_P[:,i])
Max_To_Sinks[56,i]=max(SortDisp_to_Landfill_as_P[:,i])
Max_To_Sinks[57,i]=max(GranuPlas_to_Landfill_as_P[:,i])
Max_To_Sinks[58,i]=max(BaliText_to_Landfill_as_P[:,i])
Max_To_Sinks[59,i]=max(Purislag_to_Landfill_as_P[:,i])
Max_To_Sinks[60,i]=max(Purislag_to_Landfill_as_T[:,i])
Max_To_Sinks[61,i]=max(SortMiner_to_Landfill_as_P[:,i])
Max_To_Sinks[62,i]=max(Filterash_to_Landfill_as_N[:,i])
Max_To_Sinks[63,i]=max(Filterash_to_Landfill_as_T[:,i])
Max_To_Sinks[64,i]=max(Bottomash_to_Landfill_as_N[:,i])
Max_To_Sinks[65,i]=max(Bottomash_to_Landfill_as_T[:,i])
Max_To_Sinks[66,i]=max(ManufTextW_to_Reuse_as_P[:,i])
Max_To_Sinks[67,i]=max(ManufPlasW_to_Reuse_as_P[:,i])
Max_To_Sinks[68,i]=max(ManufSolidW_to_Reuse_as_P[:,i])
Max_To_Sinks[69,i]=max(Filterash_to_Reuse_as_N[:,i])
Max_To_Sinks[70,i]=max(Filterash_to_Reuse_as_T[:,i])
Max_To_Sinks[71,i]=max(Bottomash_to_Reuse_as_N[:,i])
Max_To_Sinks[72,i]=max(Bottomash_to_Reuse_as_T[:,i])
Max_To_Sinks[73,i]=max(GranuPlas_to_Reuse_as_P[:,i])
Max_To_Sinks[74,i]=max(BaliText_to_Reuse_as_P[:,i])
Max_To_Sinks[75,i]=max(PuriMetal_to_Reuse_as_T[:,i])
Max_To_Sinks[76,i]=max(PuriMetal_to_Reuse_as_P[:,i])
Max_To_Sinks[77,i]=max(PuriSlag_to_Reuse_as_T[:,i])
Max_To_Sinks[78,i]=max(PuriSlag_to_Reuse_as_P[:,i])
Max_To_Sinks[79,i]=max(MeltGlass_to_Reuse_as_T[:,i])
Max_To_Sinks[80,i]=max(SortMiner_to_Reuse_as_P[:,i])
Max_To_Sinks[81,i]=max(SortWEEE_to_Export_as_P[:,i])
Max_To_Sinks[82,i]=max(SortTextW_to_Export_as_P[:,i])
# In[27]:
Max_To_Sinks_DF = pd.DataFrame({'Pristine to Air from Production':Max_To_Sinks[0,:],
'Pristine to Air from Manufacturing':Max_To_Sinks[1,:],
'Pristine to Air from Paints':Max_To_Sinks[2,:],
'Matrix-embedded to Air from Paints':Max_To_Sinks[3,:],
'Pristine to Air from Glass':Max_To_Sinks[4,:],
'Matrix-embedded to Air from Glass':Max_To_Sinks[5,:],
'Pristine to Air from Ceramics':Max_To_Sinks[6,:],
'Matrix-embedded to Air from Ceramics':Max_To_Sinks[7,:],
'Pristine to Air from Rubber & Plastics':Max_To_Sinks[8,:],
'Matrix-embedded to Air from Rubber & Plastics':Max_To_Sinks[9,:],
'Pristine to Air from Textiles':Max_To_Sinks[10,:],
'Matrix-embedded to Air from Textiles':Max_To_Sinks[11,:],
'Pristine to Air from WIP':Max_To_Sinks[12,:],
'Transformed to Air from WIP':Max_To_Sinks[13,:],
'Pristine particles to Air from Reprocessing':Max_To_Sinks[14,:],
'Matrix-embedded particles to Air from Reprocessing':Max_To_Sinks[15,:],
'Pristine to NUSoil from Paints':Max_To_Sinks[16,:],
'Matrix-embedded to NUSoil from Paints':Max_To_Sinks[17,:],
'Pristine to NUSoil from Glass':Max_To_Sinks[18,:],
'Matrix-embedded to NUSoil from Glass':Max_To_Sinks[19,:],
'Pristine to NUSoil from Ceramics':Max_To_Sinks[20,:],
'Matrix-embedded to NUSoil from Ceramics':Max_To_Sinks[21,:],
'Pristine to Subsurface from Sewer':Max_To_Sinks[22,:],
'Matrix-embedded to Subsurface from Sewer':Max_To_Sinks[23,:],
'Transformed to Subsurface from Sewer':Max_To_Sinks[24,:],
'Pristine to Subsurface from OnSite treatment':Max_To_Sinks[25,:],
'Matrix-embedded to Subsurface from OnSite treatment':Max_To_Sinks[26,:],
'Transformed to Subsurface from OnSite treatment':Max_To_Sinks[27,:],
'Pristine to Sludge treated soil':Max_To_Sinks[28,:],
'Matrix-embedded to Sludge treated soil':Max_To_Sinks[29,:],
'Transformed to Sludge treated soil':Max_To_Sinks[30,:],
'Pristine to OnsiteSludge':Max_To_Sinks[31,:],
'Matrix-embedded to OnsiteSludge':Max_To_Sinks[32,:],
'Transformed to OnsiteSludge':Max_To_Sinks[33,:],
'Pristine to Surface water from PersCareLiquids':Max_To_Sinks[34,:],
'Pristine to Surface water from No sewer':Max_To_Sinks[35,:],
'Matrix-embedded to Surface water from No sewer':Max_To_Sinks[36,:],
'Transformed to Surface water from No sewer':Max_To_Sinks[37,:],
'Pristine to Surface water from Sewer':Max_To_Sinks[38,:],
'Matrix-embedded to Surface water from Sewer':Max_To_Sinks[39,:],
'Transformed to Surface water from Sewer':Max_To_Sinks[40,:],
'Pristine to STP overflow and Surface water':Max_To_Sinks[41,:],
'Matrix-embedded to STP overflow and Surface water':Max_To_Sinks[42,:],
'Transformed to STP overflow and Surface water':Max_To_Sinks[43,:],
'Pristine to STP effluent and Surface water':Max_To_Sinks[44,:],
'Matrix-embedded to STP effluent and Surface water':Max_To_Sinks[45,:],
'Transformed to STP effluent and Surface water':Max_To_Sinks[46,:],
'Product-embedded to Landfill from Textiles manufacturing waste':Max_To_Sinks[47,:],
'Product-embedded to Landfill from Plastic manufacturing waste':Max_To_Sinks[48,:],
'Pristine to Landfill from STP sludge':Max_To_Sinks[49,:],
'Matrix-embedded to Landfill from STP sludge':Max_To_Sinks[50,:],
'Transformed to Landfill from STP sludge':Max_To_Sinks[51,:],
'Product-embedded to Landfill from MMSW':Max_To_Sinks[52,:],
'Product-embedded to Landfill from CDW':Max_To_Sinks[53,:],
'Product-embedded to Landfill from Sorted CDW Glass':Max_To_Sinks[54,:],
'Product-embedded to Landfill from Sorted CDW Mineral':Max_To_Sinks[55,:],
'Product-embedded to Landfill from Other sorting':Max_To_Sinks[56,:],
'Product-embedded to Landfill from Plastic granulation':Max_To_Sinks[57,:],
'Product-embedded to Landfill from Textile baling':Max_To_Sinks[58,:],
'Product-embedded to Landfill from Purification slag':Max_To_Sinks[59,:],
'Transformed to Landfill from Purification slag':Max_To_Sinks[60,:],
'Product-embedded to Landfill from Sorted mineral':Max_To_Sinks[61,],
'Pristine to Landfill from Filter ash':Max_To_Sinks[62,:],
'Transformed to Landfill from Filter ash':Max_To_Sinks[63,:],
'Pristine to Landfill from Bottom ash':Max_To_Sinks[64,:],
'Transformed to Landfill from Bottom ash':Max_To_Sinks[65,:],
'Product-embedded to Reuse from Manufacturing textile waste':Max_To_Sinks[66,:],
'Product-embedded to Reuse from Manufacturing plastic waste':Max_To_Sinks[67,:],
'Product-embedded to Reuse from Manufacturing other solid waste':Max_To_Sinks[68,:],
'Pristine from Filter ash to Reuse':Max_To_Sinks[69,:],
'Transformed to Reuse from Filter ash':Max_To_Sinks[70,:],
'Pristine to Reuse from Bottom ash':Max_To_Sinks[71,:],
'Transformed to Reuse from Bottom ash':Max_To_Sinks[72,:],
'Product-embedded to Reuse from Plastic granulation':Max_To_Sinks[73,:],
'Product-embedded to Reuse from Baling textiles':Max_To_Sinks[74,:],
'Transformed to Reuse from Metal purification':Max_To_Sinks[75,:],
'Product-embedded to Reuse from Metal purification':Max_To_Sinks[76,:],
'Transformed to Reuse from Slag purification':Max_To_Sinks[77,:],
'Product-embedded to Reuse from Slag purification':Max_To_Sinks[78,:],
'Transformed to Reuse from Melting glass':Max_To_Sinks[79,:],
'Product-embedded to Reuse from Sorting minerals':Max_To_Sinks[80,:],
'Product-embedded to Export from Sorting WEEE':Max_To_Sinks[81,:],
'Product-embedded to Export from Sorting textile waste':Max_To_Sinks[82,:],})
Max_To_Sinks_DF_Transp = pd.DataFrame.transpose(Max_To_Sinks_DF)
Max_To_Sinks_DF_Transp.to_csv('Max to Sinks - TiO2 - AUT.csv', index=True, sep=',')
# In[28]:
# Extract medians to sinks for each year
Medians_To_Sinks = np.zeros(shape=(83,Tperiods))
for i in np.arange(0,Tperiods):
Medians_To_Sinks[0,i]=np.percentile(Prod_to_Air_as_N[:,i], 50)
Medians_To_Sinks[1,i]=np.percentile(Manuf_to_Air_as_N[:,i], 50)
Medians_To_Sinks[2,i]=np.percentile(Paints_to_Air_as_N[:,i], 50)
Medians_To_Sinks[3,i]=np.percentile(Paints_to_Air_as_M[:,i], 50)
Medians_To_Sinks[4,i]=np.percentile(Glass_to_Air_as_N[:,i], 50)
Medians_To_Sinks[5,i]=np.percentile(Glass_to_Air_as_M[:,i], 50)
Medians_To_Sinks[6,i]=np.percentile(Ceram_to_Air_as_N[:,i], 50)
Medians_To_Sinks[7,i]=np.percentile(Ceram_to_Air_as_M[:,i], 50)
Medians_To_Sinks[8,i]=np.percentile(RubPlas_to_Air_as_N[:,i], 50)
Medians_To_Sinks[9,i]=np.percentile(RubPlas_to_Air_as_M[:,i], 50)
Medians_To_Sinks[10,i]=np.percentile(Textiles_to_Air_as_N[:,i], 50)
Medians_To_Sinks[11,i]=np.percentile(Textiles_to_Air_as_M[:,i], 50)
Medians_To_Sinks[12,i]=np.percentile(WIP_to_Air_as_N[:,i], 50)
Medians_To_Sinks[13,i]=np.percentile(WIP_to_Air_as_T[:,i], 50)
Medians_To_Sinks[14,i]=np.percentile(Repr_to_Air_as_N[:,i], 50)
Medians_To_Sinks[15,i]=np.percentile(Repr_to_Air_as_M[:,i], 50)
Medians_To_Sinks[16,i]=np.percentile(Paints_to_NUSoil_as_N[:,i], 50)
Medians_To_Sinks[17,i]=np.percentile(Paints_to_NUSoil_as_M[:,i], 50)
Medians_To_Sinks[18,i]=np.percentile(Glass_to_NUSoil_as_N[:,i], 50)
Medians_To_Sinks[19,i]=np.percentile(Glass_to_NUSoil_as_M[:,i], 50)
Medians_To_Sinks[20,i]=np.percentile(Ceram_to_NUSoil_as_N[:,i], 50)
Medians_To_Sinks[21,i]=np.percentile(Ceram_to_NUSoil_as_M[:,i], 50)
Medians_To_Sinks[22,i]=np.percentile(Sewer_to_Subsurf_as_N[:,i], 50)
Medians_To_Sinks[23,i]=np.percentile(Sewer_to_Subsurf_as_M[:,i], 50)
Medians_To_Sinks[24,i]=np.percentile(Sewer_to_Subsurf_as_T[:,i], 50)
Medians_To_Sinks[25,i]=np.percentile(OnSiteTreat_to_Subsurf_as_N[:,i], 50)
Medians_To_Sinks[26,i]=np.percentile(OnSiteTreat_to_Subsurf_as_M[:,i], 50)
Medians_To_Sinks[27,i]=np.percentile(OnSiteTreat_to_Subsurf_as_T[:,i], 50)
Medians_To_Sinks[28,i]=np.percentile(STSoil_N[:,i], 50)
Medians_To_Sinks[29,i]=np.percentile(STSoil_M[:,i], 50)
Medians_To_Sinks[30,i]=np.percentile(STSoil_T[:,i], 50)
Medians_To_Sinks[31,i]=np.percentile(OnSiteSludge_N[:,i], 50)
Medians_To_Sinks[32,i]=np.percentile(OnSiteSludge_M[:,i], 50)
Medians_To_Sinks[33,i]=np.percentile(OnSiteSludge_T[:,i], 50)
Medians_To_Sinks[34,i]=np.percentile(PersCare_to_SurfWater_as_N[:,i], 50)
Medians_To_Sinks[35,i]=np.percentile(NoSewer_to_SurfWater_as_N[:,i], 50)
Medians_To_Sinks[36,i]=np.percentile(NoSewer_to_SurfWater_as_M[:,i], 50)
Medians_To_Sinks[37,i]=np.percentile(NoSewer_to_SurfWater_as_T[:,i], 50)
Medians_To_Sinks[38,i]=np.percentile(EndSewer_to_SurfWater_as_N[:,i], 50)
Medians_To_Sinks[39,i]=np.percentile(EndSewer_to_SurfWater_as_M[:,i], 50)
Medians_To_Sinks[40,i]=np.percentile(EndSewer_to_SurfWater_as_T[:,i], 50)
Medians_To_Sinks[41,i]=np.percentile(Overflow_to_SurfWater_as_N[:,i], 50)
Medians_To_Sinks[42,i]=np.percentile(Overflow_to_SurfWater_as_M[:,i], 50)
Medians_To_Sinks[43,i]=np.percentile(Overflow_to_SurfWater_as_T[:,i], 50)
Medians_To_Sinks[44,i]=np.percentile(STPEffluent_to_SurfWater_as_N[:,i], 50)
Medians_To_Sinks[45,i]=np.percentile(STPEffluent_to_SurfWater_as_M[:,i], 50)
Medians_To_Sinks[46,i]=np.percentile(STPEffluent_to_SurfWater_as_T[:,i], 50)
Medians_To_Sinks[47,i]=np.percentile(ManufTextW_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[48,i]=np.percentile(ManufPlasW_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[49,i]=np.percentile(STPSlud_to_Landfill_as_N[:,i], 50)
Medians_To_Sinks[50,i]=np.percentile(STPSlud_to_Landfill_as_M[:,i], 50)
Medians_To_Sinks[51,i]=np.percentile(STPSlud_to_Landfill_as_T[:,i], 50)
Medians_To_Sinks[52,i]=np.percentile(MMSW_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[53,i]=np.percentile(CDW_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[54,i]=np.percentile(SortCDWGlass_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[55,i]=np.percentile(SortCDWMiner_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[56,i]=np.percentile(SortDisp_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[57,i]=np.percentile(GranuPlas_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[58,i]=np.percentile(BaliText_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[59,i]=np.percentile(Purislag_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[60,i]=np.percentile(Purislag_to_Landfill_as_T[:,i], 50)
Medians_To_Sinks[61,i]=np.percentile(SortMiner_to_Landfill_as_P[:,i], 50)
Medians_To_Sinks[62,i]=np.percentile(Filterash_to_Landfill_as_N[:,i], 50)
Medians_To_Sinks[63,i]=np.percentile(Filterash_to_Landfill_as_T[:,i], 50)
Medians_To_Sinks[64,i]=np.percentile(Bottomash_to_Landfill_as_N[:,i], 50)
Medians_To_Sinks[65,i]=np.percentile(Bottomash_to_Landfill_as_T[:,i], 50)
Medians_To_Sinks[66,i]=np.percentile(ManufTextW_to_Reuse_as_P[:,i], 50)
Medians_To_Sinks[67,i]=np.percentile(ManufPlasW_to_Reuse_as_P[:,i], 50)
Medians_To_Sinks[68,i]=np.percentile(ManufSolidW_to_Reuse_as_P[:,i], 50)
Medians_To_Sinks[69,i]=np.percentile(Filterash_to_Reuse_as_N[:,i], 50)
Medians_To_Sinks[70,i]=np.percentile(Filterash_to_Reuse_as_T[:,i], 50)
Medians_To_Sinks[71,i]=np.percentile(Bottomash_to_Reuse_as_N[:,i], 50)
Medians_To_Sinks[72,i]=np.percentile(Bottomash_to_Reuse_as_T[:,i], 50)
Medians_To_Sinks[73,i]=np.percentile(GranuPlas_to_Reuse_as_P[:,i], 50)
Medians_To_Sinks[74,i]=np.percentile(BaliText_to_Reuse_as_P[:,i], 50)
Medians_To_Sinks[75,i]=np.percentile(PuriMetal_to_Reuse_as_T[:,i], 50)
Medians_To_Sinks[76,i]=np.percentile(PuriMetal_to_Reuse_as_P[:,i], 50)