flownet.data.from_csv module
- class flownet.data.from_csv.CSVData(input_data: Union[pathlib.Path, str])
Bases:
object
CSV data source class
- Parameters
input_data – Full path to CSV file to load production data from
- _production_data() pandas.core.frame.DataFrame
Function to read production data for all producers and injectors from a CSV file.
- Returns
date equal to index
WELL_NAME Well name as used in Flow
WOPR Well Oil Production Rate
WGPR Well Gas Production Rate
WWPR Well Water Production Rate
WOPT Well Cumulative Oil Production
WGPT Well Cumulative Gas Production
WWPT Well Cumulative Water Production
WBHP Well Bottom Hole Pressure
WTHP Well Tubing Head Pressure
WGIR Well Gas Injection Rate
WWIR Well Water Injection Rate
WSPR Well Salt Production Rate
WSIR Well Salt Injection Rate
WSPT Well Cumulative Salt Production
WSIT Well Cumulative Salt Injection
WSTAT Well status (OPEN, SHUT, STOP)
TYPE Well Type: “OP”, “GP”, “WI”, “GI”
PHASE Main producing/injecting phase fluid: “OIL”, “GAS”, “WATER”
- Return type
A DataFrame with a DateTimeIndex and the following columns
- property production: pandas.core.frame.DataFrame
dataframe with all production data