I have constructed a model and I am getting an error "mapping broken, please fix it".
But I don't have any other warnings like undeclared variable values- I have also connected the input and output variables accordingly.
What to do? I am attaching my file here for better clarification. Thanks in advance.
Error encountered "mapping broken".
Error encountered "mapping broken".
- Attachments
-
- Workforcemgmtsimplified.7z
- (48.44 KiB) Downloaded 1543 times
Re: Error encountered "mapping broken".
The actual problem seemed to be one erroneous predicate in the model which was probably created because of a bug in the tool, as it should be impossible to create otherwise. We are currently investigating the possible reasons for this but are fairly confident that this should not happen in the current development version of the tool.
If you happen to be still using the old version (1.7), we highly recommend you update to the most recent version (1.8) which was released recently.
The model also seemed to have few other non-related issues that prevented simulation:
If you happen to be still using the old version (1.7), we highly recommend you update to the most recent version (1.8) which was released recently.
The model also seemed to have few other non-related issues that prevented simulation:
- The definition of Automation module is incomplete, so the model can not be simulated if it is in the diagram.
- The Modelica syntax for if-then-else is slightly different from the one used in the model, but we do actually provide a similar shorthand for it which is IFTHENELSE().
- Variable comparison inside if-then-else is done with two equals signs ("==") instead of one ("=").
- Attachments
-
- Workforcemgmtsimplified-fixed.zip
- (82.08 KiB) Downloaded 1571 times