- // Write out custom expressions
- if (!simulation.getCustomExpressions().isEmpty()){
- writeln("<customexpressions>"); indent++;
- for (CustomExpression expression : simulation.getCustomExpressions()){
- writeln("<expression>"); indent++;
- writeElement("name", expression.getName());
- writeElement("symbol", expression.getSymbol());
- writeElement("unit", expression.getUnit());
- writeElement("expressionstring", expression.getExpressionString());
- indent--; writeln("</expression>");
- }
- indent--; writeln("</customexpressions>");
- }
-
- writeln("<conditions>"); indent++;