20#ifndef RST_NETWORK_HPP
21#define RST_NETWORK_HPP
32namespace Opm {
namespace EclIO {
33 class RestartFileView;
36namespace Opm {
namespace RestartIO {
73 explicit RstNetwork(std::shared_ptr<EclIO::RestartFileView> rstView,
76 bool isActive()
const;
78 const std::vector<Branch>& branches()
const
80 return this->branches_;
83 const std::vector<Node>& nodes()
const
89 std::vector<Branch> branches_{};
90 std::vector<Node> nodes_{};
Definition: network.hpp:39
Definition: UnitSystem.hpp:33
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29
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
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