Connecting the sub-systems
Close, or “collapse”, all the sub-systems.
Add a Connector block in the off-diagonal cell connecting Agricultural Land with Concentrations in Food.
Edit the Connector and connect the Conc_Soil block in the sub-system AgriLand to Conc_Soil - Conc_Food.
Add a Connector block in the off-diagonal cell which connects Agricultural land with Doses.
Edit the Connector and click the Values tab. Connect Conc_Soil-AgriLand and Conc_Soil-Doses.
Add a Connector block in the off-diagonal cell which connects Concentrations in Food with Doses.
Edit the Connector and connect Conc_Crops-Conc_Food with Conc_Crops-Doses.
Running a simulation
Follow the steps below to run a simulation and see if the connections have been made:
Add both Conc_Soil-AgriLand and Conc_Soil-Doses to the list of outputs in Simulation Settings.
Run a new simulation and plot these two outputs in the same graph. If Conc_Soil (AgriLand) and Conc_Soil (Doses) are connected the outputs should be identical.