Commit fd87ac6d authored by Poulet Camille's avatar Poulet Camille
Browse files

Correction weight size relationship

Modification WSR from Bruch to WSR form Taverny
parent dd081b0a
...@@ -40,11 +40,11 @@ ...@@ -40,11 +40,11 @@
</entry> </entry>
<entry> <entry>
<string>bLW</string> <string>bLW</string>
<double>2.1774</double> <double>3.2252</double>
</entry> </entry>
<entry> <entry>
<string>aLW</string> <string>aLW</string>
<double>0.27144384321211973</double> <double>0.004095817237891344</double>
</entry> </entry>
</hashtable> </hashtable>
</entry> </entry>
...@@ -61,11 +61,11 @@ ...@@ -61,11 +61,11 @@
</entry> </entry>
<entry> <entry>
<string>bLW</string> <string>bLW</string>
<double>3.147</double> <double>3.3429</double>
</entry> </entry>
<entry> <entry>
<string>aLW</string> <string>aLW</string>
<double>0.007388725660209693</double> <double>0.002665367811305362</double>
</entry> </entry>
</hashtable> </hashtable>
</entry> </entry>
...@@ -83,13 +83,13 @@ ...@@ -83,13 +83,13 @@
<double>-11.285</double> <double>-11.285</double>
</entry> </entry>
<entry> <entry>
<string>bLW</string> - <string>bLW</string>
<double>2.9973</double> - <double>2.9973</double>
</entry> - </entry>
<entry> - <entry>
<string>aLW</string> - <string>aLW</string>
<double>0.010383887012522573</double> - <double>0.010383887012522573</double>
</entry> - </entry>
</hashtable> </hashtable>
</entry> </entry>
<entry> <entry>
...@@ -104,13 +104,13 @@ ...@@ -104,13 +104,13 @@
<double>-6.6234</double> <double>-6.6234</double>
</entry> </entry>
<entry> <entry>
<string>bLW</string> - <string>bLW</string>
<double>2.9418</double> - <double>2.9418</double>
</entry> - </entry>
<entry> - <entry>
<string>aLW</string> - <string>aLW</string>
<double>0.013199187556948952</double> - <double>0.013199187556948952</double>
</entry> - </entry>
</hashtable> </hashtable>
</entry> </entry>
</fishFeaturesPostSpawning> </fishFeaturesPostSpawning>
......
...@@ -185,7 +185,8 @@ public class NutrientRoutine { ...@@ -185,7 +185,8 @@ public class NutrientRoutine {
/** /**
* compute the nutrient fluxes for a single fish (in the super individual) * compute the nutrient fluxes for a single fish (in the super individual)
* that dies after spawning (gametes expelling) * that dies after spawning (gametes expelling)
* Considering that a fish died after reproduction have the same nutrient contribution that a fish died before reproduction, we use the same coefficient for weight computation.
* @param fish * @param fish
* @return nutrientsInput * @return nutrientsInput
*/ */
...@@ -371,25 +372,21 @@ public class NutrientRoutine { ...@@ -371,25 +372,21 @@ public class NutrientRoutine {
*/ */
Map<String,Double> aFeature = new Hashtable<String,Double>(); Map<String,Double> aFeature = new Hashtable<String,Double>();
aFeature.put("aLW", Math.exp(-4.9078)); //weight size relationship computed from BDalosesBruch aFeature.put("bLW", 3.3429); //From Taverny
aFeature.put("bLW", 3.147); aFeature.put("aLW", 1.2102E-6 * Math.pow(10., aFeature.get("bLW"))); //weight size relationship -- Conversion des g/mm en g.cm (from Taverny, 1991)
aFeature.put("aLW_Gonad", -5.2425); // issu de la relation taille - poids des gonades Bruch
aFeature.put("bLW_Gonad", 2.6729); // issu de la relation taille - poids des gonades Bruch aFeature.put("bLW_Gonad", 2.6729); // issu de la relation taille - poids des gonades Bruch
//aFeature.put("bLW",3.3429);// parametre "b" de la relation taille/poids - Coefficient d'allometrie aFeature.put("aLW_Gonad", -5.2425); // issu de la relation taille - poids des gonades Bruch
//aFeature.put("aLW",1.2102E-6 * Math.pow(10., aFeature.get("bLW"))); // parametre "a" de la relation taille/poids en kg/cm- Traduit la condition
//aFeature.put("GSI",0.15);
aFeaturePreSpawning.put(Gender.FEMALE, aFeature); aFeaturePreSpawning.put(Gender.FEMALE, aFeature);
/* /*
* For males * For males
*/ */
aFeature = new Hashtable<String,Double>(); aFeature = new Hashtable<String,Double>();
aFeature.put("aLW", Math.exp(-1.304)); aFeature.put("bLW", 3.2252);
aFeature.put("bLW", 2.1774); aFeature.put("aLW", 2.4386E-6 * Math.pow(10., aFeature.get("bLW"))); //weight size relationship from Taverny -- Conversion des g/mm en g.cm (from Taverny, 1991)
aFeature.put("aLW_Gonad", -8.8744);
aFeature.put("bLW_Gonad", 3.3838); aFeature.put("bLW_Gonad", 3.3838);
//aFeature.put("aLW",2.4386E-6 * Math.pow(10, aFeature.get("bLW"))); // Conversion des g/mm en g.cm (from Taverny, 1991) aFeature.put("aLW_Gonad", -8.8744);
//aFeature.put("GSI",.08);
aFeaturePreSpawning.put(Gender.MALE,aFeature); aFeaturePreSpawning.put(Gender.MALE,aFeature);
System.out.println("aFeaturePreSpawning: " + aFeaturePreSpawning.toString()); // System.out.println("aFeaturePreSpawning: " + aFeaturePreSpawning.toString()); //
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment