Skip to content

Commit

Permalink
Update 'docs' folder with _fix_coverage and delete old branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
FWuellhorst committed Dec 4, 2023
1 parent 2bbf96b commit 6c7c9f6
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 169 deletions.
Binary file modified docs/_fix_coverage/docs/.doctrees/environment.pickle
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ <h1>Source code for vclibpy.components.heat_exchangers.moving_boundary_ntu</h1><

<span class="c1"># Note: As Q_eva_ntu has to converge to Q_eva (m_ref*delta_h), we can safely</span>
<span class="c1"># calculate the output temperature.</span>
<span class="n">T_mean</span> <span class="o">=</span> <span class="n">inputs</span><span class="o">.</span><span class="n">T_eva_in</span> <span class="o">+</span> <span class="n">Q</span> <span class="o">/</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">m_flow_secondary_cp</span> <span class="o">*</span> <span class="mi">2</span><span class="p">)</span>
<span class="n">T_mean</span> <span class="o">=</span> <span class="n">inputs</span><span class="o">.</span><span class="n">T_eva_in</span> <span class="o">-</span> <span class="n">Q</span> <span class="o">/</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">m_flow_secondary_cp</span> <span class="o">*</span> <span class="mi">2</span><span class="p">)</span>
<span class="n">tra_prop_med</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">calc_transport_properties_secondary_medium</span><span class="p">(</span><span class="n">T_mean</span><span class="p">)</span>
<span class="n">alpha_med_wall</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">calc_alpha_secondary</span><span class="p">(</span><span class="n">tra_prop_med</span><span class="p">)</span>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ <h1>Source code for vclibpy.components.heat_exchangers.ntu</h1><div class="highl
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">flow_type</span> <span class="o">==</span> <span class="s2">&quot;counter&quot;</span><span class="p">:</span>
<span class="k">return</span> <span class="p">(</span><span class="mi">1</span> <span class="o">-</span> <span class="n">np</span><span class="o">.</span><span class="n">exp</span><span class="p">(</span><span class="o">-</span><span class="n">NTU</span> <span class="o">*</span> <span class="p">(</span><span class="mi">1</span> <span class="o">-</span> <span class="n">R</span><span class="p">)))</span> <span class="o">/</span> <span class="p">(</span><span class="mi">1</span> <span class="o">-</span> <span class="n">R</span> <span class="o">*</span> <span class="n">np</span><span class="o">.</span><span class="n">exp</span><span class="p">(</span><span class="o">-</span><span class="n">NTU</span> <span class="o">*</span> <span class="p">(</span><span class="mi">1</span> <span class="o">-</span> <span class="n">R</span><span class="p">)))</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">flow_type</span> <span class="o">==</span> <span class="s2">&quot;cross&quot;</span><span class="p">:</span>
<span class="k">if</span> <span class="n">NTU</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
<span class="k">return</span> <span class="mi">0</span>
<span class="n">eta</span> <span class="o">=</span> <span class="n">NTU</span> <span class="o">**</span> <span class="o">-</span><span class="mf">0.22</span>
<span class="k">return</span> <span class="mi">1</span> <span class="o">-</span> <span class="n">np</span><span class="o">.</span><span class="n">exp</span><span class="p">((</span><span class="n">np</span><span class="o">.</span><span class="n">exp</span><span class="p">(</span><span class="o">-</span> <span class="n">NTU</span> <span class="o">*</span> <span class="n">R</span> <span class="o">*</span> <span class="n">eta</span><span class="p">)</span> <span class="o">-</span> <span class="mi">1</span><span class="p">)</span> <span class="o">/</span> <span class="p">(</span><span class="n">R</span> <span class="o">*</span> <span class="n">eta</span><span class="p">))</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">flow_type</span> <span class="o">==</span> <span class="s2">&quot;parallel&quot;</span><span class="p">:</span>
Expand Down
34 changes: 17 additions & 17 deletions docs/_fix_coverage/pylint/pylint.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ <h1>Pylint report from report.jinja2</h1>


<h2>Score</h2>
7.40 / 10
7.41 / 10

(previous score: 7.40 / 10)
(previous score: 7.41 / 10)



Expand Down Expand Up @@ -2759,7 +2759,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>90</td>
<td>92</td>
<td>4</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2769,7 +2769,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>92</td>
<td>94</td>
<td>0</td>
<td>convention</td>
<td><code>line-too-long</code></td>
Expand All @@ -2779,7 +2779,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>123</td>
<td>125</td>
<td>4</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2789,7 +2789,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>123</td>
<td>125</td>
<td>17</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2799,7 +2799,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>130</td>
<td>132</td>
<td>0</td>
<td>convention</td>
<td><code>line-too-long</code></td>
Expand All @@ -2809,7 +2809,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>139</td>
<td>141</td>
<td>0</td>
<td>convention</td>
<td><code>line-too-long</code></td>
Expand All @@ -2819,7 +2819,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>149</td>
<td>151</td>
<td>0</td>
<td>convention</td>
<td><code>line-too-long</code></td>
Expand All @@ -2829,7 +2829,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>149</td>
<td>151</td>
<td>4</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2839,7 +2839,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>149</td>
<td>151</td>
<td>25</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2849,7 +2849,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>149</td>
<td>151</td>
<td>76</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2859,7 +2859,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>151</td>
<td>153</td>
<td>0</td>
<td>convention</td>
<td><code>line-too-long</code></td>
Expand All @@ -2869,7 +2869,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>165</td>
<td>167</td>
<td>8</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand All @@ -2879,7 +2879,7 @@ <h3>Module <code>vclibpy.components.heat_exchangers.ntu</code> (<code>vclibpy/co
</tr>

<tr>
<td>169</td>
<td>171</td>
<td>8</td>
<td>convention</td>
<td><code>invalid-name</code></td>
Expand Down Expand Up @@ -2987,7 +2987,7 @@ <h3>Module <code>vclibpy.flowsheets.base</code> (<code>vclibpy/flowsheets/base.p
<td><code>cyclic-import</code></td>
<td>R0401</td>
<td></td>
<td><pre>Cyclic import (vclibpy.media -&gt; vclibpy.media.media)</pre></td>
<td><pre>Cyclic import (vclibpy.media -&gt; vclibpy.media.cool_prop -&gt; vclibpy.media.media)</pre></td>
</tr>

<tr>
Expand All @@ -2997,7 +2997,7 @@ <h3>Module <code>vclibpy.flowsheets.base</code> (<code>vclibpy/flowsheets/base.p
<td><code>cyclic-import</code></td>
<td>R0401</td>
<td></td>
<td><pre>Cyclic import (vclibpy.media -&gt; vclibpy.media.cool_prop -&gt; vclibpy.media.media)</pre></td>
<td><pre>Cyclic import (vclibpy.media -&gt; vclibpy.media.media)</pre></td>
</tr>

<tr>
Expand Down
Loading

0 comments on commit 6c7c9f6

Please sign in to comment.