blue_sky::wells Namespace Reference


Namespaces

namespace  compute_factors

Classes

class  default_connection
 Default implementation of well connection. More...
class  default_well
 Default implementation of well. More...
class  default_well_rate_control_factory
class  connection
 Base class for well perforations (well connections). More...
class  well_controller
 Well controller. More...
class  well_controller_factory
 Factory of well_controllers. More...
class  well_limit_operation
class  well_limit_operation_factory
class  well_rate_control
struct  compute_bhp_deriv_3p
struct  compute_bhp_deriv_2p_ow
struct  compute_bhp_deriv_2p_og
struct  compute_bhp_deriv_1p_o
struct  compute_bhp_deriv_1p_w
struct  compute_bhp_deriv_1p_g
struct  compute_deriv
struct  dummy_deriv
struct  compute_impl
struct  compute_dummy_type
struct  compute_bhp_3p_type
struct  compute_rate_3p_type
struct  compute_bhp_2p_ow_type
struct  compute_rate_2p_ow_type
struct  compute_bhp_2p_og_type
struct  compute_rate_2p_og_type
struct  compute_bhp_1p_o_type
struct  compute_rate_1p_o_type
struct  compute_bhp_1p_w_type
struct  compute_rate_1p_w_type
struct  compute_bhp_1p_g_type
struct  compute_rate_1p_g_type
struct  mobility_calc_inj
class  well_rate_control_interface
class  well_rate_control_factory
struct  mobility_calc_prod
struct  compute_rate_3p
struct  compute_rate_2p_ow
struct  compute_rate_2p_og
struct  compute_rate_1p_o
struct  compute_rate_1p_w
struct  compute_rate_1p_g
struct  compute_rate_deriv_3p
struct  compute_rate_deriv_2p_ow
struct  compute_rate_deriv_2p_og
struct  compute_rate_deriv_1p_o
struct  compute_rate_deriv_1p_w
struct  compute_rate_deriv_1p_g
class  well_serializer
struct  type_helper

Enumerations

enum  rate_control_type {
  null_control,
  bhp_control,
  rate_control,
  liquid_rate_control,
  oil_rate_control,
  water_rate_control,
  gas_rate_control
}
 Descripes types of well control. More...
enum  connection_type {
  CONNECTION_USUAL,
  CONNECTION_GRP_PRIMARY,
  CONNECTION_GRP_SECONDARY,
  CONNECTION_TOTAL
}
 Type of perforation (connection). More...
enum  connection_direction_type {
  direction_x,
  direction_y,
  direction_z,
  direction_total
}
enum  connection_status_type {
  connection_open,
  connection_shut,
  connection_total
}
 Perforation (connection) status. More...
enum  rate_value_type {
  null_value = 0,
  oil_rate_value = 1,
  water_rate_value = 2,
  liquid_rate_value = 3,
  gas_rate_value = 4,
  rate_value = 5,
  bhp_value = 8,
  liquid_inner_rate_value = 9
}
 Type of rate value. More...
enum  injection_type {
  injection_none,
  injection_water,
  injection_gas,
  injection_oil
}
 Type of injection. More...
enum  limit_operation_type {
  operation_none,
  operation_con,
  operation_well,
  operation_total
}

Functions

bool default_well_register_types (const blue_sky::plugin_descriptor &pd)
 Registers default_well and default_connection types in blue-sky kernel.
rate_control_type rate_control_cast (int i)
 Converts int value to rate_control_type.
rate_control_type rate_control_cast (const std::string &str)
 Converts string value to rate_control_type.
bool is_bhp_control (rate_control_type type)
 Checks is rate_control_type is bhp control.
bool is_rate_control (rate_control_type type)
 Checks is rate_control_type is rate control.
connection_direction_type connection_direction_cast (const std::string &str)
 Converts string value to connection_direction_type.
connection_status_type connection_status_cast (const std::string &str)
 Converts string value to connection_status_type.
bool is_oil_rate_value (rate_value_type type)
 Returns true if type is oil_rate_value.
bool is_water_rate_value (rate_value_type type)
 Returns true if type is water_rate_value.
bool is_gas_rate_value (rate_value_type type)
 Returns true if type is gas_rate_value.
bool is_liquid_rate_value (rate_value_type type)
 Returns true if type is oil_rate_value or is water_rate_value.
rate_value_type rate_value_cast (const std::string &str)
 Converts string value to rate_value_type.
injection_type injection_type_cast (const std::string &str)
 Converts string value to injection_type.
bool well_controller_register_type (const blue_sky::plugin_descriptor &pd)
 Registers well_controller types in blue-sky kernel.
bool well_controller_factory_register_type (const blue_sky::plugin_descriptor &pd)
 Registers well_controller_factory types in blue-sky kernel.
limit_operation_type limit_operation_cast (const std::string &str)
bool well_limit_operation_register_type (const blue_sky::plugin_descriptor &pd)
bool well_limit_operation_factory_register_type (const blue_sky::plugin_descriptor &pd)
bool well_serializer_register_type (const plugin_descriptor &pd)

Variables

class BS_API_PLUGIN connection
class BS_API_PLUGIN well_controller

Enumeration Type Documentation

Enumerator:
direction_x  Along X axe.
direction_y  Along Y axe.
direction_z  Along Z axe.
direction_total 

Perforation (connection) status.

Enumerator:
connection_open  Is perforation (connection) is open.
connection_shut  Is perforation (connection) is shut.
connection_total 

Type of perforation (connection).

