diff --git a/.github/neqsim-engine.sha256 b/.github/neqsim-engine.sha256 index 69944423..11929ffd 100644 --- a/.github/neqsim-engine.sha256 +++ b/.github/neqsim-engine.sha256 @@ -1 +1 @@ -ba8ab3749355fb9983d09a14892e6a23e7bac929f60547ce9db7b5bf4e18b139 neqsim-3.24.0.jar +0741834bf64b73f26fe889516809487c047f6415d55ed7223f49ad4f95b8e60c neqsim-3.26.0.jar diff --git a/conda/meta.yaml b/conda/meta.yaml index 2a222a6c..6fcae9e3 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,5 +1,5 @@ {% set name = "neqsim" %} -{% set version = "3.24.0" %} +{% set version = "3.26.0" %} package: name: {{ name|lower }} diff --git a/docs/release-notes/v3.26.0.md b/docs/release-notes/v3.26.0.md new file mode 100644 index 00000000..22cd4c5f --- /dev/null +++ b/docs/release-notes/v3.26.0.md @@ -0,0 +1,67 @@ +# NeqSim Python 3.26.0 + +NeqSim Python is the Python interface to the NeqSim engine for thermodynamic +calculations, physical properties, process simulation, and PVT analysis from +Python and Jupyter notebooks. + +## Highlights + +- Bundles the NeqSim Java 3.26.0 engine for Java 17 or newer. This release + also carries all changes from NeqSim Java 3.25.0. +- Thermodynamic fixes: wet gas-condensate flashes recover a missing aqueous + phase, phase mass fractions are derived from conserved inventory, pure-fluid + saturation enforces domain guards with a corrected hydrocarbon dew + equilibrium, and CPA and electrolyte-CPA phase state is isolated across + clones. Electrolyte derivative consistency and the CO2/KCl response are + corrected. +- Standards and data: the ISO 6976:2016 60 F air compression factor is + corrected, unsupported ISO 6976 reference temperatures are rejected, and the + DEA component identity is reconciled with the Henry source inventory. +- E300 fluid files: `VCRIT` is written in m3/kmol and `ZCRIT` as a + dimensionless value, and `VCRIT` is converted on read. +- Process fixes: heater input specifications are invalidated when changed, + distillation terminal duties are calculated from published streams, pump + best-efficiency-point and operating status follow the requested speed, and + compressor speed solves report consistent results and convergence. +- Pipeline and network: signed-face complementarity and transitions, an + experimental non-equilibrium post-pigging film transfer model, explicit + surface temperature profile units, and fail-closed handling of mapped + compressor errors and incomplete pump operating points. +- New capability: catalytic reforming balance and complete TBP-table blending + for refinery studies, plus ANP Annex XX profit-oil share tables. +- Internal: the Jama linear-algebra dependency is removed in favor of EJML. + Java code that used Jama matrices in extension hooks must migrate to EJML + `SimpleMatrix`; the Python API is unchanged. +- Retains Python 3.10-3.14 support and the existing NeqSim Python API. + +## Install + +Use pip when you already have Java installed: + +```bash +pip install --upgrade neqsim==3.26.0 +``` + +Use conda when you want OpenJDK installed with the package: + +```bash +conda install -c conda-forge neqsim=3.26.0 +``` + +Requirements: + +- Python 3.10 or newer. +- Java 17 or newer for pip installs. Download Java from + [Adoptium](https://adoptium.net/). +- Conda installs include OpenJDK through conda-forge. + +Verify the installed package version without starting the JVM: + +```bash +python -c "from importlib.metadata import version; print(version('neqsim'))" +``` + +## Useful Links + +- Full changelog: https://github.com/equinor/neqsim-python/compare/v3.24.0...v3.26.0 +- NeqSim Java 3.26.0 release: https://github.com/equinor/neqsim/releases/tag/v3.26.0 diff --git a/environment.yml b/environment.yml index bf280247..7d2a0740 100644 --- a/environment.yml +++ b/environment.yml @@ -19,4 +19,4 @@ dependencies: # Install neqsim from PyPI until conda-forge package is available - pip - pip: - - neqsim==3.24.0 + - neqsim==3.26.0 diff --git a/pyproject.toml b/pyproject.toml index a8c41fcc..3f10a146 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "neqsim" -version = "3.24.0" +version = "3.26.0" description = "NeqSim is a tool for thermodynamic and process calculations" authors = [{ name = "Even Solbraa", email = "esolbraa@gmail.com" }] requires-python = ">=3.10,<4" diff --git a/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi index e0d77caf..855b7ca7 100644 --- a/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -import Jama import java.io import java.lang import java.util @@ -62,7 +61,6 @@ class ChemicalEquilibrium(java.io.Serializable): class LinearProgrammingChemicalEquilibrium(jneqsim.thermo.ThermodynamicConstantsInterface): def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations, int: int): ... def calcA(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def calcx(self, matrix: Jama.Matrix, matrix2: Jama.Matrix) -> None: ... def changePrimaryComponents(self) -> None: ... def generateInitialEstimates(self, systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, int: int) -> typing.MutableSequence[float]: ... def getA(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... diff --git a/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi index 25f3313a..2fdb9e4f 100644 --- a/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -import Jama import java.lang import java.util import jpype @@ -115,7 +114,7 @@ class ChemicalReactionFactory: class ChemicalReactionList(jneqsim.thermo.ThermodynamicConstantsInterface): def __init__(self): ... def calcReacMatrix(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calcReacRates(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> Jama.Matrix: ... + def calcReationRates(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> typing.MutableSequence[float]: ... def calcReferencePotentials(self) -> typing.MutableSequence[float]: ... def checkReactions(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... def createReactionMatrix(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi index 4da50665..114c0183 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -import Jama import java.io import java.lang import jneqsim.fluidmechanics.flownode @@ -31,7 +30,7 @@ class FluidBoundaryInterface(java.lang.Cloneable): def getInterphaseHeatFlux(self, int: int) -> float: ... def getInterphaseMolarFlux(self, int: int) -> float: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getMassTransferCoefficientMatrix(self) -> typing.MutableSequence[Jama.Matrix]: ... + def getMassTransferCoefficientArray(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... def heatTransSolve(self) -> None: ... def isHeatTransferCalc(self) -> bool: ... def massTransSolve(self) -> None: ... @@ -133,7 +132,7 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): def getInterphaseMolarFlux(self, int: int) -> float: ... def getInterphaseOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getMassTransferCoefficientMatrix(self) -> typing.MutableSequence[Jama.Matrix]: ... + def getMassTransferCoefficientArray(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi index 3bf40546..6955cfd3 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi @@ -28,7 +28,7 @@ class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.hea def calcPhiMatrix(self, int: int) -> None: ... def calcRedCorrectionMatrix(self, int: int) -> None: ... def calcRedPhiMatrix(self, int: int) -> None: ... - def calcTotalMassTransferCoefficientMatrix(self, int: int) -> None: ... + def calcTotalMassTransferCoefficientArray(self, int: int) -> None: ... def clone(self) -> 'KrishnaStandartFilmModel': ... def init(self) -> None: ... def initCorrections(self, int: int) -> None: ... diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi index 18c88ea7..a053c1b3 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi @@ -43,7 +43,7 @@ class ReactiveKrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboun def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcTotalMassTransferCoefficientMatrix(self, int: int) -> None: ... + def calcTotalMassTransferCoefficientArray(self, int: int) -> None: ... def setEnhancementType(self, int: int) -> None: ... diff --git a/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi b/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi index f7456895..fcf9842f 100644 --- a/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi +++ b/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi @@ -7,10 +7,15 @@ else: import java.lang import jpype +import org.ejml.simple import typing +class EjmlMatrixUtils: + @staticmethod + def toArray(simpleMatrix: org.ejml.simple.SimpleMatrix) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + class LinearAlgebraException(java.lang.RuntimeException): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -83,45 +88,11 @@ class EjmlLinearAlgebra(LinearAlgebraOperations): def transpose(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def withSubmatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... -class JamaLinearAlgebra(LinearAlgebraOperations): - NAME: typing.ClassVar[java.lang.String] = ... - def __init__(self): ... - @typing.overload - def add(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - @typing.overload - def add(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def conditionNumber(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... - def determinant(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... - def euclideanNorm(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def getName(self) -> java.lang.String: ... - def identity(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def invert(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - @typing.overload - def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - @typing.overload - def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def oneNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... - def rank(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> int: ... - @typing.overload - def scale(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> typing.MutableSequence[float]: ... - @typing.overload - def scale(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def solve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def solveLeastSquares(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def spectralNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... - def submatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, int3: int, int4: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - @typing.overload - def subtract(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - @typing.overload - def subtract(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def transpose(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def withSubmatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib.linearalgebra")``. EjmlLinearAlgebra: typing.Type[EjmlLinearAlgebra] - JamaLinearAlgebra: typing.Type[JamaLinearAlgebra] + EjmlMatrixUtils: typing.Type[EjmlMatrixUtils] LinearAlgebraException: typing.Type[LinearAlgebraException] LinearAlgebraOperations: typing.Type[LinearAlgebraOperations] diff --git a/src/jneqsim-stubs/mcp/catalog/__init__.pyi b/src/jneqsim-stubs/mcp/catalog/__init__.pyi index 4be87b0c..93c3be6b 100644 --- a/src/jneqsim-stubs/mcp/catalog/__init__.pyi +++ b/src/jneqsim-stubs/mcp/catalog/__init__.pyi @@ -116,136 +116,6 @@ class ExampleCatalog: @staticmethod def waterHammerValveClosure() -> java.lang.String: ... -class SchemaCatalog: - @staticmethod - def barrierRegisterInputSchema() -> java.lang.String: ... - @staticmethod - def barrierRegisterOutputSchema() -> java.lang.String: ... - @staticmethod - def batchInputSchema() -> java.lang.String: ... - @staticmethod - def batchOutputSchema() -> java.lang.String: ... - @staticmethod - def bioprocessInputSchema() -> java.lang.String: ... - @staticmethod - def capabilitiesInputSchema() -> java.lang.String: ... - @staticmethod - def capabilitiesOutputSchema() -> java.lang.String: ... - @staticmethod - def chemistryInputSchema() -> java.lang.String: ... - @staticmethod - def comparisonInputSchema() -> java.lang.String: ... - @staticmethod - def componentSearchInputSchema() -> java.lang.String: ... - @staticmethod - def componentSearchOutputSchema() -> java.lang.String: ... - @staticmethod - def dynamicInputSchema() -> java.lang.String: ... - @staticmethod - def dynamicOutputSchema() -> java.lang.String: ... - @staticmethod - def equipmentSizingInputSchema() -> java.lang.String: ... - @staticmethod - def equipmentSizingOutputSchema() -> java.lang.String: ... - @staticmethod - def fieldEconomicsInputSchema() -> java.lang.String: ... - @staticmethod - def flareNetworkInputSchema() -> java.lang.String: ... - @staticmethod - def flashInputSchema() -> java.lang.String: ... - @staticmethod - def flashOutputSchema() -> java.lang.String: ... - @staticmethod - def flowAssuranceInputSchema() -> java.lang.String: ... - @staticmethod - def getCatalogJson() -> java.lang.String: ... - @staticmethod - def getSchema(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def getToolNames() -> java.util.List[java.lang.String]: ... - @staticmethod - def hasDetailedInputSchema(string: typing.Union[java.lang.String, str]) -> bool: ... - @staticmethod - def hazopInputSchema() -> java.lang.String: ... - @staticmethod - def hazopOutputSchema() -> java.lang.String: ... - @staticmethod - def hazopScenarioInputSchema() -> java.lang.String: ... - @staticmethod - def inspectApiInputSchema() -> java.lang.String: ... - @staticmethod - def inspectApiOutputSchema() -> java.lang.String: ... - @staticmethod - def lopaInputSchema() -> java.lang.String: ... - @staticmethod - def materialsReviewInputSchema() -> java.lang.String: ... - @staticmethod - def materialsReviewOutputSchema() -> java.lang.String: ... - @staticmethod - def normalizeToolName(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def norsokS001Clause10ReviewInputSchema() -> java.lang.String: ... - @staticmethod - def norsokS001Clause10ReviewOutputSchema() -> java.lang.String: ... - @staticmethod - def openDrainReviewInputSchema() -> java.lang.String: ... - @staticmethod - def openDrainReviewOutputSchema() -> java.lang.String: ... - @staticmethod - def parametricStudyInputSchema() -> java.lang.String: ... - @staticmethod - def phaseEnvelopeInputSchema() -> java.lang.String: ... - @staticmethod - def phaseEnvelopeOutputSchema() -> java.lang.String: ... - @staticmethod - def pipelineInputSchema() -> java.lang.String: ... - @staticmethod - def processInputSchema() -> java.lang.String: ... - @staticmethod - def processOutputSchema() -> java.lang.String: ... - @staticmethod - def propertyTableInputSchema() -> java.lang.String: ... - @staticmethod - def propertyTableOutputSchema() -> java.lang.String: ... - @staticmethod - def pvtInputSchema() -> java.lang.String: ... - @staticmethod - def pvtOutputSchema() -> java.lang.String: ... - @staticmethod - def reliefInputSchema() -> java.lang.String: ... - @staticmethod - def reservoirInputSchema() -> java.lang.String: ... - @staticmethod - def riskMatrixInputSchema() -> java.lang.String: ... - @staticmethod - def rootCauseInputSchema() -> java.lang.String: ... - @staticmethod - def rootCauseOutputSchema() -> java.lang.String: ... - @staticmethod - def runCapabilityInputSchema() -> java.lang.String: ... - @staticmethod - def runCapabilityOutputSchema() -> java.lang.String: ... - @staticmethod - def safetySystemPerformanceInputSchema() -> java.lang.String: ... - @staticmethod - def safetySystemPerformanceOutputSchema() -> java.lang.String: ... - @staticmethod - def sessionInputSchema() -> java.lang.String: ... - @staticmethod - def silInputSchema() -> java.lang.String: ... - @staticmethod - def standardsInputSchema() -> java.lang.String: ... - @staticmethod - def utilityDesignInputSchema() -> java.lang.String: ... - @staticmethod - def validateInputSchema() -> java.lang.String: ... - @staticmethod - def validateOutputSchema() -> java.lang.String: ... - @staticmethod - def visualizationInputSchema() -> java.lang.String: ... - @staticmethod - def waterHammerInputSchema() -> java.lang.String: ... - class SchemaChecker: @staticmethod def check(jsonElement: com.google.gson.JsonElement, jsonElement2: com.google.gson.JsonElement, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... @@ -257,5 +127,4 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.catalog")``. ExampleCatalog: typing.Type[ExampleCatalog] - SchemaCatalog: typing.Type[SchemaCatalog] SchemaChecker: typing.Type[SchemaChecker] diff --git a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi index 07001683..35ae0051 100644 --- a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi @@ -2238,6 +2238,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... def getSpeed(self) -> float: ... + def getSpeedSolvePressureResidual(self) -> float: ... def getStartupProfile(self) -> StartupProfile: ... def getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getStoneWallWarningThreshold(self) -> float: ... @@ -2280,6 +2281,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def isSetMaxOutletPressure(self) -> bool: ... def isSimulationValid(self) -> bool: ... def isSolveSpeed(self) -> bool: ... + def isSpeedSolveConverged(self) -> bool: ... @typing.overload def isSpeedWithinRange(self) -> bool: ... @typing.overload @@ -2406,6 +2408,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def solveEfficiency(self, double: float) -> float: ... def solveThermalModel(self) -> None: ... def solveThermalModelTransient(self, double: float) -> None: ... + def solved(self) -> bool: ... def startCompressor(self, double: float) -> None: ... @typing.overload def stopCompressor(self) -> None: ... @@ -2449,6 +2452,8 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def useLeachman(self) -> 'Compressor.Builder': ... def useRigorousPolytropicMethod(self) -> 'Compressor.Builder': ... def useVega(self) -> 'Compressor.Builder': ... + class SpeedSolveException(java.lang.IllegalStateException): + def __init__(self, string: typing.Union[java.lang.String, str]): ... class TransientCalculationMode(java.lang.Enum['Compressor.TransientCalculationMode']): MAP_FLOW_SOLVER: typing.ClassVar['Compressor.TransientCalculationMode'] = ... QUASI_STEADY: typing.ClassVar['Compressor.TransientCalculationMode'] = ... diff --git a/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi b/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi index 4c0722c1..353b2c46 100644 --- a/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi @@ -165,6 +165,8 @@ class PackingSpecificationLibrary: def register(packingSpecification: PackingSpecification) -> None: ... @staticmethod def registerAlias(string: typing.Union[java.lang.String, str], packingSpecification: PackingSpecification) -> None: ... + @staticmethod + def require(string: typing.Union[java.lang.String, str]) -> PackingSpecification: ... class TrayHydraulicsCalculator(java.io.Serializable): def __init__(self): ... diff --git a/src/jneqsim-stubs/process/equipment/network/__init__.pyi b/src/jneqsim-stubs/process/equipment/network/__init__.pyi index 52cf0447..cee06b89 100644 --- a/src/jneqsim-stubs/process/equipment/network/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/network/__init__.pyi @@ -79,6 +79,7 @@ class FieldNetworkTopology(java.io.Serializable): def __init__(self, loopedPipeNetwork: 'LoopedPipeNetwork'): ... def addChoke(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... def addCompressor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addCompressorWithChart(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor) -> 'LoopedPipeNetwork.NetworkPipe': ... def addDemandSink(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float) -> 'FieldNetworkTopology.FieldNode': ... def addFixedPressureSink(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float) -> 'FieldNetworkTopology.FieldNode': ... def addJunction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float) -> 'FieldNetworkTopology.FieldNode': ... @@ -87,6 +88,7 @@ class FieldNetworkTopology(java.io.Serializable): def addPressureSource(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float, double3: float) -> 'FieldNetworkTopology.FieldNode': ... def addPump(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... def addPumpDifferentialPressure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPumpWithCurve(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], pump: jneqsim.process.equipment.pump.Pump) -> 'LoopedPipeNetwork.NetworkPipe': ... def bindEquipment(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'FieldNetworkTopology': ... def copyDefinition(self) -> 'FieldNetworkTopology': ... @staticmethod @@ -280,13 +282,26 @@ class FieldWellNetworkProcessUnit(jneqsim.process.equipment.ProcessEquipmentBase @typing.overload def getOutletStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getRouteConfigurationEdges(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getRouteConfigurationNames(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getRouteConfigurationProvenance(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getRouteConfigurationSelection(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getRouteConfigurationSelectorNames(self) -> java.util.List[java.lang.String]: ... + def getRouteConfigurations(self, string: typing.Union[java.lang.String, str]) -> java.util.List['FieldWellNetworkProcessUnit.RouteConfiguration']: ... def getTopology(self) -> FieldNetworkTopology: ... def registerExclusiveRouteSelector(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str]) -> 'FieldWellNetworkProcessUnit': ... + def registerRouteConfigurationSelector(self, string: typing.Union[java.lang.String, str], list: java.util.List['FieldWellNetworkProcessUnit.RouteConfiguration'], string2: typing.Union[java.lang.String, str]) -> 'FieldWellNetworkProcessUnit': ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setExclusiveRouteSelection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setRouteConfigurationSelection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + class RouteConfiguration(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def getAvailableEdgeNames(self) -> java.util.List[java.lang.String]: ... + def getName(self) -> java.lang.String: ... class GasLinepackState(java.io.Serializable): def advance(self, double: float, double2: float, double3: float, double4: float, double5: float, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'GasLinepackState': ... @@ -315,1125 +330,825 @@ class LoopDetector(java.io.Serializable): def getNodeCount(self) -> int: ... def hasLoops(self) -> bool: ... -class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... - def addChoke(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addCompressor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addCompressorWithChart(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor) -> 'LoopedPipeNetwork.NetworkPipe': ... - @typing.overload - def addFixedPressureSinkNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addFixedPressureSinkNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - @typing.overload - def addJunctionNode(self, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addJunctionNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addMultiphasePipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - @typing.overload - def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - @typing.overload - def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addPump(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addPumpDifferentialPressure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addPumpWithCurve(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], pump: jneqsim.process.equipment.pump.Pump) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addRegulator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - @typing.overload - def addSinkNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addSinkNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - @typing.overload - def addSourceNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - @typing.overload - def addSourceNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addTubing(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWaterInjection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWellIPR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, boolean: bool) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWellIPRFetkovich(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWellIPRVogel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... +class NetworkAvailabilitySchedule(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + def derate(self, int: int, int2: int, double: float) -> None: ... @typing.overload - def attachReservoir(self, string: typing.Union[java.lang.String, str], simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string2: typing.Union[java.lang.String, str]) -> None: ... + def getAvailability(self, int: int) -> float: ... @typing.overload - def attachReservoir(self, string: typing.Union[java.lang.String, str], simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def calculateCorrosion(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateEmissions(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateFuelGasConsumption(self) -> java.util.Map[java.lang.String, float]: ... - def calculateGasQuality(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateOilQuality(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateSandTransport(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateWaterBalance(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def checkConstraints(self) -> java.util.List[java.lang.String]: ... - def checkErosionalVelocity(self) -> java.util.List[java.lang.String]: ... - def checkGasQualityLimits(self, double: float, double2: float) -> java.util.List[java.lang.String]: ... - def checkOilQualityLimits(self, double: float, double2: float) -> java.util.List[java.lang.String]: ... - def createOptimizer(self) -> 'NetworkOptimizer': ... - def evaluateQualityProfiles(self) -> java.util.Map[java.lang.String, 'NetworkQualityComplianceReport']: ... - def exportCoupledVFPTables(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def exportVFPTables(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def getAvailability(self) -> typing.MutableSequence[float]: ... + def getEdgeName(self) -> java.lang.String: ... + +class NetworkCandidateEvaluation(java.io.Serializable): + def __init__(self): ... + def getActiveConstraints(self) -> java.util.List[java.lang.String]: ... + def getConstraints(self) -> java.util.List['NetworkConstraintResult']: ... + def getDecisionUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getDecisions(self) -> java.util.Map[java.lang.String, float]: ... + def getMessage(self) -> java.lang.String: ... + def getObjectiveTerms(self) -> java.util.Map[java.lang.String, float]: ... + def getObjectiveValue(self) -> float: ... + def getPenalty(self) -> float: ... + def getRateBases(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def isFeasible(self) -> bool: ... + def isSolverConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class NetworkCompositionConvergenceReport(java.io.Serializable): + def __init__(self, boolean: bool, int: int, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'NetworkMixingResult'], typing.Mapping[typing.Union[java.lang.String, str], 'NetworkMixingResult']]): ... + def getIterations(self) -> int: ... + def getMaxComponentBalanceResidualMolS(self) -> float: ... + def getMaxComponentMassBalanceResidualKgS(self) -> float: ... + def getMaxMoleFractionResidual(self) -> float: ... + def getMaxTemperatureResidualK(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getNodeResults(self) -> java.util.Map[java.lang.String, 'NetworkMixingResult']: ... + def isConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class NetworkConstraint(java.io.Serializable): + def evaluate(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> 'NetworkConstraintResult': ... + def getName(self) -> java.lang.String: ... + def isHard(self) -> bool: ... + +class NetworkConstraintResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float, double2: float, boolean2: bool, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getMessage(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getResidual(self) -> float: ... + def getScale(self) -> float: ... + def getScaledResidual(self) -> float: ... + def getSensitivity(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def isActive(self) -> bool: ... + def isHard(self) -> bool: ... + def isSatisfied(self) -> bool: ... + def setSensitivity(self, double: float) -> None: ... + +class NetworkConstraints: @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork': ... - def fullFieldForecast(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def generateCoupledVFPTables(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[typing.MutableSequence[float]]]: ... - def generateNetworkBackpressureCurve(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def getAnnualCO2EmissionsTonnes(self) -> float: ... - def getAssignedNodeFluidNames(self) -> java.util.Set[java.lang.String]: ... - def getAttachedReservoir(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... - def getCO2EmissionFactor(self) -> float: ... - def getCompositionConvergenceReport(self) -> 'NetworkCompositionConvergenceReport': ... - def getCompositionMaxIterations(self) -> int: ... - def getCompositionTemperatureTolerance(self) -> float: ... - def getCompositionTolerance(self) -> float: ... - def getConstraintViolations(self) -> java.util.List[java.lang.String]: ... - def getCorrosionViolations(self) -> java.util.List[java.lang.String]: ... - def getEffectiveHydraulicModelType(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PipeModelType': ... - def getEmissionsIntensity(self) -> float: ... - def getErosionalVelocityViolations(self) -> java.util.List[java.lang.String]: ... - def getFluidTemplate(self) -> jneqsim.thermo.system.SystemInterface: ... - def getFuelGasHeatRate(self) -> float: ... - def getFuelGasPercentage(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getIterationCount(self) -> int: ... - def getLoops(self) -> java.util.List['NetworkLoop']: ... - def getMassBalanceError(self) -> float: ... - def getMaxCompressorPowerMW(self) -> float: ... - def getMaxIterations(self) -> int: ... - def getMaxResidual(self) -> float: ... - def getMaxSeparatorUtilization(self) -> float: ... - def getNetworkCouplingReport(self) -> 'NetworkCouplingReport': ... - def getNetworkReport(self) -> java.lang.String: ... - def getNode(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkNode': ... - def getNodeFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNodeFluid(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... - def getNodeGasQuality(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getNodeNames(self) -> java.util.List[java.lang.String]: ... - def getNodeOilQuality(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getNodePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNumberOfLoops(self) -> int: ... - @typing.overload - def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - @typing.overload - def getOutletStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getPipe(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkPipe': ... - def getPipeFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipeFlowRegime(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getPipeFrictionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipeHeadLoss(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipeModelType(self) -> 'LoopedPipeNetwork.PipeModelType': ... - def getPipeNames(self) -> java.util.List[java.lang.String]: ... - def getPipeReynoldsNumber(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipeVelocity(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getQualityComplianceReport(self, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityComplianceReport': ... - def getQualityProfile(self, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... - def getRelaxationFactor(self) -> float: ... - def getSandViolations(self) -> java.util.List[java.lang.String]: ... - def getSensitivityFailures(self) -> java.util.Map[int, java.lang.String]: ... - def getSolutionSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getSolverType(self) -> 'LoopedPipeNetwork.SolverType': ... - def getSourceNodeStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getTolerance(self) -> float: ... - def getTopsideModel(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getTotalCO2Emissions(self) -> float: ... - def getTotalESPPower(self) -> float: ... - def getTotalFuelGasRate(self) -> float: ... - def getTotalGasLiftRate(self) -> float: ... - def getTotalSinkFlow(self) -> float: ... - def getTotalWaterInjection(self) -> float: ... - def getTotalWaterProduction(self) -> float: ... - def getWellAllocationResults(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def hasAttachedReservoirs(self) -> bool: ... - def isCompositionalHydraulicsEnabled(self) -> bool: ... + def convergence() -> NetworkConstraint: ... + @staticmethod + def custom(string: typing.Union[java.lang.String, str], boolean: bool, double: float, string2: typing.Union[java.lang.String, str], residualEvaluator: typing.Union['NetworkConstraints.ResidualEvaluator', typing.Callable]) -> NetworkConstraint: ... + @staticmethod + def edgeFlow(string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> NetworkConstraint: ... + @staticmethod + def edgeMinimumOutletTemperature(string: typing.Union[java.lang.String, str], double: float, boolean: bool) -> NetworkConstraint: ... + @staticmethod + def massBalance(double: float, boolean: bool) -> NetworkConstraint: ... + @staticmethod + def nodePressure(string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> NetworkConstraint: ... + @staticmethod + def qualityCompliance(boolean: bool) -> NetworkConstraint: ... + class ResidualEvaluator(java.io.Serializable): + def evaluate(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> float: ... + +class NetworkCouplingReport(java.io.Serializable): + def __init__(self, boolean: bool, boolean2: bool, int: int, double: float, double2: float, double3: float, networkCompositionConvergenceReport: NetworkCompositionConvergenceReport, string: typing.Union[java.lang.String, str]): ... + def getCompositionReport(self) -> NetworkCompositionConvergenceReport: ... + def getMaxFlowResidualKgS(self) -> float: ... + def getMaxPressureResidualPa(self) -> float: ... + def getMaxTemperatureResidualK(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getOuterIterations(self) -> int: ... def isConverged(self) -> bool: ... - def isProductionOptimizationApplicable(self) -> bool: ... - def isThermalHydraulicsEnabled(self) -> bool: ... - def isTopsideFeasible(self) -> bool: ... - def loadFluidFromE300(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... - def nodalAnalysis(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def optimizeChokeOpenings(self, int: int, double: float) -> float: ... - def optimizeFullField(self, int: int, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def optimizeMultiObjective(self, int: int) -> java.util.List['NetworkOptimizer.OptimizationResult']: ... - def optimizeProduction(self, int: int, double: float) -> float: ... - def optimizeProductionNLP(self) -> 'NetworkOptimizer.OptimizationResult': ... - def productionForecast(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - @typing.overload - def productionForecastCoupled(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - @typing.overload - def productionForecastCoupled(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, double2: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - @typing.overload - def productionForecastWithOptimization(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int, double3: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - @typing.overload - def productionForecastWithOptimization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, double2: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - @typing.overload - def run(self) -> None: ... - @typing.overload - def run(self, uUID: java.util.UUID) -> None: ... - def runCoupled(self) -> java.util.Map[java.lang.String, float]: ... - def runTransientCoupled(self, double: float, int: int, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def isHydraulicConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class NetworkDecisionVariable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], type: 'NetworkDecisionVariable.Type', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], rateBasis: 'NetworkDecisionVariable.RateBasis', double: float, double2: float): ... @staticmethod - def runValidationBenchmarks() -> java.util.List['NetworkValidationBenchmarks.BenchmarkResult']: ... - def sensitivityAnalysis(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def setCO2EmissionFactor(self, double: float) -> None: ... - def setCompositionMaxIterations(self, int: int) -> None: ... - def setCompositionTemperatureTolerance(self, double: float) -> None: ... - def setCompositionTolerance(self, double: float) -> None: ... - def setCompositionalHydraulicsEnabled(self, boolean: bool) -> None: ... - def setCorrosionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setCorrosiveGas(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setCouplingMaxIterations(self, int: int) -> None: ... - def setCouplingToleranceBar(self, double: float) -> None: ... - def setCouplingTolerances(self, double: float, double2: float) -> None: ... - def setESP(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setElementFlowLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setFeedStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setFluidTemplate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setFuelGasHeatRate(self, double: float) -> None: ... - def setGasLift(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setGasPrice(self, double: float) -> None: ... - def setJetPump(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setMaxAllowableErosionRate(self, double: float) -> None: ... - def setMaxAllowableSandRate(self, double: float) -> None: ... - def setMaxCompressorPowerMW(self, double: float) -> None: ... - def setMaxCouplingIterations(self, int: int) -> None: ... - def setMaxIterations(self, int: int) -> None: ... - def setMaxSeparatorUtilization(self, double: float) -> None: ... - def setMethaneSlipFactor(self, double: float) -> None: ... - def setMinAllowableWallLife(self, double: float) -> None: ... - def setNodeFluid(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setNodePressure(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setNodePressureLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setOilPrice(self, double: float) -> None: ... - def setPipeEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setPipeModelType(self, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> None: ... - def setQualityAttribute(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]) -> None: ... - def setQualityProfile(self, string: typing.Union[java.lang.String, str], networkQualityProfile: 'NetworkQualityProfile') -> None: ... - def setRelaxationFactor(self, double: float) -> None: ... - def setReservoirComposition(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setReservoirCompositionFromE300(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setReservoirPressure(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setRodPump(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setSandRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setSolverType(self, solverType: 'LoopedPipeNetwork.SolverType') -> None: ... - def setThermalHydraulicsEnabled(self, boolean: bool) -> None: ... - def setTolerance(self, double: float) -> None: ... - def setTopsideModel(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> None: ... - def setWaterBreakthrough(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def setWaterCut(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setWellPrice(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - @typing.overload - def toJson(self) -> java.lang.String: ... - def updateCompositionalMixing(self) -> None: ... - def updateCompositionalMixingWithReport(self) -> 'NetworkCompositionConvergenceReport': ... - def validate(self) -> java.util.List[java.lang.String]: ... - def validateVFPPoint(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float) -> java.util.Map[java.lang.String, float]: ... - class ArtificialLiftType(java.lang.Enum['LoopedPipeNetwork.ArtificialLiftType']): - NONE: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - GAS_LIFT: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - ESP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - JET_PUMP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - ROD_PUMP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... + def custom(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, getter: typing.Union['NetworkDecisionVariable.Getter', typing.Callable], setter: typing.Union['NetworkDecisionVariable.Setter', typing.Callable]) -> 'NetworkDecisionVariable': ... + @staticmethod + def customDiscrete(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], getter: typing.Union['NetworkDecisionVariable.Getter', typing.Callable], setter: typing.Union['NetworkDecisionVariable.Setter', typing.Callable]) -> 'NetworkDecisionVariable': ... + def getDiscreteValues(self) -> typing.MutableSequence[float]: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRateBasis(self) -> 'NetworkDecisionVariable.RateBasis': ... + def getTargetName(self) -> java.lang.String: ... + def getType(self) -> 'NetworkDecisionVariable.Type': ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def getValue(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> float: ... + def isDiscrete(self) -> bool: ... + @staticmethod + def pipeDiameter(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkDecisionVariable': ... + def setValue(self, loopedPipeNetwork: 'LoopedPipeNetwork', double: float) -> None: ... + class Getter(java.io.Serializable): + def get(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> float: ... + class RateBasis(java.lang.Enum['NetworkDecisionVariable.RateBasis']): + NONE: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... + MASS: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... + MOLAR: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... + STANDARD_VOLUME: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... + ACTUAL_VOLUME: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... + ENERGY: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.ArtificialLiftType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkDecisionVariable.RateBasis': ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.ArtificialLiftType']: ... - class IPRType(java.lang.Enum['LoopedPipeNetwork.IPRType']): - PRODUCTIVITY_INDEX: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... - VOGEL: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... - FETKOVICH: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... + def values() -> typing.MutableSequence['NetworkDecisionVariable.RateBasis']: ... + class Setter(java.io.Serializable): + def set(self, loopedPipeNetwork: 'LoopedPipeNetwork', double: float) -> None: ... + class Type(java.lang.Enum['NetworkDecisionVariable.Type']): + SOURCE_RATE: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + SOURCE_PRESSURE: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + SINK_NOMINATION: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + CHOKE_OPENING: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + REGULATOR_SET_POINT: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + COMPRESSOR_SPEED: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + PUMP_SPEED: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + ROUTE_ALLOCATION: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + EDGE_AVAILABILITY: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + PIPE_DIAMETER: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + CUSTOM: typing.ClassVar['NetworkDecisionVariable.Type'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.IPRType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkDecisionVariable.Type': ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.IPRType']: ... - class NetworkElementType(java.lang.Enum['LoopedPipeNetwork.NetworkElementType']): - PIPE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - WELL_IPR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - CHOKE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - TUBING: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - MULTIPHASE_PIPE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - COMPRESSOR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - PUMP: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - REGULATOR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + def values() -> typing.MutableSequence['NetworkDecisionVariable.Type']: ... + +class NetworkHydraulicModelComparison: + def __init__(self, fieldNetworkTopology: FieldNetworkTopology): ... + def compare(self, list: java.util.List[typing.Union[java.lang.String, str]], uUID: java.util.UUID) -> 'NetworkHydraulicModelComparison.Result': ... + def compareMeshSensitivity(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[int], uUID: java.util.UUID) -> 'NetworkHydraulicModelComparison.MeshSensitivityResult': ... + class EdgeComparison: + def getAverageLiquidHoldupDifference(self) -> float: ... + def getBeggsBrillFlowRateKgS(self) -> float: ... + def getBeggsBrillPressureDropPa(self) -> float: ... + def getBeggsBrillProfiles(self) -> 'NetworkHydraulicModelComparison.ModelProfiles': ... + def getEdgeId(self) -> java.lang.String: ... + def getOutletTemperatureDifferenceK(self) -> float: ... + def getPressureDropDifferencePa(self) -> float: ... + def getRelativeAverageGasSuperficialVelocityDifference(self) -> float: ... + def getRelativeAverageLiquidSuperficialVelocityDifference(self) -> float: ... + def getRelativePressureDropDifference(self) -> float: ... + def getTwoFluidFlowRateKgS(self) -> float: ... + def getTwoFluidPressureDropPa(self) -> float: ... + def getTwoFluidProfiles(self) -> 'NetworkHydraulicModelComparison.ModelProfiles': ... + class MeshSensitivityResult: + def getResult(self, int: int) -> 'NetworkHydraulicModelComparison.Result': ... + def getSegmentCounts(self) -> java.util.Set[int]: ... + class ModelProfiles: + def getAverageGasSuperficialVelocityMs(self) -> float: ... + def getAverageLiquidHoldup(self) -> float: ... + def getAverageLiquidSuperficialVelocityMs(self) -> float: ... + def getCellLengthM(self) -> typing.MutableSequence[float]: ... + def getGasSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldup(self) -> typing.MutableSequence[float]: ... + def getLiquidSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getPositionM(self) -> typing.MutableSequence[float]: ... + def getPressurePa(self) -> typing.MutableSequence[float]: ... + def getTemperatureK(self) -> typing.MutableSequence[float]: ... + class Result: + def createInitializedTwoFluidPipe(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... + def getBeggsBrillMassBalanceErrorKgS(self) -> float: ... + def getEdgeComparison(self, string: typing.Union[java.lang.String, str]) -> 'NetworkHydraulicModelComparison.EdgeComparison': ... + def getEdgeIds(self) -> java.util.Set[java.lang.String]: ... + def getTwoFluidMassBalanceErrorKgS(self) -> float: ... + +class NetworkLinearSolver: + def __init__(self): ... + @staticmethod + def estimateSparsity(int: int, int2: int) -> typing.MutableSequence[float]: ... + @staticmethod + def solve(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def solveDense(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def solveGaussian(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def solveSparse(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + +class NetworkLoop(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addMember(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def getLastFlowCorrection(self) -> float: ... + def getLastHeadLossImbalance(self) -> float: ... + def getLoopId(self) -> java.lang.String: ... + def getMembers(self) -> java.util.List['NetworkLoop.LoopMember']: ... + def getTolerance(self) -> float: ... + def isBalanced(self, double: float) -> bool: ... + def setLastFlowCorrection(self, double: float) -> None: ... + def setLastHeadLossImbalance(self, double: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + def size(self) -> int: ... + def toString(self) -> java.lang.String: ... + class LoopMember(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + def getDirection(self) -> int: ... + def getPipeName(self) -> java.lang.String: ... + +class NetworkMeasuredAttribute(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def getBlendingRule(self) -> java.lang.String: ... + def getEffectiveDate(self) -> java.lang.String: ... + def getMethod(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + +class NetworkMixingResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def getComponentMolarFlowMolS(self) -> java.util.Map[java.lang.String, float]: ... + def getMaxComponentBalanceResidualMolS(self) -> float: ... + def getMaxComponentMassBalanceResidualKgS(self) -> float: ... + def getNodeName(self) -> java.lang.String: ... + def getPressurePa(self) -> float: ... + def getTemperatureK(self) -> float: ... + def getTotalMassFlowKgS(self) -> float: ... + def getTotalMolarFlowMolS(self) -> float: ... + +class NetworkNomination(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], rateBasis: NetworkDecisionVariable.RateBasis, double2: float): ... + def getBasis(self) -> NetworkDecisionVariable.RateBasis: ... + def getPointName(self) -> java.lang.String: ... + def getToleranceFraction(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self, int: int) -> float: ... + def getValues(self) -> typing.MutableSequence[float]: ... + def size(self) -> int: ... + +class NetworkObjective(java.io.Serializable): + def evaluate(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> float: ... + def getName(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + +class NetworkObjectives: + @staticmethod + def custom(string: typing.Union[java.lang.String, str], double: float, evaluator: typing.Union['NetworkObjectives.Evaluator', typing.Callable]) -> NetworkObjective: ... + @staticmethod + def maximizeThroughput(double: float) -> NetworkObjective: ... + @staticmethod + def minimizeCompressorPower(double: float) -> NetworkObjective: ... + class Evaluator(java.io.Serializable): + def evaluate(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> float: ... + +class NetworkOptimizer: + def __init__(self, loopedPipeNetwork: 'LoopedPipeNetwork'): ... + def addConstraint(self, networkConstraint: NetworkConstraint) -> None: ... + def addDecisionVariable(self, networkDecisionVariable: NetworkDecisionVariable) -> None: ... + def addObjective(self, networkObjective: NetworkObjective) -> None: ... + def clearGeneralizedProblem(self) -> None: ... + def discoverDecisionVariables(self, double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def evaluateCandidate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> NetworkCandidateEvaluation: ... + @typing.overload + def evaluateCandidate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> NetworkCandidateEvaluation: ... + def getAlgorithm(self) -> 'NetworkOptimizer.Algorithm': ... + def getConstraintPenalty(self) -> float: ... + def getConstraints(self) -> java.util.List[NetworkConstraint]: ... + def getDecisionVariables(self) -> java.util.List[NetworkDecisionVariable]: ... + def getLastResult(self) -> 'NetworkOptimizer.OptimizationResult': ... + def getMaxEvaluations(self) -> int: ... + def getObjectiveType(self) -> 'NetworkOptimizer.ObjectiveType': ... + def getObjectives(self) -> java.util.List[NetworkObjective]: ... + def getParetoPoints(self) -> int: ... + def getTrajectory(self) -> java.util.List[NetworkCandidateEvaluation]: ... + def optimize(self) -> 'NetworkOptimizer.OptimizationResult': ... + def optimizeMultiObjective(self) -> java.util.List['NetworkOptimizer.OptimizationResult']: ... + def setAlgorithm(self, algorithm: 'NetworkOptimizer.Algorithm') -> None: ... + def setChokeBounds(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setConstraintPenalty(self, double: float) -> None: ... + def setDeterministicSeed(self, long: int) -> None: ... + def setMaxEvaluations(self, int: int) -> None: ... + def setObjectiveType(self, objectiveType: 'NetworkOptimizer.ObjectiveType') -> None: ... + def setParetoPoints(self, int: int) -> None: ... + class Algorithm(java.lang.Enum['NetworkOptimizer.Algorithm']): + BOBYQA: typing.ClassVar['NetworkOptimizer.Algorithm'] = ... + CMAES: typing.ClassVar['NetworkOptimizer.Algorithm'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkElementType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkOptimizer.Algorithm': ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.NetworkElementType']: ... - class NetworkNode: - def __init__(self, string: typing.Union[java.lang.String, str], nodeType: 'LoopedPipeNetwork.NodeType'): ... - def getDemand(self) -> float: ... - def getElevation(self) -> float: ... - def getName(self) -> java.lang.String: ... - def getPressure(self) -> float: ... - def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getTemperature(self) -> float: ... - def getType(self) -> 'LoopedPipeNetwork.NodeType': ... - def isPressureFixed(self) -> bool: ... - def setDemand(self, double: float) -> None: ... - def setElevation(self, double: float) -> None: ... - def setPressure(self, double: float) -> None: ... - def setPressureFixed(self, boolean: bool) -> None: ... - def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setTemperature(self, double: float) -> None: ... - class NetworkPipe: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - def createInitializedTwoFluidPipe(self) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... - def getAmbientTemperature(self) -> float: ... - def getAmbientTemperatureProfileDistanceM(self) -> typing.MutableSequence[float]: ... - def getAmbientTemperatureProfileK(self) -> typing.MutableSequence[float]: ... - def getArtificialLiftType(self) -> 'LoopedPipeNetwork.ArtificialLiftType': ... - def getAvailability(self) -> float: ... - def getBBModel(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... - def getChokeCapacityKgS(self) -> float: ... - def getChokeCriticalPressureRatio(self) -> float: ... - def getChokeKv(self) -> float: ... - def getChokeModelStatus(self) -> java.lang.String: ... - def getChokeOpening(self) -> float: ... - def getCo2MoleFraction(self) -> float: ... - def getCompressorEfficiency(self) -> float: ... - def getCompressorModel(self) -> jneqsim.process.equipment.compressor.Compressor: ... - def getCompressorPower(self) -> float: ... - def getCompressorSpeed(self) -> float: ... - def getCorrosionModel(self) -> java.lang.String: ... - def getCorrosionRate(self) -> float: ... - def getDepositionRate(self) -> float: ... - def getDiameter(self) -> float: ... - def getElementType(self) -> 'LoopedPipeNetwork.NetworkElementType': ... - def getElevationProfileDistanceM(self) -> typing.MutableSequence[float]: ... - def getElevationProfileM(self) -> typing.MutableSequence[float]: ... - def getErosionRate(self) -> float: ... - def getErosionalC(self) -> float: ... - def getErosionalVelocity(self) -> float: ... - def getErosionalVelocityRatio(self) -> float: ... - def getEspEfficiency(self) -> float: ... - def getEspFrequency(self) -> float: ... - def getEspHeadRise(self) -> float: ... - def getEspPower(self) -> float: ... - def getFetkovichC(self) -> float: ... - def getFetkovichN(self) -> float: ... - def getFlowRate(self) -> float: ... - def getFlowRegime(self) -> java.lang.String: ... - def getFrictionFactor(self) -> float: ... - def getFromNode(self) -> java.lang.String: ... - def getGasLiftGLR(self) -> float: ... - def getGasLiftRate(self) -> float: ... - def getH2sMoleFraction(self) -> float: ... - def getHeadLoss(self) -> float: ... - def getHeatTransferProfileDistanceM(self) -> typing.MutableSequence[float]: ... - def getHeatTransferProfileWm2K(self) -> typing.MutableSequence[float]: ... - def getHydraulicModelStatus(self) -> java.lang.String: ... - def getHydraulicModelType(self) -> 'LoopedPipeNetwork.PipeModelType': ... - def getHydraulicProfile(self) -> 'LoopedPipeNetwork.NetworkPipe.HydraulicProfile': ... - def getInletFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getIprType(self) -> 'LoopedPipeNetwork.IPRType': ... - def getLength(self) -> float: ... - def getLiquidHoldup(self) -> float: ... - def getMultiphaseSegments(self) -> int: ... - def getName(self) -> java.lang.String: ... - def getOutletFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getOutletTemperature(self) -> float: ... - def getOverallHeatTransferCoeff(self) -> float: ... - def getPipeEfficiency(self) -> float: ... - def getPipeModel(self) -> jneqsim.process.equipment.pipeline.AdiabaticPipe: ... - def getProductivityIndex(self) -> float: ... - def getPumpDifferentialPressurePa(self) -> float: ... - def getPumpEfficiency(self) -> float: ... - def getPumpHeadM(self) -> float: ... - def getPumpMinimumFlowKgS(self) -> float: ... - def getPumpMinimumFlowResidualKgS(self) -> float: ... - def getPumpModel(self) -> jneqsim.process.equipment.pump.Pump: ... - def getPumpNpshResidualM(self) -> float: ... - def getPumpNpshaM(self) -> float: ... - def getPumpNpshrM(self) -> float: ... - def getPumpOperatingMode(self) -> 'LoopedPipeNetwork.PumpOperatingMode': ... - def getPumpOperatingStatus(self) -> java.lang.String: ... - def getPumpOutletPressurePa(self) -> float: ... - def getPumpPowerKW(self) -> float: ... - def getPumpPowerResidualKW(self) -> float: ... - def getPumpRatedPowerKW(self) -> float: ... - def getPumpReverseFlowPolicy(self) -> 'LoopedPipeNetwork.PumpReverseFlowPolicy': ... - def getPumpSpeed(self) -> float: ... - def getRegulatorSetPoint(self) -> float: ... - def getRemainingWallLife(self) -> float: ... - def getReservoirPressure(self) -> float: ... - def getReynoldsNumber(self) -> float: ... - def getRoughness(self) -> float: ... - def getSandConcentration(self) -> float: ... - def getSandRate(self) -> float: ... - def getToNode(self) -> java.lang.String: ... - def getTubingInclination(self) -> float: ... - def getTubingSegments(self) -> int: ... - def getTwoFluidModel(self) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... - def getVelocity(self) -> float: ... - def getVogelQmax(self) -> float: ... - def getWallThickness(self) -> float: ... - def getWaterCut(self) -> float: ... - def getWaterFlowRate(self) -> float: ... - def getWaterInjectionRate(self) -> float: ... - def hasRouteProfile(self) -> bool: ... - def isChokeUseValveModel(self) -> bool: ... - def isCompressorHasChart(self) -> bool: ... - def isGasIPR(self) -> bool: ... - def isThermodynamicStateForward(self) -> bool: ... - def setAmbientTemperature(self, double: float) -> None: ... - def setAmbientTemperatureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setArtificialLiftType(self, artificialLiftType: 'LoopedPipeNetwork.ArtificialLiftType') -> None: ... - def setAvailability(self, double: float) -> None: ... - def setBBModel(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... - def setChokeCriticalPressureRatio(self, double: float) -> None: ... - def setChokeKv(self, double: float) -> None: ... - def setChokeOpening(self, double: float) -> None: ... - def setChokeUseValveModel(self, boolean: bool) -> None: ... - def setCo2MoleFraction(self, double: float) -> None: ... - def setCompressorEfficiency(self, double: float) -> None: ... - def setCompressorHasChart(self, boolean: bool) -> None: ... - def setCompressorModel(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... - def setCompressorPower(self, double: float) -> None: ... - def setCompressorSpeed(self, double: float) -> None: ... - def setCorrosionModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCorrosionRate(self, double: float) -> None: ... - def setDepositionRate(self, double: float) -> None: ... - def setDiameter(self, double: float) -> None: ... - def setElementType(self, networkElementType: 'LoopedPipeNetwork.NetworkElementType') -> None: ... - def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setErosionRate(self, double: float) -> None: ... - def setErosionalC(self, double: float) -> None: ... - def setErosionalVelocity(self, double: float) -> None: ... - def setErosionalVelocityRatio(self, double: float) -> None: ... - def setEspEfficiency(self, double: float) -> None: ... - def setEspFrequency(self, double: float) -> None: ... - def setEspHeadRise(self, double: float) -> None: ... - def setEspPower(self, double: float) -> None: ... - def setFetkovichC(self, double: float) -> None: ... - def setFetkovichN(self, double: float) -> None: ... - def setFlowRate(self, double: float) -> None: ... - def setFlowRegime(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFrictionFactor(self, double: float) -> None: ... - def setGasIPR(self, boolean: bool) -> None: ... - def setGasLiftGLR(self, double: float) -> None: ... - def setGasLiftRate(self, double: float) -> None: ... - def setH2sMoleFraction(self, double: float) -> None: ... - def setHeadLoss(self, double: float) -> None: ... - def setHeatTransferProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setHydraulicModelType(self, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> None: ... - def setIprType(self, iPRType: 'LoopedPipeNetwork.IPRType') -> None: ... - def setLength(self, double: float) -> None: ... - def setLiquidHoldup(self, double: float) -> None: ... - def setMultiphaseSegments(self, int: int) -> None: ... - def setOutletTemperature(self, double: float) -> None: ... - def setOverallHeatTransferCoeff(self, double: float) -> None: ... - def setPipeEfficiency(self, double: float) -> None: ... - def setPipeModel(self, adiabaticPipe: jneqsim.process.equipment.pipeline.AdiabaticPipe) -> None: ... - def setProductivityIndex(self, double: float) -> None: ... - def setPumpDifferentialPressurePa(self, double: float) -> None: ... - def setPumpEfficiency(self, double: float) -> None: ... - def setPumpMinimumFlowKgS(self, double: float) -> None: ... - def setPumpModel(self, pump: jneqsim.process.equipment.pump.Pump) -> None: ... - def setPumpOperatingMode(self, pumpOperatingMode: 'LoopedPipeNetwork.PumpOperatingMode') -> None: ... - def setPumpOutletPressurePa(self, double: float) -> None: ... - def setPumpRatedPowerKW(self, double: float) -> None: ... - def setPumpReverseFlowPolicy(self, pumpReverseFlowPolicy: 'LoopedPipeNetwork.PumpReverseFlowPolicy') -> None: ... - def setPumpSpeed(self, double: float) -> None: ... - def setRegulatorSetPoint(self, double: float) -> None: ... - def setRemainingWallLife(self, double: float) -> None: ... - def setReservoirPressure(self, double: float) -> None: ... - def setReynoldsNumber(self, double: float) -> None: ... - def setRoughness(self, double: float) -> None: ... - def setSandConcentration(self, double: float) -> None: ... - def setSandRate(self, double: float) -> None: ... - def setTubingInclination(self, double: float) -> None: ... - def setTubingSegments(self, int: int) -> None: ... - def setVelocity(self, double: float) -> None: ... - def setVogelQmax(self, double: float) -> None: ... - def setWallThickness(self, double: float) -> None: ... - def setWaterCut(self, double: float) -> None: ... - def setWaterFlowRate(self, double: float) -> None: ... - def setWaterInjectionRate(self, double: float) -> None: ... - class HydraulicProfile: - def getCellLengthM(self) -> typing.MutableSequence[float]: ... - def getGasSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... - def getLiquidHoldup(self) -> typing.MutableSequence[float]: ... - def getLiquidSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... - def getPositionM(self) -> typing.MutableSequence[float]: ... - def getPressurePa(self) -> typing.MutableSequence[float]: ... - def getTemperatureK(self) -> typing.MutableSequence[float]: ... - class NodeType(java.lang.Enum['LoopedPipeNetwork.NodeType']): - SOURCE: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... - SINK: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... - JUNCTION: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NodeType': ... - @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.NodeType']: ... - class PipeModelType(java.lang.Enum['LoopedPipeNetwork.PipeModelType']): - DARCY_WEISBACH: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... - BEGGS_BRILL: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... - TWO_FLUID: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PipeModelType': ... - @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.PipeModelType']: ... - class PumpOperatingMode(java.lang.Enum['LoopedPipeNetwork.PumpOperatingMode']): - FIXED_OUTLET_PRESSURE: typing.ClassVar['LoopedPipeNetwork.PumpOperatingMode'] = ... - FIXED_DIFFERENTIAL_PRESSURE: typing.ClassVar['LoopedPipeNetwork.PumpOperatingMode'] = ... - CURVE: typing.ClassVar['LoopedPipeNetwork.PumpOperatingMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PumpOperatingMode': ... - @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.PumpOperatingMode']: ... - class PumpReverseFlowPolicy(java.lang.Enum['LoopedPipeNetwork.PumpReverseFlowPolicy']): - CHECK_VALVE: typing.ClassVar['LoopedPipeNetwork.PumpReverseFlowPolicy'] = ... - BYPASS: typing.ClassVar['LoopedPipeNetwork.PumpReverseFlowPolicy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PumpReverseFlowPolicy': ... - @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.PumpReverseFlowPolicy']: ... - class SolverType(java.lang.Enum['LoopedPipeNetwork.SolverType']): - HARDY_CROSS: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... - SEQUENTIAL: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... - NEWTON_RAPHSON: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... + def values() -> typing.MutableSequence['NetworkOptimizer.Algorithm']: ... + class ObjectiveType(java.lang.Enum['NetworkOptimizer.ObjectiveType']): + MAX_PRODUCTION: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... + MAX_REVENUE: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... + MIN_COMPRESSOR_POWER: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... + MAX_SPECIFIC_PRODUCTION: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.SolverType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkOptimizer.ObjectiveType': ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.SolverType']: ... - -class NetworkAvailabilitySchedule(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... - def derate(self, int: int, int2: int, double: float) -> None: ... - @typing.overload - def getAvailability(self, int: int) -> float: ... - @typing.overload - def getAvailability(self) -> typing.MutableSequence[float]: ... - def getEdgeName(self) -> java.lang.String: ... - -class NetworkCandidateEvaluation(java.io.Serializable): - def __init__(self): ... - def getActiveConstraints(self) -> java.util.List[java.lang.String]: ... - def getConstraints(self) -> java.util.List['NetworkConstraintResult']: ... - def getDecisionUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getDecisions(self) -> java.util.Map[java.lang.String, float]: ... - def getMessage(self) -> java.lang.String: ... - def getObjectiveTerms(self) -> java.util.Map[java.lang.String, float]: ... - def getObjectiveValue(self) -> float: ... - def getPenalty(self) -> float: ... - def getRateBases(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def isFeasible(self) -> bool: ... - def isSolverConverged(self) -> bool: ... - def toJson(self) -> java.lang.String: ... + def values() -> typing.MutableSequence['NetworkOptimizer.ObjectiveType']: ... + class OptimizationResult: + converged: bool = ... + objectiveValue: float = ... + totalProductionKgHr: float = ... + totalCompressorPowerKW: float = ... + chokeNames: java.util.List = ... + chokeOpenings: typing.MutableSequence[float] = ... + algorithm: java.lang.String = ... + objectiveTypeName: java.lang.String = ... + elapsedMs: int = ... + functionEvaluations: int = ... + paretoWeight: float = ... + message: java.lang.String = ... + candidateEvaluation: NetworkCandidateEvaluation = ... + decisionValues: java.util.Map = ... + activeConstraints: java.util.List = ... + wellResults: java.util.Map = ... + def __init__(self): ... + def getSummary(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... -class NetworkCompositionConvergenceReport(java.io.Serializable): - def __init__(self, boolean: bool, int: int, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'NetworkMixingResult'], typing.Mapping[typing.Union[java.lang.String, str], 'NetworkMixingResult']]): ... - def getIterations(self) -> int: ... - def getMaxComponentBalanceResidualMolS(self) -> float: ... - def getMaxComponentMassBalanceResidualKgS(self) -> float: ... - def getMaxMoleFractionResidual(self) -> float: ... - def getMaxTemperatureResidualK(self) -> float: ... - def getMessage(self) -> java.lang.String: ... - def getNodeResults(self) -> java.util.Map[java.lang.String, 'NetworkMixingResult']: ... - def isConverged(self) -> bool: ... +class NetworkPeriod(java.io.Serializable): + def __init__(self, int: int, string: typing.Union[java.lang.String, str], double: float): ... + def getDurationSeconds(self) -> float: ... + def getEnd(self) -> java.lang.String: ... + def getIndex(self) -> int: ... + def getStart(self) -> java.lang.String: ... + +class NetworkPlanningHorizon(java.io.Serializable): + def __init__(self, loopedPipeNetwork: 'LoopedPipeNetwork'): ... + def addHourlyPeriods(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def addNomination(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addNomination(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], rateBasis: NetworkDecisionVariable.RateBasis, double2: float) -> None: ... + def addPeriod(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addPipeFlowSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... + def derateElement(self, string: typing.Union[java.lang.String, str], int: int, int2: int, double: float) -> None: ... + def getPeriods(self) -> java.util.List[NetworkPeriod]: ... + def optimize(self) -> 'NetworkScheduleResult': ... + def setFuelSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... + def setInitialLinepack(self, string: typing.Union[java.lang.String, str], gasLinepackState: GasLinepackState) -> None: ... + def setInitialLinepackFromSolvedState(self) -> None: ... + def setLinepackBounds(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setLossSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... + def setSourceRampLimit(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTerminalLinepackTarget(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class NetworkQualityComplianceReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], networkQualityProfile: 'NetworkQualityProfile', list: java.util.List['NetworkQualityResult']): ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'NetworkQualityComplianceReport': ... + def getNamedExceptions(self) -> java.util.List[java.lang.String]: ... + def getNodeName(self) -> java.lang.String: ... + def getProfileName(self) -> java.lang.String: ... + def getProfileVersion(self) -> java.lang.String: ... + def getResults(self) -> java.util.List['NetworkQualityResult']: ... + def isCompliant(self) -> bool: ... def toJson(self) -> java.lang.String: ... -class NetworkConstraint(java.io.Serializable): - def evaluate(self, loopedPipeNetwork: LoopedPipeNetwork) -> 'NetworkConstraintResult': ... +class NetworkQualityEvaluator: + @staticmethod + def evaluate(string: typing.Union[java.lang.String, str], networkQualityProfile: 'NetworkQualityProfile', systemInterface: jneqsim.thermo.system.SystemInterface, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], NetworkMeasuredAttribute], typing.Mapping[typing.Union[java.lang.String, str], NetworkMeasuredAttribute]]) -> NetworkQualityComplianceReport: ... + +class NetworkQualityLimit(java.io.Serializable): + def __init__(self, networkQualityMetric: 'NetworkQualityMetric', double: float, double2: float, string: typing.Union[java.lang.String, str], qualityReference: 'QualityReference', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getAttributeName(self) -> java.lang.String: ... + def getDomain(self) -> java.lang.String: ... + def getLowerLimit(self) -> float: ... + def getMethod(self) -> java.lang.String: ... + def getMetricKey(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getReference(self) -> 'QualityReference': ... + def getUnit(self) -> java.lang.String: ... + def getUpperLimit(self) -> float: ... + +class NetworkQualityMetric(java.io.Serializable): + def getDefaultUnit(self) -> java.lang.String: ... + def getDomain(self) -> java.lang.String: ... + def getKey(self) -> java.lang.String: ... + +class NetworkQualityProfile(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addComponentUpperLimit(self, string: typing.Union[java.lang.String, str], double: float) -> 'NetworkQualityProfile': ... + def addLowerLimit(self, networkQualityMetric: NetworkQualityMetric, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + def addMeasuredAttributeLimit(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + def addNamedException(self, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + def addRange(self, networkQualityMetric: NetworkQualityMetric, double: float, double2: float, string: typing.Union[java.lang.String, str], qualityReference: 'QualityReference') -> 'NetworkQualityProfile': ... + @typing.overload + def addUpperLimit(self, networkQualityMetric: NetworkQualityMetric, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + @typing.overload + def addUpperLimit(self, networkQualityMetric: NetworkQualityMetric, double: float, string: typing.Union[java.lang.String, str], qualityReference: 'QualityReference') -> 'NetworkQualityProfile': ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + def getEffectiveFrom(self) -> java.lang.String: ... + def getEffectiveTo(self) -> java.lang.String: ... + def getLimits(self) -> java.util.List[NetworkQualityLimit]: ... def getName(self) -> java.lang.String: ... - def isHard(self) -> bool: ... + def getNamedExceptions(self) -> java.util.List[java.lang.String]: ... + def getProvenance(self) -> java.lang.String: ... + def getVersion(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def withEffectivePeriod(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + def withProvenance(self, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... -class NetworkConstraintResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float, double2: float, boolean2: bool, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... +class NetworkQualityResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], qualityReference: 'QualityReference', double2: float, double3: float, double4: float, status: 'NetworkQualityResult.Status', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def getAttributeName(self) -> java.lang.String: ... + def getLowerLimit(self) -> float: ... + def getMargin(self) -> float: ... def getMessage(self) -> java.lang.String: ... - def getName(self) -> java.lang.String: ... - def getResidual(self) -> float: ... - def getScale(self) -> float: ... - def getScaledResidual(self) -> float: ... - def getSensitivity(self) -> float: ... + def getMethod(self) -> java.lang.String: ... + def getMetricKey(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getReference(self) -> 'QualityReference': ... + def getStatus(self) -> 'NetworkQualityResult.Status': ... def getUnit(self) -> java.lang.String: ... - def isActive(self) -> bool: ... - def isHard(self) -> bool: ... - def isSatisfied(self) -> bool: ... - def setSensitivity(self, double: float) -> None: ... + def getUpperLimit(self) -> float: ... + def getValue(self) -> float: ... + class Status(java.lang.Enum['NetworkQualityResult.Status']): + PASS: typing.ClassVar['NetworkQualityResult.Status'] = ... + FAIL: typing.ClassVar['NetworkQualityResult.Status'] = ... + NOT_CALCULABLE: typing.ClassVar['NetworkQualityResult.Status'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkQualityResult.Status': ... + @staticmethod + def values() -> typing.MutableSequence['NetworkQualityResult.Status']: ... -class NetworkConstraints: +class NetworkSchedulePeriodResult(java.io.Serializable): + def __init__(self, networkPeriod: NetworkPeriod, boolean: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], map4: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map5: typing.Union[java.util.Map[typing.Union[java.lang.String, str], NetworkQualityComplianceReport], typing.Mapping[typing.Union[java.lang.String, str], NetworkQualityComplianceReport]]): ... + def getClosingLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... + def getConstraintResiduals(self) -> java.util.Map[java.lang.String, float]: ... + def getOpeningLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... + def getPeriod(self) -> NetworkPeriod: ... + def getPipeFlowsKgS(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getQualityReports(self) -> java.util.Map[java.lang.String, NetworkQualityComplianceReport]: ... + def isFeasible(self) -> bool: ... + +class NetworkScheduleResult(java.io.Serializable): + def __init__(self, boolean: bool, double: float, list: java.util.List[NetworkSchedulePeriodResult], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]): ... @staticmethod - def convergence() -> NetworkConstraint: ... + def fromJson(string: typing.Union[java.lang.String, str]) -> 'NetworkScheduleResult': ... + def getActiveConstraints(self) -> java.util.Map[java.lang.String, float]: ... + def getInitialLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... + def getMessage(self) -> java.lang.String: ... + def getObjectiveValue(self) -> float: ... + def getPeriods(self) -> java.util.List[NetworkSchedulePeriodResult]: ... + def getTerminalLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... + def isFeasible(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class NetworkValidationBenchmarks: + def __init__(self): ... @staticmethod - def custom(string: typing.Union[java.lang.String, str], boolean: bool, double: float, string2: typing.Union[java.lang.String, str], residualEvaluator: typing.Union['NetworkConstraints.ResidualEvaluator', typing.Callable]) -> NetworkConstraint: ... + def runAllBenchmarks() -> java.util.List['NetworkValidationBenchmarks.BenchmarkResult']: ... @staticmethod - def edgeFlow(string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> NetworkConstraint: ... + def runParallelPipeBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... @staticmethod - def edgeMinimumOutletTemperature(string: typing.Union[java.lang.String, str], double: float, boolean: bool) -> NetworkConstraint: ... + def runPressureMonotonicity() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... @staticmethod - def massBalance(double: float, boolean: bool) -> NetworkConstraint: ... + def runSinglePipeBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... @staticmethod - def nodePressure(string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> NetworkConstraint: ... + def runSolverCrossVerification() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... @staticmethod - def qualityCompliance(boolean: bool) -> NetworkConstraint: ... - class ResidualEvaluator(java.io.Serializable): - def evaluate(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... + def runSparseVsDenseBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + @staticmethod + def runTriangleMassBalance() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + class BenchmarkResult: + name: java.lang.String = ... + metrics: java.util.List = ... + converged: bool = ... + solverIterations: int = ... + allPassed: bool = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addMetric(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def evaluate(self) -> None: ... + def getSummary(self) -> java.lang.String: ... + class MetricResult: + name: java.lang.String = ... + computed: float = ... + expected: float = ... + tolerance: float = ... + passed: bool = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... -class NetworkCouplingReport(java.io.Serializable): - def __init__(self, boolean: bool, boolean2: bool, int: int, double: float, double2: float, double3: float, networkCompositionConvergenceReport: NetworkCompositionConvergenceReport, string: typing.Union[java.lang.String, str]): ... - def getCompositionReport(self) -> NetworkCompositionConvergenceReport: ... - def getMaxFlowResidualKgS(self) -> float: ... - def getMaxPressureResidualPa(self) -> float: ... - def getMaxTemperatureResidualK(self) -> float: ... +class OilNetworkSchedule(java.io.Serializable): + def __init__(self, oilTerminalNode: 'OilTerminalNode'): ... + def addCargoNomination(self, cargoNomination: CargoNomination) -> None: ... + def addHourlyPeriods(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def addPeriod(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addReceipt(self, string: typing.Union[java.lang.String, str], crudeParcel: CrudeParcel) -> None: ... + def getPeriods(self) -> java.util.List[NetworkPeriod]: ... + def optimize(self) -> 'OilNetworkScheduleResult': ... + def setHydraulicNetwork(self, loopedPipeNetwork: 'LoopedPipeNetwork') -> None: ... + def setTankAvailability(self, string: typing.Union[java.lang.String, str], int: int, int2: int, boolean: bool) -> None: ... + +class OilNetworkScheduleResult(java.io.Serializable): + def __init__(self, boolean: bool, list: java.util.List['OilSchedulePeriodResult'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], CargoLoadingResult], typing.Mapping[typing.Union[java.lang.String, str], CargoLoadingResult]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TankInventoryState'], typing.Mapping[typing.Union[java.lang.String, str], 'TankInventoryState']], double: float, double2: float, map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]): ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'OilNetworkScheduleResult': ... + def getActiveConstraints(self) -> java.util.Map[java.lang.String, float]: ... + def getCargoes(self) -> java.util.Map[java.lang.String, CargoLoadingResult]: ... + def getMassBalanceResidualKg(self) -> float: ... + def getMaxComponentBalanceResidualKg(self) -> float: ... def getMessage(self) -> java.lang.String: ... - def getOuterIterations(self) -> int: ... - def isConverged(self) -> bool: ... - def isHydraulicConverged(self) -> bool: ... + def getPeriods(self) -> java.util.List['OilSchedulePeriodResult']: ... + def getTerminalInventories(self) -> java.util.Map[java.lang.String, 'TankInventoryState']: ... + def isFeasible(self) -> bool: ... def toJson(self) -> java.lang.String: ... -class NetworkDecisionVariable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], type: 'NetworkDecisionVariable.Type', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], rateBasis: 'NetworkDecisionVariable.RateBasis', double: float, double2: float): ... - @staticmethod - def custom(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, getter: typing.Union['NetworkDecisionVariable.Getter', typing.Callable], setter: typing.Union['NetworkDecisionVariable.Setter', typing.Callable]) -> 'NetworkDecisionVariable': ... - def getDiscreteValues(self) -> typing.MutableSequence[float]: ... - def getLowerBound(self) -> float: ... - def getName(self) -> java.lang.String: ... - def getRateBasis(self) -> 'NetworkDecisionVariable.RateBasis': ... - def getTargetName(self) -> java.lang.String: ... - def getType(self) -> 'NetworkDecisionVariable.Type': ... - def getUnit(self) -> java.lang.String: ... - def getUpperBound(self) -> float: ... - def getValue(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... - def isDiscrete(self) -> bool: ... - @staticmethod - def pipeDiameter(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkDecisionVariable': ... - def setValue(self, loopedPipeNetwork: LoopedPipeNetwork, double: float) -> None: ... - class Getter(java.io.Serializable): - def get(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... - class RateBasis(java.lang.Enum['NetworkDecisionVariable.RateBasis']): - NONE: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... - MASS: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... - MOLAR: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... - STANDARD_VOLUME: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... - ACTUAL_VOLUME: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... - ENERGY: typing.ClassVar['NetworkDecisionVariable.RateBasis'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkDecisionVariable.RateBasis': ... - @staticmethod - def values() -> typing.MutableSequence['NetworkDecisionVariable.RateBasis']: ... - class Setter(java.io.Serializable): - def set(self, loopedPipeNetwork: LoopedPipeNetwork, double: float) -> None: ... - class Type(java.lang.Enum['NetworkDecisionVariable.Type']): - SOURCE_RATE: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - SOURCE_PRESSURE: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - SINK_NOMINATION: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - CHOKE_OPENING: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - REGULATOR_SET_POINT: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - COMPRESSOR_SPEED: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - PUMP_SPEED: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - ROUTE_ALLOCATION: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - EDGE_AVAILABILITY: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - PIPE_DIAMETER: typing.ClassVar['NetworkDecisionVariable.Type'] = ... - CUSTOM: typing.ClassVar['NetworkDecisionVariable.Type'] = ... +class OilSchedulePeriodResult(java.io.Serializable): + def __init__(self, networkPeriod: NetworkPeriod, boolean: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TankInventoryState'], typing.Mapping[typing.Union[java.lang.String, str], 'TankInventoryState']], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TankInventoryState'], typing.Mapping[typing.Union[java.lang.String, str], 'TankInventoryState']], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[CargoLoadingResult], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def getClosingInventories(self) -> java.util.Map[java.lang.String, 'TankInventoryState']: ... + def getConstraintResiduals(self) -> java.util.Map[java.lang.String, float]: ... + def getLoadedCargoes(self) -> java.util.List[CargoLoadingResult]: ... + def getOpeningInventories(self) -> java.util.Map[java.lang.String, 'TankInventoryState']: ... + def getPeriod(self) -> NetworkPeriod: ... + def getReceivedParcels(self) -> java.util.List[java.lang.String]: ... + def isFeasible(self) -> bool: ... + +class OilTerminalNode(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addTank(self, oilTerminalTank: 'OilTerminalTank') -> None: ... + def copy(self) -> 'OilTerminalNode': ... + def getName(self) -> java.lang.String: ... + def getTank(self, string: typing.Union[java.lang.String, str]) -> 'OilTerminalTank': ... + def getTanks(self) -> java.util.Map[java.lang.String, 'OilTerminalTank']: ... + def isRouteAvailable(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setRouteAvailable(self, string: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + +class OilTerminalTank(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, mixingMode: 'OilTerminalTank.MixingMode'): ... + def addOpeningInventory(self, crudeParcel: CrudeParcel) -> None: ... + def beginPeriod(self, int: int) -> None: ... + def copy(self) -> 'OilTerminalTank': ... + def getCapacityKg(self) -> float: ... + def getHeelKg(self) -> float: ... + def getMassKg(self) -> float: ... + def getMixingMode(self) -> 'OilTerminalTank.MixingMode': ... + def getName(self) -> java.lang.String: ... + def isAvailable(self) -> bool: ... + def receive(self, crudeParcel: CrudeParcel, double: float) -> None: ... + def setAvailable(self, boolean: bool) -> None: ... + def snapshot(self) -> 'TankInventoryState': ... + def withdraw(self, string: typing.Union[java.lang.String, str], double: float, int: int, string2: typing.Union[java.lang.String, str], double2: float) -> CrudeParcel: ... + class MixingMode(java.lang.Enum['OilTerminalTank.MixingMode']): + PERFECT_MIXED: typing.ClassVar['OilTerminalTank.MixingMode'] = ... + SEGREGATED: typing.ClassVar['OilTerminalTank.MixingMode'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkDecisionVariable.Type': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'OilTerminalTank.MixingMode': ... @staticmethod - def values() -> typing.MutableSequence['NetworkDecisionVariable.Type']: ... + def values() -> typing.MutableSequence['OilTerminalTank.MixingMode']: ... -class NetworkHydraulicModelComparison: - def __init__(self, fieldNetworkTopology: FieldNetworkTopology): ... - def compare(self, list: java.util.List[typing.Union[java.lang.String, str]], uUID: java.util.UUID) -> 'NetworkHydraulicModelComparison.Result': ... - def compareMeshSensitivity(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[int], uUID: java.util.UUID) -> 'NetworkHydraulicModelComparison.MeshSensitivityResult': ... - class EdgeComparison: - def getAverageLiquidHoldupDifference(self) -> float: ... - def getBeggsBrillFlowRateKgS(self) -> float: ... - def getBeggsBrillPressureDropPa(self) -> float: ... - def getBeggsBrillProfiles(self) -> 'NetworkHydraulicModelComparison.ModelProfiles': ... - def getEdgeId(self) -> java.lang.String: ... - def getOutletTemperatureDifferenceK(self) -> float: ... - def getPressureDropDifferencePa(self) -> float: ... - def getRelativeAverageGasSuperficialVelocityDifference(self) -> float: ... - def getRelativeAverageLiquidSuperficialVelocityDifference(self) -> float: ... - def getRelativePressureDropDifference(self) -> float: ... - def getTwoFluidFlowRateKgS(self) -> float: ... - def getTwoFluidPressureDropPa(self) -> float: ... - def getTwoFluidProfiles(self) -> 'NetworkHydraulicModelComparison.ModelProfiles': ... - class MeshSensitivityResult: - def getResult(self, int: int) -> 'NetworkHydraulicModelComparison.Result': ... - def getSegmentCounts(self) -> java.util.Set[int]: ... - class ModelProfiles: - def getAverageGasSuperficialVelocityMs(self) -> float: ... - def getAverageLiquidHoldup(self) -> float: ... - def getAverageLiquidSuperficialVelocityMs(self) -> float: ... - def getCellLengthM(self) -> typing.MutableSequence[float]: ... - def getGasSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... - def getLiquidHoldup(self) -> typing.MutableSequence[float]: ... - def getLiquidSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... - def getPositionM(self) -> typing.MutableSequence[float]: ... - def getPressurePa(self) -> typing.MutableSequence[float]: ... - def getTemperatureK(self) -> typing.MutableSequence[float]: ... - class Result: - def createInitializedTwoFluidPipe(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... - def getBeggsBrillMassBalanceErrorKgS(self) -> float: ... - def getEdgeComparison(self, string: typing.Union[java.lang.String, str]) -> 'NetworkHydraulicModelComparison.EdgeComparison': ... - def getEdgeIds(self) -> java.util.Set[java.lang.String]: ... - def getTwoFluidMassBalanceErrorKgS(self) -> float: ... +class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInletPipeline(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, string2: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'PipeFlowNetwork.PipelineSegment': ... + def connectManifolds(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'PipeFlowNetwork.PipelineSegment': ... + def createManifold(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getCompositionProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getManifolds(self) -> java.util.Map[java.lang.String, 'PipeFlowNetwork.ManifoldNode']: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getPipelines(self) -> java.util.List['PipeFlowNetwork.PipelineSegment']: ... + def getPressureProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getSimulationTime(self) -> float: ... + def getTemperatureProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTerminalManifold(self) -> 'PipeFlowNetwork.ManifoldNode': ... + def getTotalPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVelocityProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def resetSimulationTime(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setCompositionalTracking(self, boolean: bool) -> None: ... + def setDefaultHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setDefaultOuterTemperature(self, double: float) -> None: ... + def setDefaultWallRoughness(self, double: float) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + class ManifoldNode: + def getInboundPipelines(self) -> java.util.List['PipeFlowNetwork.PipelineSegment']: ... + def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... + def getName(self) -> java.lang.String: ... + def getOutboundPipeline(self) -> 'PipeFlowNetwork.PipelineSegment': ... + class PipelineSegment: + def getFromManifold(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getPipeline(self) -> jneqsim.process.equipment.pipeline.OnePhasePipeLine: ... + def getToManifold(self) -> java.lang.String: ... + def isInletPipeline(self) -> bool: ... -class NetworkLinearSolver: +class QualityReference(java.io.Serializable): def __init__(self): ... @staticmethod - def estimateSparsity(int: int, int2: int) -> typing.MutableSequence[float]: ... - @staticmethod - def solve(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... - @staticmethod - def solveDense(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def atPressure(double: float, string: typing.Union[java.lang.String, str]) -> 'QualityReference': ... @staticmethod - def solveGaussian(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def atPressureAndTemperature(double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'QualityReference': ... @staticmethod - def solveSparse(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... - -class NetworkLoop(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addMember(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... - def getLastFlowCorrection(self) -> float: ... - def getLastHeadLossImbalance(self) -> float: ... - def getLoopId(self) -> java.lang.String: ... - def getMembers(self) -> java.util.List['NetworkLoop.LoopMember']: ... - def getTolerance(self) -> float: ... - def isBalanced(self, double: float) -> bool: ... - def setLastFlowCorrection(self, double: float) -> None: ... - def setLastHeadLossImbalance(self, double: float) -> None: ... - def setTolerance(self, double: float) -> None: ... - def size(self) -> int: ... - def toString(self) -> java.lang.String: ... - class LoopMember(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... - def getDirection(self) -> int: ... - def getPipeName(self) -> java.lang.String: ... - -class NetworkMeasuredAttribute(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... - def getBlendingRule(self) -> java.lang.String: ... - def getEffectiveDate(self) -> java.lang.String: ... - def getMethod(self) -> java.lang.String: ... - def getName(self) -> java.lang.String: ... - def getProvenance(self) -> java.lang.String: ... - def getUnit(self) -> java.lang.String: ... - def getValue(self) -> float: ... - -class NetworkMixingResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... - def getComponentMolarFlowMolS(self) -> java.util.Map[java.lang.String, float]: ... - def getMaxComponentBalanceResidualMolS(self) -> float: ... - def getMaxComponentMassBalanceResidualKgS(self) -> float: ... - def getNodeName(self) -> java.lang.String: ... - def getPressurePa(self) -> float: ... + def atTemperature(double: float, string: typing.Union[java.lang.String, str]) -> 'QualityReference': ... + def getBasis(self) -> java.lang.String: ... + def getCombustionReferenceTemperatureC(self) -> float: ... + def getPressure(self) -> float: ... + def getPressureBara(self) -> float: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTemperature(self) -> float: ... def getTemperatureK(self) -> float: ... - def getTotalMassFlowKgS(self) -> float: ... - def getTotalMolarFlowMolS(self) -> float: ... + def getTemperatureUnit(self) -> java.lang.String: ... + def getVolumeReferenceTemperatureC(self) -> float: ... + def toJson(self) -> java.lang.String: ... + def withBasis(self, string: typing.Union[java.lang.String, str]) -> 'QualityReference': ... + def withIso6976Reference(self, double: float, double2: float) -> 'QualityReference': ... -class NetworkNomination(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], rateBasis: NetworkDecisionVariable.RateBasis, double2: float): ... - def getBasis(self) -> NetworkDecisionVariable.RateBasis: ... - def getPointName(self) -> java.lang.String: ... - def getToleranceFraction(self) -> float: ... - def getUnit(self) -> java.lang.String: ... - def getValue(self, int: int) -> float: ... - def getValues(self) -> typing.MutableSequence[float]: ... - def size(self) -> int: ... +class TankInventoryState(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, boolean: bool, string2: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def getCapacityKg(self) -> float: ... + def getComponentMassKg(self) -> java.util.Map[java.lang.String, float]: ... + def getHeelKg(self) -> float: ... + def getMassKg(self) -> float: ... + def getMixingMode(self) -> java.lang.String: ... + def getParcelMassKg(self) -> java.util.Map[java.lang.String, float]: ... + def getTankName(self) -> java.lang.String: ... + def getUllageKg(self) -> float: ... + def isAvailable(self) -> bool: ... -class NetworkObjective(java.io.Serializable): - def evaluate(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... +class TransientCompositionalPipeNetwork(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addNode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, int: int, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def getConservationTolerance(self) -> float: ... + def getEdgeCellMassesKg(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getEdgeMassFractionProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getName(self) -> java.lang.String: ... - def getWeight(self) -> float: ... + def getSpeciesHistory(self) -> 'TransientCompositionalPipeNetworkHistory': ... + def run(self, double: float, double2: float) -> None: ... + def setConservationTolerance(self, double: float) -> None: ... + def setSourceSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class NetworkObjectives: - @staticmethod - def custom(string: typing.Union[java.lang.String, str], double: float, evaluator: typing.Union['NetworkObjectives.Evaluator', typing.Callable]) -> NetworkObjective: ... - @staticmethod - def maximizeThroughput(double: float) -> NetworkObjective: ... +class TransientCompositionalPipeNetworkHistory(java.io.Serializable): @staticmethod - def minimizeCompressorPower(double: float) -> NetworkObjective: ... - class Evaluator(java.io.Serializable): - def evaluate(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... - -class NetworkOptimizer: - def __init__(self, loopedPipeNetwork: LoopedPipeNetwork): ... - def addConstraint(self, networkConstraint: NetworkConstraint) -> None: ... - def addDecisionVariable(self, networkDecisionVariable: NetworkDecisionVariable) -> None: ... - def addObjective(self, networkObjective: NetworkObjective) -> None: ... - def clearGeneralizedProblem(self) -> None: ... - def discoverDecisionVariables(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def empty() -> 'TransientCompositionalPipeNetworkHistory': ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getEdgeReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... + def getElapsedTimeSeconds(self) -> typing.MutableSequence[float]: ... + def getFinalNetworkReport(self) -> 'TransientSpeciesConservationReport': ... + def getJunctionReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... + def getNetworkReports(self) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... @typing.overload - def evaluateCandidate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> NetworkCandidateEvaluation: ... + def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... @typing.overload - def evaluateCandidate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> NetworkCandidateEvaluation: ... - def getAlgorithm(self) -> 'NetworkOptimizer.Algorithm': ... - def getConstraintPenalty(self) -> float: ... - def getConstraints(self) -> java.util.List[NetworkConstraint]: ... - def getDecisionVariables(self) -> java.util.List[NetworkDecisionVariable]: ... - def getLastResult(self) -> 'NetworkOptimizer.OptimizationResult': ... - def getMaxEvaluations(self) -> int: ... - def getObjectiveType(self) -> 'NetworkOptimizer.ObjectiveType': ... - def getObjectives(self) -> java.util.List[NetworkObjective]: ... - def getParetoPoints(self) -> int: ... - def getTrajectory(self) -> java.util.List[NetworkCandidateEvaluation]: ... - def optimize(self) -> 'NetworkOptimizer.OptimizationResult': ... - def optimizeMultiObjective(self) -> java.util.List['NetworkOptimizer.OptimizationResult']: ... - def setAlgorithm(self, algorithm: 'NetworkOptimizer.Algorithm') -> None: ... - def setChokeBounds(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setConstraintPenalty(self, double: float) -> None: ... - def setDeterministicSeed(self, long: int) -> None: ... - def setMaxEvaluations(self, int: int) -> None: ... - def setObjectiveType(self, objectiveType: 'NetworkOptimizer.ObjectiveType') -> None: ... - def setParetoPoints(self, int: int) -> None: ... - class Algorithm(java.lang.Enum['NetworkOptimizer.Algorithm']): - BOBYQA: typing.ClassVar['NetworkOptimizer.Algorithm'] = ... - CMAES: typing.ClassVar['NetworkOptimizer.Algorithm'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkOptimizer.Algorithm': ... - @staticmethod - def values() -> typing.MutableSequence['NetworkOptimizer.Algorithm']: ... - class ObjectiveType(java.lang.Enum['NetworkOptimizer.ObjectiveType']): - MAX_PRODUCTION: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - MAX_REVENUE: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - MIN_COMPRESSOR_POWER: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - MAX_SPECIFIC_PRODUCTION: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkOptimizer.ObjectiveType': ... - @staticmethod - def values() -> typing.MutableSequence['NetworkOptimizer.ObjectiveType']: ... - class OptimizationResult: - converged: bool = ... - objectiveValue: float = ... - totalProductionKgHr: float = ... - totalCompressorPowerKW: float = ... - chokeNames: java.util.List = ... - chokeOpenings: typing.MutableSequence[float] = ... - algorithm: java.lang.String = ... - objectiveTypeName: java.lang.String = ... - elapsedMs: int = ... - functionEvaluations: int = ... - paretoWeight: float = ... - message: java.lang.String = ... - candidateEvaluation: NetworkCandidateEvaluation = ... - decisionValues: java.util.Map = ... - activeConstraints: java.util.List = ... - wellResults: java.util.Map = ... - def __init__(self): ... - def getSummary(self) -> java.lang.String: ... - def toJson(self) -> java.lang.String: ... - -class NetworkPeriod(java.io.Serializable): - def __init__(self, int: int, string: typing.Union[java.lang.String, str], double: float): ... - def getDurationSeconds(self) -> float: ... - def getEnd(self) -> java.lang.String: ... - def getIndex(self) -> int: ... - def getStart(self) -> java.lang.String: ... + def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def toJson(self) -> java.lang.String: ... -class NetworkPlanningHorizon(java.io.Serializable): - def __init__(self, loopedPipeNetwork: LoopedPipeNetwork): ... - def addHourlyPeriods(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... +class TransientGasNetwork(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addNode(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addNomination(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, int: int, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... @typing.overload - def addNomination(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], rateBasis: NetworkDecisionVariable.RateBasis, double2: float) -> None: ... - def addPeriod(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addPipeFlowSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... - def derateElement(self, string: typing.Union[java.lang.String, str], int: int, int2: int, double: float) -> None: ... - def getPeriods(self) -> java.util.List[NetworkPeriod]: ... - def optimize(self) -> 'NetworkScheduleResult': ... - def setFuelSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... - def setInitialLinepack(self, string: typing.Union[java.lang.String, str], gasLinepackState: GasLinepackState) -> None: ... - def setInitialLinepackFromSolvedState(self) -> None: ... - def setLinepackBounds(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setLossSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... - def setSourceRampLimit(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setTerminalLinepackTarget(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - -class NetworkQualityComplianceReport(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], networkQualityProfile: 'NetworkQualityProfile', list: java.util.List['NetworkQualityResult']): ... - @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'NetworkQualityComplianceReport': ... - def getNamedExceptions(self) -> java.util.List[java.lang.String]: ... - def getNodeName(self) -> java.lang.String: ... - def getProfileName(self) -> java.lang.String: ... - def getProfileVersion(self) -> java.lang.String: ... - def getResults(self) -> java.util.List['NetworkQualityResult']: ... - def isCompliant(self) -> bool: ... - def toJson(self) -> java.lang.String: ... + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, int: int, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def getConservationTolerance(self) -> float: ... + def getHistory(self) -> 'TransientGasNetworkHistory': ... + def getHydraulicToleranceKgS(self) -> float: ... + def getLastDiagnostic(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def run(self, double: float, double2: float) -> None: ... + def setFixedPressureBoundary(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setInitialNodePressure(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setMaximumEdgeVelocity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSolverControls(self, int: int, double: float, double2: float) -> None: ... + def setSourcePressureLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setSourceSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class NetworkQualityEvaluator: +class TransientGasNetworkHistory(java.io.Serializable): @staticmethod - def evaluate(string: typing.Union[java.lang.String, str], networkQualityProfile: 'NetworkQualityProfile', systemInterface: jneqsim.thermo.system.SystemInterface, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], NetworkMeasuredAttribute], typing.Mapping[typing.Union[java.lang.String, str], NetworkMeasuredAttribute]]) -> NetworkQualityComplianceReport: ... - -class NetworkQualityLimit(java.io.Serializable): - def __init__(self, networkQualityMetric: 'NetworkQualityMetric', double: float, double2: float, string: typing.Union[java.lang.String, str], qualityReference: 'QualityReference', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... - def getAttributeName(self) -> java.lang.String: ... - def getDomain(self) -> java.lang.String: ... - def getLowerLimit(self) -> float: ... - def getMethod(self) -> java.lang.String: ... - def getMetricKey(self) -> java.lang.String: ... - def getProvenance(self) -> java.lang.String: ... - def getReference(self) -> 'QualityReference': ... - def getUnit(self) -> java.lang.String: ... - def getUpperLimit(self) -> float: ... - -class NetworkQualityMetric(java.io.Serializable): - def getDefaultUnit(self) -> java.lang.String: ... - def getDomain(self) -> java.lang.String: ... - def getKey(self) -> java.lang.String: ... - -class NetworkQualityProfile(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addComponentUpperLimit(self, string: typing.Union[java.lang.String, str], double: float) -> 'NetworkQualityProfile': ... - def addLowerLimit(self, networkQualityMetric: NetworkQualityMetric, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... - def addMeasuredAttributeLimit(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... - def addNamedException(self, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... - def addRange(self, networkQualityMetric: NetworkQualityMetric, double: float, double2: float, string: typing.Union[java.lang.String, str], qualityReference: 'QualityReference') -> 'NetworkQualityProfile': ... + def empty() -> 'TransientGasNetworkHistory': ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getEdgeAverageMassFlowKgSHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getEdgeInletMassFlowKgSHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getEdgeLinepackKgHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getEdgeOutletMassFlowKgSHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getEdgeSpeciesReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... + def getElapsedTimeSeconds(self) -> typing.MutableSequence[float]: ... + def getFinalStepReport(self) -> 'TransientGasNetworkStepReport': ... + def getJunctionSpeciesReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... + def getNetworkSpeciesReports(self) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... @typing.overload - def addUpperLimit(self, networkQualityMetric: NetworkQualityMetric, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... + def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... @typing.overload - def addUpperLimit(self, networkQualityMetric: NetworkQualityMetric, double: float, string: typing.Union[java.lang.String, str], qualityReference: 'QualityReference') -> 'NetworkQualityProfile': ... - @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... - def getEffectiveFrom(self) -> java.lang.String: ... - def getEffectiveTo(self) -> java.lang.String: ... - def getLimits(self) -> java.util.List[NetworkQualityLimit]: ... - def getName(self) -> java.lang.String: ... - def getNamedExceptions(self) -> java.util.List[java.lang.String]: ... - def getProvenance(self) -> java.lang.String: ... - def getVersion(self) -> java.lang.String: ... + def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNodePressureBaraHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getSourcePressureBaraHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getStepReports(self) -> typing.MutableSequence['TransientGasNetworkStepReport']: ... def toJson(self) -> java.lang.String: ... - def withEffectivePeriod(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... - def withProvenance(self, string: typing.Union[java.lang.String, str]) -> 'NetworkQualityProfile': ... -class NetworkQualityResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], qualityReference: 'QualityReference', double2: float, double3: float, double4: float, status: 'NetworkQualityResult.Status', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... - def getAttributeName(self) -> java.lang.String: ... - def getLowerLimit(self) -> float: ... - def getMargin(self) -> float: ... +class TransientGasNetworkStepReport(java.io.Serializable): + def getElapsedTimeSeconds(self) -> float: ... + def getHydraulicIterations(self) -> int: ... + def getMaximumComponentRelativeResidual(self) -> float: ... + def getMaximumJunctionRelativeResidual(self) -> float: ... + def getMaximumNodeMassResidualKgS(self) -> float: ... + def getMaximumRelativeHydraulicResidual(self) -> float: ... def getMessage(self) -> java.lang.String: ... - def getMethod(self) -> java.lang.String: ... - def getMetricKey(self) -> java.lang.String: ... - def getProvenance(self) -> java.lang.String: ... - def getReference(self) -> 'QualityReference': ... - def getStatus(self) -> 'NetworkQualityResult.Status': ... - def getUnit(self) -> java.lang.String: ... - def getUpperLimit(self) -> float: ... - def getValue(self) -> float: ... - class Status(java.lang.Enum['NetworkQualityResult.Status']): - PASS: typing.ClassVar['NetworkQualityResult.Status'] = ... - FAIL: typing.ClassVar['NetworkQualityResult.Status'] = ... - NOT_CALCULABLE: typing.ClassVar['NetworkQualityResult.Status'] = ... + def getRelativeTotalMassResidual(self) -> float: ... + def getSinkMassFlowKgS(self) -> float: ... + def getTotalMassResidualKg(self) -> float: ... + def isConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class TransientSpeciesConservationReport(java.io.Serializable): + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getElapsedTimeSeconds(self) -> float: ... + def getFinalInventoryKg(self) -> typing.MutableSequence[float]: ... + def getInitialInventoryKg(self) -> typing.MutableSequence[float]: ... + def getInletBoundaryMassKg(self) -> typing.MutableSequence[float]: ... + def getInventoryResidualKg(self) -> typing.MutableSequence[float]: ... + def getLocationName(self) -> java.lang.String: ... + def getLocationType(self) -> 'TransientSpeciesConservationReport.LocationType': ... + def getMassFractionProfile(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMaximumMassFraction(self) -> float: ... + def getMaximumMassFractionSumError(self) -> float: ... + def getMaximumRelativeInventoryResidual(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getMinimumMassFraction(self) -> float: ... + def getOutletBoundaryMassKg(self) -> typing.MutableSequence[float]: ... + def getRelativeInventoryResidual(self) -> typing.MutableSequence[float]: ... + def isConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class LocationType(java.lang.Enum['TransientSpeciesConservationReport.LocationType']): + EDGE: typing.ClassVar['TransientSpeciesConservationReport.LocationType'] = ... + JUNCTION: typing.ClassVar['TransientSpeciesConservationReport.LocationType'] = ... + NETWORK: typing.ClassVar['TransientSpeciesConservationReport.LocationType'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'NetworkQualityResult.Status': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TransientSpeciesConservationReport.LocationType': ... @staticmethod - def values() -> typing.MutableSequence['NetworkQualityResult.Status']: ... - -class NetworkSchedulePeriodResult(java.io.Serializable): - def __init__(self, networkPeriod: NetworkPeriod, boolean: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], map4: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map5: typing.Union[java.util.Map[typing.Union[java.lang.String, str], NetworkQualityComplianceReport], typing.Mapping[typing.Union[java.lang.String, str], NetworkQualityComplianceReport]]): ... - def getClosingLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... - def getConstraintResiduals(self) -> java.util.Map[java.lang.String, float]: ... - def getOpeningLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... - def getPeriod(self) -> NetworkPeriod: ... - def getPipeFlowsKgS(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def getQualityReports(self) -> java.util.Map[java.lang.String, NetworkQualityComplianceReport]: ... - def isFeasible(self) -> bool: ... - -class NetworkScheduleResult(java.io.Serializable): - def __init__(self, boolean: bool, double: float, list: java.util.List[NetworkSchedulePeriodResult], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], GasLinepackState], typing.Mapping[typing.Union[java.lang.String, str], GasLinepackState]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]): ... - @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'NetworkScheduleResult': ... - def getActiveConstraints(self) -> java.util.Map[java.lang.String, float]: ... - def getInitialLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... - def getMessage(self) -> java.lang.String: ... - def getObjectiveValue(self) -> float: ... - def getPeriods(self) -> java.util.List[NetworkSchedulePeriodResult]: ... - def getTerminalLinepack(self) -> java.util.Map[java.lang.String, GasLinepackState]: ... - def isFeasible(self) -> bool: ... - def toJson(self) -> java.lang.String: ... - -class NetworkValidationBenchmarks: - def __init__(self): ... - @staticmethod - def runAllBenchmarks() -> java.util.List['NetworkValidationBenchmarks.BenchmarkResult']: ... - @staticmethod - def runParallelPipeBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... - @staticmethod - def runPressureMonotonicity() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... - @staticmethod - def runSinglePipeBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... - @staticmethod - def runSolverCrossVerification() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... - @staticmethod - def runSparseVsDenseBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... - @staticmethod - def runTriangleMassBalance() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... - class BenchmarkResult: - name: java.lang.String = ... - metrics: java.util.List = ... - converged: bool = ... - solverIterations: int = ... - allPassed: bool = ... - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addMetric(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def evaluate(self) -> None: ... - def getSummary(self) -> java.lang.String: ... - class MetricResult: - name: java.lang.String = ... - computed: float = ... - expected: float = ... - tolerance: float = ... - passed: bool = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... - -class OilNetworkSchedule(java.io.Serializable): - def __init__(self, oilTerminalNode: 'OilTerminalNode'): ... - def addCargoNomination(self, cargoNomination: CargoNomination) -> None: ... - def addHourlyPeriods(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... - def addPeriod(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addReceipt(self, string: typing.Union[java.lang.String, str], crudeParcel: CrudeParcel) -> None: ... - def getPeriods(self) -> java.util.List[NetworkPeriod]: ... - def optimize(self) -> 'OilNetworkScheduleResult': ... - def setHydraulicNetwork(self, loopedPipeNetwork: LoopedPipeNetwork) -> None: ... - def setTankAvailability(self, string: typing.Union[java.lang.String, str], int: int, int2: int, boolean: bool) -> None: ... - -class OilNetworkScheduleResult(java.io.Serializable): - def __init__(self, boolean: bool, list: java.util.List['OilSchedulePeriodResult'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], CargoLoadingResult], typing.Mapping[typing.Union[java.lang.String, str], CargoLoadingResult]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TankInventoryState'], typing.Mapping[typing.Union[java.lang.String, str], 'TankInventoryState']], double: float, double2: float, map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]): ... - @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'OilNetworkScheduleResult': ... - def getActiveConstraints(self) -> java.util.Map[java.lang.String, float]: ... - def getCargoes(self) -> java.util.Map[java.lang.String, CargoLoadingResult]: ... - def getMassBalanceResidualKg(self) -> float: ... - def getMaxComponentBalanceResidualKg(self) -> float: ... - def getMessage(self) -> java.lang.String: ... - def getPeriods(self) -> java.util.List['OilSchedulePeriodResult']: ... - def getTerminalInventories(self) -> java.util.Map[java.lang.String, 'TankInventoryState']: ... - def isFeasible(self) -> bool: ... - def toJson(self) -> java.lang.String: ... - -class OilSchedulePeriodResult(java.io.Serializable): - def __init__(self, networkPeriod: NetworkPeriod, boolean: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TankInventoryState'], typing.Mapping[typing.Union[java.lang.String, str], 'TankInventoryState']], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TankInventoryState'], typing.Mapping[typing.Union[java.lang.String, str], 'TankInventoryState']], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[CargoLoadingResult], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... - def getClosingInventories(self) -> java.util.Map[java.lang.String, 'TankInventoryState']: ... - def getConstraintResiduals(self) -> java.util.Map[java.lang.String, float]: ... - def getLoadedCargoes(self) -> java.util.List[CargoLoadingResult]: ... - def getOpeningInventories(self) -> java.util.Map[java.lang.String, 'TankInventoryState']: ... - def getPeriod(self) -> NetworkPeriod: ... - def getReceivedParcels(self) -> java.util.List[java.lang.String]: ... - def isFeasible(self) -> bool: ... + def values() -> typing.MutableSequence['TransientSpeciesConservationReport.LocationType']: ... -class OilTerminalNode(java.io.Serializable): +class TwoFluidPipeNetwork(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addTank(self, oilTerminalTank: 'OilTerminalTank') -> None: ... - def copy(self) -> 'OilTerminalNode': ... - def getName(self) -> java.lang.String: ... - def getTank(self, string: typing.Union[java.lang.String, str]) -> 'OilTerminalTank': ... - def getTanks(self) -> java.util.Map[java.lang.String, 'OilTerminalTank']: ... - def isRouteAvailable(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def setRouteAvailable(self, string: typing.Union[java.lang.String, str], boolean: bool) -> None: ... - -class OilTerminalTank(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, mixingMode: 'OilTerminalTank.MixingMode'): ... - def addOpeningInventory(self, crudeParcel: CrudeParcel) -> None: ... - def beginPeriod(self, int: int) -> None: ... - def copy(self) -> 'OilTerminalTank': ... - def getCapacityKg(self) -> float: ... - def getHeelKg(self) -> float: ... - def getMassKg(self) -> float: ... - def getMixingMode(self) -> 'OilTerminalTank.MixingMode': ... + def addCompressibleNode(self, string: typing.Union[java.lang.String, str], upstreamCompressibleVolume: jneqsim.process.equipment.pipeline.UpstreamCompressibleVolume) -> None: ... + def addFixedPressureNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> None: ... + def getLastBalanceReport(self) -> 'TwoFluidPipeNetwork.BalanceReport': ... def getName(self) -> java.lang.String: ... - def isAvailable(self) -> bool: ... - def receive(self, crudeParcel: CrudeParcel, double: float) -> None: ... - def setAvailable(self, boolean: bool) -> None: ... - def snapshot(self) -> 'TankInventoryState': ... - def withdraw(self, string: typing.Union[java.lang.String, str], double: float, int: int, string2: typing.Union[java.lang.String, str], double2: float) -> CrudeParcel: ... - class MixingMode(java.lang.Enum['OilTerminalTank.MixingMode']): - PERFECT_MIXED: typing.ClassVar['OilTerminalTank.MixingMode'] = ... - SEGREGATED: typing.ClassVar['OilTerminalTank.MixingMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'OilTerminalTank.MixingMode': ... - @staticmethod - def values() -> typing.MutableSequence['OilTerminalTank.MixingMode']: ... + def getNodePressurePa(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipe(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... + def getSimulationTimeSeconds(self) -> float: ... + def initialize(self, uUID: java.util.UUID) -> None: ... + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + class BalanceReport(java.io.Serializable): + def getElapsedTimeSeconds(self) -> float: ... + def getExternalInletMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... + def getExternalOutletMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... + def getFinalMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... + def getInitialMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... + def getRelativeResidual(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... + def getResidualKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... + def getSourceMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... -class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): +class WellFlowlineNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInletPipeline(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, string2: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'PipeFlowNetwork.PipelineSegment': ... - def connectManifolds(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'PipeFlowNetwork.PipelineSegment': ... - def createManifold(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getCompositionProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getManifolds(self) -> java.util.Map[java.lang.String, 'PipeFlowNetwork.ManifoldNode']: ... - def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getPipelines(self) -> java.util.List['PipeFlowNetwork.PipelineSegment']: ... - def getPressureProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getSimulationTime(self) -> float: ... - def getTemperatureProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getTerminalManifold(self) -> 'PipeFlowNetwork.ManifoldNode': ... - def getTotalPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getVelocityProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def resetSimulationTime(self) -> None: ... + @typing.overload + def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'WellFlowlineNetwork.Branch': ... + @typing.overload + def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... + @typing.overload + def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... + @typing.overload + def addBranch(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'WellFlowlineNetwork.Branch': ... + @typing.overload + def addBranch(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... + def addManifold(self, string: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'WellFlowlineNetwork.ManifoldNode': ... + def connectManifolds(self, manifoldNode: 'WellFlowlineNetwork.ManifoldNode', manifoldNode2: 'WellFlowlineNetwork.ManifoldNode', pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... + def createManifold(self, string: typing.Union[java.lang.String, str]) -> 'WellFlowlineNetwork.ManifoldNode': ... + def getArrivalMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... + def getArrivalStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... + def getManifolds(self) -> java.util.List['WellFlowlineNetwork.ManifoldNode']: ... + def getTerminalManifoldPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -1442,276 +1157,579 @@ class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... - def setCompositionalTracking(self, boolean: bool) -> None: ... - def setDefaultHeatTransferCoefficients(self, double: float, double2: float) -> None: ... - def setDefaultOuterTemperature(self, double: float) -> None: ... - def setDefaultWallRoughness(self, double: float) -> None: ... + def setFacilityPipeline(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... + def setForceFlowFromPressureSolve(self, boolean: bool) -> None: ... + def setIterationTolerance(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPropagateArrivalPressureToWells(self, boolean: bool) -> None: ... + def setTargetEndpointPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... + class Branch: + def getChoke(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getName(self) -> java.lang.String: ... + def getPipeline(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... + def getWell(self) -> jneqsim.process.equipment.reservoir.WellFlow: ... + def setChoke(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... class ManifoldNode: - def getInboundPipelines(self) -> java.util.List['PipeFlowNetwork.PipelineSegment']: ... + def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... def getName(self) -> java.lang.String: ... - def getOutboundPipeline(self) -> 'PipeFlowNetwork.PipelineSegment': ... - class PipelineSegment: - def getFromManifold(self) -> java.lang.String: ... - def getName(self) -> java.lang.String: ... - def getPipeline(self) -> jneqsim.process.equipment.pipeline.OnePhasePipeLine: ... - def getToManifold(self) -> java.lang.String: ... - def isInletPipeline(self) -> bool: ... -class QualityReference(java.io.Serializable): - def __init__(self): ... +class GasQualityMetric(java.lang.Enum['GasQualityMetric'], NetworkQualityMetric): + SUPERIOR_CALORIFIC_VALUE: typing.ClassVar['GasQualityMetric'] = ... + INFERIOR_CALORIFIC_VALUE: typing.ClassVar['GasQualityMetric'] = ... + WOBBE_INDEX: typing.ClassVar['GasQualityMetric'] = ... + RELATIVE_DENSITY: typing.ClassVar['GasQualityMetric'] = ... + CO2_MOLE_PERCENT: typing.ClassVar['GasQualityMetric'] = ... + COMPONENT_MOLE_PERCENT: typing.ClassVar['GasQualityMetric'] = ... + HYDROCARBON_DEW_POINT_TEMPERATURE: typing.ClassVar['GasQualityMetric'] = ... + HYDROCARBON_DEW_POINT_PRESSURE: typing.ClassVar['GasQualityMetric'] = ... + WATER_DEW_POINT_TEMPERATURE: typing.ClassVar['GasQualityMetric'] = ... + CRICONDENBAR: typing.ClassVar['GasQualityMetric'] = ... + CRICONDENTHERM: typing.ClassVar['GasQualityMetric'] = ... + OPERATING_PRESSURE: typing.ClassVar['GasQualityMetric'] = ... + OPERATING_TEMPERATURE: typing.ClassVar['GasQualityMetric'] = ... + MEASURED_ATTRIBUTE: typing.ClassVar['GasQualityMetric'] = ... + def getDefaultUnit(self) -> java.lang.String: ... + def getDomain(self) -> java.lang.String: ... + def getKey(self) -> java.lang.String: ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload @staticmethod - def atPressure(double: float, string: typing.Union[java.lang.String, str]) -> 'QualityReference': ... + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload @staticmethod - def atPressureAndTemperature(double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'QualityReference': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'GasQualityMetric': ... @staticmethod - def atTemperature(double: float, string: typing.Union[java.lang.String, str]) -> 'QualityReference': ... - def getBasis(self) -> java.lang.String: ... - def getCombustionReferenceTemperatureC(self) -> float: ... - def getPressure(self) -> float: ... - def getPressureBara(self) -> float: ... - def getPressureUnit(self) -> java.lang.String: ... - def getTemperature(self) -> float: ... - def getTemperatureK(self) -> float: ... - def getTemperatureUnit(self) -> java.lang.String: ... - def getVolumeReferenceTemperatureC(self) -> float: ... - def toJson(self) -> java.lang.String: ... - def withBasis(self, string: typing.Union[java.lang.String, str]) -> 'QualityReference': ... - def withIso6976Reference(self, double: float, double2: float) -> 'QualityReference': ... + def values() -> typing.MutableSequence['GasQualityMetric']: ... -class TankInventoryState(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, boolean: bool, string2: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... - def getCapacityKg(self) -> float: ... - def getComponentMassKg(self) -> java.util.Map[java.lang.String, float]: ... - def getHeelKg(self) -> float: ... - def getMassKg(self) -> float: ... - def getMixingMode(self) -> java.lang.String: ... - def getParcelMassKg(self) -> java.util.Map[java.lang.String, float]: ... - def getTankName(self) -> java.lang.String: ... - def getUllageKg(self) -> float: ... - def isAvailable(self) -> bool: ... - -class TransientCompositionalPipeNetwork(java.io.Serializable): +class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addNode(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, int: int, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def getConservationTolerance(self) -> float: ... - def getEdgeCellMassesKg(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getEdgeMassFractionProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getName(self) -> java.lang.String: ... - def getSpeciesHistory(self) -> 'TransientCompositionalPipeNetworkHistory': ... - def run(self, double: float, double2: float) -> None: ... - def setConservationTolerance(self, double: float) -> None: ... - def setSourceSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - -class TransientCompositionalPipeNetworkHistory(java.io.Serializable): - @staticmethod - def empty() -> 'TransientCompositionalPipeNetworkHistory': ... - def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getEdgeReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... - def getElapsedTimeSeconds(self) -> typing.MutableSequence[float]: ... - def getFinalNetworkReport(self) -> 'TransientSpeciesConservationReport': ... - def getJunctionReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... - def getNetworkReports(self) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... @typing.overload - def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def addChoke(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addCompressor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addCompressorWithChart(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor) -> 'LoopedPipeNetwork.NetworkPipe': ... @typing.overload - def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def toJson(self) -> java.lang.String: ... - -class TransientGasNetwork(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addNode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addFixedPressureSinkNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload - def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, int: int, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def addFixedPressureSinkNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... @typing.overload - def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, int: int, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def getConservationTolerance(self) -> float: ... - def getHistory(self) -> 'TransientGasNetworkHistory': ... - def getHydraulicToleranceKgS(self) -> float: ... - def getLastDiagnostic(self) -> java.lang.String: ... - def getName(self) -> java.lang.String: ... - def run(self, double: float, double2: float) -> None: ... - def setFixedPressureBoundary(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setInitialNodePressure(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setMaximumEdgeVelocity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setSolverControls(self, int: int, double: float, double2: float) -> None: ... - def setSourcePressureLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setSourceSchedule(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - -class TransientGasNetworkHistory(java.io.Serializable): + def addJunctionNode(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addJunctionNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addMultiphasePipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + @typing.overload + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + @typing.overload + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPump(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPumpDifferentialPressure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPumpWithCurve(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], pump: jneqsim.process.equipment.pump.Pump) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addRegulator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + @typing.overload + def addSinkNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addSinkNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + @typing.overload + def addSourceNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + @typing.overload + def addSourceNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addTubing(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addWaterInjection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addWellIPR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, boolean: bool) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addWellIPRFetkovich(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addWellIPRVogel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + @typing.overload + def attachReservoir(self, string: typing.Union[java.lang.String, str], simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def attachReservoir(self, string: typing.Union[java.lang.String, str], simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def calculateCorrosion(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateEmissions(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateFuelGasConsumption(self) -> java.util.Map[java.lang.String, float]: ... + def calculateGasQuality(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateOilQuality(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateSandTransport(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateWaterBalance(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def checkConstraints(self) -> java.util.List[java.lang.String]: ... + def checkErosionalVelocity(self) -> java.util.List[java.lang.String]: ... + def checkGasQualityLimits(self, double: float, double2: float) -> java.util.List[java.lang.String]: ... + def checkOilQualityLimits(self, double: float, double2: float) -> java.util.List[java.lang.String]: ... + def createOptimizer(self) -> NetworkOptimizer: ... + def evaluateQualityProfiles(self) -> java.util.Map[java.lang.String, NetworkQualityComplianceReport]: ... + def exportCoupledVFPTables(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def exportVFPTables(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @staticmethod - def empty() -> 'TransientGasNetworkHistory': ... - def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getEdgeAverageMassFlowKgSHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getEdgeInletMassFlowKgSHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getEdgeLinepackKgHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getEdgeOutletMassFlowKgSHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getEdgeSpeciesReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... - def getElapsedTimeSeconds(self) -> typing.MutableSequence[float]: ... - def getFinalStepReport(self) -> 'TransientGasNetworkStepReport': ... - def getJunctionSpeciesReports(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... - def getNetworkSpeciesReports(self) -> typing.MutableSequence['TransientSpeciesConservationReport']: ... + def fromJson(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork': ... + def fullFieldForecast(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def generateCoupledVFPTables(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[typing.MutableSequence[float]]]: ... + def generateNetworkBackpressureCurve(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getAnnualCO2EmissionsTonnes(self) -> float: ... + def getAssignedNodeFluidNames(self) -> java.util.Set[java.lang.String]: ... + def getAttachedReservoir(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + def getCO2EmissionFactor(self) -> float: ... + def getCompositionConvergenceReport(self) -> NetworkCompositionConvergenceReport: ... + def getCompositionMaxIterations(self) -> int: ... + def getCompositionTemperatureTolerance(self) -> float: ... + def getCompositionTolerance(self) -> float: ... + def getConstraintViolations(self) -> java.util.List[java.lang.String]: ... + def getCorrosionViolations(self) -> java.util.List[java.lang.String]: ... + def getEffectiveHydraulicModelType(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PipeModelType': ... + def getEmissionsIntensity(self) -> float: ... + def getErosionalVelocityViolations(self) -> java.util.List[java.lang.String]: ... + def getFluidTemplate(self) -> jneqsim.thermo.system.SystemInterface: ... + def getFuelGasHeatRate(self) -> float: ... + def getFuelGasPercentage(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getIterationCount(self) -> int: ... + def getLoops(self) -> java.util.List[NetworkLoop]: ... + def getMassBalanceError(self) -> float: ... + def getMaxCompressorPowerMW(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getMaxResidual(self) -> float: ... + def getMaxSeparatorUtilization(self) -> float: ... + def getNetworkCouplingReport(self) -> NetworkCouplingReport: ... + def getNetworkReport(self) -> java.lang.String: ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkNode': ... + def getNodeFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNodeFluid(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def getNodeGasQuality(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getNodeNames(self) -> java.util.List[java.lang.String]: ... + def getNodeOilQuality(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getNodePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfLoops(self) -> int: ... @typing.overload - def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getNodeMassFractionHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getNodePressureBaraHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getSourcePressureBaraHistory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getStepReports(self) -> typing.MutableSequence['TransientGasNetworkStepReport']: ... - def toJson(self) -> java.lang.String: ... - -class TransientGasNetworkStepReport(java.io.Serializable): - def getElapsedTimeSeconds(self) -> float: ... - def getHydraulicIterations(self) -> int: ... - def getMaximumComponentRelativeResidual(self) -> float: ... - def getMaximumJunctionRelativeResidual(self) -> float: ... - def getMaximumNodeMassResidualKgS(self) -> float: ... - def getMaximumRelativeHydraulicResidual(self) -> float: ... - def getMessage(self) -> java.lang.String: ... - def getRelativeTotalMassResidual(self) -> float: ... - def getSinkMassFlowKgS(self) -> float: ... - def getTotalMassResidualKg(self) -> float: ... - def isConverged(self) -> bool: ... - def toJson(self) -> java.lang.String: ... - -class TransientSpeciesConservationReport(java.io.Serializable): - def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getElapsedTimeSeconds(self) -> float: ... - def getFinalInventoryKg(self) -> typing.MutableSequence[float]: ... - def getInitialInventoryKg(self) -> typing.MutableSequence[float]: ... - def getInletBoundaryMassKg(self) -> typing.MutableSequence[float]: ... - def getInventoryResidualKg(self) -> typing.MutableSequence[float]: ... - def getLocationName(self) -> java.lang.String: ... - def getLocationType(self) -> 'TransientSpeciesConservationReport.LocationType': ... - def getMassFractionProfile(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getMaximumMassFraction(self) -> float: ... - def getMaximumMassFractionSumError(self) -> float: ... - def getMaximumRelativeInventoryResidual(self) -> float: ... - def getMessage(self) -> java.lang.String: ... - def getMinimumMassFraction(self) -> float: ... - def getOutletBoundaryMassKg(self) -> typing.MutableSequence[float]: ... - def getRelativeInventoryResidual(self) -> typing.MutableSequence[float]: ... + def getOutletStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPipe(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkPipe': ... + def getPipeFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipeFlowRegime(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getPipeFrictionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipeHeadLoss(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipeModelType(self) -> 'LoopedPipeNetwork.PipeModelType': ... + def getPipeNames(self) -> java.util.List[java.lang.String]: ... + def getPipeReynoldsNumber(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipeVelocity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getQualityComplianceReport(self, string: typing.Union[java.lang.String, str]) -> NetworkQualityComplianceReport: ... + def getQualityProfile(self, string: typing.Union[java.lang.String, str]) -> NetworkQualityProfile: ... + def getRelaxationFactor(self) -> float: ... + def getSandViolations(self) -> java.util.List[java.lang.String]: ... + def getSensitivityFailures(self) -> java.util.Map[int, java.lang.String]: ... + def getSolutionSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSolverType(self) -> 'LoopedPipeNetwork.SolverType': ... + def getSourceNodeStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTolerance(self) -> float: ... + def getTopsideModel(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getTotalCO2Emissions(self) -> float: ... + def getTotalESPPower(self) -> float: ... + def getTotalFuelGasRate(self) -> float: ... + def getTotalGasLiftRate(self) -> float: ... + def getTotalSinkFlow(self) -> float: ... + def getTotalWaterInjection(self) -> float: ... + def getTotalWaterProduction(self) -> float: ... + def getWellAllocationResults(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def hasAttachedReservoirs(self) -> bool: ... + def isCompositionalHydraulicsEnabled(self) -> bool: ... def isConverged(self) -> bool: ... + def isProductionOptimizationApplicable(self) -> bool: ... + def isThermalHydraulicsEnabled(self) -> bool: ... + def isTopsideFeasible(self) -> bool: ... + def loadFluidFromE300(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def nodalAnalysis(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def optimizeChokeOpenings(self, int: int, double: float) -> float: ... + def optimizeFullField(self, int: int, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def optimizeMultiObjective(self, int: int) -> java.util.List[NetworkOptimizer.OptimizationResult]: ... + def optimizeProduction(self, int: int, double: float) -> float: ... + def optimizeProductionNLP(self) -> NetworkOptimizer.OptimizationResult: ... + def productionForecast(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + @typing.overload + def productionForecastCoupled(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + @typing.overload + def productionForecastCoupled(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, double2: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + @typing.overload + def productionForecastWithOptimization(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int, double3: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + @typing.overload + def productionForecastWithOptimization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, double2: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runCoupled(self) -> java.util.Map[java.lang.String, float]: ... + def runTransientCoupled(self, double: float, int: int, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + @staticmethod + def runValidationBenchmarks() -> java.util.List[NetworkValidationBenchmarks.BenchmarkResult]: ... + def sensitivityAnalysis(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def setCO2EmissionFactor(self, double: float) -> None: ... + def setCompositionMaxIterations(self, int: int) -> None: ... + def setCompositionTemperatureTolerance(self, double: float) -> None: ... + def setCompositionTolerance(self, double: float) -> None: ... + def setCompositionalHydraulicsEnabled(self, boolean: bool) -> None: ... + def setCorrosionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setCorrosiveGas(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setCouplingMaxIterations(self, int: int) -> None: ... + def setCouplingToleranceBar(self, double: float) -> None: ... + def setCouplingTolerances(self, double: float, double2: float) -> None: ... + def setESP(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setElementFlowLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setFeedStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFluidTemplate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFuelGasHeatRate(self, double: float) -> None: ... + def setGasLift(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setGasPrice(self, double: float) -> None: ... + def setJetPump(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setMaxAllowableErosionRate(self, double: float) -> None: ... + def setMaxAllowableSandRate(self, double: float) -> None: ... + def setMaxCompressorPowerMW(self, double: float) -> None: ... + def setMaxCouplingIterations(self, int: int) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMaxSeparatorUtilization(self, double: float) -> None: ... + def setMethaneSlipFactor(self, double: float) -> None: ... + def setMinAllowableWallLife(self, double: float) -> None: ... + def setNodeFluid(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setNodePressure(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setNodePressureLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setOilPrice(self, double: float) -> None: ... + def setPipeEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setPipeModelType(self, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> None: ... + def setQualityAttribute(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]) -> None: ... + def setQualityProfile(self, string: typing.Union[java.lang.String, str], networkQualityProfile: NetworkQualityProfile) -> None: ... + def setRelaxationFactor(self, double: float) -> None: ... + def setReservoirComposition(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setReservoirCompositionFromE300(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setReservoirPressure(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setRodPump(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setSandRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSolverType(self, solverType: 'LoopedPipeNetwork.SolverType') -> None: ... + def setThermalHydraulicsEnabled(self, boolean: bool) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setTopsideModel(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterBreakthrough(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def setWaterCut(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setWellPrice(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload def toJson(self) -> java.lang.String: ... - class LocationType(java.lang.Enum['TransientSpeciesConservationReport.LocationType']): - EDGE: typing.ClassVar['TransientSpeciesConservationReport.LocationType'] = ... - JUNCTION: typing.ClassVar['TransientSpeciesConservationReport.LocationType'] = ... - NETWORK: typing.ClassVar['TransientSpeciesConservationReport.LocationType'] = ... + def updateCompositionalMixing(self) -> None: ... + def updateCompositionalMixingWithReport(self) -> NetworkCompositionConvergenceReport: ... + def validate(self) -> java.util.List[java.lang.String]: ... + def validateVFPPoint(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float) -> java.util.Map[java.lang.String, float]: ... + class ArtificialLiftType(java.lang.Enum['LoopedPipeNetwork.ArtificialLiftType']): + NONE: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... + GAS_LIFT: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... + ESP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... + JET_PUMP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... + ROD_PUMP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.ArtificialLiftType': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.ArtificialLiftType']: ... + class IPRType(java.lang.Enum['LoopedPipeNetwork.IPRType']): + PRODUCTIVITY_INDEX: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... + VOGEL: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... + FETKOVICH: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.IPRType': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.IPRType']: ... + class NetworkElementType(java.lang.Enum['LoopedPipeNetwork.NetworkElementType']): + PIPE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + WELL_IPR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + CHOKE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + TUBING: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + MULTIPHASE_PIPE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + COMPRESSOR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + PUMP: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + REGULATOR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkElementType': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.NetworkElementType']: ... + class NetworkNode: + def __init__(self, string: typing.Union[java.lang.String, str], nodeType: 'LoopedPipeNetwork.NodeType'): ... + def getDemand(self) -> float: ... + def getElevation(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPressure(self) -> float: ... + def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTemperature(self) -> float: ... + def getType(self) -> 'LoopedPipeNetwork.NodeType': ... + def isPressureFixed(self) -> bool: ... + def setDemand(self, double: float) -> None: ... + def setElevation(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setPressureFixed(self, boolean: bool) -> None: ... + def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setTemperature(self, double: float) -> None: ... + class NetworkPipe: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def createInitializedTwoFluidPipe(self) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... + def getAmbientTemperature(self) -> float: ... + def getAmbientTemperatureProfileDistanceM(self) -> typing.MutableSequence[float]: ... + def getAmbientTemperatureProfileK(self) -> typing.MutableSequence[float]: ... + def getArtificialLiftType(self) -> 'LoopedPipeNetwork.ArtificialLiftType': ... + def getAvailability(self) -> float: ... + def getBBModel(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... + def getChokeCapacityKgS(self) -> float: ... + def getChokeCriticalPressureRatio(self) -> float: ... + def getChokeKv(self) -> float: ... + def getChokeModelStatus(self) -> java.lang.String: ... + def getChokeOpening(self) -> float: ... + def getCo2MoleFraction(self) -> float: ... + def getCompressorEfficiency(self) -> float: ... + def getCompressorModel(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def getCompressorPower(self) -> float: ... + def getCompressorSpeed(self) -> float: ... + def getCorrosionModel(self) -> java.lang.String: ... + def getCorrosionRate(self) -> float: ... + def getDepositionRate(self) -> float: ... + def getDiameter(self) -> float: ... + def getElementType(self) -> 'LoopedPipeNetwork.NetworkElementType': ... + def getElevationProfileDistanceM(self) -> typing.MutableSequence[float]: ... + def getElevationProfileM(self) -> typing.MutableSequence[float]: ... + def getErosionRate(self) -> float: ... + def getErosionalC(self) -> float: ... + def getErosionalVelocity(self) -> float: ... + def getErosionalVelocityRatio(self) -> float: ... + def getEspEfficiency(self) -> float: ... + def getEspFrequency(self) -> float: ... + def getEspHeadRise(self) -> float: ... + def getEspPower(self) -> float: ... + def getFetkovichC(self) -> float: ... + def getFetkovichN(self) -> float: ... + def getFlowRate(self) -> float: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFrictionFactor(self) -> float: ... + def getFromNode(self) -> java.lang.String: ... + def getGasLiftGLR(self) -> float: ... + def getGasLiftRate(self) -> float: ... + def getH2sMoleFraction(self) -> float: ... + def getHeadLoss(self) -> float: ... + def getHeatTransferProfileDistanceM(self) -> typing.MutableSequence[float]: ... + def getHeatTransferProfileWm2K(self) -> typing.MutableSequence[float]: ... + def getHydraulicModelStatus(self) -> java.lang.String: ... + def getHydraulicModelType(self) -> 'LoopedPipeNetwork.PipeModelType': ... + def getHydraulicProfile(self) -> 'LoopedPipeNetwork.NetworkPipe.HydraulicProfile': ... + def getInletFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getIprType(self) -> 'LoopedPipeNetwork.IPRType': ... + def getLength(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getMultiphaseSegments(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getOutletFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getOutletTemperature(self) -> float: ... + def getOverallHeatTransferCoeff(self) -> float: ... + def getPipeEfficiency(self) -> float: ... + def getPipeModel(self) -> jneqsim.process.equipment.pipeline.AdiabaticPipe: ... + def getProductivityIndex(self) -> float: ... + def getPumpDifferentialPressurePa(self) -> float: ... + def getPumpEfficiency(self) -> float: ... + def getPumpHeadM(self) -> float: ... + def getPumpMinimumFlowKgS(self) -> float: ... + def getPumpMinimumFlowResidualKgS(self) -> float: ... + def getPumpModel(self) -> jneqsim.process.equipment.pump.Pump: ... + def getPumpNpshResidualM(self) -> float: ... + def getPumpNpshaM(self) -> float: ... + def getPumpNpshrM(self) -> float: ... + def getPumpOperatingMode(self) -> 'LoopedPipeNetwork.PumpOperatingMode': ... + def getPumpOperatingStatus(self) -> java.lang.String: ... + def getPumpOutletPressurePa(self) -> float: ... + def getPumpPowerKW(self) -> float: ... + def getPumpPowerResidualKW(self) -> float: ... + def getPumpRatedPowerKW(self) -> float: ... + def getPumpReverseFlowPolicy(self) -> 'LoopedPipeNetwork.PumpReverseFlowPolicy': ... + def getPumpSpeed(self) -> float: ... + def getRegulatorSetPoint(self) -> float: ... + def getRemainingWallLife(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def getReynoldsNumber(self) -> float: ... + def getRoughness(self) -> float: ... + def getSandConcentration(self) -> float: ... + def getSandRate(self) -> float: ... + def getToNode(self) -> java.lang.String: ... + def getTubingInclination(self) -> float: ... + def getTubingSegments(self) -> int: ... + def getTwoFluidModel(self) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... + def getVelocity(self) -> float: ... + def getVogelQmax(self) -> float: ... + def getWallThickness(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterFlowRate(self) -> float: ... + def getWaterInjectionRate(self) -> float: ... + def hasRouteProfile(self) -> bool: ... + def isChokeUseValveModel(self) -> bool: ... + def isCompressorHasChart(self) -> bool: ... + def isGasIPR(self) -> bool: ... + def isThermodynamicStateForward(self) -> bool: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setAmbientTemperatureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setArtificialLiftType(self, artificialLiftType: 'LoopedPipeNetwork.ArtificialLiftType') -> None: ... + def setAvailability(self, double: float) -> None: ... + def setBBModel(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... + def setChokeCriticalPressureRatio(self, double: float) -> None: ... + def setChokeKv(self, double: float) -> None: ... + def setChokeOpening(self, double: float) -> None: ... + def setChokeUseValveModel(self, boolean: bool) -> None: ... + def setCo2MoleFraction(self, double: float) -> None: ... + def setCompressorEfficiency(self, double: float) -> None: ... + def setCompressorHasChart(self, boolean: bool) -> None: ... + def setCompressorModel(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... + def setCompressorPower(self, double: float) -> None: ... + def setCompressorSpeed(self, double: float) -> None: ... + def setCorrosionModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCorrosionRate(self, double: float) -> None: ... + def setDepositionRate(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElementType(self, networkElementType: 'LoopedPipeNetwork.NetworkElementType') -> None: ... + def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setErosionRate(self, double: float) -> None: ... + def setErosionalC(self, double: float) -> None: ... + def setErosionalVelocity(self, double: float) -> None: ... + def setErosionalVelocityRatio(self, double: float) -> None: ... + def setEspEfficiency(self, double: float) -> None: ... + def setEspFrequency(self, double: float) -> None: ... + def setEspHeadRise(self, double: float) -> None: ... + def setEspPower(self, double: float) -> None: ... + def setFetkovichC(self, double: float) -> None: ... + def setFetkovichN(self, double: float) -> None: ... + def setFlowRate(self, double: float) -> None: ... + def setFlowRegime(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFrictionFactor(self, double: float) -> None: ... + def setGasIPR(self, boolean: bool) -> None: ... + def setGasLiftGLR(self, double: float) -> None: ... + def setGasLiftRate(self, double: float) -> None: ... + def setH2sMoleFraction(self, double: float) -> None: ... + def setHeadLoss(self, double: float) -> None: ... + def setHeatTransferProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHydraulicModelType(self, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> None: ... + def setIprType(self, iPRType: 'LoopedPipeNetwork.IPRType') -> None: ... + def setLength(self, double: float) -> None: ... + def setLiquidHoldup(self, double: float) -> None: ... + def setMultiphaseSegments(self, int: int) -> None: ... + def setOutletTemperature(self, double: float) -> None: ... + def setOverallHeatTransferCoeff(self, double: float) -> None: ... + def setPipeEfficiency(self, double: float) -> None: ... + def setPipeModel(self, adiabaticPipe: jneqsim.process.equipment.pipeline.AdiabaticPipe) -> None: ... + def setProductivityIndex(self, double: float) -> None: ... + def setPumpDifferentialPressurePa(self, double: float) -> None: ... + def setPumpEfficiency(self, double: float) -> None: ... + def setPumpMinimumFlowKgS(self, double: float) -> None: ... + def setPumpModel(self, pump: jneqsim.process.equipment.pump.Pump) -> None: ... + def setPumpOperatingMode(self, pumpOperatingMode: 'LoopedPipeNetwork.PumpOperatingMode') -> None: ... + def setPumpOutletPressurePa(self, double: float) -> None: ... + def setPumpRatedPowerKW(self, double: float) -> None: ... + def setPumpReverseFlowPolicy(self, pumpReverseFlowPolicy: 'LoopedPipeNetwork.PumpReverseFlowPolicy') -> None: ... + def setPumpSpeed(self, double: float) -> None: ... + def setRegulatorSetPoint(self, double: float) -> None: ... + def setRemainingWallLife(self, double: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setReynoldsNumber(self, double: float) -> None: ... + def setRoughness(self, double: float) -> None: ... + def setSandConcentration(self, double: float) -> None: ... + def setSandRate(self, double: float) -> None: ... + def setTubingInclination(self, double: float) -> None: ... + def setTubingSegments(self, int: int) -> None: ... + def setVelocity(self, double: float) -> None: ... + def setVogelQmax(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def setWaterCut(self, double: float) -> None: ... + def setWaterFlowRate(self, double: float) -> None: ... + def setWaterInjectionRate(self, double: float) -> None: ... + class HydraulicProfile: + def getCellLengthM(self) -> typing.MutableSequence[float]: ... + def getGasSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldup(self) -> typing.MutableSequence[float]: ... + def getLiquidSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getPositionM(self) -> typing.MutableSequence[float]: ... + def getPressurePa(self) -> typing.MutableSequence[float]: ... + def getTemperatureK(self) -> typing.MutableSequence[float]: ... + class NodeType(java.lang.Enum['LoopedPipeNetwork.NodeType']): + SOURCE: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... + SINK: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... + JUNCTION: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... @typing.overload @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'TransientSpeciesConservationReport.LocationType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NodeType': ... @staticmethod - def values() -> typing.MutableSequence['TransientSpeciesConservationReport.LocationType']: ... - -class TwoFluidPipeNetwork(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addCompressibleNode(self, string: typing.Union[java.lang.String, str], upstreamCompressibleVolume: jneqsim.process.equipment.pipeline.UpstreamCompressibleVolume) -> None: ... - def addFixedPressureNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> None: ... - def getLastBalanceReport(self) -> 'TwoFluidPipeNetwork.BalanceReport': ... - def getName(self) -> java.lang.String: ... - def getNodePressurePa(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipe(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... - def getSimulationTimeSeconds(self) -> float: ... - def initialize(self, uUID: java.util.UUID) -> None: ... - def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - class BalanceReport(java.io.Serializable): - def getElapsedTimeSeconds(self) -> float: ... - def getExternalInletMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - def getExternalOutletMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - def getFinalMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - def getInitialMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - def getRelativeResidual(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - def getResidualKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - def getSourceMassKg(self, phase: jneqsim.process.equipment.pipeline.TwoFluidMassBalanceReport.Phase) -> float: ... - -class WellFlowlineNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'WellFlowlineNetwork.Branch': ... - @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... - @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... - @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'WellFlowlineNetwork.Branch': ... - @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... - def addManifold(self, string: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'WellFlowlineNetwork.ManifoldNode': ... - def connectManifolds(self, manifoldNode: 'WellFlowlineNetwork.ManifoldNode', manifoldNode2: 'WellFlowlineNetwork.ManifoldNode', pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... - def createManifold(self, string: typing.Union[java.lang.String, str]) -> 'WellFlowlineNetwork.ManifoldNode': ... - def getArrivalMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... - def getArrivalStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... - def getManifolds(self) -> java.util.List['WellFlowlineNetwork.ManifoldNode']: ... - def getTerminalManifoldPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def run(self) -> None: ... - @typing.overload - def run(self, uUID: java.util.UUID) -> None: ... - @typing.overload - def runTransient(self, double: float) -> None: ... - @typing.overload - def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setFacilityPipeline(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... - def setForceFlowFromPressureSolve(self, boolean: bool) -> None: ... - def setIterationTolerance(self, double: float) -> None: ... - def setMaxIterations(self, int: int) -> None: ... - def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPropagateArrivalPressureToWells(self, boolean: bool) -> None: ... - def setTargetEndpointPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - @typing.overload - def toJson(self) -> java.lang.String: ... - class Branch: - def getChoke(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... - def getName(self) -> java.lang.String: ... - def getPipeline(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... - def getWell(self) -> jneqsim.process.equipment.reservoir.WellFlow: ... - def setChoke(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... - class ManifoldNode: - def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... - def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... - def getName(self) -> java.lang.String: ... - -class GasQualityMetric(java.lang.Enum['GasQualityMetric'], NetworkQualityMetric): - SUPERIOR_CALORIFIC_VALUE: typing.ClassVar['GasQualityMetric'] = ... - INFERIOR_CALORIFIC_VALUE: typing.ClassVar['GasQualityMetric'] = ... - WOBBE_INDEX: typing.ClassVar['GasQualityMetric'] = ... - RELATIVE_DENSITY: typing.ClassVar['GasQualityMetric'] = ... - CO2_MOLE_PERCENT: typing.ClassVar['GasQualityMetric'] = ... - COMPONENT_MOLE_PERCENT: typing.ClassVar['GasQualityMetric'] = ... - HYDROCARBON_DEW_POINT_TEMPERATURE: typing.ClassVar['GasQualityMetric'] = ... - HYDROCARBON_DEW_POINT_PRESSURE: typing.ClassVar['GasQualityMetric'] = ... - WATER_DEW_POINT_TEMPERATURE: typing.ClassVar['GasQualityMetric'] = ... - CRICONDENBAR: typing.ClassVar['GasQualityMetric'] = ... - CRICONDENTHERM: typing.ClassVar['GasQualityMetric'] = ... - OPERATING_PRESSURE: typing.ClassVar['GasQualityMetric'] = ... - OPERATING_TEMPERATURE: typing.ClassVar['GasQualityMetric'] = ... - MEASURED_ATTRIBUTE: typing.ClassVar['GasQualityMetric'] = ... - def getDefaultUnit(self) -> java.lang.String: ... - def getDomain(self) -> java.lang.String: ... - def getKey(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'GasQualityMetric': ... - @staticmethod - def values() -> typing.MutableSequence['GasQualityMetric']: ... + def values() -> typing.MutableSequence['LoopedPipeNetwork.NodeType']: ... + class PipeModelType(java.lang.Enum['LoopedPipeNetwork.PipeModelType']): + DARCY_WEISBACH: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... + BEGGS_BRILL: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... + TWO_FLUID: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PipeModelType': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.PipeModelType']: ... + class PumpOperatingMode(java.lang.Enum['LoopedPipeNetwork.PumpOperatingMode']): + FIXED_OUTLET_PRESSURE: typing.ClassVar['LoopedPipeNetwork.PumpOperatingMode'] = ... + FIXED_DIFFERENTIAL_PRESSURE: typing.ClassVar['LoopedPipeNetwork.PumpOperatingMode'] = ... + CURVE: typing.ClassVar['LoopedPipeNetwork.PumpOperatingMode'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PumpOperatingMode': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.PumpOperatingMode']: ... + class PumpReverseFlowPolicy(java.lang.Enum['LoopedPipeNetwork.PumpReverseFlowPolicy']): + CHECK_VALVE: typing.ClassVar['LoopedPipeNetwork.PumpReverseFlowPolicy'] = ... + BYPASS: typing.ClassVar['LoopedPipeNetwork.PumpReverseFlowPolicy'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PumpReverseFlowPolicy': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.PumpReverseFlowPolicy']: ... + class SolverType(java.lang.Enum['LoopedPipeNetwork.SolverType']): + HARDY_CROSS: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... + SEQUENTIAL: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... + NEWTON_RAPHSON: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.SolverType': ... + @staticmethod + def values() -> typing.MutableSequence['LoopedPipeNetwork.SolverType']: ... class NetworkQualitySpecification(NetworkQualityProfile): def __init__(self, string: typing.Union[java.lang.String, str]): ... diff --git a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi index f37bea2d..16e57f6c 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi @@ -91,7 +91,10 @@ class Fittings(java.io.Serializable): def __init__(self, fittings: 'Fittings', string: typing.Union[java.lang.String, str], double: float): ... def getEquivalentLength(self, double: float) -> float: ... def getFittingName(self) -> java.lang.String: ... + @typing.overload def getKFactor(self) -> float: ... + @typing.overload + def getKFactor(self, double: float) -> float: ... def getLtoD(self) -> float: ... def setFittingName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setKFactor(self, double: float) -> None: ... @@ -1603,6 +1606,7 @@ class TwoFluidPipe(Pipeline): def getElevationProfile(self) -> typing.MutableSequence[float]: ... def getEntrainedDropletDiameterProfile(self) -> typing.MutableSequence[float]: ... def getEntrainmentFractionProfile(self) -> typing.MutableSequence[float]: ... + def getEquivalentAqueousFilmThicknessProfile(self) -> typing.MutableSequence[float]: ... def getEquivalentLengthFittings(self) -> float: ... def getErosionRiskAssessment(self, double: float) -> java.lang.String: ... @typing.overload @@ -1610,6 +1614,7 @@ class TwoFluidPipe(Pipeline): @typing.overload def getErosionalVelocity(self, double: float) -> float: ... def getErosionalVelocityMargin(self, double: float) -> float: ... + def getFilmDryingStatus(self, double: float, double2: float) -> 'TwoFluidPipe.FilmDryingStatus': ... def getFirstHydrateRiskSection(self) -> int: ... def getFirstTransientPressureLimitTime(self) -> float: ... def getFlowAnalysisSummary(self) -> java.lang.String: ... @@ -1817,6 +1822,7 @@ class TwoFluidPipe(Pipeline): def setImplicitInterfacialPressureCoupling(self, boolean: bool) -> None: ... def setIncludeEnergyEquation(self, boolean: bool) -> None: ... def setIncludeMassTransfer(self, boolean: bool) -> None: ... + def setInitialAqueousFilm(self, systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setInletBoundaryCondition(self, boundaryCondition: 'TwoFluidPipe.BoundaryCondition') -> None: ... def setInletLossCoefficient(self, double: float) -> None: ... @typing.overload @@ -1842,6 +1848,7 @@ class TwoFluidPipe(Pipeline): def setMinimumLiquidHoldup(self, double: float) -> None: ... def setMinimumSlipFactor(self, double: float) -> None: ... def setMomentumForceDiagnosticsEnabled(self, boolean: bool) -> None: ... + def setNonEquilibriumFilmTransfer(self, nonEquilibriumFilmTransfer: jneqsim.process.equipment.pipeline.twophasepipe.NonEquilibriumFilmTransfer) -> None: ... def setNumberOf45DegreeBends(self, int: int) -> None: ... def setNumberOf90DegreeBends(self, int: int) -> None: ... def setNumberOfSections(self, int: int) -> None: ... @@ -1867,7 +1874,10 @@ class TwoFluidPipe(Pipeline): def setSteadyStateUnderRelaxation(self, double: float) -> None: ... def setStoreComponentConservationHistory(self, boolean: bool) -> None: ... def setSurfaceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload def setSurfaceTemperatureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setSurfaceTemperatureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... def setTerrainSlugCriticalHoldup(self, double: float) -> None: ... def setThermalCalculator(self, multilayerThermalCalculator: MultilayerThermalCalculator) -> None: ... def setThermodynamicUpdateInterval(self, int: int) -> None: ... @@ -1903,6 +1913,19 @@ class TwoFluidPipe(Pipeline): def valueOf(string: typing.Union[java.lang.String, str]) -> 'TwoFluidPipe.BoundaryCondition': ... @staticmethod def values() -> typing.MutableSequence['TwoFluidPipe.BoundaryCondition']: ... + class FilmDryingStatus(java.lang.Enum['TwoFluidPipe.FilmDryingStatus']): + RUNNING: typing.ClassVar['TwoFluidPipe.FilmDryingStatus'] = ... + RESIDUAL_THRESHOLD_REACHED: typing.ClassVar['TwoFluidPipe.FilmDryingStatus'] = ... + HORIZON_REACHED: typing.ClassVar['TwoFluidPipe.FilmDryingStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TwoFluidPipe.FilmDryingStatus': ... + @staticmethod + def values() -> typing.MutableSequence['TwoFluidPipe.FilmDryingStatus']: ... class InsulationType(java.lang.Enum['TwoFluidPipe.InsulationType']): NONE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... UNINSULATED_SUBSEA: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi index 088432e5..b5969dc1 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi @@ -297,6 +297,11 @@ class LiquidAccumulationTracker(java.io.Serializable): def __init__(self): ... def toString(self) -> java.lang.String: ... +class NonEquilibriumFilmTransfer(java.io.Serializable): + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float): ... + def calculate(self, twoFluidComponentTransport: 'TwoFluidComponentTransport', twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... + def gasMassFlux(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> typing.MutableSequence[float]: ... + class PhaseMassTransfer(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool, string: typing.Union[java.lang.String, str]): ... def getErrorMessage(self) -> java.lang.String: ... @@ -846,8 +851,11 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def values() -> typing.MutableSequence['TransientPipe.BoundaryCondition']: ... class TwoFluidComponentTransport(java.io.Serializable): + @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray]): ... @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], systemInterface2: jneqsim.thermo.system.SystemInterface): ... + @typing.overload def advance(self, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, double6: float) -> typing.MutableSequence[float]: ... @typing.overload def advance(self, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, double4: float) -> typing.MutableSequence[float]: ... @@ -855,9 +863,11 @@ class TwoFluidComponentTransport(java.io.Serializable): def createComponentSourceRates(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... def createLatentHeatSourceRates(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray]) -> typing.MutableSequence[float]: ... def createOutletFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float) -> jneqsim.thermo.system.SystemInterface: ... + def createPhaseState(self, int: int, int2: int, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... def createReport(self, double: float, int: int, double2: float) -> jneqsim.process.equipment.pipeline.TwoFluidComponentConservationReport: ... def createThermodynamicState(self, int: int, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getInventoryKg(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... def getMassFractionProfile(self, int: int, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... class TwoFluidConservationEquations(java.io.Serializable): @@ -929,6 +939,7 @@ class TwoFluidConservationEquations(java.io.Serializable): def setEnableStiffBubbleDrag(self, boolean: bool) -> None: ... def setEnableVirtualMassForce(self, boolean: bool) -> None: ... def setEnableWaterOilSlip(self, boolean: bool) -> None: ... + def setFiniteRateComponentSources(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray]) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... def setImplicitInterfacialPressure(self, boolean: bool) -> None: ... def setIncludeEnergyEquation(self, boolean: bool) -> None: ... @@ -953,6 +964,7 @@ class TwoFluidConservationEquations(java.io.Serializable): def getOutletMassFlowKgPerSecond(self) -> typing.MutableSequence[float]: ... def getSourceMassFlowKgPerSecond(self) -> typing.MutableSequence[float]: ... class TransactionalEvaluation(java.io.Serializable): + def getDirectionalPhaseFaceFluxes(self) -> typing.MutableSequence[typing.MutableSequence[jneqsim.process.equipment.pipeline.twophasepipe.numerics.DirectionalPhaseFaceFlux]]: ... def getMassBalanceRate(self) -> 'TwoFluidConservationEquations.MassBalanceRate': ... def getMomentumSourceForcesPerLength(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPhaseMassFaceFluxes(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @@ -1127,6 +1139,7 @@ class __module_protocol__(Protocol): FlowRegimeDetector: typing.Type[FlowRegimeDetector] LagrangianSlugTracker: typing.Type[LagrangianSlugTracker] LiquidAccumulationTracker: typing.Type[LiquidAccumulationTracker] + NonEquilibriumFilmTransfer: typing.Type[NonEquilibriumFilmTransfer] PhaseMassTransfer: typing.Type[PhaseMassTransfer] PipeSection: typing.Type[PipeSection] SevereSluggingSystemDiagnostic: typing.Type[SevereSluggingSystemDiagnostic] diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi index a024e9f2..f7c16715 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi @@ -128,6 +128,22 @@ class CoupledPressureMomentumSolver(java.io.Serializable): def isConverged(self) -> bool: ... def isPressureCorrectionLimited(self) -> bool: ... +class DirectionalPhaseFaceFlux(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float): ... + def getAdvectiveMomentumN(self) -> float: ... + def getForwardAdvectiveMomentumN(self) -> float: ... + def getForwardDonorResidualN(self) -> float: ... + def getForwardMassFlowKgPerSecond(self) -> float: ... + def getLeftDonorMassKgPerM(self) -> float: ... + def getLeftDonorMomentumKgPerSecond(self) -> float: ... + def getPressureTractionN(self) -> float: ... + def getReverseAdvectiveMomentumN(self) -> float: ... + def getReverseDonorResidualN(self) -> float: ... + def getReverseMassFlowKgPerSecond(self) -> float: ... + def getRightDonorMassKgPerM(self) -> float: ... + def getRightDonorMomentumKgPerSecond(self) -> float: ... + def getSignedMassFlowKgPerSecond(self) -> float: ... + class DispersedBubbleDragSolver: @staticmethod def relax(flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, interfacialFriction: jneqsim.process.equipment.pipeline.twophasepipe.closure.InterfacialFriction) -> typing.MutableSequence[float]: ... @@ -309,9 +325,11 @@ class UnsplitTransientSolver(java.io.Serializable): def getMinimumPressure(self) -> float: ... def getRelativeTolerance(self) -> float: ... def getTimeIntegrationMethod(self) -> 'UnsplitTransientSolver.TimeIntegrationMethod': ... + def isDirectionalComplementarityEnabled(self) -> bool: ... def residual(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], double6: float, double7: float, double8: float, boolean: bool, model: typing.Union['UnsplitTransientSolver.Model', typing.Callable]) -> typing.MutableSequence[float]: ... def scaledJacobian(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], double6: float, double7: float, double8: float, boolean: bool, model: typing.Union['UnsplitTransientSolver.Model', typing.Callable]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def setCellStencilHalfWidth(self, int: int) -> None: ... + def setDirectionalComplementarityEnabled(self, boolean: bool) -> None: ... def setMaximumActiveSetUpdates(self, int: int) -> None: ... def setMaximumIterations(self, int: int) -> None: ... def setMinimumPressure(self, double: float) -> None: ... @@ -319,13 +337,22 @@ class UnsplitTransientSolver(java.io.Serializable): def setTimeIntegrationMethod(self, timeIntegrationMethod: 'UnsplitTransientSolver.TimeIntegrationMethod') -> None: ... def solve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float, boolean: bool, model: typing.Union['UnsplitTransientSolver.Model', typing.Callable]) -> 'UnsplitTransientSolver.Result': ... class Evaluation: + @typing.overload def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], directionalPhaseFaceFluxArray: typing.Union[typing.List[typing.MutableSequence[DirectionalPhaseFaceFlux]], jpype.JArray]): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], directionalPhaseFaceFluxArray: typing.Union[typing.List[typing.MutableSequence[DirectionalPhaseFaceFlux]], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def getCellLengthsM(self) -> typing.MutableSequence[float]: ... + def getDirectionalPhaseFaceFluxes(self) -> typing.MutableSequence[typing.MutableSequence[DirectionalPhaseFaceFlux]]: ... + def getPhaseMassSourcesPerLength(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... class Model: def beginLinearization(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def endLinearization(self) -> None: ... def evaluate(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], double5: float, double6: float, boolean: bool) -> 'UnsplitTransientSolver.Evaluation': ... def updateActiveSet(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... class Result(java.io.Serializable): + def getDirectionalPhaseFaceFluxes(self) -> typing.MutableSequence[typing.MutableSequence[DirectionalPhaseFaceFlux]]: ... def getIterations(self) -> int: ... def getMaximumScaledResidual(self) -> float: ... def getMinimumAcceptedStepLength(self) -> float: ... @@ -395,6 +422,7 @@ class TwoFluidUnsplitModelAdapter(UnsplitTransientSolver.Model, java.io.Serializ def getMaximumScaledResidual(self) -> float: ... def getMidpointEvaluation(self) -> jneqsim.process.equipment.pipeline.twophasepipe.TwoFluidConservationEquations.TransactionalEvaluation: ... def getPressureInterpolationTimeScale(self) -> float: ... + def getSolvedDirectionalPhaseFaceFluxes(self) -> typing.MutableSequence[typing.MutableSequence[DirectionalPhaseFaceFlux]]: ... def getStartTimeSeconds(self) -> float: ... def getTimeIntegrationWeight(self) -> float: ... def getTimeStepSeconds(self) -> float: ... @@ -415,6 +443,7 @@ class __module_protocol__(Protocol): AnchoredIsothermalDensityModel: typing.Type[AnchoredIsothermalDensityModel] ConservativeStateLimiter: typing.Type[ConservativeStateLimiter] CoupledPressureMomentumSolver: typing.Type[CoupledPressureMomentumSolver] + DirectionalPhaseFaceFlux: typing.Type[DirectionalPhaseFaceFlux] DispersedBubbleDragSolver: typing.Type[DispersedBubbleDragSolver] MUSCLReconstructor: typing.Type[MUSCLReconstructor] StiffInterphaseMomentumSolver: typing.Type[StiffInterphaseMomentumSolver] diff --git a/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi b/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi index b20613b5..9f1e89dd 100644 --- a/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi @@ -591,9 +591,11 @@ class WellFlow(jneqsim.process.equipment.TwoPortEquipment): isTargetZone: bool = ... def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float): ... def getFractureContainmentMargin(self, double: float) -> float: ... + def getReservoirPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... def isFractureContained(self, double: float) -> bool: ... def setBarrierStressContrast(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setFracturePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... class WellSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload diff --git a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi index 380e747f..9518f0f1 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi @@ -374,6 +374,15 @@ class ProductionProfileGenerator(java.io.Serializable): def getInitialRatePerDay(self) -> float: ... def getLastHistoryYear(self) -> int: ... +class ProfitOilShareTable(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def adjustmentPp(self, double: float, double2: float) -> float: ... + @staticmethod + def brazilAnnexXx() -> 'ProfitOilShareTable': ... + def effectiveShare(self, double: float, double2: float, double3: float) -> float: ... + def getPriceBandCount(self) -> int: ... + def getRateBandCount(self) -> int: ... + class PscBidEconomics(java.io.Serializable): def __init__(self): ... def copy(self) -> 'PscBidEconomics': ... @@ -390,6 +399,10 @@ class PscBidEconomics(java.io.Serializable): def setPriceLinkedShare(self, double: float, double2: float) -> 'PscBidEconomics': ... def setPriceShareSteps(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'PscBidEconomics': ... def setProfitOilShareOffered(self, double: float) -> 'PscBidEconomics': ... + @typing.overload + def setProfitOilShareTable(self, profitOilShareTable: ProfitOilShareTable, double: float) -> 'PscBidEconomics': ... + @typing.overload + def setProfitOilShareTable(self, profitOilShareTable: ProfitOilShareTable, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PscBidEconomics': ... def setRoyaltyRate(self, double: float) -> 'PscBidEconomics': ... def setSignatureBonus(self, double: float) -> 'PscBidEconomics': ... def setTax(self, double: float, int: int, double2: float) -> 'PscBidEconomics': ... @@ -626,6 +639,7 @@ class __module_protocol__(Protocol): NorwegianTaxModel: typing.Type[NorwegianTaxModel] PortfolioOptimizer: typing.Type[PortfolioOptimizer] ProductionProfileGenerator: typing.Type[ProductionProfileGenerator] + ProfitOilShareTable: typing.Type[ProfitOilShareTable] PscBidEconomics: typing.Type[PscBidEconomics] SensitivityAnalyzer: typing.Type[SensitivityAnalyzer] TaxModel: typing.Type[TaxModel] diff --git a/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi index 9f4dfc28..1a5834cd 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi @@ -66,6 +66,8 @@ class SubseaProductionSystem(java.io.Serializable): def assessOnBottomStabilityLineDesigns(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> java.util.Map[java.lang.String, jneqsim.process.engineering.calculation.EngineeringCalculationResult[jneqsim.process.mechanicaldesign.subsea.DnvRpF109OnBottomStabilityAssessment]]: ... def build(self) -> 'SubseaProductionSystem': ... def clearLineDesigns(self) -> None: ... + def createLineDesignDecisionVariable(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.mechanicaldesign.subsea.SURFCostEstimator.LineDesign], int: int) -> jneqsim.process.equipment.network.NetworkDecisionVariable: ... + def createLineDesignScreeningConstraints(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology, boolean: bool) -> java.util.List[jneqsim.process.equipment.network.NetworkConstraint]: ... def createMinimumOutletTemperatureConstraints(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology, boolean: bool) -> java.util.List[jneqsim.process.equipment.network.NetworkConstraint]: ... def createSurfCapitalCostObjective(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology, double: float) -> jneqsim.process.equipment.network.NetworkObjective: ... def createSurfDesignBasis(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> FieldNetworkSurfDesignBasis: ... diff --git a/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi index ed5b72a6..db0d1278 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi @@ -550,6 +550,7 @@ class MechanicalDesign(java.io.Serializable): def addDesignDataSource(self, mechanicalDesignDataSource: typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]) -> None: ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... + def clearProcessDesignParameterOverride(self, string: typing.Union[java.lang.String, str]) -> None: ... def costEstimateToJson(self) -> java.lang.String: ... def displayResults(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... @@ -637,6 +638,8 @@ class MechanicalDesign(java.io.Serializable): def getOuterDiameter(self) -> float: ... def getPower(self) -> float: ... def getPressureMarginFactor(self) -> float: ... + def getProcessDesignCompanyIdentifier(self) -> java.lang.String: ... + def getProcessDesignParameterSources(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getPurchasedEquipmentCost(self) -> float: ... def getRecommendedStandards(self) -> java.util.Map[java.lang.String, java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]]: ... @@ -658,6 +661,7 @@ class MechanicalDesign(java.io.Serializable): def hashCode(self) -> int: ... def initMechanicalDesign(self) -> None: ... def isHasSetCompanySpecificDesignStandards(self) -> bool: ... + def isProcessDesignParameterOverridden(self, string: typing.Union[java.lang.String, str]) -> bool: ... def readDesignSpecifications(self) -> None: ... def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... def setConstrutionMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... diff --git a/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi index 5fc75a40..3cae3279 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi @@ -21,6 +21,22 @@ class MechanicalDesignDataSource: def getDesignLimitsByStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... def hasStandard(self, string: typing.Union[java.lang.String, str]) -> bool: ... +class ProcessDesignParameters: + @staticmethod + def load(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, 'ProcessDesignParameters.Value']: ... + @staticmethod + def require(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProcessDesignParameters.Value'], typing.Mapping[typing.Union[java.lang.String, str], 'ProcessDesignParameters.Value']], string: typing.Union[java.lang.String, str]) -> 'ProcessDesignParameters.Value': ... + @staticmethod + def resolveCompany(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + class Value: + minimum: float = ... + maximum: float = ... + unit: java.lang.String = ... + company: java.lang.String = ... + document: java.lang.String = ... + def midpoint(self) -> float: ... + def source(self) -> java.lang.String: ... + class CsvMechanicalDesignDataSource(MechanicalDesignDataSource): def __init__(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]): ... def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... @@ -47,4 +63,5 @@ class __module_protocol__(Protocol): CsvMechanicalDesignDataSource: typing.Type[CsvMechanicalDesignDataSource] DatabaseMechanicalDesignDataSource: typing.Type[DatabaseMechanicalDesignDataSource] MechanicalDesignDataSource: typing.Type[MechanicalDesignDataSource] + ProcessDesignParameters: typing.Type[ProcessDesignParameters] StandardBasedCsvDataSource: typing.Type[StandardBasedCsvDataSource] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi index f6ac6fbd..875e92e3 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi @@ -72,8 +72,11 @@ class DesignStandard(java.io.Serializable): def computeSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... def equals(self, object: typing.Any) -> bool: ... def getEquipment(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getProcessDesignParameterSources(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getStandardName(self) -> java.lang.String: ... def hashCode(self) -> int: ... + @staticmethod + def normalizeCompanyIdentifier(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... def setDesignStandardName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEquipment(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> None: ... def setStandardName(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -639,6 +642,8 @@ class MaterialPipeDesignStandard(DesignStandard): def getEfactor(self) -> float: ... def getMinimumYeildStrength(self) -> float: ... def getTemperatureDeratingFactor(self) -> float: ... + def isDesignFactorExplicitlySet(self) -> bool: ... + def isEfactorExplicitlySet(self) -> bool: ... def readMaterialDesignStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... def setDesignFactor(self, double: float) -> None: ... def setEfactor(self, double: float) -> None: ... @@ -713,6 +718,8 @@ class SeparatorDesignStandard(DesignStandard): def getLiquidRetentionTime(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> float: ... def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... def getVolumetricDesignFactor(self) -> float: ... + def isFgExplicitlySet(self) -> bool: ... + def isVolumetricDesignFactorExplicitlySet(self) -> bool: ... def setFg(self, double: float) -> None: ... def setVolumetricDesignFactor(self, double: float) -> None: ... diff --git a/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi index 49a6aa11..1541bb71 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi @@ -245,6 +245,7 @@ class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalD def getUsedOverallHeatTransferCoefficient(self) -> float: ... def isSourServiceAssessment(self) -> bool: ... def loadProcessDesignParameters(self) -> None: ... + def readDesignSpecifications(self) -> None: ... def setAreaMarginFactor(self, double: float) -> None: ... def setBaffleCutPercent(self, double: float) -> None: ... def setBaffleSpacingRatio(self, double: float) -> None: ... diff --git a/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi index e82b8887..6056bf8b 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi @@ -20,6 +20,10 @@ import typing +class Api5LGrade: + @staticmethod + def normalize(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + class AviffScreeningCalculator(java.io.Serializable): def __init__(self): ... def calcScreening(self) -> None: ... @@ -395,6 +399,8 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def calculateTestPressure(self) -> float: ... def calculateVonMisesStress(self, double: float, double2: float, boolean: bool) -> float: ... def calculateWeightsAndAreas(self) -> None: ... + def clearDesignFactorOverride(self) -> None: ... + def clearLocationClassOverride(self) -> None: ... def estimateFatigueLife(self, double: float, double2: float) -> float: ... def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def generateDesignReport(self) -> java.lang.String: ... @@ -410,6 +416,7 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def getCorrosionAllowance(self) -> float: ... def getDesignCode(self) -> java.lang.String: ... def getDesignFactor(self) -> float: ... + def getDesignFactorSource(self) -> java.lang.String: ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getFabricationTolerance(self) -> float: ... @@ -471,6 +478,8 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def setCoatingPricePerM2(self, double: float) -> None: ... def setCoatingThickness(self, double: float) -> None: ... def setCoatingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompanyDesignFactor(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompanyLocationClass(self, int: int) -> None: ... def setConcreteCoatingThickness(self, double: float) -> None: ... def setContingencyPercentage(self, double: float) -> None: ... @typing.overload @@ -571,6 +580,7 @@ class PipelineMechanicalDesignDataSource: designCode: java.lang.String = ... fabricationTolerance: float = ... def __init__(self): ... + def getSources(self) -> java.util.Map[java.lang.String, java.lang.String]: ... class PipeMaterialData: grade: java.lang.String = ... specificationNumber: java.lang.String = ... @@ -826,6 +836,7 @@ class TopsidePipingMechanicalDesignCalculator(PipeMechanicalDesignCalculator): class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pipeline")``. + Api5LGrade: typing.Type[Api5LGrade] AviffScreeningCalculator: typing.Type[AviffScreeningCalculator] DnvStF101LimitStateCheck: typing.Type[DnvStF101LimitStateCheck] DnvStF101PipelineAssessment: typing.Type[DnvStF101PipelineAssessment] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi index 9ea7b241..9df8509f 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi @@ -339,6 +339,7 @@ class PLETMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHubMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setStructureMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -398,7 +399,9 @@ class SURFCostEstimator: def setPipelineInstallMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPipelineMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPipelineWallThicknessMm(self, double: float) -> None: ... + def setPlemBranchSizeInches(self, double: float) -> None: ... def setPlemHeaderSizeInches(self, double: float) -> None: ... + def setPlemSlots(self, int: int) -> None: ... def setPlemWeightTonnes(self, double: float) -> None: ... def setPletHubSizeInches(self, double: float) -> None: ... def setPletWeightTonnes(self, double: float) -> None: ... @@ -531,6 +534,7 @@ class SubseaCostEstimator: def calculateFlexiblePipeCost(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool) -> None: ... def calculateJumperCost(self, double: float, double2: float, boolean: bool, double3: float) -> None: ... def calculateManifoldCost(self, int: int, double: float, double2: float, boolean: bool) -> None: ... + def calculatePLEMCost(self, double: float, int: int, double2: float, double3: float, boolean: bool) -> None: ... def calculatePLETCost(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool) -> None: ... def calculateTreeCost(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool) -> None: ... def calculateUmbilicalCost(self, double: float, int: int, int2: int, int3: int, double2: float, boolean: bool) -> None: ... @@ -542,6 +546,7 @@ class SubseaCostEstimator: def getFabricationCost(self) -> float: ... def getInstallationCost(self) -> float: ... def getRegion(self) -> 'SubseaCostEstimator.Region': ... + def getRegionalCostFactor(self) -> float: ... def getTotalCost(self) -> float: ... def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... @@ -638,6 +643,7 @@ class SubseaTreeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... diff --git a/src/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/process/processmodel/__init__.pyi index 9b5b1a58..6c42add5 100644 --- a/src/jneqsim-stubs/process/processmodel/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/__init__.pyi @@ -250,279 +250,8 @@ class ProcessLoader: @staticmethod def loadProcessFromYaml(string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... -class ProcessModel(java.lang.Runnable, java.io.Serializable): - DEFAULT_ENGINEERING_TOLERANCE: typing.ClassVar[float] = ... - DEFAULT_AUTO_TOLERANCE_CEILING: typing.ClassVar[float] = ... - AUTO_TOLERANCE_STALL_WINDOW: typing.ClassVar[int] = ... - DEFAULT_MASS_CLOSURE_TOLERANCE: typing.ClassVar[float] = ... - DEFAULT_BOUNDARY_FLOW_FLOOR: typing.ClassVar[float] = ... - DEFAULT_AUTO_TUNING_FLOW_FRACTION: typing.ClassVar[float] = ... - def __init__(self): ... - def activateAll(self) -> None: ... - @typing.overload - def activateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... - @typing.overload - def activateSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... - def add(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> bool: ... - def applyDesignCapacities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]]]) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.EquipmentDesignData.ApplyResult]: ... - def applyInterAreaLinks(self, jsonArray: com.google.gson.JsonArray) -> java.util.List[java.lang.String]: ... - def applyMechanicalDesignCapacityConstraints(self) -> int: ... - @typing.overload - def autoSizeEquipment(self) -> int: ... - @typing.overload - def autoSizeEquipment(self, double: float) -> int: ... - @typing.overload - def autoSizeEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... - def beginTransientStepTransaction(self) -> jneqsim.process.dynamics.TransientStepTransaction: ... - @staticmethod - def buildFromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... - @staticmethod - def buildFromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... - @typing.overload - def checkMassBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def checkMassBalance(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - def createGraphvizExporter(self) -> 'ProcessModelGraphvizExporter': ... - @typing.overload - def deactivateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... - @typing.overload - def deactivateSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... - def disableAllConstraints(self) -> int: ... - def enableAllConstraints(self) -> int: ... - def enableFastLargeModelMode(self) -> int: ... - @typing.overload - def exportAreaDOT(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... - @typing.overload - def exportAreaDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... - def exportState(self) -> jneqsim.process.processmodel.lifecycle.ProcessModelState: ... - def exportToGraphviz(self, string: typing.Union[java.lang.String, str]) -> None: ... - def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... - @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @staticmethod - def fromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @typing.overload - def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... - @typing.overload - def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... - def get(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... - def getAbsoluteFlowTolerance(self) -> float: ... - def getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... - def getAreaNames(self) -> java.util.List[java.lang.String]: ... - def getAutoToleranceCeiling(self) -> float: ... - def getAutoToleranceSummary(self) -> java.lang.String: ... - def getAutoTuningFlowFraction(self) -> float: ... - def getAutoTuningSummary(self) -> java.lang.String: ... - def getAutomation(self) -> jneqsim.process.automation.ProcessAutomation: ... - def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getBottleneckRanking(self) -> java.util.List[java.lang.String]: ... - def getBottleneckUtilization(self) -> float: ... - def getBoundaryFlowFloor(self) -> float: ... - def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... - def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... - def getCheckpointInterval(self) -> int: ... - def getCheckpointPath(self) -> java.lang.String: ... - def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... - def getConvergenceReportJson(self) -> java.lang.String: ... - def getConvergenceSummary(self) -> java.lang.String: ... - def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getDetectedPlantFlowScale(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... - def getError(self) -> float: ... - def getEventScheduler(self) -> jneqsim.process.dynamics.EventScheduler: ... - def getExecutionPartitionInfo(self) -> java.lang.String: ... - def getExergyAnalysis(self) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... - def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getFailedMassBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def getFailedMassBalance(self, double: float) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def getFailedMassBalance(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def getFailedMassBalanceReport(self) -> java.lang.String: ... - @typing.overload - def getFailedMassBalanceReport(self, double: float) -> java.lang.String: ... - @typing.overload - def getFailedMassBalanceReport(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... - def getFlowTolerance(self) -> float: ... - def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getLastBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... - def getLastIterationCount(self) -> int: ... - def getLastMassClosureError(self) -> float: ... - def getLastMaxFlowError(self) -> float: ... - def getLastMaxPressureError(self) -> float: ... - def getLastMaxTemperatureError(self) -> float: ... - def getLastUnitMassClosureError(self) -> float: ... - @typing.overload - def getMassBalanceReport(self) -> java.lang.String: ... - @typing.overload - def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getMassClosureSummary(self) -> java.lang.String: ... - def getMassClosureTolerance(self) -> float: ... - def getMaxIterations(self) -> int: ... - def getNonConvergedBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... - def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPressureTolerance(self) -> float: ... - def getProcessSystemNames(self) -> java.util.List[java.lang.String]: ... - def getProgressListener(self) -> 'ProcessModel.ModelProgressListener': ... - def getReport_json(self) -> java.lang.String: ... - def getRunStatus(self) -> 'RunStatus': ... - def getRunStatusJson(self) -> java.lang.String: ... - def getTemperatureTolerance(self) -> float: ... - def getThreads(self) -> java.util.Map[java.lang.String, java.lang.Thread]: ... - def getTotalFeedFlowRate(self) -> float: ... - def getTransientTransactionCoverage(self) -> jneqsim.process.dynamics.TransientTransactionCoverage: ... - def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getUnitMassClosureOffenders(self) -> java.lang.String: ... - @typing.overload - def getUnitNames(self) -> java.util.List[java.lang.String]: ... - @typing.overload - def getUnitNames(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getUtilizationSnapshotJson(self) -> java.lang.String: ... - def getValidationReport(self) -> java.lang.String: ... - def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.automation.SimulationVariable]: ... - def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getWorstBoundaryStreamError(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModel.BoundaryStreamError': ... - def getWorstBoundaryStreamName(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def invalidateTopology(self) -> None: ... - def isAnyEquipmentOverloaded(self) -> bool: ... - def isAnyHardLimitExceeded(self) -> bool: ... - def isAutoConvergenceTuning(self) -> bool: ... - def isAutoLowFlowBypass(self) -> bool: ... - def isAutoMassClosureGate(self) -> bool: ... - def isAutoRecycles(self) -> bool: ... - def isAutoTolerance(self) -> bool: ... - def isAutoValidate(self) -> bool: ... - def isCheckpointEnabled(self) -> bool: ... - def isFinished(self) -> bool: ... - def isModelConverged(self) -> bool: ... - def isPreventNestedParallelExecution(self) -> bool: ... - def isPublishEvents(self) -> bool: ... - def isReadyToRun(self) -> bool: ... - def isRunStep(self) -> bool: ... - def isToleranceExplicit(self) -> bool: ... - def isUnitMassClosureGate(self) -> bool: ... - def isUseAdaptiveModelParallelism(self) -> bool: ... - def isUseCoordinatedRecycleAcceleration(self) -> bool: ... - def isUseFastRecycleConvergence(self) -> bool: ... - def isUseFlashWarmStart(self) -> bool: ... - def isUseIncrementalAreaExecution(self) -> bool: ... - def isUseOptimizedExecution(self) -> bool: ... - @staticmethod - def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @staticmethod - def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @staticmethod - def loadStateFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @typing.overload - def makeRecycles(self) -> java.util.List[jneqsim.process.equipment.util.Recycle]: ... - @typing.overload - def makeRecycles(self, double: float) -> java.util.List[jneqsim.process.equipment.util.Recycle]: ... - def remove(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def resetAutoTuning(self) -> int: ... - def resolveStreamReference(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def run(self) -> None: ... - def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... - def runAsThread(self) -> java.lang.Thread: ... - def runStep(self) -> None: ... - def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def runTransientTransactional(self, double: float, uUID: java.util.UUID) -> None: ... - @typing.overload - def runUntilConverged(self) -> bool: ... - @typing.overload - def runUntilConverged(self, int: int) -> bool: ... - @typing.overload - def runUntilConverged(self, int: int, double: float) -> bool: ... - @typing.overload - def runUntilConverged(self, int: int, double: float, double2: float) -> bool: ... - def saveAuto(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def saveStateToFile(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def saveToNeqsim(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def setAbsoluteFlowTolerance(self, double: float) -> None: ... - def setAutoConvergenceTuning(self, boolean: bool) -> None: ... - def setAutoLowFlowBypass(self, boolean: bool) -> None: ... - def setAutoMassClosureGate(self, boolean: bool) -> None: ... - def setAutoRecycles(self, boolean: bool) -> None: ... - def setAutoTolerance(self, boolean: bool) -> None: ... - def setAutoToleranceCeiling(self, double: float) -> None: ... - def setAutoTuningFlowFraction(self, double: float) -> None: ... - def setAutoValidate(self, boolean: bool) -> None: ... - def setBoundaryFlowFloor(self, double: float) -> None: ... - def setCapacityAnalysisEnabled(self, boolean: bool) -> int: ... - def setCheckpointEnabled(self, boolean: bool) -> None: ... - def setCheckpointInterval(self, int: int) -> None: ... - def setCheckpointPath(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEventScheduler(self, eventScheduler: jneqsim.process.dynamics.EventScheduler) -> None: ... - def setFlowTolerance(self, double: float) -> None: ... - def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... - def setMassClosureTolerance(self, double: float) -> None: ... - def setMaxIterations(self, int: int) -> None: ... - @typing.overload - def setMultiPhaseCheck(self, boolean: bool) -> int: ... - @typing.overload - def setMultiPhaseCheck(self, string: typing.Union[java.lang.String, str], boolean: bool) -> int: ... - def setPressureTolerance(self, double: float) -> None: ... - def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... - def setProgressListener(self, modelProgressListener: typing.Union['ProcessModel.ModelProgressListener', typing.Callable]) -> None: ... - @typing.overload - def setPropertyInitLevel(self, string: typing.Union[java.lang.String, str], propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... - @typing.overload - def setPropertyInitLevel(self, propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... - def setPublishEvents(self, boolean: bool) -> None: ... - def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... - def setRecycleMinimumFlow(self, double: float) -> int: ... - def setRunStep(self, boolean: bool) -> None: ... - @typing.overload - def setSectionLowFlowThreshold(self, string: typing.Union[java.lang.String, str], double: float) -> bool: ... - @typing.overload - def setSectionLowFlowThreshold(self, double: float) -> None: ... - def setSectionLowFlowThresholdFraction(self, double: float) -> int: ... - def setTemperatureTolerance(self, double: float) -> None: ... - def setTolerance(self, double: float) -> None: ... - def setUnitMassClosureGate(self, boolean: bool) -> None: ... - def setUseAdaptiveModelParallelism(self, boolean: bool) -> None: ... - def setUseCoordinatedRecycleAcceleration(self, boolean: bool) -> None: ... - def setUseFastRecycleConvergence(self, boolean: bool) -> None: ... - def setUseFlashWarmStart(self, boolean: bool) -> None: ... - def setUseIncrementalAreaExecution(self, boolean: bool) -> None: ... - def setUseOptimizedExecution(self, boolean: bool) -> None: ... - def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def size(self) -> int: ... - def toDOT(self) -> java.lang.String: ... - @typing.overload - def toJson(self) -> java.lang.String: ... - @typing.overload - def toJson(self, boolean: bool) -> java.lang.String: ... - def validateAll(self) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... - def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... - class BoundaryStreamError(java.io.Serializable): - def getAbsoluteFlowChange(self) -> float: ... - def getCurrentFlow(self) -> float: ... - def getFlowError(self) -> float: ... - def getMaxError(self) -> float: ... - def getPressureError(self) -> float: ... - def getPreviousFlow(self) -> float: ... - def getProducerLabel(self) -> java.lang.String: ... - def getQualifiedName(self) -> java.lang.String: ... - def getStreamName(self) -> java.lang.String: ... - def getTemperatureError(self) -> float: ... - def isFlowCollapsedToZero(self) -> bool: ... - def isFlowStartedFromZero(self) -> bool: ... - class ModelProgressListener: - def onBeforeIteration(self, int: int) -> None: ... - def onBeforeProcessArea(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem', int: int, int2: int, int3: int) -> None: ... - def onIterationComplete(self, int: int, boolean: bool, double: float) -> None: ... - def onModelComplete(self, int: int, boolean: bool) -> None: ... - def onModelStart(self, int: int) -> None: ... - def onProcessAreaComplete(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem', int: int, int2: int, int3: int) -> None: ... - def onProcessAreaError(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem', exception: java.lang.Exception) -> bool: ... - class ProcessModelGraphvizExporter(java.io.Serializable): - def __init__(self, processModel: ProcessModel): ... + def __init__(self, processModel: 'ProcessModel'): ... def exportAreaDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... def exportDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... def getTitle(self) -> java.lang.String: ... @@ -540,7 +269,7 @@ class ProcessModelResult: def getErrors(self) -> java.util.List['SimulationResult.ErrorDetail']: ... def getFailedAreas(self) -> java.util.List[java.lang.String]: ... def getInterAreaLinkWarnings(self) -> java.util.List[java.lang.String]: ... - def getModel(self) -> ProcessModel: ... + def getModel(self) -> 'ProcessModel': ... def getRunStatusJson(self) -> java.lang.String: ... def getStatus(self) -> 'ProcessModelResult.Status': ... def getWarnings(self) -> java.util.List[java.lang.String]: ... @@ -548,7 +277,7 @@ class ProcessModelResult: def isError(self) -> bool: ... def isSuccess(self) -> bool: ... @staticmethod - def success(processModel: ProcessModel, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'SimulationResult'], typing.Mapping[typing.Union[java.lang.String, str], 'SimulationResult']], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... + def success(processModel: 'ProcessModel', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'SimulationResult'], typing.Mapping[typing.Union[java.lang.String, str], 'SimulationResult']], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... def toJson(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... def toString(self) -> java.lang.String: ... @@ -1213,6 +942,277 @@ class XmlUtil: @staticmethod def createDocumentBuilder() -> javax.xml.parsers.DocumentBuilder: ... +class ProcessModel(java.lang.Runnable, java.io.Serializable): + DEFAULT_ENGINEERING_TOLERANCE: typing.ClassVar[float] = ... + DEFAULT_AUTO_TOLERANCE_CEILING: typing.ClassVar[float] = ... + AUTO_TOLERANCE_STALL_WINDOW: typing.ClassVar[int] = ... + DEFAULT_MASS_CLOSURE_TOLERANCE: typing.ClassVar[float] = ... + DEFAULT_BOUNDARY_FLOW_FLOOR: typing.ClassVar[float] = ... + DEFAULT_AUTO_TUNING_FLOW_FRACTION: typing.ClassVar[float] = ... + def __init__(self): ... + def activateAll(self) -> None: ... + @typing.overload + def activateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def activateSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... + def add(self, string: typing.Union[java.lang.String, str], processSystem: ProcessSystem) -> bool: ... + def applyDesignCapacities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]]]) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.EquipmentDesignData.ApplyResult]: ... + def applyInterAreaLinks(self, jsonArray: com.google.gson.JsonArray) -> java.util.List[java.lang.String]: ... + def applyMechanicalDesignCapacityConstraints(self) -> int: ... + @typing.overload + def autoSizeEquipment(self) -> int: ... + @typing.overload + def autoSizeEquipment(self, double: float) -> int: ... + @typing.overload + def autoSizeEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... + def beginTransientStepTransaction(self) -> jneqsim.process.dynamics.TransientStepTransaction: ... + @staticmethod + def buildFromJson(string: typing.Union[java.lang.String, str]) -> ProcessModelResult: ... + @staticmethod + def buildFromJsonAndRun(string: typing.Union[java.lang.String, str]) -> ProcessModelResult: ... + @typing.overload + def checkMassBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, ProcessSystem.MassBalanceResult]]: ... + @typing.overload + def checkMassBalance(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, ProcessSystem.MassBalanceResult]]: ... + def createGraphvizExporter(self) -> ProcessModelGraphvizExporter: ... + @typing.overload + def deactivateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def deactivateSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... + def disableAllConstraints(self) -> int: ... + def enableAllConstraints(self) -> int: ... + def enableFastLargeModelMode(self) -> int: ... + @typing.overload + def exportAreaDOT(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... + @typing.overload + def exportAreaDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... + def exportState(self) -> jneqsim.process.processmodel.lifecycle.ProcessModelState: ... + def exportToGraphviz(self, string: typing.Union[java.lang.String, str]) -> None: ... + def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @staticmethod + def fromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @typing.overload + def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + @typing.overload + def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + def get(self, string: typing.Union[java.lang.String, str]) -> ProcessSystem: ... + def getAbsoluteFlowTolerance(self) -> float: ... + def getAllProcesses(self) -> java.util.Collection[ProcessSystem]: ... + def getAreaNames(self) -> java.util.List[java.lang.String]: ... + def getAutoToleranceCeiling(self) -> float: ... + def getAutoToleranceSummary(self) -> java.lang.String: ... + def getAutoTuningFlowFraction(self) -> float: ... + def getAutoTuningSummary(self) -> java.lang.String: ... + def getAutomation(self) -> jneqsim.process.automation.ProcessAutomation: ... + def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getBottleneckRanking(self) -> java.util.List[java.lang.String]: ... + def getBottleneckUtilization(self) -> float: ... + def getBoundaryFlowFloor(self) -> float: ... + def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... + def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def getCheckpointInterval(self) -> int: ... + def getCheckpointPath(self) -> java.lang.String: ... + def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getConvergenceReportJson(self) -> java.lang.String: ... + def getConvergenceSummary(self) -> java.lang.String: ... + def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDetectedPlantFlowScale(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... + def getError(self) -> float: ... + def getEventScheduler(self) -> jneqsim.process.dynamics.EventScheduler: ... + def getExecutionPartitionInfo(self) -> java.lang.String: ... + def getExergyAnalysis(self) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getFailedMassBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, ProcessSystem.MassBalanceResult]]: ... + @typing.overload + def getFailedMassBalance(self, double: float) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, ProcessSystem.MassBalanceResult]]: ... + @typing.overload + def getFailedMassBalance(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, ProcessSystem.MassBalanceResult]]: ... + @typing.overload + def getFailedMassBalanceReport(self) -> java.lang.String: ... + @typing.overload + def getFailedMassBalanceReport(self, double: float) -> java.lang.String: ... + @typing.overload + def getFailedMassBalanceReport(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... + def getFlowTolerance(self) -> float: ... + def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLastBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... + def getLastIterationCount(self) -> int: ... + def getLastMassClosureError(self) -> float: ... + def getLastMaxFlowError(self) -> float: ... + def getLastMaxPressureError(self) -> float: ... + def getLastMaxTemperatureError(self) -> float: ... + def getLastUnitMassClosureError(self) -> float: ... + @typing.overload + def getMassBalanceReport(self) -> java.lang.String: ... + @typing.overload + def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMassClosureSummary(self) -> java.lang.String: ... + def getMassClosureTolerance(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getNonConvergedBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureTolerance(self) -> float: ... + def getProcessSystemNames(self) -> java.util.List[java.lang.String]: ... + def getProgressListener(self) -> 'ProcessModel.ModelProgressListener': ... + def getReport_json(self) -> java.lang.String: ... + def getRunStatus(self) -> RunStatus: ... + def getRunStatusJson(self) -> java.lang.String: ... + def getTemperatureTolerance(self) -> float: ... + def getThreads(self) -> java.util.Map[java.lang.String, java.lang.Thread]: ... + def getTotalFeedFlowRate(self) -> float: ... + def getTransientTransactionCoverage(self) -> jneqsim.process.dynamics.TransientTransactionCoverage: ... + def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitMassClosureOffenders(self) -> java.lang.String: ... + @typing.overload + def getUnitNames(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getUnitNames(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getUtilizationSnapshotJson(self) -> java.lang.String: ... + def getValidationReport(self) -> java.lang.String: ... + def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.automation.SimulationVariable]: ... + def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getWorstBoundaryStreamError(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModel.BoundaryStreamError': ... + def getWorstBoundaryStreamName(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def invalidateTopology(self) -> None: ... + def isAnyEquipmentOverloaded(self) -> bool: ... + def isAnyHardLimitExceeded(self) -> bool: ... + def isAutoConvergenceTuning(self) -> bool: ... + def isAutoLowFlowBypass(self) -> bool: ... + def isAutoMassClosureGate(self) -> bool: ... + def isAutoRecycles(self) -> bool: ... + def isAutoTolerance(self) -> bool: ... + def isAutoValidate(self) -> bool: ... + def isCheckpointEnabled(self) -> bool: ... + def isFinished(self) -> bool: ... + def isModelConverged(self) -> bool: ... + def isPreventNestedParallelExecution(self) -> bool: ... + def isPublishEvents(self) -> bool: ... + def isReadyToRun(self) -> bool: ... + def isRunStep(self) -> bool: ... + def isToleranceExplicit(self) -> bool: ... + def isUnitMassClosureGate(self) -> bool: ... + def isUseAdaptiveModelParallelism(self) -> bool: ... + def isUseCoordinatedRecycleAcceleration(self) -> bool: ... + def isUseFastRecycleConvergence(self) -> bool: ... + def isUseFlashWarmStart(self) -> bool: ... + def isUseIncrementalAreaExecution(self) -> bool: ... + def isUseOptimizedExecution(self) -> bool: ... + @staticmethod + def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @staticmethod + def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @staticmethod + def loadStateFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @typing.overload + def makeRecycles(self) -> java.util.List[jneqsim.process.equipment.util.Recycle]: ... + @typing.overload + def makeRecycles(self, double: float) -> java.util.List[jneqsim.process.equipment.util.Recycle]: ... + def remove(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def resetAutoTuning(self) -> int: ... + def resolveStreamReference(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def run(self) -> None: ... + def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... + def runAsThread(self) -> java.lang.Thread: ... + def runStep(self) -> None: ... + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def runTransientTransactional(self, double: float, uUID: java.util.UUID) -> None: ... + @typing.overload + def runUntilConverged(self) -> bool: ... + @typing.overload + def runUntilConverged(self, int: int) -> bool: ... + @typing.overload + def runUntilConverged(self, int: int, double: float) -> bool: ... + @typing.overload + def runUntilConverged(self, int: int, double: float, double2: float) -> bool: ... + def saveAuto(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def saveStateToFile(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def saveToNeqsim(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setAbsoluteFlowTolerance(self, double: float) -> None: ... + def setAutoConvergenceTuning(self, boolean: bool) -> None: ... + def setAutoLowFlowBypass(self, boolean: bool) -> None: ... + def setAutoMassClosureGate(self, boolean: bool) -> None: ... + def setAutoRecycles(self, boolean: bool) -> None: ... + def setAutoTolerance(self, boolean: bool) -> None: ... + def setAutoToleranceCeiling(self, double: float) -> None: ... + def setAutoTuningFlowFraction(self, double: float) -> None: ... + def setAutoValidate(self, boolean: bool) -> None: ... + def setBoundaryFlowFloor(self, double: float) -> None: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> int: ... + def setCheckpointEnabled(self, boolean: bool) -> None: ... + def setCheckpointInterval(self, int: int) -> None: ... + def setCheckpointPath(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEventScheduler(self, eventScheduler: jneqsim.process.dynamics.EventScheduler) -> None: ... + def setFlowTolerance(self, double: float) -> None: ... + def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... + def setMassClosureTolerance(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + @typing.overload + def setMultiPhaseCheck(self, boolean: bool) -> int: ... + @typing.overload + def setMultiPhaseCheck(self, string: typing.Union[java.lang.String, str], boolean: bool) -> int: ... + def setPressureTolerance(self, double: float) -> None: ... + def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... + def setProgressListener(self, modelProgressListener: typing.Union['ProcessModel.ModelProgressListener', typing.Callable]) -> None: ... + @typing.overload + def setPropertyInitLevel(self, string: typing.Union[java.lang.String, str], propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... + @typing.overload + def setPropertyInitLevel(self, propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... + def setPublishEvents(self, boolean: bool) -> None: ... + def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... + def setRecycleMinimumFlow(self, double: float) -> int: ... + def setRunStep(self, boolean: bool) -> None: ... + @typing.overload + def setSectionLowFlowThreshold(self, string: typing.Union[java.lang.String, str], double: float) -> bool: ... + @typing.overload + def setSectionLowFlowThreshold(self, double: float) -> None: ... + def setSectionLowFlowThresholdFraction(self, double: float) -> int: ... + def setTemperatureTolerance(self, double: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setUnitMassClosureGate(self, boolean: bool) -> None: ... + def setUseAdaptiveModelParallelism(self, boolean: bool) -> None: ... + def setUseCoordinatedRecycleAcceleration(self, boolean: bool) -> None: ... + def setUseFastRecycleConvergence(self, boolean: bool) -> None: ... + def setUseFlashWarmStart(self, boolean: bool) -> None: ... + def setUseIncrementalAreaExecution(self, boolean: bool) -> None: ... + def setUseOptimizedExecution(self, boolean: bool) -> None: ... + def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def size(self) -> int: ... + def toDOT(self) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, boolean: bool) -> java.lang.String: ... + def validateAll(self) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class BoundaryStreamError(java.io.Serializable): + def getAbsoluteFlowChange(self) -> float: ... + def getCurrentFlow(self) -> float: ... + def getFlowError(self) -> float: ... + def getMaxError(self) -> float: ... + def getPressureError(self) -> float: ... + def getPreviousFlow(self) -> float: ... + def getProducerLabel(self) -> java.lang.String: ... + def getQualifiedName(self) -> java.lang.String: ... + def getStreamName(self) -> java.lang.String: ... + def getTemperatureError(self) -> float: ... + def isFlowCollapsedToZero(self) -> bool: ... + def isFlowStartedFromZero(self) -> bool: ... + class ModelProgressListener: + def onBeforeIteration(self, int: int) -> None: ... + def onBeforeProcessArea(self, string: typing.Union[java.lang.String, str], processSystem: ProcessSystem, int: int, int2: int, int3: int) -> None: ... + def onIterationComplete(self, int: int, boolean: bool, double: float) -> None: ... + def onModelComplete(self, int: int, boolean: bool) -> None: ... + def onModelStart(self, int: int) -> None: ... + def onProcessAreaComplete(self, string: typing.Union[java.lang.String, str], processSystem: ProcessSystem, int: int, int2: int, int3: int) -> None: ... + def onProcessAreaError(self, string: typing.Union[java.lang.String, str], processSystem: ProcessSystem, exception: java.lang.Exception) -> bool: ... + class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... def calcDesign(self) -> None: ... diff --git a/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi b/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi index fb9613d7..ab03399e 100644 --- a/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi @@ -1163,89 +1163,6 @@ class DexpiVisualQualityAssessment: @staticmethod def values() -> typing.MutableSequence['DexpiVisualQualityAssessment.Severity']: ... -class DexpiXmlReader: - @typing.overload - @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - @typing.overload - @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: jneqsim.process.processmodel.ProcessSystem, stream: jneqsim.process.equipment.stream.Stream) -> None: ... - @typing.overload - @staticmethod - def load(inputStream: java.io.InputStream, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - @typing.overload - @staticmethod - def load(inputStream: java.io.InputStream, processSystem: jneqsim.process.processmodel.ProcessSystem, stream: jneqsim.process.equipment.stream.Stream) -> None: ... - @typing.overload - @staticmethod - def load(inputStream: java.io.InputStream, processSystem: jneqsim.process.processmodel.ProcessSystem, stream: jneqsim.process.equipment.stream.Stream, boolean: bool) -> None: ... - @typing.overload - @staticmethod - def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> jneqsim.process.processmodel.ProcessSystem: ... - @typing.overload - @staticmethod - def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> jneqsim.process.processmodel.ProcessSystem: ... - @typing.overload - @staticmethod - def read(inputStream: java.io.InputStream) -> jneqsim.process.processmodel.ProcessSystem: ... - @typing.overload - @staticmethod - def read(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> jneqsim.process.processmodel.ProcessSystem: ... - @typing.overload - @staticmethod - def readInstruments(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.util.List[DexpiInstrumentInfo]: ... - @typing.overload - @staticmethod - def readInstruments(inputStream: java.io.InputStream) -> java.util.List[DexpiInstrumentInfo]: ... - @typing.overload - @staticmethod - def readWithDiagnostics(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'DexpiXmlReader.ImportResult': ... - @typing.overload - @staticmethod - def readWithDiagnostics(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> 'DexpiXmlReader.ImportResult': ... - @typing.overload - @staticmethod - def readWithDiagnostics(inputStream: java.io.InputStream) -> 'DexpiXmlReader.ImportResult': ... - @typing.overload - @staticmethod - def readWithDiagnostics(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> 'DexpiXmlReader.ImportResult': ... - class ImportDiagnostic(java.io.Serializable): - def getCode(self) -> java.lang.String: ... - def getComponentClass(self) -> java.lang.String: ... - def getElementId(self) -> java.lang.String: ... - def getElementName(self) -> java.lang.String: ... - def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'DexpiXmlReader.ImportDiagnosticSeverity': ... - class ImportDiagnosticSeverity(java.lang.Enum['DexpiXmlReader.ImportDiagnosticSeverity']): - INFO: typing.ClassVar['DexpiXmlReader.ImportDiagnosticSeverity'] = ... - WARNING: typing.ClassVar['DexpiXmlReader.ImportDiagnosticSeverity'] = ... - ERROR: typing.ClassVar['DexpiXmlReader.ImportDiagnosticSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'DexpiXmlReader.ImportDiagnosticSeverity': ... - @staticmethod - def values() -> typing.MutableSequence['DexpiXmlReader.ImportDiagnosticSeverity']: ... - class ImportResult(java.io.Serializable): - def getActuatingFunctions(self) -> java.util.List[DexpiActuatingFunctionInfo]: ... - def getConnectionComponents(self) -> java.util.List[DexpiConnectionComponentInfo]: ... - def getConnectionCycleTransitions(self) -> java.util.List[DexpiConnectionCycleTransitionInfo]: ... - def getConnectionCycles(self) -> java.util.List[DexpiConnectionCycleInfo]: ... - def getConnectionEndpoints(self) -> java.util.List[DexpiConnectionEndpointInfo]: ... - def getConnections(self) -> java.util.List[DexpiConnectionInfo]: ... - def getDiagnostics(self) -> java.util.List['DexpiXmlReader.ImportDiagnostic']: ... - def getInformationFlows(self) -> java.util.List[DexpiInformationFlowInfo]: ... - def getInstrumentationLoops(self) -> java.util.List[DexpiInstrumentationLoopInfo]: ... - def getInstruments(self) -> java.util.List[DexpiInstrumentInfo]: ... - def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def hasErrors(self) -> bool: ... - def hasLosses(self) -> bool: ... - def toJson(self) -> java.lang.String: ... - def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class DexpiXmlReaderException(java.lang.Exception): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -1359,7 +1276,6 @@ class __module_protocol__(Protocol): DexpiStreamUtils: typing.Type[DexpiStreamUtils] DexpiTopologyResolver: typing.Type[DexpiTopologyResolver] DexpiVisualQualityAssessment: typing.Type[DexpiVisualQualityAssessment] - DexpiXmlReader: typing.Type[DexpiXmlReader] DexpiXmlReaderException: typing.Type[DexpiXmlReaderException] DexpiXmlSvgRenderer: typing.Type[DexpiXmlSvgRenderer] DexpiXmlWriter: typing.Type[DexpiXmlWriter] diff --git a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi index db91daf8..34d3685c 100644 --- a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi +++ b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi @@ -2692,6 +2692,48 @@ class ProcessModelOperatingActionSetEvaluator: @staticmethod def values() -> typing.MutableSequence['ProcessModelOperatingActionSetEvaluator.Outcome']: ... +class ProcessModelOperatingEnvelopeLifecycleStudy: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + @typing.overload + def addPeriod(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], list: java.util.List['ProcessModelOperatingEnvelopeLifecycleStudy.AcceptedStateMetric'], processModelOperatingEnvelopeStudy: 'ProcessModelOperatingEnvelopeStudy', operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult', *sliceResult: 'ProcessModelOperatingEnvelopeStudy.SliceResult') -> 'ProcessModelOperatingEnvelopeLifecycleStudy': ... + @typing.overload + def addPeriod(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], processModelOperatingEnvelopeStudy: 'ProcessModelOperatingEnvelopeStudy', operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult', *sliceResult: 'ProcessModelOperatingEnvelopeStudy.SliceResult') -> 'ProcessModelOperatingEnvelopeLifecycleStudy': ... + def getBottleneckTransitions(self) -> java.util.List['ProcessModelOperatingEnvelopeLifecycleStudy.LifecycleBottleneckTransition']: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getPeriodChangeDiagnostics(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getPeriods(self) -> java.util.List['ProcessModelOperatingEnvelopeLifecycleStudy.PeriodEvidence']: ... + def getProvenance(self) -> java.lang.String: ... + def getTimeUnit(self) -> java.lang.String: ... + def toEvidenceMap(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.Any]: ... + class AcceptedStateMetric(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class LifecycleBottleneckTransition(java.io.Serializable): + def getFromConstraint(self) -> java.lang.String: ... + def getFromPeriodId(self) -> java.lang.String: ... + def getToConstraint(self) -> java.lang.String: ... + def getToPeriodId(self) -> java.lang.String: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class PeriodEvidence(java.io.Serializable): + def getAcceptedBottleneck(self) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence': ... + def getAcceptedStateMetrics(self) -> java.util.List['ProcessModelOperatingEnvelopeLifecycleStudy.AcceptedStateMetric']: ... + def getBottleneckQualifiedConstraint(self) -> java.lang.String: ... + def getCandidateEvaluatorId(self) -> java.lang.String: ... + def getConfigurationProvenance(self) -> java.lang.String: ... + def getElapsedTime(self) -> float: ... + def getEnvelopeEvidence(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getEnvelopeStudyId(self) -> java.lang.String: ... + def getPeriodId(self) -> java.lang.String: ... + def getPeriodName(self) -> java.lang.String: ... + def getTimeUnit(self) -> java.lang.String: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ProcessModelOperatingEnvelopeStudy: def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], processModelOperatingActionSetEvaluator: ProcessModelOperatingActionSetEvaluator): ... @typing.overload @@ -2703,6 +2745,7 @@ class ProcessModelOperatingEnvelopeStudy: @typing.overload def evaluateTwoDimensional(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult') -> 'ProcessModelOperatingEnvelopeStudy.SliceResult': ... def getAcceptedPointBottleneck(self, operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult') -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence': ... + def getAcceptedPointEnvelopeEvidence(self, string: typing.Union[java.lang.String, str], operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult', *sliceResult: 'ProcessModelOperatingEnvelopeStudy.SliceResult') -> java.util.Map[java.lang.String, typing.Any]: ... def getCandidateEvaluator(self) -> ProcessModelOperatingActionSetEvaluator: ... def getId(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... @@ -2720,6 +2763,7 @@ class ProcessModelOperatingEnvelopeStudy: def getQualifiedConstraintName(self) -> java.lang.String: ... def getSource(self) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source': ... def isFeasible(self) -> bool: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class Source(java.lang.Enum['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source']): INSTALLED_EQUIPMENT: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source'] = ... REQUIRED_HYDRAULIC: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source'] = ... @@ -2734,6 +2778,39 @@ class ProcessModelOperatingEnvelopeStudy: def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source': ... @staticmethod def values() -> typing.MutableSequence['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source']: ... + class OperatingRegionTransition(java.io.Serializable): + def getActionValueSemantics(self) -> ProcessModelOperatingAction.ValueSemantics: ... + def getAxisActionId(self) -> java.lang.String: ... + def getFromAxisValue(self) -> float: ... + def getFromConstraint(self) -> java.lang.String: ... + def getFromConstraintSource(self) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source': ... + def getFromOutcome(self) -> ProcessModelOperatingActionSetEvaluator.Outcome: ... + def getFromSequenceIndex(self) -> int: ... + def getKind(self) -> 'ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind': ... + def getSampledIntervalWidth(self) -> float: ... + def getToAxisValue(self) -> float: ... + def getToConstraint(self) -> java.lang.String: ... + def getToConstraintSource(self) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source': ... + def getToOutcome(self) -> ProcessModelOperatingActionSetEvaluator.Outcome: ... + def getToSequenceIndex(self) -> int: ... + def isDiscreteAction(self) -> bool: ... + def isFromFeasible(self) -> bool: ... + def isToFeasible(self) -> bool: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Kind(java.lang.Enum['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind']): + BECAME_INFEASIBLE: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind'] = ... + BECAME_FEASIBLE: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind'] = ... + EVALUATION_OUTCOME_CHANGED: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind'] = ... + LEADING_CONSTRAINT_CHANGED: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition.Kind']: ... class Outcome(java.lang.Enum['ProcessModelOperatingEnvelopeStudy.Outcome']): COMPLETE: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.Outcome'] = ... MODEL_RECOVERY_FAILED: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.Outcome'] = ... @@ -2755,22 +2832,28 @@ class ProcessModelOperatingEnvelopeStudy: def getLeadingInstalledConstraint(self) -> InstalledEquipmentCapacityEvidence: ... def getSequenceIndex(self) -> int: ... def isFeasible(self) -> bool: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class SliceResult(java.io.Serializable): def getAnchorValues(self) -> typing.MutableSequence[float]: ... def getAxisActionIds(self) -> typing.MutableSequence[java.lang.String]: ... + def getAxisActionSemantics(self) -> typing.MutableSequence[ProcessModelOperatingAction.ValueSemantics]: ... def getAxisValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getBottleneckTransitions(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.Transition']: ... def getCandidateEvaluatorId(self) -> java.lang.String: ... def getCompletedPointCount(self) -> int: ... def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getEvaluationCount(self) -> int: ... def getFeasiblePoints(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.Point']: ... def getId(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... + def getOperatingRegionTransitions(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.OperatingRegionTransition']: ... def getOutcome(self) -> 'ProcessModelOperatingEnvelopeStudy.Outcome': ... def getPoints(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.Point']: ... def getProvenance(self) -> java.lang.String: ... def getRequestedPointCount(self) -> int: ... + def getRuntimeSeconds(self) -> float: ... def isComplete(self) -> bool: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class Transition(java.io.Serializable): def getAxisActionId(self) -> java.lang.String: ... def getFromAxisValue(self) -> float: ... @@ -2779,6 +2862,7 @@ class ProcessModelOperatingEnvelopeStudy: def getToAxisValue(self) -> float: ... def getToConstraint(self) -> java.lang.String: ... def getToSequenceIndex(self) -> int: ... + def toEvidenceMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ProcessModelOperatingPointOptimizer: def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], processModelOperatingActionSetEvaluator: ProcessModelOperatingActionSetEvaluator): ... @@ -2789,6 +2873,7 @@ class ProcessModelOperatingPointOptimizer: def optimize(self) -> 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult': ... def setInitialCandidate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelOperatingPointOptimizer': ... def setInitialStepFraction(self, double: float) -> 'ProcessModelOperatingPointOptimizer': ... + def setMaximumBoundaryRefinementEvaluations(self, int: int) -> 'ProcessModelOperatingPointOptimizer': ... def setMaximumEvaluations(self, int: int) -> 'ProcessModelOperatingPointOptimizer': ... def setObjectiveImprovementTolerance(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingPointOptimizer': ... def setObjectiveIndex(self, int: int) -> 'ProcessModelOperatingPointOptimizer': ... @@ -2801,6 +2886,7 @@ class ProcessModelOperatingPointOptimizer: def getSequenceIndex(self) -> int: ... def isAcceptedAsIncumbent(self) -> bool: ... def isAcceptedPointReplay(self) -> bool: ... + def isBoundaryRefinement(self) -> bool: ... class ObjectiveSnapshot(java.io.Serializable): def getDirection(self) -> 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction': ... def getIndex(self) -> int: ... @@ -2810,6 +2896,7 @@ class ProcessModelOperatingPointOptimizer: def getAcceptedCandidateValues(self) -> typing.MutableSequence[float]: ... def getAcceptedPointReplay(self) -> 'ProcessModelOperatingPointOptimizer.CandidateRecord': ... def getActionSetId(self) -> java.lang.String: ... + def getBoundaryRefinementEvaluationCount(self) -> int: ... def getCandidates(self) -> java.util.List['ProcessModelOperatingPointOptimizer.CandidateRecord']: ... def getDiagnostics(self) -> java.util.List[java.lang.String]: ... def getEvaluationCount(self) -> int: ... @@ -2817,6 +2904,7 @@ class ProcessModelOperatingPointOptimizer: def getId(self) -> java.lang.String: ... def getInitialCandidate(self) -> typing.MutableSequence[float]: ... def getInitialStepFraction(self) -> float: ... + def getMaximumBoundaryRefinementEvaluations(self) -> int: ... def getMaximumEvaluations(self) -> int: ... def getName(self) -> java.lang.String: ... def getObjective(self) -> 'ProcessModelOperatingPointOptimizer.ObjectiveSnapshot': ... @@ -4611,6 +4699,7 @@ class __module_protocol__(Protocol): ProcessModelOperatingAction: typing.Type[ProcessModelOperatingAction] ProcessModelOperatingActionEvaluator: typing.Type[ProcessModelOperatingActionEvaluator] ProcessModelOperatingActionSetEvaluator: typing.Type[ProcessModelOperatingActionSetEvaluator] + ProcessModelOperatingEnvelopeLifecycleStudy: typing.Type[ProcessModelOperatingEnvelopeLifecycleStudy] ProcessModelOperatingEnvelopeStudy: typing.Type[ProcessModelOperatingEnvelopeStudy] ProcessModelOperatingPointOptimizer: typing.Type[ProcessModelOperatingPointOptimizer] ProcessModelOptimizationView: typing.Type[ProcessModelOptimizationView] diff --git a/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi b/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi index ee2d784a..10c5b775 100644 --- a/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi @@ -14,6 +14,7 @@ import jpype.protocol import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import jneqsim.thermo.system import jneqsim.thermodynamicoperations +import org.ejml.simple import typing @@ -463,11 +464,17 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): @typing.overload def calcTrueValue(self, sampleValue: SampleValue) -> float: ... def calcValue(self, sampleValue: SampleValue) -> float: ... + @typing.overload def checkBounds(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def checkBounds(self, simpleMatrix: org.ejml.simple.SimpleMatrix) -> None: ... def clone(self) -> 'StatisticsBaseClass': ... def createNewRandomClass(self) -> 'StatisticsBaseClass': ... def displayCurveFit(self) -> None: ... + @typing.overload def displayMatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], string: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def displayMatrix(self, simpleMatrix: org.ejml.simple.SimpleMatrix, string: typing.Union[java.lang.String, str], int: int) -> None: ... def displayResult(self) -> None: ... def displayResultWithDeviation(self) -> None: ... def displaySimple(self) -> None: ... diff --git a/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi index 028a23dc..1ffec317 100644 --- a/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -import Jama import java.io import java.lang import jpype @@ -42,10 +41,10 @@ class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunctio class LevenbergMarquardtResult(java.io.Serializable): def __init__(self, convergenceReason: 'LevenbergMarquardtResult.ConvergenceReason', int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]): ... + @staticmethod + def fromArrays(convergenceReason: 'LevenbergMarquardtResult.ConvergenceReason', int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> 'LevenbergMarquardtResult': ... def getConvergenceReason(self) -> 'LevenbergMarquardtResult.ConvergenceReason': ... - def getCorrelationMatrix(self) -> Jama.Matrix: ... def getCorrelationMatrixArray(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getCovarianceMatrix(self) -> Jama.Matrix: ... def getCovarianceMatrixArray(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getFinalChiSquare(self) -> float: ... def getGradientNorm(self) -> float: ... diff --git a/src/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/thermo/characterization/__init__.pyi index 0017dd64..83d283be 100644 --- a/src/jneqsim-stubs/thermo/characterization/__init__.pyi +++ b/src/jneqsim-stubs/thermo/characterization/__init__.pyi @@ -534,6 +534,8 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): def getUpperBoilingPointKelvin(self) -> float: ... def getWatsonCharacterizationFactor(self) -> float: ... class TbpCutTable(java.io.Serializable): + @staticmethod + def blendByMass(tbpCutTableArray: typing.Union[typing.List['OilAssayCharacterisation.TbpCutTable'], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'OilAssayCharacterisation.TbpCutTable': ... def getBoilingPointCelsius(self) -> typing.MutableSequence[float]: ... def getBoilingPointCelsiusAtCumulativeMassPercent(self, double: float) -> float: ... def getBoilingPointCelsiusAtCumulativeVolumePercent(self, double: float) -> float: ... @@ -780,6 +782,32 @@ class RefineryBlendSourceLedger(java.io.Serializable): def getSpecificGravity(self) -> float: ... def isContributing(self) -> bool: ... +class RefineryCatalyticReformingStoichiometricBalance(java.io.Serializable): + CARBON_ATOMIC_MASS_KG_PER_KMOL: typing.ClassVar[float] = ... + HYDROGEN_ATOMIC_MASS_KG_PER_KMOL: typing.ClassVar[float] = ... + @staticmethod + def calculate(int: int, double: float, double2: float, double3: float, double4: float) -> 'RefineryCatalyticReformingStoichiometricBalance': ... + def getAromaticProductFlowKmolPerHour(self) -> float: ... + def getAromaticProductKgPerTonneFeed(self) -> float: ... + def getAromaticProductMassFlowKgPerHour(self) -> float: ... + def getCarbonAtomBalanceResidualKmolPerHour(self) -> float: ... + def getCarbonNumber(self) -> int: ... + def getFeedMassFlowKgPerHour(self) -> float: ... + def getHydrogenAtomBalanceResidualKmolPerHour(self) -> float: ... + def getHydrogenProductFlowKmolPerHour(self) -> float: ... + def getHydrogenProductKgPerTonneFeed(self) -> float: ... + def getHydrogenProductMassFlowKgPerHour(self) -> float: ... + def getMassBalanceResidualKgPerHour(self) -> float: ... + def getNaphtheneConversionFraction(self) -> float: ... + def getNaphtheneFeedFlowKmolPerHour(self) -> float: ... + def getNaphtheneReactionExtentKmolPerHour(self) -> float: ... + def getParaffinConversionFraction(self) -> float: ... + def getParaffinFeedFlowKmolPerHour(self) -> float: ... + def getParaffinReactionExtentKmolPerHour(self) -> float: ... + def getTotalProductMassFlowKgPerHour(self) -> float: ... + def getUnconvertedNaphtheneFlowKmolPerHour(self) -> float: ... + def getUnconvertedParaffinFlowKmolPerHour(self) -> float: ... + class RefineryHydrotreatingHydrogenEmissionsBalance(java.io.Serializable): @staticmethod def calculate(refineryHydrotreatingHydrogenUtilityBalance: 'RefineryHydrotreatingHydrogenUtilityBalance', double: float, double2: float) -> 'RefineryHydrotreatingHydrogenEmissionsBalance': ... @@ -2009,6 +2037,7 @@ class __module_protocol__(Protocol): RefineryBlendBatch: typing.Type[RefineryBlendBatch] RefineryBlendOptimizationPlan: typing.Type[RefineryBlendOptimizationPlan] RefineryBlendSourceLedger: typing.Type[RefineryBlendSourceLedger] + RefineryCatalyticReformingStoichiometricBalance: typing.Type[RefineryCatalyticReformingStoichiometricBalance] RefineryHydrotreatingHydrogenEmissionsBalance: typing.Type[RefineryHydrotreatingHydrogenEmissionsBalance] RefineryHydrotreatingHydrogenRecycleBalance: typing.Type[RefineryHydrotreatingHydrogenRecycleBalance] RefineryHydrotreatingHydrogenSupplyBalance: typing.Type[RefineryHydrotreatingHydrogenSupplyBalance] diff --git a/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi b/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi index b8a764e3..5292ffc5 100644 --- a/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi @@ -306,6 +306,7 @@ class EosMixingRuleHandler(MixingRuleHandler): def getSRKbinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getWSintparam(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def isCalcEOSInteractionParameters(self) -> bool: ... + def requireCurrentComponentCount(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... def resetMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> EosMixingRulesInterface: ... def setCalcEOSInteractionParameters(self, boolean: bool) -> None: ... def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... diff --git a/src/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/thermo/phase/__init__.pyi index bfb6ef8a..5db038b0 100644 --- a/src/jneqsim-stubs/thermo/phase/__init__.pyi +++ b/src/jneqsim-stubs/thermo/phase/__init__.pyi @@ -640,6 +640,8 @@ class PitzerParameterDatasets: @staticmethod def applyPhreeqcSodiumPotassiumChloride(phasePitzer: 'PhasePitzer') -> None: ... @staticmethod + def getMissingPhreeqcPitzerCatalogRows(phasePitzer: 'PhasePitzer') -> java.util.List[java.lang.String]: ... + @staticmethod def getQualification(string: typing.Union[java.lang.String, str]) -> 'PitzerParameterQualification': ... @staticmethod def isWithinCalciumMagnesiumChlorideBinaryValidationRange(double: float, double2: float) -> bool: ... @@ -2486,6 +2488,7 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): def clone(self) -> 'PhaseModifiedFurstElectrolyteEos': ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... + def dFLRdGammaLRdGammaLR(self) -> float: ... def dFLRdT(self) -> float: ... def dFLRdTdT(self) -> float: ... def dFLRdTdV(self) -> float: ... diff --git a/src/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/thermo/system/__init__.pyi index 7830ad17..d5342816 100644 --- a/src/jneqsim-stubs/thermo/system/__init__.pyi +++ b/src/jneqsim-stubs/thermo/system/__init__.pyi @@ -1530,6 +1530,7 @@ class SystemPitzer(SystemEosGE): def clone(self) -> 'SystemPitzer': ... def getChemicalReactionConcentrationBasis(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionConcentrationBasis: ... def getChemicalReactionDataSource(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionDataSource: ... + def getMissingPhreeqcPitzerCatalogRows(self) -> java.util.List[java.lang.String]: ... def getPitzerParameterQualification(self) -> jneqsim.thermo.phase.PitzerParameterQualification: ... def isUsingPhreeqcPitzerParametersByDefault(self) -> bool: ... def refreshDefaultPitzerParameterSelection(self) -> bool: ... diff --git a/src/jneqsim-stubs/thermo/util/constants/__init__.pyi b/src/jneqsim-stubs/thermo/util/constants/__init__.pyi index 5c303492..cb846a48 100644 --- a/src/jneqsim-stubs/thermo/util/constants/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/constants/__init__.pyi @@ -63,6 +63,8 @@ class FurstElectrolyteConstants(java.io.Serializable): @staticmethod def hasIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod + def isDefaultGasIonParameter(int: int) -> bool: ... + @staticmethod def setFurstParam(int: int, double: float) -> None: ... @staticmethod def setFurstParamCPA(int: int, double: float) -> None: ... diff --git a/src/jneqsim-stubs/util/util/__init__.pyi b/src/jneqsim-stubs/util/util/__init__.pyi index 2a6e78c3..cc21a341 100644 --- a/src/jneqsim-stubs/util/util/__init__.pyi +++ b/src/jneqsim-stubs/util/util/__init__.pyi @@ -7,10 +7,45 @@ else: import java.io import java.lang +import jpype import typing +class ArrayUtils: + @staticmethod + def clearArray(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @staticmethod + def clearMatrixArray(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + _copyArray_1__T = typing.TypeVar('_copyArray_1__T') # + @typing.overload + @staticmethod + def copyArray(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + @staticmethod + def copyArray(tArray: typing.Union[typing.List[_copyArray_1__T], jpype.JArray]) -> typing.MutableSequence[_copyArray_1__T]: ... + @typing.overload + @staticmethod + def copyArrayOrEmpty(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + @staticmethod + def copyArrayOrEmpty(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[java.lang.String]: ... + _copyMatrixArray_1__T = typing.TypeVar('_copyMatrixArray_1__T') # + @typing.overload + @staticmethod + def copyMatrixArray(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + @staticmethod + def copyMatrixArray(tArray: typing.Union[typing.List[typing.MutableSequence[_copyMatrixArray_1__T]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[_copyMatrixArray_1__T]]: ... + @staticmethod + def copyMatrixArrayOrEmpty(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @staticmethod + def extractColumn(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def filledArray(int: int, double: float) -> typing.MutableSequence[float]: ... + @staticmethod + def infinityNorm(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + class DoubleCloneable(java.lang.Cloneable, java.io.Serializable): @typing.overload def __init__(self): ... @@ -32,5 +67,6 @@ class FileSystemSettings: class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.util")``. + ArrayUtils: typing.Type[ArrayUtils] DoubleCloneable: typing.Type[DoubleCloneable] FileSystemSettings: typing.Type[FileSystemSettings] diff --git a/src/neqsim/data/neqsim_api.json.gz b/src/neqsim/data/neqsim_api.json.gz index 1290de81..39a3518a 100644 Binary files a/src/neqsim/data/neqsim_api.json.gz and b/src/neqsim/data/neqsim_api.json.gz differ diff --git a/src/neqsim/lib/neqsim-3.24.0.jar b/src/neqsim/lib/neqsim-3.26.0.jar similarity index 90% rename from src/neqsim/lib/neqsim-3.24.0.jar rename to src/neqsim/lib/neqsim-3.26.0.jar index 55e19876..56b1ce96 100644 Binary files a/src/neqsim/lib/neqsim-3.24.0.jar and b/src/neqsim/lib/neqsim-3.26.0.jar differ diff --git a/uv.lock b/uv.lock index 63bcce0b..8a17d852 100644 --- a/uv.lock +++ b/uv.lock @@ -1878,7 +1878,7 @@ wheels = [ [[package]] name = "neqsim" -version = "3.24.0" +version = "3.26.0" source = { editable = "." } dependencies = [ { name = "jpype1" },