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 FMU-ME compilation example
2.2. Simple FMU-CS compilation example
2.3. Simple JMU compilation example
2.4. Compiling from libraries
2.5. Compiler settings
2.5.1. compile_fmu parameters
2.5.2. Compiler options
2.6. Compile in separate process
2.7. Compilation in more detail
2.7.1. Create a compiler
2.7.2. Source tree generation and flattening
2.7.3. Code generation
3. Loading models
3.1. The FMU
3.2. The JMU
3.3. Loading an FMU
3.4. Loading a JMU
3.5. Transferring an OptimizationProblem
4. Changing model parameters
4.1. Setting and getting parameters
5. Debugging models
5.1. Compiler logging
5.2. Runtime logging
5.2.1. Setting log level
5.2.2. Interpreting logs from JModelica.org
5.3. Getting HTML diagnostics