Chapter 4. Working with Models

Table of Contents

1. Introduction to models
1.1. The different model objects in JModelica.org
2. Compilation
2.1. Simple JMU compilation example
2.2. Simple FMU compilation example
2.3. Simple FMUX compilation example
2.4. Compiling from libraries
2.5. Compiler settings
2.5.1. compile_jmu parameters
2.5.2. compile_fmu parameters
2.5.3. compile_fmux parameters
2.5.4. Compiler options
2.5.5. Compiler targets for compile_jmu
2.5.6. Compiler targets for compile_fmu
2.5.7. Compiler targets for compile_fmux
2.6. Compilation in more detail
2.6.1. Create a compiler
2.6.2. Source tree generation and flattening
2.6.3. Code generation
3. Loading models
3.1. The JMU
3.2. The FMU
3.3. The FMUX
3.4. Loading a JMU
3.5. Loading an FMU
3.6. Loading an FMUX
4. Variable and parameter manipulation
4.1. Model variable XML files
4.2. Setting and getting variables
4.3. Loading and saving parameters
4.3.1. Loading XML values file
4.3.2. Writing to XML values file
5. Debugging models