Kristian Flikka
82a38c1cc8
Merge pull request #208 from AtleH/wellnamewithwildcard
...
Added wildcard support in WCONINJE and WCONPROD
2014-05-16 12:28:39 +02:00
Atle Haugan
20380ca7c8
Changed name for (some) iterators in Schedule
2014-05-14 15:36:42 +02:00
Atle Haugan
0f4590a2f3
Removed obsolete include statements
2014-05-14 15:26:54 +02:00
Atle Haugan
47ef4ed0e6
Simplified implementation and (slightly) changed behaviour of Schedule::getWells(wellNamePattern)
...
Improved performance by checking for wildcard before entering the loop. Logic slightly changed since method now only supports wildcards at the end of the string.
2014-05-14 15:10:17 +02:00
Atle Haugan
344d02ad1c
Add support for wildcard in WCONPROD and WCONINJE keywords.
2014-05-06 09:54:37 +02:00
Joakim Hove
142255268d
Using OrderedMap to hold wells in Schedule object - thereby preserving
...
well insert order.
2014-05-02 17:02:10 +02:00
Atgeirr Flø Rasmussen
5a1c345e3f
Add preferred phase to Well class.
...
This entails:
- Adding a new data member of type Opm::Phase::PhaseEnum.
- Adding method getPreferredPhase().
- Adding extra constructor argument.
- Modifying constructor call in Schedule::addWell().
- Adding unit test for the new preferredPhase property.
- Modifying constructor call in all the well unit tests.
2014-04-06 23:11:38 +02:00
Andreas Lauser
2a9111b9d2
Schedule: trim strings which are received from the deck
...
for SPE-9 only the well/group names contain spurious white space, but
I suppose that other decks also feature them in control modes, status,
etc. so it's probably a good idea to trim these as well...
2014-04-03 14:55:38 +02:00
Joakim Hove
5785d088ea
Added functionality in Completion class to adjust I and J to wellHead value if they have been defaulted (i.e. have value -1). This is unfortunate because we loose quite a lot of const correctness.
2014-03-28 18:56:21 +01:00
atleh
ec22c39f5c
Minor adjustments in Section[Tests], Schedule and KeywordContainerTests
2014-03-25 09:26:43 +01:00
Joakim Hove
f84ec0bb3f
Made injection and production control variables into property variables.
2014-03-21 00:07:23 +01:00
Joakim Hove
011eb8a2c6
camelCased property attributes in the production and injection properties structures.
2014-03-20 23:27:18 +01:00
Atle Haugan
3daaf827c9
Renamed getXyzProperties to getXyzPropertiesCopy. Added new getXyzProperties which currently does not work...
2014-03-20 10:36:57 +01:00
Atle Haugan
af784c6734
Enabled the remaining tests.
2014-03-20 10:31:21 +01:00
Atle Haugan
7358ac5d5a
Added addProductionControl() method to the WellProductionProperties struct. Same for WellInjectionProperties.
2014-03-20 10:19:20 +01:00
Atle Haugan
87599c9841
Moved has/drop/addProductionControl to WellProductionProperties. The same for WellInjectionProperties.
2014-03-20 10:11:56 +01:00
Atle Haugan
fb5c83086a
Moved (duplicated) m_isInPredictionMode to WellProductionProperties and WellInjectionProperties.
2014-03-19 10:51:13 +01:00
Atle Haugan
d9772b83eb
Removed unused Well::m_injectionControls, moved m_injectorType to WellInjectionProperties.
2014-03-19 10:42:22 +01:00
Atle Haugan
9c64af0b6b
Moved BHPLimits and THPLimits to WellProductionProperties and WellInjectionProperties (duplicated). Several unit tests are still commented out - will fix.
2014-03-19 10:42:21 +01:00
Atle Haugan
8aee879dc5
Added WellInjectionProperties, modified Well class to use it
2014-03-19 10:40:07 +01:00
Atle Haugan
df40a0aa21
Replaced single-item calls with call to get/setProductionProperties()
2014-03-19 10:13:58 +01:00
Atle Haugan
9650fce19a
Using pointers for WellProductionProperties
2014-03-19 10:13:58 +01:00
Joakim Hove
8598fa279e
Added throw() in Schedule if trying to control well on an item which has been defaulted.
2014-03-03 15:06:26 +01:00
Joakim Hove
7dc8767c80
Made sure that groups were added when reading the GRUPTREE keyword.
2014-03-03 15:06:26 +01:00
Joakim Hove
ceb4a8df8d
Added check on Well->status before reading controlmode.
2014-03-03 15:06:25 +01:00
Joakim Hove
1907a8e467
Merge pull request #129 from andlaus/refactor_timemap
...
Refactor timemap
2014-02-26 23:09:50 +01:00
Andreas Lauser
18eb2fd8f4
TimeMap: replace boost::gregorian::date by boost::posix_time::ptime
...
this is necessary because boost::gregorian::date does not have a
notion of "time during a day" which is required to specify time step
lengths less than a day...
2014-02-21 17:06:21 +01:00
Kristian Flikka
b3dc1ea5ca
Added rest of WGRUPCON handlingin Well and Schedule
2014-02-21 12:48:36 +01:00
Kristian Flikka
b69f41f32d
Added support for guide rate
2014-02-19 15:43:42 +01:00
Kristian Flikka
bd564ad944
Added WGRUPCON, and simple YES/NO handling in Schedule
2014-02-17 16:10:31 +01:00
Kristian Flikka
56c3dd2085
Make sure that the tree is updated correctly after reading WELSPECS
2014-02-14 12:36:26 +01:00
Kristian Flikka
720cd21b0e
Merged from upstream/master
2014-02-12 10:13:49 +01:00
Andreas Lauser
03d6e9a20b
correct the context dependent rates in the schedule code
2014-02-11 12:45:44 +01:00
Andreas Lauser
849bc7df93
units: introduce a "ContextDependent" dimension
...
this is meant for those nasty keywords where the dimension of an entry
depends on a user-defined value of some field of a (potentially
different) keyword. One example for this are the surface rates of the
produced fluids for the .CON(INJ|PROD).* keywords which exhibit
different units depending on whether the user choses to control for
the surface gas or the liquid rate.
the approach taken in this patch is to convert all numbers to NaN if
the unit is queried in SI (via item->getSIDouble()). It might be more
desireable to throw an exception in this case, but this approach would
be more elaborate and NaNs should be quickly noticeable by the users
of this code.
I tried to adapt all implemented keywords, but it's quite likely that
I missed some...
2014-02-11 12:45:44 +01:00
Kristian Flikka
08ec94e15c
Added setting of the injection/production status of group
2014-02-10 15:43:37 +01:00
Kristian Flikka
9db42f6eb3
Added support for WELOPEN in the Schedule class, NOT support specific completions, only the well
2014-02-04 16:12:49 +01:00
Joakim Hove
bb444b5139
Added flag injectionControls to keep track of available injection controls.
2014-01-30 16:44:21 +01:00
Joakim Hove
49ee4ed1ed
Added addProductionControl() and dropproductioncontrol() to Schedule.
2014-01-30 16:44:21 +01:00
Joakim Hove
e42234b17a
Added Well::Producercontrolmode
2014-01-30 16:44:21 +01:00
Joakim Hove
5dd6865838
Added RESV target to Well.
2014-01-30 16:44:20 +01:00
Joakim Hove
7f58de5b3e
Have added liquidRate setting from Schedule.cpp
2014-01-30 16:44:20 +01:00
Joakim Hove
a83d994494
Added well->liquidRate() from WCONPROD.
2014-01-30 16:44:20 +01:00
Joakim Hove
46bd341808
Setting injectorType from Schedule class.
2014-01-29 16:42:55 +01:00
Joakim Hove
0f707b7498
Keeping track of well OPEN|SHUT|STOP status from WCONxxxx keywords.
2014-01-29 15:55:02 +01:00
Joakim Hove
49604cf631
Added injectorControlMode to Well class.
2014-01-29 13:33:28 +01:00
Kristian Flikka
37084e991d
Shifting WELSPECS and COMPDAT i,j,k indices down one, to go from 0
2014-01-29 11:48:02 +01:00
Joakim Hove
a464429388
Added namespace Phase around the PhaseEnum enum.
2014-01-28 08:18:03 +01:00
Joakim Hove
af00558ec7
Added THPLimit as well property.
2014-01-27 18:38:41 +01:00
Joakim Hove
3d2ddd70fc
Setting Well->BHP limit from Schedule.
2014-01-27 18:31:22 +01:00
Joakim Hove
1ba278022a
Have added ReservoirRates to well injector.
2014-01-24 13:24:22 +01:00