20#ifndef RST_NETWORK_HPP
21#define RST_NETWORK_HPP
32namespace Opm {
namespace EclIO {
33 class RestartFileView;
36namespace Opm {
namespace RestartIO {
76 explicit RstNetwork(std::shared_ptr<EclIO::RestartFileView> rstView,
79 bool isActive()
const;
81 const std::vector<Branch>& branches()
const
83 return this->branches_;
86 const std::vector<Node>& nodes()
const
92 std::vector<Branch> branches_{};
93 std::vector<Node> nodes_{};
Definition network.hpp:39
Definition UnitSystem.hpp:34
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
Single branch in extended network model.
Definition network.hpp:43
int down
Downtree node. Index into 'nodes' array.
Definition network.hpp:45
int up
Uptree node. Index into 'nodes' array.
Definition network.hpp:48
int vfp
One-based VFP table ID.
Definition network.hpp:51
Single node in extended network model.
Definition network.hpp:56
double pressure
Node pressure.
Definition network.hpp:73
bool add_lift_gas
Whether or not to include lift gas of subordinate wells as part of the produced gas entering the netw...
Definition network.hpp:70
std::optional< std::string > as_choke
Group whose rate target the choking mechanism attempts to match.
Definition network.hpp:66
std::optional< double > terminal_pressure
Fixed pressure for terminal node. Nullopt if not terminal.
Definition network.hpp:61
std::string name
Name of network node.
Definition network.hpp:58