Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

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

asked 2017-12-04 21:39:06 -0600

michael gravatar image

updated 2017-12-05 15:15:07 -0600

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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-12-06 01:26:53 -0600

updated 2017-12-06 03:22:28 -0600

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:

m = OpenStudio::Model::Model.new
p = OpenStudio::Model::PlantLoop.new(m)
p2 = OpenStudio::Model::PlantLoop.new(m)

s = OpenStudio::Model::SolarCollectorFlatPlateWater.new(m)
p.addSupplyBranchForComponent(s)

wh = OpenStudio::Model::WaterHeaterMixed.new(m)
p.addDemandBranchForComponent(wh)
p2.addSupplyBranchForComponent(wh)


avm = OpenStudio::Model::AvailabilityManagerDifferentialThermostat.new(m)
avm.setHotNode(p.supplyOutletNode)
avm.setColdNode(wh.supplyInletModelObject.get.to_Node.get)

avm.setTemperatureDifferenceOnLimit(10)
avm.setTemperatureDifferenceOffLimit(2)

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.

edit flag offensive delete link more
0

answered 2017-12-05 18:14:07 -0600

Avi gravatar image

You could use E+ measure. Please see that answer.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-12-04 21:39:06 -0600

Seen: 28 times

Last updated: Dec 06