Source code for kappa_sdk.kw.model.model_parameter_enum
from enum import Enum
from .model_parameter import ModelParameter
[docs]
class ModelParameterType(Enum):
wellbore = "KWKA_WB_PAR"
well = "KWKA_WELL_PAR"
reservoir = "KWKA_RES_PAR"
boundary = "KWKA_BOUND_PAR"
[docs]
class ModelParameterEnum(Enum):
ci_over_cf = ModelParameter("KWKA_WB_PAR", {"Type": "CI_OVER_CF"})
changing_dt = ModelParameter("KWKA_WB_PAR", {"Type": "CHANGING_DT"})
wellbore_storage = ModelParameter("KWKA_WB_PAR", {"Type": "WELLBORE_STORAGE"})
skin = ModelParameter("KWKA_WELL_PAR", {"Type": "SKIN"})
ds_over_dq = ModelParameter("KWKA_WELL_PAR", {"Type": "DS_OVER_DQ"})
porosity = ModelParameter("KWKA_RES_PAR", {"Type": "POROSITY"})
permeability = ModelParameter("KWKA_RES_PAR", {"Type": "PERMEABILITY"})
zone_length = ModelParameter("KWKA_RES_PAR", {"Type": "RORLI"})
m = ModelParameter("KWKA_RES_PAR", {"Type": "M"})
d = ModelParameter("KWKA_RES_PAR", {"Type": "D"})
bound_distance_1 = ModelParameter("KWKA_BOUND_PAR", {"Type": "DISTANCE", "BoundaryIndex": '1'})
bound_distance_2 = ModelParameter("KWKA_BOUND_PAR", {"Type": "DISTANCE", "BoundaryIndex": '2'})
bound_distance_3 = ModelParameter("KWKA_BOUND_PAR", {"Type": "DISTANCE", "BoundaryIndex": '3'})
bound_distance_4 = ModelParameter("KWKA_BOUND_PAR", {"Type": "DISTANCE", "BoundaryIndex": '4'})
initial_pressure = ModelParameter("KWKA_RES_PAR", {"Type": "INITIAL_PRESSURE"})
frac_dimension_1 = ModelParameter("KWKA_RES_PAR", {"Type": "FRACTIONAL_DIMENSION", "ZoneIndexX": '0'})
frac_dimension_2 = ModelParameter("KWKA_RES_PAR", {"Type": "FRACTIONAL_DIMENSION", "ZoneIndexX": '1'})
outer_radius_1 = ModelParameter("KWKA_RES_PAR", {"Type": "RORLI", "ZoneIndexX": '0'})
total_fracture_half_length = ModelParameter("KWKA_WELL_PAR", {"Type": "FRACTURE_XF"})