summaryrefslogtreecommitdiff
path: root/Simulator/Flowsheet_09alg.c
diff options
context:
space:
mode:
Diffstat (limited to 'Simulator/Flowsheet_09alg.c')
-rw-r--r--Simulator/Flowsheet_09alg.c279
1 files changed, 279 insertions, 0 deletions
diff --git a/Simulator/Flowsheet_09alg.c b/Simulator/Flowsheet_09alg.c
new file mode 100644
index 0000000..91e2dba
--- /dev/null
+++ b/Simulator/Flowsheet_09alg.c
@@ -0,0 +1,279 @@
+/* Algebraic */
+#include "Flowsheet_model.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* forwarded equations */
+extern void Flowsheet_eqFunction_523(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_524(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_525(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_526(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_527(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_528(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_529(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_530(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_531(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_532(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_533(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_534(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_535(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_536(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_537(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_538(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_539(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_540(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_541(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_542(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_543(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_544(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_545(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_546(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_547(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_548(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_549(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_550(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_551(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_552(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_553(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_554(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_555(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_556(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_557(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_558(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_559(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_560(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_561(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_562(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_563(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_564(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_581(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_582(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_583(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_584(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_585(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_586(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_587(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_588(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_589(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_590(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_591(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_592(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_593(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_594(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_595(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_596(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_597(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_598(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_599(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_600(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_601(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_602(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_603(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_604(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_605(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_606(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_607(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_608(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_609(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_610(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_611(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_612(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_613(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_614(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_615(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_506(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_505(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_504(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_503(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_502(DATA* data, threadData_t *threadData);
+extern void Flowsheet_eqFunction_501(DATA* data, threadData_t *threadData);
+
+static void functionAlg_system0(DATA *data, threadData_t *threadData)
+{
+ Flowsheet_eqFunction_523(data, threadData);
+
+ Flowsheet_eqFunction_524(data, threadData);
+
+ Flowsheet_eqFunction_525(data, threadData);
+
+ Flowsheet_eqFunction_526(data, threadData);
+
+ Flowsheet_eqFunction_527(data, threadData);
+
+ Flowsheet_eqFunction_528(data, threadData);
+
+ Flowsheet_eqFunction_529(data, threadData);
+
+ Flowsheet_eqFunction_530(data, threadData);
+
+ Flowsheet_eqFunction_531(data, threadData);
+
+ Flowsheet_eqFunction_532(data, threadData);
+
+ Flowsheet_eqFunction_533(data, threadData);
+
+ Flowsheet_eqFunction_534(data, threadData);
+
+ Flowsheet_eqFunction_535(data, threadData);
+
+ Flowsheet_eqFunction_536(data, threadData);
+
+ Flowsheet_eqFunction_537(data, threadData);
+
+ Flowsheet_eqFunction_538(data, threadData);
+
+ Flowsheet_eqFunction_539(data, threadData);
+
+ Flowsheet_eqFunction_540(data, threadData);
+
+ Flowsheet_eqFunction_541(data, threadData);
+
+ Flowsheet_eqFunction_542(data, threadData);
+
+ Flowsheet_eqFunction_543(data, threadData);
+
+ Flowsheet_eqFunction_544(data, threadData);
+
+ Flowsheet_eqFunction_545(data, threadData);
+
+ Flowsheet_eqFunction_546(data, threadData);
+
+ Flowsheet_eqFunction_547(data, threadData);
+
+ Flowsheet_eqFunction_548(data, threadData);
+
+ Flowsheet_eqFunction_549(data, threadData);
+
+ Flowsheet_eqFunction_550(data, threadData);
+
+ Flowsheet_eqFunction_551(data, threadData);
+
+ Flowsheet_eqFunction_552(data, threadData);
+
+ Flowsheet_eqFunction_553(data, threadData);
+
+ Flowsheet_eqFunction_554(data, threadData);
+
+ Flowsheet_eqFunction_555(data, threadData);
+
+ Flowsheet_eqFunction_556(data, threadData);
+
+ Flowsheet_eqFunction_557(data, threadData);
+
+ Flowsheet_eqFunction_558(data, threadData);
+
+ Flowsheet_eqFunction_559(data, threadData);
+
+ Flowsheet_eqFunction_560(data, threadData);
+
+ Flowsheet_eqFunction_561(data, threadData);
+
+ Flowsheet_eqFunction_562(data, threadData);
+
+ Flowsheet_eqFunction_563(data, threadData);
+
+ Flowsheet_eqFunction_564(data, threadData);
+
+ Flowsheet_eqFunction_581(data, threadData);
+
+ Flowsheet_eqFunction_582(data, threadData);
+
+ Flowsheet_eqFunction_583(data, threadData);
+
+ Flowsheet_eqFunction_584(data, threadData);
+
+ Flowsheet_eqFunction_585(data, threadData);
+
+ Flowsheet_eqFunction_586(data, threadData);
+
+ Flowsheet_eqFunction_587(data, threadData);
+
+ Flowsheet_eqFunction_588(data, threadData);
+
+ Flowsheet_eqFunction_589(data, threadData);
+
+ Flowsheet_eqFunction_590(data, threadData);
+
+ Flowsheet_eqFunction_591(data, threadData);
+
+ Flowsheet_eqFunction_592(data, threadData);
+
+ Flowsheet_eqFunction_593(data, threadData);
+
+ Flowsheet_eqFunction_594(data, threadData);
+
+ Flowsheet_eqFunction_595(data, threadData);
+
+ Flowsheet_eqFunction_596(data, threadData);
+
+ Flowsheet_eqFunction_597(data, threadData);
+
+ Flowsheet_eqFunction_598(data, threadData);
+
+ Flowsheet_eqFunction_599(data, threadData);
+
+ Flowsheet_eqFunction_600(data, threadData);
+
+ Flowsheet_eqFunction_601(data, threadData);
+
+ Flowsheet_eqFunction_602(data, threadData);
+
+ Flowsheet_eqFunction_603(data, threadData);
+
+ Flowsheet_eqFunction_604(data, threadData);
+
+ Flowsheet_eqFunction_605(data, threadData);
+
+ Flowsheet_eqFunction_606(data, threadData);
+
+ Flowsheet_eqFunction_607(data, threadData);
+
+ Flowsheet_eqFunction_608(data, threadData);
+
+ Flowsheet_eqFunction_609(data, threadData);
+
+ Flowsheet_eqFunction_610(data, threadData);
+
+ Flowsheet_eqFunction_611(data, threadData);
+
+ Flowsheet_eqFunction_612(data, threadData);
+
+ Flowsheet_eqFunction_613(data, threadData);
+
+ Flowsheet_eqFunction_614(data, threadData);
+
+ Flowsheet_eqFunction_615(data, threadData);
+
+ Flowsheet_eqFunction_506(data, threadData);
+
+ Flowsheet_eqFunction_505(data, threadData);
+
+ Flowsheet_eqFunction_504(data, threadData);
+
+ Flowsheet_eqFunction_503(data, threadData);
+
+ Flowsheet_eqFunction_502(data, threadData);
+
+ Flowsheet_eqFunction_501(data, threadData);
+}
+/* for continuous time variables */
+int Flowsheet_functionAlgebraics(DATA *data, threadData_t *threadData)
+{
+ TRACE_PUSH
+
+ data->simulationInfo->callStatistics.functionAlgebraics++;
+
+ functionAlg_system0(data, threadData);
+
+ Flowsheet_function_savePreSynchronous(data, threadData);
+
+ TRACE_POP
+ return 0;
+}
+
+#ifdef __cplusplus
+}
+#endif