Possibility to have solar collector in Ironbug

Hi @Xiaoqi

Can you send me your simulation (with the internalised geometry)? I can have a further analysis and check what is happening

Hi, @behnammmohseni

Thank you very much! Here is my file — it’s downloaded from the example you previously shared.
Link:

Hi @Xiaoqi

Thank you for your reply, and sorry for my late response.

Well, I checked the file and I can tell you that something had happened. The problem is that when you connect a solar collector to the heat load of the building, the HVAC will be completely disconnected. I tried to re-run my previous simulation attached on this ticket, after having the components updated, and I was not able to have a meaningful run. The simulation will NOT show any error, and there is no error in the err file and the IDF is created with the proper components included, but something will happen that cuts the HVAC (heat/cool load), and as a follow-up up the solar collector. If you see the OSM using the OpenStudio Application and the HVAC view section, there is no loop for the solar collector.

I guess something had happened during an update for the solar collector, since previously it was running and having results without any problem. The looping wire and the corresponding tree are ok, and the problem is the solar collector component.

@MingboPeng could you kindly shed light on this challenge?

I have attached the edited simulation that I used 2 different HVAC systems as a test.

solarCollectorInBuildingWithHVACSystem_edited.gh (159.3 KB)

Hi, @behnammmohseni

Thank you so much for your detailed reply and kind support!

I also noticed that there are no results related to the solar collector; indeed, no errors were reported during the simulation. I really appreciate your effort in checking this, and let’s see what Mingbo suggests as a solution.

Best,
Xiaoqi

1 Like

Hello behnammmohseni

I am running your gh file “untouched” and getting an error from “model to osm”. all I did was run the “sync gh file”, attached an epw file, recomputed the whole thing and tried run the simulation, and it failed at invalid shading surface. This is the same error my main project file and all my other tires on solar collector did. I am not skilled enough to dig into the problem, if I can be further help with anything, I am here.


Unhandled Exception: System.ArgumentException: Invalid shading surface ID: Shade_79cd8d1e
at Ironbug.HVAC.IB_SolarCollectorFlatPlateWater.ToOS(Model model)
at Ironbug.HVAC.IB_PlantLoopBranches.ToOS_Supply(Model model, Loop plantLoop)
at Ironbug.HVAC.IB_PlantLoop.AddSupplyObjects(Model model, PlantLoop plant, List`1 Components)
at Ironbug.HVAC.IB_PlantLoop.ToOS(Model model)
at Ironbug.HVAC.IB_Utility.SaveHVAC(IB_HVACSystem hvac, String osmFile)
at Ironbug.Program.Main(String args)

Runtime error (ValueErrorException): Failed to apply Detailed HVAC “Detailed HVAC_1df1e9ec”
[INFO] Input osm file:
c:\users\beyonder\appdata\local\temp\Detailed HVAC_1df1e9ec.osm
[INFO] Input ironbug HVAC json file:
c:\users\beyonder\appdata\local\temp\Detailed HVAC_1df1e9ec.json
[INFO] Backup input file:
c:\users\beyonder\appdata\local\temp\Detailed HVAC_1df1e9ec.osm.backup
[INFO] OpenStudio library 3.9.0.0 from C:\Program Files\ladybug_tools\openstudio\CSharp\openstudio.
System.ArgumentException: Invalid shading surface ID: Shade_79cd8d1e
at Ironbug.HVAC.IB_SolarCollectorFlatPlateWater.ToOS(Model model)
at Ironbug.HVAC.IB_PlantLoopBranches.ToOS_Supply(Model model, Loop plantLoop)
at Ironbug.HVAC.IB_PlantLoop.AddSupplyObjects(Model model, PlantLoop plant, List`1 Components)
at Ironbug.HVAC.IB_PlantLoop.ToOS(Model model)
at Ironbug.HVAC.IB_Utility.SaveHVAC(IB_HVACSystem hvac, String osmFile)
at Ironbug.Program.Main(String args)

Traceback:
line 1101, in model_to_openstudio, “C:\Program Files\ladybug_tools\python\Lib\site-packages\honeybee_openstudio\writer.py” line 160, in to_openstudio_sim_folder, “C:\Program Files\ladybug_tools\python\Lib\site-packages\honeybee_energy\run.py” line 243, in script

note:
if you connect the shade thru the addshade component to the model instead of connecting it directly, the simulation runs.

1 Like

Apologies for the delayed response, I’ve been occupied with several ongoing projects.

I’ve completed the new simulation; it runs successfully. Please find the attached file for your reference.

Note: The model has not been fully sized. It should be carefully adapted and validated against realistic case studies.

Additionally, I have integrated PV modules. As a result, the Honeybee simulation now includes various shading conditions.

solarCollector_PVShades.gh (144.1 KB)

thank you! I am welcoming this feature a lot. I will test it as soon as my current problem with modelToOSM is solved.

Hi
I have been testing the sample file and still could not fully integrate the system into my project. The problem giving me hard time at the moment is the transfer fluid being too hot almost always. The system may work with high pressure 200°C water (over 15 bar), but the generated error file (eplusout.err) is over 220Mb that makes hard to handle it.

the repeated error:
GlycolProps::getDensity: Temperature is out of range (too high) for fluid [WATER] density

I am trying to solve the problem but having hard time translating my methods into ironbug. There is also some problems with sizing the tank, and the output parameter is zero. If you have a quick solution other then permanently reducing the power of the supply side I would be highly grateful.

I suggest to open another ticket, since your question is now specific.