opm-simulators
Loading...
Searching...
No Matches
Opm::GroupConstraintCalculator< Scalar, IndexTraits >::ProductionConstraintResult Struct Reference

Per-rate-type production constraints info for a group. More...

#include <GroupConstraintCalculator.hpp>

Public Attributes

Scalar active_target
Group::ProductionCMode active_cmode
Scalar oil_limit = -1
Scalar water_limit = -1
Scalar gas_limit = -1
Scalar liquid_limit = -1
Scalar resv_limit = -1

Detailed Description

template<class Scalar, class IndexTraits>
struct Opm::GroupConstraintCalculator< Scalar, IndexTraits >::ProductionConstraintResult

Per-rate-type production constraints info for a group.

A master group defines both an active control-mode target and limits for other rate types (ORAT, WRAT, GRAT, LRAT, RESV). The active target alone is not sufficient for reservoir-coupling slaves: a slave group must know every effective limit so that it can enforce the most restrictive constraint for each rate type independently (the active cmode on the master side may differ from what is binding on the slave side).

Each limit field holds the guide-rate-distributed value that applies to this group, or -1 when no ancestor in the hierarchy defines a limit for that rate type.


The documentation for this struct was generated from the following file: