1. What is Theracles?

The software THERAKLES is a powerful simulation tool, which was developed within the research project EnOB MONITOR on energy-optimised buildings by the Federal Ministry of Economics and Technology since 2009 on Institut für Bauklimatik and has been continuously further developed ever since. THERAKLES is conceived as a software for university education and primarily serves to convey building physics and room-climate connections. Originally, the software was exclusively used for thermal simulation of one room or one thermal zone and was extended by the hygric component as of 2015. In the course of program development, other program functionalities have been added, for example the possibility of standard verification in accordance with German Standard DIN 4108-2. This documentation is for version 3.3.

2. Download

The software THERAKLES (bauklimatik-dresden.de/therakles) is available for different computer platforms. The current installation files for Windows, Unix and Macintosh platforms can be downloaded from the following web address:

2.1. Installation

If the software is installed under Windows, the installation program automatically creates a new entry IBK/Therakles in the start menu. In addition to the program start entry, the physical model documentation is also installed as a menu item.

For Mac users (MacOS X 10.11 and higher) the program including the physical model documentation is included in the dmg file.

Under Linux the program is available in a packed archive containing program files and documentation. The installation of the required shared libraries (Qt5 libraries) is required.

The software requires about 40 MB of data storage in the installation folder.

3. Function overview

THERAKLES is available in the free standard version and in the licensed Pro version. Both versions differ in individual functions:

Table 1. Comparison standard version with pro version
Function Standard Pro

Thermal model

+

+

Hygrothermal Model

+

+

Optimized numerical calculation kernel

+

+

Material database

+

+

Window and Shading Database

+

+

Climate database

+

+

Modelica Export

+

+

FMI Export (ModelExchange and CoSimulation)

+

+

Bugfixes and functional improvements since June 2017

+

DIN 4108-2 Mode

+

Project report

+

3.1. Changes from version 3.2.2 to version 3.3

  • extended construction editor (graphical representation, adding, deleting, moving and changing layers)

  • Material selection extended - selection via dialog with options for sorting and filtering

  • Dialog for DIN 4108-2 mode extended - more setting options, more plath for explanation texts, more descriptions

  • passive cooling for DIN 4108-2 added

  • Copy entries from material and design database

  • Added table with results overview in main window

  • new activation dialog

  • additional structural shading for windows possible

3.2. The calculation procedure

THERAKLES uses a numerical solution method with the following special features:

  • implicit time integration with the required accuracy of 5 significant digits

  • variable integration time steps, which are adapted based on an integration error estimator

  • detailed calculation of the temperature and humidity profiles in the wall/floor/ceiling constructions using the finite volume method

  • innovative solution method for the modified Newton method with consideration of the weakly occupied matrix structures

By using this modern and efficient calculation algorithm it is possible to solve detailed physical models with high accuracy very efficiently.

3.3. DIN 4108-2 Mode

The DIN 4108-2 Mode means the input mask, the calculation model and the the corresponding evaluation according to DIN 4108-2. This also includes a printable report with all project input data and result variables.

Details on input and evaluation in this mode are described in chapter DIN 4108-2 Mode.

3.4. Model export

One of THERAKLES' strengths, in addition to its powerful computing core, is its compact and clearly arranged input of all model data using the available databases.

Once the model projects have been parameterized, they can be entered into input data for other models/simulation programs or can be exported to independent simulation components:

  • Export of designs to DELPHIN 6 simulation projects for further analysis

  • Export of the complete model to NANDRAD simulation projects (detailed building energy simulation)

  • Export of the physical basic model to Modelica source code

  • Export of the complete model as Functional Mockup Unit (support of the FMI interface version 1.0 and 2.0)

Details are described in the chapter Model export.

4. Operating concept

main_menu_all_1_en
Figure 1. Main window with marking of the areas


The THERAKLES main window consists of several areas. All project-relevant data can be adjusted in the input area. The selection is made by clicking on one of the tabs above. More information can be found in the chapter Input window. In the Results area lower part are located different views with the calculation results and climate data. On the right side there are different buttons. In the upper section the buttons of the main menu are arranged with the following meanings:

  1. Info dialog with link to online help

  2. Create a new project

  3. Load project

  4. Save current project (name is always requested)

  5. Calculate current project

  6. Save output files - select folders for the files

  7. Open Project report

Below are the buttons for the databases. You can find further explanations in the corresponding Chapter. If you click on one of these buttons, the editing dialog of the selected database is displayed in the main window. The top button leads back to the standard view:

  1. Standard view with input areas

  2. Materials

  3. Constructions

  4. Windows

  5. Shading systems

The buttons for language selection and closing the program are located at the bottom right of the screen. By clicking on the language selection a list of the available languages appears. So that the new language can be used. The program must then be closed and restarted. Currently only German and English are available. Further translations are being worked on.

Further information can be found in the chapter `Notes on data input'.

5. Modeling

5.1. Program interface

The program interface of THERAKLES is divided into the upper (1) and lower (2) half of the program. On the right side (3) there is a bar with the program buttons (project menu and databases).

main window view
Figure 2. Main window with construction view and results


In the standard view, the input windows are displayed in the upper half, which can be selected by clicking on the tabs above. In the picture the tab `Geometry and Climate' is selected. The lower half contains the result view.

5.2. Input window

THERAKLES contains the following input windows:

Depending on the setting of the room editing mode, only certain input windows can be selected, where tabs 1, 2, 10 and 12 are always active. If the calculation is selected according to DIN 4108-2 almost all inputs are made with field 11. The other input windows are then not selectable. The individual windows are described below.

5.2.1. Notes on data input

A plausibility check is carried out while the data is being entered in the corresponding fields. Invalid value entries are highlighted in red. This can happen, for example, if the entry was forgotten (e.g. no room volume specified), the value range is selected invalid (e.g. negative values or non-numeric values) or the wrong decimal separator was given.

The manual input fields only accept numeric values with decimal separators ('.' point or ',' comma). and without thousand separators. Fields in which data must be entered manually are highlighted in yellow. Fields with a white background contain text entries or selection fields. Fields with a blue background contain default values or calculated data and cannot be changed.

input_explanation_1_en
Figure 3. Input fields for numbers with colored marking


Invalid database entries are marked with a lock symbol, valid ones with a green checkmark. Invalid database entries in constructions can result, for example, from the materials contained in the construction being deleted or input errors were made during the creation of the database entry.

A small button with three dots indicates areas with extended setting options. After a click on the symbol, the additional fields are displayed or hidden again. Entered values are also retained when the additional options are hidden and taken into account in the calculation. It is therefore more practical to leave the changed settings visible (see also next chapter).

5.3. Geometry and climate

In the "Geometry and Climate" tab, the geometry of the zone or room to be calculated is displayed (1) as well as the properties of the room boundary surfaces (2) and the local climate (3).

geometry_climate_input_1_en
Figure 4. Upper part of the main window with input of climate and constructions.


You will find the explanations on the topic of location climate in the chapter Climate and location

The geometry is defined by the surrounding surfaces: - walls (including windows and doors) - ceilings or roofs - flooring

geometry-example-1
Figure 5. Horizontal section through a room with marking of the walls (internal dimension reference)


geometry-example-vertical-1
Figure 6. Vertical section of a room with ceiling, floor, windows, heating and ventilation.


In the section shown above, the following components or elements are shown:

  1. outer wall

  2. Floor above cellar

  3. Ceiling/roof

  4. Inner wall

  5. Window (belongs to wall 1)

  6. Sun/solar radiation

  7. Heating

  8. Ventilation/air conditioning

The basic room properties can be set in dialog 1 (figure above). A click on the button next to Volume opens an additional option for entering storage masses as shown in the figure below.

space_properties_dialog_1_en
Figure 7. Input fields for description of the room


The area describes the net floor area of a room, i.e. the floor area determined according to internal dimensions in the unit m². The room height describes the clear room height in the unit m. If there are height differences in the room, the average room height averaged over the surfaces shall be used as the clear room height. The net or air volume of the room in the unit m³ is automatically calculated from the room height and area.

The air volume is exclusively decisive for determining the ventilation heat loads. Information on mechanical ventilation is given in m³/h, independent of room volume. The room area represents the reference value for the area-related heat loads. In addition, for reasons of comparability, the characteristic values of the annual balance are related to this area unit W/m².

Note: THERAKLES is a non-geometric model. It is therefore possible, to enter a base area and a volume independent of the wall/floor/ceiling areas entered by entering a height. Therefore, it is not specified whether the model works with an external or internal dimension reference.

To the right of the input field of the volume is the symbol for extended possible settings for the room storage behaviour. There you can define an additional absolute storage mass in kg and the associated specific storage capacity of this term in J/kgK. Additional storage masses are installations with significant storage capacity, e.g. pieces of furniture. Here it is to be noted that it concerns the storage masses, which are available to the room time-independently, i.e. immediately. For realistic calculations, therefore, only near-surface layers should be considered in the mass calculation.

The lower window (2) shows a list of all room enclosing surfaces. In the illustration this list is to be seen with an unfolded menu for the construction selection.

envelope_list_menu_1_en
Figure 8. Construction list with expanded selection from the construction database


There are different types of components which require different input data. These are external components (1), internal components (2) as well as components to adjacent zones with given temperature (3). For each of these components, a design structure should be selected in the "Construction" column. Double-click on the corresponding cell in this column opens the existing selection list. This list contains all constructions, which were created in the construction database. When new constructions are created, these must be created in the construction database and then appear automatically in the selection list. To delete an existing component, select the point No construction;

For outside components (1), in addition to the construction and the usage type "Outside construction", the following properties are available to specify the properties listed below in the respective columns.

case1-outer-wall-1
Figure 9. Outer wall


Table 2. Information required for external walls
Required parameter Explanation

Area [m²]

Gross area of the component, i.e. the area of the component determined with external dimensions, including doors/windows.

Orientation [°]

Azimuth, i.e. sky orientation of the component (angle between north and surface normal)

Inclination [°]

Angle of the component (angle between ground and surface normal)

Window type

Specification of the window construction as reference to the window database, analogous to the column "Construction".

Window area [m²]

Gross area of the component, i.e. area of the component determined with dimension of window opening incl. frame

Shading

Details of the shading construction as reference to the shading database, analogous to "window type

Absorption coefficient [-]

Absorption coefficient of the outer surface of the component for short-wave radiation

Contact resistance outside RÜ,e [m²K/W]

Combined radiation-related and convective contact resistance on the outside of the component

Internal contact resistance RÜ,i [m²K/W]

Combined radiation-related and convective contact resistance on the inside of the component

Alignment angles and inclination angles are information which are necessary for the calculation of the radiation inputs. Only values for a horizontal surface are stored in the stored weather data set. These must be converted, since the radiation input depends on the angle of incidence and self-shading takes place. The degree of absorption is also necessary for the calculation of the radiation entries. The brighter and smoother a component surface is, the lower is the amount of the absorption coefficient. It is about 0.9 for common building materials (e.g. bricks, concrete) and can be found in the relevant table books.

