Simulating source-sink control of carbon and nutrient translocation in a modular plant