I am implementing a solar collector and would like to turn the pump on/off based on the differential temperature between the collector outlet and the water storage tank - is this possible in Open Studio

In EnergyPlus, I could use an Availability Manager to control the collector circulating pump based on a temperature difference. However, I cannot find Availability Manager capability in Open Studio. Am I overlooking something? If this feature is not yet available, is there a workaround to accomplish the same functionality? I suppose that I could export the IDF file and then edit in IDF Editor to add the feature I want but then I think I would be precluded from doing additional modeling in OS. Any suggestions or citations to references would be appreciated.

2 Answers

AvailabilityManager:DifferentialThermostat is already implemented in OpenStudio and has been for quite a while, but it isn't available in the OS App though, so you need to use the API via a measure (or load the ruby bindings in a terminal, whatever). Here's some dummy code to give you an example of how the avm works:

FYI, you might be interested in this Pull Request I have made #2844, where I added every missing availability managers to openstudio, as well as the ability to add several (currently one only is allowed) AVMs for a given plant loop. This will allow to properly control Solar collector loops (and many more).

It got merged in develop so should be available in the upcoming new release of OpenStudio.