The window type including area and shading type shall only be indicated if a window is present. In this case, the component area is corrected during the calculation. It is automatically reduced by the area specified there. The program does not allow for the specification of windows in interior components. The existing window types are taken from the window database. as well as the type of shading.

The transition coefficients depend on the radiation conditions, i.e. the building environment. (radiation exchange with soil and surrounding buildings), the climatic conditions (radiation exchange with sky vault) and convective conditions, i.e. the air velocities at the component surface. Further information and reference values can be found in the EN ISO 6946 standard.

For *internal components (2) to adjoining rooms with the same or similar temperature conditions specify only the area and the internal transition coefficient in addition to the design and use type 'Internal design'.

case3-inner-wall-smmetric-1
Figure 10. Symmetrical inner wall


For components to adjacent, constantly tempered zones (3), the inner and the outer zones (3) are the outer transition coefficient and the temperature in the adjacent zone. Examples of such rooms are unheated cellars or unheated rooms. In the first case, the annual mean temperature of the outside air temperature can be used as an approximation. In the second case the fluctuation of the air temperature can be very large. Then it is possible, not to enter a single value in the "Temperature in adjacent zone" field, but a path to a ccd file with the room air temperatures in this zone.

case2-inner-wall-other-side-temperature-1
Figure 11. Wall to a room with defined temperature


construction-list-othersidetemperature-1-en
Figure 12. Construction list with interior wall in tempered room


The path to the climate file can be absolute or relative to the current project file. In the figure above, an absolute path is selected. In the case of a relative path the current project must be saved as a project file.

The ccd file format is described in Program reference.

These climate data could be e.g. from measurements, external programs or also THERAKLES calculations of this unheated room. To increase the accuracy you can iterate over several rooms using the output data.

In the case of building components in contact with the ground, 50 cm of soil should be added to the construction as a buffer (see ISO 13791). As temperature the yearly average temperature or (better) monthly average values of the selected area can be taken here constantly. For a more exact consideration, the soil temperature can also be precalculated with an external tool. (e.g. DELPHIN). For a calculation according to ISO 13791, proceed as follows.

  • 50cm standard floor according to ISO 13370 add on outside (λ=2,0W/mK, ρ=2000kg/m3, c=1000J/kgK)

  • Climate file with monthly mean values of soil temperature create in 50cm depth under the floor slab

    • with transient 3D or 2D thermal bridge program (DELPHIN) or

    • simplified procedure according to ISO 13370

    • first use estimated indoor climate data

  • calculate and, if necessary, create and repeat a new climate file with the interior temperatures determined

5.4. Project information

In this input dialog, information about the project or the editor can be entered. They are mainly used for documentation and in the report.

project_information_dialog_2_en
Figure 13. Input fields for project information

5.5. Heating

In this area, the model used to heat the zone is determined and how the temporal the course of the setpoint temperature. The ``Heating'' tab is divided into a left area for defining the system (1 - model parameters) and a right area for the Definition of the control profile (2 - target temperature for heating).

heating-dialog-base-1-de
Figure 14. Heating settings


The type of heating system can be selected in the left area. The following options are available:

  • No heating

  • Heating with thermostat

The maximum heating power indicated below generally corresponds to the standard heating load of the room. (see EN 12831). Heating load reference values range between about 50 (low-energy house standard). up to 150 (old building standard) watts per m² net floor area.

The time profiles of the setpoint temperature, as well as the temperature and humidity setpoints for the the air conditioning and ventilation systems, the flow rates for the ventilation system, the air exchange rates for the free ventilation, the thermal loads and the degree of shading, can be specified in four different variants. The selection can be made by clicking on the "Type" field. There are the following types:

  • Constant

  • Day cycle (winter/summer)

  • Daily cycle (weekday/weekend)

  • Course of the year (hourly values)

For the "Constant" type, the constant setpoint can be entered directly via the surface.

In the case of a daily cycle profile, two daily profiles appear for which information on the validity period is displayed on the left-hand side:

  • for winter/summer: day of the year for start and end

  • for weekday/weekend: valid days

The numerical values of the profiles are shown on the right. The setting of the values can be either over the displayed profile diagram (moving the points with the mouse) or by entering the values in the right-hand column. When entering numerical values, you can also enter several cells can be selected and changed together if they previously contained uniform initial values. To do this, click on the first value, hold down "Ctrl" and select the second value. The new number can then be entered and appears in all fields. Several single values are selected in a similar way using the "Shift" key. Left bottom can, as in any profile setting, the maximum value of the y-axis can be set.

heating-schedule-winter-summer-2-en
Figure 15. Schedule for day profiles for summer and winter


The annual profiles cannot be edited in the diagram. Since the input is more comfortable via a external program (such as a text editor or spreadsheet program), the interface offers three options for importing data from the cache. For this purpose, one of the three variants listed below is created as a year profile in the external program, and then pasted it over the corresponding field in the year profile diagram. The following figure shows an example from a series of numbers created in Excel.

schedule_yearly_import_1_en
Figure 16. Structure of the schedule for one year in Excel


Here you can see the inserted values in THERAKLES as a diagram. A tabular view is also possible.

heating-schedule-yearly-2-en
Figure 17. Input field for a season schedule


The default view in the diagram is always a year-round view. Here, you can use Pull up of a rectangle with the left mouse button. A click with the right mouse button leads back to the year-round view.

The calculated heating energy is calculated according to the setting of the set convective Share of useful heat loads in convective (to room air) and radiation share (evenly distributed on the wall surfaces). This value can be found in the tab << advanced settings,advanced settings>>. The default value there is 100%, i.e. a purely convective heating.

5.6. Cooling

The current version of the cooling system is a simple air conditioning system for cooling the room air. (i.e. purely convective). The selection is made analogous to the heating system using the model properties by the entry "Simple air conditioning" in the selection field. If no cooling is available, select man "No cooling". The maximum cooling capacity is calculated on the basis of the calculated cooling load. (e.g. according to VDI 2078). Usually, the cooling load is in rooms without unusual Utilization properties and with fulfilled minimum standards of summer thermal insulation less than 50 watts per m² usable area. Should the internal heat loads be particularly high or should the other overheating factors are given, it can also be higher. For the maximum Cooling capacity can also be a function, cooling capacity depending on the temperature, can be used. However, this is not possible via the surface, but only directly in the Project file can be entered (see format specification). Both the following can be entered as setpoints temperatures as well as relative humidity. The target temperatures are according to the intended use. Reference values for target temperatures include, among other things, the following For most types of use, maximum temperatures of 26°C during the period of use are recommended.

The target values for the air humidity are only used if the humidity calculation is activated. (see Advanced settings). Likewise, the Dehumidification performance only then taken into account.

cooling-dialog-cycle-2-en
Figure 18. Daily schedule for cooling with settings for weekday and weekend.

5.7. Mechanical ventilation

Three settings are possible for mechanical ventilation:

  • No mechanical ventilation system

  • mechanical ventilation system (heat recovery possible)

  • Flow-controlled ventilation system

For the type mechanical ventilation system, the course of the air flow rate is determined via the Schedule defined. In this case a heat recovery efficiency can be specified, i.e. the heat contained in the exhaust air can be used at the given percentage to heat up the fresh, cold supply air (outside air) can be used via a heat exchanger. Heat recovery only makes sense if the supply air must also be heated, i.e. if the room air temperature is below the target temperature for heating. The air flow rate can be expressed as a constant value, as a typical seasonal or weekday-dependent daily profile, or as a value for the air temperature. or can be defined as an annual profile (see heating ). Heat recovery efficiency and maximum temperature are constant values. The required flow rate of the mechanical ventilation system is determined according to DIN 13779 for Non-residential buildings according to building category and purpose of ventilation. The latter can determine the required minimum hygienic air exchange (removal of CO2) as well as the minimum required for heat, moisture, odour, or removal of pollutants may be necessary. This standard defines the personal air exchange with 10 to 40 l per second and person (2.8 to 11 m³/h person). The regulations for residential buildings are also contained in DIN 1946-6. The minimum volume flows are therefore 0.5 to 2 m³/hm² for smaller residential units. If no heat recovery system is installed, the efficiency value should be 0.0%. If a heat recovery system is available, the heat recovery efficiency depends on the installed system. A simple plate heat exchanger achieves heat recovery efficiency between 40 and 80% (see VDI 2071).

mechanical_ventilation_1_en
Figure 19. Settings for mechanical ventilation system (here with constant flow rate)


In the case of a flow-regulated ventilation system, a setpoint temperature is specified directly in the schedule. The input variables required here are the supply air temperature and a maximum air flow rate. The required air flow rate is calculated according to the cooling capacity of the supply air with the i.e. the flow rate from which this cooling capacity is reached to the The defined setpoint temperature is maintained. When determining the supply air temperature it must be ensured that the temperature spread, i.e. the temperature difference between supply air and room air, is not too high for reasons of comfort.

mechanical-ventilation-3-en
Figure 20. Settings for mechanical ventilation system with controlled flow rate

5.8. Infiltration / Natural ventilation

Under the "Free ventilation" tab, the air change resulting from the natural ventilation must be indicated. ventilation. This corresponds to the sum of window ventilation and infiltration. There are 4 input variants in the current version. These are:

  • no natural ventilation

  • a defined air flow (1)

  • one use-dependent controlled air flow (2)

  • depending on time of use (3)

In all cases, there is again the possibility to set the time profiles for the maximum air flow, Analogous to heating and cooling, select as constant, weekday-dependent, seasonal profile or annual profile (see Heating ).

A specified air flow (1) is specified directly as a time profile and is not dependent on any other factors. Relevant guide values include, for example, the standards for calculating energy requirements (e.g. DIN 18599-10). The listed values are based on the dimensioning of mechanical ventilation systems according to the following standards Target values. The listed minimum outdoor air volume flows range between 20 and 60 m³ per hour and person. They must be converted into the air exchange rate using the room air volume specified in the "geometry and climate" tab.

natural_ventilation_1_en
Figure 21. Setting for constant natural ventilation


In contrast to the directly defined air flow, the use-dependent controlled air flow (2) contains the Specification of a minimum value for the room air temperature from which the specified air flow is given. and a basic air change which is not undercut. As long as the room air temperature is less than the Minimum values or the outside air temperature is higher than the room air temperature, the basic air change is used. Otherwise the air flow rate can be increased up to the maximum value.

natural_ventilation_2_en
Figure 22. Settings for natural ventilation controlled according to use


The use-time-dependent airflow (3) is similar to the previous scheme, but contains more setting options. In addition, increased day and night air changes can be set here. In addition, an outdoor air temperature difference can be specified. This means the outside air temperature must be lower than the room air temperature by the specified amount so the increased ventilation can be active.

natural-ventilation-4-en
Figure 23. Settings for natural ventilation controlled according to time of use.


If increased ventilation is possible (condition day or night is fulfilled), the ventilation is increased to the value specified in the schedule. The values in the schedule should be must always be greater than or equal to the respective basic air changes. If not, the air exchange rate is reduced if the conditions are met. Here is an example of the conditions:

Table 3. Conditions for use-dependent ventilation control
Size Value

Min. room air temperature

23°C

Temperature difference

1 K

So if the existing room air temperature is greater than 23°C and at the same time the the outdoor air temperature is 1K lower than the room air temperature, then the conditions for intensive ventilation are met. In this case, the ventilation time specified in the schedule is used. Air exchange rate selected. This happens even if this air exchange rate is lower than the basic air exchange rate. For control it is recommended to check the resulting air exchange rates in the result files to evaluate.

5.9. Internal heat sources (equipment)

All area-related internal heat loads that are not generated by persons are defined here. The flat-rate area loads can be used, for example, to determine the thermal load from lighting and the heat load is measured by heat-emitting technical and electrical equipment. DIN 18599 also contains guide values for these area loads. Accordingly, the area loads are in most cases between 2 and 8 W/m². In the thermal load time profile, also as for heating, cooling and mechanical ventilation, can be selected between single characteristic value, summer and winter profile, weekday profile or yearly profile. The flat rate per unit area is calculated from the sum of all heat loads caused by the equipment divided by the usable area of the thermal zone or room. In most cases, the heat dissipation almost equal to the connected load of these devices. The floor area of the room is used as the usable area. (defined in the tab "Geometry and climate").

inner-loads-equipment-1-en
Figure 24. Input for non-personal internal loads (constant)

5.10. Internal heat sources (persons)

The personal heat load is specified as the time-dependent number of persons and the personal heat load. The time-dependent product of both values corresponds to the resulting person heat load. The specified time profiles do not only specify the temporal distribution of the thermal loads, they are also decisive for the assessment according to DIN 15251, as they represent the reference to the period of use. The person-dependent heat emission depends on the activity of the user and amounts to at least (basal metabolic rate) approx. 70 to 80 watts per person. It should be noted here that it is not a question of the total heat output of a person, but the sensitive, i.e. perceptible or dry heat output, heat emission. The guidelines for this are again contained in the usage profiles of DIN 18599-10. The loads are therefore between 60 (seated pupils) and 125 watts per person (athletes).

inner-loads-person-3-en
Figure 25. Inputs for internal loads by persons as weekday profile

5.11. Shading control

The shading control refers to the settings in the "Geometry and climate" tab. with shading elements. All windows for which a shading system is available in form of a construction reference are activated according to this schedule. There is a choice of three models:

  • constant (1)

  • Schedule-controlled control (2)

  • intensity controlled control (3).

Constant means that shading is always active.

In the case of a schedule-dependent sunshade control (2), the degree of shading of the sunshade control (3) is always active. window construction is multiplied by the value specified in the schedule. If several window constructions with different sun protection systems are defined, the schedule will be applied to all. In this case, the control of the sunshade can only be specified uniformly. The figure below shows a shading device that is fully activated in summer between 8:00 and 18:00 hours, but is otherwise deactivated.

shading_control_scheduled_2_en
Figure 26. Input a weekday-dependent regulated shading.


The variant, intensity-controlled control (3), comes closer to practical conditions, because the sun protection is always activated when the specified value of the radiation intensity is reached. (global radiation) on the respective orientation side of the room. This variant cannot be combined with a time schedule. It is similar to the approach, which is accepted for the standard certificate. The alignment-dependent limit values can be taken from standard 4108-2.

shading_control_direction_1_en
Figure 27. Input an intensity dependent controlled shading

5.12. Structural shading

Structural shading is mapped using time-dependent shading levels for the existing windows. These shading levels are represented by csv or tsv files.

structural-shading-1
Figure 28. Input of time-dependent shading levels

As shown in the above graphic, the list of components is displayed in this dialog in a simplified form. If a component contains a window, a file name for a shading file can be entered in the right selection box. Such a file may look like this:

Time [d] Window north [---]
0 1
150.9999 1
151 0
212 0
212.0001 1
365 1

The first line indicates the type of data and the units. The first column must contain the time. The second column then contains the degree of shading. In the above file there is no shading in winter, while in summer the window is completely shaded. The entry of the path to the shading file can take place directly (input or copy) or by means of a selection dialogue. This is opened by double-clicking on the input field.

The component list is kept synchronous with the list from the input in the field "Geometry and climate" and can only be changed there. The here given degree of shading is combined (multiplied) with that of the movable shading.

5.13. DIN 4108-2

Explanations on the settings of the calculation mode for DIN 4108-2 compliant design can be found in a separate Help.

5.14. Advanced Settings

The last tab of the input area contains options for the calculation settings. Among other things, you can enter data for saving the calculation models, for calculation reference values and for the treatment of heat gains.

advanced_options_1_en
Figure 29. Dialog for other settings


The output temperature of the room indicates which temperature the room air and the room enclosing constructions at the beginning of the calculation. For Central European locations, it should correspond approximately to the target temperature for heating, since the calculation in this case starts in the heating period (January 01). The selected value mainly affects the first calculation day, and in the case of extreme values, the second to third calculation day. The initial phase of two to three days should therefore only be included in the evaluation to a limited extent. Very high storage masses can extend this phase. Then it is recommended, to extend the calculation period to 2 years.

Another possibility of adjustment is convective part of solar heat loads through windows. This is the proportion of short-wave radiation (diffuse and direct radiation) which directly affects the room air. This proportion depends, among other things, on the radiation conditions and the room geometry and lies at approximately 50% of the total radiation input.

The convective part of the internal thermal loads describes the same facts as the Convective part of the short-wave irradiation. This value is used for internal loads and for heating. Heat sources such as computers give off their heat almost completely convectively, while for example, luminaires have a considerable amount of radiation. In case of doubt, a proportion of 50% is also recommended.

In addition to these options, a check box is listed for carrying out a moisture balance calculation. In this case, an initial humidity, analogous to the initial temperature, must also be specified for the room air and the construction. The moisture balance calculation takes into account the influence of vapour diffusion through the room enclosing constructions and the Influence of ventilation (no flow-controlled ventilation system) on the humidity balance of the room air. If this option is activated, additional humidity loads can be added analogous to the heat loads via the surface (see section below). The corresponding tab will then be activated. A consideration of the capillary water transport is not intended because this calculation requires more detailed information for the materials, structures and climatic conditions at the site. Such calculations can be performed with DELPHIN.

Two additional settings are listed in the Output Options section, the reference time series for the thermal comfort evaluation and the reference value for the period thermal balances. The first value ("evaluated thermal comfort independent of presence") refers to the evaluation according to EN 15251. The values listed therein correspond either only to the conditions, which prevail during the time of use specified under "Personal loads" (check box deactivated) or include the entire period. The second option allows a usable area related output. of the heat flows and thus a better comparability of the characteristic values among the projects.

5.15. Moisture loads

In this dialog, humidity loads for the room air can be set. Similar to the other loads, these can be set as constant values or time-dependent (see heating).

Dialog for Dampening Loads
Figure 30. Setting of humidity loads (constant)


The following tables show examples of dampening loads.

Table 4. Total loads for residential use
Apartments with 2 persons 3 persons 4 persons > 4 persons

Moisture load in g/h

333

500

580

625

Table 5. Single loads.
moisture source moisture load in g/h Persons (light work)

30 - 60

People (hard work)

100 - 200

Pets (cat, dog)

5 -10

Bath

600-800

Shower

2000 - 3000

Cooking (short term)

400 - 500

Cooking (long-term)

450 - 900

Potted plants

7 -15

Aquariums (per m2)

5.16. Databases

THERAKLES contains 4 databases. These can be extended with own entries. Therefore you have to switch from the ``room editing mode'' to one of the database modes in the program interface. This can be done by selecting the corresponding button on the right.

mainwindow_DB_toolbar_1_en
Figure 31. Buttons for switching to the database settings


A click on the respective button displays the corresponding database in the main window.

  1. material database

  2. design database

  3. glazing or window database

  4. shading systems

5.16.1. Materials

The display of existing and the creation of new materials is possible by selecting the symbol Material database. A dialog will then appear, with a list of all available materials on the left. and display or input fields for new materials on the right-hand side. Only self-added materials can be changed. These are marked by the white background color. All materials marked yellow or orange belong to the standard database. Each material has a unique identification number (ID). The supplied materials have the lower IDs.

Above the display of the materials there are two possible entries for filtering the list. The category filter allows you to select a material category. The materials are then displayed, that correspond to this category. The following categories are possible:

  • Everything - all materials

  • coats

  • Plasters, mortars and infills

  • bricks

  • natural stones

  • Building materials containing cement

  • insulating materials

  • building slabs

  • wood

  • natural substances

  • Soil and soil

  • Façade claddings, floor coverings and covers

  • Foils and sealing materials

  • Miscellaneous - metals, air etc.

The Filter for material name allows the input of any text. Only the materials will be displayed, whose name contains the entered text. It is not possible to specify masks or wildcards.

The second column of the list contains a color coding of the calculation options. Red means heat transport and light blue means moisture transport (vapour diffusion). A click on a column header sorts the list according to the parameter displayed there. Below the list there is a field for comments on the selected material. The moisture parameters are also displayed here. For each new material to be created, the values shown below the list are used, green green plus sign 1 character creates a new entry. A click on the button to the right (copy button image 1) copies the currently selected material. In the input area on the right side there is a mandatory name (English or/and German), a density ρ, a specific heat storage capacity c and a thermal conductivity λ . The decimal separator is ',' (comma). If the input does not correspond to the possible value range or non-numeric values are entered, the field is highlighted in red. The entry must be corrected in this case, otherwise no calculation can be carried out with the corresponding material. One click on the button minus sign 1 character at the bottom deletes the selected material. This is only possible for user-defined materials (highlighted in white).

If the material is a phase change material (PCM), you must also specify the specific heat. which is released or recorded during the phase change as well as the temperature at which the phase change occurs. This information is not required for the materials listed in the tutorial. The latent heat is therefore set to the value 0.0. Moisture characteristics cannot be entered here. This is only possible by direct input into the xml-file of the database. (see Moisture transport in constructions).

Also optionally a material category can be specified for each material. If no selection is made, the category Other Materials is assigned.

material_database_2_en
Figure 32. Display of material database with dialog for new materials (right)


The entered data of the newly created material is stored directly in the xml-file. in the program installation folder (see section material database file). The new material appears at the top of the material list after it has been created. Its ID is assigned in ascending order from the highest user ID (from 10000).

5.16.2. Constructions

