2

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)

TobiasMaile's avatar
41
TobiasMaile
asked 2024-06-21 10:53:32 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2024-06-21 15:12:32 -0500
edit flag offensive 0 remove flag 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

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

TobiasMaile's avatar TobiasMaile (2024-07-03 09:35:16 -0500) edit
add a comment see more comments

1 Answer

3

OpenStudio is providing a warning that indicates the issue:

[openstudio.energyplus.ForwardTranslator] <-1> Object of type 'OS:ZoneHVAC:LowTemperatureRadiant:VariableFlow' and named 'Zone HVAC Low Temperature Radiant Variable Flow 1' does not have any target surfaces with ConstructionWithInternalSource, it will not be translated

The issue is that you're calling radiantLowTVarFlow.setRadiantSurfaceType("Ceiling") but you don't have any ceiling surfaces with ConstructionWithInternalSource. In your model, the only ConstructionWithInternalSource is attached to an InternalMass object. It's possible that that will work if you use radiantLowTVarFlow.setRadiantSurfaceType("AllSurfaces") instead. Otherwise you need to use a ceiling Surface instead of an InternalMass object.

shorowit's avatar
11.8k
shorowit
answered 2024-07-03 11:30:41 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments