director.iterations.setExpression("2400");
setDirector(director);
// Create the actors, and set their parameters.
// First, the source, which counts up from 0.0 in steps of pi/100.
Ramp ramp = new Ramp(this, "Ramp");
ramp.step.setExpression("PI/100.0");
// Next, the expression, for which we have to create an input port.
Expression expression = new Expression(this, "Expression");
TypedIOPort expInput = new TypedIOPort(expression, "ramp");