TRNSYS g-function generator using a simple boundary condition