boost::optional<double> Lights_Impl::powerPerPerson() const { OptionalDouble temp = lightsDefinition().wattsperPerson(); if (temp) { return temp.get() * multiplier(); } return temp; }
boost::optional<double> ElectricEquipment_Impl::designLevel() const { OptionalDouble result = electricEquipmentDefinition().designLevel(); if (result) { return result.get() * multiplier(); } return result; }
bool SizingPlant_Impl::setLoopDesignTemperatureDifference(const Quantity& loopDesignTemperatureDifference) { OptionalDouble value = getDoubleFromQuantity(OS_Sizing_PlantFields::LoopDesignTemperatureDifference,loopDesignTemperatureDifference); if (!value) { return false; } return setLoopDesignTemperatureDifference(value.get()); }
bool HeatBalanceAlgorithm_Impl::setSurfaceTemperatureUpperLimit(const Quantity& surfaceTemperatureUpperLimit) { OptionalDouble value = getDoubleFromQuantity(OS_HeatBalanceAlgorithmFields::SurfaceTemperatureUpperLimit,surfaceTemperatureUpperLimit); if (!value) { return false; } return setSurfaceTemperatureUpperLimit(value.get()); }
bool DesignSpecificationZoneAirDistribution_Impl::setZoneAirDistributionEffectivenessinHeatingMode(const Quantity& zoneAirDistributionEffectivenessinHeatingMode) { OptionalDouble value = getDoubleFromQuantity(OS_DesignSpecification_ZoneAirDistributionFields::ZoneAirDistributionEffectivenessinHeatingMode,zoneAirDistributionEffectivenessinHeatingMode); if (!value) { return false; } return setZoneAirDistributionEffectivenessinHeatingMode(value.get()); }
bool OutputControlReportingTolerances_Impl::setToleranceforTimeCoolingSetpointNotMet(const Quantity& toleranceforTimeCoolingSetpointNotMet) { OptionalDouble value = getDoubleFromQuantity(OS_OutputControl_ReportingTolerancesFields::ToleranceforTimeCoolingSetpointNotMet,toleranceforTimeCoolingSetpointNotMet); if (!value) { return false; } return setToleranceforTimeCoolingSetpointNotMet(value.get()); }
bool ConstructionWithInternalSource_Impl::setTubeSpacing(const Quantity& tubeSpacing) { OptionalDouble value = getDoubleFromQuantity(OS_Construction_InternalSourceFields::TubeSpacing,tubeSpacing); if (!value) { return false; } return setTubeSpacing(value.get()); }
bool MasslessOpaqueMaterial_Impl::setVisibleAbsorptance(const Quantity& visibleAbsorptance) { OptionalDouble value = getDoubleFromQuantity(OS_Material_NoMassFields::VisibleAbsorptance,visibleAbsorptance); if (!value) { return false; } return setVisibleAbsorptance(value.get()); }
bool MasslessOpaqueMaterial_Impl::setDensity(const Quantity& density) { OptionalDouble value = getDoubleFromQuantity(OS_MaterialFields::Density,density); if (!value) { return false; } return setDensity(value.get()); }
bool SpaceInfiltrationEffectiveLeakageArea_Impl::setWindCoefficient(const Quantity& windCoefficient) { OptionalDouble value = getDoubleFromQuantity(OS_SpaceInfiltration_EffectiveLeakageAreaFields::WindCoefficient,windCoefficient); if (!value) { return false; } return setWindCoefficient(value.get()); }
bool MasslessOpaqueMaterial_Impl::setThermalResistance(const Quantity& thermalResistance) { OptionalDouble value = getDoubleFromQuantity(OS_Material_NoMassFields::ThermalResistance,thermalResistance); if (!value) { return false; } return setThermalResistance(value.get()); }
bool SpaceInfiltrationEffectiveLeakageArea_Impl::setEffectiveAirLeakageArea(const Quantity& effectiveAirLeakageArea) { OptionalDouble value = getDoubleFromQuantity(OS_SpaceInfiltration_EffectiveLeakageAreaFields::EffectiveAirLeakageArea,effectiveAirLeakageArea); if (!value) { return false; } return setEffectiveAirLeakageArea(value.get()); }
boost::optional<double> InternalMass_Impl::surfaceAreaPerPerson() const { OptionalDouble result = internalMassDefinition().surfaceAreaperPerson(); if (result) { return result.get() * multiplier(); } return result; }
bool SimulationControl_Impl::setTemperatureConvergenceToleranceValue(const Quantity& temperatureConvergenceToleranceValue) { OptionalDouble value = getDoubleFromQuantity(OS_SimulationControlFields::TemperatureConvergenceToleranceValue,temperatureConvergenceToleranceValue); if (!value) { return false; } return setTemperatureConvergenceToleranceValue(value.get()); }
bool RefractionExtinctionGlazing_Impl::setDirtCorrectionFactorforSolarandVisibleTransmittance(const Quantity& dirtCorrectionFactorforSolarandVisibleTransmittance) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::DirtCorrectionFactorforSolarandVisibleTransmittance,dirtCorrectionFactorforSolarandVisibleTransmittance); if (!value) { return false; } return setDirtCorrectionFactorforSolarandVisibleTransmittance(value.get()); }
bool MasslessOpaqueMaterial_Impl::setSpecificHeat(const Quantity& specificHeat) { OptionalDouble value = getDoubleFromQuantity(OS_MaterialFields::SpecificHeat,specificHeat); if (!value) { return false; } return setSpecificHeat(value.get()); }
bool ZoneHVACBaseboardConvectiveElectric_Impl::setEfficiency(const Quantity& efficiency) { OptionalDouble value = getDoubleFromQuantity(OS_ZoneHVAC_Baseboard_Convective_ElectricFields::Efficiency,efficiency); if (!value) { return false; } return setEfficiency(value.get()); }
bool RefractionExtinctionGlazing_Impl::setThickness(const Quantity& thickness) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::Thickness,thickness); if (!value) { return false; } return setThickness(value.get()); }
bool BoilerSteam_Impl::setSizingFactor(const Quantity& sizingFactor) { OptionalDouble value = getDoubleFromQuantity(OS_Boiler_SteamFields::SizingFactor,sizingFactor); if (!value) { return false; } return setSizingFactor(value.get()); }
bool RefractionExtinctionGlazing_Impl::setSolarIndexofRefraction(const Quantity& solarIndexofRefraction) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::SolarIndexofRefraction,solarIndexofRefraction); if (!value) { return false; } return setSolarIndexofRefraction(value.get()); }
bool DistrictCooling_Impl::setNominalCapacity(const Quantity& nominalCapacity) { OptionalDouble value = getDoubleFromQuantity(OS_DistrictCoolingFields::NominalCapacity,nominalCapacity); if (!value) { return false; } return setNominalCapacity(value.get()); }
bool RefractionExtinctionGlazing_Impl::setVisibleExtinctionCoefficient(const Quantity& visibleExtinctionCoefficient) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::VisibleExtinctionCoefficient,visibleExtinctionCoefficient); if (!value) { return false; } return setVisibleExtinctionCoefficient(value.get()); }
bool HeatBalanceAlgorithm_Impl::setMaximumSurfaceConvectionHeatTransferCoefficientValue(const Quantity& maximumSurfaceConvectionHeatTransferCoefficientValue) { OptionalDouble value = getDoubleFromQuantity(OS_HeatBalanceAlgorithmFields::MaximumSurfaceConvectionHeatTransferCoefficientValue,maximumSurfaceConvectionHeatTransferCoefficientValue); if (!value) { return false; } return setMaximumSurfaceConvectionHeatTransferCoefficientValue(value.get()); }
bool RefractionExtinctionGlazing_Impl::setInfraredTransmittanceatNormalIncidence(const Quantity& infraredTransmittanceatNormalIncidence) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::InfraredTransmittanceatNormalIncidence,infraredTransmittanceatNormalIncidence); if (!value) { return false; } return setInfraredTransmittanceatNormalIncidence(value.get()); }
bool DesignSpecificationZoneAirDistribution_Impl::setZoneSecondaryRecirculationFraction(const Quantity& zoneSecondaryRecirculationFraction) { OptionalDouble value = getDoubleFromQuantity(OS_DesignSpecification_ZoneAirDistributionFields::ZoneSecondaryRecirculationFraction,zoneSecondaryRecirculationFraction); if (!value) { return false; } return setZoneSecondaryRecirculationFraction(value.get()); }
bool RefractionExtinctionGlazing_Impl::setInfraredHemisphericalEmissivity(const Quantity& infraredHemisphericalEmissivity) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::InfraredHemisphericalEmissivity,infraredHemisphericalEmissivity); if (!value) { return false; } return setInfraredHemisphericalEmissivity(value.get()); }
boost::optional<double> ElectricEquipment_Impl::powerPerPerson() const { OptionalDouble result = electricEquipmentDefinition().wattsperPerson(); if (result) { return result.get() * multiplier(); } return result; }
bool RefractionExtinctionGlazing_Impl::setConductivity(const Quantity& conductivity) { OptionalDouble value = getDoubleFromQuantity(OS_WindowMaterial_Glazing_RefractionExtinctionMethodFields::Conductivity,conductivity); if (!value) { return false; } return setConductivity(value.get()); }
bool ZoneCapacitanceMultiplierResearchSpecial_Impl::setCarbonDioxideCapacityMultiplier(const Quantity& carbonDioxideCapacityMultiplier) { OptionalDouble value = getDoubleFromQuantity(OS_ZoneCapacitanceMultiplier_ResearchSpecialFields::CarbonDioxideCapacityMultiplier,carbonDioxideCapacityMultiplier); if (!value) { return false; } return setCarbonDioxideCapacityMultiplier(value.get()); }
boost::optional<double> Lights_Impl::lightingLevel() const { OptionalDouble temp = lightsDefinition().lightingLevel(); if (temp) { return temp.get() * multiplier(); } return temp; }