summaryrefslogtreecommitdiff
path: root/Simulator/Flowsheet_functions.h
blob: bde816393a34814a8e50b7b9a54afc5cf0a75f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#ifndef Flowsheet__H
#define Flowsheet__H
#include "meta/meta_modelica.h"
#include "util/modelica.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>

#include "simulation/simulation_runtime.h"
#ifdef __cplusplus
extern "C" {
#endif


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_HLiqId(threadData_t *threadData, modelica_real _SH, real_array _VapCp, real_array _HOV, modelica_real _Tc, modelica_real _T);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_HLiqId(threadData_t *threadData, modelica_metatype _SH, modelica_metatype _VapCp, modelica_metatype _HOV, modelica_metatype _Tc, modelica_metatype _T);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HLiqId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_HLiqId,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_HLiqId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HLiqId)


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_HV(threadData_t *threadData, real_array _HOV, modelica_real _Tc, modelica_real _T);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_HV(threadData_t *threadData, modelica_metatype _HOV, modelica_metatype _Tc, modelica_metatype _T);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HV,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_HV,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_HV MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HV)


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_HVapId(threadData_t *threadData, modelica_real _SH, real_array _VapCp, real_array _HOV, modelica_real _Tc, modelica_real _T);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_HVapId(threadData_t *threadData, modelica_metatype _SH, modelica_metatype _VapCp, modelica_metatype _HOV, modelica_metatype _Tc, modelica_metatype _T);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HVapId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_HVapId,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_HVapId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HVapId)


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_LiqCpId(threadData_t *threadData, real_array _LiqCp, modelica_real _T);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_LiqCpId(threadData_t *threadData, modelica_metatype _LiqCp, modelica_metatype _T);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_LiqCpId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_LiqCpId,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_LiqCpId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_LiqCpId)


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_Psat(threadData_t *threadData, real_array _VP, modelica_real _T);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_Psat(threadData_t *threadData, modelica_metatype _VP, modelica_metatype _T);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_Psat,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_Psat,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_Psat MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_Psat)


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_SId(threadData_t *threadData, real_array _VapCp, real_array _HOV, modelica_real _Tb, modelica_real _Tc, modelica_real _T, modelica_real _P, modelica_real _xliq, modelica_real _xvap, modelica_real *out_Svap);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_SId(threadData_t *threadData, modelica_metatype _VapCp, modelica_metatype _HOV, modelica_metatype _Tb, modelica_metatype _Tc, modelica_metatype _T, modelica_metatype _P, modelica_metatype _xliq, modelica_metatype _xvap, modelica_metatype *out_Svap);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_SId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_SId,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_SId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_SId)


DLLExport
modelica_real omc_Simulator_Files_ThermodynamicFunctions_VapCpId(threadData_t *threadData, real_array _VapCp, modelica_real _T);
DLLExport
modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_VapCpId(threadData_t *threadData, modelica_metatype _VapCp, modelica_metatype _T);
static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_VapCpId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_VapCpId,0}};
#define boxvar_Simulator_Files_ThermodynamicFunctions_VapCpId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_VapCpId)
#include "Flowsheet_model.h"


#ifdef __cplusplus
}
#endif
#endif