Hi,
Is it possible to make a mixed signal simulation, in this case a CT analog circuit embeeded in a DE domain, but instead of using the ODE solver provided in Ptolemy use another circuit simulator. Perhaps a C/C++ link?
Does anybody done something?
Best Regards
Jaime
This issue is discussed in some depth in the following paper:
http://ptolemy.eecs.berkeley.edu/publications/papers/99/toolinteraction/
In principle, this is possible if the external circuit simulator has a sufficiently open architecture and appropriate semantics. You need, for example, to be able to externally control the advancement of time. The paper above describes interfaces between Ptolemy II and Saber, for example.
Java provides a fairly conveninent interface to native code in the form of "JNI". Some researchers at Thales recently contributed a fairly convenient mechanism to define components in C/C++ using JNI.
One problem with heterogeneous tool chains is maintenance as the tools independently evolve. You really have to be actively involved in the development of both tools to achieve successful intergration, or use fairly mature tools. For example, the Ptolemy II interface to Matlab (provided by RIM) is pretty stable, requiring only small changes with new releases of Matlab.
Edward
------------ Edward A. Lee, Professor 518 Cory Hall, UC Berkeley, Berkeley, CA 94720 phone: 510-642-0455, fax: 510-642-2739 [EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal
---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]