A Compositional Framework for Bond Graphs

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. The two-element set has two different Frobenius monoid structures in 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 generated by the morphisms associated to these two Frobenius monoids, which we call FinCorel. We are interested in "bond graphs," which are built from series and parallel junctions. Although the morphisms of FinCorel 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. Bond graphs pick out a subcategory LagRelk with generating morphisms corresponding to those of FinCorel. Thus we define a category BondGraph with generators and equations that are found in both FinCorel and LagRelk. We study the functorial semantics of BondGraph by giving two different functors from it to the category LagRelk 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…