answered 2020-05-21 21:59:58 -0500
Have you checked that you are passing in the angle in the expected units (degrees/radians)? Perhaps if EnergyPlus is expecting radians and you are passing degrees, this could explain your results.