I would like to express my deep gratitude to everyone who played a part in shaping this thesis. First of all, to my supervisors Clas Rydergren and David Gundlegård. Thank you for always making time for me, for your guidance and inspiration, and for your genuine and thorough feedback. To my colleagues at KTS for creating a fun and motivating workplace. It is inspiring to be in an environment with such passionate and talented people. A special thanks to Rasmus for never failing to share your wide knowledge, and to Vivvi for all your administrative assistance. I extend my gratitude to our colleagues from KTH and the Swedish Transport Administration (Trafikverket) in the MMTL project for sharing your insights on traffic modeling, data analysis, and traffic management, and to Nikolaos Tsanakas who co-authored one of the papers in this thesis. The work was funded by the Swedish Transport Administration via the Centre for Traffic Research, CTR.Lastly, I want to thank my family and friends for countless talks, lots of laughter, and never-ending encouragement. Thank you, Arvid, for your support, your patience, and your endless love.