Fix Typhon model $mysoc global is missing