kappa_sdk.keg5.ModelParser#
- class kappa_sdk.keg5.ModelParser(xml_string)[source]#
Parses XML from KEG5 KW document’s model
Methods
Will remove the existing wells from this keg5 and create new ones taking into account the parameters of each input
Will remove the existing datasets from this keg5 and create new ones taking into account the parameters of each 'Keg5WellPropertyInputs', will only affect permeability, porosity and thickness.
ModelParser.write_in_file(file_name)- Parameters:
xml_string (str)
- add_vectorial_objects(wells)[source]#
Will remove the existing wells from this keg5 and create new ones taking into account the parameters of each input
- Parameters:
wells (
listofall needed propertiestocreate new wells)- Return type:
None
- configure_datasets(wells)[source]#
Will remove the existing datasets from this keg5 and create new ones taking into account the parameters of each ‘Keg5WellPropertyInputs’, will only affect permeability, porosity and thickness. Will as well reset layers, horizons, zones and petrophysics (the analysis will be single layer, one unique region).
- Parameters:
wells (
listofproperties containing petrophysics data)- Return type:
None