Control of Medical Digital Twins with Artificial Neural Networks