- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Is BLT-transformation default in OM?
Is BLT-transformation default in OM?
Is BLT-transformation default in OM?
Hey,
I have a couple of questions regarding the structural analysis and some general compiler things.
Does OM apply the BLT equations sorting algorithm by Tarjan? Is this default?
Does OM apply some more structural analysis within the BLT-blocks, e.g. Tearing?
Finally how can I output information about a compiled model? There is a model that gives different simulation results depending on the which order the equations are written. (Both results are wrong).
Thanks Alot!
Best,
patrik
Re: Is BLT-transformation default in OM?
Hello patrik,
Yes, the omc is applying the BLT by default.
A version of tearing is implemented, but not activated by default, because it hasn't currently the robustness and high performance to activated it by default.
As far as I know there is somebody who has currently started to work on that algorithms. You can tested it with the debug flag "+d=tearing".
For further information about the transformation process you can also activate the following debug flags:
dumpdaelow - Dumps the equation system before the transformation.
dumpindxdae - Dumps the equation system after index reduction and optimisation.
backenddaeinfo - Dumps more summerized information about the model.
with omc +help=debug you can see all available debug flags.
so long.
Willi
- wbraun
- 75 Posts
Re: Is BLT-transformation default in OM?
As far as I can tell you can't use them from OMEdit, or even not in OMShell.
Use the omc in a terminal:
Code:
omc +help
omc +help=debug
omc +s <filename.mo> +d=dumpindxdae,backenddaeinfo
omc +s <filename.mo> +d=tearing
so long.
Willi
- wbraun
- 75 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Is BLT-transformation default in OM?