I am trying to set "CoilCoolingWaterPanelRadiant.setCoolingControlTemperatureSchedule" but keep getting 'incompatible ScheduleTypeLimits' error OpenstudioSDK 3.10.0
I am trying to set "CoilCoolingWaterPanelRadiant.setCoolingControlTemperatureSchedule" but keep getting error the following error:
[openstudio.model.ModelObject] <0> For Object of type 'OS:Coil:Cooling:Water:Panel:Radiant' and named 'Clg Pnl Coil' cannot set Schedule Cooling Control Temperature=Medium Office Cooling Setpoint Schedule because it has an incompatible ScheduleTypeLimits
I have a minimum python example here:
from openstudio import model as osmod
model_os = osmod.exampleModel()
sch_rule = model_os.getScheduleRulesetByName('Medium Office Cooling Setpoint Schedule').get()
print(sch_rule)
print(sch_rule.scheduleTypeLimits().get())
clg_pnl = osmod.ZoneHVACCoolingPanelRadiantConvectiveWater(model_os)
clg_pnl.setName("Clg Pnl")
hvaccomp = clg_pnl.coolingCoil()
clg_pnl_coil_optional = hvaccomp.to_CoilCoolingWaterPanelRadiant()
if clg_pnl_coil_optional.is_initialized():
clg_pnl_coil = clg_pnl_coil_optional.get()
clg_pnl_coil.setName("Clg Pnl Coil")
clg_pnl_coil.setControlType('OperativeTemperature')
clg_pnl_coil.setCoolingControlTemperatureSchedule(sch_rule)
I have checked the 'ScheduleTypeLimits' and the ScheduleTypeRegistry , it should be compatible, I cannot figure out what is wrong. Does anyone has similar experience before? Thanks



