 the maximum power consumption of the chiller</span>
    <span class="c1"># Assuming the worst-case scenario with the highest load and ambient temperature</span>
    <span class="n">max_cooling_cap</span> <span class="o">=</span> <span class="n">ct_rated_load</span>  <span class="c1"># Maximum cooling capacity of the chiller</span>
    <span class="n">highest_ambient_temp</span> <span class="o">=</span> <span class="n">max_amb_temperature</span>  <span class="c1"># Highest ambient temperature</span>
    <sp