span> <span class="n">max_dc_energy</span> <span class="o">/</span> <span class="mf">1e6</span> <span class="c1"># Mhw</span>
    
    <span class="n">ranges</span> <span class="o">=</span> <span class="p">{</span>
        <span class="s1">&#39;sinhour&#39;</span><span class="p">:</span> <span class="p">[</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">],</span> <span class="c1">#0</span>
        <span class="s1">&#39;coshour&#39;<