AspectSubTreeNode model = new AspectSubTreeNode(
AspectTreeType.MODEL_TREE);
model.setModified(true);
DynamicsSpecificationNode dynamics = new DynamicsSpecificationNode(
"Dynamics");
PhysicalQuantity value = new PhysicalQuantity();
value.setScalingFactor("10");
value.setUnit("ms");
value.setValue(new DoubleValue(10));
dynamics.setInitialConditions(value);
FunctionNode function = new FunctionNode("Function");
function.setExpression("y=x+2");
List<String> argumentsF = new ArrayList<String>();
argumentsF.add("1");
argumentsF.add("2");
function.setArgument(argumentsF);
dynamics.setDynamics(function);
ParameterSpecificationNode parameter = new ParameterSpecificationNode(
"Parameter");
PhysicalQuantity value1 = new PhysicalQuantity();