svg
Author: Slime Mold Club Research Team Version: 1.0.0

Kirchhoff's Biology: Solving the Conservation of Inflow and Outflow

How Physarum algorithms enforce node-level flow conservation with source/sink boundary conditions to produce consistent network pressure and flux fields.

Kirchhoff's Biology: Solving the Conservation of Inflow and Outflow

Kirchhoff’s Biology: Solving the Conservation of Inflow and Outflow

Physarum algorithm models borrow a circuit-like rule: what flows into an internal node must flow out. This is Kirchhoff-style conservation applied to biological routing.

Without this rule, pressure and flux solutions drift into nonphysical behavior.

Internal-node conservation

For non-boundary nodes, net flux is zero. In plain terms, nodes are pass-through junctions, not generators or sinks of material.

That keeps the network mass-balanced at every iteration.

Source and sink conditions

Two nodes are assigned special roles.

  • Source: injects fixed input flux.
  • Sink: removes the same amount.

These boundary constraints define directionality and let the solver compute a pressure field that is globally consistent.

Why this is not just math decoration

Conservation constraints are what make the adaptation loop coherent. Conductivity updates depend on flux, and flux depends on pressure. If node balance is broken, conductivity evolution becomes unstable or meaningless.

So conservation is the structural integrity rule of the algorithm.

Connection to shortest-path emergence

When flow must conserve globally, high-value transport corridors naturally accumulate reinforcement while dead routes lose support. The algorithm does not directly “pick shortest” first. It lets conservation plus adaptation reveal it.

This is a major reason Physarum methods are robust in noisy graphs.

Related reading: Poiseuille Flow Assumption, Poisson Pressure Solver, and Robust Simultaneity.

Origin and E-E-A-T

This article is based on Source 16 internal notes from the project knowledge archive summarizing the Kirchhoff-style conservation and boundary-condition structure used in Zhang et al.’s improved Physarum algorithm. Reviewed by Slime Mold Club Editorial Team on 2026-02-11, version 1.0.0.

Sources, Review, and Trust Signals

Origin Of Information

editorial synthesis of Zhang et al. flow-conservation formulation for Physarum shortest-path algorithms, including source/sink constraints. . (https://www.ncbi.nlm.nih.gov/)

Editorial Review

Status: in review
Reviewed by: Slime Mold Club Editorial Team
Last reviewed: 2026-02-11

Related Guides

Curious for more?

Your blob is always growing. Check out these related guides to keep her happy.