One of the main projects currently being developed by PSAS is their cubesat, OreSat. OreSat has various iterations, which increase in quality and functionality each time. The future OreSat satellites could benefit significantly from an Attitude Determination and Control System (ADCS) to point cameras, maximize solar panel efficiency, and evenly distribute thermal energy. The camera pointing must be very precise to view the earth's surface. To design robust attitude control algorithms for such a system, a simulation is important to test and verify designed controllers. A program was created that simulates OreSat’s attitude and orbital dynamics along with its actuators. It uses quaternion attitude representation for numerical stability and a sun-synchronous orbit, which is the planned orbit for the next OreSat. The actuators include magnetorquers and reaction wheels. Since magnetorquers actuate off of magnetic fields, the earth's magnetic field must also be simulated, which is obtained from the latest IGRF model combined with orbital position data. Visual representations of both the orbit and attitude of the satellite over time are also provided to more easily verify the simulation and controller design. Due to the nature of the system as well as the use of magnetorquers, the system is both nonlinear and time-varying. In order to design a controller that can precisely point at a desired location on the earth's surface, advanced control methods must be used. This simulation will be used to design and test all aspects of OreSat’s ADCS, including any controllers and estimators using limited actuators and sensors.