Adaptivity criteria for the design of building envelopes