A design consists of a list of materials with layer thicknesses. To create the room enclosure constructions, you can also use the right-hand Menu field button Parts database into the database mode. The menu for part database processing opens. This contains in the upper range a list of all existing constructions and in the lower area the layer structures of the construction selected from the list. just created component. The construction is shown on the right as a sketch and on the left as a list.

construction_database_2_en
Figure 33. Construction database view - selected construction below in detail


The field with the construction sketch allows further processing.

construction_sketch_1_en
Figure 34. Schematic representation of the selected construction with buttons for editing (top)


As soon as a layer has been selected by mouse click, the buttons in the upper left corner can be used. They have the following meaning:

  1. new material for the selected layer (opens material dialog, also by double-clicking on the layer)

  2. add a new layer to the left of the selected layer (opens material dialog)

  3. add a new layer to the right of the selected layer (opens material dialog)

  4. move selected layer to the left

  5. move selected layer to the right

  6. delete selected layer

To create a new part, press the green plus sign 1 button under the list befindliche green plus sign 1. It is also possible to copy a selected layer by clicking on the next button copy button image 1. In the lower area a preset construction appears, consisting of a material layer. A multi-layer component is created by entering a name definiert and a numeric value in the field Count of layers.

A double-click on the respective material or by pressing the space key on the keyboard. the already known list of all available building materials opens. The desired material is also selected by double-clicking on it. The list can also be sorted according to the categories in the column header. The list can be selected using the filters to make the selection easier. Pressing ESC cancels the input. (see materials). Then enter the thickness of each layer with separator ',' (comma). It is essential to observe the sequence when entering the values. The lowest material in the list corresponds to the room-side material, the uppermost entry is the material adjacent to the outside air or to the neighbouring zone. If the number of layers is changed, the layers are always deleted or added starting from the inside.

The newly created construction is saved directly in the corresponding xml file in the program installation folder. (see file construction database). After creation, it is located at the bottom of the construction list, since the ID is also is assigned in ascending order from the highest available user ID in the existing design database.

Two values calculated by the program for the component appear below the input field of the layer structures. The first value is the heat transfer coefficient or U-value, the second value is the Sum of the storage mass related to the component area (m²). The U-value does not correspond to the standard U-value according to DIN 6946, as the transition resistances for External walls can be used for calculation. It serves only as a guideline value for checking the input plausibility.

An additional function below these two fields is the button "Export as DELPHIN model". This creates a d6p file, i.e. a project file for the hygrothermal simulation. with the IBK software DELPHIN, and opens a file storage menu for selecting the memory location on the computer. This file contains information on the materials used and the layer thicknesses of the one-dimensional design. Before opening the file with the DELPHIN software, it must still be edited, as certain system folders (e.g. installation folder of the DELPHIN software) and files (e.g. newly created materials) are not known or do not exist.

5.16.3. Windows

The window database contains characteristic values for windows and glazing.

windows_database_1_en
Figure 35. Window and glazing database


In order to define a window construction, the heat transfer coefficient (U-value, EN 410) must be used as the individual characteristic values, the total energy transmittance (G-value, EN 410) at vertical solar incidence and the glass surface proportion of the window must be known. For the G-value, additional information on the angle dependence can be entered. These can be obtained from the manufacturers or calculated with external software (e.g. WINDOWS (LBNL), WINSIM). In the case of the glazing from VDI 2078 in the database, only the g-value is taken from there (Table A 13). This was calculated from the passage factors b located there by multiplication with the reference value 0,87 (for clear float glass, see EN 410 5.7). The U-values and glass surface proportion were chosen to match. The following table, taken from VDI 2078, can also be used to determine the frame factors.

Table 6. Glass area proportions for different window types, from VDI 2078 Table A12
window design interior reveal of the wall opening in m2

0.5

1.0

1.5

2.0

2.5

3.0

4.0

5.0

6.0

8.0

wooden windows, single or double glazed, composite windows

0.47

0.58

0.63

0.67

0.69

0.71

0.72

0.73

0.74

0.75

wooden double windows

0.36

0.48

0.55

0.60

0.62

0.65

0.68

0.69

0.70

0.71

Steel windows

0.56

0.77

0.83

0.86

0.87

0.88

0.90

0.90

0.90

0.90

shop window, skylights

0.90

balcony door with glass panel

0.50

5.16.4. Shading systems

Shading systems are controlled by specifying the maximum reduction factor of the sun protection definiert (transmission factor). The value indicated in these databases is calculated with the hourly Reduction factor multiplied. A suitable model can be selected in the Shading Control section. The required values can also be taken from the manufacturer’s specifications or calculated (e.g. ISO 15022). Standard values for the combination of window and shading system are also contained in DIN 4108-2. which are already included in the Therakles standard database.

shading_database_1_en
Figure 36. Database view for shading systems

5.17. Climate and location

The "Geometry and climate" tab contains the "Location and climate" input area. Here the climate data set and the albedo are specified. The albedo can be changed in the edit field 1 (see figure below).

climate_selection_1_en
Figure 37. Climate selection in the main window


Each building must be optimised in its climatic design for the climatic conditions prevailing at the location. For this optimization, typical climate data sets are to be selected, which are selected differently depending on the design purpose. Examples are the typical annual data sets, the test reference years (TRY) for the assessment of the energy demand, the summer case and the winter case. In the case of a design according to DIN 4108-2, the data for the climate areas described there are stored. The climate data set can be selected using selection box 2. Further information is displayed in field 3. Check box 4 allows to switch on a non-isotropic model for diffuse solar radiation.

The time series contained in the data set include the weather elements short-wave solar radiation, divided into diffuse and direct radiation, air temperature and relative humidity outdoors. THERAKLES cannot currently take other weather elements into account. In the case of a hygrothermal component simulation as it can be done for example with DELPHIN, could also be the amount of precipitation, wind direction and wind speed, as well as longwave the counter-radiation of the sky.

The time series of direct solar radiation are stored as normal solar radiation in the climate files. In order to determine the direct solar radiation on an arbitrarily inclined and aligned Bauteilfläche from these data is the calculation of the sun’s position in the course of the year, usually in the form of hourly values. This position of the sun is dependent on the local time (taken from the weather data set) as well as latitude and longitude (time correction). Therefore, in addition to the time series of the weather elements, an indication of the degree of latitude of the building location is required. This location is specified in the c6b data records as well as in the alternative data sets (epw) and cannot be changed via the program interface. New climate locations can be created by copying the corresponding climate file into the climate folder of Therakles (Therakles_folder/resources/DB_Climate). The formats here are c6b (own format) and epw (EnergyPlus weather).

A further location-related characteristic of the building is the Albedo, is also referred to as the average reflectance of the building environment. Typical urban areas (e.g. asphalted or concreted surfaces) show a reflectance of approx. 10-20%. Bright surrounding surfaces (e.g. light masonry) can result in an albedo of approx. 50-60%, snow-covered areas up to 90%.

6. Simulation of the room

After the project settings have been made, the calculation can be performed with the key combination Ctrl+R. or via the Start calculation menu button on the right. A dialog opens with the two calculation options "1-year simulation" or "2-year simulation". and the option to store the calculation results in the project folder.

start_calculation_1_en
Figure 38. Dialog with settings for the calculation


By default, the option "1-year simulation" is activated and the option "1-year simulation" is selected. to automatically save the results is switched on.

Note: THERAKLES takes into account the storage mass of the building envelope and the interior of the building. more accurate than other programs. This means that the initial homogeneous temperature (e.g. 20 °C) is the same as the initial homogeneous temperature. usually not the temperature distribution at the end of the first calculation year. This also means that the The energy stored in the building mass varies, which becomes visible in the annual balance. In a two-year simulation, the first year becomes, so to speak, the swinging of the building. and the second year is used for evaluation.

In both cases, single year and two-year simulation, the user interface displays the Calculation results for the whole year. The structure of the created files will be is explained in chapter 'Project result directories'.

After clicking on start simulation the calculation takes place. You can check the calculation progress can be recognized by a blue progress bar at the bottom of the main window. When the calculation is finished the results are displayed in the Result views.

6.1. Results analysis

THERAKLES offers basically different evaluation options:

  • built-in quick evaluation in the results views

  • Prepared Report for DIN 4108-2 detection mode (Pro version only) (see chapter Result report)

  • detailed result evaluation based on result files (see chapter Project result files)

The creation of the result files must be selected in the start dialog. The results are stored in the same folder in which the project file (which is why the project file must have been saved before).

Note: Depending on the number of components, usage properties, etc., approx. 10 MB per project are required for these output files.

7. Result views

After the calculation has been completed, different results or result summaries can be viewed in the "Output" area. In a two-year simulation, only the results of the second year are shown.

The following tabs are available for selection:

  • Temperatures

  • EN 15251

  • Results

  • radiation loads

  • Hourly values of the thermal loads

  • Hourly values of moisture loads (only for moisture calculation)

  • Monthly sums of thermal loads,

  • Annual total values/balance sheet and energy requirement for plant technology.

Navigation in the output area is done with the mouse cursor. Move the mouse over the diagram, a display appears with the local x- (time) and y-value (e.g. temperature).

7.1. Diagram interaction

Dragging a frame with the mouse creates an enlarged view of the selected area (zooming in). A click with the right mouse button within the diagram area goes back one step (zoom out). Several clicks generate the initial overview image with the values for one year.

If the mouse is moved while the middle mouse button is held down, the current diagram area can be moved.

7.2. Temperatures

The Temperatures tab contains the outside air temperatures and the relative humidity as well as, after successful calculation, the air temperature and the operative temperature of the room. The latter value represents the mean value of air temperature and radiation temperature (mean surface temperature of the room enclosure components).

results_temperature_1_en
Figure 39. Diagram with temperatures and relative humidity

7.3. EN 15251

The output field EN 15251 contains the operative temperature displayed in the "Temperatures" tab, plotted over the moving average of the outside air temperature as a scatter plot. This diagram is an approach for the long-term comfort evaluation of the indoor climate. It is based on the assumption that the optimal operative room temperature is linearly depends on the outside air temperature. The empirical equations for this Approach can be taken from EN 15251. It also lists different comfort categories, which in the diagram are each provided with an upper and lower limit value and the corresponding category identifier (I, II, III). If the requirement for a category is fulfilled, the note "Requirements of the category …​ fulfilled" appears above the legend. A category is considered fulfilled if less than 5% of the hourly values are outside the limits.

results_EN15251_1_en
Figure 40. Diagram with dimensioning according to EN 15251

7.4. Results

This tab shows a short tabular view of important inputs and results. The type of data depends on the selected calculation mode. The following picture shows the output in normal mode.

results_results_normal_1_en
Figure 41. Result summary for normal mode


A fixed limit temperature of 26°C is used for the overtemperature hours and a maximum temperature is output.

results_results_DIN4108_1_en
Figure 42. Result summary for the evaluation mode according to DIN 4108-2


