Engee documentation
Notebook

Simulation of an RC circuit

This example shows two RC circuit models, one of which uses directional blocks, and the other uses blocks from the physical modeling library.

The blocks of the basic library use directional connections that determine how data is transferred from one block to another. Physical blocks use non-directional connections that define a bidirectional flow of mass or energy between components. Such blocks allow you to add additional cascades to the RC circuit simply by copying and pasting. Directional models require a revision of the equations and their re-implementation.

The circuit is powered by a generator of rectangular pulses characterizing the voltage.

Model diagram:

rc_circuit--1721914041650.png

Simulation results:

Voltage graph of a model created using basic blocks and a model consisting of blocks of physical modeling:

newplot_22.png