Clearly you can’t code resistance, watts per kilogram, drafting, etc. You are trying to boil the ocean and failing miserably.
Please just have a mode, where speed is determined by WATTS and nothing else. That way i can ride with people putting out similar watts, have competitive races, etc. I don’t have to worry about bike frames, tires, road resistance, my weight, your stupid drafting logic…