More outputs are available for DIN 4108 mode. For the overtemperature hours the limit value according to the selected climatic region is used. If an hourly overtemperature value exceeds the limit value for the building type, this value is displayed in red (see figure above).

7.5. Radiation loads

The short-wave radiation loads are displayed under the Radiation loads tab, divided into diffuse and direct radiation entries. These are the values of the short-wave radiation stored in the climate data set. Here, too, individual areas can be enlarged or reduced with the mouse and the Current local value is displayed at the mouse cursor.

results_radiation_1_en
Figure 43. Hourly values of the radiation loads

7.6. Thermal loads

The hourly values of the thermal loads and the hourly values of the moisture loads show the time series of the heat and moisture flows of the room required for the balancing. These are those currents which result from heating, cooling, ventilation (mechanical /natural), air conditioning (mechanical /natural) and air conditioning. and the usage loads. You can also use the "Fluxes_Integrals.tsv" output file to can be inspected and further processed. The hourly values of the dampening loads are only available in the then in the outputs to the opinion if the humidity balance into the computation with has been locked up. This setting is displayed in the project editing area. under "advanced settings". To improve the clarity, the value series in both output sources can be changed by Click on the respective legend entry to activate or deactivate it. The usual navigation functions are also available.

results_hourlyLoads_1_en
Figure 44. Hourly values of all thermal loads


The next tab contains the monthly sum values of the thermal loads. It has the same functions as the previous tab with the hourly values.

results_monthlyLoads_1_en
Figure 45. Monthly total values of all thermal loads

7.7. Annual total values

The tab Annual total values contains the total energy balance of the year in the left area. and in the right area the heat quantities which can be measured from the units for conditioning the room air. (heating, cooling, supply air cooling). The right side shown Energy demand represents the useful energy demand in the zone. To calculate the final energy demand, this value must be supplemented with the distribution and generation losses.

results_year_balance_1_en
Figure 46. Annual total values of the energy balance

8. Dimensioning according to DIN 4108-2

DIN 4108-2 describes two procedures for verifying the minimum requirements for summer thermal insulation. One of them is verified with the help of thermal building or room climate simulation. THERAKLES can provide this proof. The requirements and boundary conditions can be found in chapter 8.4 of the standard. The calculation mode in THERAKLES must be set accordingly in order to perform the standard-compliant verification. This is achieved in the `Geometry and climate' tab by selecting in the radio button marked below.

mainwindow_mode_selection_1_en
Figure 47. Selection of the evaluation mode


The 'User defined' mode is the default mode in THERAKLES and allows all setting options. If the `DIN 4108-2' mode is selected, the selection is restricted in such a way that only the settings described in the standard are used. boundary conditions and model parameters are allowed. Some tabs of the model options are deactivated for this purpose. This is necessary, because according to DIN 4108-2 chapter 8.4.1 only if the normative requirements and conditions such proof is valid. The newly activated tab `DIN 4108-2' allows all necessary settings. The geometry and spatial data as well as the project information can still be changed, as described in the section `Modeling/Input'. With the `advanced settings' the possibility of the humidity calculation is deactivated. as this is not part of the standard. An evaluation of the results, with presentation of the Compliance with the requirements of the standard, can be viewed in Report.

8.1. Climate

DIN4108_climate_selection_1_en
Figure 48. Climate list for evaluation mode according to DIN 4108-2 2013


The selection of the available climatic conditions is limited to the 3 areas described in the standard.

  • Region A - Test reference year 2010, Zone 02, Rostock-Warnemünde

  • Region B - test reference year 2010, Zone 04, Potsdam

  • Region C - Test reference year 2010, Zone 12, Mannheim

The region must, according to the location of the building to be dimensioned, from the map shown below (excerpt from DIN 4108-2 2013 p. 21).

summer climatic regions_DIN4108_2_2013
Figure 49. Summer climate regions according to DIN 4108-2 2013 (p. 21)

8.2. Project information

project_information_1_en
Figure 50. Dialog for project information with annotation window


Explanatory information and descriptions can be added to the project information. These will then also appear in the output report.

8.3. Parameter

The 'DIN 4108-2' tab can be used to enter the parameters. This dialog is divided into the following tabs:

  • General - Building type, times-of-use, heating

  • basic ventilation

  • Intensive day ventilation

  • Intensive night ventilation

  • shadow control

  • Passive cooling

DIN4108_dialog_complete_2_en
Figure 51. Classification of input for evaluation according to DIN 4108-2

8.3.1. General information

General settings are summarized in this tab.

Type of building

The selection of the building type influences many other characteristic values, e.g:

  • Use and residence time

  • Basic air exchange

  • Setpoint for heating

  • internal loads

  • Possibilities of intensive day and night ventilation

  • Sun protection control

  • Reference values for dimensioning

Heating control system

The maximum heating load is used analogously to the setting in the Heating tab. A high heating load can slightly increase the number of overtemperature hours, especially in heavy buildings.

Times

The times are used as follows:

Table 7. Usage and rental times for the building types
Residential buildings Non-residential buildings

Presence time

6:00 to 23:00 hrs

7:00 to 18:00 hrs

Usage time

24h/d

Monday to Friday 7:00 to 18:00 hrs

8.3.2. Basic ventilation

DIN4108_basic_ventilation_1_en
Figure 52. Display of the basic ventilation according to the selected building type.


In this tab, only the basic ventilation within and outside the time of use is shown. This only depends on the type of building and cannot be changed here.

8.3.3. Intensive day ventilation

DIN4108_enhanced_day_ventilation_1_en
Figure 53. Intensive day ventilation setting when enabled.


For intensive day ventilation, an air change up to a maximum of 3h-1 can be set to avoid overheating during the day. This makes sense mainly for light buildings with large window areas. The increased air exchange takes place only if the following conditions are fulfilled:

  • within the residence time

  • Room air temperature > 23°C - Room air temperature > Outside air temperature

The approach chosen for this type of ventilation must be commented on (simple text in the Explanation field). This comment will then be inserted in Report.

8.3.4. Intensive night ventilation

DIN4108_enhanced_night_ventilation_1_en
Figure 54. Intensive night ventilation setting when enabled.


Intensive night ventilation can also be used in combination with intensive day ventilation. Conditions also apply here:

  • outside of the stay time

  • room air temperature > setpoint temperature for Heating (depending on building type)

  • Room air temperature > Outdoor air temperature

For the type of intensive night ventilation you can choose between 3 types:

  • pure window ventilation (always possible in residential buildings) - max. 2 h-1

  • ventilation across all floors (e.g. connected atrium) - max. 5 h-1

  • mechanical ventilation system - no maximum

The various settings only change the possible maximum value of the air exchange rate. Here, too, the approach (reason, type of system, etc.) must be commented on.

8.3.5. Shading control

DIN4108_shading_control_1_en
Figure 55. Setting the type of shadow control


The control type for the shading system can be selected here. The type of shading itself is defined in the `Geometry and climate' tab. is assigned to the respective window. You can choose between 4 different control types.

  • No shading - the arranged shading devices are not used.

  • Shadowing during the time of use - the shading systems of all windows are respective times-of-use are activated (see table above).

  • Automatic shading system - the shading will be controlled in dependence to the solar radiation to the window (see DIN 4108-2 2013 p. 31 or table below).

Table 8. Activation of shading if global radiation values are exceeded.
Direction of the compass Residential buildings Non-residential buildings

N, NO, NW

200 W/m²

150 W/m²

all others

300 W/m²

200 W/m²

  • User-defined shadow control - The shading control can be set freely in the tab 'Shading control' .

The chosen approach must be documented additionally.

8.3.6. Passive cooling

DIN4108_passive_cooling_1_en
Figure 56. Passive cooling setting with explanation


A maximum cooling capacity for a passive cooling system can be entered here. The cooling capacity used is controlled according to the deviation from the setpoint. The setpoint is the rated value according to the selected climate zone (A - 25°C, B - 26°C, C - 27°C). The type of passive cooling must be documented.

9. Result report

The results report allows you to create a print-ready summary of input data and results. It is primarily designed to present the results of a DIN 4108-2 compliant design. The creation of a report is started by clicking on the corresponding button in the main window.

main_window_report_button_1
Figure 57. Button for the output report in the main window


A report can only be created if a calculation has been made. Therefore, after clicking on the button, the query window shown below appears first.

start_simulation_question_1_en
Figure 58. Selection of the calculation type after starting the display of the report


This is the standard dialog for starting a simulation. Results must be available for a report. I.e. if you have already calculated, you can continue with `skip simulation'. Possible changes since the last calculation are then not taken into account. It is safer to perform a new simulation. A 1-year simulation is sufficient for a DIN 4108-2 design. After the calculation has been completed, the report view appears.

report_main_window_2_en
Figure 59. Preview for report with settings


The report view is divided into 3 sections. In the view area (1) you can see the current version. Reports as they would be printed. What is displayed can be adjusted in the settings area (2). The button area (3) allows printing or exporting. The report is divided into the following sections described below

These sections can be configured in the settings dialog. Usually this only means if they are displayed or not.

9.1. General view

  • Page numbers in footer

  • Main heading with project information

  • Notes on the project (from Project Information tab)

  • global font

report_options_general_2_en
Figure 60. settings for general view


Outside the margins there are headers and footers. There you will find the program version and the licensing information (name and company). The data in header and footer are always displayed and cannot be deactivated. Only whether a page number is displayed is selectable. On the first page of the report at the top there is the project information under the main heading (not changeable). These must be entered in the corresponding tab of the main window (see here). If no project information has been entered, this area remains empty. Also there is the input field for the annotations to the project. These are appended to the end of the report if data is available there. Furthermore a font and size can be selected. These settings apply to the normal font. All other text elements will be adjusted based on this.

9.2. Input data

  • Room parameters

  • Climate

  • Parts or components

  • Constructions and materials

  • Ventilation settings

  • Internal loads and heating

  • Shadow control

  • passive cooling

  • Other

report_options_input_1_en
Figure 61. Settings for display of input data


First comes the area for the room data. It displays geometry information about the room (Geometry and climate) and the building type.

report_roomData_1_en
Figure 62. Display of the room data in the report


In the climate section, the location, the selected climate region and the environmental albedo are presented. The location can be entered at Project information. Climate region and Albedo are selected in the window Geometry and climate.

report_climate_1_en
Figure 63. Display of climate settings in the report


Next are the components. In 4 tables, the most important component data and the associated constructions are displayed. There are: - Exterior components (walls, roof) - Components adjacent to Areas of fixed temperature (to neighbouring rooms or ground) - Internal components adjacent to Areas of the same temperature (as the room in question) - Windows

report_components_outer_1_en
Figure 64. Display of the components in the report


