finished conversion to new Tyche (with compartments) + python