lpm_reservoir_opm
SPE10 Model 1 no OPM Flow: pressão e saturações ao longo de cinco anos de injeção. A Large Physics Model over the design space: the geometry and the operating point in, the field on the body's surface out (pressure_mpa, water_saturation, gas_saturation on 400 to 400 points per design). Domain: reservatórios / simulação de fluxo black-oil, OPM Flow.
lpm_reservoir_opm v1.0.0 (revision v1.0.0) · part of the PINNeAPPle zoo · training data PINNeAPPle-Labs/lpm-reservoir-opm-heldout
Try it without installing anything: PINNeAPPle zoo demo (pick lpm_reservoir_opm: its predictions along each input with their band and where its physics checks warn or fail, and your own inputs evaluated in the browser).
Task: SPE10 Model 1 no OPM Flow: pressão e saturações ao longo de cinco anos de injeção
Inputs
| Name | Unit | Description |
|---|---|---|
injection_rate_mscf_d |
- | design parameter of the family (bounds in validity_range) |
producer_bhp_psia |
- | design parameter of the family (bounds in validity_range) |
years |
- | design parameter of the family (bounds in validity_range) |
perm_sigma |
- | design parameter of the family (bounds in validity_range) |
perm_correlation |
- | design parameter of the family (bounds in validity_range) |
perm_global_scale |
- | design parameter of the family (bounds in validity_range) |
Outputs
| Name | Unit | Description |
|---|---|---|
pressure_mpa |
MPa | the family's reference field on the body's surface points |
water_saturation |
- | the family's reference field on the body's surface points |
gas_saturation |
- | the family's reference field on the body's surface points |
Validity range
injection_rate_mscf_d: [26.0, 7589.0]producer_bhp_psia: [59.0, 89.5]years: [0.0, 5.37]perm_sigma: [0.046, 0.797]perm_correlation: [1.07, 2.16]perm_global_scale: [0.71, 1.29]regime: inside the family's declared geometry and operating bounds
Known limitations
- gate conservation: failed -- previsão 98.6737 contra alvo 165.806
- the reference itself: solver — SPE10 Model 1 black-oil, OPM Flow, eleven injection scenarios, with the assumptions it lists
- agreement with a solver or with measured data for any geometry of this family
- whether the ensemble spread is calibrated: it is the spread between bootstrap heads
- behaviour outside the declared geometry and operating bounds of the family
- the gate conservation: failed
- the gate boundary: not run
- the gate residual: not run
- the metrics shipped with this release are recomputed on a 98-design sample of the held-out set; the campaign's full-set number is under campaign/held_out_relative_l2 (98 designs)
Architecture
LargePhysicsModel—{"dim": 2, "n_fields": 3, "n_params": 6, "radii": [0.1, 0.4, 1.2], "n_freq": 6, "width": 128, "code": 32, "n_heads": 4, "backbone": "attention", "attn_heads": 4, "attn_layers": 2}
Physics
- \frac{\partial}{\partial t}\left(\frac{\phi S_\alpha}{B_\alpha}\right)=\nabla\cdot\left(\frac{k,k_{r\alpha}}{\mu_\alpha B_\alpha}\nabla p\right)+q_\alpha,\quad \alpha\in\left{w,g\right}
Validation
Reference: SPE10 Model 1 black-oil, OPM Flow, eleven injection scenarios -- OPM Flow (flow 2026.04), Open Porous Media initiative; deck opm-data/spe10model1/SPE10_MODEL1_CP.DATA (sha-256 a321465eeab18830…), Christie & Blunt, SPE 10th Comparative Solution Project (2001); campanha PINNeAPPle-SimR, manifesto em outputs/campaign/campaign_manifest.json. Assumptions: black-oil, três fases, sem composição e sem histerese de permeabilidade relativa; a malha é fixa nos onze cenários (100 x 1 x 20 células, a mesma geometria nos onze): o que varia entre desenhos é a realização de permeabilidade, que entra no campo inteira e chega ao modelo como três escalares — dois cenários com os mesmos três têm campos diferentes, e essa diferença é o piso do erro desta família; as células são amostradas (uma em cinco), então o campo é uma leitura da fatia e não a fatia inteira: um erro localizado entre duas células amostradas não aparece; o primeiro passo de relatório fica fora: ele é o estado inicial do deck, medido idêntico nos onze cenários (0 Pa de diferença), e um erro relativo sobre um campo quase uniforme mede o numerador, não o modelo; o cenário reprovado no portão de QA (gas-002) não está no dataset, e os onze que estão convergiram sem aviso do solver
| Metric | Value |
|---|---|
| heldout/relative_l2 | 0.15677598930224 |
| heldout/relative_l2_p90 | 0.255344391916602 |
| heldout/absolute_error_p90 | 6.371462345123291 |
| heldout/constant_field_baseline_relative_l2 | 0.5337928293351419 |
| heldout/n_designs | 98.0 |
| campaign/held_out_relative_l2 | 0.15677601563014246 |
| campaign/held_out_relative_l2_p90 | 0.25519419220011896 |
| campaign/constant_field_baseline_relative_l2 | 0.5354548876515758 |
| campaign/n_designs | 98.0 |
Cost
- trainable_parameters: 342636
- train_seconds: 811.515
- device: mps
Trust
Decision: REJECT · score 0.33 · coverage 100%
- held-out heldout/relative_l2 within the zoo acceptance limit: falhou (crítica)
- worst of the 98 stored held-out designs: 0.4040 against the family's tolerance 0.1: falhou
- score 0.33 abaixo do mínimo de 0.80
Published despite REJECT: experimental tier: shipped as a reproducible base (weights, card, held-out sample, fine-tune hook) with the family's own verdict REJECT and the measured held-out error on the card; not a verified model and not to be used as one without independent review
Training data
- family: pp_reservoir_opm
- dataset: lpm_reservoir_opm_heldout
- campaign: /Users/yanbarros/lpm-campaign
- split: {'policy': 'the published split of the dataset: a held-out body was held out before training', 'seed': 0, 'holdout_fraction': 0.25, 'n_train_designs': 441, 'n_holdout_designs': 98, 'among_refined': [], 'n_train_geometries': 9, 'n_holdout_geometries': 2, 'locked_fraction': 0.0, 'n_locked_designs': 0, 'locked_policy': 'no locked split: the whole held-out is a validation set, and is read by the refinement round'}
- full_dataset: {'schema': 'pinneapple.lpm.dataset/1', 'seed': 0, 'n_designs': 539, 'n_geometries': 11, 'conditions_per_geometry': 3}
- sample: {'n_designs': 98, 'n_points': 39200, 'n_parameters': 6, 'n_neighbourhood_features': 15, 'dtypes': {'params': 'float64[6]', 'conditioning': 'float32[6]', 'points': 'float32[2]', 'normals': 'float32[2]', 'target': 'float32[3]', 'local': 'float32[15]', 'offsets': 'int64'}}
License: apache-2.0
Citation
OPM Flow (flow 2026.04), Open Porous Media initiative; deck opm-data/spe10model1/SPE10_MODEL1_CP.DATA (sha-256 a321465eeab18830…), Christie & Blunt, SPE 10th Comparative Solution Project (2001); campanha PINNeAPPle-SimR, manifesto em outputs/campaign/campaign_manifest.json
How to use
pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
import pinneapple as pp
model = pp.zoo.load("lpm_reservoir_opm") # weights checked against their SHA-256
inputs = {"injection_rate_mscf_d": 0.796568, "producer_bhp_psia": 1.43224, "years": 0.734367, "perm_sigma": 39.0045, "perm_correlation": 89.5013, "perm_global_scale": 0.109514}
out = model.predict(inputs) # warns for inputs outside the validity range
print({k: round(float(v[0]), 6) for k, v in out.items()})
# {}
print(bool(model.in_range(inputs)[0])) # inside the validity range
# False
print(pp.zoo.validate(model).decisao) # card metrics reproduced + physics checks
# REJECT
The inputs are the first held-out test case of the training dataset; its reference value is pressure_mpa = 38.0869, water_saturation = 0, gas_saturation = 0.178742. pp.zoo.evaluate("lpm_reservoir_opm") recomputes every metric of the card on the stored reference.
Hosted inference
No Hugging Face inference provider can run this model, so the Hub widget is off (inference: false). It is a small PyTorch network, but its prediction is more than a forward pass: the inputs are encoded and normalised, the outputs denormalised (and, for ensembles, averaged with their spread), and every query is checked against the validity range and the model's physics checks. The pinneapple library does all of that (below); the ONNX graph carries the pre- and post-processing but not the checks; the zoo demo Space shows the model along a sweep of each input and runs it, with its checks, in your browser.
Files
| File | Content | SHA-256 |
|---|---|---|
weights.pt |
PyTorch state_dict (torch.load(weights_only=True)), what pp.zoo.load reads |
dac57e56529eb923ad2cfb415455ad81a6caa490b2860f5006dfe11739d8a281 |
config.json |
architecture and normalisation | 73184f8eaa8b47db068bfb41dab718bde0addbe519137f3e16c8b3d75f3d19cc |
model_card.json |
the model card: inputs, outputs, validity range, metrics, trust report | ca33a59f086f42802800d623e724ea748ca3adcbd773c22e954daf53aaa3c159 |
model.safetensors |
the same tensors as weights.pt in safetensors format (pinneapple_hub.zoo.export.load_safetensors loads them) |
derived |
example.json |
the "How to use" case: inputs, outputs, reference, verdicts | derived |
The SHA-256 are those of the package's manifest: pp.zoo.load refuses any other file.
Cite
If you use this model, please cite PINNeAPPle (software, Zenodo DOI 10.5281/zenodo.23343062; see CITATION.cff):
@software{pinneapple,
author = {Barros, Yan and Schiassi, Enrico},
title = {PINNeAPPle},
doi = {10.5281/zenodo.23343062},
url = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}
}
- Downloads last month
- -