This corresponds essentially to the entries in the table in Geometry and climate. The ID in the first column of the table is only used to identify the component and is no longer used. In the column `Design name' the ID of the construction is shown in square brackets. This ID appears afterwards in the construction tables in the heading and thus allows a clear assignment. The shading device of the windows is specified here only as the pass factor z. The selected type or its ID is not displayed.

In the Constructions section, all constructions used are displayed with layer sequence and base material data. Each construction has its own table. The name and ID are displayed in the table heading. The ID of the respective material is in the first column. The material and design IDs can also be found in the in the THERAKLES project files and database files.

report_constructions_1_en
Figure 65. Display of the constructions in the report


The Ventilation section displays the settings for basic ventilation and intensive day and night ventilation. If one of the intensive ventilation types is activated, the description entered in the DIN 4108-2 tab is displayed here.

report_ventilation_1_en
Figure 66. Display of ventilation settings in the report


In the next area, internal loads, depending on the selected building type, the internal load, the time-of-use and the setpoint temperature for the heating system.

report_innerLoads_1_en
Figure 67. Display of the settings for internal loads in the report.


In the Shadow control section, the type of control and any existing parameters are displayed.

report_shadingControl_1_en
Figure 68. Display of the selected shadow control in the report.


Then follows the section passive cooling. If this is present, the maximum cooling capacity will be used, the setpoint temperature, the annual total cooling load and the description are also output.

report_passive_cooling_1_en
Figure 69. Display of the settings for passive cooling in the report.


The last point in section input show consideration of structural shading.

report_miscellaneous_1_en
Figure 70. Display of the structural shading

9.3. Results

The Results section is divided into two sections, overtemperature degree hours and temperature curves.

report_results_settings_1_en
Figure 71. Settings for displaying the results


The overtemperature hours are calculated according to DIN 4108-2 Chapter 8.4.1 depending on the climatic region and the building type. In addition, the output of the +2K and +4K excess temperatures can also be displayed. The calculated values are compared with the value permissible according to the standard and checked for admissibility.

report_results_overtemperature_1_en
Figure 72. Display of overtemperature hours in the report


The last section shows a diagram with the calculated operative temperature, the outside air temperature and the design limit of the selected climatic region.

report_temperature_1_en
Figure 73. Diagram with temperature curves


The report display can be enlarged or reduced and printed or exported. This is done using the buttons at the bottom of the report window.

report_toolbuttons_1_en
Figure 74. Buttons for report display and export


The buttons have the following functions:

  1. Print - Select a printer and perform printing.

  2. write pdf-file - enter a file name and write the complete report as pdf-document

  3. page settings - dialog with settings for page format, margins etc.

  4. enlarge the view

  5. reduce the size of the view

  6. selection between: page view, zoom to page width, custom zoom

  7. export of the current page to a pdf file

10. Shortcuts

Many functions in THERAKLES can be executed via a keyboard shortcut:

Table 9. Description of the keyboard shortcuts
Shortcut Command/Action Function

Ctrl+N

Create new project with default entries

Ctrl+O

Open project

Ctrl+S Save Project As (Select Name)

Ctrl+Shift+S

Save project (current name)

Ctrl+A

Select All, in Lists and Tables

Ctrl+R

Start simulation

Ctrl+E

Open export dialog

Alt+R

11. Command line reference

The program interface can be started with command line arguments:

Syntax:

> TheraklesApp [<Options>] [<Project File>]

Possible options:

Table 10. Command line options for THERAKLES
Option/Switch/Arguments Description

--help

Shows the possible options

--long=<language-id>

Specifies with which program language the program is to be started. Possible language IDs: en, en

If a project file is transferred, THERAKLES loads this project at program start.

11.1. Command line arguments of the console solver

The console version of THERAKLES requires the specification of a project file (relative or absolute path to the file):

Syntax:

> TheraklesSolver [<Options>] <Project File>

Possible options:

Table 11. Command line options for the THERAKLES Solver
Option/Switch/Arguments Description

--help

Shows the possible options

-v, --version

Shows program/model version

--verbosity-level=<<0..4>

Determines the level of detail of the output. A value of 0 disables all output on the console. Irrespective of the console output, all outputs are written to the log file (see project result directories).

--disable-output

No result files are written, only log files; This option is actually only useful in conjunction with --LEC-output-file.

--LEC-output-file=<path>

Write aggregated output data in LEC format to the specified file

-o=<output directory>,--output-dir=<…​>

Use specified path for the result data directory instead of the automatically generated directory name (according to project file name)

--fmu-export=<FMU-target-file>

Export a Functional Mockup Unit (FMU) (see FMU export)

--fmu-result-root=<FMU-result-root-directory>

Lege the default setting for the output directory of the FMU (see FMU export)

--modelica-export=<target-dir>

Generates Modelica source code for part of the room model (currently wall constructions, climate and room nodes, thermal only), see Modelica export

--les-solver=<LES solver>

Lege the linear equation system solver, supports: Dense, BTridiag, GMRES, BiCGStab and KLU (see Diagnostics and performance options)

--integrator=<integrator>

Lege the time integrator, supports: ImplicitEuler, CVODE (see Diagnostics and performance options)

Note: For options that expect an additional argument, make sure there are no spaces between the option, equal sign, and argument. If, for example, spaces are contained in a path argument, the entire argument must be enclosed in quotation marks "". The same applies to the project file.

Example:

> TheraklesSolver --fmu-export="../.../FMUs/Var 1.fmu" "Room model variant 1.rmxml"

11.1.1. Aggregated result file

When the --LEC-output-file option is used, a text file with aggregated results is written:

Heating demand [kWh/a] = 1361.25
Cooling demand [kWh/a] = 0
Window radiation gains [kWh/a] = 0

Note: In future versions this file will contain more parameters.

12. Project file format

The project file is stored in XML format using UTF8 encoded strings. The individual entries are self-explanatory and correspond to the respective entries (and units) in the program interface.

12.1. Embedded database entries

In addition to the project input data, all database entries used are also contained in the project file. Thus, project files with their own definitions can be transferred from one computer to another without exchanging the databases themselves.

When importing a project file into THERAKLES, all not yet existing definitions (materials, constructions, etc.) are transferred to the user-defined databases of the THERAKLES installation.

Note: Database elements are linked via IDs. For example, if a new material is created in two THERAKLES installations, this material receives the same ID in each of the independent program installations. If you now copy a project from one program installation to the next, there will be an ID collision. This ID collision is resolved by the fact that the imported material receives a new, unused ID and is entered into the user database. In the project file, the respective ID is replaced in all references. Thus the project file on the second installation is no longer identical with the original project file.

13. File format for time series

In THERAKLES, time series files are used for entering time-varying temperatures in neighboring zones. Either the CCD format or the TSV format is used.

13.1. CCD format description

It consists of a header and the data:

        # Drempel air temperatures from Kristina
        #
        # Lines with # are comment lines.
        # TEMPER keyword indicates temperature
        # Between TEMPER C line and data there must be a blank line
        # The time 0 d 00:00:00 and 365 d 00:00:00 are identical and
        # must not be present twice.



        TEMPER C

        0 00:00:00 3.02
        0 01:00:00 3.02
        0 02:00:00 3.02
        0 03:00:00 3.02
        0 04:00:00 3.02
        0 05:00:00 3.02
        0 06:00:00 3.02

        ...

        364 19:00:00 11.61
        364 20:00:00 11.61
        364 21:00:00 11.6
        364 22:00:00 11.59
        364 23:00:00 11.58

Important is the line with the type definition and the unit: TEMPER C, followed by the actual data.

The numbers are separated by spaces or tab characters. Each line defines a time and in the last column the temperature value (English number format, do not use a comma!).

The time points must be strictly monotonously increasing, whereby the time intervals can be arbitrary (variable time steps are possible).

Since THERAKLES carries out yearly simulations, the times 0 00:00:00 and 365 00:00:00 are the same and must therefore not both (with possibly different temperatures) be present in the file.

The file CCD-Dateivorlage.ods can be used for convenient creation of CCD files (LibreOffice, Excel etc.). The actual CCD file is best created in a text editor by copying and pasting the entire previously marked content of the CCD file template.

Note: If LibreOffice/Excel/etc. is set to the German language format, then you have to replace all , with . in the text editor.

13.2. TSV format description

TSV files are simple files that are created directly when a table is copied from the spreadsheet. The individual columns are separated by tabs (hence the extension TSV - tab separated values). THERAKLES requires exactly two columns for simple time series. The first line of the file must be the header line with the following format:

Time [h]\t Temperature [C]

Instead of the time unit h, another time unit (s, m, d, a) can also be used. Likewise, K (for Kelvin) can be used instead of C (for degrees Celsius). __ stands for the tab character.

In the following lines there are two numbers: the time and the temperature.

Time [h] Temperature [C]
0 3.02
1 2.02
2 2.2
3.5 4.1
5 5.5

The times must be strictly monotonously increasing and with cyclic annual data the times 0 d and 365 d must not occur twice.

14. Installation directories

During the installation, the program and various additional files are stored in a folder.

14.1. Windows installation directory

Since version 3.2 THERAKLES is distributed as 64 bit program. This affects the name of the installation folder under Windows. It would then read as follows for program version 3.3:

C:\Program Files\IBK\Therakles Professional 3.3

The installation folder contains the original translation and climate files as well as the component, material, window and shading databases.

folder_structure_1_en
Figure 75. Installation folder structure for Windows


The following files are created in the main folder under Windows:

Table 12. Files in the main folder of THERAKLES
Filename Explanation

Therakles 3.2 Model Documentation.pdf

Documentation of the Physical Model

Therakles.exe

The program

TheraklesFMI2.dll

Library for [FMU Export]

TheraklesSolver.exe

Command line version of THERAKLES

Qt…​dll

Run time libraries for surface components

unins000.*

Uninstall Program

vc…​dll

Runtime libraries of the compiler

lib…dll, opengl32sw.dll etc.

runtime libraries for graphics

The directory resources contains the files for the databases, the translations and the climate files. All other directories contain further runtime libraries.

14.2. MAC Application Bundle and Resource Directory

On the Mac, the application resources are contained in the application bundle, i.e. in the path

TheraklesApp.app/Contents/resources

The contents of the resources directory is the same as the Linux directory tree shown below.

14.3. Linux installation directory

Under Linux THERAKLES is distributed as a compressed directory structure. After unpacking, this directory structure looks like this:

    Therakles-3.3/
    ├── am
    │ ├── TheraklesApp
    │ ├── TheraklesFMI2.so
    │ └── TheraklesSolver
    ├── doc
    │ └── Therakles_Model-Documentation.pdf
    └── resources
      ├── DB_climate
      │ ├── TRY
      │ │ ├── 01_Bremerhaven.c6b
      │ │ ├── 02_Rostock_Warnemuende.c6b
      │ │ ├── 03_Hamburg-Fuhlsbuettel.c6b
      │ │ ├── 04_Potsdam.c6b
      │ │ ├── 04_Potsdam_Sommer.c6b
      │ │ ├── 04_Potsdam_Winter.c6b
      │ │ ├── 05_Essen.c6b
      │ │ ├── 06_Bath_Marienberg_withoutRain.c6b
      │ │ ├── 07_Kassel.c6b
      │ │ ├── 08_Brownlage.c6b
      │ │ ├── 09_Chemnitz.c6b
      │ │ ├── 10_Courtyard.c6b
      │ │ ├── 11_Fichtelberg.c6b
      │ │ ├── 12_Mannheim.c6b
      │ │ ├── 13_Muehldorf-Inn.c6b
      │ │ └── 14_Stoetten.c6b
      │ ├── Validation
      │ ├── DIN_EN_ISO_13791_Case01.c6b
      │ └── DIN_EN_ISO_13791_Case02.c6b
      ├── db_constructions.xml
      ├── db_materials.xml
      ├── db_shadingTypes.xml
      ├── db_windows.xml
      ├── license.txt
      ├── Therakles-32.png
      ├── Therakles-48.png
      ├── Therakles-64.png
      └── translations
          ├── qt_en.qm
          └── Therakles_en.qm

15. Program resources

15.1. Built-in databases

The program resources are located in the subdirectory resources. There you will directly find the files for the THERAKLES databases:

  • db_constructions.xml - Construction database

  • db_materials.xml - Material database

  • db_shadingTypes.xml - Database for shading systems

  • db_windows.xml - Database for windows and glazing

A detailed description of the structure of these files can be found in Program Reference.

The built-in databases are overwritten during program updates and should therefore not be changed. Therefore, all user-defined materials, constructions, window and shading types are stored in user-defined database files, see User defined databases

The subdirectory translations contains the files necessary for switching the user interface to other languages are necessary. English does not require a separate file. The switch between languages is made in the program interface with the corresponding button in the right menu bar, or by calling up THERAKLES with the command line parameter --lang=<language abbreviation> (see )

The subdirectory DB_climate contains the climate files. For each existing climate data set a subdirectory a c6b- climate file exists. This climate file contains the (year-) Time series of the climate data and a location description. Subdirectories are used as standard for the Install the directory Validation, DIN4108-2 and the directory TRY_2010. ("Test Reference Year", German Weather Service). The folder TRY_2010 contains the data records designed for the engineering design of rooms. Dimensioning climate data sets for different reference locations in the Federal Republic of Germany. Subdirectory DIN4108-2 contains the data of the 3 climate regions of the standard.

As an alternative to this internal THERAKLES format, climate files in the format .ccd or .epw can also be created and read (see Program reference).

15.2. User defined databases

As soon as you create a new definition (material, construction, …​) in THERAKLES and end the program, this is stored in a user-specific database file. These database files are located in the following folder, depending on the operating system:

Table 13. User directories for different operating systems
Platform Directory of user data

Windows

%APPDATA%\Therakles`Example: `c:\Users\<username>\AppData\Roaming\Therakles

Linux

$HOME/.local/share/Therakles

MacOS

$HOME/.local/share/Therakles

The files are located in this directory:

  • db_constructions.xml - Construction database

  • db_materials.xml - Material database

  • db_shadingTypes.xml - Database for shading systems

  • db_windows.xml - Database for windows and glazing

  • Therakles.log - program log file

and the directory with user-specific climate files DB_climate.

When importing the databases, THERAKLES always reads the built-in database files and Climate data first, and then attaches the user-defined data to the lists.

Note: The database entries must be unique, i.e. you must not use the same data IDs in the the same database file, but also not the same ID in the built-in and user-defined database file!

The log file is especially useful for troubleshooting. If the calculation terminates or errors are reported when importing a database file or project file, is usually indicated in the log file etwwas more about the problem or cause.

16. Project result files

16.1. Project directory structure

The results of a THERAKLES simulation can be saved as files. This is done either automatically at the end of the simulation if in the Start dialog the option is set or by clicking on the 'save output files' button. In the latter case, the output folder itself can be selected.

When saving the result files automatically, the files are stored in the same folder, in which the project file was saved.

Example:

# Project file
/Projects/Buildings_1.rmxml
# corresponding result directory
/Projects/Buildings_1/

In both cases, single year and two year simulation, the calculation results of a whole year, the last year in the two-year simulation. The following directory structure is used:

results_folder_1_en
Figure 76. Directory structure for output files


The log folder contains the following files:

Table 14. log files
File name Description

integrator_cvode_stats.tsv

Data to describe the behavior of the time integration (time steps, errors etc.)

LES_direct_stats.tsv or LES_iterative_stats.tsv

Data on the behavior of the equation system solver

screenlog.txt

Internal progress bar, calculation statistics, error messages

summary.txt

Overall evaluation of the behavior of the solution process (summary of the first two files)

The solver statistics are particularly useful for performance analysis and optimization. (see chapter Diagnostics and performance options).

The results folder contains the hourly values of the calculation results as tsv files. The data are arranged in columns and separated by tabs. This makes them easy to use in Read in spreadsheet programs. The results are divided into the following areas:

Table 15. output files
File name Description

states.tsv

hourly values of the state variables (indoor air conditions, outdoor climate, …​)

fluxes.tsv

hourly values of the current loads (flows) into the room

flux_integrals.tsv

Time_integrals of the loads into space

wall_states.tsv

hourly values of the inner and outer surface temperatures of the individual constructions

wall_fluxes.tsv

hourly values of the current heat flows of the individual constructions

wall_flux_integrals.tsv

Reference to time integrals: The files fluxes.tsv and wall_fluxes.tsv contain the current values the heat/moisture flows at each hour. Because THERAKLES calculates with higher temporal accuracy, also changes of currents and loads during one hour are taken into account, e.g. the first time the strong increase and then decay of the heating power when a heater is switched on. The integral values in the Files flux_integrals.tsv and wall_flux_integrals.tsv are converted numerically (trapezoidal rule) under consideration of the actual time integration steps. If one were to use the Simply summing up hourly values, one would generally other and above all perhaps receive incorrect integral values (a common cause of error in other simulation programs!). For the calculation of balances (hours, months etc.) you have to calculate the differences of the integral values. If the average loads are to be calculated, these differences must still be divided by the time span (e.g. hour).

For the evaluation of the tsv files the IBK software PostProc 2 is recommended. (see bauklimatik-dresden.de/postproc).

Furthermore the file RoomTemperature.ccd is stored there. It contains the room air temperatures as hourly values in the format of a DELPHIN climate file. If the humidity calculation was activated with extended attitudes, in addition still the relative humidity in the file RoomRelativeHumidity.ccd. Both files can then be used in a DELPHIN simulation for the indoor climate.

17. Climate files and entering your own climate data

THERAKLES uses climate data sets for building energy simulation, i.e. climate files, which provide all the necessary climate control components. The following formats are currently supported:

  • c6b - binary IBK climate data format

  • epw - EnergyPlus Weather Files, only the version with hourly annual data (8760 entries, starting with <year>,1,1,1,60, ignoring the year)

  • wac - climate data format for hygrothermal simulation (IBK variant of the specification with the required climate control components for DELPHIN)

Note: With both c6b and epw formats, direct solar radiation is converted into normal direction is specified, while the wac format (as well as TRY files) contains the Solar radiation on the horizontal surface must be indicated!

17.1. Integration of own climate data

The new climate file is simply copied to any subdirectory below the user-defined climate database path (see User defined databases). For example, the climate file for Dresden Dresden.epw could be copied to the following directory:

C:\Users\<username>\AppData\Local\IBK\Therakles\DB_climate\Dresden.epw

However, it would also be possible to use additional subdirectories:

C:\Users\<username>\AppData\Local\IBK\Therakles\DB_climate\Germany\Saxony\Dresden.epw

In THERAKLES this climate file would be displayed in the list of climate data independent of the location. The location name specified in the file is displayed.

Note: Several climate files with the same location description should not exist, otherwise there is a risk of confusion.

17.1.1. Overwriting/replacing installed climate data

Warning: This functionality should be used with care and only in special cases!

Within THERAKLES, climate locations are referenced by the file name. To allow projects to be exchanged between different computers, only the relative paths (to the built-in database directory or to the user-defined database directory) is used to identify the climate data. If the user-defined database directory contains the the same directory structure and same climate file names exist, there is a double ambiguity in the referencing.

Therefore there is a rule in THERAKLES that user-defined climate data overlay the built-in climate data. Example (Linux/Mac paths, analog for Windows):

# Climate data path in the built-in climate data directory
<Therakles-Installdir>/data/DB_climate/DIN4108_2/Region_A.c6b
# Climate data path in user directory
~/.ibk/THERAKLES/DB_climate/DIN4108_2/Region_A.c6b

The relative path to both climate files is DIN4108_2/Region_A.c6b and DIN4108_2/Region_A.c6b respectively. is also stored in the project file. The XML tag ClimateLocation defines the relative path to the climate file in the database directory of the built-in or user-defined climate data:

...
<ClimateLocation>DIN4108_2/Region_A.c6b</ClimateLocation>
...

When the climate data is read in, the built-in climate data is read in first, then the data in the user database directory, which replaces the installed climate data already read in.

17.2. Creation and editing of climate data

The climate data tool CCMEditor can be downloaded from [bauklimatik-dresden.de], which can be used to create climate files whose data can be entered into a spreadsheet (e.g. Excel, Calc, …​). and lead it back from there.

For thermal calculations in THERAKLES, the following climate data are mandatory:

  • Temperature

  • direct and diffuse solar radiation

For hygrothermal calculations (humidity balance switched on) is additionally necessary:

  • relative humidity

All other climate data are currently ignored by THERAKLES.

17.3. Convert CCD files

It is also possible to copy the CCD files used in the DELPHIN into one of the to convert climate data files. The CCD files must be correctly named and copied into a directory:

Temperature.ccd
RelativeHumidity.ccd
DirectRadiation.ccd
DiffuseRadiation.ccd
WindDirection.ccd
WindVelocity.ccd
SkyRadiation.ccd
TotalPressure.ccd
VerticalRain.ccd

The file DirectRadiation.ccd contains the direct radiation on a horizontal surface. If a file is missing, the corresponding column is completely set to 0 during import.

Once the files have been created, you can import the option ``CCD directory…​'' in the file menu of the CCMEditor. can be selected. For the conversion from horizontal to normal radiation, the location of the climate station (longitude and latitude and time zone).

18. Model export

18.1. DELPHIN 6 project export

It is possible to build individual wall constructions as DELPHIN 6. export project files to perform further analyses of the moisture behavior. This is done from the database view for constructions (see Constructions).

Export a design as a DELPHIN 6 project
Figure 77. Button to export the construction for DELPHIN


If you click on the button at the bottom right (see picture above), a dialog opens to open the folder and file name. THERAKLES suggests a file name consisting of the construction name and an ID.

Note: Since the material data is exported by THERAKLES, it also contains only the the necessary characteristic values. This means that all extended humidity parameters are missing. Because THERAKLES and DELPHIN use the same central material database, the Possibility to identify the complete data records in DELPHIN by means of the material ID.

18.2. Project export options

All project export options are performed by the command line solver. The command line arguments required for this are described in the chapter link:reference/#command-line arguments of the console solver [Command-line arguments of the console solver].

18.3. NANDRAD project export

The multi-zone building simulation program NANDRAD (see bauklimatik-dresden.de/nandrad) is in the position, to perform the same calculations as THERAKLES. However, it contains much more Possibilities and flexibility in terms of modelling and expenditure.

A NANDRAD project contains to the project file, all used materials and constructions (which are each DELPHIN 6 projects) and climate data.

The export is started from the main window by the keyboard shortcut Ctrl+E.

Hint: If the current project has not yet been saved, the program to save the project. Only then will the export dialog be opened.

The export dialog opens with three options:

Export Dialog
Figure 78. Dialog for export as FMU, for MODELICA and for NANDRAD


Options (1) selects the NANDRAD export. The export starts with a click on Export, where the project name of the NANDRAD project file must be selected.

The following subdirectories are created in the directory of the project file to be created:

  • climate

  • constructions

  • materials

It contains the files referenced from the NANDRAD project file.

18.4. Modelica export

THERAKLES calculates the dynamic temperature profiles and heat fluxes in the Space enclosure components using the finite volume method. If such a model is used in Modelica, the individual layers and their material parameters have to be linked very laboriously.

THERAKLES therefore offers a model export, which allows you to export the opaque components and their link to the room nodes with the same equations of the THERAKLES model are exported as Modelica models.

Note: The exported Modelica model contains only a subset of the THERAKLES model, concretely the room air node and the thermal balance equations of enclosing constructions. All other models (sources and sinks for the room air node) are described via an abstract Heat port shown. This allows you to add plant components written in Modelica.

Analogous to the NANDRAD export, a Modelica model is created via the export dialog (Ctrl+E). When selecting the Modelica model export option, the name of the Modelica package must be specified. After clicking Export you have to select the destination directory for the Modelica package. The following files will be created in this directory:

    <Modelica Package Directory>
    ├── climate_data.txt # Climate data
    ├── Climate.mo # Reads and interpolates climate data
    ├── package.mo # The package
    ├── Room.mo # Room air node
    ├── schedule_data.txt # Heater setpoints
    ├── Schedules.mo # Reads and delivers setpoints
    ├── Therakles.mo # Connects all subcomponents
    ├── Wall1.mo # 1. construction
    ├── Wall2.mo # 2. construction
    ├── ...
    └── WallX.mo # last construction

18.5. FMU export

Another export option is the creation of a Functional Mockup Unit, i.e. a simulation component that supports FMI (Functional Mockup Interface). THERAKLES can be used as ModelExchange and CoSimulation-FMU, and supports the Interface specification in version 2.0, including resetting the FMU state.

When exporting a THERAKLES-FMU, the kernel and all required resources, i.e. project file and climate data, are exported.

When selecting the FMU export option in the export dialog (Ctrl+E) a model name must be entered. This name will then be used as the FMU identifier in the model description file. In version 3.2 the interface of the FMU and cannot yet be adapted. Therefore the corresponding options are grayed out.

If you click on Export you have to select the file name of the FMU you want to generate.

The generated FMU (zip archive) then contains the project file, the required climate data, the runtime library with the implemented FMU interface and additional resources required.

19. Diagnostics and performance options

19.1. Background to numerics

THERAKLES contains a modular system of numerical time integrators and equation system solvers. Solver statistics provide a suitable analysis tool in the case of a non-performant simulation. Often it can be observed that an unusually long simulation time is an indication for false/unfavorable model parameters or unsuitable solver settings.

For error analysis it should be noted that the solution method consists of several components. This includes

  • Integrator:* Time integration method for transient equations (hereinafter Integrator)

  • Newton method is integrated in implicit integrators, not in explicit methods

  • LES-Solver:* Solution method for linear systems of equations generated by the Newton method (hereinafter LES-Solver)

There are various selection options for all components. For nonlinear equation systems (like THERAKLES) a Newton method is used by default. This generates a sequence of linear systems of equations, which have to be treated by an equation solver (LESSolver).

With the linear equation system solvers direct and iterative methods (Krylow subspace methods) are available. Krylow subspace methods generate an approximate solution of the linear system of equations, which usually only leads to a quick solution if the system of equations is conditioned.

By default, THERAKLES uses the CVODE integrator in conjunction with a direct equation system solver for weakly populated matrices.

19.1.1. Selection of alternative integrators and LES solvers

Using the command line arguments --les-solver=<LES-ID> and --integrator=<integrator-ID> other components can be selected for the numerical solution. The following options are supported:

Possible integrators (time integration)

Integrator ID Integrator/Algorithm

CVODE

Use the CVODE Integrator (from the SUNDIALS library)

ImplicitEuler

Use the classic implicit Euler method with modified Newton algorithm (stricter convergence control and only one-step method, useful for extreme jump conditions in the model)

Table 16. Possible solvers for the system of equations
LES ID LES solver/algorithm

Dense

Use Gauss algorithm with dense Jacobian matrix (only useful for implementation tests, otherwise much too slow)

Band

Use band structure for Jacobimatrix and direct solver

BTridiag

Use block tridiagonal structure for Jacobian matrix and direct solver

KLU

Use direct solver with weak matrix (CVODE only)

GMRES

Use GMRES algorithm

BiCGStab

Use BiCGStab algorithm (CVODE only)

For the iterative solvers, a preconditioner can be specified by the command line argument --precond=<precond-ID>:

Possible preconditioners for the solver of the equation system

Precond-ID Preconditioner

ILU

Incomplete LU Decomposition

Band

Band structure

Band(<hbw>)

Band structure with half-bandwidth hbw

19.2. General Statistics (Metrics)

For the analysis of the simulation performance statistics and timing data are stored in the files log/summary.txt. or log/screenlog.txt. The simulation times for various steps are recorded by the program and saved in form of statistics is written to the log files. When the command line solver is executed, this statistic is displayed on the screen at the end of each simulation.

Below is an example of this statistic when using a direct LES solver (495 balance equations/unknowns):

------------------------------------------------------------------------------
Wall clock time = 11,458 s
------------------------------------------------------------------------------
Framework: Output writing = 0.187 s ( 1.63 %)
Framework: Step-completed calculations = 2,057 s (17.95 %)
Integrator: Steps = 114478
Integrator: Newton iterations = 197150
Integrator: Newton convergence failures = 181
Integrator: Error test failures = 12371
Integrator: Function evaluation (Newton) = 3,529 s (30.80 %) 197151
Integrator: LES setup = 1.802 s (15.73 %) 30137
Integrator: LES solve = 2,095 s (18.28 %) 197150
LES: Jacobian matrix evaluations = 2548
LES: Matrix factorization = 0.639 s ( 5.57 %) 30137
LES: Function evaluation (Jacobian gen.) = 0.835 s ( 7.28 %) 48412
------------------------------------------------------------------------------

With a hygrothermal simulation the calculation takes a little longer (990 balance equations / unknown):

------------------------------------------------------------------------------
Wall clock time = 69,521 s
------------------------------------------------------------------------------
Framework: Output writing = 0.398 s ( 0.57 %)
Framework: Step-completed calculations = 10,588 s (15.23 %)
Integrator: Steps = 252180
Integrator: Newton iterations = 463610
Integrator: Newton convergence failures = 583
Integrator: Error test failures = 29295
Integrator: Function evaluation (Newton) = 19,316 s (27.78 %) 463611
Integrator: LES setup = 21.753 s (31.29 %) 80260
Integrator: LES solve = 10.878 s (15.65 %) 463610
LES: Jacobian matrix evaluations = 7418
LES: Matrix factorization = 7,314 s (10.52 %) 80260
LES: Function evaluation (Jacobian gen.) = 11,487 s (16.52 %) 281884
------------------------------------------------------------------------------

All work steps in the category Framework and Integrator add up to the total simulation time of (Wall clock time) (a small difference may result from the unrecorded overhead):

simulation time graph
Figure 79. time shares of the different calculation steps


The times listed under the category LES show how the effort for creating the Jacobi matrix (LES setup) is composed.

Of particular interest for simulation analysis are the counters for the convergence errors (Integrator: Newton convergence failures) and the error estimation overruns (Integrator: Error test failures). A very large number of convergence errors indicates an invalid/bad parameterization of the model. The concrete values of the statistics and ratios of the counter variables, however, depend significantly on the calculated problem.

20. Moisture transport in constructions

With THERAKLES a moisture balance can be calculated in addition to the energy balance. In this case, coupled heat and moisture transport equations are solved in the room air node and in all room enclosure constructions.

The moisture transport model in the constructions takes hygroscopic moisture storage into account under Use of a sorption isotherm and moisture transport by vapour diffusion.

Note: About the accounting of the moisture flows reported by THERAKLES on the room side (in the construction in the heating period) and outside (out of the construction)

20.1. Definition of a detailed moisture storage function in the material database

Normally the THERAKLES uses an idealized sorption isotherm with 3 support points:

  • 0 kg/m3 at 0% RH

  • w80 at 80% RH

  • wsat at 100% RH

w80 and wsat are part of the standard material parameterization and should be used for all materials, which are in principle capable of transporting moisture (i.e. no steel or glass).

It is also possible, however, to define a to define more detailed sorption isotherms. For this purpose, the material XML tag simply add more wXXX attributes, where XXX is an integer relative humidity.

Example:

<Material id="10120" category="13" name="Material with sorptionisotherm"
    lambda="0.45" rho="1208" cT="980" mu="12"
    w33="7.3" w43="22.2" w58="24" w75="36.8" w80="40.3" w84="45.45" w90="55.96" w96="85" wsat="380"
    HPCM="0" TPCMLow="23"/>

The 3rd line, beginning with w33=…​ defines the sorption isotherm, where the moisture contents and The corresponding air humidity must be strictly monotonously increasing. The last value must always be wsat. w80 must also be validly defined for various consistency tests.

During the calculation, linear interpolation over the relative humidity is performed between these grid points.

20.2. Vapour diffusion transition coefficients

It is not possible to enter the vapour diffusion transition coefficients in the program interface. The XML attributes beta_e (outside) and beta_i (inside) must be adapted in the project file:

<RoomConstruction>
    <orientation>270</orientation>
    <inclination>90</inclination>
    <R_ue>0.04</R_ue>
    <R_ui>0.13</R_ui>
    <beta_e>2e-07</beta_e>
    <beta_i>3e-08</beta_i>
    ...

The vapour diffusion transfer coefficients are given in the unit s/m.