diff options
Diffstat (limited to 'src/main/Simulator/Graph_13opt.c')
-rw-r--r-- | src/main/Simulator/Graph_13opt.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/Simulator/Graph_13opt.c b/src/main/Simulator/Graph_13opt.c new file mode 100644 index 0000000..b30eab4 --- /dev/null +++ b/src/main/Simulator/Graph_13opt.c @@ -0,0 +1,24 @@ +/* Optimization */ +#include "Graph_model.h" +#include "Graph_12jac.h" +#if defined(__cplusplus) +extern "C" { +#endif +int Graph_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 Graph_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 Graph_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 Graph_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 Graph_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 |