summaryrefslogtreecommitdiff
path: root/Simulator/Flowsheet_13opt.c
diff options
context:
space:
mode:
authorbrenda-br2023-03-02 15:49:11 +0530
committerbrenda-br2023-03-02 15:49:11 +0530
commit7af3526e105cc330422f8742ec5edec1c4a0a98f (patch)
treec00e283eaa3f67c64f66c828f518bb74abe55752 /Simulator/Flowsheet_13opt.c
parent78624489cbff516cc4d15b0df738c6c2fe4f8a8d (diff)
downloadChemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.tar.gz
Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.tar.bz2
Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.zip
Restructuring Finalized for App Bundling
Diffstat (limited to 'Simulator/Flowsheet_13opt.c')
-rw-r--r--Simulator/Flowsheet_13opt.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/Simulator/Flowsheet_13opt.c b/Simulator/Flowsheet_13opt.c
new file mode 100644
index 0000000..e285eeb
--- /dev/null
+++ b/Simulator/Flowsheet_13opt.c
@@ -0,0 +1,24 @@
+/* Optimization */
+#include "Flowsheet_model.h"
+#include "Flowsheet_12jac.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+int Flowsheet_mayer(DATA* data, modelica_real** res,short *i) {
+ throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
+}
+int Flowsheet_lagrange(DATA* data, modelica_real** res, short * i1, short*i2) {
+ throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
+}
+int Flowsheet_pickUpBoundsForInputsInOptimization(DATA* data, modelica_real* min, modelica_real* max, modelica_real*nominal, modelica_boolean *useNominal, char ** name, modelica_real * start, modelica_real * startTimeOpt) {
+ throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
+}
+int Flowsheet_setInputData(DATA *data, const modelica_boolean file) {
+ throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
+}
+int Flowsheet_getTimeGrid(DATA *data, modelica_integer * nsi, modelica_real**t) {
+ throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
+}
+#if defined(__cplusplus)
+}
+#endif \ No newline at end of file