code for testing a teo reactor ALPS system