We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb9734 commit a8ca2adCopy full SHA for a8ca2ad
src/geophires_x/AGSWellBores.py
@@ -816,6 +816,12 @@ def Calculate(self, model: Model) -> None:
816
"""
817
model.logger.info(f'Init {__class__!s}: {sys._getframe().f_code.co_name}')
818
819
+ if model.reserv.Trock.value > model.reserv.Tmax.value:
820
+ s = f'{model.reserv.Trock.Name} ({model.reserv.Trock.value}) exceeds ' \
821
+ f'{model.reserv.Tmax.Name} ({model.reserv.Tmax.value})'
822
+ model.logger.critical(s)
823
+ raise ValueError(s)
824
+
825
self.Tini = model.reserv.Trock.value # initialize the temperature to be the initial temperature of the reservoir
826
if self.Tini > 375.0 or self.numnonverticalsections.value > 1:
827
# must be a multilateral setup or too hot for CLGS, so must try to use wanju code.
0 commit comments