English

A Compositional Framework for Bond Graphs

Category Theory 2017-10-03 v1

Abstract

Electrical circuits made only of perfectly conductive wires can be seen as partitions between finite sets. These are also known as "corelations" and are the morphisms in the category FinCorel\mathrm{FinCorel}. The two-element set has two different Frobenius monoid structures in FinCorel\mathrm{FinCorel}. These two Frobenius monoids are related to "series" and "parallel" junctions, which are used to connect pairs of wires. We show that these Frobenius monoids interact to form a "weak bimonoid" as defined by Pastro and Street. We conjecture a presentation for the subcategory of FinCorel\mathrm{FinCorel} generated by the morphisms associated to these two Frobenius monoids, which we call FinCorel\mathrm{FinCorel}^{\circ}. We are interested in "bond graphs," which are built from series and parallel junctions. Although the morphisms of FinCorel\mathrm{FinCorel}^{\circ} resemble bond graphs, there is not a perfect correspondence. Since bond graphs and circuits determine Lagrangian relations between symplectic vector spaces, we then consider the category of Lagrangian relations, LagRelk\mathrm{LagRel}_k. Bond graphs pick out a subcategory LagRelk\mathrm{LagRel}_k^{\circ} with generating morphisms corresponding to those of FinCorel\mathrm{FinCorel}^{\circ}. Thus we define a category BondGraph\mathrm{BondGraph} with generators and equations that are found in both FinCorel\mathrm{FinCorel}^{\circ} and LagRelk\mathrm{LagRel}_k^{\circ}. We study the functorial semantics of BondGraph\mathrm{BondGraph} by giving two different functors from it to the category LagRelk\mathrm{LagRel}_k and a natural transformation between them. Given a bond graph, the first functor picks out a Lagrangian relation in terms of "effort" and "flow," while the second picks one out in terms of "potential" and "current." The natural transformation arises from the way that effort and flow relate to potential and current.

Cite

@article{arxiv.1710.00098,
  title  = {A Compositional Framework for Bond Graphs},
  author = {Brandon Coya},
  journal= {arXiv preprint arXiv:1710.00098},
  year   = {2017}
}