BondGraph using Python