CT was removed, demo workflows need to be updated
The CTDirector and associated actors were removed:
Date: 2011-07-26 14:55:43 -0700 (Tue, 26 Jul 2011)
New Revision: 61607
CTDirector is deprecated because ct no longer works with de. Thus, all code that uses CTDirector should be marked as deprecated so that we avoid lots of deprecation warnings in Eclipse.
Demo workflows must be updated, and actor references removed from our tree.
E.g. the 02-LotkaVolterraPredatorPrey.xml demo is broken, it used the CTDirector and ptolemy.domains.ct.lib.Integrator actor.
#1 Updated by Christopher Brooks about 10 years ago
I updated the demos to use Continous.
The affected demos were
To update the demos, I used
There were two issues with the script:
1) The solver was not updated
The workaround was to run the model and update the solver
2) The Integrator did not get hooked up properly. The input and output were connected to the old ports. This was a problem in the SEEK demos, but
not in the 02-LotkaVolterraPredatorPrey.xml
The workaround was to drag in a Continuous Integrator.
To close this bug:
The CT Director, integrator and any other actors must be removed
It would be nice if the Continuous Integrator had the Integrator icon
used with the CT Integrator.
#2 Updated by Daniel Crawl about 10 years ago
I removed the CT Director and Integrator from the actor tree, and changed the icon for the Continuous Integrator.
I was able to run getting-started/02-LotkaVolterraPredatorPrey.xml and SEEK/Elk_Wolf.xml, but not SEEK/LogisticsModel_CT_Director.xml - the director's ODESolver value had a set of quotes. I also had to fix the ports for Integrator.
All three workflows still had references to solvers in CT; perhaps ct2continuous could convert these? I fixed these references in the workflows.
#3 Updated by Christopher Brooks about 10 years ago
I updated ct2continuous so that it handles converting
In particular, the solver section is removed and the connections to
the Integrator are now correctly created. The CT Integrator has
input and output, the Continuous Integrator has derivative and state.