When working with mixed variables from different energy domains consideration needs to be given on which variables to consider analogous.
A common mapping (used in some of the examples in this article) maps the effort variables (ones that initiate an action) from each domain together and maps the flow variables (ones that are a property of an action) from each domain together.