<?xml 
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel xml:lang="en">
	<title>SIC^2: Simulation and Integration of Control for Canals</title>
	<link>http://sic.g-eau.fr/</link>
	
	<language>en</language>
	<generator>SPIP - www.spip.net (Sarka-SPIP)</generator>

	<image>
		<title>SIC^2: Simulation and Integration of Control for Canals</title>
		<url>https://sic.g-eau.fr/local/cache-vignettes/L32xH32/siteon0-e5814.png?1519033774</url>
		<link>http://sic.g-eau.fr/</link>
		<height>32</height>
		<width>32</width>
	</image>



 
	<item xml:lang="en">
		<title>Exchange laws</title>
		<link>https://sic.g-eau.fr/exchange-laws,1034</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/exchange-laws,1034</guid>
		<dc:date>2012-06-21T14:35:03Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;An exchange law modifies one or more quality classes, based on parameters specific to the law, hydraulic variables, and possibly concentrations of some quality classes. &lt;br class='autobr' /&gt;
Thus, the exchange terms relative to law $i$ are calculated as follows: &lt;br class='autobr' /&gt; $$\left(E_k_1^i, \dots, E_k_n^i\right)=L^i\left(C_k_1, \dots, C_k_n, p_1, \dots, V, h, \dots\right)$$ &lt;br class='autobr' /&gt;
The exchange term of a class $k$ is the sum of its exchange term in every law where this class is present :
&lt;br class='autobr' /&gt;
$$ (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-Bibliotheque-des-lois-d-evolution-" rel="directory"&gt; Exchange law library&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;An exchange law modifies one or more quality classes, based on parameters specific to the law, hydraulic variables, and possibly concentrations of some quality classes.&lt;/p&gt;
&lt;p&gt;Thus, the exchange terms relative to law $i$ are calculated as follows:&lt;/p&gt;
&lt;p&gt;
&lt;p class=&#034;spip&#034; style=&#034;text-align: center;&#034;&gt;$$\left(E_{k_1}^i, \dots, E_{k_n}^i\right)=L^i\left(C_{k_1}, \dots, C_{k_n}, p_1, \dots, V, h, \dots\right)$$&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;The exchange term of a class $k$ is the sum of its exchange term in every law where this class is present :&lt;br class='autobr' /&gt; &lt;p class=&#034;spip&#034; style=&#034;text-align: center;&#034;&gt;$$ E_k=E_{k}^{i_1}+E_{k}^{i_2}+\cdots+E_{k}^{i_n}$$&lt;/p&gt;
&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Engelund-Hansen (1967)</title>
		<link>https://sic.g-eau.fr/engelund-hansen-1967,1033</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/engelund-hansen-1967,1033</guid>
		<dc:date>2012-06-21T14:30:37Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Engelund-Hansen formula
&lt;br class='autobr' /&gt;
Transport capacity is calculated as follows :
&lt;br class='autobr' /&gt;
$$C_eq=0.05\rho_S\fracLU^2Q\frac(JR)^\frac32\sqrtg (\rho_S/\rho-1)^2d$$ &lt;br class='autobr' /&gt;
where : $ \rho_S$ is the sediment's density (kg/m3) $ L $ is the stream's width (m) $ U $ is the mean velocity (m/s) $ Q $ is the water discharge (m3/s) $ J $ is the slope (m/m) $ R $ is the hydraulic radius (m) $ g $ is the gravity (m/s2) $ \rho $ is the density of water (kg/m3) $ d $ is the sediment diameter Specifications Law's ID : 561 Number (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-lois-d-echange-pour-les-algues-en-" rel="directory"&gt;Exchange laws for sediment&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Engelund-Hansen formula&lt;/h3&gt; &lt;p&gt;Transport capacity is calculated as follows :&lt;br class='autobr' /&gt; &lt;p class=&#034;spip&#034; style=&#034;text-align: center;&#034;&gt;$$C_{eq}=0.05\rho_S\frac{LU^2}{Q}\frac{(JR)^{\frac{3}{2}}}{\sqrt{g} (\rho_S/\rho-1)^2d}$$&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;where :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $ \rho_S$ is the sediment's density (kg/m&lt;sup&gt;3&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ L $ is the stream's width (m)&lt;/li&gt;&lt;li&gt; $ U $ is the mean velocity (m/s)&lt;/li&gt;&lt;li&gt; $ Q $ is the water discharge (m&lt;sup&gt;3&lt;/sup&gt;/s)&lt;/li&gt;&lt;li&gt; $ J $ is the slope (m/m)&lt;/li&gt;&lt;li&gt; $ R $ is the hydraulic radius (m)&lt;/li&gt;&lt;li&gt; $ g $ is the gravity (m/s&lt;sup&gt;2&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ \rho $ is the density of water (kg/m&lt;sup&gt;3&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ d $ is the sediment diameter&lt;/li&gt;&lt;/ul&gt;
&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Specifications&lt;/h3&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Law's ID : 561&lt;/li&gt;&lt;li&gt; Number of acting classes : 4&lt;/li&gt;&lt;li&gt; Number of parameters : 6&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Acting classes :&lt;/p&gt;
&lt;ol class=&#034;spip&#034;&gt;&lt;li&gt; $ C_i $ : transported class modified by the law&lt;/li&gt;&lt;li&gt; $ C_j $ : fix class modified by the law&lt;/li&gt;&lt;li&gt; $ C_k $ : transported parameter class ($i=k$ for standard use)&lt;/li&gt;&lt;li&gt; $ T $ : water temperature&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Parameters :&lt;/p&gt;
&lt;ol class=&#034;spip&#034;&gt;&lt;li&gt; $ d $ : sediment diameter&lt;/li&gt;&lt;li&gt; $ \rho_S$ : sediment density&lt;/li&gt;&lt;li&gt; $ p $ : sediment porosity&lt;/li&gt;&lt;li&gt; $ \alpha$&lt;/li&gt;&lt;li&gt; $ i_{ech}$ : exchange formula : 1 = Han, 2 = Hazen&lt;/li&gt;&lt;li&gt; $\beta$&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Sediment transport</title>
		<link>https://sic.g-eau.fr/sediment-transport</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/sediment-transport</guid>
		<dc:date>2012-06-21T14:08:26Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Generalities
&lt;br class='autobr' /&gt;
The calculation of sediment exchanges involves three steps: Calculating an equilibrium concentration $C_eq$ according to a proposed law; Calculating an adaptation time following of Han's formula$t_A=\beta\fracRu*VW$ or Hazen's formula: $t_A=\beta\fracRW$ where $W$ is the fall velocity; Calculation of the exchange term$E=\frac \alpha C_eq-C t_A$ ;
&lt;br class='autobr' /&gt; where $\alpha$ and $\beta$ are dimensionless parameters. &lt;br class='autobr' /&gt;
The fall rate is calculated according to Zanke's formula: (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-lois-d-echange-pour-les-algues-en-" rel="directory"&gt;Exchange laws for sediment&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Generalities&lt;/h3&gt; &lt;p&gt;The calculation of sediment exchanges involves three steps:&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Calculating an equilibrium concentration $C_{eq}$ according to a proposed law;&lt;/li&gt;&lt;li&gt; Calculating an adaptation time following of Han's formula$t_A=\beta\frac{Ru*}{VW}$ or Hazen's formula: $t_A=\beta\frac{R}{W}$ where $W$ is the fall velocity;&lt;/li&gt;&lt;li&gt; Calculation of the exchange term$E=\frac {\alpha C_{eq}-C }{t_A}$ ;&lt;br class='autobr' /&gt;
where $\alpha$ and $\beta$ are dimensionless parameters.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The fall rate is calculated according to Zanke's formula:&lt;br class='autobr' /&gt; &lt;p class=&#034;spip&#034; style=&#034;text-align: center;&#034;&gt;$$W=1.1*10\frac{\nu}{d}\left(\sqrt{1+\frac{0.01 g (\rho_S/\rho-1)d^3}{\nu^2}}-1\right)$$&lt;/p&gt;
&lt;br class='autobr' /&gt;
This law is equal to Stokes' law for small diameters, and Newton's law for larger particles.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Algual detachment in response to flushing with reference shear stress equal to the first time step</title>
		<link>https://sic.g-eau.fr/algual-detachment-in-response-to</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/algual-detachment-in-response-to</guid>
		<dc:date>2012-06-21T13:49:15Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Definition &lt;br class='autobr' /&gt; The rate of accidental detachment of fix algae $ b_i $ towards drift algae $ a_i $ is calculated in each section as follows : &lt;br class='autobr' /&gt;
$$ \frac\partial B_i\partial t(x,t) = -S\frac\partial A_i\partial t(x,t) = -\frac1\delta\left ( \frac\tau_0(x,t) - \tau_0(x,0)\tau_0(x,0) - s_B \right )^\eta B_j(x,t) $$ if $ \frac\tau_0(x) - \tau_0(x,0)\tau_0(x,0) &gt; s_B $ &lt;br class='autobr' /&gt;
$ \frac\partial A_i\partial t(x,t) = \frac\partial B_i\partial t(x,t) = 0 $ atherwise. &lt;br class='autobr' /&gt;
Where : &lt;br class='autobr' /&gt; $ A_i(x,t) $ : drift algae (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-lois-d-echange-pour-les-algues-" rel="directory"&gt;Exchange laws for algae&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Definition&lt;/h3&gt; &lt;p&gt;The rate of accidental detachment of fix algae $ b_i $ towards drift algae $ a_i $ is calculated in each section as follows :&lt;/p&gt;
&lt;p&gt;
&lt;p class=&#034;spip&#034; style=&#034;text-align: center;&#034;&gt;$$ \frac{\partial B_i}{\partial t}(x,t) = -S\frac{\partial A_i}{\partial t}(x,t) = -\frac{1}{\delta}\left ( \frac{\tau_{0}(x,t) - \tau_{0}(x,0)}{\tau_{0}(x,0)} - s_B \right )^\eta B_j(x,t) $$&lt;/p&gt;
&lt;br class='autobr' /&gt; if $ \frac{\tau_{0}(x) - \tau_{0}(x,0)}{\tau_{0}(x,0)} &gt; s_B $&lt;/p&gt;
&lt;p&gt;$ \frac{\partial A_i}{\partial t}(x,t) = \frac{\partial B_i}{\partial t}(x,t) = 0 $ atherwise.&lt;/p&gt;
&lt;p&gt;Where :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $ A_i(x,t) $ : drift algae (kg/m&lt;sup&gt;3&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ B_i(x,t) $ : fix algae (kg/m)&lt;/li&gt;&lt;li&gt; $ B_j(x,t) $ : fix algae ($i=j$ for standard applications).&lt;/li&gt;&lt;li&gt; $ S(x) $ : e cross sectional area (m&lt;sup&gt;2&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ \tau(x,t) $ : shear stress (N m&lt;sup&gt;-2&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ \tau_{0}(x,0) $ : shear stress at $t=0$&lt;/li&gt;&lt;li&gt; $ s_B $ : sensitivity treshold&lt;/li&gt;&lt;li&gt; $ \delta $ : time constant (s)&lt;/li&gt;&lt;li&gt; $ \eta $ : adimensional exponent&lt;/li&gt;&lt;/ul&gt;
&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Specifications&lt;/h3&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Law's ID : 341&lt;/li&gt;&lt;li&gt; Number of acting classes : 3&lt;/li&gt;&lt;li&gt; Number of parameters : 3&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Acting classes :&lt;/p&gt;
&lt;ol class=&#034;spip&#034;&gt;&lt;li&gt; $ A_i $ : drift class modified by the law&lt;/li&gt;&lt;li&gt; $ B_i $ : fix class modified by the law&lt;/li&gt;&lt;li&gt; $ B_j $ : the parameter class of the law&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Parameters :&lt;/p&gt;
&lt;ol class=&#034;spip&#034;&gt;&lt;li&gt; $ s_B $ : sensitivity treshold&lt;/li&gt;&lt;li&gt; $ \delta $ : time constant&lt;/li&gt;&lt;li&gt; $ \eta $ : adimensional exponent&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Algal growth (PhD Thesis, O. Fovet, 2010, p.101)</title>
		<link>https://sic.g-eau.fr/algal-growth-phd-thesis-o-fovet</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/algal-growth-phd-thesis-o-fovet</guid>
		<dc:date>2012-06-21T12:49:49Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Definition &lt;br class='autobr' /&gt;
The biomass growth is calculated at time t, in each section x as follows : &lt;br class='autobr' /&gt; $\frac\partial B\partial t(x,t) = \mu(x,t) B(x,t) F_lim(B'(x,t))$ &lt;br class='autobr' /&gt;
where : &lt;br class='autobr' /&gt; $F_lim(B'(x,t)) = \left ( 1 - \fracB'(x,t)B_Max \right )$ &lt;br class='autobr' /&gt; $ \mu(x,t) = \mu_0 \theta^T(t)-T_0 \fracI(x,t)I_opt e^1- \fracI(x,t)I_opt \textupmin \left ( \fracN_i(x,t)N_i(x,t) + K_N_I \right )$ &lt;br class='autobr' /&gt; $ I(x,t) = I_s(x,t) e^-k_ext h(x,t) $ &lt;br class='autobr' /&gt; $ I_s(x,t) = (1-C_m(x))(1-a)R_N(t) $ &lt;br class='autobr' /&gt;
Variables and parameters &lt;br class='autobr' /&gt; $ B(x,t) $ : fix biomass (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-lois-d-echange-pour-les-algues-" rel="directory"&gt;Exchange laws for algae&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Definition&lt;/h3&gt; &lt;p&gt;The biomass growth is calculated at time &lt;i&gt;t&lt;/i&gt;, in each section &lt;i&gt;x&lt;/i&gt; as follows :&lt;/p&gt;
&lt;p&gt;$\frac{\partial B}{\partial t}(x,t) = \mu(x,t) B(x,t) F_{lim}(B'(x,t))$&lt;/p&gt;
&lt;p&gt;where :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $F_{lim}(B'(x,t)) = \left ( 1 - \frac{B'(x,t)}{B_{Max}} \right )$&lt;/li&gt;&lt;li&gt; $ \mu(x,t) = \mu_{0} \theta^{T(t)-T_{0}} \frac{I(x,t)}{I_{opt}} e^{1- \frac{I(x,t)}{I_{opt}}} \textup{min} \left ( \frac{N_{i}(x,t)}{N_{i}(x,t) + K_{N_{I}}} \right )$&lt;/li&gt;&lt;li&gt; $ I(x,t) = I_{s}(x,t) e^{-k_{ext} h(x,t)} $&lt;/li&gt;&lt;li&gt; $ I_{s}(x,t) = (1-C_m(x))(1-a)R_N(t) $&lt;/li&gt;&lt;/ul&gt;
&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Variables and parameters&lt;/h3&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $ B(x,t) $ : fix biomass modified by the law (kg m&lt;sup&gt;-1&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ B'(x,t) $ : fix biomass parameter in the law (kg m&lt;sup&gt;-1&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ B_{Max} $ : maximum value of fix biomass (kg m&lt;sup&gt;-1&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ \mu_{0} $ : reference growth rate (s &lt;sup&gt;-1&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ \theta $ : growth coefficient&lt;/li&gt;&lt;li&gt; $ T(x,t) $ : water temperature (&#176;C)&lt;/li&gt;&lt;li&gt; $ T_{0} $ : reference temperature (&#176;C)&lt;/li&gt;&lt;li&gt; $ I(x,t) $ : light intensity at the section's bottom (W m&lt;sup&gt;-2&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ I_{s}(x,t) $ : solar light intensity (W m&lt;sup&gt;-2&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ C_{m}(x)$ : mask coefficient (cf. &lt;a href='https://sic.g-eau.fr/temperature-simulation' class='spip_in'&gt;Temperature simulation&lt;/a&gt;)&lt;/li&gt;&lt;li&gt; $ a $ : albedo (cf. &lt;a href='https://sic.g-eau.fr/temperature-simulation' class='spip_in'&gt;Temperature simulation&lt;/a&gt;)&lt;/li&gt;&lt;li&gt; $ R_{N}(t) $ solar radiation (W m&lt;sup&gt;-2&lt;/sup&gt;) (cf. &lt;a href='https://sic.g-eau.fr/temperature-simulation' class='spip_in'&gt;Temperature simulation&lt;/a&gt;)&lt;/li&gt;&lt;li&gt; $ k_{ext} $ : extinction coefficient (due to turbidity)&lt;/li&gt;&lt;li&gt; $ h(x,t) $ : mean water level (m)&lt;/li&gt;&lt;li&gt; $ I_{opt}(x,t) $ : optimum light intensity (W m&lt;sup&gt;-2&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ N_{i}(x,t) $ : concentration of nutrient &lt;i&gt;i&lt;/i&gt; (kg m&lt;sup&gt;-3&lt;/sup&gt;)&lt;/li&gt;&lt;li&gt; $ K_{N_{i}} $ : half-saturation constant of nutrient &lt;i&gt;i&lt;/i&gt; (kg m&lt;sup&gt;-3&lt;/sup&gt;)&lt;/li&gt;&lt;/ul&gt;
&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;limiting-nutrient-2&#034; name=&#034;limiting-nutrient-2&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a3&#034; name=&#034;a3&#034;&gt;&lt;/a&gt;Limiting nutrient&lt;/h3&gt; &lt;p&gt;This law can take into account up to 3 nutrients for algae growth. If less than three nutrients are used, $ K_{N_{i}} $ for unused nutrients should be set to 0.&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-3&#034; name=&#034;specifications-3&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a4&#034; name=&#034;a4&#034;&gt;&lt;/a&gt;Specifications&lt;/h3&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Law's ID : 301&lt;/li&gt;&lt;li&gt; Number of acting classes: 6&lt;/li&gt;&lt;li&gt; Number of meteo parameters : 3&lt;/li&gt;&lt;li&gt; Number of parameters : 9&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Acting classes :&lt;/p&gt;
&lt;ol class=&#034;spip&#034;&gt;&lt;li&gt; $ B(x,t) $ :the class modified by the law&lt;/li&gt;&lt;li&gt; $ B'(x,t) $ : the parameter class of the law&lt;/li&gt;&lt;li&gt; $ T(x,t) $ :Water temperature&lt;/li&gt;&lt;li&gt; $ N_{1}(x,t) $ : Nutrient 1&lt;/li&gt;&lt;li&gt; $ N_{2}(x,t) $ : Nutrient 2&lt;/li&gt;&lt;li&gt; $ N_{3}(x,t) $ : Nutrient 3&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Meteo parameters :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $ C_{m}(x)$&lt;/li&gt;&lt;li&gt; $ a $&lt;/li&gt;&lt;li&gt; $ R_{N}(t) $&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Parameters&lt;/p&gt;
&lt;ol class=&#034;spip&#034;&gt;&lt;li&gt; $ B_{Max} $ : maximum value of fix biomass&lt;/li&gt;&lt;li&gt; $ \mu_{0} $ : reference growth rate&lt;/li&gt;&lt;li&gt; $ \theta $ : growth coefficient&lt;/li&gt;&lt;li&gt; $ T_{0} $ : reference temperature&lt;/li&gt;&lt;li&gt; $ k_{ext} $ : extinction coefficient&lt;/li&gt;&lt;li&gt; $ I_{opt} $ : optimum light intensity&lt;/li&gt;&lt;li&gt; $ K_{N_{1}} $ : half-saturation constant of nutrient 1&lt;/li&gt;&lt;li&gt; $ K_{N_{2}} $ : half-saturation constant of nutrient 2&lt;/li&gt;&lt;li&gt; $ K_{N_{3}} $ : half-saturation constant of nutrient 3&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Exponential growth with fixed coefficient</title>
		<link>https://sic.g-eau.fr/exponential-growth-with-fixed</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/exponential-growth-with-fixed</guid>
		<dc:date>2012-06-21T06:19:57Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Definition
&lt;br class='autobr' /&gt;
This law changes the concentration of a class depending on an other class concentration (or eventually itself), and two fix coefficients $ k $ and $\alpha_k$ as shown here: &lt;br class='autobr' /&gt;
$ \fracdC_idt=k C_j^\alpha_k $
&lt;br class='autobr' /&gt;
Classic use
&lt;br class='autobr' /&gt;
Numerous solutes have a first-order kinetics with an equation similar to : &lt;br class='autobr' /&gt;
$ \fracdC_Nidt= - k_Ni C_Ni $ &lt;br class='autobr' /&gt;
where $ k_Ni $ is the reaction constant (which is the inverse of a time). For instance, bacteriological oxygen demand (DBO_5 $ $), has a constant around 0.3 (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-lois-d-echange-pour-les-nutriments-" rel="directory"&gt;Exchange laws for nutrients&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Definition&lt;/h3&gt; &lt;p&gt;This law changes the concentration of a class depending on an other class concentration (or eventually itself), and two fix coefficients $ k $ and $\alpha_k$ as shown here:&lt;/p&gt;
&lt;p&gt;$ \frac{dC_i}{dt}=k C_j^{\alpha_k} $&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Classic use&lt;/h3&gt; &lt;p&gt;Numerous solutes have a first-order kinetics with an equation similar to :&lt;/p&gt;
&lt;p&gt;$ \frac{dC_{Ni}}{dt}= - k_{Ni} C_{Ni} $&lt;/p&gt;
&lt;p&gt;where $ k_{Ni} $ is the reaction constant (which is the inverse of a time). For instance, bacteriological oxygen demand (DBO_5 $ $), has a constant around 0.3 days &lt;sup&gt; -1 &lt;/sup&gt;. This degradation models the process of water auto-purification in streams.&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;limiting-nutrient-2&#034; name=&#034;limiting-nutrient-2&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a3&#034; name=&#034;a3&#034;&gt;&lt;/a&gt;Specifications&lt;/h3&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Law's ID : 201&lt;/li&gt;&lt;li&gt; Number of acting classes : 2&lt;/li&gt;&lt;li&gt; Number of parameters : : 2&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Acting classes :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $ C_i $ : the class modified by the law&lt;/li&gt;&lt;li&gt; $ C_j $ : the parameter class of the law&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Parameters :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $ k $ : reaction constant&lt;/li&gt;&lt;li&gt; $ \alpha_k $ : reaction order&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Evolution of the temperature</title>
		<link>https://sic.g-eau.fr/evolution-of-the-temperature</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/evolution-of-the-temperature</guid>
		<dc:date>2012-06-21T06:19:52Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Definition
&lt;br class='autobr' /&gt;
This law changes water temperature depending on meteorology and water temperature as explained in &#171;Temperature simulation&#187;.
&lt;br class='autobr' /&gt;
Specifications Law's ID : 101 Number of acting classes : 1 Number of parameters : 0 &lt;br class='autobr' /&gt;
Acting classes : Water temperature&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-loi-d-echange-pour-la-temperature-" rel="directory"&gt; Exchange law for the temperature&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Definition&lt;/h3&gt; &lt;p&gt;This law changes water temperature depending on meteorology and water temperature as explained in &#171;&lt;a href='https://sic.g-eau.fr/temperature-simulation' class='spip_in'&gt;Temperature simulation&lt;/a&gt;&#187;.&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Specifications&lt;/h3&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Law's ID : 101&lt;/li&gt;&lt;li&gt; Number of acting classes : 1&lt;/li&gt;&lt;li&gt; Number of parameters : 0&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Acting classes :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; Water temperature&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Temperature simulation</title>
		<link>https://sic.g-eau.fr/temperature-simulation</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/temperature-simulation</guid>
		<dc:date>2012-06-20T08:28:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Transport and exchange equation &lt;br class='autobr' /&gt;
Water temperature in the network is a fonction of upstream temperature and thermal exchange with atmosphere and substratum. &lt;br class='autobr' /&gt;
The general equation is: &lt;br class='autobr' /&gt;
$\frac\partial ST\partial t+ \frac\partial QT\partial x= \frac\partial\partial x\left(DS\frac\partial T\partial x\right) + SE_T$ &lt;br class='autobr' /&gt;
where $E_T$ is an exchange rate (&#176;C/s) given by the heat exchange rate $P$ (W/m2). For a water colomn with a width of $\delta x$, energy balance is &lt;br class='autobr' /&gt;
$\rho S \delta x \ c_p E_T = P (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-module-algequeau-75-" rel="directory"&gt;Quality module&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Transport and exchange equation&lt;/h3&gt; &lt;p&gt;Water temperature in the network is a fonction of upstream temperature and thermal exchange with atmosphere and substratum.&lt;/p&gt;
&lt;p&gt;The general equation is:&lt;/p&gt;
&lt;p&gt;$\frac{\partial ST}{\partial t}+ \frac{\partial QT}{\partial x}= \frac{\partial}{\partial x}\left(DS\frac{\partial T}{\partial x}\right) + SE_T$&lt;/p&gt;
&lt;p&gt;where $E_T$ is an exchange rate (&#176;C/s) given by the heat exchange rate $P$ (W/m&lt;sup&gt;2&lt;/sup&gt;). For a water colomn with a width of $\delta x$, energy balance is&lt;/p&gt;
&lt;p&gt;$\rho S \delta x \ c_p E_T = P L_m \delta x$&lt;/p&gt;
&lt;p&gt;where $\rho$ is the mass density of water, $c_p$ is the heat capacity of water, $L_m$ is the reach's width, $P$ is the heat power per unit area, yielding&lt;/p&gt;
&lt;p&gt;$E_T = \frac{L_m P}{\rho c_p S}$&lt;/p&gt;
&lt;p&gt;Numerical values are :&lt;/p&gt;
&lt;p&gt;$\rho$ = 1000 kg/m&lt;sup&gt;3&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;$c_p$ = 4186 J/kg/&#176;C&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Calculation of the heat power term&lt;/h3&gt; &lt;p&gt;The heat power per unit area is a balance of direct incoming solar and atmospheric radiation, minus the water surface radiation, and sensible and latent heat flow. The heat exchange between water and soil is difficult to evaluate since it depends on the soil's temperature and thermal parameters.&lt;/p&gt;
&lt;p&gt;A mask coefficient $C_m$ is defined as a function of abscissa, which takes into account the potential coverage of the canal (passage in galleries in particular). Full coverage will cancel all exchange between water and atmosphere. Neglecting interactions with the substrate amounts to considering the environment as adiabatic or to assume that these exchanges are low with respect to the convection process of the water mass.&lt;/p&gt;
&lt;p&gt;The heat power term is thus calculated :&lt;/p&gt;
&lt;p&gt;$P = (1 - C_m)((1 - a) R_N + R_a - R_e - H_s - H_e)$&lt;/p&gt;
&lt;p&gt;Solar radiation is a measured data that can be estimated using the solar radiation above atmosphere, the atmospheric attenuation and the time and location.Albedo $a$ is generally low for water, around 0.03.&lt;/p&gt;
&lt;p&gt;Atmospheric radiation is given by Stefan Boltzmann formula, and takes into account water reverberation, clouds and air relative humidity ($w_a$, between 0 and 1) using Brutsaert formula (1982)&lt;span class=&#034;spip_note_ref&#034;&gt; [&lt;a href='#nb1' class='spip_note' rel='footnote' title='W. Brutsaert. Evaporation into the atmosphere. Kluwer Acad. Pubs., (...)' id='nh1'&gt;1&lt;/a&gt;]&lt;/span&gt;. We therefore need to calculate the equilibrium vapor pressure $e_s$ (Pa) and vapor pressure $e_e$ (en Pa) at air temperature $T_a$ (&#176;C) with a humidity $w_a$:&lt;/p&gt;
&lt;p&gt;$e_s = 101300 \exp \left (13.7 - \frac{5120}{273.15 + T_a}\right )$&lt;/p&gt;
&lt;p&gt;$e_{a} = w_{a} e_{s}$&lt;/p&gt;
&lt;p&gt;$c_a = 1,24 (1 - a)\left (\frac{e_a / 100}{273.15 + T_a}\right )^{1 / 7}$&lt;/p&gt;
&lt;p&gt;$R_a = c_a \sigma (273.15 + T_a)^4$&lt;/p&gt;
&lt;p&gt;where $\sigma = 5,67 10^{-8}$ W m&lt;sup&gt;-2&lt;/sup&gt;K&lt;sup&gt;-4&lt;/sup&gt; is Stefan-Boltzmann constant.&lt;/p&gt;
&lt;p&gt;Similarly, water radiation is :&lt;/p&gt;
&lt;p&gt;$R_e = \epsilon \sigma (273.15 + T_e)^4$&lt;/p&gt;
&lt;p&gt;where $T_e$ is the water temperature (&#176;C) and $\epsilon$ is water emissivity ($\epsilon=0,97$).&lt;/p&gt;
&lt;p&gt;Sensible heat flow is linked to thermal gradient between air and water and to the wind speed $U_V$. &lt;br class='autobr' /&gt;
We use De Bruin's formula (1978), in W/m$^2$/Pa, as cited in&lt;span class=&#034;spip_note_ref&#034;&gt; [&lt;a href='#nb2' class='spip_note' rel='footnote' title='C. Jacovides, G. Papaioannou, and P. Kerkides. Micro and large-scale (...)' id='nh2'&gt;2&lt;/a&gt;]&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;$f_V =0.029+0.021 U_V$&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;$H_s = C_B f_V (T_e - T_a)$&lt;/p&gt;
&lt;p&gt;where $C_B = 63$ Pa/&#176; C (Bowen coefficient).&lt;/p&gt;
&lt;p&gt;Then, latent heat flow is calculated as follows :&lt;/p&gt;
&lt;p&gt;$H_e = f_V (e_s - e_a)$&lt;/p&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb1'&gt;
&lt;p&gt;&lt;span class=&#034;spip_note_ref&#034;&gt;[&lt;a href='#nh1' class='spip_note' title='Footnotes 1' rev='footnote'&gt;1&lt;/a&gt;] &lt;/span&gt;W. Brutsaert. Evaporation into the atmosphere. Kluwer Acad. Pubs., 1982.&lt;/p&gt;
&lt;/div&gt;&lt;div id='nb2'&gt;
&lt;p&gt;&lt;span class=&#034;spip_note_ref&#034;&gt;[&lt;a href='#nh2' class='spip_note' title='Footnotes 2' rev='footnote'&gt;2&lt;/a&gt;] &lt;/span&gt;C. Jacovides, G. Papaioannou, and P. Kerkides. Micro and large-scale parameters evaluation of evaporation from a lake. Agricultural Water Management, 13(2-4):263-272, 1988&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Transiant calculation for fix classes</title>
		<link>https://sic.g-eau.fr/transiant-calculation-for-fix</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/transiant-calculation-for-fix</guid>
		<dc:date>2012-06-20T06:52:59Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;The transient equation for fix classes is : &lt;br class='autobr' /&gt;
$\frac\partial C_k\partial t(x,t)=E_k(x,t)$ &lt;br class='autobr' /&gt;
where : $C_k$ is the linear mass density ; $E_k$ is the derivative of $C_k$ with respect to time. &lt;br class='autobr' /&gt;
The time discretization for $ j + 1 = t + \Delta t $ of this equation is
&lt;br class='autobr' /&gt; made by a semi-implicit Euler method : &lt;br class='autobr' /&gt;
$C_k^j+1-C_k^j-\frac\Delta t2\left(E_k^j+E_k^j+1\right)=0$ &lt;br class='autobr' /&gt;
Resolution is then performed in the same Newton's method iteration as drifting quality classes. &lt;br class='autobr' /&gt;
The formula for iteration i is: (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-module-algequeau-75-" rel="directory"&gt;Quality module&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;The transient equation for fix classes is :&lt;/p&gt;
&lt;p&gt;$\frac{\partial C_k}{\partial t}(x,t)=E_k(x,t)$&lt;/p&gt;
&lt;p&gt;where :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $C_k$ is the linear mass density ;&lt;/li&gt;&lt;li&gt; $E_k$ is the derivative of $C_k$ with respect to time.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The time discretization for $ j + 1 = t + \Delta t $ of this equation is&lt;br class='autobr' /&gt;
made by a semi-implicit Euler method :&lt;/p&gt;
&lt;p&gt;$C_k^{j+1}-C_k^{j}-\frac{\Delta t}{2}\left(E_k^{j}+E_k^{j+1}\right)=0$&lt;/p&gt;
&lt;p&gt;Resolution is then performed in the same Newton's method iteration as drifting quality classes.&lt;/p&gt;
&lt;p&gt;The formula for iteration &lt;i&gt;i&lt;/i&gt; is:&lt;/p&gt;
&lt;p&gt;$C_k^{j+1,i}=C_k^{j+1,i-1}-\frac{f\left(C_k^{j+1,i-1}\right)}{f^\prime\left(C_k^{j+1,i-1}\right)}=C_k^{j+1,i-1}-\frac{b_{i}}{a_{i}}$&lt;/p&gt;
&lt;p&gt;where :&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; $b_{i}=C_k^{j+1,i-1}-C_k^{j}-\frac{\Delta
t}{2}\left(E_k^{j}+E_k^{j+1,i}\right)$&lt;/li&gt;&lt;li&gt; $a_{i}=1-\frac{\Delta t}{2}E_k^{\prime j+1,i}$&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;$E_k^{j + 1,i}$ and $E_k^{\prime j + 1,i}$ are fonctions of $C_k^{j + 1,i-1}$ and drifting classes concentrations $C_{k}^{\prime j + 1,i-1}$.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="en">
		<title>Transient calculation</title>
		<link>https://sic.g-eau.fr/transient-calculation</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/transient-calculation</guid>
		<dc:date>2012-06-20T06:42:45Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Louis Poirel</dc:creator>



		<description>
&lt;p&gt;Calculation at a section &lt;br class='autobr' /&gt;
**Discretization for Preissmann Scheme &lt;br class='autobr' /&gt;
The advection equation (without diffusion) for drift classes is : &lt;br class='autobr' /&gt;
$\frac\partial \mathitCS\partial t+\frac\partial \mathitCQ\partial x=E(x,t,C)S$ &lt;br class='autobr' /&gt;
Preissmann scheme discretization equations are : &lt;br class='autobr' /&gt;
$\frac\partial U\partial t\approx (1-\psi )\fracU_j^n+1-U_j^n\Delta t+\psi \fracU_j+1^n+1-U_j+1^n\Delta t$ &lt;br class='autobr' /&gt;
$\frac\partial U\partial x\approx (1-\theta )\fracU_j+1^n-U_j^n\Delta x_j+1/2+\theta \fracU_j+1^n+1-U_j^n+1\Delta x_j+1/2$ (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-module-algequeau-75-" rel="directory"&gt;Quality module&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;engelund-hansen-formula&#034; name=&#034;engelund-hansen-formula&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1&#034; name=&#034;a1&#034;&gt;&lt;/a&gt;Calculation at a section&lt;/h3&gt; &lt;h4 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-1&#034; name=&#034;specifications-1&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1.1&#034; name=&#034;a1.1&#034;&gt;&lt;/a&gt;Discretization for Preissmann Scheme&lt;/h4&gt; &lt;p&gt;The advection equation (without diffusion) for drift classes is :&lt;/p&gt;
&lt;p&gt;$\frac{\partial \mathit{CS}}{\partial t}+\frac{\partial \mathit{CQ}}{\partial x}=E(x,t,C)S$&lt;/p&gt;
&lt;p&gt;Preissmann scheme discretization equations are :&lt;/p&gt;
&lt;p&gt;$\frac{\partial U}{\partial t}\approx (1-\psi )\frac{U_{j}^{n+1}-U_{j}^{n}}{\Delta t}+\psi \frac{U_{j+1}^{n+1}-U_{j+1}^{n}}{\Delta t}$&lt;/p&gt;
&lt;p&gt;$\frac{\partial U}{\partial x}\approx (1-\theta )\frac{U_{j+1}^{n}-U_{j}^{n}}{\Delta x_{j+1/2}}+\theta \frac{U_{j+1}^{n+1}-U_{j}^{n+1}}{\Delta x_{j+1/2}}$&lt;br class='autobr' /&gt;
$U(x,t)=\theta \left(\psi U_{j+1}^{n+1}+(1-\psi )U_{j}^{n+1}\right)+(1-\theta )\left(\psi U_{j+1}^{n}+(1-\psi )U_{j}^{n}\right)$&lt;/p&gt;
&lt;p&gt;We note : $\Delta (U)_{i}=U_{i}^{n+1}-U_{i}^{n}$&lt;/p&gt;
&lt;p&gt;These equations for section &lt;i&gt;j+1&lt;/i&gt; at time &lt;i&gt;k+1&lt;/i&gt; yield :&lt;/p&gt;
&lt;p&gt;$\frac{(1-\psi )\Delta (\mathit{CS})_{j}+\psi .\Delta (\mathit{CS})_{j+1}}{\Delta t}+\frac{(\mathit{CQ})_{j+1}^{k}-(\mathit{CQ})_{j}^{k}+\theta \left(\Delta (\mathit{CQ})_{j+1}-\Delta (\mathit{CQ})_{j}\right)}{\Delta x}$&lt;br class='autobr' /&gt;
$=\left[(1-\psi )(\mathit{ES})_{j}^{k}+\psi (\mathit{ES})_{j+1}^{k}\right]+\theta \left[(1-\psi )\Delta (\mathit{ES})_{j}+\psi \Delta (\mathit{ES})_{j+1}\right]$&lt;/p&gt;
&lt;p&gt;The transport equation can be rewritten as $F(C_{j+1}^{k+1})=0$ since $C_{j}^{k+1}$ is given by the upstream condition.&lt;/p&gt;
&lt;p&gt;$\delta x\left[(1-\psi )\Delta (\mathit{CS})_{j}+\psi .\Delta (\mathit{CS})_{j+1}\right]+\Delta t\left[(\mathit{CQ})_{j+1}^{k}-(\mathit{CQ})_{j}^{k}+\theta \left(\Delta (\mathit{CQ})_{j+1}-\Delta (\mathit{CQ})_{j}\right)\right]$&lt;br class='autobr' /&gt;
$-\delta x\Delta t\left[(1-\psi )(\mathit{ES})_{j}^{k}+\psi (\mathit{ES})_{j+1}^{k}\right]-\delta x\Delta t\theta \left[(1-\psi )\Delta (\mathit{ES})_{j}+\psi \Delta (\mathit{ES})_{j+1}\right]=0$&lt;/p&gt;
&lt;p&gt;$\delta x\left[(1-\psi )\left((\mathit{CS})_{j}^{k+1}-(\mathit{CS})_{j}^{k}\right)+\psi .\left((\mathit{CS})_{j+1}^{k+1}-(\mathit{CS})_{j+1}^{k}\right)\right]$&lt;br class='autobr' /&gt;
$+\Delta t\left[(\mathit{CQ})_{j+1}^{k}-(\mathit{CQ})_{j}^{k}+\theta \left(\left((\mathit{CQ})_{j+1}^{k+1}-(\mathit{CQ})_{j+1}^{k}\right)-\left((\mathit{CQ})_{j}^{k+1}-(\mathit{CQ})_{j}^{k}\right)\right)\right]$&lt;br class='autobr' /&gt;
$-\delta x\Delta t\left[(1-\psi )(\mathit{ES})_{j}^{k}+\psi (\mathit{ES})_{j+1}^{k}\right]$&lt;br class='autobr' /&gt;
$-\delta x\Delta t\theta \left[(1-\psi )\left((\mathit{ES})_{j}^{k+1}-(\mathit{ES})_{j}^{k}\right)+\psi \left((\mathit{ES})_{j+1}^{k+1}-(\mathit{ES})_{j+1}^{k}\right)\right]=0$&lt;/p&gt; &lt;h4 class=&#034;spip&#034;&gt;&lt;a id=&#034;limiting-nutrient-2&#034; name=&#034;limiting-nutrient-2&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a1.2&#034; name=&#034;a1.2&#034;&gt;&lt;/a&gt;Resolution by conjugate gradient method&lt;/h4&gt; &lt;p&gt;This equation $F(C_{j+1}^{k+1})=0$ is solved using a conjugate gradient method, requiring the computation of a Jacobian matrix.&lt;/p&gt;
&lt;p&gt;Let $S(C_{j+1}^{k+1})= ^{t}F(C_{j+1}^{k+1})F(C_{j+1}^{k+1})$. The equation is solved by minimizing $S$, using the conjugate gradient method. One need to calculate the partial derivatives of exchange terms with respect to every quality class in order to calculate $F$'s Jacobian matrix $J$ which gives $S$'s gradient $\nabla S$.&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;specifications-3&#034; name=&#034;specifications-3&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2&#034; name=&#034;a2&#034;&gt;&lt;/a&gt;Discretization at a node&lt;/h3&gt; &lt;h4 class=&#034;spip&#034;&gt;&lt;a id=&#034;mass-balance-node-4&#034; name=&#034;mass-balance-node-4&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2.1&#034; name=&#034;a2.1&#034;&gt;&lt;/a&gt;Mass balance at a node&lt;/h4&gt; &lt;p&gt;The mass balance equation at a node is integrated between $t$ et $t+\Delta t$:&lt;/p&gt;
&lt;p&gt;$\int _{t}^{t+\Delta t}{\left(\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}})\right)\mathit{dt}}-\int _{C_{\mathit{nd}}}^{C_{\mathit{nd}}+\Delta C_{\mathit{nd}}}{V_{\mathit{cas}}\mathit{dC}_{\mathit{nd}}}$&lt;br class='autobr' /&gt;
$+\int _{t}^{t+\Delta t}{\left(C_{\mathit{nd}}\left[\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right]\right)\mathit{dt}}-\int _{V_{\mathit{cas}}}^{V_{\mathit{cas}}+\Delta V_{\mathit{cas}}}{C_{\mathit{nd}}\mathit{dV}_{\mathit{cas}}}=0$&lt;/p&gt;
&lt;p&gt;This integral is calculated using the trapezoidal rule formula :&lt;/p&gt;
&lt;p&gt;$\frac{\Delta t}{2}\left(\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}})\right)^{k}$&lt;br class='autobr' /&gt;
$+{\frac{\Delta t}{2}}\left(\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}})\right)^{k+1}$&lt;br class='autobr' /&gt;
$-{\frac{V_{\mathit{cas}}^{k+1}-V_{\mathit{cas}}^{k}}{2}}\left[C_{\mathit{nd}}^{k}+C_{\mathit{nd}}^{k+1}\right]-\frac{C_{\mathit{nd}}^{k+1}-C_{\mathit{nd}}^{k}}{2}\left[V_{\mathit{Cas}}^{k}+V_{\mathit{Cas}}^{k+1}\right]$&lt;br class='autobr' /&gt;
$+{\frac{\Delta t}{2}}C_{\mathit{nd}}^{k}\left[\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right]^{k}$&lt;br class='autobr' /&gt;
$+{\frac{\Delta t}{2}}C_{\mathit{nd}}^{k+1}\left[\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right]^{k+1}=0$&lt;/p&gt;
&lt;p&gt;The source term &lt;i&gt;E&lt;/i&gt; is the only non-linear term in this equation.&lt;/p&gt; &lt;h4 class=&#034;spip&#034;&gt;&lt;a id=&#034;newton-method-for-node-with-pond-5&#034; name=&#034;newton-method-for-node-with-pond-5&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a2.2&#034; name=&#034;a2.2&#034;&gt;&lt;/a&gt;Newton's method for a node with a pond&lt;/h4&gt; &lt;p&gt;Let $f\left(C_{\mathit{nd}}^{i}\right)=0$ be the result of the integration at the &lt;i&gt;i&lt;/i&gt;th iteration.&lt;/p&gt;
&lt;p&gt;Newton's method gives : &lt;br class='autobr' /&gt;
$C_{\mathit{nd}}^{i}=C_{\mathit{nd}}^{i-1}-\frac{f\left(C_{\mathit{nd}}^{i-1}\right)}{f'\left(C_{\mathit{nd}}^{i-1}\right)}=C_{\mathit{nd}}^{i-1}-\frac{b^{i}}{a^{i}}$&lt;/p&gt;
&lt;p&gt;$b^{i}=\frac{\Delta t}{2}\left[\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}})+C_{\mathit{nd}}^{k}\left(\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right)\right]^{k}$&lt;br class='autobr' /&gt;
$+{\frac{\Delta t}{2}}\left[\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}}^{i-1})+C_{\mathit{nd}}^{i-1}\left(\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right)\right]^{k+1}$&lt;br class='autobr' /&gt;
$-V_{\mathit{cas}}^{k+1}C_{\mathit{nd}}^{k}-V_{\mathit{cas}}^{k}C_{\mathit{nd}}^{k+1,i-1}$&lt;/p&gt;
&lt;p&gt;If $b^{i}=b_{1}+b_{2}^{i}$ where $b_1$ is constant over iterations et $b_2$ we get :&lt;/p&gt;
&lt;p&gt;$b_{1}=\frac{\Delta t}{2}\left[\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}})+C_{\mathit{nd}}^{k}\left(\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right)\right]^{k}$&lt;br class='autobr' /&gt;
$+{\frac{\Delta t}{2}}\left[\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}\right]^{k+1}-V_{\mathit{cas}}^{k+1}C_{\mathit{nd}}^{k}$&lt;/p&gt;
&lt;p&gt;We define &lt;br class='autobr' /&gt;
$b_{11}^{k}=\left[\sum _{s_{b}Q_{b}&gt;0}C_{b}s_{b}Q_{b}+\sum _{Q_{p}&gt;0}C_{p}Q_{p}\right]^{k}$ &lt;br class='autobr' /&gt;
and&lt;br class='autobr' /&gt;
$a_{1}^{k}=\left[\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}\right]^{k}$&lt;/p&gt;
&lt;p&gt;yielding : $b_{1}=\frac{\Delta t}{2}\left(\left[b_{11}+V_{\mathit{Cas}}E(t,C_{\mathit{nd}})\right]^{k}+b_{11}^{k+1}\right)+C_{\mathit{nd}}^{k}\left(\frac{\Delta t}{2}\left[a_{1}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right]^{k}-V_{\mathit{cas}}^{k+1}\right)$&lt;/p&gt;
&lt;p&gt;and $b_{2}^{i}=\frac{\Delta t}{2}\left[V_{\mathit{Cas}}E(t,C_{\mathit{nd}}^{i-1})+C_{\mathit{nd}}^{i-1}\left(a_{1}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right)\right]^{k+1}-V_{\mathit{cas}}^{k}C_{\mathit{nd}}^{k+1,i-1}$&lt;/p&gt;
&lt;p&gt;The derivative with respect to $C_{nd}$ is : &lt;br class='autobr' /&gt;
$a^{i}=\frac{\Delta t}{2}\left[V_{\mathit{Cas}}E'(t,C_{\mathit{nd}}^{i-1})+\left(a_{1}-k_{\mathit{inf}}S_{\mathit{cas}}v_{\mathit{inf}}\right)\right]^{k+1}-V_{\mathit{cas}}^{k}$&lt;/p&gt;
&lt;p&gt;As $C_{nd}$ is a vector, this equation is true for every quality class $C_{nd}(i)$.&lt;/p&gt;
&lt;p&gt;The different equations may be interdependent due to the exchange rate &lt;i&gt;E&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;As a consequence, matrix &lt;i&gt;a&lt;/i&gt; is non-diagonal due to &lt;i&gt;E'&lt;/i&gt;. If this term is negligible compared to the others, the Newton's method can still solve the system.&lt;/p&gt; &lt;h3 class=&#034;spip&#034;&gt;&lt;a id=&#034;calculation-node-without-pond-6&#034; name=&#034;calculation-node-without-pond-6&#034;&gt;&lt;/a&gt;&lt;a id=&#034;a3&#034; name=&#034;a3&#034;&gt;&lt;/a&gt;Calculation at a node without a pond&lt;/h3&gt; &lt;p&gt;A node without a pond is a nodes where the volume (or area) of the pod is zero at time &lt;i&gt;k+1&lt;/i&gt; and &lt;i&gt;k&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The equation is then linear and the exact result is found within one Newton iteration. If distribution coefficients are heterogeneous, they are adjusted to ensure mass balance at the node.&lt;/p&gt;
&lt;p&gt;The formula for $C_{nd}$ is : &lt;br class='autobr' /&gt;
$C_{\mathit{nd}}^{k+1}=C_{\mathit{nd}}^{k}-\frac{f\left(C_{\mathit{nd}}^{k}\right)}{f'\left(C_{\mathit{nd}}^{k}\right)}=C_{\mathit{nd}}^{k}-\frac{b}{a}$&lt;/p&gt;
&lt;p&gt;Equations for a node with a pond are : &lt;br class='autobr' /&gt;
$b=\frac{\Delta t}{2}\left[b_{11}^{k}+b_{11}^{k+1}+C_{\mathit{nd}}^{k}\left(a_{1}^{k}+a_{1}^{k+1}\right)\right]$&lt;br class='autobr' /&gt;
et $a=\frac{\Delta t}{2}a_{1}^{k+1}$&lt;/p&gt;
&lt;p&gt;And : &lt;br class='autobr' /&gt;
$C_{\mathit{nd}}^{k+1}=C_{\mathit{nd}}^{k}-\frac{b_{11}^{k}+b_{11}^{k+1}+C_{\mathit{nd}}^{k}\left(a_{1}^{k}+a_{1}^{k+1}\right)}{a_{1}^{k+1}}$&lt;/p&gt;
&lt;p&gt;Given the adjustable coefficient :&lt;br class='autobr' /&gt;
$a_{1}^{k}=\left[\sum _{s_{b}Q_{b}&lt;0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0}k_{p}Q_{p}\right]^{k}$ , we get :&lt;/p&gt;
&lt;p&gt;$a_{1}^{k}=\left[\sum _{s_{b}Q_{b}&lt;0,b_{i}=0}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0,b_{i}=0}k_{p}Q_{p}+k_{a}\left(\sum _{s_{b}Q_{b}&lt;0,b_{i}=1}k_{b}s_{b}Q_{b}+\sum _{Q_{p}&lt;0,b_{i}=1}k_{p}Q_{p}\right)\right]^{k}$&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>


 
	


 
	

</channel>
</rss>
