Hi all,

The current (CellML 1.1) specification has some wording like the following:

''The variable must also be declared in these components, which can then 
use the value of the variable in their own equations but must not modify 
it." (3.2.3)


"
4.4.4

    * A mathematical expression defined using MathML must only modify
      the values of variables that belong to the current component.
      [ Variables that belong to a component are those that are not
      declared with a |public_interface| or |private_interface|
      attribute value of |"||in||"|. ]

"

It doesn't really make a lot of sense to talk about a mathematical 
expression modifying a variable, because an equation really only 
describes the relationships between variables, and doesn't specify which 
variable is to be modified. At least in the current CCGS implementation, 
exactly how an equation is used will vary depending on what other 
components are connected to a given component, and so it is possible 
that the rules would sometimes be met depending on what is connected to 
a particular component, which is obviously not a robust way to develop a 
model.

I suggest that this requirement be dropped in the next version of CellML 
(I am also making a list of other changes from 1.1 I am proposing, which 
I will send to the mailing list when it is completed).

Best regards,
Andrew

_______________________________________________
cellml-discussion mailing list
[email protected]
http://www.cellml.org/mailman/listinfo/cellml-discussion

Reply via email to