The response of superconducting cavities to being driven by an external RF source may be described by a first--order differential equation. Solutions to this may be optained computationally by discretising the equation, and an analysis of the output can indicate, among other things, the total energy reflected from each cavity during a single machine cycle.
This note presents the equations governing this process, their discretisation, and some intial studies of the reflected energy, etc. The necessary initial conditions are also discussed, and the expected reflected energy from the entire superconducting linac is shown.