Analytical System Dynamics: Modeling and Simulation