Hello again,
My name is Kersasp and I am currently working on my Masters thesis using the BuildingSytems Library.
I would like to know how to implement a HeatPump in such a way that it provides both heating as well as cooling to a 2-zone building model.
Going off your example in BuildingSystems.Applications.HeatingSystems.SolarHeatingSystem, I have replaced the boiler with a HeatPump (BuildingSystems.Fluid.HeatPumps.Carnot_TCon) as shown in the figure below. However, this system is only able to provide heating to the building model and cannot provide any cooling.

Next, I tried to use the reversible HeatPump (BuildingSystems.Fluid.HeatPumps.Carnot_y), by replacing the original HeatPump with the reversible one, however I am having troubles get it to run. In fact I don't even know if the reversible HeatPump is even the right approach to the problem.
I am aware that both the HeatPump blocks are also able to separately function as a Chiller. However, I am not sure how use a HeatPump block to supply heating as well as cooling for the building model. If a single HeatPump cannot be used for heating as well as cooling a space, will another full circuit need to set up just for cooling? This doesn't seem right as I believe that a reversible HeatPump should be able to both heat and cool.
Any guidance is much appreciated. Any example resembling the figure above in which you are able to provide heating and cooling would be very beneficial.
Thank you so much!
Kersasp Cawasji