Hi all,

In revision 9222 I made these changes:
- Model_init.txt is now replaced by Model_init.xml
  which contains much more information about model
  variables and the model. Model_init.xml is based
  on FMI, but contains much more information (than
  the FMI standard) which is OMC specific.
- Both Model_init.xml and Model(.c|.exe) now contain
  a unique GUID which should match (to be sure that
  this Model_init.xml file is the correct input file).
  The GUID match is checked in:
    c_runtime/simulation_input_xml.cpp
- The idea is to have a more structured Model_init.xml
  and to be able to add more information to it when we
  need it. Most of the static information from Model.c
  will be moved to Model_init.xml in the future so that
  Model.c can be compiled faster (smaller code size).
- We do not have an XML schema yet for Model_init.xml
  as its content is not yet final.

NOTE:
All clients or scripts that used to generate
Model_init.txt (for example for parameter sweeps)
needs to be updated so they can handle the new
input XML file: Model_init.xml.
In general, if you did not change or generate the
Model_init.txt file (in your script or client) then
everything should work as before.


At the URL below you have an example
on how the new Model_init.xml looks
like compared to the old Model_init.txt:
http://www.ida.liu.se/~adrpo/omc/_init.xml/

More about the FMI standard here:
http://functional-mockup-interface.org/fmi.html

Cheers,
Adrian Pop/
_____________________________________________________________________
Adrian Pop                      | Assistant Professor
Open Source Modelica Consortium | Technical Coordinator
Department of Computer Science  | http://www.ida.liu.se/~adrpo
Linköping University            | phone:+46 76 2343499/+46 13 285781
S-581 83 Linköping, Sweden      | fax:  +46 13 142231
OSMC & LiU/IDA/PELAB            | office: 3B:478

Reply via email to