Subversion Repositories public iLand

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1222 2789d 07h werner / public SVN  
1221 2789d 07h werner /branches/ public SVN  
1220 2789d 08h werner /branches/version1.0/ Version 1.0  
1218 2789d 10h werner / clean up repository - make 1.0 trunk again!  
1217 2789d 10h werner / clean up repository - make 1.0 trunk again!  
1202 2840d 08h werner /branches/iland_regen/src/ searching/fixing issues with carbon cycle: NEP as provided by carbonflow output (NPP-Rh-Mgmt) is different from NEP as derived by the delta of the carbon stocks.
As usual, very hard to track down these issues, but:
* bark beetle module: foliage loss from BB-trees now correctly routed to soil
* order of modules in model: switched disturbances and carbon cylcle (in order to correctly track all carbon changes due to disturbances)
* fixed a problem with the calculation of NPP: after disturbances stand level NPP was set to 0 (since statistics were recalculated after disturbaces, but NPP values are not available then). Introduced: StandStatistics::clearOnlyTrees()
* flow from branches to the atmosphere (decay of branches) now tracked correctly (changes the NEP calulation).
 
1160 3006d 07h werner /branches/iland_regen/src/core/ bug-fixes of the new establishment module (carbon)

first part of the YNP water limitation in establishment.
 
1157 3007d 16h werner /branches/iland_regen/ merge of changes in the trunk (up to the version used for the 2016 DICE simulation batch).  
1104 3077d 14h werner /branches/iland_regen/ Branch dedicated to playing around with establishment/regeneration.
Goals are:
(i) speed up
(ii) introduction of new features for Yellowstone
 
1088 3146d 08h werner /branches/port_qt5_64bit/src/ salavage management bark beetle damages
some fixes w.r.t. the correct extent of grids.
added "year" as stand varaible (abe).
 
925 3664d 08h werner /branches/port_qt5_64bit/src/core/ calculate 're' also when snags are empty (to avoid errors when snags are not properly initialized)  
779 4061d 09h werner /branches/port_qt5_64bit/  
771 4191d 14h werner /trunk/src/core/ mini-change: calculate climate fators really only when snag is non-empty (see previous commit)  
770 4191d 14h werner /trunk/src/ fixed a bug with deadwood decay: (see analysis/extseeds/analyse_total_carbon20130113.docx). For a RU without vegetation (trees/saplings) the water cycle was not calculated -> therefore no values for evapotranspiration were available -> the climate factors for the deadwood decay were only driven by temperature (not by humidity) -> only a very slow decay until a RU got populated. Ouch.
now the water cycle is calculated for every resource unit with non-empty snags (either flux or state non-zero)
 
713 4554d 14h werner /trunk/src/ implemented a way to split the biomass of a dead tree into several pathways (i.e. to soil, to snags, to atmosphere/removal).  
697 4601d 06h werner /trunk/ Doxygen documentation revisited.
After re-establishing doxygen documentation (last update: 2009) a lot of smaller/medium documentation fixes.
Documentation is something that could definitely be always improved ;)
 
671 4644d 10h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4805d 07h werner / move current content to the "trunk"  
609 4870d 14h werner /src/ implementing CarbonFlow output and book keeping code.  
607 4871d 07h werner /src/core/ smaller fixes:
* error when exporting ESRI files
* a new JS function "slashSnags()" for managing standing dead trees
* handling of newly burnt tree when removing carbon due to a fire event
 
605 4874d 13h werner /src/ added the "rid" (i.e. a unique id per resource unit) in various debug outputs.
added the "shell" of a new carbonflow output.
 
595 4888d 16h werner /src/core/ changed behavior of coarse roots: if biomass exceeds value from allometric relation, the excell biomass is pushed to the soil (avoid piling up of coarse root carbon in the soil)
inlined some biomass functions in species.h.
 
588 4902d 14h werner /src/core/ added carbon-bookkeeping in the regeneration layer.  
587 4903d 04h werner /src/ added carbon output.
lots of changes necessary to get this done (especially budgeting of biomass pools)
 
574 4905d 15h werner /src/ * modified outputs to write only rows for valid resource units
* dropped setting "woodDecompRate" (snag.cpp)
* calculate the "stockableArea" of a resource unit based on the stand grid
* use the stockableArea for calculation of LAI
 
564 4916d 07h werner /src/ Improvements of the Management API and functionality.
new functionality:
* killSaplings() -> use a "MapGrid" and remove small trees specifically
* properties defining biomass remove fractions during management

Now the tree list of the management object is cleaned up after a management, i.e. successive managements without reloading the tree list are possible.
 
562 4919d 10h werner /src/ calculate ET0 (reference evapotranspiration) that is used for snag decay 're'. Another version of penman monteith is used for calculation.
See the excel - based "re_decomp.xlsx" for details
 
557 4923d 07h werner /src/ added initialization of snags and some new resource unit variables.
Example: model.initialization node:
<snags>
<swdC>12000</swdC>
<swdCN>120</swdCN>
<swdCount>50</swdCount>
<otherC>4000</otherC>
<otherCN>30</otherCN>
<swdDecompRate>0.05</swdDecompRate>
<woodDecompRate>0.05</woodDecompRate>
<swdHalfLife>30</swdHalfLife>
</snags>
 
553 4924d 11h werner /src/core/ another variant to calculate 're', following Adair et al 2008. Based on monthly sums of precipitation and PET. PET is calculated during the water cycle, monthly precipitation is summed in the climate object itself.  
552 4924d 13h werner /src/ fixed bug when calculating 're' with the day / dayOfMonth confusion. Changed name of the data field to avoid future problems.  
547 4926d 12h werner /src/core/ restructured the topLayerWaterContent setting; it is now RU-specific (and not a global parameter)  
546 4926d 14h werner /src/core/ modified calculation of 're' (decay rate for snags), and added new model setting ('topLayerWaterContent') for that purpose. New variable 'waterDeficit' per day in WaterCycle.  
541 4951d 11h werner /src/ included new setting "model.settings.decayReferencePsi"  
540 4951d 11h werner /src/ removed the storage of rel. water content in water cycle module; changed the way the climate modifier (re) for snag/soil decay is calculated.
Added the coarse wood of died trees to the 5-year decay pattern of branches (and renamed therefore to otherWood).
 
534 4960d 11h werner /src/ large(r) update of the soil model. Now, the 'kyl' and 'kyr' parameters (i.e. decomposition rates for the litter/wood-soil pool) are now species parameters and calculated dynamically from the litter inputs.  
532 4964d 02h werner /src/ force calculation of 're' in Snag even if no snags are present (Soil needs that value later)  
528 4964d 03h werner /src/ more enabling of C/N cycling in iLand. little GUI-feature: click on a RU in resource-unit visualization now properly shows RU-related debug outputs.  
526 4964d 07h werner /src/ embedding the soil model into iLand. renamed the snag decay debug output.  
525 4964d 08h werner /src/ implemented ICBM/2N soil model (class Soil) and some testing code. So far, the results look promising.  
524 4964d 14h werner /src/ some polishing of the snag dynamics and extending the debug output for that.