In northern Thailand, Chiang Mai is one of the largest provinces, hosting an urban area with over 40,000 buildings. Typically, these buildings are constructed as low- to mid-rise reinforced concrete (RC) structures with structural systems consisting of RC beam-column frames and masonry infill walls. Given that this province is surrounded by several active faults, the safety and serviceability of these buildings during earthquakes are significant concerns for both residents and city officials. In general, the safety and serviceability of a group of buildings are determined by the fragility func Authors: Phichaya,,Suwansaya;Pennung,,Warnitchai;Jirapat,, Watchawong. Presented at TSER2023.