{"action":"created","issue":{"url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/issues/110","repository_url":"https://api.github.com/repos/DrylandEcology/STEPWAT2","labels_url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/issues/110/comments","events_url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/issues/110/events","html_url":"https://github.com/DrylandEcology/STEPWAT2/issues/110","id":325784720,"number":110,"title":"Add additional steps to implement growth due to extra resources","user":{"login":"kpalmqui","id":7769797,"avatar_url":"https://avatars2.githubusercontent.com/u/7769797?v=4","gravatar_id":"","url":"https://api.github.com/users/kpalmqui","html_url":"https://github.com/kpalmqui","followers_url":"https://api.github.com/users/kpalmqui/followers","following_url":"https://api.github.com/users/kpalmqui/following{/other_user}","gists_url":"https://api.github.com/users/kpalmqui/gists{/gist_id}","starred_url":"https://api.github.com/users/kpalmqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpalmqui/subscriptions","organizations_url":"https://api.github.com/users/kpalmqui/orgs","repos_url":"https://api.github.com/users/kpalmqui/repos","events_url":"https://api.github.com/users/kpalmqui/events{/privacy}","received_events_url":"https://api.github.com/users/kpalmqui/received_events","type":"User","site_admin":false},"labels":[{"id":82656364,"url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"kpalmqui","id":7769797,"avatar_url":"https://avatars2.githubusercontent.com/u/7769797?v=4","gravatar_id":"","url":"https://api.github.com/users/kpalmqui","html_url":"https://github.com/kpalmqui","followers_url":"https://api.github.com/users/kpalmqui/followers","following_url":"https://api.github.com/users/kpalmqui/following{/other_user}","gists_url":"https://api.github.com/users/kpalmqui/gists{/gist_id}","starred_url":"https://api.github.com/users/kpalmqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpalmqui/subscriptions","organizations_url":"https://api.github.com/users/kpalmqui/orgs","repos_url":"https://api.github.com/users/kpalmqui/repos","events_url":"https://api.github.com/users/kpalmqui/events{/privacy}","received_events_url":"https://api.github.com/users/kpalmqui/received_events","type":"User","site_admin":false},"assignees":[{"login":"kpalmqui","id":7769797,"avatar_url":"https://avatars2.githubusercontent.com/u/7769797?v=4","gravatar_id":"","url":"https://api.github.com/users/kpalmqui","html_url":"https://github.com/kpalmqui","followers_url":"https://api.github.com/users/kpalmqui/followers","following_url":"https://api.github.com/users/kpalmqui/following{/other_user}","gists_url":"https://api.github.com/users/kpalmqui/gists{/gist_id}","starred_url":"https://api.github.com/users/kpalmqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpalmqui/subscriptions","organizations_url":"https://api.github.com/users/kpalmqui/orgs","repos_url":"https://api.github.com/users/kpalmqui/repos","events_url":"https://api.github.com/users/kpalmqui/events{/privacy}","received_events_url":"https://api.github.com/users/kpalmqui/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/milestones/2","html_url":"https://github.com/DrylandEcology/STEPWAT2/milestone/2","labels_url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/milestones/2/labels","id":2661580,"number":2,"title":"resource_partitioning_overhaul","description":"Changing how resources are determined each year and then partitioned to functional groups and then individuals. \r\n\r\nWe need to overhaul how resource availability is calculated each year. Currently, it is based on monthly transpiration in each soil layer. This is problematic because of a positive feedback loop between biomass and transpiration that occurs. Biomass influences transpiration and in turn transpiration (resources) influences biomass through plant growth and mortality. Thus, if biomass is low, transpiration will be low, resources will be low, and biomass will not increase. This positive feedback loop means it can take a good deal of time for functional groups to respond to higher resource availability. This is very apparent when sagebrush biomass goes to 0 - because resource availability is based on biomass of established plant functional groups - there is not an increase in resources after sagebrush dies (while conceptually there should be). Therefore, we do not see a response from the annual and perennial grasses to increased resource availability when sagebrush dies.","creator":{"login":"kpalmqui","id":7769797,"avatar_url":"https://avatars2.githubusercontent.com/u/7769797?v=4","gravatar_id":"","url":"https://api.github.com/users/kpalmqui","html_url":"https://github.com/kpalmqui","followers_url":"https://api.github.com/users/kpalmqui/followers","following_url":"https://api.github.com/users/kpalmqui/following{/other_user}","gists_url":"https://api.github.com/users/kpalmqui/gists{/gist_id}","starred_url":"https://api.github.com/users/kpalmqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpalmqui/subscriptions","organizations_url":"https://api.github.com/users/kpalmqui/orgs","repos_url":"https://api.github.com/users/kpalmqui/repos","events_url":"https://api.github.com/users/kpalmqui/events{/privacy}","received_events_url":"https://api.github.com/users/kpalmqui/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":13,"state":"open","created_at":"2017-07-25T19:50:15Z","updated_at":"2018-05-24T16:54:06Z","due_on":"2018-04-15T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-05-23T16:32:49Z","updated_at":"2018-05-24T16:57:17Z","closed_at":null,"author_association":"MEMBER","body":"After extra resources are assigned to functional groups that can use them, two additional steps are needed.\r\n\r\n1) Divide those extra resources among individuals who can use extra resources if they have not received the resources they need through normal resource partitioning (i.e. ndv-> PR >1 or res_required > res_avail). Check to see if res_required > res_avail - if so, assign extra resources to that individual to bring res_required = res_avail. Loop through all individuals and then remove any extra resource that is assigned on the way for each functional group.\r\n\r\n2) Take remaining \"extra resources\" after Step 1 and then allow those extra resources to result in increase in biomass for the functional groups that can use other groups resource. This is implemented in the _extra_growth function. Because this function is implemented at the individual level - we firstcalculate extra resources for each individual based on the group's extra resources and the individual's size contribution to the functional group size (ndv->grp_res_prop). Thereafter, we calculate an increase in size at the individual level based on extra resources (without updating the ndv->relsize), then the summed increases in size for all individuals of each species, which is then utilized to update both the Species[sp]->relsize and RGroup[rg]->relsize in Species_Update_Newsize. Ultimately, this increase in size (e.g. biomass) will be removed before the next year via _kill_extra_growth."},"comment":{"url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/issues/comments/391786598","html_url":"https://github.com/DrylandEcology/STEPWAT2/issues/110#issuecomment-391786598","issue_url":"https://api.github.com/repos/DrylandEcology/STEPWAT2/issues/110","id":391786598,"user":{"login":"kpalmqui","id":7769797,"avatar_url":"https://avatars2.githubusercontent.com/u/7769797?v=4","gravatar_id":"","url":"https://api.github.com/users/kpalmqui","html_url":"https://github.com/kpalmqui","followers_url":"https://api.github.com/users/kpalmqui/followers","following_url":"https://api.github.com/users/kpalmqui/following{/other_user}","gists_url":"https://api.github.com/users/kpalmqui/gists{/gist_id}","starred_url":"https://api.github.com/users/kpalmqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpalmqui/subscriptions","organizations_url":"https://api.github.com/users/kpalmqui/orgs","repos_url":"https://api.github.com/users/kpalmqui/repos","events_url":"https://api.github.com/users/kpalmqui/events{/privacy}","received_events_url":"https://api.github.com/users/kpalmqui/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T16:57:17Z","updated_at":"2018-05-24T16:57:17Z","author_association":"MEMBER","body":"Also addressing issue #113 "}}
{"actor":{"display_login":"kpalmqui"}}