Enumerator:
CONNECTION_USUAL  Usual perforation.
CONNECTION_GRP_PRIMARY  Primary GRP perforation.
CONNECTION_GRP_SECONDARY  Secondary GRP perforation.
CONNECTION_TOTAL 

Type of injection.

Enumerator:
injection_none  Invalid injection type.
injection_water  Water injection.
injection_gas  Gas injection.
injection_oil  Oil injection.

Enumerator:
operation_none 
operation_con 
operation_well 
operation_total 

Descripes types of well control.

Enumerator:
null_control  null control
bhp_control  control by bhp
rate_control  control by liquid injection rate
liquid_rate_control  control by liquid rate
oil_rate_control  control by oil rate
water_rate_control  control by water rate
gas_rate_control  control by gas rate

Type of rate value.

Enumerator:
null_value  null value; means value not set
oil_rate_value  value for oil rate
water_rate_value  value for water rate
liquid_rate_value  value for liquid rate
gas_rate_value  value for gas rate
rate_value  rate value for injection well (actual rate selected by injection phase)
bhp_value  value of pressure on surface
liquid_inner_rate_value  value for liquid rate into bed


Function Documentation

connection_direction_type blue_sky::wells::connection_direction_cast ( const std::string &  str  ) 

Converts string value to connection_direction_type.

Parameters:
str String value to convert
Returns:
Throws exception if value is an invalid, direction_z if value is an empty otherwise element of connection_direction_type

connection_status_type blue_sky::wells::connection_status_cast ( const std::string &  str  ) 

Converts string value to connection_status_type.

Parameters:
str String value to convert
Returns:
Throws exception if value is an invalid, connection_shut if value is an empty otherwise element of connection_status_type

bool blue_sky::wells::default_well_register_types ( const blue_sky::plugin_descriptor &  pd  ) 

Registers default_well and default_connection types in blue-sky kernel.

Parameters:
pd plugin_descriptor
Returns:
True if all types registered successfully

injection_type blue_sky::wells::injection_type_cast ( const std::string &  str  ) 

Converts string value to injection_type.

Parameters:
str String value to convert
Returns:
Throws exception if value is invalid otherwise element of injection_type

bool blue_sky::wells::is_bhp_control ( rate_control_type  type  )  [inline]

Checks is rate_control_type is bhp control.

Parameters:
type rate_control_type to check
Returns:
True if type is bhp_control

References bhp_control.

bool blue_sky::wells::is_gas_rate_value ( rate_value_type  type  ) 

Returns true if type is gas_rate_value.

Parameters:
type 
Returns:
True if type is gas_rate_value

bool blue_sky::wells::is_liquid_rate_value ( rate_value_type  type  ) 

Returns true if type is oil_rate_value or is water_rate_value.

Parameters:
type 
Returns:
True if type is oil_rate_value or is water_rate_value

bool blue_sky::wells::is_oil_rate_value ( rate_value_type  type  ) 

Returns true if type is oil_rate_value.

Parameters:
type 
Returns:
True if type is oil_rate_value

bool blue_sky::wells::is_rate_control ( rate_control_type  type  )  [inline]

Checks is rate_control_type is rate control.

Parameters:
type rate_control_type to check
Returns:
True is type is not bhp_control and is not null_control

References bhp_control, and null_control.

bool blue_sky::wells::is_water_rate_value ( rate_value_type  type  ) 

Returns true if type is water_rate_value.

Parameters:
type 
Returns:
True if type is water_rate_value

limit_operation_type blue_sky::wells::limit_operation_cast ( const std::string &  str  ) 

rate_control_type blue_sky::wells::rate_control_cast ( const std::string &  str  )  [inline]

Converts string value to rate_control_type.

Parameters:
str Value to convert
Returns:
Throws exception if value is invalid, null_control if value is 'RESV' or empty string otherwise element of rate_control_type

References bhp_control, gas_rate_control, liquid_rate_control, null_control, oil_rate_control, rate_control, and water_rate_control.

rate_control_type blue_sky::wells::rate_control_cast ( int  i  )  [inline]

Converts int value to rate_control_type.

Parameters:
i Value to convert
Returns:
null_control is value is invalid otherwise element of rate_control_type

References gas_rate_control, and null_control.

rate_value_type blue_sky::wells::rate_value_cast ( const std::string &  str  ) 

Converts string value to rate_value_type.

Parameters:
str String value to convert
Returns:
Throws exception if value is invalid otherwise element of rate_value_type

bool blue_sky::wells::well_controller_factory_register_type ( const blue_sky::plugin_descriptor &  pd  ) 

Registers well_controller_factory types in blue-sky kernel.

Parameters:
pd plugin_descriptor
Returns:
True if all types registered successfully

bool blue_sky::wells::well_controller_register_type ( const blue_sky::plugin_descriptor &  pd  ) 

Registers well_controller types in blue-sky kernel.

Parameters:
pd plugin_descriptor
Returns:
True if all types registered successfully

bool blue_sky::wells::well_limit_operation_factory_register_type ( const blue_sky::plugin_descriptor &  pd  ) 

bool blue_sky::wells::well_limit_operation_register_type ( const blue_sky::plugin_descriptor &  pd  ) 

bool blue_sky::wells::well_serializer_register_type ( const plugin_descriptor &  pd  ) 


Variable Documentation

class BS_API_PLUGIN blue_sky::wells::connection

class BS_API_PLUGIN blue_sky::wells::well_controller


Generated on Fri Nov 13 12:07:14 2009 for TheBSEagleProject by  doxygen 1.5.8