You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: usersguide-sphinx/source/omedit.rst
+29-14Lines changed: 29 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -518,9 +518,12 @@ available in OMEdit.
518
518
519
519
- *Bitmap Tool* – Draws a bitmap container.
520
520
521
-
The shape tools are located in the toolbar. See Figure 2 -16.
521
+
The shape tools are located in the toolbar. See :numref:`omedit-user-defined-shapes`.
522
522
523
-
Figure 216: **User defined shapes.**
523
+
.. figure :: media/omedit-user-defined-shapes.png
524
+
:name: omedit-user-defined-shapes
525
+
526
+
User defined shapes.
524
527
525
528
The user can select any of the shape tools and start drawing on the
526
529
Icon/Diagram View. The shapes created on the Diagram View of Model
@@ -668,6 +671,8 @@ Graphical Views
668
671
- *Preserve aspect ratio* – If true then the component’s aspect ratio
669
672
is preserved while scaling.
670
673
674
+
.. _omedit-settings-simulation :
675
+
671
676
Simulation
672
677
~~~~~~~~~~
673
678
@@ -790,6 +795,8 @@ Figaro
790
795
791
796
- *Figaro Process* – the Figaro process location.
792
797
798
+
.. _omedit-settings-debugger :
799
+
793
800
Debugger
794
801
~~~~~~~~
795
802
@@ -846,8 +853,8 @@ The compilation time overhead from having this tracing on is less than
846
853
write the xml file containing the transformation tracing information.
847
854
848
855
Enable +d=infoXmlOperations in Tools->Options->Simulation (see section
849
-
2.9.5) OR alternatively click on the checkbox *Generate operations in
850
-
the info xml* in Tools->Options->Debugger (see section 2.9.12) which
856
+
:ref:`omedit-settings-simulation`) OR alternatively click on the checkbox *Generate operations in
857
+
the info xml* in Tools->Options->Debugger (see section :ref:`omedit-settings-debugger`) which
851
858
performs the same thing.
852
859
853
860
This adds all the transformations performed by OpenModelica on the
@@ -858,7 +865,7 @@ source equation(s) to the position of the bug.
858
865
Load a Model to Debug
859
866
~~~~~~~~~~~~~~~~~~~~~
860
867
861
-
Load an interesting model. We will use the package `Debugging.mo <https://github.com/OpenModelica/OpenModelica-testsuite/blob/master/openmodelica/debugging/Debugging.mo>`
868
+
Load an interesting model. We will use the package `Debugging.mo <https://github.com/OpenModelica/OpenModelica-testsuite/blob/master/openmodelica/debugging/Debugging.mo>`__
862
869
since it contains suitable, broken models to demonstrate common errors.
863
870
864
871
.. todo ::
@@ -875,7 +882,9 @@ get a clickable link that starts the debugger. If the user interface is
875
882
unresponsive or the running simulation uses too much processing power,
876
883
click cancel simulation first.
877
884
878
-
Figure 217. **Simulating the model.**
885
+
.. figure :: media/omedit-debug-more.png
886
+
887
+
Simulating the model.
879
888
880
889
Use the Transformation Debugger for Browsing
881
890
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -895,15 +904,17 @@ Try some larger models, e.g. in the MultiBody library or some other
895
904
library, to see more operations with several transformation steps
896
905
between different versions of the relevant equation(s). If you do not
897
906
trigger any errors in a model, you can still open the debugger, using
0 commit comments