Location: The Physics of Physiology - Example 1: An electrical circuit @ a8e363406aff / README.rst

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2024-01-10 23:29:10+13:00
Desc:
Showing how to launch the model in OpenCOR
Permanent Source URI:
https://staging.physiomeproject.org/workspace/aed/rawfile/a8e363406affedfca0711ec842c31faa95fbe512/README.rst

Bond graph example: An electrical circuit
=========================================

Here we show an electrical circuit with static storage (capacitor C), dynamic storage (inductor L) and dissipation (resistor R).
:math:`v_in^e` and :math:`v_out^e` are the input and output fluxes (electrical currents), respectively.
:math:`v_C^e`, :math:`v_R^e` and :math:`v_L^e` are the currents flowing through capacitor C, resistor R and inductor L, respectively, and :math:`u_C^e`, :math:`u_R^e` and :math:`u_L^e` are the electrical potentials across them.
Superscript ‘e’ indicates that the variables are electrical quantities; subcripts indicate the location in the circuit for each quantity.

.. figure::  fig1.png
   :width: 95%
   :align: center
   :alt: Schematic and bond graph of the model

   A simple electrical circuit (a) with its representation by a bond graph (b). 0:nodes for an electrical network are physical locations where the flows (electrical currents) are balanced, while 1:nodes represent circuits around which the potentials sum to zero. :math:`v_in^e` and :math:`v_out^e` are boundary conditions.

The **Views Available** menu to the right provides various options to explore this model here in the Physiome Model Repository.
Of particular interest is the *Launch with OpenCOR* menu item, which will load the simulation experiment shown below directly into the `OpenCOR`_ desktop application.

.. figure::  fig2.png
   :width: 95%
   :align: center
   :alt: OpenCOR showing simulation experiment.

   Showing the result of launching the simulation experiment from this exposure in OpenCOR and executing the simulation.


.. _CellML: https://www.cellml.org/
.. _OpenCOR: https://opencor.ws/
.. _SED-ML: https://sed-ml.org