summaryrefslogtreecommitdiff
path: root/Simulator/Flowsheet_functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'Simulator/Flowsheet_functions.h')
-rw-r--r--Simulator/Flowsheet_functions.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/Simulator/Flowsheet_functions.h b/Simulator/Flowsheet_functions.h
new file mode 100644
index 0000000..bde8163
--- /dev/null
+++ b/Simulator/Flowsheet_functions.h
@@ -0,0 +1,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
+