Скачиваний:
21
Добавлен:
25.04.2015
Размер:
1.28 Mб
Скачать

4 System structure

9

4 System structure

 

 

 

 

Free Pascal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Borland Delphi ®

 

 

 

 

 

 

 

 

 

Model file

 

 

 

 

 

C

format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C++

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fortran

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Compiler

DLL

Simulation

program

 

 

DLL

Solver file

Compiler

format

 

Figure 1. Structure of modeling system

Figure 1 shows the structure of the simulation system. The principle behind the structure of the simulation system is that all modules, or boxes in Figure 1, should be replaceable. The shadowed boxes in the structure are file formats or protocols that specify the interface between the other modules, i.e. when for example the structure of the Model file is fixed, third party programs could replace everything below and above the Model file box. Another important feature is that the solver is replaceable.

The boxes labeled Compiler are responsible for converting a file to some binary representation. In practice the boxes represents standard available compilers, capable of building Windows DLL’s (Dynamic Link Libraries).

WinDali

Morten Juel Skovrup

10 4 System structure

The different modules in Figure 1 have the following meaning:

Module

Explanation

Model file format

A file written in a standard programming language with a specified

 

interface to the Simulation module.

Simulation program

A GUI application which is displaying the results of a simulation to

 

the user as Graphs, animations, numbers, etc.

Solver

The numerical code which is solving the equations specified in the

 

Model file.

Solver file format

A file format with a specified interface understood by the Simulation

 

module.

In the current release of WinDali, the user starts at the model file level, specifying the model in a standard programming language. With the program comes a Pascal compiler, which is freeware, but other programming languages can be used.

WinDali

Morten Juel Skovrup

Соседние файлы в папке Model and programs
  • #
    25.04.201512 б17heatrecoverysystem.LoadPrf
  • #
    25.04.2015249.28 Кб17heatrecoverysystem.set
  • #
    25.04.201537.38 Кб20Model help.doc
  • #
    25.04.2015509 б18SimIntPlt.cnt
  • #
    25.04.201562.07 Кб17SimIntPlt.hlp
  • #
    25.04.20151.28 Mб21WinDali.pdf