diff --git a/doc/input-output-reference/src/overview/group-internal-gains-people-lights-other.tex b/doc/input-output-reference/src/overview/group-internal-gains-people-lights-other.tex index 526a1be444f..abdcae5c837 100644 --- a/doc/input-output-reference/src/overview/group-internal-gains-people-lights-other.tex +++ b/doc/input-output-reference/src/overview/group-internal-gains-people-lights-other.tex @@ -2452,7 +2452,7 @@ \subsubsection{Outputs}\label{outputs-indoorlivingwall} \paragraph{Indoor Living Wall Sensible Heat Gain Rate {[}W{]}}\label{indoor-living-wall-sensible-heat-gain-rate-w} -This output is the sensible heat gain rate from indoor living walls in W and determined by surface heat balance. Positive sign represents heat loss from plants or heat gain to indoor space; negative sign represents heat gain to plants or heat loss from indoor space. +This output is the sensible heat gain rate from indoor living walls in W and determined by surface heat balance. Positive sign represents heat gain of living walls or heat loss of indoor spaces; negative sign represents heat loss of living walls or heat gain of indoor spaces. \paragraph{Indoor Living Wall Latent Heat Gain Rate {[}W{]}}\label{indoor-living-wall-latent-heat-gain-rate-w} diff --git a/src/EnergyPlus/IndoorGreen.cc b/src/EnergyPlus/IndoorGreen.cc index 19d73bd4366..eeab06cf33d 100644 --- a/src/EnergyPlus/IndoorGreen.cc +++ b/src/EnergyPlus/IndoorGreen.cc @@ -363,7 +363,8 @@ namespace IndoorGreen { ig.ZonePtr, ig.Name, DataHeatBalance::IntGainType::IndoorGreen, - &ig.SensibleRate, + &ig.SensibleRateLED, + nullptr, nullptr, &ig.LatentRate, nullptr, @@ -381,7 +382,7 @@ namespace IndoorGreen { state, "Indoor Living Wall Sensible Heat Gain Rate", Constant::Units::W, - state.dataHeatBalSurf->SurfQConvInRep(ig.SurfPtr), // positive sign: heat loss from plants; negative sign: heat gain to plants + ig.SensibleRate, OutputProcessor::TimeStepType::Zone, OutputProcessor::StoreType::Average, ig.Name); @@ -430,7 +431,7 @@ namespace IndoorGreen { SetupOutputVariable(state, "Indoor Living Wall LED Sensible Heat Gain Rate", Constant::Units::W, - ig.SensibleRate, + ig.SensibleRateLED, OutputProcessor::TimeStepType::Zone, OutputProcessor::StoreType::Average, ig.Name); @@ -464,6 +465,7 @@ namespace IndoorGreen { // Set the reporting variables to zero at each timestep. for (auto &ig : state.dataIndoorGreen->indoorGreens) { ig.SensibleRate = 0.0; + ig.SensibleRateLED = 0.0; ig.LatentRate = 0.0; ig.ZCO2 = 400; ig.ZPPFD = 0; @@ -581,9 +583,10 @@ namespace IndoorGreen { ZoneNewHum = ZoneSatHum; } HMid = Psychrometrics::PsyHFnTdbW(ZoneNewTemp, ZonePreHum); - ig.SensibleRate = (1 - ig.LEDRadFraction) * ig.LEDActualEleP; // convective heat gain from LED lights when LED is on; heat convection from + ig.SensibleRateLED = (1 - ig.LEDRadFraction) * ig.LEDActualEleP; // convective heat gain from LED lights when LED is on; heat convection from // plants was considered and counted from plant surface heat balance. - ig.LatentRate = ZoneAirVol * rhoair * (HCons - HMid) / Timestep; // unit W + ig.SensibleRate = state.dataHeatBalSurf->SurfQConvInRep(ig.SurfPtr) / Timestep; + ig.LatentRate = ZoneAirVol *rhoair *(HCons - HMid) / Timestep; // unit W state.dataHeatBalSurf->SurfQAdditionalHeatSourceInside(ig.SurfPtr) = -1.0 * ig.LambdaET + ig.LEDRadFraction * 0.9 * ig.LEDActualEleP /