there's the default levy size for castles, cities and churches in Static_modifier in common folder
the rest is upto the attributes of buildings.
there are also provincial modifiers such as levy_size = that you can give to provinces through events to increase or decrease levy size by a percentage