Skip to content

Commit

Permalink
Ensemble curve improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Jun 8, 2023
1 parent f988b5f commit dcb1773
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
10 changes: 3 additions & 7 deletions content/getting-started/whats-new/releasenotes_2023_06.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@ Improved support for named categories in color legend. Supported for both ROFF a


## Improved visual ensemble curves
use bright transparent curves
allow direct access to curve colors in tree
https://github.com/OPM/ResInsight/issues/10214





![]({{< relref "" >}}images/plot-window/Ensemble.png)

The visual appearance of ensemble curves has been improved. A color selection dialog can be opened by clicking on the color icon in the **Project Tree**. This feature is also supported for single summary curves.
![]({{< relref "" >}}images/plot-window/ColorSelectionDialog.png)

## Other improvements

Expand Down
17 changes: 12 additions & 5 deletions content/plot-window/EnsemblePlotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ published = true
weight = 50
+++

![]({{< relref "" >}}images/plot-window/Ensemble.png)

An ensemble is a group of cases that are tightly coupled, only a set of ensemble input parameters differ between cases. This makes it relevant to perform calculations and statistics analysis on ensembles.

## Import
Expand All @@ -21,13 +23,22 @@ During import of a summary case, ResInsight tries to find an associated **parame
[Ensemble File Dialog]({{< relref "ensemblefiledialog" >}})

## Plotting
Ensembles are plotted in the summary plot the same way as ordinary summary curves. Create a new summary plot using the [summary plot editor]({{< relref "summaryploteditor" >}}). Imported ensembles will appear in a separate group in the list of summary cases. When an ensemble is selected, a new curve set is created and plotted as multiple summary curves. By default all curves in an ensemble curve set will have the same color. The coloring mode may be edited in the curve set's property editor in the project plot tree view. Two coloring modes are available:
Ensembles are plotted in the summary plot the same way as ordinary summary curves. Create a new summary plot using the [summary plot editor]({{< relref "summaryploteditor" >}}). Imported ensembles will appear in a separate group in the list of summary cases. When an ensemble is selected, a new curve set is created and plotted as multiple summary curves. By default all curves in an ensemble curve set will have the same color.

A color selection dialog can be opened by clicking on the color icon in the **Project Tree**.
![]({{< relref "" >}}images/plot-window/ColorSelectionDialog.png)

The coloring mode may be edited in the curve set's property editor in the project plot tree view. Two coloring modes are available:

- **Single color** Use the same color for all curves in a curve set
- **Single color with Transparency** Use transparency for the ensemble curves
- **By Ensemble Parameter** One ensemble parameter is selected to control coloring. The ensemble parameter value for each case is used to pick a color in a color range. In this case a color legend appears.
- **By Objective Function** Use the value of an objective function for colors.
- **By Custom Objective Function** Use the value of an objective function for colors.

Stepping of data source for ensemble curves is described in [Summary Plot Source Stepping]({{< relref "summarysourcestepping" >}})

[Objective Functions]({{< relref "ObjectiveFunctions" >}})

### Resampling
Resampling of curves is possibly by selecting the actual curve(s) listed by the *Ensemble Curve Sets* item in **Plot Project Tree** and using the **Resampling** feature of **Property Editor**.
Expand All @@ -44,10 +55,6 @@ If the number of curves in a curve set is sufficient, ResInsight will calculate

Statistics curves may be toggled on or off in the curve set's property editor.

Example:

![]({{< relref "" >}}images/plot-window/Ensemble.png)

## Delta Ensemble
A new ensemble can be created based on calculations on two or more ensembles.
Such an ensemble is called an **Delta Ensemble**.
Expand Down
7 changes: 4 additions & 3 deletions content/plot-window/SummaryPlots.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ The text content of this window is easy to copy and paste into Excel or other to
It is also possible to save the text data to a file by the right-click command **Export to File**.



## Editing Summary Plots
The settings of each plot are listed in the **Plots** window for overview and are controlled by its sub-items and the **Property Editor**.

![]({{< relref "" >}}images/plot-window/SummaryCurveSelection.png)
A color selection dialog can be opened by clicking on the color icon in the **Project Tree**.
![]({{< relref "" >}}images/plot-window/ColorSelectionDialog.png)

The settings of each plot are listed in the **Plots** window for overview and are controlled by its sub-items and the **Property Editor**.
![]({{< relref "" >}}images/plot-window/SummaryCurveSelection.png)

### Editing a Summary Curve

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/plot-window/Ensemble.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dcb1773

Please sign in to comment.