Skip to content
Snippets Groups Projects
Commit ed267247 authored by Felix MARSOLLIER's avatar Felix MARSOLLIER
Browse files

Improvement: Adding an absolute value to avoid a negative value (possible with...

Improvement: Adding an absolute value to avoid a negative value (possible with steady state initialisation)
parent 9687f335
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ algorithm ...@@ -15,7 +15,7 @@ algorithm
// the expression bellow is non recursive // the expression bellow is non recursive
//h_rad := 1 / R_th * Modelica.Constants.sigma * (T_A^3 + T_A * T_B^2 + T_B * T_A^2 + T_B^3) ; //h_rad := 1 / R_th * Modelica.Constants.sigma * (T_A^3 + T_A * T_B^2 + T_B * T_A^2 + T_B^3) ;
h_rad := Modelica.Constants.sigma * (T_A + T_B) * (T_A^2 + T_B^2) / R_th ; h_rad := abs(Modelica.Constants.sigma * (T_A + T_B) * (T_A^2 + T_B^2) / R_th) ;
annotation(Documentation( info = " annotation(Documentation( info = "
<html> <html>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment