Presentation

PhysioBlocks allows the simulation of dynamical models of physiological systems represented by blocks.

User Levels

There are three use cases for PhysioBlocks depending on the user profile:

  • Level 1: Configure and run physiological systems simulation (for pre-existing systems)

  • Level 2: Create new systems with existing blocks without writing code

  • Level 3: Write and add new blocks to the library.

Principles

  • A Net (system) is built from Nodes and Blocks connected by those nodes.

  • At each node in the net, connected blocks share Degrees of Freedom (ex: pressure) and send Fluxes that satisfy the Kirchhoff Law.

  • ModelComponents concatenate blocks equations governing internal variables to the global system (if necessary, for modularity purposes within the block)

Interactions

Level 1: Configure and run a simulationJSON
  • Update the model parameters

Level 2: Create NetsJSON
  • Declare the nodes, the blocks, and the block-nodes connections

Level 3: Write and add models to the library: Python
  • Declare the quantities to be used in the model

  • Write the fluxes and internal equations