Skip to content

Commit

Permalink
Submit paper July 26 ES&T
Browse files Browse the repository at this point in the history
  • Loading branch information
msm-sardar committed Jul 27, 2020
1 parent 1b6a95d commit 9b37063
Show file tree
Hide file tree
Showing 18 changed files with 41,287 additions and 20,111 deletions.
2 changes: 1 addition & 1 deletion CommonData_for_Sensitivity_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self):
self.Land_app = {
'cmpLandDies':{"Name":"Compost application diesel use","amount":0.8,"unit":'L/Mg compost'},

'NO3':{"Name":"Fraction of N content that is emitted as NO3 ","amount":0.20,"unit":None},
'NO3':{"Name":"Fraction of N content that is emitted as NO3 ","amount":0.20,"unit":None,'list':np.linspace(0.03,0.87,10).tolist()*10},

'frac_gw':{"Name":"Fraction of NO3 that is emitted to groundwater","amount":0.50,"unit":None},

Expand Down
10 changes: 5 additions & 5 deletions Compost_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self):

### Facility Operation
self.operation = {
'choice_BU':{'Name':'Digestate Beneficial Use (1) or No Beneficial Use (0)','amount':1,'unit':'0/1','Referenc':None},
'choice_BU':{'Name':'Digestate Beneficial Use (1) or No Beneficial Use (0)','amount':0,'unit':'0/1','Referenc':None},
'peatOff':{'Name':'Digestate Beneficial Use offsets Peat (1 - Yes; 0 - No)','amount':1,'unit':'0/1','Referenc':None},
'fertOff':{'Name':'Digestate Beneficial Use offsets Fertilizer (1 - Yes; 0 - No)','amount':0,'unit':'0/1','Referenc':None},
'allocation_ADC':{'Name':'Allocation factor of LF material use to ADC','amount':0.5,'unit':'frac',
Expand Down Expand Up @@ -105,11 +105,11 @@ def __init__(self):
'ADC_thickness':{'Name':'ADC_thickness','amount':22.5,'unit':'cm',
'uncertainty_type':2,'loc': 3.2189, 'scale':0.1150},

'Frac_NH4_GW':{'Name':'Frac_NH4_GW','amount':0.000054,'unit':'fraction',
'uncertainty_type':2,'loc': -9.8271, 'scale':0.2093},
'Frac_NH4_GW':{'Name':'Frac_NH4_GW','amount':0.000048,'unit':'fraction',
'uncertainty_type':2,'loc': -9.9466, 'scale':0.2093},

'Frac_NH4_SW':{'Name':'Frac_NH4_SW','amount':0.000097,'unit':'fraction',
'uncertainty_type':2,'loc': -9.2358, 'scale':0.2093},
'Frac_NH4_SW':{'Name':'Frac_NH4_SW','amount':0.000087,'unit':'fraction',
'uncertainty_type':2,'loc': -9.3552, 'scale':0.2093},
}

### Monte_carlo
Expand Down
8 changes: 4 additions & 4 deletions Compost_input_for_Sensitivity_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def __init__(self):

'perNH3evap':{"Name":"Percent of Ammonia that evaporates","amount":15,"unit":'%',"Reference":'16'},

'perNasNH3fc':{"Name":"Percent N that is Ammonia","amount":25,"unit":'%',"Reference":'16','list':np.linspace(1,50,10).tolist()*10},
'perNasNH3fc':{"Name":"Percent N that is Ammonia","amount":25,"unit":'%',"Reference":'16'},
}

### Facility Operation
self.operation = {
'choice_BU':{'Name':'Digestate Beneficial Use (1) or No Beneficial Use (0)','amount':1,'unit':'0/1','Referenc':None},
'choice_BU':{'Name':'Digestate Beneficial Use (1) or No Beneficial Use (0)','amount':0,'unit':'0/1','Referenc':None},
'peatOff':{'Name':'Digestate Beneficial Use offsets Peat (1 - Yes; 0 - No)','amount':1,'unit':'0/1','Referenc':None},
'fertOff':{'Name':'Digestate Beneficial Use offsets Fertilizer (1 - Yes; 0 - No)','amount':1,'unit':'0/1','Referenc':None},
'allocation_ADC':{'Name':'Allocation factor of LF material use to ADC','amount':0.5,'unit':'frac'}}
Expand Down Expand Up @@ -83,9 +83,9 @@ def __init__(self):

'ADC_thickness':{'Name':'ADC_thickness','amount':22.5,'unit':'cm'},

'Frac_NH4_GW':{'Name':'Frac_NH4_GW','amount':0.000054,'unit':'fraction'},
'Frac_NH4_GW':{'Name':'Frac_NH4_GW','amount':0.000048,'unit':'fraction'},

'Frac_NH4_SW':{'Name':'Frac_NH4_SW','amount':0.000097,'unit':'fraction'}
'Frac_NH4_SW':{'Name':'Frac_NH4_SW','amount':0.000087,'unit':'fraction'}

}

Expand Down
Binary file modified Compost_use
Binary file not shown.
1 change: 1 addition & 0 deletions Compost_use.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""
import numpy as np
import pandas as pd
#from Compost_input import *
from Compost_input_for_Sensitivity_Analysis import *
#from CommonData import *
from CommonData_for_Sensitivity_Analysis import *
Expand Down
Binary file modified Data analysis_JMP/correlation.jmp
Binary file not shown.
Loading

0 comments on commit 9b37063

Please sign in to comment.