From 8f075ff92d303e9a5f2ff8a98387268bee757fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20M=C3=B8yner?= Date: Wed, 7 Feb 2024 11:20:13 +0100 Subject: [PATCH] Catch up to PVTO changes in tests --- src/test_utils/setup_multimodel.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test_utils/setup_multimodel.jl b/src/test_utils/setup_multimodel.jl index ab18f76f..b7b2f69c 100644 --- a/src/test_utils/setup_multimodel.jl +++ b/src/test_utils/setup_multimodel.jl @@ -143,7 +143,8 @@ function simulate_mini_wellcase(::Val{:bo_spe1}; dims = (3, 1, 1), setuparg = Na pvto = pvt[2] rhoS = setup[:rhoS] phases = (AqueousPhase(), LiquidPhase(), VaporPhase()) - sat_table = get_1d_interpolator(pvto.sat_pressure, pvto.rs, cap_end = false) + pvto_tab = pvto.tab[1] + sat_table = get_1d_interpolator(pvto_tab.sat_pressure, pvto_tab.rs, cap_end = false) sys = StandardBlackOilSystem(rs_max = sat_table, phases = phases, reference_densities = rhoS) ## Set up a reservoir model that contains the reservoir, wells and a facility that controls the wells model, parameters = setup_reservoir_model(domain, sys, wells = [I, P]; kwarg...)