<p style="font-family:Arial;">
        Dear Jeff,
</p>
<p style="font-family:Arial;">
        <br>
</p>
<p style="font-family:Arial;">
        I actually use the h<span style="white-space:normal;">eat storage methods in this article. </span>Zhou, Y.; Cao, S., Quantification of energy flexibility of residential net-zero-energy buildings involved with dynamic operations of hybrid energy storages and diversified energy conversion strategies. Sustainable Energy, Grids and Networks 2020, 21.<br>
The water in the tank is heated by the remaining renewable energy (renewable electricity generation minus building demand), thereby converting the renewable electricity into thermal energy that is stored in the water tank. Therefore, the energy for heating the water tank also needs to be included in the building demand, otherwise the heating energy will be too large, resulting in an increase in the building demand.<br>
Anyway, <span style="font-family:Arial;">since this setting will cause non-convergence, I will</span> try to exclude auxiliary heating rate in the building demand.<br>
thank you for your reply!<br>
</p>
<br>
<br>
<blockquote name="replyContent" class="ReferenceQuote" style="font-family:Arial;padding-left:5px;margin-left:5px;border-left:2px solid #B6B6B6;margin-right:0px;">
        -----Original Messages-----<br>
<b>From:</b><span id="rc_from">"Jeff Thornton" <thornton@tess-inc.com></span><br>
<b>Sent Time:</b><span id="rc_senttime">2022-06-08 21:36:38 (Wednesday)</span><br>
<b>To:</b> "TRNSYS users mailing list at OneBuilding.org" <trnsys-users@lists.onebuilding.org><br>
<b>Cc:</b> "Song Aoye" <soymail@pku.edu.cn><br>
<b>Subject:</b> Re: [TRNSYS-users] Type 534 Auxiliary Heating Rate<br>
<br>
I’m guessing that if you check your list file you’ll find that the simulation isn’t converging.  From your description, you’ve created a circular reference;  the input auxiliary to the tank is a function of the output auxiliary that went into the tank.  But the output for auxiliary is simply the input auxiliary that went into the tank.  So your input auxiliary is a function of your input auxiliary.  This is an ill defined problem and can’t be solved.  
        <div>
                Why does the amount available for input to the tank depend on what you’re sending to the tank? Simply take your production, subtract off the other uses and send the rest to the tank.
        </div>
        <div>
                <br>
        </div>
        <div>
                Jeff - TESS<br>
<br>
                <div dir="ltr">
                        Sent from my iPhone
                </div>
                <div dir="ltr">
                        <br>
                        <blockquote type="cite">
                                On Jun 8, 2022, at 5:39 AM, Song Aoye via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:<br>
<br>
                        </blockquote>
                </div>
                <blockquote type="cite">
                        <div dir="ltr">
                                <p>
                                        Dear All,
                                </p>
                                <p>
                                        <br>
                                </p>
                                <p>
                                        I used a type 534 and added an auxiliary heating to the bottom of it. But I found that the auxiliary heating rate I input is not equal to the auxiliary heating rate output by type 534, and the latter output results are delayed by a time step.<br>
So I would like to ask if anyone knows how the output item auxiliary heating rate in type 534 is calculated? (There is no relevant formula in the documentation)
                                </p>
                                <p>
                                        <br>
My setup is as follows:<br>
auxiliary heating rate input = Surplus renewable energy*efficiency_inverter<br>
Surplus renewable energy = MAX((Renewable energy generation-Building demand/efficiency_inverter),0)<br>
Building demand = other demand+auxiliary heating rate output<br>
(Note that the auxiliary heating rate input uses the surplus renewable energy, and the surplus renewable energy is obtained by subtracting the building demand from the renewable energy generation, and the building demand includes the auxiliary heating rate output)
                                </p>
                                <p>
                                        Thank you!
                                </p>
<span>_______________________________________________</span><br>
<span>TRNSYS-users mailing list</span><br>
<span>TRNSYS-users@lists.onebuilding.org</span><br>
<span>http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</span><br>
                        </div>
                </blockquote>
        </div>
</blockquote>