I think NYC is king of sunlight regulation https://www.nyc.gov/assets/oec/technical-manual/08_Shadows_2...
40 feet, times of year, 20% shadow. make a model. At the surface level, they look similar to me. NYC has been doing that for a whole lot longer, I wouldn't doubt their planning department has a more refined process. But it's not like SF is alone in this kind of regulation.
* has smaller time requirements for sunlight; the planning requirements state that an area should have 4-6 hours of sunlight a day, whereas SF looks at if it gets any worse over any time period
* NYC only protects specific kinds of park uses for sunlight, so like sunlight is not material for a basketball court, for example.