The moment on the pole due to wind on the pole itself and its weight, tilt is split into x and y components - sine and cosine of the wind direction and tilt direction. The code uses the degree of pole tilt where it should be using the direction the pole is tiliting in.
Problem description
The moment on the pole due to wind on the pole itself and its weight, tilt is split into x and y components - sine and cosine of the wind direction and tilt direction. The code uses the degree of pole tilt where it should be using the direction the pole is tiliting in.
Steps to reproduce
Go to this link: https://github.com/arras-energy/gridlabd/blob/137e7cee81fa56d3da33e7b05bda37fe30f24bbf/module/powerflow/pole.cpp#L489C92-L489C102
Expected behavior
tilt_angle
(the degree of tilt off the pole center line) should betilt_direction
(the direction the pole is leaning in).System information
Release 4.3.1 (chiba-1) (https://github.com/arras-energy/gridlabd/pull/1145[)](https://github.com/arras-energy/gridlabd/commit/0e9b8ee3513503c914e8e225baf18a84c17bbb42)