Class CMGEOSExporter.ExportConfig
java.lang.Object
neqsim.blackoil.io.CMGEOSExporter.ExportConfig
- Enclosing class:
CMGEOSExporter
Configuration for CMG export.
- Version:
- 1.0
- Author:
- esol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate booleanprivate Stringprivate double[]private doubleprivate CMGEOSExporter.Simulatorprivate doubleprivate doubleprivate CMGEOSExporter.Units -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetComment(String comment) Add a custom comment to the header.setIncludeHeader(boolean include) Enable or disable header comments in output.setModelName(String name) Set model name for the export.setPressureGrid(double[] pressures) Set pressure grid for PVT table generation.setReferenceTemperature(double temperature) Set reference temperature for PVT table generation.setSimulator(CMGEOSExporter.Simulator simulator) Set the target CMG simulator.setStandardConditions(double pressure, double temperature) Set standard conditions for stock tank properties.setUnits(CMGEOSExporter.Units units) Set the unit system.
-
Field Details
-
simulator
-
units
-
referenceTemperature
private double referenceTemperature -
standardPressure
private double standardPressure -
standardTemperature
private double standardTemperature -
pressureGrid
private double[] pressureGrid -
includeHeader
private boolean includeHeader -
modelName
-
comment
-
-
Constructor Details
-
ExportConfig
public ExportConfig()
-
-
Method Details
-
setSimulator
Set the target CMG simulator.- Parameters:
simulator- target simulator- Returns:
- this config for chaining
-
setUnits
Set the unit system.- Parameters:
units- unit system- Returns:
- this config for chaining
-
setReferenceTemperature
Set reference temperature for PVT table generation.- Parameters:
temperature- temperature in Kelvin- Returns:
- this config for chaining
-
setStandardConditions
Set standard conditions for stock tank properties.- Parameters:
pressure- pressure in kPatemperature- temperature in Kelvin- Returns:
- this config for chaining
-
setPressureGrid
Set pressure grid for PVT table generation.- Parameters:
pressures- pressures in bar- Returns:
- this config for chaining
-
setIncludeHeader
Enable or disable header comments in output.- Parameters:
include- true to include header- Returns:
- this config for chaining
-
setModelName
Set model name for the export.- Parameters:
name- model name- Returns:
- this config for chaining
-
setComment
Add a custom comment to the header.- Parameters:
comment- comment string- Returns:
- this config for chaining
-