Spike in production when switching to a bhp mode

33 views
Skip to first unread message

ahmadreza shojaee

unread,
May 13, 2025, 9:15:24 AMMay 13
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group

Dear all,

I am currently running a compositional simulation involving several cycles of hydrogen injection, shut-in, and production. The injection and production rates are set to be equal, with a bottomhole pressure (BHP) constraint applied during the production phase.

I’ve observed that when the well switches to BHP control mode, there is a spike in the production rate. Is this behavior normal?

Spike.PNG

Spike.PNG

Any insights would be greatly appreciated.

Kind regards,
Ahmad

Olav Møyner

unread,
May 13, 2025, 1:47:20 PMMay 13
to ahmadreza shojaee, MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Hi,

Yes, I think this is physical. If you go straight from injection (by rate) to production (by bhp) the pressure close to the well will be quite high, which will lead to a short-lived but very high production rate when switching to bhp (since you suddenly have a very big pressure difference between well and reservoir). You can reduce the peak either by introducing a rest period or setting a rate limit on the producers.

Best regards,
Olav

From: sinte...@googlegroups.com <sinte...@googlegroups.com> on behalf of ahmadreza shojaee <ashoj...@gmail.com>
Sent: Tuesday, May 13, 2025 15:15
To: MRST-users: The Matlab Reservoir Simulation Toolbox User Group <sinte...@googlegroups.com>
Subject: [MRST Users] Spike in production when switching to a bhp mode
 
--
You received this message because you are subscribed to the Google Groups "MRST-users: The Matlab Reservoir Simulation Toolbox User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sintef-mrst...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sintef-mrst/5d48a8d6-cdd6-49d8-b92f-816fd96c1f14n%40googlegroups.com.

ahmadreza shojaee

unread,
May 14, 2025, 5:28:52 AMMay 14
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Dear Olav,

Thank you for your reply.

If the pressure difference between the producing cell and the BHP is large enough to allow a higher production rate, why does the well switch to BHP mode? I reviewed the data and noticed that the well produces more gas for two time steps after the switch, and then the rate drops below the previously constant value.

Is there a way to set a production rate limit or a rest period for wells operating under BHP control? If so, could you please advise how this can be implemented?

Kind regards,
Ahmad

ELYES AHMED

unread,
May 15, 2025, 12:46:50 PMMay 15
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group

Dear Ahmad,

To set limits on well controls in MRST, you can use the 'lims' parameter in the addWell function. For example:

W = addWell([], G, rock, well_cells, 'val', rate_value, 'type', 'rate', 'lims', 20*barsa);

This will be interpreted  as  a lower bound on the computed BHP when the well is rate-controlled and is an injector (W.sign>0) . The 'lims' option can also be used to set upper bound when W is a producer.

You can do the same  for setting a maximum OR minumum rate when the well is BHP-controlled.

To set a rest period, you can deactivate the well by setting W.status = false for the desired time steps in the schedule.control structure.

Let me know if you need further clarification.

Best regards,
Elyes Ahmed
SINTEF Digital

ahmadreza shojaee

unread,
May 15, 2025, 1:01:59 PMMay 15
to ELYES AHMED, MRST-users: The Matlab Reservoir Simulation Toolbox User Group

Dear Elyes,

Thank you very much for your detailed response and guidance.

I’m currently using the following line to set a BHP limit for my well after defining it:

W.lims.bhp = 150 * barsa;

The challenge I’m facing is that we don’t know in advance when the pressure will fall below this limit and cause a switch from rate to BHP control. Similarly, for setting a rest period using W.status = false, it seems that we’d also need to know the switch time ahead of time, which is not always possible.

Additionally, I’m still a bit concerned about the well's behavior after switching to BHP control. As mentioned in my initial email, I observed that the well actually produces more fluid for two time steps right after the switch, which seems counterintuitive. I would have expected a lower production rate after switching to BHP, since the rate condition previously caused the pressure to drop below the 150 barsa limit.

Any insight you might have on this behavior would be greatly appreciated.

Kind regards,
Ahmad


ahmadreza shojaee

unread,
May 21, 2025, 5:58:41 PMMay 21
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Dear Olav,

I just reviewed your reply. I think you misunderstood my question. It is not changing from an injection well to a production well. It is a production well with a bhp limit. When the producing well switches to bhp mode, I expect less rate rather than the previous rates. However, here there is an unusual increase in rate (two steps after switching to bhp).

Do you have any idea?

Kind regards,
Ahmad 

On Tuesday, May 13, 2025 at 6:47:20 PM UTC+1 Olav Møyner wrote:
Reply all
Reply to author
Forward
0 new messages