In this Grasshopper Ladybug example file, you can use the Ladybug Sun Path component to simulate the shadow of a building. Free Example File👇 https://parametrichouse.com/ladybug-sunpath
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.