CoilHeatingLowTempRadiantVarFlow does not get added to the demand side of a plant loop in IDF anymore
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)
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....
Here are two OSM files one in version 3.0.1 and one in version 3.7.0. The first one runs fine and the second one creates the following error message: * Severe * <root>[Branch][Chilled Water Loop Demand Branch 1][components][0] - Missing required property 'component_name'.
OSM 3.0.1
OSM 3.7.0