Class NPKDemandSlimNP
- All Implemented Interfaces:
net.simplace.sim.util.FWSimFieldContainer
Overview
This is a merge of Lintul5 (NPKDemand) and SlimNitrogen / SlimPhosphorus, where the formulas are reordered (interleaved) to avoid erroneous calculations.
Calculations
The model calculates
- Nutrient demand of the plant (from Lintul5 - see (1) )
- Available nutrients from soil (N from SlimNitrogen - see (2)-(5), P from SlimPhosphorus - see (6), K from Lintul5)
- Uptake of nutrients and distribution in plant (Lintul 5)
- Uptake of nutrients from soil (Slim - see (2)-(6))
- Soil nutrient content, involving
- fertiliser uptake (for N,P Slim, for K Lintul5)
- vertical movement between layers/leaching (Slim)
- nitrification NH4 -> NO3 (Slim)
- denitrification NO3 -> N2O (see (7),(8))
- N fixation (from EPIC model, see (6), but corrected)
- P transformation fixed <-> adsorbed <-> dissolved (from EPIC model - see (6))
Modifications
- there have been introduced nutrient pools to track the content of removed biomass (e.g. removal of residues, grazing)
- internal N pools are synchronised with input from other sim components (mainly from SoilCN)
- simple N fixation from Lintul5 has been replaced by the algorithm from EPIC, some coefficients corrected to be in sync with EPIC documentation rather than EPIC code.
- added denitrification
Some hints on usage
For using / configuring the SimComponent regarding the Lintul5 / Slim part please refer to the documentation of the models as well as the dedicated SimCompontents
Symbiotic N fixation
N fixation is controlled by cNFIXF, the fraction of daily N uptake by fixation. If set to 0 (default), no fixation occurs. If set to 1, then all N demand is fullfilled by N fixation.
The N fixation can be influenced by actual development stage, N and water content by setting the cSymbioticNFixationRestrictionFactor. 0 means no influence of restrictions, 1 means full influence of restrictions.
\[ r = min(r_{soilN},r_{water},r_{development}) \] \[ ActualSymbioticNFixationFraction = cNFIXF \cdot (r \cdot cSymbioticNFixationRestrictionFactor + (1-cSymbioticNFixationRestrictionFactor)) \]Denitrification
Denitrification is controlled by the parameter cPotentialDenitrificationRate. If set to 0 (default), no denitrification occurs.
The actual denitrification depends on cDenitrificationLimitingNitrateConcentration, cDenitrificationSoilDepth and cParticleDensity.
Restrictions: Simplified soil K
The K content in soil is actually calculated by the simple routines from Lintul5. It is just a simple pool (no differentiation to different layers) which is decreased by plant K uptake and increased by K fertiliser.
References
- (1) Joost Wolf, User guide for LINTUL5, Wageningen UR, Wageningen, 2012
- (2) Addiscott, T.M., Heys, P.J., Whitmore, A.P., 1986. Application of simple leaching models in heterogeneous soils. Geoderma 38, 185-194.
- (3) Addiscott, T.M., Whitmore, A.P., 1991. Simulation of solute leaching in soils with different permeabilities. Soil Use Manage. 7, 94-102.
- (4) Jamieson, P.D., Porter, J.R., Goudriaan, J., Ritchie, J.T., van Keulen, H., Stol, W., 1998. A comparison of the models AFRCWHEAT2, CERES-wheat, Sirius, SUCROS2 and SWHEAT with measurements from wheat grown under drought. Field Crop. Res. 55, 23-44.
- (5) Porter, J.R., 1993. AFRCWHAET2: A model of the growth and development of wheat incorporting responses to water and nitrogen. Eur. J. Agron. 2, 69-82.
- (6) Williams, Izaurralde: The apex model
- (7) Henault, C, Germon, J.C. 2000: NEMIS, a predictive model of denitrification on the field scale, European Journal of Soil Science
- (8) Linn, D.M., and J.W. Doran. 1984. Effect of water-filled pore space on carbon dioxide and nitrous oxide production in tilled and non-tilled soils. Soil Sci. Soc. Am. J. 48:1267-1272.
- Author:
- G. Krauss
- See Also:
Component Variables
Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
---|---|---|---|---|---|---|---|
constant | cAMEQ | proportion of ammonium on clay unavailable to nitrifiers | DOUBLE | 1 | 0.0 | 20.0 | 0.0 |
constant | cAMR1 | 1st nitrification constant | DOUBLE | 1 | 0.0 | 20.0 | 0.32 |
constant | cAMR2 | 2nd nitrification constant | DOUBLE | 1 | 0.0 | 20.0 | 0.1363 |
constant | cAREA | - | DOUBLE | m2 | 0.0 | 20.0 | 1.0 |
constant | cAX | proportion of ammonium available to crop | DOUBLE | 1 | 0.0 | 20.0 | 0.8 |
constant | cBGEN | - | DOUBLE | kg/m2 | 0.0 | 20.0 | 1.0 |
constant | cBSA | Base saturation by the ammonium acetate method | DOUBLEARRAY | % | - | - | - |
constant | cBulkDensity | - | DOUBLEARRAY | g/cm3 | - | - | - |
constant | cCNH4 | initial amount of ammonium in the soil layer i | DOUBLEARRAY | mg/kg | 0.0 | 20.0 | - |
constant | cCNO3 | initial amount of nitrate in the soil layer i | DOUBLEARRAY | mg/kg | 0.0 | 20.0 | - |
constant | cCaCO3 | CaCO3 concentration per layer | DOUBLEARRAY | % | 0.0 | - | - |
constant | cClay | Clay content per layer | DOUBLEARRAY | % | 0.0 | 1.0 | - |
constant | cDP | The proportion of nitrate and water lost from layer MD (the layer : containing the drains) that is lost through the drains | DOUBLE | 1 | 0.0 | 20.0 | 0.0 |
constant | cDVSI | initial development stage of crop (from 0 to 2) | DOUBLE | 1 | 0.0 | - | 0.0 |
constant | cDVSNLT | DVS stage above which no N, P and K uptakes by the crop do occur | DOUBLE | 1 | 0.0 | - | 1.3 |
constant | cDVSNT | DVS stage above which N, P and K translocations to storage organs occur - | DOUBLE | 1 | 0.0 | - | 0.8 |
constant | cDegreeOfWeathering | Type of soil: 0=calcareous, 1:slightly weathered, 2: moderately weathered, 3: highty weathered | INT | - | - | - | 0 |
constant | cDenitrificationLimitingNitrateConcentration | Concentration to determine Nitrate limitation factor for denitrification (Km) | DOUBLE | mg N/kg | 0.0 | 50.0 | 22.0 |
constant | cDenitrificationSoilDepth | Maximum depth of denitrification | DOUBLE | m | 0.0 | 3.0 | 0.2 |
constant | cFLOWNR | maximum uptake rate of total mineral nitrogen per day | DOUBLE | g/m2 | 0.0 | 1000.0 | 40.0 |
constant | cFLTB | Deprecated: please use cLeavesPartitioningTableFraction/DVS. Fraction table of abovre-gr. biomass to leaves as function of DVS | DOUBLEARRAY | 1 | - | - | - |
constant | cFNTRT | N-P-K translocations from roots as a fraction of resp. total N-P-K amounts translocated from leaves and stems | DOUBLE | 1 | - | - | 0.15 |
constant | cFRKX | optimal K concentration as fraction of maximal K concentration | DOUBLE | 1 | - | - | 1.0 |
constant | cFRNX | optimal N concentration as fraction of maximal N concentration | DOUBLE | 1 | - | - | 1.0 |
constant | cFRPX | optimal P concentration as fraction of maximal P concentration | DOUBLE | 1 | - | - | 1.0 |
constant | cFRTB | Deprecated: please use cRootsPartitioningTableFraction/DVS. Fraction table of total biomass to roots as function of DVS | DOUBLEARRAY | 1 | - | - | - |
constant | cFSTB | Deprecated: please use cStemsPartitioningTableFraction/DVS. Fraction table of abovre-gr. biomass to stems as function of DVS | DOUBLEARRAY | 1 | - | - | - |
constant | cIFWGEN | Switch to use estimates for initial soil water content in topsoil and subsoil (set to TRUE if initial water retention characteristics are unknown) | BOOLEAN | 1 | - | - | false |
constant | cIOPT | indicates optimal (=1), water limited (=2), water and N limited (=3) and water and N, P and K limited run (=4) | INT | 1 | 1 | 4 | 4 |
constant | cInitialAdsorbedPConcentration | Initial adsorbed P concentration per layer | DOUBLEARRAY | ppm | 0.0 | - | - |
constant | cInitialDissolvedPConcentration | Initial dissolved P concentration per layer | DOUBLEARRAY | ppm | 0.0 | - | - |
constant | cInitialFixedPConcentration | Initial fixed P concentration per layer | DOUBLEARRAY | ppm | 0.0 | - | - |
constant | cKMAXSO | maximal K concentration in storage organs | DOUBLE | g/g | 0.0 | - | 0.0048 |
constant | cKMINI | initial amount of potentially available soil K | DOUBLE | g/m2 | 0.0 | - | 0.0 |
constant | cKMXLV | table with maximal K concentration in leaves as function of DVS | DOUBLEARRAY | g/g | - | - | - |
constant | cKMaxTableConcentration | Maximum K concentration in leaves as function of DVS (c.f. KMXLV) | DOUBLEARRAY | g/g | - | - | 0.12 0.08 0.06 0.04 0.028 0.028 |
constant | cKMaxTableDVS | DVS for maximum K concentration in leaves (c.f. KMXLV) | DOUBLEARRAY | 1 | - | - | 0.0 0.4 0.7 1.0 2.0 2.1 |
constant | cLRKR | maximum K concentration in roots as fraction of maximum K concentration in leaves | DOUBLE | 1 | - | - | 0.5 |
constant | cLRNR | maximum N concentration in roots as fraction of maximum N concentration in leaves | DOUBLE | 1 | - | - | 0.5 |
constant | cLRPR | maximum P concentration in roots as fraction of maximum P concentration in leaves | DOUBLE | 1 | - | - | 0.5 |
constant | cLSKR | maximum K concentration in stems as fraction of maximum K concentration in leaves | DOUBLE | 1 | - | - | 0.5 |
constant | cLSNR | maximum N concentration in stems as fraction of maximum N concentration in leaves | DOUBLE | 1 | - | - | 0.5 |
constant | cLSPR | maximum P concentration in stems as fraction of maximum P concentration in leaves | DOUBLE | 1 | - | - | 0.5 |
constant | cLeavesPartitioningTableDVS | DVS for fraction of above-ground dry matter to leaves (c.f. FLTB) | DOUBLEARRAY | 1 | - | - | 0.0 0.1 0.25 0.5 0.646 0.95 2.0 |
constant | cLeavesPartitioningTableFraction | Fraction of above-ground dry matter to leaves as function of DVS (c.f. FLTB) | DOUBLEARRAY | 1 | 0.0 | 1.0 | 0.65 0.65 0.7 0.5 0.3 0.0 0.0 |
constant | cLowerBoundaryPConcentration | P concentration in the lower boundary of the soil profile | DOUBLE | g/l | 0.0 | 1000.0 | 0.0 |
constant | cMT | - | INT | 1 | 0 | 1000 | 5 |
constant | cNFIXF | potential fraction of crop N uptake by symbiotic N fixation (0=no fixation, 1=fullfill demand by fixation, default 0) | DOUBLE | 1 | 0.0 | 1.0 | 0.0 |
constant | cNMAXSO | maximal N concentration in storage organs | DOUBLE | g/g | 0.0 | - | 0.0176 |
constant | cNMXLV | table with maximal N concentration in leaves as function of DVS | DOUBLEARRAY | g/g | - | - | - |
constant | cNMaxTableConcentration | Maximum N concentration in leaves as function of DVS (c.f. NMXLV) | DOUBLEARRAY | g/g | - | - | 0.06 0.04 0.03 0.02 0.014 0.017 |
constant | cNMaxTableDVS | DVS for maximum N concentration in leaves (c.f. NMXLV) | DOUBLEARRAY | 1 | - | - | 0.0 0.4 0.7 1.0 2.0 2.1 |
constant | cPH | pH value of soil per layer | DOUBLEARRAY | 1 | 0.0 | 14.0 | - |
constant | cPMAXSO | maximal P concentration in storage organs | DOUBLE | g/g | 0.0 | - | 0.0026 |
constant | cPMXLV | table with maximal P concentration in leaves as function of DVS | DOUBLEARRAY | g/g | - | - | - |
constant | cPMaxTableConcentration | Maximum P concentration in leaves as function of DVS (c.f. PMXLV) | DOUBLEARRAY | g/g | - | - | 0.011 0.008 0.006 0.004 0.0027 0.0027 |
constant | cPMaxTableDVS | DVS for maximum P concentration in leaves (c.f. PMXLV) | DOUBLEARRAY | 1 | - | - | 0.0 0.4 0.7 1.0 2.0 2.1 |
constant | cParticleDensity | Maximum particle density | DOUBLE | g/cm3 | 0.0 | 3.0 | 2.65 |
constant | cPotentialDenitrificationRate | Maximum denitrification rate at 20°C | DOUBLE | g m-2 day-1 | 0.0 | 100.0 | 0.0 |
constant | cRKFLV | residual K concentration in leaves | DOUBLE | g/g | 0.0 | - | 0.009 |
constant | cRKFRT | residual K concentration in roots | DOUBLE | g/g | 0.0 | - | 0.005 |
constant | cRKFST | residual K concentration in stems | DOUBLE | g/g | 0.0 | - | 0.005 |
constant | cRNFLV | residual N concentration in leaves | DOUBLE | g/g | 0.0 | - | 0.004 |
constant | cRNFRT | residual N concentration in roots | DOUBLE | g/g | 0.0 | - | 0.002 |
constant | cRNFST | residual N concentration in stems | DOUBLE | g/g | 0.0 | - | 0.002 |
constant | cRPFLV | residual P concentration in leaves | DOUBLE | g/g | 0.0 | - | 5.0E-4 |
constant | cRPFRT | residual P concentration in roots | DOUBLE | g/g | 0.0 | - | 3.0E-4 |
constant | cRPFST | residual P concentration in stems | DOUBLE | g/g | 0.0 | - | 3.0E-4 |
constant | cRTKMINS | fraction of soil K becoming available per day | DOUBLE | d-1 | 0.0 | 1.0 | 0.025 |
constant | cRootMaxPUptakeRate | Maximum P uptake rate per one metre root | DOUBLE | g/m | - | - | 0.0 |
constant | cRootsPartitioningTableDVS | DVS for fraction of total dry matter to roots (c.f. FRTB) | DOUBLEARRAY | 1 | - | - | 0.0 0.1 0.2 0.35 0.4 0.5 0.7 0.9 1.2 2.0 |
constant | cRootsPartitioningTableFraction | Fraction of total dry matter to roots as function of DVS (c.f. FRTB) | DOUBLEARRAY | 1 | 0.0 | 1.0 | 0.5 0.5 0.4 0.22 0.17 0.13 0.07 0.03 0.0 0.0 |
constant | cSCMIN | Minimum unextractable concentration of soil nitrate | DOUBLE | g/m3 | 0.0 | 20.0 | 0.001 |
constant | cSCONC | nitrate concentration in rain | DOUBLE | g/m3 | 0.0 | 100.0 | 5.0 |
constant | cSMD | Initial soil Moisture Deficit as estimated by the user (only used when initial soil water fractions are not provided) | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
constant | cSoilLayerDepth | - | DOUBLEARRAY | m | - | - | - |
constant | cSoilWaterFieldCapacity | - | DOUBLEARRAY | m3/m3 | - | - | - |
constant | cSoilWaterInitial | - | DOUBLEARRAY | m3/m3 | - | - | - |
constant | cSoilWaterReducedThreshold | - | DOUBLEARRAY | m3/m3 | - | - | - |
constant | cSoilWaterResidual | - | DOUBLEARRAY | m3/m3 | - | - | - |
constant | cSoilWaterSaturation | - | DOUBLEARRAY | m3/m3 | - | - | - |
constant | cSoilWaterWiltingPoint | - | DOUBLEARRAY | m3/m3 | - | - | - |
constant | cStemsPartitioningTableDVS | DVS for fraction of above-ground dry matter to stems (c.f. FSTB) | DOUBLEARRAY | 1 | - | - | 0.0 0.1 0.25 0.5 0.646 0.95 1.0 2.0 |
constant | cStemsPartitioningTableFraction | Fraction of above-ground dry matter to stems as function of DVS (c.f. FSTB) | DOUBLEARRAY | 1 | 0.0 | 1.0 | 0.35 0.35 0.3 0.5 0.7 1.0 0.0 0.0 |
constant | cSymbioticNFixationRestrictionFactor | influence of development, soil water and soil N on fixation factor (0=no restriction, 1=full restriction, default .5) | DOUBLE | 1 | 0.0 | 1.0 | 0.5 |
constant | cTCKT | time constant for K translocation to storage organs | DOUBLE | d | 0.0 | - | 10.0 |
constant | cTCNT | time constant for N translocation to storage organs | DOUBLE | d | 0.0 | - | 10.0 |
constant | cTCPT | time constant for P translocation to storage organs | DOUBLE | d | 0.0 | - | 10.0 |
constant | cTDWI | Initial total crop dry weight | DOUBLE | - | - | 210.0 | |
constant | cTEMCO1 | temperature coefficient for ammonification | DOUBLE | 1 | 0.0 | - | 7000.0 |
constant | cTEMCO2 | temperature coefficient for nitrification | DOUBLE | 1 | 0.0 | - | 7000.0 |
constant | cWMGENS | Default values for mobile water (WM) in the subsoil layers (only used if water retention characteristics are unknown) | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
constant | cWMGENT | Default values for mobile water (WM) in the topsoil layers (only used if water retention characteristics are unknown) | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
constant | cWRGENS | - | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
constant | cWRGENT | Default values for retained water (WR) in the subsoil layers (only used if water retention characteristics are unknown) | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
constant | cWRSS | the amount of water that is not available for water and solute transport in the subsoil layers (only used if water retention characteristics are unknown) | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
constant | cWRST | the amount of water that is not available for transport of water and solutes in the topsoil layers (only used if water retention characteristics are unknown) | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
input | iActualTranspiration | Actual crop transpiration as affected by crop water demand and crop available soil water | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
input | iAmmoniumFertilisation | Amount of ammonium-N in mineral fertilizer | DOUBLE | g/m2 | 0.0 | 2000.0 | 0.0 |
input | iDLV | decrease in leaf mass by senescence | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iDLVToLitter | dead leaf biomass rate that goes to litter | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iDRRT | dead root rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iDRST | dead stem rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iDRSTToLitter | dead stem biomass rate that goes to litter | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iDVS | initial development stage of crop (from 0 to 2) | DOUBLE | 1 | - | - | 0.0 |
input | iDVSResetted | stage of crop (from 0 to 2) that could possibly be reset, e.g. for simple grazing | DOUBLE | 1 | - | - | - |
input | iDoHarvest | harvesting | BOOLEAN | 1 | - | - | false |
input | iDoInitialize | Switch to re-initialize the model with initial values. | BOOLEAN | 1 | - | - | false |
input | iDoSow | sowing | BOOLEAN | 1 | - | - | false |
input | iDrynessFactor | Dryness factor in each layer (input to SlimWater) | DOUBLEARRAY | 1 | - | - | - |
input | iEMERG | has emerged | BOOLEAN | 1 | - | - | false |
input | iIDEMERG | Day of emergence | INT | 1 | - | - | 0 |
input | iKFertilizer | fertilizer K applications | DOUBLE | g/(m2 d) | 0.0 | - | - |
input | iKMINT | total K directly available from soil and fertiliser | DOUBLE | g/m2 | - | - | - |
input | iLessMobileWater | Total amount of less mobile water (WR-WHT15R) in each layer (only used for solute transport) | DOUBLEARRAY | mm | - | - | - |
input | iMD95 | Number of deepest soil layer containing roots (provided by other SimComponents e.g. SlimRoots) | INT | 1 | 0 | 10000 | 0 |
input | iMineralizedPRate | Daily Mineralized P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
input | iMobileWater | Daily amount of mobile water (WM) in each soil layer (mm) | DOUBLEARRAY | mm | - | - | - |
input | iNMineralisationRate | Daily rate of ammonium produced or immobilised from organic matter transformation | DOUBLEARRAY | g/m2 | - | - | - |
input | iNinorg | Amount of inorganic (mineral) N per soil layer from another SimComponent simulating daily soil organic matter transformations | DOUBLEARRAY | g/m2 | - | - | - |
input | iNitrateFertilisation | Amount of nitrate-N in mineral fertilizer | DOUBLE | g/m2 | 0.0 | 2000.0 | 0.0 |
input | iPFertilizer | P fertilizer | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iPercolatingWater | Water percolating out from layer i | DOUBLEARRAY | mm | - | - | - |
input | iRAIN | Precipitation | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
input | iRemovedDLV | removed dead leaf biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRemovedDRRT | removed dead root biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRemovedDRST | removed dead stem biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRemovedRWLVG | removed living leaf biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRemovedRWRT | removed root biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRemovedRWSO | removed storage organ biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRemovedRWST | removed stem biomass rate | DOUBLE | g/(m2 d) | - | - | 0.0 |
input | iRetainedWater | Daily amount of retained water (WR) in each soil layer (mm) | DOUBLEARRAY | mm | - | - | - |
input | iRootLength | Root length per layer | DOUBLEARRAY | m | - | - | - |
input | iSoilTemperature | Soil temperature in layer i | DOUBLEARRAY | °C | - | - | - |
input | iTRANRF | water stress reduction factor | DOUBLE | 1 | - | - | 1.0 |
input | iTotalWater | Total water content in each soil layer (mm) | DOUBLEARRAY | mm | - | - | - |
input | iWFAST | From SlimWater: If cCalculateSurfaceRunoff is TRUE: Daily amount of surface run-off (mm); If FALSE: WFAST is the infiltration excess water by-passing the soil matrix | DOUBLE | mm | 0.0 | 20.0 | 0.0 |
input | iWHT15R | Retained water below 0.5*wilting point in each layer not available for movement of solutes | DOUBLEARRAY | mm | - | - | - |
input | iWLVG | weight of living leaves | DOUBLE | g/m2 | - | - | 0.0 |
input | iWRT | weight of roots | DOUBLE | g/m2 | - | - | 0.0 |
input | iWSO | weight of storage organs | DOUBLE | g/m2 | - | - | 0.0 |
input | iWST | weight of stems | DOUBLE | g/m2 | - | - | 0.0 |
state | sAKLV | amount of K in living leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAKRT | amount of K in living roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAKSO | amount of K in storage organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAKST | amount of K in living stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sANLV | amount of N in living leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sANRT | amount of N in living roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sANSO | amount of N in storage organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sANST | amount of N in living stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAPLV | amount of P in living leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAPRT | amount of P in living roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAPSO | amount of P in storage organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAPST | amount of P in living stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sAdsorbedP | Adsorbed P per layer | DOUBLEARRAY | g/m2 | 0.0 | - | - |
state | sDenitrification | Total denitrification over whole soil profile | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sDenitrificationPerLayer | Total denitrification per soil layer | DOUBLEARRAY | g/m2 | - | - | - |
state | sDissolvedP | Dissolved P per layer | DOUBLEARRAY | g/m2 | 0.0 | - | - |
state | sFixedP | Fixed P per layer | DOUBLEARRAY | g/m2 | 0.0 | - | - |
state | sKLIVT | amount of K in living crop organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sKLOSSL | amount of K in dead leaves | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sKLOSSR | amount of K in dead roots | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sKLOSSS | amount of K in dead stems | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sKLOSST | amount of K in dead crop organs | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sKMIN | amount of K potentially available from the soil | DOUBLE | g/m2 | - | - | 0.0 |
state | sKMINT | total K directly available from soil and fertiliser | DOUBLE | g/m2 | - | - | 0.0 |
state | sKROOT | total K in living and dead roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sKUPTT | total K uptake by crop from soil | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sLeachedP | Leached P | DOUBLE | g/m2 | - | - | 0.0 |
state | sNFIXTT | total N uptake by crop from symbiotic fixation | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sNLIVT | amount of N in living crop organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sNLOSSL | amount of N in dead leaves | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sNLOSSLToLitter | amount of N in dead leaves that go to litter | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sNLOSSR | amount of N in dead roots | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sNLOSSS | amount of N in dead stems | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sNLOSSSToLitter | amount of N in dead stems that go to litter | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sNLOSST | amount of N in dead crop organs | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sNROOT | total N in living and dead roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sNUPTT | total N uptake by crop from soil | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sPLIVT | amount of P in living crop organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sPLOSSL | amount of P in dead leaves | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sPLOSSLToLitter | amount of P in dead leaves that go to litter | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sPLOSSR | amount of P in dead roots | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sPLOSSS | amount of P in dead stems | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sPLOSSSToLitter | amount of P in dead stems that go to litter | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sPLOSST | amount of P in dead crop organs | DOUBLE | g/m2 | -1.0E-13 | - | 0.0 |
state | sPROOT | total P in living and dead roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sPUPTT | total P uptake by crop from soil | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedANLV | amount of N in removed living leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedANRT | amount of N in removed living roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedANSO | amount of N in removed storage organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedANST | amount of N in removed living stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedAPLV | amount of P in removed living leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedAPRT | amount of P in removed living roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedAPSO | amount of P in removed storage organs | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedAPST | amount of P in removed living stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedNLOSSL | amount of N in removed dead leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedNLOSSR | amount of N in removed dead roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedNLOSSS | amount of N in removed dead stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedPLOSSL | amount of P in removed dead leaves | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedPLOSSR | amount of P in removed dead roots | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sRemovedPLOSSS | amount of P in removed dead stems | DOUBLE | g/m2 | 0.0 | - | 0.0 |
state | sTotalUptakeP | Total P uptake | DOUBLE | g/m2 | - | - | 0.0 |
state | sWaterBefore | amount of water in layer i before leaching | DOUBLEARRAY | mm | - | - | - |
rate | rAdsorbedPRate | Daily change of adsorbed P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
rate | rAvailPRate | Daily plant available P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
rate | rCorrectedMineralizedPRate | Daily Mineralized P per layer - corrected to avoid negative DissolvedP state | DOUBLEARRAY | g/(m2 d) | - | - | - |
rate | rDenitrificationRate | Daily denitrification over whole soil profile | DOUBLE | g/(m2 d) | 0.0 | - | 0.0 |
rate | rDenitrificationRatePerLayer | Daily denitrification per soil layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
rate | rDissolvedPRate | Daily change of dissolved P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
rate | rFixedPRate | Daily change of fixed P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
rate | rKUPTR | daily K uptake rate by the crop | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rLeachedPRate | Daily leaching rate | DOUBLE | g/(m2 d) | - | - | - |
rate | rNFIXTR | N uptake rate by crop from symbiotic fixation | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rNUPTR | daily N uptake rate by the crop | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rPUPTR | daily P uptake rate by the crop | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKLDLV | K losses due to death of leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKLDRT | K losses due to death of roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKLDST | K losses due to death of stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKLV | rate of change of K amount in the leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKMINS | depletion (thus negative value) of the available amount of soil K | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKMINT | change in total directly available K in soil | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKRT | rate of change of K amount in the roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKSO | rate of change of K amount in the storage organs | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRKST | rate of change of K amount in the stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNLDLV | N losses due to death of leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNLDLVToLitter | rate of change of N amount in dead leaves that go to litter | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNLDRT | N losses due to death of roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNLDST | N losses due to death of stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNLDSTToLitter | rate of change of N amount in dead stems that go to litter | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNLV | rate of change of N amount in the leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNRT | rate of change of N amount in the roots | DOUBLE | J/(m2 d) | - | - | 0.0 |
rate | rRNSO | actual N translocation to storage organs | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRNST | rate of change of N amount in the stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPLDLV | P losses due to death of leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPLDLVToLitter | rate of change of P amount in dead leaves that go to litter | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPLDRT | P losses due to death of roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPLDST | P losses due to death of stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPLDSTToLitter | rate of change of P amount in dead stems that go to litter | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPLV | rate of change of P amount in the leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPRT | rate of change of P amount in the roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPSO | actual P translocation to storage organs | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRPST | rate of change of P amount in the stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRNLDLV | rate of change of N amount in removed dead leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRNLDRT | rate of change of N amount in removed dead roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRNLDST | rate of change of N amount in removed dead of stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRNLV | rate of change of N amount in the removed leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRNRT | rate of change of N amount in the removed roots | DOUBLE | J/(m2 d) | - | - | 0.0 |
rate | rRemovedRNSO | rate of change of N amount in the removed storage organs | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRNST | rate of change of N amount in the removed stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRPLDLV | rate of change of P amount in removed dead leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRPLDRT | rate of change of P amount in removed dead roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRPLDST | rate of change of P amount in removed dead stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRPLV | rate of change of P amount in the removed leaves | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRPRT | rate of change of P amount in the removed roots | DOUBLE | J/(m2 d) | - | - | 0.0 |
rate | rRemovedRPSO | rate of change of P amount in the removed storage organs | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rRemovedRPST | rate of change of P amount in the removed stems | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rTotalAvailPRate | Daily total avail P in profile | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rTotalUptakePRate | Daily P uptake by the roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
rate | rUptakePRate | Daily crop P uptake per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
out | ActualSymbioticNFixationFraction | actual fraction of crop N uptake by symbiotic fixation, depending possibly on development, soil water and soil N. | DOUBLE | 1 | 0.0 | 1.0 | 0.0 |
out | AdsorbedPConcentration | Adsorbed P concentration per layer | DOUBLEARRAY | ppm | 0.0 | - | - |
out | Ammonium | Amount of ammonium in layer i in g*m-2 | DOUBLEARRAY | g/m2 | - | - | - |
out | AmmoniumUptakePerLayer | Ammonium uptake per layer | DOUBLEARRAY | g/m2 | - | - | - |
out | CropAvailableNinProfile | Daily total amount of crop available N in the soil profile | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedDrainN | Cumulated amount if nitrogen lost through frain pipes | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedFertilizerAmmonium | Cumulated amount of ammonium added as mineral fertilizer | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedFertilizerN | Cumulated amount of nitrogen added as mineral fertilizer | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedFertilizerNitrate | Cumulated amount of nitrate added as mineral fertilizer | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedFertilizerP | Cumulated fertilizer over time | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedMineralizedN | Cumulated net amount of nitrogen released from soil organic matter | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedMineralizedP | Cumulated mineralized P over time in whole profile | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedRainN | Cumulated amount of nitorgen in rainfall | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedRunoffN | Cumulated amount of nitrogen lost through run-off or preferential flow (SFAST) | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedSeepN | Cumulated amount of nitrogen lost through leaching at the lower boundary of the soil profile (SSEEP) | DOUBLE | g/m2 | - | - | 0.0 |
out | CumulatedUptakeN | Cumulated amount of N taken up by the crop | DOUBLE | g/m2 | - | - | 0.0 |
out | DissolvedPConcentration | Dissolved P concentration per layer | DOUBLEARRAY | ppm | 0.0 | - | - |
out | DissolvedPFlow | Daily dissolved P flow from a layer to the neighbour layer below | DOUBLEARRAY | g/(m2 d) | - | - | - |
out | FixedNitrate | Amount of Nitrate fixed in layer i | DOUBLEARRAY | g/m2 | - | - | - |
out | FixedNitrateinProfile | Nitrate-N in the soil profile that is fixed (not available for the plant) | DOUBLE | g/m2 | - | - | 0.0 |
out | FixedPConcentration | Fixed P concentration per layer | DOUBLEARRAY | ppm | 0.0 | - | - |
out | InitialAdsorbedP | Initial adsorbed P per layer | DOUBLEARRAY | g/m2 | 0.0 | - | - |
out | InitialDissolvedP | Initial dissolved P per layer | DOUBLEARRAY | g/m2 | 0.0 | - | - |
out | InitialFixedP | Initial fixed P per layer | DOUBLEARRAY | g/m2 | 0.0 | - | - |
out | InitialPlantK | Initial K content in the plant | DOUBLE | g/m2 | - | - | 0.0 |
out | InitialPlantN | Initial N content in the plant | DOUBLE | g/m2 | - | - | 0.0 |
out | InitialPlantP | Initial P content in the plant | DOUBLE | g/m2 | - | - | 0.0 |
out | KDEML | K demand of leaves | DOUBLE | g/m2 | - | - | 0.0 |
out | KDEMR | K demand of roots | DOUBLE | g/m2 | - | - | 0.0 |
out | KDEMS | K demand of stems | DOUBLE | g/m2 | - | - | 0.0 |
out | KDEMSO | K demand of storage organs | DOUBLE | g/m2 | - | - | 0.0 |
out | KDEMTO | K demand of leaves, stems and roots | DOUBLE | g/m2 | - | - | 0.0 |
out | KDEMTOLimit | K demand of leaves, stems and roots, limited possibly by water stress (NLIMIT) | DOUBLE | g/m2 | - | - | 0.0 |
out | KNI | potassium nutrition index | DOUBLE | 1 | - | - | 1.0 |
out | MineralNBalance | Mineral N balance | DOUBLE | g/m2 | - | - | 0.0 |
out | MineralNinProfile | Mineral N as the sum of ammonium-N and nitrate-N (including fixed nitrate) in the soil profile | DOUBLE | g/m2 | - | - | 0.0 |
out | MobileNitrate | Amount of solutes (nitrate) in the mobile water fraction in layer i | DOUBLEARRAY | g/m2 | - | - | - |
out | NDEML | N demand of leaves | DOUBLE | g/m2 | - | - | 0.0 |
out | NDEMR | N demand of roots | DOUBLE | g/m2 | - | - | 0.0 |
out | NDEMS | N demand of stems | DOUBLE | g/m2 | - | - | 0.0 |
out | NDEMSO | N demand of storage organs | DOUBLE | g/m2 | - | - | 0.0 |
out | NDEMTO | N demand of leaves, stems and roots | DOUBLE | g/m2 | - | - | 0.0 |
out | NDEMTOLimit | N demand of leaves, stems and roots, limited possibly by water stress (NLIMIT) | DOUBLE | g/m2 | - | - | 0.0 |
out | NDEMTOLimitFromSoil | N demand of leaves, stems and roots, limited possibly by water stress (NLIMIT) which is demanded from soil (NDEMTOLimit - Nfixation) | DOUBLE | g/m2 | - | - | 0.0 |
out | NH4inProfile | Daily total amount of ammonium in the soil profile | DOUBLE | g/m2 | - | - | 0.0 |
out | NLIMIT | Nutrient uptake limiting factor (-) at low moisture conditions in the rooted soil layer before anthesis. | DOUBLE | 1 | - | - | 0.0 |
out | NNI | nitrogen nutrition index | DOUBLE | 1 | - | - | 1.0 |
out | NO3inProfile | Daily Total amount of nitrate in the soil profile (without fixed nitrate) | DOUBLE | g/m2 | - | - | 0.0 |
out | NPKI | NPK nutrition index | DOUBLE | 1 | - | - | 1.0 |
out | NUptake | Daily Nitrogen uptake by the roots | DOUBLE | g/(m2 d) | - | - | 0.0 |
out | Ninorg | Amount of inorganic N in layer i after leaching and crop uptake | DOUBLEARRAY | g/m2 | - | - | - |
out | Nitrate | Amount of Nitrate in all water fractions (mobile, retained, fixed) in layer i | DOUBLEARRAY | g/m2 | - | - | - |
out | NitrateLossFastSeepage | Nitrate loss through runoff or preferential flow | DOUBLE | g/(m2 d) | - | - | 0.0 |
out | NitrateLossSeepage | Nitrate loss at the lower boundary of the soil profile through percolation | DOUBLE | g/(m2 d) | - | - | 0.0 |
out | NitrateUptakePerLayer | Nitrate uptake per layer | DOUBLEARRAY | g/m2 | - | - | - |
out | NitrificationRate | Daily change in nitrate due to nitrification in each soil layer | DOUBLEARRAY | g/m2 | - | - | - |
out | NitrogenUptakePerLayer | Nitrogen(Nitrate and Ammonium) uptake per layer | DOUBLEARRAY | g/m2 | - | - | - |
out | PAdsorptionCoefficients | Asorption coefficients per layer | DOUBLEARRAY | 1 | - | - | - |
out | PAdsorptionRate | Daily adsorbed P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
out | PBalance | P Balance | DOUBLE | g/m2 | - | - | 0.0 |
out | PDEML | P demand of leaves | DOUBLE | g/m2 | - | - | 0.0 |
out | PDEMR | P demand of roots | DOUBLE | g/m2 | - | - | 0.0 |
out | PDEMS | P demand of stems | DOUBLE | g/m2 | - | - | 0.0 |
out | PDEMSO | P demand of storage organs | DOUBLE | g/m2 | - | - | 0.0 |
out | PDEMTO | P demand of leaves, stems and roots | DOUBLE | g/m2 | - | - | 0.0 |
out | PDEMTOLimit | P demand of leaves, stems and roots, limited possibly by water stress (NLIMIT) | DOUBLE | g/m2 | - | - | 0.0 |
out | PFixationCoefficients | Fixation coefficients per layer | DOUBLEARRAY | 1 | - | - | - |
out | PFixationRate | Daily fixed P per layer | DOUBLEARRAY | g/(m2 d) | - | - | - |
out | PNI | phosphorus nutrition index | DOUBLE | 1 | - | - | 1.0 |
out | PercolatingNitrogen | Amount of nitrogen moving from layer i into an adjacent layer | DOUBLEARRAY | g/m2 | - | - | - |
out | PlantNBalance | plant nitrogen balance | DOUBLE | g/m2 | - | - | 0.0 |
out | PlantPBalance | plant phosphorus balance | DOUBLE | g/m2 | - | - | 0.0 |
out | RetainedNitrate | Amount of solutes (nitrate) in the retainded water fraction in layer i | DOUBLEARRAY | g/m2 | - | - | - |
out | SoilAvailNitrate | Nitrate in mobile+retained water fractions (without fixed nitrate) in layer i | DOUBLEARRAY | g/m2 | - | - | - |
out | THICKL | Layer thickness in m | DOUBLE | m | 0.001 | 20.0 | 0.0 |
out | WithCrop | crop is present | BOOLEAN | 1 | - | - | false |
-
Nested Class Summary
Nested classes/interfaces inherited from class net.simplace.sim.model.FWSimComponent
net.simplace.sim.model.FWSimComponent.TEST_STATE
-
Field Summary
Fields inherited from class net.simplace.sim.model.FWSimComponent
iFieldMap, iFrequence, iInputMap, iJexlRule, iMasterComponentGroup, iName, iOrderNumber, isComponentGroup, iSimComponentElement, iSimModel, iVarMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected net.simplace.sim.model.FWSimComponent
clone
(net.simplace.sim.util.FWSimVarMap aVarMap) creates a clone from this SimComponent for use in other threadsCreate the FWSimVariables as interface for this SimComponentfillTestVariables
(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.protected void
init()
initializes the fields by getting input and output FWSimVariables from VarMapprotected void
protected void
final void
protected void
protected void
process()
process the algorithm and write the results back to VarMapprotected void
protected void
Methods inherited from class net.simplace.sim.model.FWSimComponent
addVariable, bind, checkCondition, createSimComponent, createSimComponent, createSimComponent, createSimComponent, doProcess, getConstantVariables, getContentType, getCreateFormXML, getDescription, getEditFormXML, getFieldMap, getFrequence, getFrequenceRuleScript, getInputs, getInputVariables, getMasterComponentGroup, getName, getOrderNumber, getOutputVariables, getVariable, getVariableField, getVarMap, initialize, isConditionCheck, isVariableAvailable, performLinks, performLinks, readInputs, removeVariable, reset, runComponentTest, setVariablesDefault, toComponentLinkingXML, toDocXML, toGroupXML, toOutputDefinitionXML, toResourcesDataXML, toResourcesDefinitionXML, toString, toXML, writeVarInfos
-
Constructor Details
-
NPKDemandSlimNP
public NPKDemandSlimNP(String aName, HashMap<String, net.simplace.sim.util.FWSimVariable<?>> aFieldMap, HashMap<String, String> aInputMap, org.jdom2.Element aSimComponentElement, net.simplace.sim.util.FWSimVarMap aVarMap, int aOrderNumber) - Parameters:
aName
-aFieldMap
-aInputMap
-aSimComponentElement
-aVarMap
-aOrderNumber
-
-
NPKDemandSlimNP
public NPKDemandSlimNP()Empty constructor used by class.forName()
-
-
Method Details
-
createVariables
Create the FWSimVariables as interface for this SimComponent- Specified by:
createVariables
in interfacenet.simplace.sim.util.FWSimFieldContainer
- Specified by:
createVariables
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.createVariables()
-
init
protected void init()initializes the fields by getting input and output FWSimVariables from VarMap- Specified by:
init
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.init()
-
initKSupply
protected void initKSupply() -
initNPKDemand
protected void initNPKDemand() -
initSlimNitrogen
public final void initSlimNitrogen() -
reInitialize
protected void reInitialize() -
resetOnHarvest
protected void resetOnHarvest() -
initSlimPhosphorus
protected void initSlimPhosphorus() -
process
protected void process()process the algorithm and write the results back to VarMap- Specified by:
process
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.process()
-
calculateSoilPhosphorus
public void calculateSoilPhosphorus() -
calculateSoilPotassiumSimplified
public void calculateSoilPotassiumSimplified() -
fillTestVariables
public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> fillTestVariables(int aParamIndex, net.simplace.sim.model.FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.- Specified by:
fillTestVariables
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
net.simplace.sim.util.FWSimFieldContainer#fillTestVariables(int aParamIndex, TEST_STATE aDefineOrCheck)
-
clone
protected net.simplace.sim.model.FWSimComponent clone(net.simplace.sim.util.FWSimVarMap aVarMap) creates a clone from this SimComponent for use in other threads- Specified by:
clone
in classnet.simplace.sim.model.FWSimComponent
- See Also:
-
FWSimComponent.clone(net.simplace.sim.util.FWSimVarMap)
-