Presentation of diploma work. Niklas Edberg, IRFU Title: The Rosetta Mars Flyby Abstract: We focus on a short, but interesting, episode of the decade-long Rosetta mission. In February 2007 the Rosetta spacecraft will pass by the planet Mars. The Langmuir probes onboard, provided by the Swedish Institute of Space Physics, Uppsala, have the rare opportunity of measuring features of the Martian plasma environment and careful planning is therefore needed. We investigate the trajectory of Rosetta by further development of Matlab routines for reading in data, transforming between coordinate systems and plotting of the trajectory. A literature study and summary of the Martian plasma environment, and models of it, is conducted before we implement one existing model ourself. We use the results of a three dimensional multi-species hybrid simulation and obtain global maps of the plasma parameter values around Mars as well as expected time series for what Rosetta can measure during the flyby. We find that Rosetta will pass through the major plasma boundaries and regions. Additionally, we use a model of the crustal magnetic field of Mars and obtain global maps and expected time series of the magnetic field which Rosetta might encounter. We also look at some further upcoming events, such as the Earth flybys in 2007 and 2009 and possible Parker spiral conjunctions.