node00002node00003node00004node00005node00006node00007node00008node00009node00010node00011node00012node00013node00014node00015node00016node00017node00018node00019node00020node00021node00022node00023node00024node00025node00026node00027node00028node00029node00030node00031node00032node00033node00034node00035node00036node00037node00038node00039node00040node00041node00042node00043node00044node00045node00046node00047node00048node00049node00050node00051node00052node00053node00054node00055node00056node00057node00058node00059node00060node00061node00062node00063node00064node00065node00066node00067node00068node00069node00070node00071node00072node00073node00074node00075node00076node00077node00078node00079node00080node00081node00082node00083node00084node00085node00086node00087node00088node00089node00090node00091node00092node00093node00094node00095node00096node00097node00098node00099node00100node00101node00102node00104node00105node00106node00107node00108node00109node00110node00112node00113node00114node00115node00116node00117node00118node00119node00120node00121node00122node00123node00124node00125node00126node00127node00128node00129node00130node00131node00132node00133node00134node00135node00136node00137node00138node00139node00140node00141node00142node00143node00144node00145node00146node00147node00148node00149node00150node00151node00152node00153node00154node00155node00156node00157node00158node00159node00160node00161node00162node00163node00164node00165node00166node00167node00168node00169node00170node00171node00172node00173node00174node00175node00176node00177node00178node00179node00180node00181node00182node00183node00184node00185node00186trueC:/Dad/Projects/NUANCES/century gc daily nonzero min n.smlcentury gc daily nonzero min n v40trueMineral Ntruefn110trueCO2 LiStatruefn210trueCO2 LiStstruefn310trueLiStructural Ctruefn41Initial_C1SplitMettrueLiMetabolic Ctruefn51Initial_CSplitMettrueCO2 LiMettruefn610N_released% = Mineral_N/(Initial_C/Carbon*Nitrogen)*100trueN released %truefn71Mineral_NInitial_CCarbonNitrogen100trueInitial Ctruefn8int100trueCarbontruefn910.42trueResidue CNtruefn101CarbonNitrogentrueNitrogentruefn1110.0117trueSplitMettruefn1210.850.018LigninNitrogentrueLignintruefn1310.2trueTotal Litter Ctruefn141LiMetabolic_CLiStructural_CtrueLitter CO2truefn151CO2_LiMetCO2_LiStaCO2_LiStstruefn161LiMetabolic_Cklim1UtilEffmtruefn171LiStructural_C1StructLigninklist1UtilEffStatruefn181LiStructural_CStructLigninklist1UtilEffstsStructLignin = Lignin/(1-SplitMet)trueStructLignintruefn191Lignin1SplitMettrueLiMetabolic Nfalsefn20truefn1_01INIT_LiMetabolicNfalsefn21trueUtilEffststruefn2210.7klist = (0.094*EXNWP(-3.0*StructLignin))*TempModtrueklisttruefn231110.094exp3.0StructLigninTempMod17trueLiStructuralNfalsefn24trueklimtruefn251110.35TempMod17trueTempModtruefn261yInterpolatedtrueUtilEffmtruefn2710.45trueUtilEffStatruefn2810.45trueActive Soil Ctruefn2910trueCO2 atruefn3010trueSlow Soil Ctruefn3110trueCO2struefn3210truefn331LiMetabolic_CklimUtilEffmtruefn341Active_Soil_CkaRespatruefn351Active_Soil_CkaUtilEffastruefn361Slow_Soil_Cks1UtilEffsaUtilEffspfalsefn37falsefn38truePassive Soil Ctruefn3910truefn401Slow_Soil_CksUtilEffsptrueClaytruefn4110.52Respa = 0.85 - 0.68*ClaytrueRespatruefn4210.850.68ClayUtilEffas = (1-Respa-0.004)trueUtilEffastruefn4311Respa0.004ka = (0.14*(1-0.75*Clay))*TempModtruekatruefn441110.1410.75ClayTempMod17truefn2_01INIT_Listructural_Nfalsefn45truefn461LiStructural_C1StructLigninklistUtilEffStatruefn471LiStructural_CStructLigninklistUtilEffststrueUtilEffsatruefn4810.42truefn491Slow_Soil_CksUtilEffsatruefn3_01DecNaFNmafalsefn50truefn511Passive_Soil_CkpUtilEffptrueCO2ptruefn5210truefn531Passive_Soil_Ckp1UtilEffpkp = 0.00013*TempModtruekptruefn541110.00013TempMod17trueUtilEffptruefn5510.45truefn4_01DecNagtDemandmaDecNaDemandmafalsefn56truefn5_01DecNstaFNstafalsefn57Ks = 0.0038*TempModtruekstruefn581110.0038TempMod17falsefn59truefn6_01DecNstsgtDemandstsDecNstsDemandstsfalsefn60trueTemperaturetruefn61int20DecNa = Fma/UtilEffm/CN_LiMettrueDecNafalsefn62falsefn63trueActive Soil Ntruefn6410truefn7_01FmaUtilEffmCN_LiMetfalsefn65trueSlow Soil Ntruefn6610truePassive Soil Ntruefn6710truefn681DecompNaFNasFNaptruefn691FspCN_passive_SOMtruefn701FsaCN_active_SOMtruefn711DecompNpFNpatruefn721DecompNsFNsaFNsptruefn731FapCN_passive_SOMtruefn741FpaCN_active_SOMtruefn751DemandmaDecNagtDemandmaDecNa0trueCN active SOMtruefn76int8trueDecompNptruefn771FpaUtilEffpCN_passive_SOMtrueCN passive SOMtruefn78int11trueDemandmafalsefn79truefn801FasCN_slow_SOMtrueCN slow SOMtruefn81int11truefn8_01FmaCN_active_SOMSplitMet/((1/Residue_CN) - ((1-SplitMet)/CN_LiSt))trueCNLiMettruefn9_01SplitMet1Residue_CN1SplitMetCN_LiSttrueCN LiSttruefn10_0int150trueINIT LiMetabolicNtruefn11_01Initial_CSplitMetCNLiMettrueDecompNatruefn1_11FasUtilEffasCN_active_SOMtrueTotal Soil Nfalsefn2_1truefn3_11DecNstagtDemandstaDecNstaDemandstatruefn4_11DecNstsFNststrueINIT Listructural Ntruefn5_11Initial_C1SplitMetCN_LiStDecNsts = Fsts/UtilEffsts/CN_LiSttrueDecNststruefn6_11FstsUtilEffstsCN_LiSttruefn1_21Total_SOM_NMineral_Nfalsefn7_1DecNsta = Fsta/UtilEffsta/CN_LiSttrueDecNstatruefn8_11FstaUtilEffStaCN_LiSttrueDemandstatruefn9_11FstaCN_active_SOMtrueDemandststruefn10_11FstsCN_slow_SOMtrueTotal SOM Ntruefn2_21Active_Soil_NPassive_Soil_NSlow_Soil_Nfalsefn11_1trueTotal Litter Ntruefn12_01LiMetabolic_NLiStructuralNtrueCN LiMettruefn13_01SplitMet1Residue_CN1SplitMetCN_LiSttruefn14_01Active_Soil_Cka0.004trueUtilEffsptruefn15_010.03Soil_CO2 = CO2_a + CO2s + CO2ptrueSoil CO2truefn16_01CO2_aCO2sCO2ptrueTotal CO2truefn17_01Soil_CO2Litter_CO2trueTotal Soil Ctruefn18_01Active_Soil_CPassive_Soil_CSlow_Soil_Ctruefn19_01DemandstaDecNstagtDemandstaDecNsta0fn20_01DemandstsDecNstsgtDemandstsDecNsts0trueDecompNstruefn21_01FspUtilEffspCN_slow_SOMtruefn22_01DemandstsDecNstsgtDemandstsDecNsts0node00187node00188node00189node00190node00191node00192node00193node00194node00195node00196node00197node00198node00199node00200node00201node00202node00203node00204node00205node00206node00207node00208node00209node00210node00211node00212node00213node00214node00215node00216node00217node00218node00219node00220node00221node00222node00223node00224node00225node00226node00227node00228trueC:/Ed/Models and shells/Simile/Simile routines/Interpolate with internal data.smlTEMPMODfalsefn9fn101elementxlistLowerArrayPosfn111elementxlistLowerArrayPos1fn121elementylistLowerArrayPosfn131elementylistLowerArrayPos1falsefn5_0truexSuppliedtruefn31TemperaturetrueTempLowerArrayPostruefn4intsum1ltxList2TSUM0truexLowerfalsefn5array1sizeTableFromFilextablefalsefn6array1sizeTableFromFileytabletrueLowerArrayPostruefn711ltArrayPosOfLowerXNW1ArrayPosOfLowerXNW1eqArrayPosOfLowerXNWArraySizeArrayPosOfLowerXNWtrueArraySizetruefn8intcountxList2truefn11elementxList2LowerArrayPostruexHighertruefn21elementxList2LowerArrayPos1trueyLowertruefn3_01elementYlistLowerArrayPostrueyHighertruefn4_01elementYlistLowerArrayPos1trueyInterpolatedtruefn6_01yLowerxSuppliedxLoweryHigheryLowerxHigherxLowerfalsefn1_0falsefn2_0(0.00, 0.01), (5.00, 0.05), (10.0, 0.15), (15.0, 0.3), (20.0, 0.5), (25.0, 0.7), (30.0, 0.9), (35.0, 1.00), (40.0, 0.95), (45.0, 0.00), (50.0, 0.00)truexListtruefn1_1array11105101520253035404550(0.00, 0.01), (5.00, 0.05), (10.0, 0.15), (15.0, 0.3), (20.0, 0.5), (25.0, 0.7), (30.0, 0.9), (35.0, 1.00), (40.0, 0.95), (45.0, 0.00), (50.0, 0.00)trueYlisttruefn2_1array1110.010.050.150.30.50.70.910.9500truefn1C:/Ed/Models and shells/Lintuls/FRTTB.csvTSUM01102755557801055116013052500const_intint91tableindex1truefn2C:/Ed/Models and shells/Lintuls/FRTTB.csvFRT0.50.50.340.120.070.030.02001int91tableindex1trueNB please add lists of x and y truefn1_2int0trueand change the array dimension truefn2_2int0trueto the number of pointstruefn3_1int0var3var4i1i2i3FCO2sta = LiStructural_C*(1-StructLignin)*klist*(1-UtilEffsta)trueFCO2staFCO2sts = LiStructural_C*StructLignin*klist*(1-UtilEffsts)trueFCO2stsi4i5LiMetabolic_C*klim*(1-UtilEffm)trueFCO2mi6i7truei28truei29truei147truei150i8truei31i9i10truei32truei30truei12_0i11truei148truei151i12truei33truei34i13i14truei10_0truei11_0i15truei7_0truei8_0truei9_0i16truei145i17truei103i18truei146truei73truei104i19truei66truei67trueFNmMini13_0truei68i22truei72truei102i23truei6_0trueFNstaMintrueFNstsMintruei50i25truei49truei71i26truei48i27truei75i35Fma = LiMetabolic_C*klim*UtilEffmtrueFmaFsta = LiStructural_C*(1-StructLignin)*klist*UtilEffstatrueFstai36FCO2a = Active_Soil_C*ka*RespatrueFCO2ai37Fas = Active_Soil_C*ka*(UtilEffas)trueFasFsts = LiStructural_C*StructLignin*klist*UtilEffststrueFststrueFsai38FCO2s = Slow_Soil_C*Ks*(1-UtilEFFsa-UtilEffsp)trueFCO2si39i40truei51truei101truei149i41truei63i42truei64i43truei52_0Fsp = Slow_Soil_C*Ks*UtilEffsptrueFspFpa = Passive_Soil_C*kp*UtilEffptrueFpaFap = Active_Soil_C*ka*0.004trueFapi46i47truei95i52truei48_0i53truei59truei57i54truei58truei62truei45i55truei60truei85i14_0truei1_0truei2_0i65truei70truei74truei3_0truei4_0truei5_0i76truei100truei53_0i77i79truei43_0truei44i15_0truei1_1i81truei90FCO2p = Passive_Soil_C*kp*(1-UtilEffp)trueFCO2pi82i83truei84truei89truei93i86truei94truei88truei42_0i87i16_0i17_0truei28_1truei97truei99truei51_0i96truei98i18_0i107truei20truei21trueFNmatrueFNaMintrueImmob atrueFNstatrueImmob stai110i19_0truei23_0truei24trueFNsatrueFNsMintrueFNastrueFNststrueImmob stsi112trueFNsptrueFNpMintrueFNaptrueFNpai113i114truei134truei72_0i115truei144i116truei137i117truei125i118truei143truei78i119truei74_0i120truei128i121truei22_0truei126truei136i122truei124i123truei127truei129truei131truei132truei133i130truei26_0truei69i138truei139truei142i140i25_0truei2_1truei6_1i27_0truei28_0truei29_0truei31_0i30_0truei36_0i32_0truei33_0truei34_0truei35_0truei73_0i3_1truei87_0truei88_0truei89_0i7_1i8_1truei14_1truei13_1i9_1truei10_1truei11_1truei12_1truei22_1truei86_0i15_1truei17_1truei39_0truei40_0i3_2truei12_2truei19_1truei26_1i18_1truei21_0truei37_0truei38_0truei24_0i23_1truei29_1truei31_1truei84_0truei1_2truei2_2i25_1truei11_2i4_1truei8_2truei9_2truei10_2i32_1truei33_1truei34_1truei36_1i35_1truei17_2truei18_2truei19_2i41_0truei49_0truei50_0truei55_0truei56i54_0i57_0truei58_0truei59_0truei60_0i61truei62_0truei63_0i64_0truei65_0truei66_0truei67_0i68_0truei70_0truei71_0truei77_0i76_0truei90_0truei91truei92i81_0truei82_0truei83_0truei14_2truei16_1i3i4truei7i15truei17truei21i18i1truei8_0i2truei7_0i3_0truei9_0i4_0truei10i14_0truei15_0truei16truei17_0truei18_0truei19truei5truei6truei7_1truei8i1_0truei3_1truei4_1i2_0i1_1i2_1i3_2truei13truei15_1