Home Examples Screenshots User manual Bluesky logo YouTube
OghmaNano Multiphysics simulation platform for optoelectronic devices and photonic systems DOWNLOAD Quick Start guide

Output Sweeps in OghmaNano

What are output sweeps?

Most simulation editors in OghmaNano provide the ability to write parameter sweeps to disk. Output sweeps are datasets written as a function of simulation step rather than as individual simulation snapshots.

For example:

Unlike simulation snapshots, which store the full internal device state at each step, output sweeps instead store reduced quantities already processed as a function of simulation coordinate.

This makes output sweeps substantially easier to analyse because quantities are already arranged into directly plottable datasets.

The output sweep controls can usually be found in the configuration window of the relevant simulation editor. For example, the JV editor shown in ?? contains the option:

Save parameter sweeps

which has been set to:

Disk
JV editor window showing sweep output controls.
The JV editor window showing the Save parameter sweeps option.
Simulation output directory containing the sweep folder.
The simulation output directory containing the generated sweep folder.

Sweep output files

When output sweeps are enabled, OghmaNano generates a directory called:

sweep

This directory contains datasets describing quantities as a function of simulation coordinate such as voltage or time.

For example:

The contents of a typical sweep directory are shown in ??.

Sweep directory containing parameter sweep datasets.
Example sweep directory containing quantities stored as a function of simulation step.

Each file represents a particular physical quantity plotted as a function of voltage, time, or another simulation parameter. This avoids the need to manually extract the information from individual snapshots or write custom post-processing scripts.

Plotting sweep data

Sweep datasets can be opened directly inside OghmaNano by double-clicking on the required file.

For example, if the file:

Q_nfree.csv

is opened, OghmaNano automatically plots the free electron density as a function of voltage, as shown in ??.

Free electron density plotted as a function of voltage.
Example sweep dataset showing free electron density as a function of voltage.

Output sweeps provide a convenient way to analyse simulation behaviour without needing to manually process large numbers of snapshot files. Because the quantities have already been reduced to one-dimensional parameter sweeps, they can usually be plotted and interpreted immediately.

Internally, sweep files use exactly the same OghmaNano output format described previously, meaning they can be stored either as human-readable CSV files or compact binary datasets.

💡 Tip: Output sweeps are often substantially smaller and easier to analyse than full simulation snapshots because they only store reduced quantities rather than the complete device state.