Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1568 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Mar 16, 2005
1 parent c26f3b5 commit ef6ffda
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions modeq/TODO
Expand Up @@ -168,6 +168,23 @@ List of things to implement:
send dae for function lookup. Needed for tuple variable name
lookup in function return values.

30. Constant evaluation of record constructors for hierachical records
Constant evaluation of record constructors is done by converting
the arguements of the constructor call to modifiers, instantiate
the record with these modifiers and transform the resulting dae into
Values. The problem is in the last part when a dae is translated into
values, specially if the record contain other records. It is then not
possible to walk through the equations and find a value for each
element. Instead an environment must be built and all bindings of
variables must be added. Then the conversion can iterate over the dae
variables and lookup each value to produce the Values. This also
requires that the dot ('.') operator can be evaluated.

31. Constant evaluation of dot ('.') operator.
Is required to complete 30. For a record instance a, it should be
possible to evaluate a.x for an element x of the record instance a.
This does not work in the interactive environment.

Specific adaptions:

For SKF:
Expand Down

0 comments on commit ef6ffda

Please sign in to comment.