20 #ifndef OPM_SINGLE_WELL_STATE_HEADER_INCLUDED
21 #define OPM_SINGLE_WELL_STATE_HEADER_INCLUDED
26 #include <opm/simulators/wells/SegmentState.hpp>
27 #include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp>
28 #include <opm/parser/eclipse/EclipseState/Schedule/Events.hpp>
29 #include <opm/simulators/wells/PerfData.hpp>
30 #include <opm/simulators/wells/ParallelWellInfo.hpp>
38 std::reference_wrapper<const ParallelWellInfo> parallel_info;
40 Well::Status status{Well::Status::OPEN};
44 double temperature{0};
45 double dissolved_gas_rate{0};
46 double vaporized_oil_rate{0};
47 std::vector<double> well_potentials;
48 std::vector<double> productivity_index;
49 std::vector<double> surface_rates;
50 std::vector<double> reservoir_rates;
54 Well::InjectorCMode injection_cmode{Well::InjectorCMode::CMODE_UNDEFINED};
55 Well::ProducerCMode production_cmode{Well::ProducerCMode::CMODE_UNDEFINED};
66 double sum_solvent_rates()
const;
67 double sum_polymer_rates()
const;
68 double sum_brine_rates()
const;
70 double sum_connection_rates(
const std::vector<double>& connection_rates)
const;
Class encapsulating some information about parallel wells.
Definition: ParallelWellInfo.hpp:252
Definition: PerfData.hpp:30
Definition: SegmentState.hpp:33
Definition: SingleWellState.hpp:34
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:26