Stay in Madrid in August
Madrid is full people all the year, you walk by the street and you always see people, in the shop, in the restaurant, in the theatre,... The traffic is complicate all the year, if you have to get work about 8 or 9 am you have a problem in the road in many place and if you leave the work around 18:00 it's the same. When you get in to city there are many car and many traffic light and if you want across the city you can take double time that now.
August is the best time for visit the museums, big building, go to the theatre because all the people who live in Madrid are in the beach or in the village eating a lot of barbacue and drink a lot of beer.
You can find parking quickly and you can enjoy the city without the crowd.