You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The space parameters provided in input sum to 1.0. However, if one or more plant functional types is not estalished in a given year, this is no longer the case.
The space parameter is now utilized in resource partitioning and if the space values do not sum to 1.0, there will be remaining unassigned transpiration. Thus, each year, we need to re-calculate space for each established type such that the space parameters of the established functional types sum to 1.0.
The text was updated successfully, but these errors were encountered:
To rescale space I had to modify three files:
in ST_structs.h: added a new variable, baseline_min_res_req, to the rgroup struct. This variable records the space parameter from inputs, since we are going to change min_res_req every year.
in ST_params.c: assigned input "space" to baseline_min_res_req.
in ST_resgroups.c: rescaled space. Once an rgroup is done establishing we betermine is any species established. If they have not we add the group's min_res_req to the total unused space variable. Once all groups are done establishing we loop through the rgroups again and redistribute any unused space.
@chaukap This is working as expected on my end. In most years, one or more plant functional types is not established and this functionality is triggered.
The space parameters provided in input sum to 1.0. However, if one or more plant functional types is not estalished in a given year, this is no longer the case.
The space parameter is now utilized in resource partitioning and if the space values do not sum to 1.0, there will be remaining unassigned transpiration. Thus, each year, we need to re-calculate space for each established type such that the space parameters of the established functional types sum to 1.0.
The text was updated successfully, but these errors were encountered: