Platform selection for complex systems: building automation systems