Skip to content

Commit

Permalink
Add import of active cells to Preferences and performance
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Dec 5, 2024
1 parent ee7914f commit d7d7746
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 41 deletions.
10 changes: 9 additions & 1 deletion content/best-practices/PerformanceHints.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ For best performance, transform these data files to **ESMRY File Format**
[Summary Data Import]({{< relref "summarydata" >}})

## Grid Data
ResInsight has two grid import readers, **ResData** and **opm-common**. For best performance, use **opm-common**.
ResInsight has two grid import readers, **ResData** and **opm-common**.

#### opm-common
ResInsight now offers the option to import geometry exclusively for active cells. This feature is particularly beneficial for large grids where active cells constitute only a small fraction of the total, significantly reducing memory usage. This optimization ensures efficient handling of large models while maintaining full functionality for active cells. Enable this option using the checkbox **Only Load Active Cell Geometry**

Features currently not supported when using **opm-common**
- Relative Permeability plots
- PVT plots
- Flow Diagnostics

[Preferences]({{< relref "preferences" >}})
38 changes: 11 additions & 27 deletions content/getting-started/whats-new/releasenotes_2024_12.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ hidden = true

ResInsight now offers the option to import geometry exclusively for active cells. This feature is particularly beneficial for large grids where active cells constitute only a small fraction of the total, significantly reducing memory usage. This optimization ensures efficient handling of large models while maintaining full functionality for active cells.


TODO: link to opm-common active cells
[Preferences]({{< relref "preferences" >}}#grid)

[Performance Hints]({{< relref "performancehints" >}})

## Cloud Services

![]({{< relref "" >}}images/cloud-services/osdu-well-path-3dview.png)

When we access cloud services, an authentication token is stored to a file in your home folder. In some situations this token can become invalid causing the cloud connection to fail. If this happens, a button in Preferences can be used to delete this token. The next time you try to access cloud services, the normal authentication dialog will be displayed and a fresh token is created.
When accessing cloud services, an authentication token is saved to a file in your home folder. Occasionally, this token may become invalid, leading to a failure in establishing a cloud connection. If this occurs, you can resolve the issue by using the **Delete Token** button in the **Preferences** menu. Once the token is deleted, the authentication dialog will appear the next time you attempt to access cloud services, and a new token will be generated automatically.

[Cloud Services]({{< relref "cloudservices" >}})

Expand All @@ -29,17 +28,21 @@ When we access cloud services, an authentication token is stored to a file in yo

![]({{< relref "" >}}images/3d-main-window/quick-access-main.png)

For large projects with many views and many grid models, it can take some time to navigate to the information you are looking for. We have now added a special dialog named **Quick Access**, where selected information from a view is displayed. The default location for the dialog is at to the right of the 3D views.
For large projects with numerous views and grid models, navigating to specific information can sometimes be time-consuming. To address this, we've introduced a dedicated dialog called **Quick Access**. This dialog displays selected information from a view, making it easier to find what you need efficiently.

By default, the **Quick Access** dialog is located to the right of the 3D views.

[Quick Access]({{< relref "quickaccess" >}})

## Framework Updates
Qt has been updated from version 5 to version 6. This is a quite large change that affects several parts, especially the application engine of ResInsight. Some visual user interface features will be affected. The font system is updated, and the appearance and size of fonts will on some systems be slightly different. The default spacing between elements in the user interface is increased slightly.
Qt has been upgraded from version 5 to version 6, bringing significant changes that impact several aspects of ResInsight, particularly its application engine. This update affects certain visual features of the user interface:

The build instructions is now updated for Qt 6
[Build Instructions Ubuntu]({{< relref "build-instructions-ubuntu" >}})
- The font system has been modernized, which may result in subtle differences in font appearance and size on some systems.
- Default spacing between interface elements has been slightly increased to improve layout consistency.

Additionally, the build instructions have been updated to align with Qt 6. Building with Qt 5 is no longer supported.

[Build Instructions Ubuntu]({{< relref "build-instructions-ubuntu" >}})

## Other improvements
- Summary Table: Add user option to set time range on x-axis [#11803](https://github.com/OPM/ResInsight/issues/11803)
Expand All @@ -48,28 +51,9 @@ The build instructions is now updated for Qt 6
- Plot scaled and unscaled relperm curves in the same plot [#11684](https://github.com/OPM/ResInsight/issues/11684)
- Fix visibility control of curve legends [#11966](https://github.com/OPM/ResInsight/issues/11966)
- Fixed issues with P10 and P90 curves for some wells [#11941](https://github.com/OPM/ResInsight/issues/11941)
-







## Python API
- Make all features for **Completion Export Parameters** and **Multi Segment Well Options** available in Python.
- If a field is available in Python, the Python code to access this field can be copied using the right-click menu on the label in the **Property Editor** https://github.com/OPM/ResInsight/issues/11923



See [**Release Notes on GitHub**](https://github.com/OPM/ResInsight/releases/) for further details and information.





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

The import of VFP data is changed, and the management of VFP Plots is now improved.

[VFP Plots]({{< relref "vfpplot" >}})
4 changes: 2 additions & 2 deletions content/misc/Preferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ When changing the preferences, any default color, font or Z-scale Factor that ha
- **Skip Import of Simulation Well Data** -- Disable import of simulation well data for reducing case import time.
- **Import Advanced MSW Data**

- EGRID Settings
- **Use Result Index File** -- If enabled ResInsight will try to save a result index file when opening a new case (stored in the same directory as the _`*.EGRID`_ file with filename _`<casename>.RESINSIGHT_IDX`_) If existing, ResInsight will use the index file when loading the case resulting in a significant speedup.
- Model Reader
- Select between **ResData** and **opm-common**


## Summary
Expand Down
20 changes: 9 additions & 11 deletions content/scripting/PythonInterface.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
+++
title = "Python interface"
title = "Python Interface"
published = true
weight = 15
+++

![]({{< relref "" >}}images/scripting/python-logo-master-v3-TM.png)

ResInsight offers a powerful programming interface which allows you to interact with a running ResInsight instance
from [Python 3](https://www.python.org/download/releases/3.0/).
This enables you to:
ResInsight provides a robust programming interface that allows you to interact with a running ResInsight instance using [Python 3](https://www.python.org/download/releases/3.0/). This interface enables you to:

* start ResInsight from Python
* communicate with an a running ResInsight instance
* load a ResInsight project file
* load data files such as Eclipse EGRID files and summary files
* extract data to Python for further processing and automation
* export snapshots of graphics
* Start ResInsight from Python
* Communicate with a running ResInsight instance
* Load a ResInsight project file
* Load data files such as Eclipse EGRID files and summary files
* Extract data to Python for further processing and automation
* Export snapshots of graphics

Please refer to the [ResInsight Python API](https://api.resinsight.org) for configuration and details.
For configuration and detailed information, please refer to the [ResInsight Python API](https://api.resinsight.org).
Binary file modified static/images/misc/PreferencesEclipseGrid.png
Loading
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 d7d7746

Please sign in to comment.