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

44 6 Model file format

 

State Change Procedure

 

OnStateChange

ModelEquations

OnSolution

Figure 8a. State Change Procedure.

The Sample Check Procedure calls the following procedures in the Model file:

OnSolution

State change procedure

No Yes

Forced state change?

OnSample

No Yes

Sample time?

Figure 8c. Sample Check Procedure.

Note that the State Change Procedure is called within the Sample Check Procedure if the state is forced to change in th OnSample procedure.

6.9 EndCalc

Called once when the simulation stops. Can be used to free memory allocated in PreCalc, and to do some final calculations on explicit variables.

6.10 OnQuit

Is called when the user exits the Simulation Program or changes the model. Can be used to do some final clean up.

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