We describe a reduced model approach to x-ray transport down synchrotron radiation beamlines. The method uses a ray tracing code for computation of a transfer matrix for sections including drift spaces and focusing elements separated by physical apertures. The transport matrix along the beamline is analyzed analogously to charged particle beam optics. For coherent radiation, the wavefront is propagated by the transport matrix via linear canonical transformation. For the partially coherent case, the matrix can be applied directly to the Wigner function. We apply this method to a beamline section comprised of a KB focusing system and compare results between Synchrotron Radiation Workshop and SHADOW. Machine learning methods are also used for 2-D automated alignment. Plans for use of the reduced model within a beamline control system and more advanced used of machine learning methods for automation and reconfiguration are discussed.