Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
record
azodyn
Commits
b6bc11e1
Commit
b6bc11e1
authored
Apr 18, 2019
by
Ronan Trepos
Browse files
WaterSoil: add a threshold parameter
Add a maximal water stress stressH_seuil Integration of work of M. Chanis on Pea.
parent
32e49ddf
Changes
5
Hide whitespace changes
Inline
Side-by-side
AZODYN/exp/AzodynBarley.vpz
View file @
b6bc11e1
...
...
@@ -1126,7 +1126,10 @@
<port
name=
"tNorg"
>
<double>
0.160000000000000
</double>
</port>
</condition>
<port
name=
"stressH_seuil"
>
<double>
0.4
</double>
</port>
</condition>
<condition
name=
"condClimate"
>
<port
name=
"PkgName"
>
<string>
AZODYN
</string>
...
...
AZODYN/exp/AzodynPea.vpz
View file @
b6bc11e1
...
...
@@ -1120,7 +1120,10 @@
<port
name=
"tNorg"
>
<double>
1.500000000000000
</double>
</port>
</condition>
<port
name=
"stressH_seuil"
>
<double>
0.4
</double>
</port>
</condition>
<condition
name=
"condClimate"
>
<port
name=
"PkgName"
>
<string>
AZODYN
</string>
...
...
AZODYN/exp/AzodynWheat.vpz
View file @
b6bc11e1
...
...
@@ -1100,7 +1100,10 @@
<port
name=
"tNorg"
>
<double>
0.160000000000000
</double>
</port>
</condition>
<port
name=
"stressH_seuil"
>
<double>
0.4
</double>
</port>
</condition>
<condition
name=
"condClimate"
>
<port
name=
"PkgName"
>
<string>
AZODYN
</string>
...
...
AZODYN/src/ParametersSoil.hpp
View file @
b6bc11e1
...
...
@@ -169,6 +169,9 @@ struct ParametersSoil
//parametre pour calcul de la transpiration et stress hydrique
double
stressH4
;
//parametre seuil pour le stress hydrique
double
stressH_seuil
;
//Seuil de mottes delta au dessus duquel la FTSW est affectee (%)
double
Mottes_seuil
;
...
...
@@ -269,6 +272,7 @@ struct ParametersSoil
stressH2
=
Utils
::
extractDouble
(
events
,
"stressH2"
);
stressH3
=
Utils
::
extractDouble
(
events
,
"stressH3"
);
stressH4
=
Utils
::
extractDouble
(
events
,
"stressH4"
);
stressH_seuil
=
Utils
::
extractDouble
(
events
,
"stressH_seuil"
);
Mottes_seuil
=
Utils
::
extractDouble
(
events
,
"Mottes_seuil"
);
coef_Mottes
=
Utils
::
extractDouble
(
events
,
"coef_Mottes"
);
JSA_seuil
=
Utils
::
extractDouble
(
events
,
"JSA_seuil"
);
...
...
AZODYN/src/WaterSoil.cpp
View file @
b6bc11e1
...
...
@@ -309,7 +309,9 @@ public:
if
(
pp
.
begin_date
+
j
<
pp
.
date_init_H
){
stressH
=
1.0
;
}
else
{
stressH
=
std
::
max
(
0.4
,
ps
.
stressH1
/
(
1
+
ps
.
stressH2
*
std
::
exp
(
-
ps
.
stressH3
*
(
FTSW
()
-
ps
.
stressH4
))))
;
stressH
=
std
::
max
(
ps
.
stressH_seuil
,
ps
.
stressH1
/
(
1
+
ps
.
stressH2
*
std
::
exp
(
-
ps
.
stressH3
*
(
FTSW
()
-
ps
.
stressH4
))));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment