User manual
28 
String parameters supported 
In Dymola 2015 string parameters are supported in FMUs. For the FMU export to support 
string parameters, the following flag must be set: 
Advanced.AllowStringParameters=true 
The flag is by default false. 
(String variables are however presently not supported.) 
Example 
String parameter support can be illustrated by a simple example of changing tables for an 
FMU; consider creating a simple model for linearization. 
Create a model; drag an instance of 
Modelica.Blocks.Tables.CombiTable2D into the 
model. Connect the two inputs and the output and create the corresponding connectors. The 
result is: 
In the parameter dialog of combiTable2D, select 
tableOnFile  to true, and propagate 
tableName and fileName. Give relevant default values for them. As an example, looking at 
the resulting Modelica code when having specified a table name and file name as default 
value, we find: 
Saving the model, and then generating an FMU from it (do not forget to set the flag above), 
we can import this FMU and look at the resulting parameter dialog of an instance of that 
FMU: 










