Make the variable a dependency
For Compartments and Links, this does nothing. For Characteristics and
Parameters, it will set the dynamic flag, but in addition, any validation constraints e.g. a Parameter
that depends on Links cannot itself be dynamic, will be enforced.
This method generally must be overloaded in derived classes e.g.
- Return type