ZoneHVACLowTemperatureRadiantElectric::ZoneHVACLowTemperatureRadiantElectric(const Model& model, Schedule & availabilitySchedule, Schedule & heatingTemperatureSchedule) : ZoneHVACComponent(ZoneHVACLowTemperatureRadiantElectric::iddObjectType(),model) { OS_ASSERT(getImpl<detail::ZoneHVACLowTemperatureRadiantElectric_Impl>()); bool ok = setAvailabilitySchedule(availabilitySchedule); if (!ok) { //remove(); LOG_AND_THROW("Unable to set " << briefDescription() << "'s availability schedule to " << availabilitySchedule.briefDescription() << "."); } ok = setHeatingSetpointTemperatureSchedule(heatingTemperatureSchedule); if (!ok) { //remove(); //LOG_AND_THROW("Unable to set " << briefDescription() << "'s heating temperature schedule to " // << schedule.briefDescription() << "."); } resetRadiantSurfaceType(); autosizeMaximumElectricalPowertoPanel(); setTemperatureControlType("MeanAirTemperature"); setHeatingThrottlingRange(2.0); //setString(OS_ZoneHVAC_LowTemperatureRadiant_ElectricFields::HeatingSetpointTemperatureScheduleName,""); }
bool ZoneHVACLowTempRadiantVarFlow_Impl::setRadiantSurfaceType(boost::optional<std::string> radiantSurfaceType) { bool result(false); if (radiantSurfaceType) { result = setString(OS_ZoneHVAC_LowTemperatureRadiant_VariableFlowFields::RadiantSurfaceType, radiantSurfaceType.get()); } else { resetRadiantSurfaceType(); result = true; } return result; }