A component based model of an electrical circuit
This is a component based implementation of the electric circuit described and implemented using blocks here.
A simulation of the model gives the same result as for the block based version:
This example shows the benefit of using components rather than blocks.
For a step by step tutorial see Component-Based—Simple Circuit.