Rigid-flexible coupling error modeling of large gantry machine tools based on potential energy analysis | Synapse