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
sunflo
Commits
dbb47fac
Commit
dbb47fac
authored
Mar 25, 2019
by
RemiM
Browse files
Modify computation of TT and some descriptions of parameters
parent
719bb840
Changes
3
Hide whitespace changes
Inline
Side-by-side
sunflo/exp/sunflo_simple.vpz
View file @
dbb47fac
...
...
@@ -1056,7 +1056,7 @@
<double>
1.1172031
</double>
</port>
<port
name=
"Tmu"
>
<double>
0
</double>
<double>
-3.7215525
</double>
</port>
</condition>
<condition
name=
"CONFIG_SimuInit"
>
...
...
sunflo/src/ParametresPlante.hpp
View file @
dbb47fac
...
...
@@ -124,11 +124,11 @@ struct ParametresPlante {
//codeMMpourMemo parameter: Talpha 0.9359046
double
Talpha
;
/// # Parameter
alph
a thermal time [Parent2014]
/// # Parameter
bet
a thermal time [Parent2014]
//codeMMpourMemo parameter: Tbeta 1.1172031
double
Tbeta
;
/// # Parameter
alpha
thermal time [Parent2014]
/// # Parameter
mu
thermal time [Parent2014]
//codeMMpourMemo parameter: Tmu -3.7215525
double
Tmu
;
...
...
sunflo/src/TemperatureEfficace.cpp
View file @
dbb47fac
...
...
@@ -54,10 +54,11 @@ public :
{
{
double
Teff_tmp
=
0.0
;
if
(
Tmoy
()
<
p
.
Tbase
){
if
(
Tmoy
()
<
p
.
Tbase
||
Tmoy
()
>
p
.
Tcritical
){
Teff_tmp
=
0.0
;
}
else
{
Teff_tmp
=
Tmoy
()
-
p
.
Tbase
;
// Teff_tmp = Tmoy() - p.Tbase;
Teff_tmp
=
pow
((
Tmoy
()
-
p
.
Tbase
),
p
.
Talpha
)
*
pow
((
p
.
Tcritical
-
Tmoy
()),
p
.
Tbeta
)
*
exp
(
p
.
Tmu
)
;
}
Teff
=
Teff_tmp
;
}
...
...
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