# Does EnergyPlus calculate TDV in units of J TDV or kBtu TDV?

In the documentation for the FuelFactors object Source Energy Factor field, there are some instructions on how to calculate TDV. In particular, there's a value of 0.293 mentioned for electricity and 0.01 for natural gas. These are also present in the 5ZoneTDV.idf example file, along with some schedule objects to reference the CSV files where the TDV factors are stored. My question is what these numbers actually mean and how they were derived? These values only seem to be mentioned in relation to EnergyPlus and Energyplus is the original source of these two numbers.

For a little background, I'm trying to reproduce some TDV calculation results and I have failed repeatedly trying all sorts of plausible variations to the calculation. I'm not sure if the person who made the calculation made a mistake, if I am making a mistake, if there is a difference in TDV units, if I'm not working with the correct IDF, etc. I've used a procedure to calculate TDV in the past, but I've never known for sure what each part of the calculation is intuitively doing and where all the constants come from.

The calculation method for TDV has never been super clear and I'd like to be able to say something other than "I don't know how the TDV calculation works, but this is the formula." if I'm going to be using TDV in published research. I'm pretty sure the 0.293 and 0.01 in EnergyPlus are for converting the TDV factors from their units of kBtu/kWh and kBtu/therm in the CSV files to Joules/Joules, which would mean that the annual TDV calculation would be in units of J TDV rather than kBtu TDV, but I'm not sure. I thought I would ask the creators of the 5ZoneTDV.idf example file and clear up one of the many opaque portions of the TDV calculation that I don't fully understand yet.

Ha ha. I was using 2019 TDV factors, but the other source was using 2022 TDV factors, which got released last month. Phew! The results I've been giving people for years aren't wrong. : )