mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
e2319d0bd342ddb8617b0e91669ddb3459968886
Send one batched request per event batch instead of one request per event. Application Insights v2/track accepts an array of envelopes, so a batch of up to maxBatchSize (512) events was previously issued as 512 concurrent POSTs. QNetworkAccessManager only opens a handful of connections per host, so the queued requests were aborted by their own transfer timeout before reaching the wire, reported as "HTTP 0: Operation canceled". Honour the circuit breaker in processEvents(). It was only checked when enqueuing, so the up to 10000 already queued events kept being posted at full rate after the breaker opened. The crash and shutdown flush bypasses the breaker so a crash report is still attempted. Keep at most one request in flight. Failures are only observed when the reply finishes, which for an unreachable endpoint takes the full transfer timeout, and the 100 ms timer kept launching requests during that window. Log the circuit breaker transition once instead of on every subsequent failure. Only read the reply body when the device is open. An aborted reply has a closed device, and reading from it emitted a QIODevice warning per request. Call attemptReconnection() from the process timer. It was dead code, so once the breaker opened it could only close if a reply happened to succeed.
ResInsight
ResInsight is an open source, cross-platform 3D visualization and post-processing tool for reservoir models and simulations.
Key Features
- Specialized Visualizations: Tailored for efficient interpretation of reservoir simulation data with visualizations of properties, faults, and wells
- Performance-Oriented: Exploits multi-core CPUs and GPUs for highly responsive operation
- Statistical Analysis: Handles large numbers of realizations with built-in statistical calculations
- Python Integration: Enables powerful result manipulation and computations with two-way data exchange
- GNU Octave Integration: Enables powerful result manipulation and computations with two-way data exchange
- Extensible Framework: Supports additional data sources and visualization methods (solvers, seismic data, CSEM, geomechanics)
- Eclipse Integration: Supports export to Eclipse input formats for simulation cycles and parameter studies
Supported Input Formats
- Eclipse binary output (*.GRID, *.EGRID files with corresponding *.INIT, *.XNNN, and *.UNRST files)
- Selected Eclipse input file sections
- Grid information with cell property data sets
Technology Stack
ResInsight utilizes:
- Equinor/resdata and OPM/opm-common libraries for Eclipse result file access
- Qt for the application framework
- Qwt for plotting functionality
- vcpkg for dependency management
Platform Support
ResInsight is cross-platform with automated testing on:
- Red Hat Enterprise Linux (RHEL)
- Ubuntu
- Windows 11
Documentation
Development
Source Code
git clone git://github.com/OPM/ResInsight.git
Minimum Requirements
- gcc 13
- clang 19
- CMake 3.15
- MSVC 2022 17.4
These requirements are defined by used features in c++23 like std::stacktrace and std::expected.
Dependencies
Most dependencies are managed using vcpkg as defined in vcpkg.json
Contributing
Contributions are welcome! Please:
- Use the
devbranch for contributions and pull requests - Note that the
masterbranch is kept stable and updated only for releases - See Spell Checking Guide for information on automated spell checking
Building
See the Build Instructions for detailed setup information.
License
ResInsight is co-developed by Equinor ASA, Ceetron Solutions AS, and Ceetron AS. The software is copyrighted by Ceetron and Equinor and licensed under GPL 3+. See the COPYING file for details.
Description
3D viewer and post processing of reservoir models
c-plus-pluscross-platformeclipsegeomechanicsoctaveopenglpythonreservoir-modelingseismicvisualization
Readme
GPL-3.0
364 MiB
0 Stars
4 Watchers
0 Forks
Languages
C++
88.8%
ECL
4.7%
TypeScript
2.9%
Python
1.8%
CMake
0.6%
Other
1%