Project

General

Profile

Actions

Bug #5701

closed

CT was removed, demo workflows need to be updated

Added by Derik Barseghian over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
08/31/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5701

Description

The CTDirector and associated actors were removed:
----------
Author: cxh
Date: 2011-07-26 14:55:43 -0700 (Tue, 26 Jul 2011)
New Revision: 61607

Log:
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.

Actions #1

Updated by Christopher Brooks over 11 years ago

I updated the demos to use Continous.
The affected demos were
./workflows/demos/getting-started/02-LotkaVolterraPredatorPrey.xml
./workflows/demos/SEEK/Elk_Wolf.xml
./workflows/demos/SEEK/LogisticsModel_CT_Director.xml

To update the demos, I used
ptolemy/domains/continuous/lib/ct2continuous

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.

Actions #2

Updated by Daniel Crawl over 11 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.

Actions #3

Updated by Christopher Brooks over 11 years ago

I updated ct2continuous so that it handles converting
./workflows/demos/SEEK/Elk_Wolf.xml
./workflows/demos/SEEK/LogisticsModel_CT_Director.xml

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.

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 5701

Actions

Also available in: Atom PDF