-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plant Component Setpoint Operation Scheme #1654
Comments
here's where it happens, inside OpenStudio/src/energyplus/ForwardTranslator/ForwardTranslatePlantEquipmentOperationSchemes.cpp Lines 136 to 153 in 7cec475
|
It begs the question of whether you actually need TWO plant eq operation schemes for the same object... In your above example, if I put only one parallel branch (WH1) and one after the spliiter (WH2), you will end up with the waterheaters being referenced by both a HeatingLoad and a ComponentSetpoint one:
I haven't found a single E+ example file where a PlantEquipmentOperation:ComponentSetpoint AND another (like PlantEquipmentOperation:Heating/CoolingLoad) are listed on the PlantEquipmentOperationSchemes @kbenne thoughts please? |
Ruby test code include OpenStudio::Model
m = Model.new
p = PlantLoop.new(m)
wh1 = WaterHeaterMixed.new(m)
p.addSupplyBranchForComponent(wh1)
pump = PumpVariableSpeed.new(m)
pump.addToNode(p.supplyInletNode)
sch = ScheduleConstant.new(m)
sch.setValue(45.0)
spm_sch = SetpointManagerScheduled.new(m, sch)
spm_sch.addToNode(wh1.supplyOutletModelObject.get.to_Node.get)
wh2 = WaterHeaterMixed.new(m)
wh2.addToNode(p.supplyOutletNode)
spm_sch2 = spm_sch.clone(m).to_SetpointManagerScheduled.get
spm_sch2.addToNode(p.supplyOutletNode)
m.save('1654_model.osm', true)
ft = OpenStudio::EnergyPlus::ForwardTranslator.new
w = ft.translateModel(m)
puts w.getObjectsByType("PlantEquipmentOperationSchemes")
puts w.getObjectsByType("PlantEquipmentOperation:HeatingLoad")
puts w.getObjectsByType("PlantEquipmentOperation:HeatingLoad")[0].getTarget(3).get
puts w.getObjectsByType("PlantEquipmentOperation:ComponentSetpoint")
w.save('1654_model.idf', true) Output:
|
I agree two component operation schemes for the same component seems silly, but two different operation schemes for two different components is a thing right? I thought the issue I reported was a problem even with one operation scheme per component. |
It's a thing to have multiple plant equipment operation schemes yes. But the PlantEquipmentOperationScheme is listing stuff in priority order: https://bigladdersoftware.com/epx/docs/9-5/input-output-reference/group-plant-condenser-control.html#plantequipmentoperationschemes Here basically since these are both defaulted, the PlantEquipmentOperation:HeatingLoad applies to a range up to 1000000000 W (so basically "INFINITY"), and is listed first. As a result the If I put a WaterHeaterMixed on a branch between the mixer and splitter:
|
ping @kbenne |
@kbenne I'd like to eventually reach a consensus on this one and either fix or close. Could you carve 15min in the coming weeks to think about it please? Otherwise I'll ping you in 6 months again ;) |
The component setpoint operation scheme is not working for components after the supply side mixer, and directly upstream of the supply outlet node. The workaround is to insert a pipe between the setpoint component and the supply outlet node.
This does not work.
This is the workaround.
The text was updated successfully, but these errors were encountered: