示例#1
0
SizingSystem::SizingSystem(const Model& model, const AirLoopHVAC & airLoopHVAC)
  : ModelObject(SizingSystem::iddObjectType(),model)
{
  BOOST_ASSERT(getImpl<detail::SizingSystem_Impl>());

  setAirLoopHVAC(airLoopHVAC);

  //these default sizing:system settings are suitable for a multizone VAV system.
  setTypeofLoadtoSizeOn("Sensible");
  autosizeDesignOutdoorAirFlowRate();
  setMinimumSystemAirFlowRatio(0.3);
  setPreheatDesignTemperature(7.0);
  setPreheatDesignHumidityRatio(0.008);
  setPrecoolDesignTemperature(12.8);
  setPrecoolDesignHumidityRatio(0.008);
  setCentralCoolingDesignSupplyAirTemperature(12.8);
  setCentralHeatingDesignSupplyAirTemperature(16.7);
  setSizingOption("NonCoincident");
  setAllOutdoorAirinCooling("No");
  setAllOutdoorAirinHeating("No");
  setCentralCoolingDesignSupplyAirHumidityRatio(0.0085);
  setCentralHeatingDesignSupplyAirHumidityRatio(0.0080);
  setCoolingDesignAirFlowMethod("DesignDay");
  setCoolingDesignAirFlowRate(0.0);
  setHeatingDesignAirFlowMethod("DesignDay");
  setHeatingDesignAirFlowRate(0.0);
  setSystemOutdoorAirMethod("ZoneSum");

}
ControllerMechanicalVentilation::ControllerMechanicalVentilation(const Model& model)
  : ModelObject(ControllerMechanicalVentilation::iddObjectType(),model)
{
  OS_ASSERT(getImpl<detail::ControllerMechanicalVentilation_Impl>());

  Schedule schedule = model.alwaysOnDiscreteSchedule();

  setAvailabilitySchedule(schedule);

  setSystemOutdoorAirMethod("ZoneSum");
}