| <?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
| <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
| <channel> |
| <title>Run a single simulation | Eclipse MOSAIC</title> |
| <link>https://www.eclipse.org/mosaic/docs/run_simulations/</link> |
| <atom:link href="https://www.eclipse.org/mosaic/docs/run_simulations/index.xml" rel="self" type="application/rss+xml" /> |
| <description>Run a single simulation</description> |
| <generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><lastBuildDate>Sun, 05 May 2019 00:00:00 +0100</lastBuildDate> |
| <image> |
| <url>https://www.eclipse.org/mosaic/images/logo.svg</url> |
| <title>Run a single simulation</title> |
| <link>https://www.eclipse.org/mosaic/docs/run_simulations/</link> |
| </image> |
| |
| <item> |
| <title>Simulation Results</title> |
| <link>https://www.eclipse.org/mosaic/docs/run_simulations/results/</link> |
| <pubDate>Sun, 05 May 2019 00:00:00 +0100</pubDate> |
| <guid>https://www.eclipse.org/mosaic/docs/run_simulations/results/</guid> |
| <description><p>Eclipse MOSAIC generates log files for each simulation run. Log files are generated for the ambassadors of each |
| coupled federate respectively simulator and for the RTI itself. The log files are stored in the |
| folder <code>&lt;mosaic-root&gt;/logs/log-&lt;timestamp&gt;</code>. For each simulation run a new folder is created.</p> |
| <pre><code class="language-FOLDER">└─ log-&lt;timestamp&gt; |
| ├─ apps |
| | ├─ &lt;unitType&gt;_&lt;unitId&gt; ................. Detailed application specific logs for each unit |
| | ├─ OperatingSystem.log ................. Detailed operating system logs for the unit |
| | └─ ExampleApp.log ...................... Detailed application specific logs for each application. |
| ├─ activities.csv ......................... Simulation details in comma separated value-format |
| ├─ Application.log ....................... Information about the application ambassador |
| ├─ Cell.log ............................... Cellular network log |
| ├─ ChargingStation.log .................... ChargingStation ambassador log |
| ├─ Communication.log ...................... (Ad hoc) network simulation ambassador log |
| ├─ CommunicationDetails.log ............... Detailed output of network simulator (ns-3 or OMNeT++) |
| ├─ Environment.log ........................ Logs of the environmental eventserver |
| ├─ Mapping.log ............................ Mapping configuration logs |
| ├─ MOSAIC.log ............................. General information, e.g. startup sequence information |
| ├─ Navigation.log ......................... Detailed logs about navigation component in the application ambassador |
| ├─ Traffic.log ............................ Traffic simulation log (SUMO or others) |
| └─ visualizer.csv ......................... Recorded data of the integrated File Output Generator |
| </code></pre> |
| <p>In addition to standard logging output for each federate there is a <code>activities.csv</code> file which contains |
| detailed information about sent and received interactions. This file can be used to trace a |
| simulation run for deep debugging. To enable this feature, the log level of the logger <code>activities</code> has to be |
| set to <code>INFO</code> in the <code>logback.xml</code> (see section below).</p> |
| <h2 id="logging">Logging</h2> |
| <p>The main configuration file for logging is <code>&lt;mosaic-root&gt;/etc/logback.xml</code>. In this file, the log output |
| can be configured in great detail. This file can be adjusted to your needs, e.g. you can set up a more detailed logging |
| for communication components but set a less verbose output for Eclipse MOSAIC&rsquo;s internal interactions or traffic |
| simulation depending on your simulation focus.</p> |
| <p>Eclipse MOSAIC uses <em>LOGback</em> as logging framework. <em>LOGback</em> offers a lot of parameters to adapt the output to your needs. Please refer to |
| |
| <a href="https://logback.qos.ch/manual/layouts.html#ClassicPatternLayout" target="_blank" rel="noopener">this site</a> for a detailed overview of all |
| parameters you can use in the <code>logback.xml</code> file.</p> |
| <p>Please note that you can adjust the output to your needs by setting different log levels (<code>ERROR</code>, <code>INFO</code>, |
| <code>DEBUG</code> etc.) for each component in the file at <code>&lt;mosaic-root&gt;/etc/logback.xml</code>. This might also influence |
| the simulation performance because of a possibly high amount of data to be logged.</p> |
| <h3 id="federate-specific-logging">Federate specific logging</h3> |
| <p>Depending on the simulation purpose, further configuration possibilities for federate specific logging |
| may be of interest.</p> |
| <p>For instance, OMNeT++ exhibits an elaborated logging concept. The <code>omnetpp.ini</code> in the scenario folder |
| includes options to adjust the logging levels. The outputs of this federate are written to <code>CommunicationDetails.log</code>.</p> |
| </description> |
| </item> |
| |
| <item> |
| <title>Run a Simulation Set</title> |
| <link>https://www.eclipse.org/mosaic/docs/run_simulations/simulation_set/</link> |
| <pubDate>Sun, 05 May 2019 00:00:00 +0100</pubDate> |
| <guid>https://www.eclipse.org/mosaic/docs/run_simulations/simulation_set/</guid> |
| <description><div class="alert alert-extended"> |
| <span class="extended-icon" style="background-image: url(/mosaic/img/alert-extended.svg)"></span> |
| <div> |
| <p>This feature is part of <strong><a href="https://www.eclipse.org/mosaic/mosaic/download#overview" title="MOSAIC Extended">MOSAIC Extended</a></strong>.<br> |
| For further information on licenses, feel free to contact us via <strong><a href="mailto:mosaic@fokus.fraunhofer.de"><a href="mailto:mosaic@fokus.fraunhofer.de">mosaic@fokus.fraunhofer.de</a></a></strong>.</p> |
| </div> |
| </div> |
| <p>A common objective when running simulations is to assess the impact of different parameter settings for |
| a specific scenario on the results of the simulation. To this end, the is a tool to apply |
| different configurations to a scenario, after which a series of simulations is executed via CLI by calling the start script.</p> |
| </description> |
| </item> |
| |
| </channel> |
| </rss> |