Skip to content
Snippets Groups Projects
Commit ec6dbcb4 authored by Marco Matthies's avatar Marco Matthies
Browse files

More realistic conversion parameters

parent 60dc9894
No related branches found
No related tags found
No related merge requests found
...@@ -188,8 +188,8 @@ cropname(cs::CropState) = cropname(croptype(cs)) ...@@ -188,8 +188,8 @@ cropname(cs::CropState) = cropname(croptype(cs))
function cropheight(cs::CropState) function cropheight(cs::CropState)
biomass = get_aquacrop_biomass(cs) biomass = get_aquacrop_biomass(cs)
# TODO: linear model, fixed params # TODO: linear model, fixed params
a = 20cm a = 5cm
b = 18u"cm * ha" / ton b = 6u"cm * ha" / ton
return a + b * biomass return a + b * biomass
end end
cropcover(cs::CropState) = AquaCrop.canopycover(cs.cropstate) cropcover(cs::CropState) = AquaCrop.canopycover(cs.cropstate)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment