- Index
- » Users
- » ashirazi7
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Mar-10-18 07:38:32
e.g. parameter SI.HeatFlowRate Q_ST=5 "Heat transfer rate"...
Category:
Programming
Forum:
Modelica Language
Hello,
Does anyone know if there is a way to define a symbol for a variable using LaTex or HTML formatted text along with the name, unit and description of a variable? I need it for posprocessing of the OpenModelica _res.mat output files in Python matplotlib package.
I personally would have thought something like the following would work but not sure about that, and apparantly the annotations are not saved anywhere in the _res.mat or _init.xml files.
Code:
parameter SI.HeatFlowRate Q_ST = 5 "Heat transfer rate" annotation(Symbol="Q\textsubscript{ST}");
I would appreciate it if someone could help with this.
Thanks,
Ali
Page Start Prev 1 Next End
- Index
- » Users
- » ashirazi7
- » Profile