Computer aided modeling program (camp): a bond graph preprocessor for computer aided design and simulation of physical systems using digital simulation languages