An application generator utilizes the physical and topological models to generate an application for the control system.