I think Chip Barnaby was working on something like that for an ASHRAE research project at one point. I'm not sure if it was ever released, you might try contacting Chip.