Measuring or simulating ambient conditions