Skip to content

Commit

Permalink
Merge pull request #2160 from NREL/2046-chiller-curves
Browse files Browse the repository at this point in the history
2046 chiller curves
  • Loading branch information
kbenne committed Mar 19, 2016
2 parents a0ebb7b + eb156c9 commit 99fdc85
Show file tree
Hide file tree
Showing 3 changed files with 795 additions and 693 deletions.
33 changes: 32 additions & 1 deletion openstudiocore/src/model/HVACTemplates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,38 @@ Loop addSystemType7(Model & model)

pump2.addToNode(chilledWaterInletNode);

ChillerElectricEIR chiller(model);
CurveBiquadratic ccFofT(model);
ccFofT.setCoefficient1Constant(0.258);
ccFofT.setCoefficient2x(0.0389);
ccFofT.setCoefficient3xPOW2(-0.000217);
ccFofT.setCoefficient4y(0.0469);
ccFofT.setCoefficient5yPOW2(-0.000943);
ccFofT.setCoefficient6xTIMESY(-0.000343);
ccFofT.setMinimumValueofx(5);
ccFofT.setMaximumValueofx(10);
ccFofT.setMinimumValueofy(24);
ccFofT.setMaximumValueofy(35);

CurveBiquadratic eiToCORFofT(model);
eiToCORFofT.setCoefficient1Constant(0.934);
eiToCORFofT.setCoefficient2x(-0.0582);
eiToCORFofT.setCoefficient3xPOW2(0.0045);
eiToCORFofT.setCoefficient4y(0.00243);
eiToCORFofT.setCoefficient5yPOW2(0.000486);
eiToCORFofT.setCoefficient6xTIMESY(-0.00122);
eiToCORFofT.setMinimumValueofx(5);
eiToCORFofT.setMaximumValueofx(10);
eiToCORFofT.setMinimumValueofy(24);
eiToCORFofT.setMaximumValueofy(35);

CurveQuadratic eiToCORFofPLR(model);
eiToCORFofPLR.setCoefficient1Constant(0.222903);
eiToCORFofPLR.setCoefficient2x(0.313387);
eiToCORFofPLR.setCoefficient3xPOW2(0.46371);
eiToCORFofPLR.setMinimumValueofx(0);
eiToCORFofPLR.setMaximumValueofx(1);

ChillerElectricEIR chiller(model,ccFofT,eiToCORFofT,eiToCORFofPLR );

node = chilledWaterPlant.supplySplitter().lastOutletModelObject()->cast<Node>();
chiller.addToNode(node);
Expand Down
Loading

0 comments on commit 99fdc85

Please sign in to comment.