> For the complete documentation index, see [llms.txt](https://elishai.gitbook.io/retinal-stimulation-modeling-environment/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elishai.gitbook.io/retinal-stimulation-modeling-environment/sac-plexus-model/model-initialization-and-visualization.md).

# Model  Initialization and Visualization

You can download the XML specifications for this model here:

{% file src="/files/m7cnVep6q74jfjvM7M63" %}

Similar to the single SAC example, model Initialization is done using:

```
# Parse model specifications from the meta-parameters XML file
simulation_parameters = SimulationParameters(
    "simulation_parameters/plexus_SAC_meta.xml",
    note = 'plexus_SAC') 

# Use the model specification to initiate a new simulation
simulation = Simulation(simulation_parameters)
```

Plot the modeled network morphology:

```
simulation.plot_morphologies()
```

![](https://3823822112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlM7rr4VP7XMZK5DA9U%2Fuploads%2FsrOnlkxxk3N4S11pYies%2FScreen%20Shot%202021-10-12%20at%2018.56.38.png?alt=media\&token=d2933970-36e7-4ff8-b852-73c600764f63)

Get the soma plot:

```
simulation.plot_morphologies(soma_plt = True)
```

![](https://3823822112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlM7rr4VP7XMZK5DA9U%2Fuploads%2FxztbvSq5Pu5GeCByNQnT%2FScreen%20Shot%202021-10-12%20at%2019.02.52.png?alt=media\&token=b1a4ca27-f7e9-40a9-aef0-1e27a96c2c5f)

The synapse distribution:

![](https://3823822112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlM7rr4VP7XMZK5DA9U%2Fuploads%2FZ7BR36bJOCaNg3m1SgzS%2FScreen%20Shot%202021-10-12%20at%2019.03.53.png?alt=media\&token=34da4a01-695e-4ad6-a524-4137e85faba7)

Note that BC-SAC synapses are colored in red and SAC-SAC are colored in yellow-green, indicating pre-post synaptic connections.&#x20;

Similar to a single SAC, you can plot the channel distribution. RSME will generate a plot for each SAC.&#x20;
