Hi,
this could be taxonomy you are speaking about, e.g. if you look at OQ demos
OpenQuake Engine\demos\risk\ClassicalRisk\exposure_model.csv
id,lon,lat,taxonomy,number,structural,nonstructural,contents,night,NAME_1,NAME_2,NAME_3,NAME_4
a1,83.31382,29.46117,Wood,1,11340,19845,5670,5,Mid-Western,Karnali,Dolpa,Tinje
a2,83.31382,29.23617,Wood,1,11340,19845,5670,5,Mid-Western,Karnali,Dolpa,Tinje
a3,83.53882,29.08617,Wood,1,11340,19845,5670,5,Mid-Western,Karnali,Dolpa,Chharka
taxonomy is just construction material (Wood/Adobe/Stone-Masonry/Unreinforced-Brick-Masonry/Concrete) because other characteristics are unknown.
Precast Reinforced Concrete with Moment Frame, 1-3 stories year built 1990-2000 would get a taxonomy string CR+PC/LFM/HBET:1,3/YBET:1990,2000.
With that you can group buildings with similar characteristics into one taxonomy - one taxonomy will use the same fragility/vulnerability function.
If you want to use simpler strings, no problem, just the id in vulnerability needs to match the taxonomy in exposure.
(Like in the example located structural_vulnerability_model.xml <vulnerabilityFunction dist="LN" id="Wood"> will be matched with the taxonomy="Wood" in exposure_model.csv).
Peter