CoilHeatingLowTempRadiantVarFlow does not get added to the demand side of a plant loop in IDF anymore

asked 2024-06-21 10:53:32 -0500

TobiasMaile's avatar

updated 2024-06-21 15:12:32 -0500

The following code works fine in OpenStudio 3.0.1 but not anymore in 3.2 and above. I found that the heating/coiling coil is an optional component now, so I used the get method. Still, something else must have changed so that the CoilHeatingLowTempRadiantVarFlow object is no longer converted into an IDF object.


heatingCoilBaseboard= OpenStudio::Model::CoilHeatingWaterBaseboard::new(model) baseboard = OpenStudio::Model::ZoneHVACBaseboardConvectiveWater.new(model, model.alwaysOnDiscreteSchedule(), heatingCoilBaseboard)

baseboard.addToThermalZone(zone) hotWaterPlant.addDemandBranchForComponent(baseboard.heatingCoil())

heatingCoilRadiant = OpenStudio::Model::CoilHeatingLowTempRadiantVarFlow::new(model, zoneHeatingTempSched) coolingCoilRadiant = OpenStudio::Model::CoilCoolingLowTempRadiantVarFlow::new(model, zoneCoolingTempSched)

radiantLowTVarFlow = OpenStudio::Model::ZoneHVACLowTempRadiantVarFlow.new(model, model.alwaysOnDiscreteSchedule(), heatingCoilRadiant, coolingCoilRadiant) radiantLowTVarFlow.setNumberofCircuits("CalculateFromCircuitLength")

radiantLowTVarFlow.addToThermalZone(zone)

hotWaterPlant.addDemandBranchForComponent(radiantLowTVarFlow.heatingCoil().get) chilledWaterPlant.addDemandBranchForComponent(radiantLowTVarFlow.coolingCoil().get)

radiantLowTVarFlow.setRadiantSurfaceType("Ceiling");

zone.setCoolingPriority(baseboard, 3) zone.setHeatingPriority(baseboard, 2) zone.setCoolingPriority(radiantLowTVarFlow, 2) zone.setHeatingPriority(radiantLowTVarFlow, 3)

edit retag flag offensive close merge delete

Comments

Can you upload your OSM to e.g. Google Drive or Dropbox? Not sure anyone can help without more information. Also, it maybe related to https://github.com/NREL/OpenStudio/pu....

shorowit's avatar shorowit  ( 2024-06-25 14:02:06 -0500 )edit