1What KiwiFlux doesKiwiFlux 做什么
KiwiFlux follows a suite of elements and nitrogen through a soil profile under a crop, one month at a time, for as many years as you set. Each month fertiliser and atmospheric deposition enter, the crop takes up what its roots reach, the harvested share leaves the block, rain that the soil cannot hold carries solutes downward, and eroded soil takes its elements with it. At the end of the run every element and the soil nitrogen close a mass balance to within rounding error.
KiwiFlux 追踪一组元素和氮在作物下的土壤剖面中的去向,每次一个月,年数由你设定。每个月,肥料和大气沉降进入土壤,作物吸收其根系所能触及的部分,收获的份额离开地块,土壤持不住的雨水携带溶质下移,被侵蚀的土壤则带走其中的元素。运行结束时,每种元素和土壤氮的质量平衡都闭合到舍入误差以内。
KiwiFlux computes little that the rest of the KiwiScience suite already holds. The site, the monthly climate and the element concentrations come from KiwiMap; partition coefficients (Kd) and bioaccumulation coefficients (BAC) from KiwiChem; the free-ion share of each metal, which scales BAC, from KiwiSpec; the change in soil carbon over the run from KiwiCarbon; and the fertiliser programme from KiwiFert. Each of those apps is loaded from its own folder and run as its authors wrote it. Everything they supply lands in an editable field, and every run uses single values: there is no sampling over parameter ranges.
KiwiScience 套件其余部分已有的东西,KiwiFlux 很少再算。地点、逐月气候和元素浓度来自 KiwiMap;分配系数(Kd)和生物富集系数(BAC)来自 KiwiChem;每种金属的自由离子份额(用于缩放 BAC)来自 KiwiSpec;运行期间土壤碳的变化来自 KiwiCarbon;施肥方案来自 KiwiFert。这些应用各自从自己的文件夹载入,并按其作者所写的原样运行。它们提供的每一项都落在一个可编辑的字段里,每次运行都使用单一数值:不对参数范围做抽样。
2A first run第一次运行
- On the Site tab, click your block on the map, or type a latitude and longitude and press Read KiwiMap at this point. KiwiFlux reads the soil order, drainage, topsoil carbon and pH, monthly rainfall and potential evapotranspiration (PET), seasonal temperatures and the total concentration of all 65 elements the national geochemical survey reports. The point becomes the current site for every KiwiScience tool.
- On the Elements tab, tick the elements to model. The 16 that KiwiMap’s shared reader treats as the fertiliser suite are ticked for you. Change any concentration you have measured.
- On the Crop & fertiliser tab, choose the plant, then the KiwiFert plant type, and press Compute with KiwiFert.
- Set the simulation time and the slice thickness in the sidebar and press Run. A 20-year run on 50 slices takes under half a second; the KiwiSpec speciation adds about a second.
- 在地点选项卡上,点击地图上你的地块,或输入纬度和经度,然后按读取该点的 KiwiMap 数据。KiwiFlux 会读取土纲、排水性、表土碳和 pH、逐月降雨量和潜在蒸散(PET)、季节温度,以及全国地球化学调查所报告的全部 65 种元素的全量浓度。该点随即成为所有 KiwiScience 工具的当前地点。
- 在元素选项卡上,勾选要模拟的元素。KiwiMap 的共用读取器视为肥料元素组的 16 种已为你勾选。修改任何你已实测的浓度。
- 在作物与肥料选项卡上,先选植物,再选 KiwiFert 植物类型,然后按用 KiwiFert 计算。
- 在侧边栏设定模拟时长和分层厚度,然后按运行。50 个分层、20 年的运行用时不到半秒;KiwiSpec 的化学形态计算约增加一秒。
3Where each input comes from各项输入的来源
| Input | Source | How KiwiFlux uses it |
|---|---|---|
| Soil order, drainage, topsoil carbon and pH | KiwiMap (S-map, NZEnvDS) | Choose KiwiCarbon’s horizon set for the order; scale every horizon’s carbon by the mapped topsoil carbon and shift every horizon’s pH by the mapped topsoil pH; set the water table depth from the drainage class |
| Monthly rainfall and PET | KiwiMap (WorldClim 2.1, 1970–2000) | Used month by month, repeated each year |
| Monthly temperature | KiwiMap seasonal means | The annual harmonic through the four seasonal means (Section 5) |
| Element concentrations | KiwiMap, national geochemical survey | Total concentration at the start, applied to every slice |
| Kd | KiwiChem | The Kd of the element already in the soil (Allison and Allison 2005) where KiwiChem holds one, otherwise the sorption Kd, pH-specific for the 12 metals in US EPA (1996) Table C-4 |
| BAC | KiwiChem | The soil-to-plant transfer factor (Kabata-Pendias 2011; IAEA 2010); for the macronutrients, which have none, the reference plant concentration divided by the soil concentration |
| Free-ion fraction | KiwiSpec | Ratio of the site to a reference solution, multiplying BAC for metal cations |
| Soil carbon over time | KiwiCarbon | A ratio to the starting carbon for each horizon and each year |
| Plant | KiwiCarbon plant library | Production, monthly growth share, crop coefficient (Kc), rooting, N content and removal |
| Fertiliser | KiwiFert | Annual rate of each element, its monthly calendar from KiwiFert’s application schedule, the nitrogen form, and cadmium at 280 mg Cd/kg P |
| 输入 | 来源 | KiwiFlux 如何使用 |
|---|---|---|
| 土纲、排水性、表土碳和 pH | KiwiMap(S-map、NZEnvDS) | 按土纲选用 KiwiCarbon 的土层组合;按地图给出的表土碳缩放每个土层的碳,按地图给出的表土 pH 平移每个土层的 pH;按排水性等级设定地下水位深度 |
| 逐月降雨量和 PET | KiwiMap(WorldClim 2.1,1970–2000) | 逐月使用,每年重复 |
| 逐月温度 | KiwiMap 季节均值 | 通过四个季节均值的年谐波(第 5 节) |
| 元素浓度 | KiwiMap,全国地球化学调查 | 起始时的全量浓度,应用于每个分层 |
| Kd | KiwiChem | KiwiChem 存有土壤中原有元素的 Kd(Allison and Allison 2005)时用该值,否则用吸附 Kd;对 US EPA (1996) Table C-4 中的 12 种金属,吸附 Kd 随 pH 取值 |
| BAC | KiwiChem | 土壤–植物转移系数(Kabata-Pendias 2011;IAEA 2010);大量元素没有转移系数,取参考植物浓度除以土壤浓度 |
| 自由离子分数 | KiwiSpec | 地点溶液与参考溶液之比,乘到金属阳离子的 BAC 上 |
| 土壤碳随时间的变化 | KiwiCarbon | 每个土层、每一年相对于起始碳的比值 |
| 植物 | KiwiCarbon 植物库 | 生产量、逐月生长份额、作物系数(Kc)、根系分布、含氮量和移出量 |
| 肥料 | KiwiFert | 每种元素的年施用量、取自 KiwiFert 施用时间表的逐月日历、氮形态,以及按 280 mg Cd/kg P 计的镉 |
Where a sister app cannot be reached, its tab says why and the run proceeds on the values already in the form. Opened straight off the disk (file://), the browser blocks the other folders; start the site with Open KiwiScience.command.
姊妹应用无法访问时,其选项卡会说明原因,运行则按表单中已有的数值继续。直接从磁盘打开(file://)时,浏览器会拦截其他文件夹;请用 Open KiwiScience.command 启动网站。
4The profile and its slices剖面及其分层
The profile runs from the surface to the depth set in the sidebar (100 cm by default) and is cut into slices of the set thickness (2 cm by default). Bulk density, field capacity, wilting point, organic carbon, C:N and pH vary linearly between the mid-depths of the horizons, and are those of the top or bottom horizon above its mid-depth or below the deepest one. Horizons in a profile grade into one another, and a property that stepped at a boundary would step Kd there, and with it the profile of every element. KiwiChem’s pH factor and KiwiCarbon’s carbon trajectory are blended the same way. A slice’s soil mass per hectare is
剖面从地表延伸到侧边栏中设定的深度(默认 100 cm),并按设定的厚度(默认 2 cm)切成分层。容重、田间持水量、凋萎点、有机碳、C:N 和 pH 在各土层的中点深度之间线性变化;在最上层土层的中点深度以上取该土层的值,在最深土层的中点深度以下取最底土层的值。剖面中的土层彼此渐变过渡;某一性质若在边界处阶跃,Kd 就会在那里阶跃,每种元素的剖面分布也随之阶跃。KiwiChem 的 pH 因子和 KiwiCarbon 的碳变化轨迹也按同样方式过渡。一个分层每公顷的土壤质量为
with bulk density ρb in g/cm³ of fine earth and slice thickness Δz in cm.
其中容重 ρb 以细土的 g/cm³ 计,分层厚度 Δz 以 cm 计。
The slices are a numerical device, not a property of the soil: once they are no thicker than twice the soil’s dispersivity (Section 6), the results do not depend on them. For a dairy pasture over 30 years with a dispersivity of 5 cm, slices of 0.5, 1 and 2 cm give the same nitrate leaching (16.2 kg N/ha/yr), the same Cd in the top 7.5 cm (0.320 mg/kg) and the same tracer breakthrough. Slices of 10 cm give 18 kg N/ha/yr, and one cell per horizon (about 25 cm) gives 23 kg N/ha/yr and 0.21 mg Cd/kg, because a thick cell mixes fertiliser cadmium through its whole depth and spreads a front further than the soil does. At the default of 2 cm a 30-year run of 16 elements takes about 0.4 s in the browser, plus the KiwiSpec speciation; the sidebar warns when the slices are too thick for the dispersivity.
分层是一种数值手段,而不是土壤的性质:只要分层厚度不超过土壤弥散度(第 6 节)的两倍,结果就与分层无关。对一块奶牛牧场模拟 30 年、弥散度为 5 cm 时,0.5、1 和 2 cm 的分层给出相同的硝酸盐淋失(16.2 kg N/ha/yr)、相同的表层 7.5 cm 的 Cd(0.320 mg/kg)和相同的示踪剂穿透。10 cm 的分层给出 18 kg N/ha/yr,每个土层一个单元(约 25 cm)则给出 23 kg N/ha/yr 和 0.21 mg Cd/kg,因为厚单元把肥料带入的镉混匀到它的整个深度,并把锋面铺展得比土壤实际的更远。在默认的 2 cm 下,16 种元素的 30 年运行在浏览器中约需 0.4 s,另加 KiwiSpec 的化学形态计算;分层相对于弥散度过厚时,侧边栏会给出警告。
5Water水分
Each month rain and irrigation enter the top slice. Working downward, each slice keeps water up to field capacity and passes the excess to the slice below; a slice below the water table keeps water up to saturation. What leaves the bottom slice is drainage. The crop then draws Kc × PET from the rooted slices in proportion to their root share, never below wilting point, and the ratio of actual to demanded evapotranspiration is the month’s water stress. One year of water alone is run before the start, so the profile begins with the water content the climate keeps in that month.
每个月,雨水和灌溉水进入最上面的分层。自上而下,每个分层把水持留到田间持水量,多余的传给下一分层;地下水位以下的分层则持留到饱和。离开最底分层的就是排水。随后作物从有根的分层中按其根系份额汲取 Kc × PET,但不会低于凋萎点;实际蒸散与需求蒸散之比就是当月的水分胁迫。开始之前先单独运行一年的水分,使剖面以该气候在该月份所维持的含水量起步。
KiwiMap holds temperature as four seasonal means. KiwiFlux places each at its middle month (January, April, July, October) and fits the annual harmonic
KiwiMap 以四个季节均值保存温度。KiwiFlux 把每个均值放在其居中的月份(1月、4月、7月、10月),并拟合年谐波
with a the annual mean, so the monthly values keep the mapped annual mean exactly.
其中 a 为年均值,因此逐月数值恰好保持地图给出的年均值。
A monthly step underestimates drainage where rain falls in a few large events, because a whole month’s rain arrives at once against a whole month’s evapotranspiration. At Lincoln (Canterbury), with 650 mm of rain and 960 mm of PET a year, the dryland pasture drains 91 mm/yr.
在雨水集中于少数几场大雨的地方,逐月步长会低估排水,因为整月的雨一次到来,面对的是整月的蒸散。在 Lincoln(Canterbury),年降雨量 650 mm、年 PET 960 mm,旱作牧场的排水为 91 mm/yr。
6Partitioning and transport分配与迁移
Each element in each slice is two pools. The labile pool partitions between solid and solution, leaches, and supplies the plant. The rest is held in mineral lattices and moves only with eroded soil. The labile fraction defaults to an indicative value per element, from 0.6 for Cd to 0.01 for K and Fe, and the Elements tab shows the porewater concentration it implies so a poor choice is visible before a run.
每个分层中的每种元素分为两个储量。活性态储量在固相和溶液之间分配、淋失,并供给植物。其余部分固定在矿物晶格中,只随被侵蚀的土壤移动。活性态分数的默认值是每种元素的一个指示性数值,从 Cd 的 0.6 到 K 和 Fe 的 0.01;“元素”选项卡会显示它所对应的孔隙水浓度,这样不合适的取值在运行前就能看出来。
Kd varies with carbon and pH from slice to slice and month to month:
Kd 随碳和 pH 而变,逐分层、逐月不同:
Kd,ref is KiwiChem’s value at the topsoil carbon and pH; fpH is the ratio of KiwiChem’s pH-specific sorption Kd at the horizon’s pH to that at the topsoil pH (1 where none is tabulated); foc is the slice’s organic carbon fraction this month and foc,ref the topsoil’s at the start. β is 0.5 for metal cations, which bind to organic matter, and 0 for oxyanions and halides.
Kd,ref 是 KiwiChem 在表土碳和 pH 下的取值;fpH 是 KiwiChem 随 pH 取值的吸附 Kd 在该土层 pH 下与在表土 pH 下之比(没有列表值时为 1);foc 是该分层本月的有机碳分数,foc,ref 是表土在起始时的有机碳分数。β 对与有机质结合的金属阳离子取 0.5,对含氧阴离子和卤化物取 0。
A Kd with a total basis relates the total soil concentration to the porewater. On the labile pool it becomes Kd × L, where L is the labile fraction, which gives the same porewater. A sorption Kd applies to the labile pool as it stands.
以全量为基准的 Kd 把土壤全量浓度与孔隙水联系起来。用于活性态储量时,它变为 Kd × L,其中 L 为活性态分数,这样得到的孔隙水相同。吸附 Kd 则原样用于活性态储量。
Solutes move by advection with the drainage and spread by dispersion. A slice holding W mm of water has a capacity for a solute, in mm of water-equivalent, of
溶质随排水对流迁移,并因弥散而铺展。一个持有 W mm 水的分层对某种溶质的容量(以 mm 水当量计)为
so a sorbing solute moves more slowly than the water by the factor cap/W, its retardation.
因此,有吸附的溶质比水移动得慢,慢的倍数为 cap/W,即它的阻滞因子。
Advection is an explicit upwind scheme. Each month is divided into as many sub-steps as it takes for no slice to pass more than its own capacity in one, and in each sub-step every slice sends the share q/(n cap) of what it holds to the slice below, where q is the month’s drainage across its lower face and n the number of sub-steps. Without dispersivity a non-sorbing tracer moves exactly the plug-flow distance, q/(10θ) cm in a month.
对流采用显式迎风格式。每个月被分成若干子步,子步数以任何分层在一个子步内传出的量都不超过其自身容量为准;在每个子步中,每个分层把它所持有量的 q/(n cap) 这一份额送往下一分层,其中 q 是当月穿过其下界面的排水,n 是子步数。不设弥散度时,无吸附的示踪剂恰好移动活塞流距离,即一个月 q/(10θ) cm。
The upwind scheme spreads a front as if the soil had a dispersivity of Δz/2 × (1 − Cr), where Cr is the sub-step’s Courant number. Dispersion supplies the rest of the soil’s dispersivity α (5 cm by default; Vanderborght and Vereecken 2007 review measured values) as an exchange of water across each face,
迎风格式使锋面铺展,其效果相当于土壤具有 Δz/2 × (1 − Cr) 的弥散度,其中 Cr 是子步的库朗数。土壤弥散度 α(默认 5 cm;Vanderborght and Vereecken 2007 综述了实测值)的其余部分由弥散补足,形式是穿过每个界面的水量交换,
applied once a month and implicitly, on the solution concentration. The implicit step is stable for any exchange, conserves mass exactly and adds the variance 2α × (distance travelled) that dispersion should. In the test suite a tracer moved by 120 mm of drainage spreads by 17.9 to 18.1 cm (standard deviation) for slices of 0.5 to 5 cm, against 19.7 cm from theory; the difference is the surface boundary, which the pulse starts against. Nothing disperses out of the base of the profile.
每月施加一次,以隐式方式作用于溶液浓度。隐式步对任何交换量都稳定,严格保持质量守恒,并加上弥散应有的方差 2α ×(迁移距离)。在测试套件中,被 120 mm 排水推动的示踪剂,在 0.5 至 5 cm 的分层下铺展 17.9 至 18.1 cm(标准差),理论值为 19.7 cm;差异来自地表边界,脉冲正是紧贴着它起步的。没有任何物质通过弥散离开剖面底部。
Soil itself moves too. Earthworms and roots mix it continuously, and KiwiFlux represents this bioturbation as a diffusion of both pools of every element, and of the residue nitrogen, with a coefficient Db of 2 cm2/yr at the surface that falls with depth as root density does (βrz). Kaste et al. (2007) measured 1 to 2 cm2/yr on bioturbated grassland. It is applied each month by the same implicit step as dispersion, on concentration per kilogram of soil, and spreads a surface pulse by exactly 2Dbt. An annual crop is also cultivated once a year (20 cm in spring by default), which mixes everything above that depth to one concentration. Fertiliser, deposition and returned plant material go onto the top slice; bioturbation and cultivation carry them down.
土壤本身也在移动。蚯蚓和根系不断地混合土壤,KiwiFlux 把这种生物扰动表示为每种元素的两个储量以及残体氮的扩散,系数 Db 在地表为 2 cm2/yr,并像根密度那样随深度下降(βrz)。Kaste et al. (2007) 在有生物扰动的草地上测得 1 至 2 cm2/yr。它每月施加一次,采用与弥散相同的隐式步,作用于每千克土壤的浓度,使地表脉冲的铺展恰好为 2Dbt。一年生作物还每年耕作一次(默认在春季耕 20 cm),把该深度以上的一切混成同一浓度。肥料、沉降和归还的植物物质都加到最上面的分层;生物扰动和耕作再把它们带下去。
The run starts from a profile in equilibrium. The concentration entered is that of the top 10 cm, which is what a soil sample and the geochemical survey measure. The lattice-bound share is uniform with depth, as parent material is; the labile share is in equilibrium with one soil-solution concentration, so it falls with depth where Kd does. Without fertiliser, water or mixing, that profile does not change. Started uniform instead, every change in Kd down the profile would be a disequilibrium the run spends years relaxing, which shows as steps and bulges at horizon boundaries. After 30 years of superphosphate at 40 kg P/ha/yr, Cd falls steadily from 0.33 mg/kg at the surface, three times its starting 0.11 mg/kg; the enrichment is 35 % at 19 cm, 6 % at 31 cm and gone by 65 cm. The top 10 cm reads 0.29 mg/kg whether the slices are 1 or 2 cm thick.
运行从处于平衡的剖面开始。输入的浓度是表层 10 cm 的浓度,这正是土壤样品和地球化学调查所测的。晶格结合态的份额随深度均匀分布,与母质一样;活性态的份额与同一个土壤溶液浓度处于平衡,因此在 Kd 随深度下降的地方它也随之下降。没有肥料、水或混合时,这一剖面不会变化。若改为从均匀分布开始,Kd 沿剖面的每一处变化都是一种不平衡,运行要花许多年去消解,表现为土层边界处的台阶和鼓包。以 40 kg P/ha/yr 施用过磷酸钙 30 年后,Cd 从地表的 0.33 mg/kg(为其起始值 0.11 mg/kg 的三倍)起稳步下降;富集量在 19 cm 处为 35 %,在 31 cm 处为 6 %,到 65 cm 处消失。无论分层厚 1 cm 还是 2 cm,表层 10 cm 的读数都是 0.29 mg/kg。
7Plant uptake and speciation植物吸收与化学形态
Monthly growth is the plant’s annual above-ground production times its share for the month times the water stress. Roots follow Gale and Grigal (1987): the share of roots above depth d cm is 1 − βrd, truncated at the maximum rooting depth. Uptake of each element is
逐月生长量等于植物的年地上部生产量乘以当月份额,再乘以水分胁迫。根系遵循 Gale and Grigal (1987):深度 d cm 以上的根系份额为 1 − βrd,在最大扎根深度处截断。每种元素的吸收量为
Croot is the root-weighted total soil concentration (mg/kg), DM the month’s dry matter (kg/ha) and S the free-ion ratio. Uptake comes from the labile pool of the rooted slices, at most half of any slice in a month. The harvested share leaves the block; the rest returns to the mixing depth.
Croot 是按根系加权的土壤全量浓度(mg/kg),DM 是当月的干物质(kg/ha),S 是自由离子比。吸收量取自有根分层的活性态储量,一个月内至多取任一分层的一半。收获的份额离开地块;其余归还到混合深度。
KiwiSpec solves the soil solution twice with NICA-Donnan binding to dissolved organic matter (Milne et al. 2003): at the topsoil pH and dissolved organic carbon (DOC), and in a reference solution at pH 6.0 and 10 mg/L DOC that stands for the conditions behind published transfer factors. Both use KiwiSpec’s temperate pasture solution, with each modelled element at the porewater concentration its Kd implies, CO2 at 10−2 atm and the mean annual temperature.
KiwiSpec 对土壤溶液求解两次,用 NICA-Donnan 模型描述与溶解有机质的结合(Milne et al. 2003):一次在表土 pH 和溶解有机碳(DOC)下,一次在 pH 6.0、DOC 10 mg/L 的参考溶液中,后者代表已发表的转移系数背后的条件。两者都使用 KiwiSpec 的温带牧场溶液,每种被模拟的元素取其 Kd 所对应的孔隙水浓度,CO2 为 10−2 atm,温度取年均温。
The free-ion activity model describes metal cations, so S applies to them alone. Oxyanions and neutral species keep their BAC, as do Cr(III) and Hg(II), which KiwiSpec does not bind to organic matter, and Fe and Al, which KiwiSpec precipitates as ferrihydrite and Al(OH)3 in an oxic solution. S is bounded to between 0.1 and 10 by default.
自由离子活度模型描述的是金属阳离子,因此 S 只用于它们。含氧阴离子和中性形态保留其 BAC;Cr(III) 和 Hg(II)(KiwiSpec 不让它们与有机质结合)以及 Fe 和 Al(KiwiSpec 在有氧溶液中使其沉淀为水铁矿和 Al(OH)3)也是如此。S 默认限制在 0.1 到 10 之间。
With yearly recomputation on, DOC at the site follows the topsoil carbon ratio and KiwiSpec re-solves the site solution whenever DOC has moved by more than 10 %. In the Lincoln example, topsoil carbon falls over 30 years and the free-ion ratio of Cd rises from 0.51 to 0.74.
开启逐年重算时,地点的 DOC 跟随表土碳比值变化,每当 DOC 变动超过 10 %,KiwiSpec 就重新求解地点溶液。在 Lincoln 的例子中,表土碳在 30 年间下降,Cd 的自由离子比从 0.51 升到 0.74。
8Soil carbon土壤碳
Before each run KiwiFlux builds a KiwiCarbon scenario for the same block: the same monthly climate, the same horizons, the same plant with its removal, and the nitrogen, phosphorus, potassium and sulphur rates of the fertiliser programme. KiwiCarbon runs once, without its uncertainty band. It reports the profile total every year and each horizon at the start and end, so each horizon h follows the profile’s time course scaled to its own end point:
每次运行前,KiwiFlux 为同一地块建立一个 KiwiCarbon 情景:相同的逐月气候、相同的土层、相同的植物及其移出量,以及施肥方案中的氮、磷、钾、硫施用量。KiwiCarbon 运行一次,不带其不确定性区间。它每年报告剖面总量,并报告每个土层在起始和结束时的值,因此每个土层 h 都沿用剖面的时间进程,并缩放到它自己的终点:
Rh is the horizon’s end-to-start carbon ratio and S the profile’s soil carbon. Months are interpolated between years.
Rh 是该土层结束时与起始时的碳之比,S 是剖面的土壤碳。月份在年份之间插值。
Soil carbon then moves Kd (Equation 3), DOC (Section 7) and soil organic nitrogen (Section 9). The Carbon & nitrogen tab offers two alternatives: carbon held constant, or a linear change in percent of the start per year. KiwiFlux holds pH at the measured value, so lime adds calcium but does not move Kd.
土壤碳进而改变 Kd(公式 3)、DOC(第 7 节)和土壤有机氮(第 9 节)。“碳与氮”选项卡提供两种替代做法:碳保持不变,或按每年占起始值的百分比线性变化。KiwiFlux 把 pH 固定在实测值,因此石灰会增加钙,但不会改变 Kd。
9Nitrogen氮
Each slice has ammonium, nitrate and a residue pool. Soil organic nitrogen is not a separate state: it is soil organic carbon divided by the horizon’s C:N, so it follows the carbon trajectory exactly. Each month, in each slice,
每个分层有铵态氮、硝态氮和一个残体储量。土壤有机氮不是一个单独的状态量:它等于土壤有机碳除以该土层的 C:N,因此完全跟随碳变化轨迹。每个月,在每个分层中,
is mineralised to ammonium when carbon falls. When carbon rises, the organic N it would hold is taken from the ammonium and nitrate in the slice, and only as far as they go: KiwiFlux never creates nitrogen to match a carbon gain. Any shortfall widens the C:N of the new organic matter, and the Results tab reports it in kg N/ha.
在碳下降时矿化为铵态氮。碳上升时,它本应持有的有机氮取自该分层中的铵态氮和硝态氮,而且只取到它们够用为止:KiwiFlux 绝不为配合碳的增加而凭空造出氮。任何缺口都会使新有机质的 C:N 变宽,“结果”选项卡以 kg N/ha 报告这一缺口。
Fertiliser N enters as ammonium or nitrate according to its form; urea hydrolyses within the month. Ammonia volatilisation takes 10 % of urea N by default, about half that with a urease inhibitor, 3 % of ammonium salts and 1.5 % of calcium ammonium nitrate. Deposition adds 2 kg N/ha/yr, half as each ion. Biological fixation supplies the plant directly, up to its demand.
肥料氮按其形态以铵态氮或硝态氮进入;尿素在当月内水解。氨挥发默认带走尿素氮的 10 %,使用脲酶抑制剂时约为其一半,铵盐为 3 %,硝酸铵钙为 1.5 %。沉降加入 2 kg N/ha/yr,两种离子各占一半。生物固氮直接供给植物,以其需求为限。
The plant’s N demand is its dry matter times its N content. What fixation does not meet comes from the ammonium and nitrate of the rooted slices, at most 90 % of a slice in a month. Of the plant N that is not harvested, a share returns as mineral N (urine, 0.5 by default) and loses 10 % as ammonia; the rest enters the residue pool, which mineralises first order at 2 per year at 10 °C.
植物的氮需求等于其干物质乘以其含氮量。固氮未能满足的部分取自有根分层的铵态氮和硝态氮,一个月内至多取一个分层的 90 %。在未被收获的植物氮中,一部分以矿质氮形式归还(尿,默认 0.5),并以氨的形式损失 10 %;其余进入残体储量,后者按一级动力学矿化,10 °C 时速率为每年 2。
Rates scale with temperature by Q10 = 2 about 10 °C and with relative water content. Nitrification converts ammonium at 3 per month, slowed below pH 6 and above 80 % water-filled pore space (WFPS). Denitrification removes nitrate at
各速率随温度按 Q10 = 2(以 10 °C 为基准)缩放,并随相对含水量缩放。硝化以每月 3 的速率转化铵态氮,在 pH 低于 6 和充水孔隙度(WFPS)高于 80 % 时减慢。反硝化去除硝态氮的速率为
with kden = 1 per month. N2O is 0.2 % of nitrified N. Nitrate does not sorb; ammonium sorbs with Kd = 2 L/kg.
其中 kden = 每月 1。N2O 为硝化氮的 0.2 %。硝态氮不被吸附;铵态氮以 Kd = 2 L/kg 吸附。
The share of denitrified N that leaves as N2O follows Del Grosso et al. (2000), as implemented in DayCent. Denitrifiers short of carbon to reduce N2O to N2 release more of it, and wetter soil traps it until it is reduced, so the N2:N2O ratio is
反硝化氮中以 N2O 形式离开的份额遵循 Del Grosso et al. (2000),按 DayCent 中的实现方式。反硝化菌缺少把 N2O 还原为 N2 所需的碳时,会释放更多的 N2O;较湿的土壤则把它截留到被还原为止,因此 N2:N2O 比为
and N2O = denitrification / (1 + R). NO3 is the slice’s nitrate in µg N/g soil and CO2 its heterotrophic respiration in µg C/g soil per day. KiwiCarbon supplies the profile’s respiration for each year; KiwiFlux shares it out over the months by temperature (Q10) and down the slices in proportion to soil carbon. DFC is the relative gas diffusivity at field capacity, from the slice’s porosity and field capacity by Millington and Quirk (1961), and adj is DayCent’s site adjustment (1). With little nitrate per unit of respiration the share is near 10 %; where nitrate is plentiful relative to the carbon supply, as in a subsoil fed by a falling carbon stock, it approaches 20 to 30 %. When soil carbon is not from KiwiCarbon there is no respiration, and the share follows Equation 13 alone, set to 10 % at 60 % WFPS.
且 N2O = 反硝化量 / (1 + R)。NO3 是该分层的硝态氮,单位为 µg N/g 土;CO2 是其异养呼吸,单位为每天 µg C/g 土。KiwiCarbon 提供每年的剖面呼吸量;KiwiFlux 按温度(Q10)把它分配到各月,并按土壤碳的比例分配到各分层。DFC 是田间持水量下的相对气体扩散系数,按 Millington and Quirk (1961) 由该分层的孔隙度和田间持水量求得;adj 是 DayCent 的地点调整系数(1)。单位呼吸量对应的硝态氮很少时,该份额接近 10 %;硝态氮相对于碳供应充裕时(例如由下降的碳储量供给的底土),它接近 20 至 30 %。土壤碳不是来自 KiwiCarbon 时就没有呼吸量,该份额只按公式 13 计算,并设定为在 60 % WFPS 时为 10 %。
In the test suite a well-drained silt loam under dryland dairy pasture with 150 kg fertiliser N/ha/yr and constant carbon leaches 16 kg N/ha/yr and denitrifies 2.9 kg N/ha/yr; a water table at 30 cm raises denitrification to 9.7 kg N/ha/yr and lowers leaching to 6.6 kg N/ha/yr.
在测试套件中,排水良好的粉砂壤土上的旱作奶牛牧场,肥料氮为 150 kg N/ha/yr、碳保持不变,淋失 16 kg N/ha/yr,反硝化 2.9 kg N/ha/yr;30 cm 处的地下水位使反硝化升至 9.7 kg N/ha/yr,淋失降至 6.6 kg N/ha/yr。
The nitrogen forms, their ammonia loss, the rate functions above and the carbon-nitrogen check come from the site’s shared nitrogen library, ../ks-nitrogen.js. KiwiCarbon uses the same forms and the same reading of KiwiFert’s nitrogen text, and reports on its Results tab how much nitrogen its carbon trajectory locks up or releases at each horizon’s C:N, against the nitrogen the block receives.
氮的形态、其氨损失、上述速率函数以及碳氮校验都来自网站的共用氮库 ../ks-nitrogen.js。KiwiCarbon 使用相同的形态,并以相同方式解读 KiwiFert 的氮文字说明;它在自己的“结果”选项卡上报告:按各土层的 C:N,其碳变化轨迹锁定或释放多少氮,并与地块获得的氮相对照。
10Erosion and the mass balance侵蚀与质量平衡
Erosion removes soil from the top slice, the year’s loss shared among months in proportion to rain, with its labile and lattice-bound elements and its nitrogen. The top slice is refilled from the slice below, so the profile keeps its geometry.
侵蚀从最上面的分层移走土壤,全年的流失量按降雨比例分摊到各月,连同其中的活性态和晶格结合态元素及氮一并带走。最上面的分层由下一分层补足,因此剖面保持其几何形状。
For each element, start + fertiliser + deposition − offtake − leached − eroded − end is the residual; returned uptake stays inside the block. For nitrogen the same holds for the soil’s mineral and residue pools, with SOM release as an input, and the Results tab also gives the farm-gate budget: fertiliser, deposition and fixation in; offtake, ammonia, denitrification, leaching and erosion out; against the change in organic, residue and mineral N. Residuals are of order 10−15 of the throughput.
对每种元素,起始 + 肥料 + 沉降 − 收获移出 − 淋失 − 侵蚀 − 结束即为残差;归还的吸收量留在地块内。对氮而言,土壤的矿质储量和残体储量同样成立,其中 SOM 释放作为一项输入;“结果”选项卡还给出农场边界(farm-gate)收支:输入为肥料、沉降和固氮;输出为收获移出、氨、反硝化、淋失和侵蚀;与有机氮、残体氮和矿质氮的变化相对照。残差约为通过量的 10−15 量级。
11Reading the results解读结果
The summary table gives each element’s concentration in the top 10 cm at the start and end (mass-weighted, so it does not depend on the slice thickness) and its mean annual fluxes, in g/ha/yr or, for the macronutrients, kg/ha/yr. Leachate is the flux-weighted concentration in the water leaving the profile. Click a row for four charts: concentration in the top slice and the root zone, cumulative fluxes, the depth profile at the start, middle and end, and the leachate by month.
汇总表给出每种元素在起始和结束时表层 10 cm 的浓度(按质量加权,因此与分层厚度无关)及其年均通量,单位为 g/ha/yr,大量元素则为 kg/ha/yr。淋出液是离开剖面的水中按通量加权的浓度。点击某一行可看到四幅图:最上面分层和根区的浓度,累积通量,起始、中期和结束时的深度剖面,以及逐月的淋出液。
Where nitrogen released from soil organic matter exceeds a quarter of the mineral N entering the soil, the Results tab says so. A measured topsoil carbon above what KiwiCarbon expects for the climate and land use declines towards its equilibrium, and its nitrogen then dominates the soil’s nitrogen budget. In the Lincoln example, the mapped topsoil carbon is 7.0 %, soil carbon to 100 cm falls 18 % over 30 years, and the released nitrogen supplies 132 kg N/ha/yr. With 90 mm/yr of drainage, 11 kg N/ha/yr of it leaches and 123 kg N/ha/yr is denitrified, most of it in the saturated subsoil below the 60 cm water table of this imperfectly drained Gley Soil. Comparing that run with one at constant carbon separates the effect of the carbon trajectory from that of management.
当土壤有机质释放的氮超过进入土壤的矿质氮的四分之一时,“结果”选项卡会指出这一点。实测表土碳高于 KiwiCarbon 按气候和土地利用所预期的水平时,会朝其平衡值下降,其氮随即主导土壤的氮收支。在 Lincoln 的例子中,地图给出的表土碳为 7.0 %,100 cm 以内的土壤碳在 30 年间下降 18 %,释放的氮提供 132 kg N/ha/yr。在 90 mm/yr 的排水下,其中 11 kg N/ha/yr 淋失,123 kg N/ha/yr 被反硝化,大部分发生在这种排水不完全的 Gley Soil 60 cm 地下水位以下的饱和底土中。把这次运行与碳保持不变的运行相比较,就能把碳变化轨迹的影响与管理的影响区分开。
The yearly CSV holds each element’s topsoil concentration and fluxes, the nitrogen budget, the water balance and soil carbon; Open in Kiwitools Stats sends the same table to Kiwitools, with its units, to analyse in Stats.
逐年 CSV 包含每种元素的表土浓度和通量、氮收支、水量平衡和土壤碳;在 Kiwitools Stats 中打开会把同一张表连同其单位发送到 Kiwitools,以便在 Stats 中分析。
12Scope and next steps适用范围与后续工作
KiwiFlux describes equilibrium sorption with a linear isotherm. Fresh fertiliser metal and native metal share one Kd per element; separating them, with ageing between the two, is the next step for cadmium. Crop rotations enter as a single plant; KiwiFert’s rotation phases, with a plant per phase, would follow from its schedule data. pH is held constant, so the acidity of nitrogen fertiliser and the correction by lime are left to KiwiFert and KiwiCarbon; coupling KiwiCarbon’s pH drift to Kd would close that loop. Phosphorus is treated like the other elements, with a linear Kd. KiwiCarbon reports respiration for the whole profile by year, so KiwiFlux shares it by temperature and soil carbon rather than taking it horizon by horizon and month by month, and leaves out DayCent’s small upward correction to respiration near saturation; carrying KiwiCarbon’s respiration by horizon and month would remove both approximations.
KiwiFlux 用线性等温线描述平衡吸附。新施入的肥料金属和土壤原有金属在每种元素上共用一个 Kd;把两者分开,并在两者之间加入老化,是镉的下一步工作。作物轮作以单一植物输入;KiwiFert 的轮作阶段(每个阶段一种植物)可由其时间表数据得出。pH 保持不变,因此氮肥的酸度和石灰的校正都留给 KiwiFert 和 KiwiCarbon;把 KiwiCarbon 的 pH 漂移与 Kd 耦合起来,就能闭合这一环。磷与其他元素一样处理,采用线性 Kd。KiwiCarbon 按年报告整个剖面的呼吸量,因此 KiwiFlux 按温度和土壤碳分配它,而不是逐土层、逐月取用,并且略去了 DayCent 在接近饱和时对呼吸量所作的小幅向上修正;采用 KiwiCarbon 逐土层、逐月的呼吸量可以消除这两处近似。
13Files and tests文件与测试
| File | Role |
|---|---|
index.html, app.css | The application: seven tabs and the run block in the sidebar |
js/model.js | The engine, with no DOM; runs in Node |
../ks-nitrogen.js | The shared nitrogen library: fertiliser N forms, the KiwiFert matcher, the rate functions and the carbon-nitrogen check, used by KiwiFlux and KiwiCarbon |
js/links.js | The links to KiwiMap, KiwiChem, KiwiSpec, KiwiCarbon and KiwiFert |
js/charts.js | SVG charts |
js/app.js | The interface |
test/kiwiflux.test.js | 56 engine checks: mass balance for every element and nitrogen, water closure, magnitudes, transport against plug flow and the dispersion variance, convergence with slice thickness, smooth profiles with no steps at horizon boundaries, an equilibrium start, bioturbation against theory, cultivation, the carbon link (including a carbon gain larger than the nitrogen supply), the free-ion correction, the N2O share against nitrate, respiration and water-filled pore space, and the degenerate cases. Run node test/kiwiflux.test.js from this folder. |
test/links.test.js | 24 checks of the links against the sister apps’ own files, ending in a fully coupled run and a check that KiwiFlux, KiwiCarbon and the shared nitrogen library use one set of nitrogen forms. Run node test/links.test.js. |
| 文件 | 作用 |
|---|---|
index.html, app.css | 应用本身:七个选项卡和侧边栏中的运行区 |
js/model.js | 引擎,不涉及 DOM;可在 Node 中运行 |
../ks-nitrogen.js | 共用氮库:肥料氮形态、KiwiFert 匹配器、速率函数和碳氮校验,供 KiwiFlux 和 KiwiCarbon 使用 |
js/links.js | 与 KiwiMap、KiwiChem、KiwiSpec、KiwiCarbon 和 KiwiFert 的链接 |
js/charts.js | SVG 图表 |
js/app.js | 界面 |
test/kiwiflux.test.js | 56 项引擎检查:每种元素和氮的质量平衡、水量闭合、量级、对照活塞流和弥散方差的迁移、随分层厚度的收敛、在土层边界处没有台阶的平滑剖面、平衡起始、对照理论的生物扰动、耕作、碳链接(包括碳增加量大于氮供应的情形)、自由离子校正、N2O 份额随硝态氮、呼吸量和充水孔隙度的变化,以及退化情形。在本文件夹中运行 node test/kiwiflux.test.js。 |
test/links.test.js | 24 项链接检查,对照姊妹应用自己的文件,最后是一次完全耦合的运行,以及一项确认 KiwiFlux、KiwiCarbon 和共用氮库使用同一套氮形态的检查。运行 node test/links.test.js。 |
The files beginning rhizoflux and the archive folder are the single-contaminant Monte Carlo model of August 2026, which KiwiFlux replaces; no page loads them.
以 rhizoflux 开头的文件和 archive 文件夹是 2026 年 8 月的单污染物蒙特卡罗模型,已被 KiwiFlux 取代;没有任何页面载入它们。
References:参考文献: Allison, J.D. and Allison, T.L. (2005) Partition coefficients for metals in surface water, soil and waste. US EPA/600/R-05/074. Gale, M.R. and Grigal, D.F. (1987) Vertical root distributions of northern tree species in relation to successional status. Canadian Journal of Forest Research 17, 829–834. IAEA (2010) Handbook of parameter values for the prediction of radionuclide transfer in terrestrial and freshwater environments. Technical Reports Series 472. Kabata-Pendias, A. (2011) Trace Elements in Soils and Plants, 4th edn. CRC Press. Milne, C.J. et al. (2003) Generic NICA-Donnan model parameters for metal-ion binding by humic substances. Environmental Science & Technology 37, 958–971. Millington, R.J. and Quirk, J.P. (1961) Permeability of porous solids. Transactions of the Faraday Society 57, 1200–1207. Del Grosso, S.J., Parton, W.J., Mosier, A.R., Ojima, D.S., Kulmala, A.E. and Phongpan, S. (2000) General model for N2O and N2 gas emissions from soils due to denitrification. Global Biogeochemical Cycles 14, 1045–1060. Kaste, J.M., Heimsath, A.M. and Bostick, B.C. (2007) Short-term soil mixing quantified with fallout radionuclides. Geology 35, 243–246. US EPA (1996) Soil Screening Guidance: User’s Guide. EPA/540/R-96/018. Vanderborght, J. and Vereecken, H. (2007) Review of dispersivities for transport modeling in soils. Vadose Zone Journal 6, 29–52.