ResSimpy.Nexus.DataModels.NexusGasliftMethod.NexusGasliftMethod
- class ResSimpy.Nexus.DataModels.NexusGasliftMethod.NexusGasliftMethod(file: NexusFile, input_number: int, properties: dict[str, Union[str, int, float, enum.Enum, list[str], pandas.DataFrame, dict[str, Union[float, pandas.DataFrame]]]] | None = None)[source]
Bases:
DynamicPropertyClass to hold Nexus gaslift properties.
- input_number
Gaslift properties method number in Nexus fcs file
- Type:
int
- properties (dict[str, Union[str, int, float, Enum, list[str], pd.DataFrame,
dict[str, Union[float, pd.DataFrame]]]]):
Dictionary holding all properties for a specific gaslift properties method. Defaults to empty dictionary.
Methods:
__init__(file, input_number[, properties])Create string with gaslift data in Nexus file format.
Read Nexus gaslift file contents and populate the NexusGasliftMethod object.
__eq__(other)Return self==value.
Inherited from
DynamicProperty__init__(input_number, file)__repr__()Pretty printing dynamic property data.
to_string()Write dynamic property data to string.
write_to_file([overwrite_existing, ...])Write dynamic property data to file.
__eq__(other)Return self==value.
- __init__(file: NexusFile, input_number: int, properties: dict[str, Union[str, int, float, enum.Enum, list[str], pandas.DataFrame, dict[str, Union[float, pandas.DataFrame]]]] | None = None) None[source]
- write_to_file(overwrite_existing: bool = False, new_file_location: str | None = None) None
Write dynamic property data to file.