MTF additional configuration
MTF has various configuration files. However, you will typically need to edit only the main configuration file config.xml (→ MTF main configuration).
The following additional configuration files only need to be edited in some rare cases:

This configuration file contains some customizable constants. If this file is missing (typical configuration), MTF uses default values for the constants.
Typically there is no need to create or edit this file. It can, however, make sense to change the values if there are changes in external software that MTF interacts with.
The following is a full version of the file. You can omit all the constants that you do not need to change.
<?xml version="1.0" encoding="utf-8" ?>
<CustomizableConstants xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sistemaits.com">
<SimSpanParamName>SimSpan</SimSpanParamName>
<SimInitHHMMSSParamName>SimInitHHMMSS</SimInitHHMMSSParamName>
<SDAYParamName>SDAY</SDAYParamName>
<DAYTParamName>DAYT</DAYTParamName>
<OwnTablesSuffixParamName>OwnTablesSuffix</OwnTablesSuffixParamName>
<NextDaysTableCreationQuery>CREATE UNLOGGED TABLE IF NOT EXISTS rtin tsys tre rltm[suffix]
(CHECK ( sday=[sday])) INHERITS (rlin tsys tre midterm);</NextDaysTableCreationQuery>
<NextDaysTableDroppingQuery>DROP TABLE IF EXISTS
rlin tsys tre rltm[suffix];</NextDaysTableDroppingQuery>
<DayTypesTableCreationQuery>CREATE UNLOGGED TABLE IF NOT EXISTS rlin tsys tre equa[suffix]
(LIKE rlin tsys tre equa);</DayTypesTableCreationQuery>
</CustomizableConstants>
Constant | Description |
---|---|
SimSpanParamName | Name of the TRE parameter for simulation span. |
SimInitHHMMSSParamName | Name of the TRE parameter for simulation initial time. |
SDAYParamName | Name of the TRE parameter for simulation day. |
DAYTParamName | Name of the TRE parameter for day type. |
OwnTablesSuffixParamName | Name of the TRE parameter for tables suffix. |
NextDaysTableCreationQuery | SQL query that creates tables for next days forecasts. |
NextDaysTableDroppingQuery | SQL query that deletes old tables of next days forecasts. |
DayTypesTableCreationQuery | SQL query that creates tables for day type forecasts. |

The content of this file defines the behavior of dynamically generated strings. This makes it possible to create variables and methods that can be used inside dynamic string prototypes.
When configuring an application parameter in application features, its value can be a dynamic string (→ MTF main configuration > Application features).
Dynamic strings are special strings that contain fields that are replaced at runtime. The content of each field is a function or expression that returns a string at runtime.
Fields start with {{{ and end with }}}. The fields’ content must be a Visual Basic .NET single-line expression whose result is a string.
Methods and variables available in fields are defined in the file DynamicStringSource.vb.
You can select additional libraries (referenced DLLs needed to execute code defined in fields or in defined in DynamicStringSource.vb) by adding their file names or paths to the configuration file DynamicStringReferences.txt.