Skip to content

issue ed-hydro with specific allometry parameters #430

@sdeherto

Description

@sdeherto

Hi
I have been facing an error when running ED2 with plant hydraulics on that occurs in plant_hydro.f90 which I would like some input on from people who know this part of the code (@xiangtaoxu )?

I have recently created a new IALLOM setting that uses the dbh-height relationship from IALLOM 2 and all other allometric relationships from IALLOM 3 (see my code here:https://github.com/sdeherto/ED2 ). I also provide some parameter values related to the height allometryt for my site via the config files for three custom made PFTs for my site. My runs crash during the first timestep when entering the plant_hydraulics with the message

===========================================================================
Invalid leaf_psi or wood_psi detected.

Note that this implementation works for ED2 when plant hydrualics are not turned on.
So it is a rather specific issue as I noticed that it only occurs for certain values of my parameters, e.g. my pft 4 has values for which it crashes (b1Ht: 0.0575, b2Ht=0.644, hgt_ref=55), if I set these parameter values equal to the other PFTs (i.e. b1Ht: 0.0178, b2Ht=1.27, hgt_ref=36.8) it runs without issue.

Any thoughts on this would be much appreciated! I have been looking through this with Marcos Longo a few times and there doesn't appear to be immediate issues in the iallom implementation I did. I should also note that when printing these values out at the start of the plant_hydro code it already shows positive wood_psi values while when I print the same variables out at the start of the initialisation code all values still look fine. Does anyone have an idea where wood_psi could get changed do that it becomes positive?

Cheers
Steven

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions