User manual
34 
SignalOperator.ArithmeticMean 
SignalOperator.RectifiedMean 
SignalOperator.RMS 
SignalOperator.ACCoupledRMS 
SignalOperator.SlewRate 
SignalOperator.THD 
SignalOperator.FirstHarmonic 
insertAnimation(result_block, model, format, width, height) 
Inserts an animation.  
The animation is automatically running. You can rotate the animation object by pressing left 
button and moving the mouse. Pan by also pressing 
Ctrl. Zoom by pressing Alt. 
The 
format supported is "X3D". The dimensions in pixels are given by width and height. 
The following utility function is also available: 
setClassText(package_path, Modelica_text); 
Creates or changes a Modelica class.  
The complete text definition of a Modelica class is given. It can be inserted in a package. If 
the 
package_path is an empty string, a top level class is created. 
Example of HTML report sections 
Below a small example of how a HTML report can look like: 
<?xml version="1.0" encoding="UTF-8" ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 
<head> 
  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/> 
  <title>Dymola Report</title> 
  <link rel="stylesheet" type="text/css" href="dymola_report.css"/> 
  <script type="text/javascript" src="utils.js"></script> 
  <script type="text/javascript" src="dymola_interface.js"></script> 
  <script type="text/javascript" src="dymola_report.js"></script> 
  <script type="text/javascript" 
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-
MML_HTMLorMML"></script> 
</head> 
<body> 
  <h1>Dymola Report</h1> 
  <p>This is a sample report to demonstrate the Dymola Report features.</p> 
  <h2>Diagram</h2> 
  <p>The model diagram for the Modelica.Blocks.Examples.PID_Controller is shown 
below:</p> 










