Esempio n. 1
0
 void ChillerAbsorption_Impl::autosize() {
   autosizeNominalCapacity();
   autosizeNominalPumpingPower();
   autosizeDesignChilledWaterFlowRate();
   autosizeDesignCondenserWaterFlowRate();
   autosizeDesignGeneratorFluidFlowRate();
 }
Esempio n. 2
0
ChillerAbsorption::ChillerAbsorption(const Model& model)
  : WaterToWaterComponent(ChillerAbsorption::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::ChillerAbsorption_Impl>());
  autosizeNominalCapacity();
  autosizeNominalPumpingPower();
  setMinimumPartLoadRatio(0.15);
  setMaximumPartLoadRatio(1.0);
  setOptimumPartLoadRatio(0.65);
  setDesignCondenserInletTemperature(35.0);
  autosizeDesignChilledWaterFlowRate();
  autosizeDesignCondenserWaterFlowRate();
  setCoefficient1oftheHotWaterorSteamUsePartLoadRatioCurve(0.03303);
  setCoefficient2oftheHotWaterorSteamUsePartLoadRatioCurve(0.6852);
  setCoefficient3oftheHotWaterorSteamUsePartLoadRatioCurve(0.2818);
  setCoefficient1ofthePumpElectricUsePartLoadRatioCurve(1.0);
  setCoefficient2ofthePumpElectricUsePartLoadRatioCurve(0);
  setCoefficient3ofthePumpElectricUsePartLoadRatioCurve(0);
  setChilledWaterOutletTemperatureLowerLimit(5);
  setChillerFlowMode("NotModulated");
  setGeneratorHeatSourceType("Steam");
  autosizeDesignGeneratorFluidFlowRate();
  setDegreeofSubcoolinginSteamGenerator(1.0);
  setSizingFactor(1.0);
}
CoilHeatingGasMultiStageStageData::CoilHeatingGasMultiStageStageData(const Model& model)
  : ModelObject(CoilHeatingGasMultiStageStageData::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::CoilHeatingGasMultiStageStageData_Impl>());

  setGasBurnerEfficiency(0.80);
  autosizeNominalCapacity();
  setParasiticElectricLoad(0.0);
}
ZoneHVACBaseboardConvectiveElectric::ZoneHVACBaseboardConvectiveElectric(const Model& model)
  : ZoneHVACComponent(ZoneHVACBaseboardConvectiveElectric::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::ZoneHVACBaseboardConvectiveElectric_Impl>());

  autosizeNominalCapacity();

  Schedule schedule = model.alwaysOnDiscreteSchedule();

  setAvailabilitySchedule(schedule);

  setEfficiency(1.0);
}
Esempio n. 5
0
BoilerSteam::BoilerSteam(const Model& model)
  : StraightComponent(BoilerSteam::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::BoilerSteam_Impl>());

  setFuelType("NaturalGas");
  setMaximumOperatingPressure(160000);
  setTheoreticalEfficiency(0.8);
  setDesignOutletSteamTemperature(115);
  autosizeNominalCapacity();
  setMinimumPartLoadRatio(0.00001);
  setMaximumPartLoadRatio(1.0);
  setOptimumPartLoadRatio(0.2);
  setCoefficient1ofFuelUseFunctionofPartLoadRatioCurve(0.8);
  setCoefficient2ofFuelUseFunctionofPartLoadRatioCurve(0.1);
  setCoefficient3ofFuelUseFunctionofPartLoadRatioCurve(0.1);
  setSizingFactor(1.0);
}
ChillerAbsorptionIndirect::ChillerAbsorptionIndirect(const Model& model)
  : WaterToWaterComponent(ChillerAbsorptionIndirect::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::ChillerAbsorptionIndirect_Impl>());

  autosizeNominalCapacity();
  autosizeNominalPumpingPower();
  setMinimumPartLoadRatio(0.15);
  setMaximumPartLoadRatio(1.0);
  setOptimumPartLoadRatio(0.65);
  setDesignCondenserInletTemperature(35.0);
  setCondenserInletTemperatureLowerLimit(10.0);
  setChilledWaterOutletTemperatureLowerLimit(5.0);
  autosizeDesignChilledWaterFlowRate();
  autosizeDesignCondenserWaterFlowRate();
  setChillerFlowMode("NotModulated");
  setGeneratorHeatSourceType("Steam");
  autosizeDesignGeneratorFluidFlowRate();
  setTemperatureLowerLimitGeneratorInlet(30.0);
  setDegreeofSubcoolinginSteamGenerator(2.0);
  setDegreeofSubcoolinginSteamCondensateLoop(12.0);
  setSizingFactor(1.0);

  {
    CurveCubic curve(model);
    curve.setCoefficient1Constant(0.18892);
    curve.setCoefficient2x(0.968044);
    curve.setCoefficient3xPOW2(1.119202);
    curve.setCoefficient4xPOW3(-0.5034);
    curve.setMinimumValueofx(0.15);
    curve.setMaximumValueofx(1.0);
    setGeneratorHeatInputFunctionofPartLoadRatioCurve(curve);
  }

  {
    CurveQuadratic curve(model);
    curve.setCoefficient1Constant(1.0);
    curve.setCoefficient2x(0.0);
    curve.setCoefficient3xPOW2(0.0);
    curve.setMinimumValueofx(0.15);
    curve.setMaximumValueofx(1.0);
    setPumpElectricInputFunctionofPartLoadRatioCurve(curve);
  }

  {
    CurveCubic curve(model);
    curve.setCoefficient1Constant(0.245507);
    curve.setCoefficient2x(0.023614);
    curve.setCoefficient3xPOW2(0.0000278);
    curve.setCoefficient4xPOW3(0.000013);
    curve.setMinimumValueofx(7.0);
    curve.setMaximumValueofx(25.0);
    setCapacityCorrectionFunctionofCondenserTemperatureCurve(curve);
  }

  {
    CurveCubic curve(model);
    curve.setCoefficient1Constant(1.0);
    curve.setCoefficient2x(0.0);
    curve.setCoefficient3xPOW2(0.0);
    curve.setCoefficient4xPOW3(0.0);
    curve.setMinimumValueofx(0.0);
    curve.setMaximumValueofx(100.0);
    setCapacityCorrectionFunctionofGeneratorTemperatureCurve(curve);
  }

  {
    CurveCubic curve(model);
    curve.setCoefficient1Constant(0.690571);
    curve.setCoefficient2x(0.065571);
    curve.setCoefficient3xPOW2(-0.00289);
    curve.setCoefficient4xPOW3(0.0);
    curve.setMinimumValueofx(4.0);
    curve.setMaximumValueofx(10.0);
    setCapacityCorrectionFunctionofChilledWaterTemperatureCurve(curve);
  }

  {
    CurveCubic curve(model);
    curve.setCoefficient1Constant(0.712019);
    curve.setCoefficient2x(-0.00478);
    curve.setCoefficient3xPOW2(0.000864);
    curve.setCoefficient4xPOW3(-0.000013);
    curve.setMinimumValueofx(7.0);
    curve.setMaximumValueofx(30.0);
    setGeneratorHeatInputCorrectionFunctionofCondenserTemperatureCurve(curve);
  }

  {
    CurveCubic curve(model);
    curve.setCoefficient1Constant(0.995571);
    curve.setCoefficient2x(0.046821);
    curve.setCoefficient3xPOW2(-0.01099);
    curve.setCoefficient4xPOW3(0.000608);
    curve.setMinimumValueofx(4.0);
    curve.setMaximumValueofx(10.0);
    setGeneratorHeatInputCorrectionFunctionofChilledWaterTemperatureCurve(curve);
  }
}
Esempio n. 7
0
DistrictCooling::DistrictCooling(const Model& model)
  : StraightComponent(DistrictCooling::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::DistrictCooling_Impl>());
  autosizeNominalCapacity();
}