From 4d75fadaa0e7bc664d73ee8cb7bf2bc2c321bf67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20V=C3=A5ge=20Fannemel?= <34712686+asmfstatoil@users.noreply.github.com> Date: Fri, 19 Jun 2026 12:19:00 +0200 Subject: [PATCH 1/2] chore: include stubs in pypi package --- .github/workflows/generate-stubs.yml | 2 +- .gitignore | 4 ++-- .vscode/settings.json | 8 ++++++++ pyproject.toml | 7 +++++++ scripts/generate_stubs.py | 30 +++++++++++++++------------- 5 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.github/workflows/generate-stubs.yml b/.github/workflows/generate-stubs.yml index a62515f9..225d2e6e 100644 --- a/.github/workflows/generate-stubs.yml +++ b/.github/workflows/generate-stubs.yml @@ -42,4 +42,4 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v7 with: commit_message: "chore: regenerate Java stubs" - file_pattern: "src/jneqsim-stubs/**" + file_pattern: "src/jneqsim/**/*.pyi" diff --git a/.gitignore b/.gitignore index 802b7321..4b1f512a 100644 --- a/.gitignore +++ b/.gitignore @@ -43,5 +43,5 @@ codeql-db/ codeql-*.sarif tools/codeql/ -# Generated stubs -src/jneqsim-stubs/ +# Stubs build artifacts (cleaned up by generate_stubs.py) +src/temp-stubs/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..f0c5be0c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true, + "python.analysis.extraPaths": ["src"] +} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 80410fa9..4545f31d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,8 @@ [tool.poetry] +packages = [ + {include = "neqsim", from = "src"}, + {include = "jneqsim", from = "src"}, +] name = "neqsim" version = "3.14.0" homepage = "https://github.com/Equinor/neqsim-python" @@ -27,6 +31,9 @@ stubgenj = "^0.2.12" # Generate type stubs for Java classes [tool.poetry.extras] interactive = ["matplotlib", "jupyter", "tabulate"] +[tool.mypy] +mypy_path = "src" + [tool.pytest.ini_options] addopts = "-p no:faulthandler" diff --git a/scripts/generate_stubs.py b/scripts/generate_stubs.py index d1e4534c..6e381e86 100644 --- a/scripts/generate_stubs.py +++ b/scripts/generate_stubs.py @@ -10,7 +10,7 @@ Usage: python scripts/generate_stubs.py -The stubs will be generated in the src/jneqsim-stubs directory. +The stubs will be generated in the src/jneqsim directory. """ import re @@ -60,8 +60,8 @@ def generate_stubs(): shutil.rmtree(temp_output_dir) temp_output_dir.mkdir(exist_ok=True) - # Final output directory - final_output_dir = src_path / "jneqsim-stubs" + # Final output directory: stubs live directly under src/ alongside neqsim/ + final_output_dir = src_path print("Generating stubs...") @@ -81,34 +81,36 @@ def generate_stubs(): print("Renaming 'neqsim' -> 'jneqsim' in stubs to avoid naming conflict...") rename_package_in_stubs(temp_output_dir, "neqsim", "jneqsim") - # Clean up existing output - if final_output_dir.exists(): - shutil.rmtree(final_output_dir) - final_output_dir.mkdir(exist_ok=True) + # Clean up existing jneqsim output + jneqsim_stubs_out = final_output_dir / "jneqsim" + if jneqsim_stubs_out.exists(): + shutil.rmtree(jneqsim_stubs_out) # Move jpype-stubs as-is (it's at temp_output_dir/jpype-stubs) jpype_stubs = temp_output_dir / "jpype-stubs" if jpype_stubs.exists(): - shutil.move(str(jpype_stubs), str(final_output_dir / "jpype-stubs")) + jpype_stubs_out = final_output_dir / "jpype-stubs" + if jpype_stubs_out.exists(): + shutil.rmtree(jpype_stubs_out) + shutil.move(str(jpype_stubs), str(jpype_stubs_out)) - # Rename folder neqsim-stubs -> jneqsim-stubs - target = final_output_dir / "jneqsim-stubs" - shutil.move(str(neqsim_stubs), str(target)) + # Rename folder neqsim-stubs -> jneqsim + shutil.move(str(neqsim_stubs), str(jneqsim_stubs_out)) # Clean up temp directory shutil.rmtree(temp_output_dir) - print(f"Stubs generated successfully in {final_output_dir}") + print(f"Stubs generated successfully in {final_output_dir / 'jneqsim'}") print("\n" + "=" * 60) print("USAGE INSTRUCTIONS") print("=" * 60) print("\nThe Java 'neqsim' package stubs are available as 'jneqsim'") print("to avoid conflicts with the Python 'neqsim' package.") print("\nFor VS Code with Pylance, add to settings.json:") - print(' "python.analysis.extraPaths": ["src/jneqsim-stubs"]') + print(' "python.analysis.extraPaths": ["src"]') print("\nFor mypy, add to pyproject.toml:") print(" [tool.mypy]") - print(' mypy_path = "src/jneqsim-stubs"') + print(' mypy_path = "src"') if __name__ == "__main__": From 151c3b535bd6582e85516c821cfdea0576d689fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20V=C3=A5ge=20Fannemel?= <34712686+asmfstatoil@users.noreply.github.com> Date: Tue, 23 Jun 2026 00:14:19 +0200 Subject: [PATCH 2/2] feat: add stubs --- src/jneqsim/__init__.pyi | 45 + src/jneqsim/api/__init__.pyi | 15 + src/jneqsim/api/ioc/__init__.pyi | 25 + src/jneqsim/blackoil/__init__.pyi | 114 + src/jneqsim/blackoil/io/__init__.pyi | 173 + src/jneqsim/chemicalreactions/__init__.pyi | 63 + .../chemicalequilibrium/__init__.pyi | 82 + .../chemicalreaction/__init__.pyi | 89 + .../chemicalreactions/kinetics/__init__.pyi | 27 + src/jneqsim/datapresentation/__init__.pyi | 42 + .../filehandling/__init__.pyi | 29 + .../datapresentation/jfreechart/__init__.pyi | 40 + src/jneqsim/fluidmechanics/__init__.pyi | 31 + .../fluidmechanics/flowleg/__init__.pyi | 62 + .../flowleg/pipeleg/__init__.pyi | 25 + .../fluidmechanics/flownode/__init__.pyi | 415 ++ .../flownode/fluidboundary/__init__.pyi | 17 + .../heatmasstransfercalc/__init__.pyi | 175 + .../equilibriumfluidboundary/__init__.pyi | 31 + .../finitevolumeboundary/__init__.pyi | 19 + .../fluidboundarynode/__init__.pyi | 32 + .../fluidboundarynonreactivenode/__init__.pyi | 24 + .../fluidboundaryreactivenode/__init__.pyi | 24 + .../fluidboundarysolver/__init__.pyi | 38 + .../fluidboundaryreactivesolver/__init__.pyi | 20 + .../fluidboundarysystem/__init__.pyi | 51 + .../fluidboundarynonreactive/__init__.pyi | 29 + .../fluidboundarysystemreactive/__init__.pyi | 29 + .../nonequilibriumfluidboundary/__init__.pyi | 45 + .../filmmodelboundary/__init__.pyi | 46 + .../reactivefilmmodel/__init__.pyi | 55 + .../enhancementfactor/__init__.pyi | 61 + .../__init__.pyi | 54 + .../interphaseonephase/__init__.pyi | 26 + .../interphasepipeflow/__init__.pyi | 33 + .../interphasetwophase/__init__.pyi | 30 + .../interphasepipeflow/__init__.pyi | 108 + .../interphasereactorflow/__init__.pyi | 44 + .../stirredcell/__init__.pyi | 31 + .../flownode/multiphasenode/__init__.pyi | 42 + .../multiphasenode/waxnode/__init__.pyi | 37 + .../flownode/onephasenode/__init__.pyi | 35 + .../onephasepipeflownode/__init__.pyi | 31 + .../flownode/twophasenode/__init__.pyi | 67 + .../twophasepipeflownode/__init__.pyi | 113 + .../twophasereactorflownode/__init__.pyi | 59 + .../twophasestirredcellnode/__init__.pyi | 56 + .../fluidmechanics/flowsolver/__init__.pyi | 89 + .../onephaseflowsolver/__init__.pyi | 22 + .../onephasepipeflowsolver/__init__.pyi | 46 + .../twophaseflowsolver/__init__.pyi | 17 + .../stirredcellsolver/__init__.pyi | 39 + .../twophasepipeflowsolver/__init__.pyi | 164 + .../fluidmechanics/flowsystem/__init__.pyi | 135 + .../onephaseflowsystem/__init__.pyi | 28 + .../pipeflowsystem/__init__.pyi | 50 + .../twophaseflowsystem/__init__.pyi | 34 + .../shipsystem/__init__.pyi | 64 + .../stirredcellsystem/__init__.pyi | 35 + .../twophasepipeflowsystem/__init__.pyi | 292 ++ .../twophasereactorflowsystem/__init__.pyi | 35 + .../geometrydefinitions/__init__.pyi | 106 + .../internalgeometry/__init__.pyi | 17 + .../internalgeometry/packings/__init__.pyi | 54 + .../internalgeometry/wall/__init__.pyi | 195 + .../geometrydefinitions/pipe/__init__.pyi | 49 + .../geometrydefinitions/reactor/__init__.pyi | 35 + .../stirredcell/__init__.pyi | 26 + .../surrounding/__init__.pyi | 74 + src/jneqsim/fluidmechanics/util/__init__.pyi | 64 + .../fluidmechanicsvisualization/__init__.pyi | 17 + .../flownodevisualization/__init__.pyi | 74 + .../__init__.pyi | 22 + .../__init__.pyi | 22 + .../__init__.pyi | 22 + .../flowsystemvisualization/__init__.pyi | 43 + .../onephaseflowvisualization/__init__.pyi | 25 + .../pipeflowvisualization/__init__.pyi | 28 + .../twophaseflowvisualization/__init__.pyi | 25 + .../__init__.pyi | 33 + .../util/timeseries/__init__.pyi | 61 + src/jneqsim/integration/__init__.pyi | 190 + src/jneqsim/mathlib/__init__.pyi | 17 + src/jneqsim/mathlib/generalmath/__init__.pyi | 21 + .../mathlib/nonlinearsolver/__init__.pyi | 66 + src/jneqsim/mcp/__init__.pyi | 19 + src/jneqsim/mcp/catalog/__init__.pyi | 118 + src/jneqsim/mcp/model/__init__.pyi | 178 + src/jneqsim/mcp/runners/__init__.pyi | 476 +++ src/jneqsim/physicalproperties/__init__.pyi | 52 + .../interfaceproperties/__init__.pyi | 85 + .../solidadsorption/__init__.pyi | 248 ++ .../surfacetension/__init__.pyi | 146 + .../physicalproperties/methods/__init__.pyi | 40 + .../__init__.pyi | 28 + .../conductivity/__init__.pyi | 62 + .../diffusivity/__init__.pyi | 34 + .../viscosity/__init__.pyi | 128 + .../gasphysicalproperties/__init__.pyi | 33 + .../conductivity/__init__.pyi | 30 + .../density/__init__.pyi | 24 + .../diffusivity/__init__.pyi | 42 + .../viscosity/__init__.pyi | 34 + .../liquidphysicalproperties/__init__.pyi | 30 + .../conductivity/__init__.pyi | 38 + .../density/__init__.pyi | 46 + .../diffusivity/__init__.pyi | 113 + .../viscosity/__init__.pyi | 55 + .../methods/methodinterface/__init__.pyi | 43 + .../solidphysicalproperties/__init__.pyi | 30 + .../conductivity/__init__.pyi | 24 + .../density/__init__.pyi | 24 + .../diffusivity/__init__.pyi | 29 + .../viscosity/__init__.pyi | 28 + .../mixingrule/__init__.pyi | 35 + .../physicalproperties/system/__init__.pyi | 125 + .../__init__.pyi | 21 + .../system/gasphysicalproperties/__init__.pyi | 30 + .../liquidphysicalproperties/__init__.pyi | 43 + .../solidphysicalproperties/__init__.pyi | 21 + .../physicalproperties/util/__init__.pyi | 15 + .../util/parameterfitting/__init__.pyi | 15 + .../__init__.pyi | 17 + .../purecompinterfacetension/__init__.pyi | 33 + .../purecompviscosity/__init__.pyi | 17 + .../chungmethod/__init__.pyi | 33 + .../linearliquidmodel/__init__.pyi | 33 + src/jneqsim/process/__init__.pyi | 129 + src/jneqsim/process/advisory/__init__.pyi | 99 + src/jneqsim/process/alarm/__init__.pyi | 195 + src/jneqsim/process/automation/__init__.pyi | 412 ++ src/jneqsim/process/calibration/__init__.pyi | 297 ++ src/jneqsim/process/chemistry/__init__.pyi | 196 + .../process/chemistry/acid/__init__.pyi | 58 + .../process/chemistry/asphaltene/__init__.pyi | 55 + .../process/chemistry/corrosion/__init__.pyi | 97 + .../process/chemistry/equipment/__init__.pyi | 52 + .../process/chemistry/hydrate/__init__.pyi | 67 + .../process/chemistry/rca/__init__.pyi | 107 + .../process/chemistry/scale/__init__.pyi | 143 + .../process/chemistry/scavenger/__init__.pyi | 75 + .../process/chemistry/util/__init__.pyi | 101 + .../process/chemistry/wax/__init__.pyi | 53 + .../process/conditionmonitor/__init__.pyi | 37 + .../process/controllerdevice/__init__.pyi | 501 +++ .../controllerdevice/structure/__init__.pyi | 90 + src/jneqsim/process/corrosion/__init__.pyi | 312 ++ .../process/costestimation/__init__.pyi | 249 ++ .../costestimation/absorber/__init__.pyi | 44 + .../costestimation/adsorber/__init__.pyi | 51 + .../costestimation/column/__init__.pyi | 41 + .../costestimation/compressor/__init__.pyi | 37 + .../costestimation/ejector/__init__.pyi | 39 + .../costestimation/electrolyzer/__init__.pyi | 26 + .../costestimation/expander/__init__.pyi | 42 + .../costestimation/heatexchanger/__init__.pyi | 39 + .../process/costestimation/mixer/__init__.pyi | 32 + .../process/costestimation/pipe/__init__.pyi | 37 + .../process/costestimation/pump/__init__.pyi | 35 + .../costestimation/separator/__init__.pyi | 22 + .../costestimation/splitter/__init__.pyi | 34 + .../process/costestimation/tank/__init__.pyi | 41 + .../process/costestimation/valve/__init__.pyi | 33 + src/jneqsim/process/design/__init__.pyi | 226 ++ .../process/design/template/__init__.pyi | 88 + src/jneqsim/process/diagnostics/__init__.pyi | 291 ++ .../process/diagnostics/restart/__init__.pyi | 66 + src/jneqsim/process/dynamics/__init__.pyi | 81 + .../process/electricaldesign/__init__.pyi | 113 + .../electricaldesign/components/__init__.pyi | 208 + .../electricaldesign/compressor/__init__.pyi | 37 + .../heatexchanger/__init__.pyi | 49 + .../loadanalysis/__init__.pyi | 78 + .../electricaldesign/pipeline/__init__.pyi | 34 + .../electricaldesign/pump/__init__.pyi | 22 + .../electricaldesign/separator/__init__.pyi | 36 + .../electricaldesign/system/__init__.pyi | 42 + src/jneqsim/process/equipment/__init__.pyi | 486 +++ .../process/equipment/absorber/__init__.pyi | 367 ++ .../process/equipment/adsorber/__init__.pyi | 325 ++ .../process/equipment/battery/__init__.pyi | 38 + .../process/equipment/blackoil/__init__.pyi | 50 + .../process/equipment/capacity/__init__.pyi | 677 ++++ .../process/equipment/compressor/__init__.pyi | 1581 ++++++++ .../equipment/compressor/driver/__init__.pyi | 151 + .../equipment/diffpressure/__init__.pyi | 71 + .../equipment/distillation/__init__.pyi | 744 ++++ .../distillation/internals/__init__.pyi | 184 + .../process/equipment/ejector/__init__.pyi | 127 + .../equipment/electrolyzer/__init__.pyi | 166 + .../process/equipment/expander/__init__.pyi | 161 + .../process/equipment/failure/__init__.pyi | 128 + .../process/equipment/filter/__init__.pyi | 86 + .../process/equipment/flare/__init__.pyi | 147 + .../process/equipment/flare/dto/__init__.pyi | 59 + .../equipment/heatexchanger/__init__.pyi | 900 +++++ .../heatintegration/__init__.pyi | 76 + .../process/equipment/iec81346/__init__.pyi | 123 + .../process/equipment/lng/__init__.pyi | 586 +++ .../process/equipment/manifold/__init__.pyi | 115 + .../process/equipment/membrane/__init__.pyi | 51 + .../process/equipment/mixer/__init__.pyi | 134 + .../process/equipment/network/__init__.pyi | 678 ++++ .../process/equipment/pipeline/__init__.pyi | 1902 +++++++++ .../equipment/pipeline/routing/__init__.pyi | 62 + .../pipeline/twophasepipe/__init__.pyi | 926 +++++ .../twophasepipe/closure/__init__.pyi | 113 + .../twophasepipe/numerics/__init__.pyi | 153 + .../twophasepipe/reporting/__init__.pyi | 54 + .../twophasepipe/validation/__init__.pyi | 61 + .../equipment/powergeneration/__init__.pyi | 401 ++ .../powergeneration/gasturbine/__init__.pyi | 239 ++ .../process/equipment/pump/__init__.pyi | 324 ++ .../process/equipment/reactor/__init__.pyi | 1107 ++++++ .../process/equipment/reservoir/__init__.pyi | 526 +++ .../process/equipment/separator/__init__.pyi | 628 +++ .../separator/entrainment/__init__.pyi | 416 ++ .../separator/sectiontype/__init__.pyi | 73 + .../process/equipment/splitter/__init__.pyi | 206 + .../process/equipment/stream/__init__.pyi | 261 ++ .../process/equipment/subsea/__init__.pyi | 1190 ++++++ .../process/equipment/tank/__init__.pyi | 423 ++ .../process/equipment/util/__init__.pyi | 930 +++++ .../process/equipment/valve/__init__.pyi | 761 ++++ .../equipment/watertreatment/__init__.pyi | 343 ++ .../process/equipment/well/__init__.pyi | 15 + .../equipment/well/allocation/__init__.pyi | 89 + src/jneqsim/process/examples/__init__.pyi | 162 + .../process/fielddevelopment/__init__.pyi | 37 + .../fielddevelopment/concept/__init__.pyi | 378 ++ .../fielddevelopment/economics/__init__.pyi | 558 +++ .../fielddevelopment/evaluation/__init__.pyi | 611 +++ .../fielddevelopment/facility/__init__.pyi | 177 + .../fielddevelopment/integrated/__init__.pyi | 282 ++ .../fielddevelopment/network/__init__.pyi | 200 + .../fielddevelopment/reporting/__init__.pyi | 30 + .../fielddevelopment/reservoir/__init__.pyi | 332 ++ .../fielddevelopment/screening/__init__.pyi | 597 +++ .../fielddevelopment/subsea/__init__.pyi | 87 + .../fielddevelopment/tieback/__init__.pyi | 305 ++ .../tieback/capacity/__init__.pyi | 194 + .../fielddevelopment/workflow/__init__.pyi | 147 + src/jneqsim/process/hydrogen/__init__.pyi | 106 + .../process/instrumentdesign/__init__.pyi | 120 + .../instrumentdesign/compressor/__init__.pyi | 26 + .../heatexchanger/__init__.pyi | 38 + .../instrumentdesign/pipeline/__init__.pyi | 26 + .../instrumentdesign/separator/__init__.pyi | 24 + .../instrumentdesign/system/__init__.pyi | 39 + .../instrumentdesign/valve/__init__.pyi | 24 + src/jneqsim/process/integration/__init__.pyi | 15 + .../process/integration/ml/__init__.pyi | 85 + src/jneqsim/process/logic/__init__.pyi | 83 + src/jneqsim/process/logic/action/__init__.pyi | 122 + .../process/logic/condition/__init__.pyi | 69 + .../process/logic/control/__init__.pyi | 41 + src/jneqsim/process/logic/esd/__init__.pyi | 37 + src/jneqsim/process/logic/hipps/__init__.pyi | 46 + .../process/logic/shutdown/__init__.pyi | 44 + src/jneqsim/process/logic/sis/__init__.pyi | 119 + .../process/logic/startup/__init__.pyi | 41 + src/jneqsim/process/logic/voting/__init__.pyi | 54 + src/jneqsim/process/materials/__init__.pyi | 164 + .../process/measurementdevice/__init__.pyi | 613 +++ .../measurementdevice/online/__init__.pyi | 27 + .../simpleflowregime/__init__.pyi | 92 + .../measurementdevice/vfm/__init__.pyi | 169 + .../process/mechanicaldesign/__init__.pyi | 954 +++++ .../mechanicaldesign/absorber/__init__.pyi | 28 + .../mechanicaldesign/adsorber/__init__.pyi | 50 + .../mechanicaldesign/compressor/__init__.pyi | 352 ++ .../mechanicaldesign/data/__init__.pyi | 50 + .../designstandards/__init__.pyi | 494 +++ .../distillation/__init__.pyi | 61 + .../mechanicaldesign/ejector/__init__.pyi | 46 + .../electrolyzer/__init__.pyi | 41 + .../mechanicaldesign/expander/__init__.pyi | 64 + .../mechanicaldesign/filter/__init__.pyi | 59 + .../mechanicaldesign/flare/__init__.pyi | 40 + .../heatexchanger/__init__.pyi | 1034 +++++ .../mechanicaldesign/manifold/__init__.pyi | 182 + .../mechanicaldesign/membrane/__init__.pyi | 35 + .../mechanicaldesign/mixer/__init__.pyi | 47 + .../mechanicaldesign/motor/__init__.pyi | 70 + .../mechanicaldesign/pipeline/__init__.pyi | 633 +++ .../powergeneration/__init__.pyi | 39 + .../mechanicaldesign/pump/__init__.pyi | 188 + .../mechanicaldesign/reactor/__init__.pyi | 43 + .../mechanicaldesign/separator/__init__.pyi | 368 ++ .../separator/conformity/__init__.pyi | 84 + .../separator/internals/__init__.pyi | 57 + .../separator/primaryseparation/__init__.pyi | 63 + .../separator/sectiontype/__init__.pyi | 59 + .../mechanicaldesign/splitter/__init__.pyi | 48 + .../mechanicaldesign/subsea/__init__.pyi | 534 +++ .../mechanicaldesign/tank/__init__.pyi | 73 + .../mechanicaldesign/torg/__init__.pyi | 143 + .../mechanicaldesign/valve/__init__.pyi | 363 ++ .../mechanicaldesign/valve/choke/__init__.pyi | 139 + .../watertreatment/__init__.pyi | 47 + src/jneqsim/process/ml/__init__.pyi | 301 ++ .../process/ml/controllers/__init__.pyi | 54 + src/jneqsim/process/ml/examples/__init__.pyi | 60 + .../process/ml/multiagent/__init__.pyi | 117 + src/jneqsim/process/ml/surrogate/__init__.pyi | 95 + src/jneqsim/process/mpc/__init__.pyi | 663 ++++ src/jneqsim/process/operations/__init__.pyi | 165 + .../process/operations/envelope/__init__.pyi | 208 + src/jneqsim/process/optimization/__init__.pyi | 15 + .../optimization/valuechain/__init__.pyi | 186 + src/jneqsim/process/processmodel/__init__.pyi | 1142 ++++++ .../processmodel/biorefinery/__init__.pyi | 95 + .../process/processmodel/dexpi/__init__.pyi | 308 ++ .../process/processmodel/diagram/__init__.pyi | 260 ++ .../process/processmodel/graph/__init__.pyi | 213 + .../processmodel/lifecycle/__init__.pyi | 332 ++ .../processmodel/processmodules/__init__.pyi | 222 ++ src/jneqsim/process/research/__init__.pyi | 344 ++ src/jneqsim/process/safety/__init__.pyi | 236 ++ src/jneqsim/process/safety/alarp/__init__.pyi | 33 + .../process/safety/barrier/__init__.pyi | 349 ++ src/jneqsim/process/safety/cfd/__init__.pyi | 65 + .../process/safety/compliance/__init__.pyi | 68 + .../safety/depressurization/__init__.pyi | 79 + .../process/safety/dispersion/__init__.pyi | 167 + src/jneqsim/process/safety/dto/__init__.pyi | 43 + .../process/safety/envelope/__init__.pyi | 75 + .../process/safety/escalation/__init__.pyi | 27 + src/jneqsim/process/safety/esd/__init__.pyi | 181 + src/jneqsim/process/safety/fire/__init__.pyi | 57 + src/jneqsim/process/safety/hazid/__init__.pyi | 90 + .../process/safety/inherent/__init__.pyi | 39 + .../process/safety/inventory/__init__.pyi | 74 + .../process/safety/leakdetection/__init__.pyi | 43 + src/jneqsim/process/safety/mdmt/__init__.pyi | 39 + .../process/safety/opendrain/__init__.pyi | 210 + .../safety/processsafetysystem/__init__.pyi | 178 + src/jneqsim/process/safety/qra/__init__.pyi | 41 + .../process/safety/release/__init__.pyi | 95 + src/jneqsim/process/safety/risk/__init__.pyi | 338 ++ .../process/safety/risk/bowtie/__init__.pyi | 167 + .../safety/risk/condition/__init__.pyi | 147 + .../process/safety/risk/data/__init__.pyi | 74 + .../process/safety/risk/dynamic/__init__.pyi | 145 + .../process/safety/risk/eta/__init__.pyi | 29 + .../process/safety/risk/examples/__init__.pyi | 39 + .../process/safety/risk/fta/__init__.pyi | 56 + .../process/safety/risk/ml/__init__.pyi | 161 + .../safety/risk/portfolio/__init__.pyi | 148 + .../process/safety/risk/realtime/__init__.pyi | 212 + .../process/safety/risk/sis/__init__.pyi | 315 ++ .../process/safety/rupture/__init__.pyi | 138 + .../process/safety/scenario/__init__.pyi | 206 + src/jneqsim/process/streaming/__init__.pyi | 94 + .../process/sustainability/__init__.pyi | 84 + src/jneqsim/process/synthesis/__init__.pyi | 94 + src/jneqsim/process/util/__init__.pyi | 121 + src/jneqsim/process/util/event/__init__.pyi | 116 + src/jneqsim/process/util/exergy/__init__.pyi | 45 + src/jneqsim/process/util/export/__init__.pyi | 79 + .../util/fielddevelopment/__init__.pyi | 645 +++ src/jneqsim/process/util/fire/__init__.pyi | 229 ++ .../process/util/heatintegration/__init__.pyi | 55 + src/jneqsim/process/util/monitor/__init__.pyi | 389 ++ .../process/util/optimizer/__init__.pyi | 2456 ++++++++++++ .../process/util/reconciliation/__init__.pyi | 173 + src/jneqsim/process/util/report/__init__.pyi | 113 + .../process/util/report/safety/__init__.pyi | 109 + .../process/util/scenario/__init__.pyi | 86 + .../process/util/sensitivity/__init__.pyi | 47 + .../process/util/topology/__init__.pyi | 164 + .../process/util/uncertainty/__init__.pyi | 87 + src/jneqsim/pvtsimulation/__init__.pyi | 25 + .../pvtsimulation/flowassurance/__init__.pyi | 597 +++ .../pvtsimulation/modeltuning/__init__.pyi | 40 + .../pvtsimulation/regression/__init__.pyi | 242 ++ .../reservoirproperties/__init__.pyi | 25 + .../relpermeability/__init__.pyi | 107 + .../pvtsimulation/simulation/__init__.pyi | 383 ++ src/jneqsim/pvtsimulation/util/__init__.pyi | 441 +++ .../util/parameterfitting/__init__.pyi | 168 + src/jneqsim/standards/__init__.pyi | 74 + src/jneqsim/standards/gasquality/__init__.pyi | 364 ++ src/jneqsim/standards/oilquality/__init__.pyi | 309 ++ .../standards/salescontract/__init__.pyi | 87 + src/jneqsim/statistics/__init__.pyi | 23 + .../statistics/dataanalysis/__init__.pyi | 15 + .../dataanalysis/datasmoothing/__init__.pyi | 24 + .../experimentalequipmentdata/__init__.pyi | 21 + .../wettedwallcolumndata/__init__.pyi | 29 + .../experimentalsamplecreation/__init__.pyi | 17 + .../readdatafromfile/__init__.pyi | 42 + .../wettedwallcolumnreader/__init__.pyi | 52 + .../samplecreator/__init__.pyi | 29 + .../__init__.pyi | 30 + .../montecarlosimulation/__init__.pyi | 28 + .../statistics/parameterfitting/__init__.pyi | 514 +++ .../nonlinearparameterfitting/__init__.pyi | 96 + src/jneqsim/thermo/__init__.pyi | 114 + src/jneqsim/thermo/atomelement/__init__.pyi | 85 + .../thermo/characterization/__init__.pyi | 717 ++++ src/jneqsim/thermo/component/__init__.pyi | 2073 ++++++++++ .../component/attractiveeosterm/__init__.pyi | 329 ++ .../component/repulsiveeosterm/__init__.pyi | 18 + src/jneqsim/thermo/mixingrule/__init__.pyi | 478 +++ src/jneqsim/thermo/phase/__init__.pyi | 3503 +++++++++++++++++ src/jneqsim/thermo/system/__init__.pyi | 1808 +++++++++ src/jneqsim/thermo/util/Vega/__init__.pyi | 55 + src/jneqsim/thermo/util/__init__.pyi | 99 + src/jneqsim/thermo/util/amines/__init__.pyi | 92 + .../thermo/util/benchmark/__init__.pyi | 35 + .../thermo/util/constants/__init__.pyi | 194 + .../thermo/util/derivatives/__init__.pyi | 114 + src/jneqsim/thermo/util/empiric/__init__.pyi | 44 + src/jneqsim/thermo/util/gerg/__init__.pyi | 195 + src/jneqsim/thermo/util/humidair/__init__.pyi | 30 + src/jneqsim/thermo/util/hydrogen/__init__.pyi | 58 + src/jneqsim/thermo/util/jni/__init__.pyi | 53 + src/jneqsim/thermo/util/leachman/__init__.pyi | 58 + .../thermo/util/readwrite/__init__.pyi | 155 + .../util/referenceequations/__init__.pyi | 41 + .../thermo/util/spanwagner/__init__.pyi | 23 + src/jneqsim/thermo/util/steam/__init__.pyi | 36 + .../thermodynamicoperations/__init__.pyi | 272 ++ .../chemicalequilibrium/__init__.pyi | 29 + .../flashops/__init__.pyi | 515 +++ .../flashops/reactiveflash/__init__.pyi | 126 + .../flashops/saturationops/__init__.pyi | 372 ++ .../phaseenvelopeops/__init__.pyi | 17 + .../multicomponentenvelopeops/__init__.pyi | 180 + .../reactivecurves/__init__.pyi | 54 + .../propertygenerator/__init__.pyi | 130 + src/jneqsim/util/__init__.pyi | 118 + src/jneqsim/util/agentic/__init__.pyi | 271 ++ src/jneqsim/util/annotation/__init__.pyi | 73 + src/jneqsim/util/database/__init__.pyi | 180 + src/jneqsim/util/exception/__init__.pyi | 82 + src/jneqsim/util/generator/__init__.pyi | 25 + src/jneqsim/util/nucleation/__init__.pyi | 182 + src/jneqsim/util/serialization/__init__.pyi | 32 + src/jneqsim/util/unit/__init__.pyi | 146 + src/jneqsim/util/util/__init__.pyi | 35 + src/jneqsim/util/validation/__init__.pyi | 132 + .../util/validation/contracts/__init__.pyi | 71 + 444 files changed, 76783 insertions(+) create mode 100644 src/jneqsim/__init__.pyi create mode 100644 src/jneqsim/api/__init__.pyi create mode 100644 src/jneqsim/api/ioc/__init__.pyi create mode 100644 src/jneqsim/blackoil/__init__.pyi create mode 100644 src/jneqsim/blackoil/io/__init__.pyi create mode 100644 src/jneqsim/chemicalreactions/__init__.pyi create mode 100644 src/jneqsim/chemicalreactions/chemicalequilibrium/__init__.pyi create mode 100644 src/jneqsim/chemicalreactions/chemicalreaction/__init__.pyi create mode 100644 src/jneqsim/chemicalreactions/kinetics/__init__.pyi create mode 100644 src/jneqsim/datapresentation/__init__.pyi create mode 100644 src/jneqsim/datapresentation/filehandling/__init__.pyi create mode 100644 src/jneqsim/datapresentation/jfreechart/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowleg/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowleg/pipeleg/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/multiphasenode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/onephasenode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/twophasenode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/pipe/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/reactor/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi create mode 100644 src/jneqsim/fluidmechanics/util/timeseries/__init__.pyi create mode 100644 src/jneqsim/integration/__init__.pyi create mode 100644 src/jneqsim/mathlib/__init__.pyi create mode 100644 src/jneqsim/mathlib/generalmath/__init__.pyi create mode 100644 src/jneqsim/mathlib/nonlinearsolver/__init__.pyi create mode 100644 src/jneqsim/mcp/__init__.pyi create mode 100644 src/jneqsim/mcp/catalog/__init__.pyi create mode 100644 src/jneqsim/mcp/model/__init__.pyi create mode 100644 src/jneqsim/mcp/runners/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/interfaceproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/interfaceproperties/surfacetension/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/gasphysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/liquidphysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/methodinterface/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/solidphysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/mixingrule/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/system/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/system/commonphasephysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/system/gasphysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/system/liquidphysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/system/solidphysicalproperties/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/parameterfitting/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi create mode 100644 src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi create mode 100644 src/jneqsim/process/__init__.pyi create mode 100644 src/jneqsim/process/advisory/__init__.pyi create mode 100644 src/jneqsim/process/alarm/__init__.pyi create mode 100644 src/jneqsim/process/automation/__init__.pyi create mode 100644 src/jneqsim/process/calibration/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/acid/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/asphaltene/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/corrosion/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/equipment/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/hydrate/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/rca/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/scale/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/scavenger/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/util/__init__.pyi create mode 100644 src/jneqsim/process/chemistry/wax/__init__.pyi create mode 100644 src/jneqsim/process/conditionmonitor/__init__.pyi create mode 100644 src/jneqsim/process/controllerdevice/__init__.pyi create mode 100644 src/jneqsim/process/controllerdevice/structure/__init__.pyi create mode 100644 src/jneqsim/process/corrosion/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/absorber/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/adsorber/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/column/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/compressor/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/ejector/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/electrolyzer/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/expander/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/heatexchanger/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/mixer/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/pipe/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/pump/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/separator/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/splitter/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/tank/__init__.pyi create mode 100644 src/jneqsim/process/costestimation/valve/__init__.pyi create mode 100644 src/jneqsim/process/design/__init__.pyi create mode 100644 src/jneqsim/process/design/template/__init__.pyi create mode 100644 src/jneqsim/process/diagnostics/__init__.pyi create mode 100644 src/jneqsim/process/diagnostics/restart/__init__.pyi create mode 100644 src/jneqsim/process/dynamics/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/components/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/compressor/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/heatexchanger/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/loadanalysis/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/pipeline/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/pump/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/separator/__init__.pyi create mode 100644 src/jneqsim/process/electricaldesign/system/__init__.pyi create mode 100644 src/jneqsim/process/equipment/__init__.pyi create mode 100644 src/jneqsim/process/equipment/absorber/__init__.pyi create mode 100644 src/jneqsim/process/equipment/adsorber/__init__.pyi create mode 100644 src/jneqsim/process/equipment/battery/__init__.pyi create mode 100644 src/jneqsim/process/equipment/blackoil/__init__.pyi create mode 100644 src/jneqsim/process/equipment/capacity/__init__.pyi create mode 100644 src/jneqsim/process/equipment/compressor/__init__.pyi create mode 100644 src/jneqsim/process/equipment/compressor/driver/__init__.pyi create mode 100644 src/jneqsim/process/equipment/diffpressure/__init__.pyi create mode 100644 src/jneqsim/process/equipment/distillation/__init__.pyi create mode 100644 src/jneqsim/process/equipment/distillation/internals/__init__.pyi create mode 100644 src/jneqsim/process/equipment/ejector/__init__.pyi create mode 100644 src/jneqsim/process/equipment/electrolyzer/__init__.pyi create mode 100644 src/jneqsim/process/equipment/expander/__init__.pyi create mode 100644 src/jneqsim/process/equipment/failure/__init__.pyi create mode 100644 src/jneqsim/process/equipment/filter/__init__.pyi create mode 100644 src/jneqsim/process/equipment/flare/__init__.pyi create mode 100644 src/jneqsim/process/equipment/flare/dto/__init__.pyi create mode 100644 src/jneqsim/process/equipment/heatexchanger/__init__.pyi create mode 100644 src/jneqsim/process/equipment/heatexchanger/heatintegration/__init__.pyi create mode 100644 src/jneqsim/process/equipment/iec81346/__init__.pyi create mode 100644 src/jneqsim/process/equipment/lng/__init__.pyi create mode 100644 src/jneqsim/process/equipment/manifold/__init__.pyi create mode 100644 src/jneqsim/process/equipment/membrane/__init__.pyi create mode 100644 src/jneqsim/process/equipment/mixer/__init__.pyi create mode 100644 src/jneqsim/process/equipment/network/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/routing/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/twophasepipe/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/twophasepipe/closure/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pipeline/twophasepipe/validation/__init__.pyi create mode 100644 src/jneqsim/process/equipment/powergeneration/__init__.pyi create mode 100644 src/jneqsim/process/equipment/powergeneration/gasturbine/__init__.pyi create mode 100644 src/jneqsim/process/equipment/pump/__init__.pyi create mode 100644 src/jneqsim/process/equipment/reactor/__init__.pyi create mode 100644 src/jneqsim/process/equipment/reservoir/__init__.pyi create mode 100644 src/jneqsim/process/equipment/separator/__init__.pyi create mode 100644 src/jneqsim/process/equipment/separator/entrainment/__init__.pyi create mode 100644 src/jneqsim/process/equipment/separator/sectiontype/__init__.pyi create mode 100644 src/jneqsim/process/equipment/splitter/__init__.pyi create mode 100644 src/jneqsim/process/equipment/stream/__init__.pyi create mode 100644 src/jneqsim/process/equipment/subsea/__init__.pyi create mode 100644 src/jneqsim/process/equipment/tank/__init__.pyi create mode 100644 src/jneqsim/process/equipment/util/__init__.pyi create mode 100644 src/jneqsim/process/equipment/valve/__init__.pyi create mode 100644 src/jneqsim/process/equipment/watertreatment/__init__.pyi create mode 100644 src/jneqsim/process/equipment/well/__init__.pyi create mode 100644 src/jneqsim/process/equipment/well/allocation/__init__.pyi create mode 100644 src/jneqsim/process/examples/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/concept/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/economics/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/evaluation/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/facility/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/integrated/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/network/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/reporting/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/reservoir/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/screening/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/subsea/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/tieback/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/tieback/capacity/__init__.pyi create mode 100644 src/jneqsim/process/fielddevelopment/workflow/__init__.pyi create mode 100644 src/jneqsim/process/hydrogen/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/compressor/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/heatexchanger/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/pipeline/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/separator/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/system/__init__.pyi create mode 100644 src/jneqsim/process/instrumentdesign/valve/__init__.pyi create mode 100644 src/jneqsim/process/integration/__init__.pyi create mode 100644 src/jneqsim/process/integration/ml/__init__.pyi create mode 100644 src/jneqsim/process/logic/__init__.pyi create mode 100644 src/jneqsim/process/logic/action/__init__.pyi create mode 100644 src/jneqsim/process/logic/condition/__init__.pyi create mode 100644 src/jneqsim/process/logic/control/__init__.pyi create mode 100644 src/jneqsim/process/logic/esd/__init__.pyi create mode 100644 src/jneqsim/process/logic/hipps/__init__.pyi create mode 100644 src/jneqsim/process/logic/shutdown/__init__.pyi create mode 100644 src/jneqsim/process/logic/sis/__init__.pyi create mode 100644 src/jneqsim/process/logic/startup/__init__.pyi create mode 100644 src/jneqsim/process/logic/voting/__init__.pyi create mode 100644 src/jneqsim/process/materials/__init__.pyi create mode 100644 src/jneqsim/process/measurementdevice/__init__.pyi create mode 100644 src/jneqsim/process/measurementdevice/online/__init__.pyi create mode 100644 src/jneqsim/process/measurementdevice/simpleflowregime/__init__.pyi create mode 100644 src/jneqsim/process/measurementdevice/vfm/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/absorber/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/adsorber/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/compressor/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/data/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/designstandards/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/distillation/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/ejector/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/electrolyzer/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/expander/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/filter/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/flare/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/heatexchanger/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/manifold/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/membrane/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/mixer/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/motor/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/pipeline/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/powergeneration/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/pump/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/reactor/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/separator/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/separator/conformity/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/separator/internals/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/separator/primaryseparation/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/separator/sectiontype/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/splitter/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/subsea/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/tank/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/torg/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/valve/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/valve/choke/__init__.pyi create mode 100644 src/jneqsim/process/mechanicaldesign/watertreatment/__init__.pyi create mode 100644 src/jneqsim/process/ml/__init__.pyi create mode 100644 src/jneqsim/process/ml/controllers/__init__.pyi create mode 100644 src/jneqsim/process/ml/examples/__init__.pyi create mode 100644 src/jneqsim/process/ml/multiagent/__init__.pyi create mode 100644 src/jneqsim/process/ml/surrogate/__init__.pyi create mode 100644 src/jneqsim/process/mpc/__init__.pyi create mode 100644 src/jneqsim/process/operations/__init__.pyi create mode 100644 src/jneqsim/process/operations/envelope/__init__.pyi create mode 100644 src/jneqsim/process/optimization/__init__.pyi create mode 100644 src/jneqsim/process/optimization/valuechain/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/biorefinery/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/dexpi/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/diagram/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/graph/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/lifecycle/__init__.pyi create mode 100644 src/jneqsim/process/processmodel/processmodules/__init__.pyi create mode 100644 src/jneqsim/process/research/__init__.pyi create mode 100644 src/jneqsim/process/safety/__init__.pyi create mode 100644 src/jneqsim/process/safety/alarp/__init__.pyi create mode 100644 src/jneqsim/process/safety/barrier/__init__.pyi create mode 100644 src/jneqsim/process/safety/cfd/__init__.pyi create mode 100644 src/jneqsim/process/safety/compliance/__init__.pyi create mode 100644 src/jneqsim/process/safety/depressurization/__init__.pyi create mode 100644 src/jneqsim/process/safety/dispersion/__init__.pyi create mode 100644 src/jneqsim/process/safety/dto/__init__.pyi create mode 100644 src/jneqsim/process/safety/envelope/__init__.pyi create mode 100644 src/jneqsim/process/safety/escalation/__init__.pyi create mode 100644 src/jneqsim/process/safety/esd/__init__.pyi create mode 100644 src/jneqsim/process/safety/fire/__init__.pyi create mode 100644 src/jneqsim/process/safety/hazid/__init__.pyi create mode 100644 src/jneqsim/process/safety/inherent/__init__.pyi create mode 100644 src/jneqsim/process/safety/inventory/__init__.pyi create mode 100644 src/jneqsim/process/safety/leakdetection/__init__.pyi create mode 100644 src/jneqsim/process/safety/mdmt/__init__.pyi create mode 100644 src/jneqsim/process/safety/opendrain/__init__.pyi create mode 100644 src/jneqsim/process/safety/processsafetysystem/__init__.pyi create mode 100644 src/jneqsim/process/safety/qra/__init__.pyi create mode 100644 src/jneqsim/process/safety/release/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/bowtie/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/condition/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/data/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/dynamic/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/eta/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/examples/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/fta/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/ml/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/portfolio/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/realtime/__init__.pyi create mode 100644 src/jneqsim/process/safety/risk/sis/__init__.pyi create mode 100644 src/jneqsim/process/safety/rupture/__init__.pyi create mode 100644 src/jneqsim/process/safety/scenario/__init__.pyi create mode 100644 src/jneqsim/process/streaming/__init__.pyi create mode 100644 src/jneqsim/process/sustainability/__init__.pyi create mode 100644 src/jneqsim/process/synthesis/__init__.pyi create mode 100644 src/jneqsim/process/util/__init__.pyi create mode 100644 src/jneqsim/process/util/event/__init__.pyi create mode 100644 src/jneqsim/process/util/exergy/__init__.pyi create mode 100644 src/jneqsim/process/util/export/__init__.pyi create mode 100644 src/jneqsim/process/util/fielddevelopment/__init__.pyi create mode 100644 src/jneqsim/process/util/fire/__init__.pyi create mode 100644 src/jneqsim/process/util/heatintegration/__init__.pyi create mode 100644 src/jneqsim/process/util/monitor/__init__.pyi create mode 100644 src/jneqsim/process/util/optimizer/__init__.pyi create mode 100644 src/jneqsim/process/util/reconciliation/__init__.pyi create mode 100644 src/jneqsim/process/util/report/__init__.pyi create mode 100644 src/jneqsim/process/util/report/safety/__init__.pyi create mode 100644 src/jneqsim/process/util/scenario/__init__.pyi create mode 100644 src/jneqsim/process/util/sensitivity/__init__.pyi create mode 100644 src/jneqsim/process/util/topology/__init__.pyi create mode 100644 src/jneqsim/process/util/uncertainty/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/flowassurance/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/modeltuning/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/regression/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/reservoirproperties/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/simulation/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/util/__init__.pyi create mode 100644 src/jneqsim/pvtsimulation/util/parameterfitting/__init__.pyi create mode 100644 src/jneqsim/standards/__init__.pyi create mode 100644 src/jneqsim/standards/gasquality/__init__.pyi create mode 100644 src/jneqsim/standards/oilquality/__init__.pyi create mode 100644 src/jneqsim/standards/salescontract/__init__.pyi create mode 100644 src/jneqsim/statistics/__init__.pyi create mode 100644 src/jneqsim/statistics/dataanalysis/__init__.pyi create mode 100644 src/jneqsim/statistics/dataanalysis/datasmoothing/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalequipmentdata/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalsamplecreation/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalsamplecreation/samplecreator/__init__.pyi create mode 100644 src/jneqsim/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi create mode 100644 src/jneqsim/statistics/montecarlosimulation/__init__.pyi create mode 100644 src/jneqsim/statistics/parameterfitting/__init__.pyi create mode 100644 src/jneqsim/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi create mode 100644 src/jneqsim/thermo/__init__.pyi create mode 100644 src/jneqsim/thermo/atomelement/__init__.pyi create mode 100644 src/jneqsim/thermo/characterization/__init__.pyi create mode 100644 src/jneqsim/thermo/component/__init__.pyi create mode 100644 src/jneqsim/thermo/component/attractiveeosterm/__init__.pyi create mode 100644 src/jneqsim/thermo/component/repulsiveeosterm/__init__.pyi create mode 100644 src/jneqsim/thermo/mixingrule/__init__.pyi create mode 100644 src/jneqsim/thermo/phase/__init__.pyi create mode 100644 src/jneqsim/thermo/system/__init__.pyi create mode 100644 src/jneqsim/thermo/util/Vega/__init__.pyi create mode 100644 src/jneqsim/thermo/util/__init__.pyi create mode 100644 src/jneqsim/thermo/util/amines/__init__.pyi create mode 100644 src/jneqsim/thermo/util/benchmark/__init__.pyi create mode 100644 src/jneqsim/thermo/util/constants/__init__.pyi create mode 100644 src/jneqsim/thermo/util/derivatives/__init__.pyi create mode 100644 src/jneqsim/thermo/util/empiric/__init__.pyi create mode 100644 src/jneqsim/thermo/util/gerg/__init__.pyi create mode 100644 src/jneqsim/thermo/util/humidair/__init__.pyi create mode 100644 src/jneqsim/thermo/util/hydrogen/__init__.pyi create mode 100644 src/jneqsim/thermo/util/jni/__init__.pyi create mode 100644 src/jneqsim/thermo/util/leachman/__init__.pyi create mode 100644 src/jneqsim/thermo/util/readwrite/__init__.pyi create mode 100644 src/jneqsim/thermo/util/referenceequations/__init__.pyi create mode 100644 src/jneqsim/thermo/util/spanwagner/__init__.pyi create mode 100644 src/jneqsim/thermo/util/steam/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/chemicalequilibrium/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/flashops/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/flashops/reactiveflash/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/flashops/saturationops/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/phaseenvelopeops/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi create mode 100644 src/jneqsim/thermodynamicoperations/propertygenerator/__init__.pyi create mode 100644 src/jneqsim/util/__init__.pyi create mode 100644 src/jneqsim/util/agentic/__init__.pyi create mode 100644 src/jneqsim/util/annotation/__init__.pyi create mode 100644 src/jneqsim/util/database/__init__.pyi create mode 100644 src/jneqsim/util/exception/__init__.pyi create mode 100644 src/jneqsim/util/generator/__init__.pyi create mode 100644 src/jneqsim/util/nucleation/__init__.pyi create mode 100644 src/jneqsim/util/serialization/__init__.pyi create mode 100644 src/jneqsim/util/unit/__init__.pyi create mode 100644 src/jneqsim/util/util/__init__.pyi create mode 100644 src/jneqsim/util/validation/__init__.pyi create mode 100644 src/jneqsim/util/validation/contracts/__init__.pyi diff --git a/src/jneqsim/__init__.pyi b/src/jneqsim/__init__.pyi new file mode 100644 index 00000000..68d7ac4f --- /dev/null +++ b/src/jneqsim/__init__.pyi @@ -0,0 +1,45 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.api +import jneqsim.blackoil +import jneqsim.chemicalreactions +import jneqsim.datapresentation +import jneqsim.fluidmechanics +import jneqsim.integration +import jneqsim.mathlib +import jneqsim.mcp +import jneqsim.physicalproperties +import jneqsim.process +import jneqsim.pvtsimulation +import jneqsim.standards +import jneqsim.statistics +import jneqsim.thermo +import jneqsim.thermodynamicoperations +import jneqsim.util +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("neqsim")``. + + api: jneqsim.api.__module_protocol__ + blackoil: jneqsim.blackoil.__module_protocol__ + chemicalreactions: jneqsim.chemicalreactions.__module_protocol__ + datapresentation: jneqsim.datapresentation.__module_protocol__ + fluidmechanics: jneqsim.fluidmechanics.__module_protocol__ + integration: jneqsim.integration.__module_protocol__ + mathlib: jneqsim.mathlib.__module_protocol__ + mcp: jneqsim.mcp.__module_protocol__ + physicalproperties: jneqsim.physicalproperties.__module_protocol__ + process: jneqsim.process.__module_protocol__ + pvtsimulation: jneqsim.pvtsimulation.__module_protocol__ + standards: jneqsim.standards.__module_protocol__ + statistics: jneqsim.statistics.__module_protocol__ + thermo: jneqsim.thermo.__module_protocol__ + thermodynamicoperations: jneqsim.thermodynamicoperations.__module_protocol__ + util: jneqsim.util.__module_protocol__ diff --git a/src/jneqsim/api/__init__.pyi b/src/jneqsim/api/__init__.pyi new file mode 100644 index 00000000..9a813888 --- /dev/null +++ b/src/jneqsim/api/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.api.ioc +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.api")``. + + ioc: jneqsim.api.ioc.__module_protocol__ diff --git a/src/jneqsim/api/ioc/__init__.pyi b/src/jneqsim/api/ioc/__init__.pyi new file mode 100644 index 00000000..eb216820 --- /dev/null +++ b/src/jneqsim/api/ioc/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import typing + + + +class CalculationResult: + fluidProperties: typing.MutableSequence[typing.MutableSequence[float]] = ... + calculationError: typing.MutableSequence[java.lang.String] = ... + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.api.ioc")``. + + CalculationResult: typing.Type[CalculationResult] diff --git a/src/jneqsim/blackoil/__init__.pyi b/src/jneqsim/blackoil/__init__.pyi new file mode 100644 index 00000000..766d9d7c --- /dev/null +++ b/src/jneqsim/blackoil/__init__.pyi @@ -0,0 +1,114 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.util +import jpype +import jneqsim.blackoil.io +import jneqsim.thermo.system +import typing + + + +class BlackOilConverter: + def __init__(self): ... + @staticmethod + def convert(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float) -> 'BlackOilConverter.Result': ... + class Result: + pvt: 'BlackOilPVTTable' = ... + blackOilSystem: 'SystemBlackOil' = ... + rho_o_sc: float = ... + rho_g_sc: float = ... + rho_w_sc: float = ... + bubblePoint: float = ... + def __init__(self): ... + +class BlackOilFlash(java.io.Serializable): + def __init__(self, blackOilPVTTable: 'BlackOilPVTTable', double: float, double2: float, double3: float): ... + def flash(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'BlackOilFlashResult': ... + +class BlackOilFlashResult(java.io.Serializable): + O_std: float = ... + Gf_std: float = ... + W_std: float = ... + V_o: float = ... + V_g: float = ... + V_w: float = ... + rho_o: float = ... + rho_g: float = ... + rho_w: float = ... + mu_o: float = ... + mu_g: float = ... + mu_w: float = ... + Rs: float = ... + Rv: float = ... + Bo: float = ... + Bg: float = ... + Bw: float = ... + def __init__(self): ... + +class BlackOilPVTTable(java.io.Serializable): + def __init__(self, list: java.util.List['BlackOilPVTTable.Record'], double: float): ... + def Bg(self, double: float) -> float: ... + def Bo(self, double: float) -> float: ... + def Bw(self, double: float) -> float: ... + def Rs(self, double: float) -> float: ... + def RsEffective(self, double: float) -> float: ... + def Rv(self, double: float) -> float: ... + def getBubblePointP(self) -> float: ... + def mu_g(self, double: float) -> float: ... + def mu_o(self, double: float) -> float: ... + def mu_w(self, double: float) -> float: ... + class Record(java.io.Serializable): + p: float = ... + Rs: float = ... + Bo: float = ... + mu_o: float = ... + Bg: float = ... + mu_g: float = ... + Rv: float = ... + Bw: float = ... + mu_w: float = ... + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + +class SystemBlackOil(java.io.Serializable): + def __init__(self, blackOilPVTTable: BlackOilPVTTable, double: float, double2: float, double3: float): ... + def copyShallow(self) -> 'SystemBlackOil': ... + def flash(self) -> BlackOilFlashResult: ... + def getBg(self) -> float: ... + def getBo(self) -> float: ... + def getBw(self) -> float: ... + def getGasDensity(self) -> float: ... + def getGasReservoirVolume(self) -> float: ... + def getGasStdTotal(self) -> float: ... + def getGasViscosity(self) -> float: ... + def getOilDensity(self) -> float: ... + def getOilReservoirVolume(self) -> float: ... + def getOilStdTotal(self) -> float: ... + def getOilViscosity(self) -> float: ... + def getPressure(self) -> float: ... + def getRs(self) -> float: ... + def getRv(self) -> float: ... + def getTemperature(self) -> float: ... + def getWaterDensity(self) -> float: ... + def getWaterReservoirVolume(self) -> float: ... + def getWaterStd(self) -> float: ... + def getWaterViscosity(self) -> float: ... + def setPressure(self, double: float) -> None: ... + def setStdTotals(self, double: float, double2: float, double3: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil")``. + + BlackOilConverter: typing.Type[BlackOilConverter] + BlackOilFlash: typing.Type[BlackOilFlash] + BlackOilFlashResult: typing.Type[BlackOilFlashResult] + BlackOilPVTTable: typing.Type[BlackOilPVTTable] + SystemBlackOil: typing.Type[SystemBlackOil] + io: jneqsim.blackoil.io.__module_protocol__ diff --git a/src/jneqsim/blackoil/io/__init__.pyi b/src/jneqsim/blackoil/io/__init__.pyi new file mode 100644 index 00000000..41fddeed --- /dev/null +++ b/src/jneqsim/blackoil/io/__init__.pyi @@ -0,0 +1,173 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import java.util +import jpype +import jpype.protocol +import jneqsim.blackoil +import jneqsim.thermo.system +import typing + + + +class CMGEOSExporter: + @typing.overload + @staticmethod + def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'CMGEOSExporter.ExportConfig') -> None: ... + @typing.overload + @staticmethod + def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'CMGEOSExporter.ExportConfig') -> None: ... + @typing.overload + @staticmethod + def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], simulator: 'CMGEOSExporter.Simulator') -> None: ... + @typing.overload + def toString(self) -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float) -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, exportConfig: 'CMGEOSExporter.ExportConfig') -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(systemInterface: jneqsim.thermo.system.SystemInterface, exportConfig: 'CMGEOSExporter.ExportConfig') -> java.lang.String: ... + class ExportConfig: + def __init__(self): ... + def setComment(self, string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.ExportConfig': ... + def setIncludeHeader(self, boolean: bool) -> 'CMGEOSExporter.ExportConfig': ... + def setModelName(self, string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.ExportConfig': ... + def setPressureGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CMGEOSExporter.ExportConfig': ... + def setReferenceTemperature(self, double: float) -> 'CMGEOSExporter.ExportConfig': ... + def setSimulator(self, simulator: 'CMGEOSExporter.Simulator') -> 'CMGEOSExporter.ExportConfig': ... + def setStandardConditions(self, double: float, double2: float) -> 'CMGEOSExporter.ExportConfig': ... + def setUnits(self, units: 'CMGEOSExporter.Units') -> 'CMGEOSExporter.ExportConfig': ... + class Simulator(java.lang.Enum['CMGEOSExporter.Simulator']): + IMEX: typing.ClassVar['CMGEOSExporter.Simulator'] = ... + GEM: typing.ClassVar['CMGEOSExporter.Simulator'] = ... + STARS: typing.ClassVar['CMGEOSExporter.Simulator'] = ... + _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]) -> 'CMGEOSExporter.Simulator': ... + @staticmethod + def values() -> typing.MutableSequence['CMGEOSExporter.Simulator']: ... + class Units(java.lang.Enum['CMGEOSExporter.Units']): + SI: typing.ClassVar['CMGEOSExporter.Units'] = ... + FIELD: typing.ClassVar['CMGEOSExporter.Units'] = ... + _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]) -> 'CMGEOSExporter.Units': ... + @staticmethod + def values() -> typing.MutableSequence['CMGEOSExporter.Units']: ... + +class EclipseBlackOilImporter: + def __init__(self): ... + @staticmethod + def fromFile(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'EclipseBlackOilImporter.Result': ... + @staticmethod + def fromReader(reader: java.io.Reader) -> 'EclipseBlackOilImporter.Result': ... + class Result: + pvt: jneqsim.blackoil.BlackOilPVTTable = ... + system: jneqsim.blackoil.SystemBlackOil = ... + rho_o_sc: float = ... + rho_w_sc: float = ... + rho_g_sc: float = ... + bubblePoint: float = ... + log: java.util.List = ... + def __init__(self): ... + class Units(java.lang.Enum['EclipseBlackOilImporter.Units']): + METRIC: typing.ClassVar['EclipseBlackOilImporter.Units'] = ... + FIELD: typing.ClassVar['EclipseBlackOilImporter.Units'] = ... + LAB: typing.ClassVar['EclipseBlackOilImporter.Units'] = ... + _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]) -> 'EclipseBlackOilImporter.Units': ... + @staticmethod + def values() -> typing.MutableSequence['EclipseBlackOilImporter.Units']: ... + +class EclipseEOSExporter: + @typing.overload + @staticmethod + def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'EclipseEOSExporter.ExportConfig') -> None: ... + @typing.overload + @staticmethod + def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'EclipseEOSExporter.ExportConfig') -> None: ... + @typing.overload + def toString(self) -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float) -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, exportConfig: 'EclipseEOSExporter.ExportConfig') -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + @typing.overload + @staticmethod + def toString(systemInterface: jneqsim.thermo.system.SystemInterface, exportConfig: 'EclipseEOSExporter.ExportConfig') -> java.lang.String: ... + class ExportConfig: + def __init__(self): ... + def setComment(self, string: typing.Union[java.lang.String, str]) -> 'EclipseEOSExporter.ExportConfig': ... + def setIncludeDensity(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... + def setIncludeHeader(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... + def setIncludePVTG(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... + def setIncludePVTO(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... + def setIncludePVTW(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... + def setPressureGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'EclipseEOSExporter.ExportConfig': ... + def setReferenceTemperature(self, double: float) -> 'EclipseEOSExporter.ExportConfig': ... + def setStandardConditions(self, double: float, double2: float) -> 'EclipseEOSExporter.ExportConfig': ... + def setUnits(self, units: 'EclipseEOSExporter.Units') -> 'EclipseEOSExporter.ExportConfig': ... + class Units(java.lang.Enum['EclipseEOSExporter.Units']): + METRIC: typing.ClassVar['EclipseEOSExporter.Units'] = ... + FIELD: typing.ClassVar['EclipseEOSExporter.Units'] = ... + _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]) -> 'EclipseEOSExporter.Units': ... + @staticmethod + def values() -> typing.MutableSequence['EclipseEOSExporter.Units']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil.io")``. + + CMGEOSExporter: typing.Type[CMGEOSExporter] + EclipseBlackOilImporter: typing.Type[EclipseBlackOilImporter] + EclipseEOSExporter: typing.Type[EclipseEOSExporter] diff --git a/src/jneqsim/chemicalreactions/__init__.pyi b/src/jneqsim/chemicalreactions/__init__.pyi new file mode 100644 index 00000000..21860ed2 --- /dev/null +++ b/src/jneqsim/chemicalreactions/__init__.pyi @@ -0,0 +1,63 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.chemicalreactions.chemicalequilibrium +import jneqsim.chemicalreactions.chemicalreaction +import jneqsim.chemicalreactions.kinetics +import jneqsim.thermo +import jneqsim.thermo.component +import jneqsim.thermo.phase +import jneqsim.thermo.system +import typing + + + +class ChemicalReactionOperations(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addNewComponents(self) -> None: ... + def calcAmatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcBVector(self) -> typing.MutableSequence[float]: ... + def calcChemRefPot(self, int: int) -> typing.MutableSequence[float]: ... + def calcInertMoles(self, int: int) -> float: ... + def calcNVector(self) -> typing.MutableSequence[float]: ... + def clone(self) -> 'ChemicalReactionOperations': ... + def getAllElements(self) -> typing.MutableSequence[java.lang.String]: ... + def getAmatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getDeltaReactionHeat(self) -> float: ... + def getKinetics(self) -> jneqsim.chemicalreactions.kinetics.Kinetics: ... + def getReactionList(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList: ... + def hasReactions(self) -> bool: ... + def reacHeat(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def setComponents(self) -> None: ... + @typing.overload + def setComponents(self, int: int) -> None: ... + def setDeltaReactionHeat(self, double: float) -> None: ... + def setReactionList(self, chemicalReactionList: jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList) -> None: ... + @typing.overload + def setReactiveComponents(self) -> None: ... + @typing.overload + def setReactiveComponents(self, int: int) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @typing.overload + def solveChemEq(self, int: int) -> bool: ... + @typing.overload + def solveChemEq(self, int: int, int2: int) -> bool: ... + def solveKinetics(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int) -> float: ... + def sortReactiveComponents(self) -> None: ... + def updateMoles(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions")``. + + ChemicalReactionOperations: typing.Type[ChemicalReactionOperations] + chemicalequilibrium: jneqsim.chemicalreactions.chemicalequilibrium.__module_protocol__ + chemicalreaction: jneqsim.chemicalreactions.chemicalreaction.__module_protocol__ + kinetics: jneqsim.chemicalreactions.kinetics.__module_protocol__ diff --git a/src/jneqsim/chemicalreactions/chemicalequilibrium/__init__.pyi b/src/jneqsim/chemicalreactions/chemicalequilibrium/__init__.pyi new file mode 100644 index 00000000..e0d77caf --- /dev/null +++ b/src/jneqsim/chemicalreactions/chemicalequilibrium/__init__.pyi @@ -0,0 +1,82 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import Jama +import java.io +import java.lang +import java.util +import jpype +import jneqsim.chemicalreactions +import jneqsim.thermo +import jneqsim.thermo.component +import jneqsim.thermo.system +import typing + + + +class ChemEq(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def __init__(self, double: float, double2: float, 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def chemSolve(self) -> None: ... + def innerStep(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], int2: int, double2: float) -> float: ... + @typing.overload + def solve(self) -> None: ... + @typing.overload + def solve(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def step(self) -> float: ... + +class ChemicalEquilibrium(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], int: int): ... + def calcRefPot(self) -> None: ... + def chemSolve(self) -> None: ... + def getConvergenceTolerance(self) -> float: ... + def getLastError(self) -> float: ... + def getLastIterationCount(self) -> int: ... + def getMaxIterations(self) -> int: ... + def getMoles(self) -> typing.MutableSequence[float]: ... + def innerStep(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], int2: int, double2: float, boolean: bool) -> float: ... + def isLastConverged(self) -> bool: ... + def isUseAdaptiveDerivatives(self) -> bool: ... + def isUseFugacityDerivatives(self) -> bool: ... + def isUseFullMMatrix(self) -> bool: ... + def printComp(self) -> None: ... + def setConvergenceTolerance(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setUseAdaptiveDerivatives(self, boolean: bool) -> None: ... + def setUseFugacityDerivatives(self, boolean: bool) -> None: ... + def setUseFullMMatrix(self, boolean: bool) -> None: ... + def solve(self) -> bool: ... + def step(self) -> float: ... + def updateMoles(self) -> None: ... + +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]]: ... + def getRefPot(self) -> typing.MutableSequence[float]: ... + +class ReferencePotComparator(java.util.Comparator[jneqsim.thermo.component.ComponentInterface], java.io.Serializable): + def __init__(self): ... + def compare(self, componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> int: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.chemicalequilibrium")``. + + ChemEq: typing.Type[ChemEq] + ChemicalEquilibrium: typing.Type[ChemicalEquilibrium] + LinearProgrammingChemicalEquilibrium: typing.Type[LinearProgrammingChemicalEquilibrium] + ReferencePotComparator: typing.Type[ReferencePotComparator] diff --git a/src/jneqsim/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim/chemicalreactions/chemicalreaction/__init__.pyi new file mode 100644 index 00000000..7d29bac4 --- /dev/null +++ b/src/jneqsim/chemicalreactions/chemicalreaction/__init__.pyi @@ -0,0 +1,89 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import Jama +import java.lang +import java.util +import jpype +import jneqsim.thermo +import jneqsim.thermo.component +import jneqsim.thermo.phase +import jneqsim.thermo.system +import jneqsim.util +import typing + + + +class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.ThermodynamicConstantsInterface): + def __init__(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, double5: float): ... + def calcK(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def calcKgamma(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def calcKx(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def checkK(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def getActivationEnergy(self) -> float: ... + @typing.overload + def getK(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getK(self) -> typing.MutableSequence[float]: ... + def getNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getProductNames(self) -> typing.MutableSequence[java.lang.String]: ... + @typing.overload + def getRateFactor(self) -> float: ... + @typing.overload + def getRateFactor(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getReactantNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getReactionHeat(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getSaturationRatio(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def getStocCoefs(self) -> typing.MutableSequence[float]: ... + def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def initMoleNumbers(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def reactantsContains(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> bool: ... + def setActivationEnergy(self, double: float) -> None: ... + @typing.overload + def setK(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setK(self, int: int, double: float) -> None: ... + def setRateFactor(self, double: float) -> None: ... + +class ChemicalReactionFactory: + @staticmethod + def getChemicalReaction(string: typing.Union[java.lang.String, str]) -> ChemicalReaction: ... + @staticmethod + def getChemicalReactionNames() -> typing.MutableSequence[java.lang.String]: ... + +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 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]]: ... + def getAllComponents(self) -> typing.MutableSequence[java.lang.String]: ... + def getChemicalReactionList(self) -> java.util.ArrayList[ChemicalReaction]: ... + def getReacMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getReaction(self, int: int) -> ChemicalReaction: ... + @typing.overload + def getReaction(self, string: typing.Union[java.lang.String, str]) -> ChemicalReaction: ... + def getReactionGMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getReactionMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getStocMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def initMoleNumbers(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def reacHeat(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, string: typing.Union[java.lang.String, str]) -> float: ... + def readReactions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def removeDependentReactions(self) -> None: ... + def removeJunkReactions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setChemicalReactionList(self, arrayList: java.util.ArrayList[ChemicalReaction]) -> None: ... + def updateReferencePotentials(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> typing.MutableSequence[float]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.chemicalreaction")``. + + ChemicalReaction: typing.Type[ChemicalReaction] + ChemicalReactionFactory: typing.Type[ChemicalReactionFactory] + ChemicalReactionList: typing.Type[ChemicalReactionList] diff --git a/src/jneqsim/chemicalreactions/kinetics/__init__.pyi b/src/jneqsim/chemicalreactions/kinetics/__init__.pyi new file mode 100644 index 00000000..4582d9a0 --- /dev/null +++ b/src/jneqsim/chemicalreactions/kinetics/__init__.pyi @@ -0,0 +1,27 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import jneqsim.chemicalreactions +import jneqsim.thermo.phase +import typing + + + +class Kinetics(java.io.Serializable): + def __init__(self, chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations): ... + def calcKinetics(self) -> None: ... + def calcReacMatrix(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, phaseInterface2: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def getPhiInfinite(self) -> float: ... + def getPseudoFirstOrderCoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, phaseInterface2: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def isIrreversible(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.kinetics")``. + + Kinetics: typing.Type[Kinetics] diff --git a/src/jneqsim/datapresentation/__init__.pyi b/src/jneqsim/datapresentation/__init__.pyi new file mode 100644 index 00000000..b0c27dc0 --- /dev/null +++ b/src/jneqsim/datapresentation/__init__.pyi @@ -0,0 +1,42 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.datapresentation.filehandling +import jneqsim.datapresentation.jfreechart +import typing + + + +class DataHandling: + def __init__(self): ... + def getItemCount(self, int: int) -> int: ... + def getLegendItemCount(self) -> int: ... + def getLegendItemLabels(self) -> typing.MutableSequence[java.lang.String]: ... + def getSeriesCount(self) -> int: ... + def getSeriesName(self, int: int) -> java.lang.String: ... + def getXValue(self, int: int, int2: int) -> java.lang.Number: ... + def getYValue(self, int: int, int2: int) -> java.lang.Number: ... + def printToFile(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + +class SampleXYDataSource: + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getItemCount(self, int: int) -> int: ... + def getSeriesCount(self) -> int: ... + def getSeriesName(self, int: int) -> java.lang.String: ... + def getXValue(self, int: int, int2: int) -> java.lang.Number: ... + def getYValue(self, int: int, int2: int) -> java.lang.Number: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.datapresentation")``. + + DataHandling: typing.Type[DataHandling] + SampleXYDataSource: typing.Type[SampleXYDataSource] + filehandling: jneqsim.datapresentation.filehandling.__module_protocol__ + jfreechart: jneqsim.datapresentation.jfreechart.__module_protocol__ diff --git a/src/jneqsim/datapresentation/filehandling/__init__.pyi b/src/jneqsim/datapresentation/filehandling/__init__.pyi new file mode 100644 index 00000000..1a332122 --- /dev/null +++ b/src/jneqsim/datapresentation/filehandling/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import typing + + + +class TextFile(java.io.Serializable): + def __init__(self): ... + def createFile(self) -> None: ... + def newFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setValues(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setValues(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.datapresentation.filehandling")``. + + TextFile: typing.Type[TextFile] diff --git a/src/jneqsim/datapresentation/jfreechart/__init__.pyi b/src/jneqsim/datapresentation/jfreechart/__init__.pyi new file mode 100644 index 00000000..41806bf3 --- /dev/null +++ b/src/jneqsim/datapresentation/jfreechart/__init__.pyi @@ -0,0 +1,40 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.awt.image +import java.lang +import javax.swing +import jpype +import org.jfree.chart +import org.jfree.data.category +import typing + + + +class Graph2b(javax.swing.JFrame): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, doubleArray: 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], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def createCategoryDataSource(self) -> org.jfree.data.category.CategoryDataset: ... + def getBufferedImage(self) -> java.awt.image.BufferedImage: ... + def getChart(self) -> org.jfree.chart.JFreeChart: ... + def getChartPanel(self) -> org.jfree.chart.ChartPanel: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def saveFigure(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setChart(self, jFreeChart: org.jfree.chart.JFreeChart) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.datapresentation.jfreechart")``. + + Graph2b: typing.Type[Graph2b] diff --git a/src/jneqsim/fluidmechanics/__init__.pyi b/src/jneqsim/fluidmechanics/__init__.pyi new file mode 100644 index 00000000..e8ed463d --- /dev/null +++ b/src/jneqsim/fluidmechanics/__init__.pyi @@ -0,0 +1,31 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowleg +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flowsolver +import jneqsim.fluidmechanics.flowsystem +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.fluidmechanics.util +import typing + + + +class FluidMech: + def __init__(self): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics")``. + + FluidMech: typing.Type[FluidMech] + flowleg: jneqsim.fluidmechanics.flowleg.__module_protocol__ + flownode: jneqsim.fluidmechanics.flownode.__module_protocol__ + flowsolver: jneqsim.fluidmechanics.flowsolver.__module_protocol__ + flowsystem: jneqsim.fluidmechanics.flowsystem.__module_protocol__ + geometrydefinitions: jneqsim.fluidmechanics.geometrydefinitions.__module_protocol__ + util: jneqsim.fluidmechanics.util.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowleg/__init__.pyi b/src/jneqsim/fluidmechanics/flowleg/__init__.pyi new file mode 100644 index 00000000..fb4311a1 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowleg/__init__.pyi @@ -0,0 +1,62 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.fluidmechanics.flowleg.pipeleg +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class FlowLegInterface: + @typing.overload + def createFlowNodes(self) -> None: ... + @typing.overload + def createFlowNodes(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getNumberOfNodes(self) -> int: ... + def setEquipmentGeometry(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeightCoordinates(self, double: float, double2: float) -> None: ... + def setLongitudionalCoordinates(self, double: float, double2: float) -> None: ... + def setNumberOfNodes(self, int: int) -> None: ... + def setOuterHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setOuterTemperatures(self, double: float, double2: float) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setWallHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + +class FlowLeg(FlowLegInterface, java.io.Serializable): + def __init__(self): ... + @typing.overload + def createFlowNodes(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + @typing.overload + def createFlowNodes(self) -> None: ... + def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getNumberOfNodes(self) -> int: ... + def setEquipmentGeometry(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setFlowNodeTypes(self) -> None: ... + def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeightCoordinates(self, double: float, double2: float) -> None: ... + def setLongitudionalCoordinates(self, double: float, double2: float) -> None: ... + def setNumberOfNodes(self, int: int) -> None: ... + def setOuterHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setOuterTemperatures(self, double: float, double2: float) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setWallHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowleg")``. + + FlowLeg: typing.Type[FlowLeg] + FlowLegInterface: typing.Type[FlowLegInterface] + pipeleg: jneqsim.fluidmechanics.flowleg.pipeleg.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowleg/pipeleg/__init__.pyi b/src/jneqsim/fluidmechanics/flowleg/pipeleg/__init__.pyi new file mode 100644 index 00000000..68ab91bf --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowleg/pipeleg/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowleg +import jneqsim.fluidmechanics.flownode +import typing + + + +class PipeLeg(jneqsim.fluidmechanics.flowleg.FlowLeg): + def __init__(self): ... + @typing.overload + def createFlowNodes(self) -> None: ... + @typing.overload + def createFlowNodes(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowleg.pipeleg")``. + + PipeLeg: typing.Type[PipeLeg] diff --git a/src/jneqsim/fluidmechanics/flownode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/__init__.pyi new file mode 100644 index 00000000..827f4cf0 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/__init__.pyi @@ -0,0 +1,415 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode.fluidboundary +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient +import jneqsim.fluidmechanics.flownode.multiphasenode +import jneqsim.fluidmechanics.flownode.onephasenode +import jneqsim.fluidmechanics.flownode.twophasenode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import jneqsim.util.util +import typing + + + +class FlowNodeInterface(java.lang.Cloneable): + def calcFluxes(self) -> None: ... + def calcNusseltNumber(self, double: float, int: int) -> float: ... + def calcSherwoodNumber(self, double: float, int: int) -> float: ... + def calcStantonNumber(self, double: float, int: int) -> float: ... + def calcTotalHeatTransferCoefficient(self, int: int) -> float: ... + @typing.overload + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def display(self) -> None: ... + def getArea(self, int: int) -> float: ... + def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getDistanceToCenterOfNode(self) -> float: ... + def getEffectiveSchmidtNumber(self, int: int, int2: int) -> float: ... + def getFlowDirection(self, int: int) -> int: ... + def getFlowNodeType(self) -> java.lang.String: ... + def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... + def getGeometry(self) -> jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface: ... + def getHydraulicDiameter(self, int: int) -> float: ... + def getInterPhaseFrictionFactor(self) -> float: ... + def getInterphaseContactArea(self) -> float: ... + def getInterphaseContactLength(self, int: int) -> float: ... + def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getInterphaseTransportCoefficient(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientInterface: ... + def getLengthOfNode(self) -> float: ... + def getMassFlowRate(self, int: int) -> float: ... + def getMolarMassTransferRate(self, int: int) -> float: ... + def getNextNode(self) -> 'FlowNodeInterface': ... + def getOperations(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getPhaseFraction(self, int: int) -> float: ... + def getPrandtlNumber(self, int: int) -> float: ... + @typing.overload + def getReynoldsNumber(self, int: int) -> float: ... + @typing.overload + def getReynoldsNumber(self) -> float: ... + def getSchmidtNumber(self, int: int, int2: int, int3: int) -> float: ... + def getSuperficialVelocity(self, int: int) -> float: ... + @typing.overload + def getVelocity(self, int: int) -> float: ... + @typing.overload + def getVelocity(self) -> float: ... + @typing.overload + def getVelocityIn(self, int: int) -> jneqsim.util.util.DoubleCloneable: ... + @typing.overload + def getVelocityIn(self) -> jneqsim.util.util.DoubleCloneable: ... + @typing.overload + def getVelocityOut(self, int: int) -> jneqsim.util.util.DoubleCloneable: ... + @typing.overload + def getVelocityOut(self) -> jneqsim.util.util.DoubleCloneable: ... + def getVerticalPositionOfNode(self) -> float: ... + def getVolumetricFlow(self) -> float: ... + def getWallContactLength(self, int: int) -> float: ... + @typing.overload + def getWallFrictionFactor(self, int: int) -> float: ... + @typing.overload + def getWallFrictionFactor(self) -> float: ... + def increaseMolarRate(self, double: float) -> None: ... + def init(self) -> None: ... + def initBulkSystem(self) -> None: ... + def initFlowCalc(self) -> None: ... + def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setDistanceToCenterOfNode(self, double: float) -> None: ... + def setEnhancementType(self, int: int) -> None: ... + def setFlowDirection(self, int: int, int2: int) -> None: ... + def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFrictionFactorType(self, int: int) -> None: ... + def setGeometryDefinitionInterface(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setInterphaseModelType(self, int: int) -> None: ... + def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setLengthOfNode(self, double: float) -> None: ... + def setPhaseFraction(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocity(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocity(self, double: float) -> None: ... + @typing.overload + def setVelocityIn(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocityIn(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + @typing.overload + def setVelocityIn(self, double: float) -> None: ... + @typing.overload + def setVelocityIn(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + @typing.overload + def setVelocityOut(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocityOut(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + @typing.overload + def setVelocityOut(self, double: float) -> None: ... + @typing.overload + def setVelocityOut(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVerticalPositionOfNode(self, double: float) -> None: ... + @typing.overload + def setWallFrictionFactor(self, int: int, double: float) -> None: ... + @typing.overload + def setWallFrictionFactor(self, double: float) -> None: ... + def update(self) -> None: ... + def updateMolarFlow(self) -> None: ... + def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + +class FlowNodeSelector: + def __init__(self): ... + def getFlowNodeType(self, flowNodeInterfaceArray: typing.Union[typing.List[FlowNodeInterface], jpype.JArray]) -> None: ... + def setFlowPattern(self, flowNodeInterfaceArray: typing.Union[typing.List[FlowNodeInterface], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + +class FlowPattern(java.lang.Enum['FlowPattern']): + STRATIFIED: typing.ClassVar['FlowPattern'] = ... + STRATIFIED_WAVY: typing.ClassVar['FlowPattern'] = ... + ANNULAR: typing.ClassVar['FlowPattern'] = ... + SLUG: typing.ClassVar['FlowPattern'] = ... + BUBBLE: typing.ClassVar['FlowPattern'] = ... + DROPLET: typing.ClassVar['FlowPattern'] = ... + CHURN: typing.ClassVar['FlowPattern'] = ... + DISPERSED_BUBBLE: typing.ClassVar['FlowPattern'] = ... + @staticmethod + def fromString(string: typing.Union[java.lang.String, str]) -> 'FlowPattern': ... + def getName(self) -> java.lang.String: ... + def toString(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]) -> 'FlowPattern': ... + @staticmethod + def values() -> typing.MutableSequence['FlowPattern']: ... + +class FlowPatternDetector: + @staticmethod + def calculateLiquidHoldup(flowPattern: FlowPattern, double: float, double2: float, double3: float) -> float: ... + @staticmethod + def detectFlowPattern(flowPatternModel: 'FlowPatternModel', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> FlowPattern: ... + +class FlowPatternModel(java.lang.Enum['FlowPatternModel']): + MANUAL: typing.ClassVar['FlowPatternModel'] = ... + BAKER_CHART: typing.ClassVar['FlowPatternModel'] = ... + TAITEL_DUKLER: typing.ClassVar['FlowPatternModel'] = ... + BARNEA: typing.ClassVar['FlowPatternModel'] = ... + BEGGS_BRILL: typing.ClassVar['FlowPatternModel'] = ... + _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]) -> 'FlowPatternModel': ... + @staticmethod + def values() -> typing.MutableSequence['FlowPatternModel']: ... + +class HeatTransferCoefficientCalculator: + @staticmethod + def calculateCondensationHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + @staticmethod + def calculateCondensationNusselt(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calculateDittusBoelterNusselt(double: float, double2: float, boolean: bool) -> float: ... + @staticmethod + def calculateEvaporationHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + @staticmethod + def calculateGasHeatTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calculateGnielinskiNusselt(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateLaminarNusselt(boolean: bool) -> float: ... + @staticmethod + def calculateLiquidHeatTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + @staticmethod + def calculateOverallInterphaseCoefficient(double: float, double2: float) -> float: ... + @staticmethod + def calculateStantonNumber(double: float, double2: float, double3: float, double4: float) -> float: ... + +class InterfacialAreaCalculator: + @staticmethod + def calculateAnnularArea(double: float, double2: float) -> float: ... + @staticmethod + def calculateAnnularAreaWithEntrainment(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calculateBubbleArea(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def calculateChurnArea(double: float, double2: float) -> float: ... + @staticmethod + def calculateDropletArea(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def calculateEnhancedInterfacialArea(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, boolean2: bool) -> float: ... + @staticmethod + def calculateInterfacialArea(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calculateSauterDiameter(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calculateSlugArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calculateStratifiedArea(double: float, double2: float) -> float: ... + @staticmethod + def calculateStratifiedWavyArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def getExpectedInterfacialAreaRange(flowPattern: FlowPattern, double: float) -> typing.MutableSequence[float]: ... + +class InterfacialAreaModel(java.lang.Enum['InterfacialAreaModel']): + GEOMETRIC: typing.ClassVar['InterfacialAreaModel'] = ... + EMPIRICAL_CORRELATION: typing.ClassVar['InterfacialAreaModel'] = ... + USER_DEFINED: typing.ClassVar['InterfacialAreaModel'] = ... + def getName(self) -> java.lang.String: ... + def toString(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]) -> 'InterfacialAreaModel': ... + @staticmethod + def values() -> typing.MutableSequence['InterfacialAreaModel']: ... + +class MassTransferCoefficientCalculator: + @staticmethod + def applyMarangoniCorrection(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calculateDittusBoelterSherwood(double: float, double2: float) -> float: ... + @staticmethod + def calculateEnhancedLiquidMassTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool, boolean2: bool) -> float: ... + @staticmethod + def calculateGasMassTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def calculateLiquidMassTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calculateLiquidMassTransferCoefficientWithTurbulence(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + @staticmethod + def calculateRanzMarshallSherwood(double: float, double2: float) -> float: ... + @staticmethod + def estimateTurbulentIntensity(flowPattern: FlowPattern, double: float) -> float: ... + @staticmethod + def getExpectedMassTransferCoefficientRange(flowPattern: FlowPattern, int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def validateAgainstLiterature(double: float, flowPattern: FlowPattern, int: int) -> bool: ... + +class WallHeatTransferModel(java.lang.Enum['WallHeatTransferModel']): + ADIABATIC: typing.ClassVar['WallHeatTransferModel'] = ... + CONSTANT_WALL_TEMPERATURE: typing.ClassVar['WallHeatTransferModel'] = ... + CONSTANT_HEAT_FLUX: typing.ClassVar['WallHeatTransferModel'] = ... + CONVECTIVE_BOUNDARY: typing.ClassVar['WallHeatTransferModel'] = ... + TRANSIENT_WALL_TEMPERATURE: typing.ClassVar['WallHeatTransferModel'] = ... + _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]) -> 'WallHeatTransferModel': ... + @staticmethod + def values() -> typing.MutableSequence['WallHeatTransferModel']: ... + +class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface): + molarFlowRate: typing.MutableSequence[float] = ... + massFlowRate: typing.MutableSequence[float] = ... + volumetricFlowRate: typing.MutableSequence[float] = ... + bulkSystem: jneqsim.thermo.system.SystemInterface = ... + velocityIn: typing.MutableSequence[jneqsim.util.util.DoubleCloneable] = ... + velocityOut: typing.MutableSequence[jneqsim.util.util.DoubleCloneable] = ... + superficialVelocity: typing.MutableSequence[float] = ... + interphaseContactArea: float = ... + velocity: typing.MutableSequence[float] = ... + pipe: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, double: float, double2: float): ... + def calcFluxes(self) -> None: ... + def calcNusseltNumber(self, double: float, int: int) -> float: ... + def calcSherwoodNumber(self, double: float, int: int) -> float: ... + def calcStantonNumber(self, double: float, int: int) -> float: ... + def calcTotalHeatTransferCoefficient(self, int: int) -> float: ... + def clone(self) -> 'FlowNode': ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + @typing.overload + def display(self) -> None: ... + @typing.overload + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getArea(self, int: int) -> float: ... + def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getDistanceToCenterOfNode(self) -> float: ... + def getEffectiveSchmidtNumber(self, int: int, int2: int) -> float: ... + def getFlowDirection(self, int: int) -> int: ... + def getFlowNodeType(self) -> java.lang.String: ... + def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... + def getGeometry(self) -> jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface: ... + def getHydraulicDiameter(self, int: int) -> float: ... + def getInterPhaseFrictionFactor(self) -> float: ... + def getInterphaseContactArea(self) -> float: ... + def getInterphaseContactLength(self, int: int) -> float: ... + def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getInterphaseTransportCoefficient(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientInterface: ... + def getLengthOfNode(self) -> float: ... + def getMassFlowRate(self, int: int) -> float: ... + def getMolarMassTransferRate(self, int: int) -> float: ... + def getNextNode(self) -> FlowNodeInterface: ... + def getOperations(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getPhaseFraction(self, int: int) -> float: ... + def getPrandtlNumber(self, int: int) -> float: ... + @typing.overload + def getReynoldsNumber(self) -> float: ... + @typing.overload + def getReynoldsNumber(self, int: int) -> float: ... + def getSchmidtNumber(self, int: int, int2: int, int3: int) -> float: ... + def getSuperficialVelocity(self, int: int) -> float: ... + @typing.overload + def getVelocity(self) -> float: ... + @typing.overload + def getVelocity(self, int: int) -> float: ... + @typing.overload + def getVelocityIn(self) -> jneqsim.util.util.DoubleCloneable: ... + @typing.overload + def getVelocityIn(self, int: int) -> jneqsim.util.util.DoubleCloneable: ... + @typing.overload + def getVelocityOut(self) -> jneqsim.util.util.DoubleCloneable: ... + @typing.overload + def getVelocityOut(self, int: int) -> jneqsim.util.util.DoubleCloneable: ... + def getVerticalPositionOfNode(self) -> float: ... + def getVolumetricFlow(self) -> float: ... + def getWallContactLength(self, int: int) -> float: ... + @typing.overload + def getWallFrictionFactor(self) -> float: ... + @typing.overload + def getWallFrictionFactor(self, int: int) -> float: ... + def increaseMolarRate(self, double: float) -> None: ... + def init(self) -> None: ... + def initBulkSystem(self) -> None: ... + def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setDistanceToCenterOfNode(self, double: float) -> None: ... + def setEnhancementType(self, int: int) -> None: ... + def setFlowDirection(self, int: int, int2: int) -> None: ... + def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFrictionFactorType(self, int: int) -> None: ... + def setGeometryDefinitionInterface(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setInterphaseModelType(self, int: int) -> None: ... + def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setLengthOfNode(self, double: float) -> None: ... + def setOperations(self, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations) -> None: ... + def setPhaseFraction(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocity(self, double: float) -> None: ... + @typing.overload + def setVelocity(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocityIn(self, double: float) -> None: ... + @typing.overload + def setVelocityIn(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + @typing.overload + def setVelocityIn(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocityIn(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + @typing.overload + def setVelocityOut(self, double: float) -> None: ... + @typing.overload + def setVelocityOut(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + @typing.overload + def setVelocityOut(self, int: int, double: float) -> None: ... + @typing.overload + def setVelocityOut(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVerticalPositionOfNode(self, double: float) -> None: ... + @typing.overload + def setWallFrictionFactor(self, double: float) -> None: ... + @typing.overload + def setWallFrictionFactor(self, int: int, double: float) -> None: ... + def update(self) -> None: ... + def updateMolarFlow(self) -> None: ... + def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode")``. + + FlowNode: typing.Type[FlowNode] + FlowNodeInterface: typing.Type[FlowNodeInterface] + FlowNodeSelector: typing.Type[FlowNodeSelector] + FlowPattern: typing.Type[FlowPattern] + FlowPatternDetector: typing.Type[FlowPatternDetector] + FlowPatternModel: typing.Type[FlowPatternModel] + HeatTransferCoefficientCalculator: typing.Type[HeatTransferCoefficientCalculator] + InterfacialAreaCalculator: typing.Type[InterfacialAreaCalculator] + InterfacialAreaModel: typing.Type[InterfacialAreaModel] + MassTransferCoefficientCalculator: typing.Type[MassTransferCoefficientCalculator] + WallHeatTransferModel: typing.Type[WallHeatTransferModel] + fluidboundary: jneqsim.fluidmechanics.flownode.fluidboundary.__module_protocol__ + multiphasenode: jneqsim.fluidmechanics.flownode.multiphasenode.__module_protocol__ + onephasenode: jneqsim.fluidmechanics.flownode.onephasenode.__module_protocol__ + twophasenode: jneqsim.fluidmechanics.flownode.twophasenode.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/__init__.pyi new file mode 100644 index 00000000..a14f83ec --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary")``. + + heatmasstransfercalc: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.__module_protocol__ + interphasetransportcoefficient: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi new file mode 100644 index 00000000..4da50665 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi @@ -0,0 +1,175 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import Jama +import java.io +import java.lang +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.equilibriumfluidboundary +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class FluidBoundaryInterface(java.lang.Cloneable): + def calcFluxes(self) -> typing.MutableSequence[float]: ... + def clone(self) -> 'FluidBoundaryInterface': ... + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getBinaryMassTransferCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getBulkSystemOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getEffectiveMassTransferCoefficient(self, int: int, int2: int) -> float: ... + def getEnhancementFactor(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.EnhancementFactor: ... + 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 heatTransSolve(self) -> None: ... + def isHeatTransferCalc(self) -> bool: ... + def massTransSolve(self) -> None: ... + def setEnhancementType(self, int: int) -> None: ... + def setHeatTransferCalc(self, boolean: bool) -> None: ... + def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setMassTransferCalc(self, boolean: bool) -> None: ... + def solve(self) -> None: ... + @typing.overload + def useFiniteFluxCorrection(self, int: int) -> bool: ... + @typing.overload + def useFiniteFluxCorrection(self, boolean: bool) -> None: ... + @typing.overload + def useFiniteFluxCorrection(self, boolean: bool, int: int) -> None: ... + @typing.overload + def useThermodynamicCorrections(self, int: int) -> bool: ... + @typing.overload + def useThermodynamicCorrections(self, boolean: bool) -> None: ... + @typing.overload + def useThermodynamicCorrections(self, boolean: bool, int: int) -> None: ... + def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + +class InterfacialAreaModel(java.lang.Enum['InterfacialAreaModel']): + GEOMETRIC: typing.ClassVar['InterfacialAreaModel'] = ... + EMPIRICAL_CORRELATION: typing.ClassVar['InterfacialAreaModel'] = ... + USER_DEFINED: typing.ClassVar['InterfacialAreaModel'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def toString(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]) -> 'InterfacialAreaModel': ... + @staticmethod + def values() -> typing.MutableSequence['InterfacialAreaModel']: ... + +class MassTransferModel(java.lang.Enum['MassTransferModel']): + KRISHNA_STANDART_FILM: typing.ClassVar['MassTransferModel'] = ... + PENETRATION_THEORY: typing.ClassVar['MassTransferModel'] = ... + SURFACE_RENEWAL: typing.ClassVar['MassTransferModel'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def toString(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]) -> 'MassTransferModel': ... + @staticmethod + def values() -> typing.MutableSequence['MassTransferModel']: ... + +class WallHeatTransferModel(java.lang.Enum['WallHeatTransferModel']): + CONSTANT_WALL_TEMPERATURE: typing.ClassVar['WallHeatTransferModel'] = ... + CONSTANT_HEAT_FLUX: typing.ClassVar['WallHeatTransferModel'] = ... + CONVECTIVE_BOUNDARY: typing.ClassVar['WallHeatTransferModel'] = ... + ADIABATIC: typing.ClassVar['WallHeatTransferModel'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def toString(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]) -> 'WallHeatTransferModel': ... + @staticmethod + def values() -> typing.MutableSequence['WallHeatTransferModel']: ... + +class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): + interphaseHeatFlux: typing.MutableSequence[float] = ... + massTransferCalc: bool = ... + heatTransferCalc: bool = ... + thermodynamicCorrections: typing.MutableSequence[bool] = ... + finiteFluxCorrection: typing.MutableSequence[bool] = ... + binaryMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] = ... + heatTransferCoefficient: typing.MutableSequence[float] = ... + heatTransferCorrection: typing.MutableSequence[float] = ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcFluxTypeCorrectionMatrix(self, int: int, int2: int) -> None: ... + def calcNonIdealCorrections(self, int: int) -> None: ... + def clone(self) -> 'FluidBoundary': ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getBinaryMassTransferCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getBulkSystemOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getEffectiveMassTransferCoefficient(self, int: int, int2: int) -> float: ... + def getEnhancementFactor(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.EnhancementFactor: ... + def getInterphaseHeatFlux(self, int: int) -> float: ... + 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 heatTransSolve(self) -> None: ... + def init(self) -> None: ... + def initHeatTransferCalc(self) -> None: ... + def initInterphaseSystem(self) -> None: ... + def initMassTransferCalc(self) -> None: ... + def isHeatTransferCalc(self) -> bool: ... + def massTransSolve(self) -> None: ... + def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setEnhancementType(self, int: int) -> None: ... + def setHeatTransferCalc(self, boolean: bool) -> None: ... + def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setMassTransferCalc(self, boolean: bool) -> None: ... + def setSolverType(self, int: int) -> None: ... + @typing.overload + def useFiniteFluxCorrection(self, int: int) -> bool: ... + @typing.overload + def useFiniteFluxCorrection(self, boolean: bool) -> None: ... + @typing.overload + def useFiniteFluxCorrection(self, boolean: bool, int: int) -> None: ... + @typing.overload + def useThermodynamicCorrections(self, int: int) -> bool: ... + @typing.overload + def useThermodynamicCorrections(self, boolean: bool) -> None: ... + @typing.overload + def useThermodynamicCorrections(self, boolean: bool, int: int) -> None: ... + def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc")``. + + FluidBoundary: typing.Type[FluidBoundary] + FluidBoundaryInterface: typing.Type[FluidBoundaryInterface] + InterfacialAreaModel: typing.Type[InterfacialAreaModel] + MassTransferModel: typing.Type[MassTransferModel] + WallHeatTransferModel: typing.Type[WallHeatTransferModel] + equilibriumfluidboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.equilibriumfluidboundary.__module_protocol__ + finitevolumeboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.__module_protocol__ + nonequilibriumfluidboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi new file mode 100644 index 00000000..9d218f41 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi @@ -0,0 +1,31 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.thermo.system +import typing + + + +class EquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcFluxes(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def solve(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.equilibriumfluidboundary")``. + + EquilibriumFluidBoundary: typing.Type[EquilibriumFluidBoundary] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi new file mode 100644 index 00000000..c4b2b51b --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi @@ -0,0 +1,19 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary")``. + + fluidboundarynode: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.__module_protocol__ + fluidboundarysolver: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.__module_protocol__ + fluidboundarysystem: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi new file mode 100644 index 00000000..13e342b7 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi @@ -0,0 +1,32 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundarynonreactivenode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundaryreactivenode +import jneqsim.thermo.system +import typing + + + +class FluidBoundaryNodeInterface: + def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + +class FluidBoundaryNode(FluidBoundaryNodeInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode")``. + + FluidBoundaryNode: typing.Type[FluidBoundaryNode] + FluidBoundaryNodeInterface: typing.Type[FluidBoundaryNodeInterface] + fluidboundarynonreactivenode: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundarynonreactivenode.__module_protocol__ + fluidboundaryreactivenode: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundaryreactivenode.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi new file mode 100644 index 00000000..0352e096 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode +import jneqsim.thermo.system +import typing + + + +class FluidBoundaryNodeNonReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundarynonreactivenode")``. + + FluidBoundaryNodeNonReactive: typing.Type[FluidBoundaryNodeNonReactive] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi new file mode 100644 index 00000000..595bb4dd --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode +import jneqsim.thermo.system +import typing + + + +class FluidBoundaryNodeReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundaryreactivenode")``. + + FluidBoundaryNodeReactive: typing.Type[FluidBoundaryNodeReactive] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi new file mode 100644 index 00000000..aee2c3cf --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi @@ -0,0 +1,38 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem +import typing + + + +class FluidBoundarySolverInterface: + def getMolarFlux(self, int: int) -> float: ... + def solve(self) -> None: ... + +class FluidBoundarySolver(FluidBoundarySolverInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface): ... + @typing.overload + def __init__(self, fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface, boolean: bool): ... + def getMolarFlux(self, int: int) -> float: ... + def initComposition(self, int: int) -> None: ... + def initMatrix(self) -> None: ... + def initProfiles(self) -> None: ... + def setComponentConservationMatrix(self, int: int) -> None: ... + def solve(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver")``. + + FluidBoundarySolver: typing.Type[FluidBoundarySolver] + FluidBoundarySolverInterface: typing.Type[FluidBoundarySolverInterface] + fluidboundaryreactivesolver: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi new file mode 100644 index 00000000..eb963873 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi @@ -0,0 +1,20 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver +import typing + + + +class FluidBoundaryReactiveSolver(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.FluidBoundarySolver): + def __init__(self): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver")``. + + FluidBoundaryReactiveSolver: typing.Type[FluidBoundaryReactiveSolver] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi new file mode 100644 index 00000000..6ca7b29d --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi @@ -0,0 +1,51 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarynonreactive +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive +import typing + + + +class FluidBoundarySystemInterface: + def addBoundary(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface) -> None: ... + def createSystem(self) -> None: ... + def getFilmThickness(self) -> float: ... + def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... + def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNodeInterface: ... + def getNodeLength(self) -> float: ... + def getNumberOfNodes(self) -> int: ... + def setFilmThickness(self, double: float) -> None: ... + def setNumberOfNodes(self, int: int) -> None: ... + def solve(self) -> None: ... + +class FluidBoundarySystem(FluidBoundarySystemInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def addBoundary(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface) -> None: ... + def createSystem(self) -> None: ... + def getFilmThickness(self) -> float: ... + def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... + def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNodeInterface: ... + def getNodeLength(self) -> float: ... + def getNumberOfNodes(self) -> int: ... + def setFilmThickness(self, double: float) -> None: ... + def setNumberOfNodes(self, int: int) -> None: ... + def solve(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem")``. + + FluidBoundarySystem: typing.Type[FluidBoundarySystem] + FluidBoundarySystemInterface: typing.Type[FluidBoundarySystemInterface] + fluidboundarynonreactive: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarynonreactive.__module_protocol__ + fluidboundarysystemreactive: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi new file mode 100644 index 00000000..eea1a2f0 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem +import typing + + + +class FluidBoundarySystemNonReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystem): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def createSystem(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarynonreactive")``. + + FluidBoundarySystemNonReactive: typing.Type[FluidBoundarySystemNonReactive] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi new file mode 100644 index 00000000..2daa6377 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem +import typing + + + +class FluidBoundarySystemReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystem): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def createSystem(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive")``. + + FluidBoundarySystemReactive: typing.Type[FluidBoundarySystemReactive] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi new file mode 100644 index 00000000..6f80cd92 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi @@ -0,0 +1,45 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary +import jneqsim.thermo.system +import typing + + + +class NonEquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): + molFractionDifference: typing.MutableSequence[typing.MutableSequence[float]] = ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcFluxes(self) -> typing.MutableSequence[float]: ... + def calcHeatTransferCoefficients(self, int: int) -> None: ... + def calcHeatTransferCorrection(self, int: int) -> None: ... + def calcMolFractionDifference(self) -> None: ... + def clone(self) -> 'NonEquilibriumFluidBoundary': ... + def heatTransSolve(self) -> None: ... + def init(self) -> None: ... + def initHeatTransferCalc(self) -> None: ... + def initMassTransferCalc(self) -> None: ... + def massTransSolve(self) -> None: ... + def setJacMassTrans(self) -> None: ... + def setJacMassTrans2(self) -> None: ... + def setfvecMassTrans(self) -> None: ... + def setfvecMassTrans2(self) -> None: ... + def setuMassTrans(self) -> None: ... + def solve(self) -> None: ... + def updateMassTrans(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary")``. + + NonEquilibriumFluidBoundary: typing.Type[NonEquilibriumFluidBoundary] + filmmodelboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi new file mode 100644 index 00000000..3bf40546 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi @@ -0,0 +1,46 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel +import jneqsim.thermo +import jneqsim.thermo.system +import typing + + + +class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBinaryMassTransferCoefficients(self, int: int) -> float: ... + def calcBinarySchmidtNumbers(self, int: int) -> float: ... + def calcCorrectionMatrix(self, int: int) -> None: ... + def calcMassTransferCoefficients(self, int: int) -> float: ... + 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 clone(self) -> 'KrishnaStandartFilmModel': ... + def init(self) -> None: ... + def initCorrections(self, int: int) -> None: ... + def initHeatTransferCalc(self) -> None: ... + def initMassTransferCalc(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def solve(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary")``. + + KrishnaStandartFilmModel: typing.Type[KrishnaStandartFilmModel] + reactivefilmmodel: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi new file mode 100644 index 00000000..18c88ea7 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi @@ -0,0 +1,55 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor +import jneqsim.thermo.system +import typing + + + +class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): + molFractionDifference: typing.MutableSequence[typing.MutableSequence[float]] = ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcFluxes(self) -> typing.MutableSequence[float]: ... + def calcFluxes2(self) -> typing.MutableSequence[float]: ... + def calcHeatTransferCoefficients(self, int: int) -> None: ... + def calcHeatTransferCorrection(self, int: int) -> None: ... + def calcMolFractionDifference(self) -> None: ... + def clone(self) -> 'ReactiveFluidBoundary': ... + def heatTransSolve(self) -> None: ... + def init(self) -> None: ... + def initHeatTransferCalc(self) -> None: ... + def initMassTransferCalc(self) -> None: ... + def massTransSolve(self) -> None: ... + def setJacMassTrans(self) -> None: ... + def setJacMassTrans2(self) -> None: ... + def setfvecMassTrans(self) -> None: ... + def setfvecMassTrans2(self) -> None: ... + def setuMassTrans(self) -> None: ... + def solve(self) -> None: ... + def updateMassTrans(self) -> None: ... + +class ReactiveKrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): + @typing.overload + 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 setEnhancementType(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel")``. + + ReactiveFluidBoundary: typing.Type[ReactiveFluidBoundary] + ReactiveKrishnaStandartFilmModel: typing.Type[ReactiveKrishnaStandartFilmModel] + enhancementfactor: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi new file mode 100644 index 00000000..774d694d --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi @@ -0,0 +1,61 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import typing + + + +class EnhancementFactorInterface: + def calcEnhancementVec(self, int: int) -> None: ... + def getEnhancementVec(self, int: int) -> float: ... + def getHattaNumber(self, int: int) -> float: ... + +class EnhancementFactor(EnhancementFactorInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + @typing.overload + def calcEnhancementVec(self, int: int) -> None: ... + @typing.overload + def calcEnhancementVec(self, int: int, int2: int) -> None: ... + @typing.overload + def getEnhancementVec(self, int: int) -> float: ... + @typing.overload + def getEnhancementVec(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getHattaNumber(self, int: int) -> float: ... + @typing.overload + def getHattaNumber(self) -> typing.MutableSequence[float]: ... + @typing.overload + def setEnhancementVec(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setEnhancementVec(self, int: int, double: float) -> None: ... + def setHattaNumber(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOnesVec(self, int: int) -> None: ... + +class EnhancementFactorAlg(EnhancementFactor): + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + @typing.overload + def calcEnhancementVec(self, int: int, int2: int) -> None: ... + @typing.overload + def calcEnhancementVec(self, int: int) -> None: ... + +class EnhancementFactorNumeric(EnhancementFactor): + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def calcEnhancementMatrix(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor")``. + + EnhancementFactor: typing.Type[EnhancementFactor] + EnhancementFactorAlg: typing.Type[EnhancementFactorAlg] + EnhancementFactorInterface: typing.Type[EnhancementFactorInterface] + EnhancementFactorNumeric: typing.Type[EnhancementFactorNumeric] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi new file mode 100644 index 00000000..bc6265e2 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi @@ -0,0 +1,54 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase +import typing + + + +class InterphaseTransportCoefficientInterface: + def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + +class InterphaseTransportCoefficientBaseClass(InterphaseTransportCoefficientInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient")``. + + InterphaseTransportCoefficientBaseClass: typing.Type[InterphaseTransportCoefficientBaseClass] + InterphaseTransportCoefficientInterface: typing.Type[InterphaseTransportCoefficientInterface] + interphaseonephase: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.__module_protocol__ + interphasetwophase: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi new file mode 100644 index 00000000..e7791a37 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi @@ -0,0 +1,26 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow +import typing + + + +class InterphaseOnePhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase")``. + + InterphaseOnePhase: typing.Type[InterphaseOnePhase] + interphasepipeflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi new file mode 100644 index 00000000..12d08770 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase +import typing + + + +class InterphasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow")``. + + InterphasePipeFlow: typing.Type[InterphasePipeFlow] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi new file mode 100644 index 00000000..6871db55 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasereactorflow +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell +import typing + + + +class InterphaseTwoPhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase")``. + + InterphaseTwoPhase: typing.Type[InterphaseTwoPhase] + interphasepipeflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.__module_protocol__ + interphasereactorflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasereactorflow.__module_protocol__ + stirredcell: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi new file mode 100644 index 00000000..8b2e1d5d --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi @@ -0,0 +1,108 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase +import jneqsim.thermo +import typing + + + +class InterphaseTwoPhasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcHeatTransferCoefficientFromNusselt(self, double: float, double2: float, double3: float) -> float: ... + def calcMassTransferCoefficientFromSherwood(self, double: float, double2: float, double3: float) -> float: ... + def calcNusseltNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + +class InterphaseDropletFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcAbramzonSirignanoF(self, double: float) -> float: ... + def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcNusseltNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def getSpaldingMassTransferNumber(self) -> float: ... + def isUseAbramzonSirignano(self) -> bool: ... + def setSpaldingMassTransferNumber(self, double: float) -> None: ... + def setUseAbramzonSirignano(self, boolean: bool) -> None: ... + +class InterphaseSlugFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def getLiquidHoldupInSlug(self) -> float: ... + def getSlugLengthToDiameterRatio(self) -> float: ... + def setLiquidHoldupInSlug(self, double: float) -> None: ... + def setSlugLengthToDiameterRatio(self, double: float) -> None: ... + +class InterphaseStratifiedFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + +class InterphaseAnnularFlow(InterphaseStratifiedFlow): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow")``. + + InterphaseAnnularFlow: typing.Type[InterphaseAnnularFlow] + InterphaseDropletFlow: typing.Type[InterphaseDropletFlow] + InterphaseSlugFlow: typing.Type[InterphaseSlugFlow] + InterphaseStratifiedFlow: typing.Type[InterphaseStratifiedFlow] + InterphaseTwoPhasePipeFlow: typing.Type[InterphaseTwoPhasePipeFlow] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi new file mode 100644 index 00000000..b3baf11f --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi @@ -0,0 +1,44 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase +import jneqsim.thermo +import typing + + + +class InterphaseReactorFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + +class InterphasePackedBed(InterphaseReactorFlow, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasereactorflow")``. + + InterphasePackedBed: typing.Type[InterphasePackedBed] + InterphaseReactorFlow: typing.Type[InterphaseReactorFlow] diff --git a/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi new file mode 100644 index 00000000..de38a3cc --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi @@ -0,0 +1,31 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow +import typing + + + +class InterphaseStirredCellFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.InterphaseStratifiedFlow): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + @typing.overload + def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell")``. + + InterphaseStirredCellFlow: typing.Type[InterphaseStirredCellFlow] diff --git a/src/jneqsim/fluidmechanics/flownode/multiphasenode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/multiphasenode/__init__.pyi new file mode 100644 index 00000000..ddb10290 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/multiphasenode/__init__.pyi @@ -0,0 +1,42 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.multiphasenode.waxnode +import jneqsim.fluidmechanics.flownode.twophasenode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class MultiPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcFluxes(self) -> None: ... + def calcGasLiquidContactArea(self) -> float: ... + def calcHydraulicDiameter(self) -> float: ... + def calcReynoldNumber(self) -> float: ... + def calcWallFrictionFactor(self) -> float: ... + def clone(self) -> jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + def initVelocity(self) -> float: ... + def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def update(self) -> None: ... + def updateMolarFlow(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.multiphasenode")``. + + MultiPhaseFlowNode: typing.Type[MultiPhaseFlowNode] + waxnode: jneqsim.fluidmechanics.flownode.multiphasenode.waxnode.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi new file mode 100644 index 00000000..184b718e --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.multiphasenode +import jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class WaxDepositionFlowNode(jneqsim.fluidmechanics.flownode.multiphasenode.MultiPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def clone(self) -> jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode.StratifiedFlowNode: ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.multiphasenode.waxnode")``. + + WaxDepositionFlowNode: typing.Type[WaxDepositionFlowNode] diff --git a/src/jneqsim/fluidmechanics/flownode/onephasenode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/onephasenode/__init__.pyi new file mode 100644 index 00000000..bb517645 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/onephasenode/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class onePhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcReynoldsNumber(self) -> float: ... + def clone(self) -> 'onePhaseFlowNode': ... + def increaseMolarRate(self, double: float) -> None: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + def updateMolarFlow(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.onephasenode")``. + + onePhaseFlowNode: typing.Type[onePhaseFlowNode] + onephasepipeflownode: jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi new file mode 100644 index 00000000..7b538aa9 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi @@ -0,0 +1,31 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode.onephasenode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class onePhasePipeFlowNode(jneqsim.fluidmechanics.flownode.onephasenode.onePhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcReynoldsNumber(self) -> float: ... + def clone(self) -> 'onePhasePipeFlowNode': ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode")``. + + onePhasePipeFlowNode: typing.Type[onePhasePipeFlowNode] diff --git a/src/jneqsim/fluidmechanics/flownode/twophasenode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/twophasenode/__init__.pyi new file mode 100644 index 00000000..ae07d727 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/twophasenode/__init__.pyi @@ -0,0 +1,67 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc +import jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode +import jneqsim.fluidmechanics.flownode.twophasenode.twophasereactorflownode +import jneqsim.fluidmechanics.flownode.twophasenode.twophasestirredcellnode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): + MIN_PHASE_FRACTION: typing.ClassVar[float] = ... + NUCLEATION_PHASE_FRACTION: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcFluxes(self) -> None: ... + def calcGasLiquidContactArea(self) -> float: ... + def calcHydraulicDiameter(self) -> float: ... + def calcInterfacialAreaPerVolume(self) -> float: ... + def calcReynoldNumber(self) -> float: ... + def calcWallFrictionFactor(self) -> float: ... + def canCalculateMassTransfer(self) -> bool: ... + def checkAndInitiatePhaseTransition(self) -> bool: ... + def checkPhaseFormation(self) -> None: ... + def clone(self) -> 'TwoPhaseFlowNode': ... + def enforceMinimumPhaseFractions(self) -> None: ... + def getInterfacialAreaModel(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel: ... + def getInterfacialAreaPerVolume(self) -> float: ... + def getNucleationDiameter(self, boolean: bool) -> float: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + def initVelocity(self) -> float: ... + def initiateBubbleNucleation(self) -> None: ... + def initiateCondensation(self) -> None: ... + def isBubbleNucleationLikely(self) -> bool: ... + def isCondensationLikely(self) -> bool: ... + def isEffectivelySinglePhaseGas(self) -> bool: ... + def isEffectivelySinglePhaseLiquid(self) -> bool: ... + def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInterfacialAreaModel(self, interfacialAreaModel: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel) -> None: ... + def setUserDefinedInterfacialAreaPerVolume(self, double: float) -> None: ... + @typing.overload + def update(self) -> None: ... + @typing.overload + def update(self, double: float) -> None: ... + def updateMolarFlow(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode")``. + + TwoPhaseFlowNode: typing.Type[TwoPhaseFlowNode] + twophasepipeflownode: jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode.__module_protocol__ + twophasereactorflownode: jneqsim.fluidmechanics.flownode.twophasenode.twophasereactorflownode.__module_protocol__ + twophasestirredcellnode: jneqsim.fluidmechanics.flownode.twophasenode.twophasestirredcellnode.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi new file mode 100644 index 00000000..e0a8cca9 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi @@ -0,0 +1,113 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.twophasenode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class AnnularFlow(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def clone(self) -> 'AnnularFlow': ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class BubbleFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcGasLiquidContactArea(self) -> float: ... + def clone(self) -> 'BubbleFlowNode': ... + def getAverageBubbleDiameter(self) -> float: ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setAverageBubbleDiameter(self, double: float) -> None: ... + +class DropletFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcGasLiquidContactArea(self) -> float: ... + def clone(self) -> 'DropletFlowNode': ... + def getAverageDropletDiameter(self) -> float: ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @staticmethod + def mainOld(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setAverageDropletDiameter(self, double: float) -> None: ... + +class SlugFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcGasLiquidContactArea(self) -> float: ... + def calcSlugCharacteristics(self) -> None: ... + def clone(self) -> 'SlugFlowNode': ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getSlugFrequency(self) -> float: ... + def getSlugLengthRatio(self) -> float: ... + def getSlugTranslationalVelocity(self) -> float: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setSlugFrequency(self, double: float) -> None: ... + def setSlugLengthRatio(self, double: float) -> None: ... + +class StratifiedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def clone(self) -> 'StratifiedFlowNode': ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode")``. + + AnnularFlow: typing.Type[AnnularFlow] + BubbleFlowNode: typing.Type[BubbleFlowNode] + DropletFlowNode: typing.Type[DropletFlowNode] + SlugFlowNode: typing.Type[SlugFlowNode] + StratifiedFlowNode: typing.Type[StratifiedFlowNode] diff --git a/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi new file mode 100644 index 00000000..5178367d --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi @@ -0,0 +1,59 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.twophasenode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class TwoPhasePackedBedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcGasLiquidContactArea(self) -> float: ... + def calcHydraulicDiameter(self) -> float: ... + def calcReynoldNumber(self) -> float: ... + def clone(self) -> 'TwoPhasePackedBedFlowNode': ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def update(self, double: float) -> None: ... + @typing.overload + def update(self) -> None: ... + +class TwoPhaseTrayTowerFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def clone(self) -> 'TwoPhaseTrayTowerFlowNode': ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode.twophasereactorflownode")``. + + TwoPhasePackedBedFlowNode: typing.Type[TwoPhasePackedBedFlowNode] + TwoPhaseTrayTowerFlowNode: typing.Type[TwoPhaseTrayTowerFlowNode] diff --git a/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi b/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi new file mode 100644 index 00000000..742b80a5 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi @@ -0,0 +1,56 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flownode.twophasenode +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.thermo.system +import typing + + + +class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def calcContactLength(self) -> float: ... + def calcGasLiquidContactArea(self) -> float: ... + def calcHydraulicDiameter(self) -> float: ... + def calcReynoldNumber(self) -> float: ... + def clone(self) -> 'StirredCellNode': ... + def getDt(self) -> float: ... + def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getStirrerDiameter(self) -> typing.MutableSequence[float]: ... + def getStirrerRate(self, int: int) -> float: ... + def init(self) -> None: ... + def initFlowCalc(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setDt(self, double: float) -> None: ... + @typing.overload + def setStirrerDiameter(self, double: float) -> None: ... + @typing.overload + def setStirrerDiameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setStirrerSpeed(self, double: float) -> None: ... + @typing.overload + def setStirrerSpeed(self, int: int, double: float) -> None: ... + @typing.overload + def update(self, double: float) -> None: ... + @typing.overload + def update(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode.twophasestirredcellnode")``. + + StirredCellNode: typing.Type[StirredCellNode] diff --git a/src/jneqsim/fluidmechanics/flowsolver/__init__.pyi b/src/jneqsim/fluidmechanics/flowsolver/__init__.pyi new file mode 100644 index 00000000..97c4bae1 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsolver/__init__.pyi @@ -0,0 +1,89 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.fluidmechanics.flowsolver.onephaseflowsolver +import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver +import typing + + + +class AdvectionScheme(java.lang.Enum['AdvectionScheme']): + FIRST_ORDER_UPWIND: typing.ClassVar['AdvectionScheme'] = ... + SECOND_ORDER_UPWIND: typing.ClassVar['AdvectionScheme'] = ... + QUICK: typing.ClassVar['AdvectionScheme'] = ... + TVD_VAN_LEER: typing.ClassVar['AdvectionScheme'] = ... + TVD_MINMOD: typing.ClassVar['AdvectionScheme'] = ... + TVD_SUPERBEE: typing.ClassVar['AdvectionScheme'] = ... + TVD_VAN_ALBADA: typing.ClassVar['AdvectionScheme'] = ... + MUSCL_VAN_LEER: typing.ClassVar['AdvectionScheme'] = ... + def getDispersionReductionFactor(self) -> float: ... + def getDisplayName(self) -> java.lang.String: ... + def getMaxCFL(self) -> float: ... + def getOrder(self) -> int: ... + def toString(self) -> java.lang.String: ... + def usesTVD(self) -> bool: ... + _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]) -> 'AdvectionScheme': ... + @staticmethod + def values() -> typing.MutableSequence['AdvectionScheme']: ... + +class FlowSolverInterface: + def setBoundarySpecificationType(self, int: int) -> None: ... + def setDynamic(self, boolean: bool) -> None: ... + def setSolverType(self, int: int) -> None: ... + def setTimeStep(self, double: float) -> None: ... + def solve(self) -> None: ... + def solveTDMA(self) -> None: ... + +class FluxLimiter: + @staticmethod + def getLimiterValue(advectionScheme: AdvectionScheme, double: float) -> float: ... + @staticmethod + def gradientRatio(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def mc(double: float) -> float: ... + @staticmethod + def minmod(double: float) -> float: ... + @staticmethod + def minmod2(double: float, double2: float) -> float: ... + @staticmethod + def minmod3(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def sign(double: float) -> float: ... + @staticmethod + def superbee(double: float) -> float: ... + @staticmethod + def vanAlbada(double: float) -> float: ... + @staticmethod + def vanLeer(double: float) -> float: ... + +class FlowSolver(FlowSolverInterface, java.io.Serializable): + def __init__(self): ... + def setBoundarySpecificationType(self, int: int) -> None: ... + def setDynamic(self, boolean: bool) -> None: ... + def setSolverType(self, int: int) -> None: ... + def setTimeStep(self, double: float) -> None: ... + def solve(self) -> None: ... + def solveTDMA(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver")``. + + AdvectionScheme: typing.Type[AdvectionScheme] + FlowSolver: typing.Type[FlowSolver] + FlowSolverInterface: typing.Type[FlowSolverInterface] + FluxLimiter: typing.Type[FluxLimiter] + onephaseflowsolver: jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.__module_protocol__ + twophaseflowsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi b/src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi new file mode 100644 index 00000000..4c753bbf --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi @@ -0,0 +1,22 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowsolver +import jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver +import typing + + + +class OnePhaseFlowSolver(jneqsim.fluidmechanics.flowsolver.FlowSolver): + def __init__(self): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.onephaseflowsolver")``. + + OnePhaseFlowSolver: typing.Type[OnePhaseFlowSolver] + onephasepipeflowsolver: jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi b/src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi new file mode 100644 index 00000000..4eb13069 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi @@ -0,0 +1,46 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowsolver.onephaseflowsolver +import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem +import jneqsim.thermo +import typing + + + +class OnePhasePipeFlowSolver(jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, pipeFlowSystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.PipeFlowSystem, double: float, int: int): ... + def clone(self) -> 'OnePhasePipeFlowSolver': ... + +class OnePhaseFixedStaggeredGrid(OnePhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, pipeFlowSystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.PipeFlowSystem, double: float, int: int, boolean: bool): ... + def clone(self) -> 'OnePhaseFixedStaggeredGrid': ... + def initComposition(self, int: int) -> None: ... + def initFinalResults(self) -> None: ... + def initMatrix(self) -> None: ... + def initPressure(self, int: int) -> None: ... + def initProfiles(self) -> None: ... + def initTemperature(self, int: int) -> None: ... + def initVelocity(self, int: int) -> None: ... + def setComponentConservationMatrix(self, int: int) -> None: ... + def setEnergyMatrixTDMA(self) -> None: ... + def setImpulsMatrixTDMA(self) -> None: ... + def setMassConservationMatrixTDMA(self) -> None: ... + def solveTDMA(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver")``. + + OnePhaseFixedStaggeredGrid: typing.Type[OnePhaseFixedStaggeredGrid] + OnePhasePipeFlowSolver: typing.Type[OnePhasePipeFlowSolver] diff --git a/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi b/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi new file mode 100644 index 00000000..c076e8ef --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver +import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.twophaseflowsolver")``. + + stirredcellsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver.__module_protocol__ + twophasepipeflowsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi b/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi new file mode 100644 index 00000000..65f532c1 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver +import jneqsim.fluidmechanics.flowsystem +import jneqsim.thermo +import typing + + + +class StirredCellSolver(jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... + @typing.overload + def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int, boolean: bool): ... + def calcFluxes(self) -> None: ... + def clone(self) -> jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver: ... + def initComposition(self, int: int, int2: int) -> None: ... + def initFinalResults(self, int: int) -> None: ... + def initMatrix(self) -> None: ... + def initNodes(self) -> None: ... + def initPhaseFraction(self, int: int) -> None: ... + def initPressure(self, int: int) -> None: ... + def initProfiles(self) -> None: ... + def initTemperature(self, int: int) -> None: ... + def initVelocity(self, int: int) -> None: ... + def solveTDMA(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver")``. + + StirredCellSolver: typing.Type[StirredCellSolver] diff --git a/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi b/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi new file mode 100644 index 00000000..96c6b711 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi @@ -0,0 +1,164 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.flowsolver.onephaseflowsolver +import jneqsim.fluidmechanics.flowsystem +import jneqsim.thermo +import typing + + + +class MassTransferConfig: + def __init__(self): ... + @staticmethod + def forDissolution() -> 'MassTransferConfig': ... + @staticmethod + def forEvaporation() -> 'MassTransferConfig': ... + @staticmethod + def forHighAccuracy() -> 'MassTransferConfig': ... + @staticmethod + def forThreePhase() -> 'MassTransferConfig': ... + def getAbsoluteMinMoles(self) -> float: ... + def getAqueousPhaseIndex(self) -> int: ... + def getConvergenceTolerance(self) -> float: ... + def getCoupledIterations(self) -> int: ... + def getMaxIterations(self) -> int: ... + def getMaxPhaseDepletionPerNode(self) -> float: ... + def getMaxTemperatureChangePerNode(self) -> float: ... + def getMaxTransferFractionBidirectional(self) -> float: ... + def getMaxTransferFractionDirectional(self) -> float: ... + def getMinIterations(self) -> int: ... + def getMinMolesFraction(self) -> float: ... + def getOrganicPhaseIndex(self) -> int: ... + def getStallDetectionWindow(self) -> int: ... + def isAllowPhaseDisappearance(self) -> bool: ... + def isCoupledHeatMassTransfer(self) -> bool: ... + def isDetectStalls(self) -> bool: ... + def isEnableDiagnostics(self) -> bool: ... + def isEnableThreePhase(self) -> bool: ... + def isIncludeEntrainment(self) -> bool: ... + def isIncludeMarangoniEffect(self) -> bool: ... + def isIncludeTurbulenceEffects(self) -> bool: ... + def isIncludeWaveEnhancement(self) -> bool: ... + def isUseAdaptiveLimiting(self) -> bool: ... + def setAbsoluteMinMoles(self, double: float) -> None: ... + def setAllowPhaseDisappearance(self, boolean: bool) -> None: ... + def setAqueousPhaseIndex(self, int: int) -> None: ... + def setConvergenceTolerance(self, double: float) -> None: ... + def setCoupledHeatMassTransfer(self, boolean: bool) -> None: ... + def setCoupledIterations(self, int: int) -> None: ... + def setDetectStalls(self, boolean: bool) -> None: ... + def setEnableDiagnostics(self, boolean: bool) -> None: ... + def setEnableThreePhase(self, boolean: bool) -> None: ... + def setIncludeEntrainment(self, boolean: bool) -> None: ... + def setIncludeMarangoniEffect(self, boolean: bool) -> None: ... + def setIncludeTurbulenceEffects(self, boolean: bool) -> None: ... + def setIncludeWaveEnhancement(self, boolean: bool) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMaxPhaseDepletionPerNode(self, double: float) -> None: ... + def setMaxTemperatureChangePerNode(self, double: float) -> None: ... + def setMaxTransferFractionBidirectional(self, double: float) -> None: ... + def setMaxTransferFractionDirectional(self, double: float) -> None: ... + def setMinIterations(self, int: int) -> None: ... + def setMinMolesFraction(self, double: float) -> None: ... + def setOrganicPhaseIndex(self, int: int) -> None: ... + def setStallDetectionWindow(self, int: int) -> None: ... + def setUseAdaptiveLimiting(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + +class TwoPhasePipeFlowSolver(jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... + def clone(self) -> 'TwoPhasePipeFlowSolver': ... + +class TwoPhaseFixedStaggeredGridSolver(TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... + @typing.overload + def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int, boolean: bool): ... + def calcFluxes(self) -> None: ... + def checkPhaseTransitions(self) -> int: ... + def clone(self) -> 'TwoPhaseFixedStaggeredGridSolver': ... + def getComponentMassTransferProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getCumulativeMassTransfer(self, int: int) -> float: ... + def getMassBalanceError(self) -> float: ... + def getMassTransferConfig(self) -> MassTransferConfig: ... + def getMassTransferMode(self) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... + def getMassTransferSummary(self) -> typing.MutableSequence[float]: ... + def getNodeMassTransferRate(self, int: int, int2: int) -> float: ... + def getSinglePhaseNodeIndices(self) -> typing.MutableSequence[int]: ... + def getSolverTypeEnum(self) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... + def initComposition(self, int: int, int2: int) -> None: ... + def initFinalResults(self, int: int) -> None: ... + def initMatrix(self) -> None: ... + def initNodes(self) -> None: ... + def initPhaseFraction(self, int: int) -> None: ... + def initPressure(self, int: int) -> None: ... + def initProfiles(self) -> None: ... + def initTemperature(self, int: int) -> None: ... + def initVelocity(self, int: int) -> None: ... + def isGasPhaseCompletelyDissolved(self) -> bool: ... + def isLiquidPhaseCompletelyEvaporated(self) -> bool: ... + def isPhasePresent(self, int: int) -> bool: ... + def setComponentConservationMatrix(self, int: int, int2: int) -> None: ... + def setComponentConservationMatrix2(self, int: int, int2: int) -> None: ... + def setEnergyMatrixTDMA(self, int: int) -> None: ... + def setImpulsMatrixTDMA(self, int: int) -> None: ... + def setMassConservationMatrix(self, int: int) -> None: ... + def setMassTransferConfig(self, massTransferConfig: MassTransferConfig) -> None: ... + def setMassTransferMode(self, massTransferMode: 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode') -> None: ... + def setPhaseFractionMatrix(self, int: int) -> None: ... + @typing.overload + def setSolverType(self, int: int) -> None: ... + @typing.overload + def setSolverType(self, solverType: 'TwoPhaseFixedStaggeredGridSolver.SolverType') -> None: ... + def solveTDMA(self) -> None: ... + def validateMassTransferAgainstLiterature(self) -> java.lang.String: ... + class MassTransferMode(java.lang.Enum['TwoPhaseFixedStaggeredGridSolver.MassTransferMode']): + BIDIRECTIONAL: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.MassTransferMode'] = ... + DISSOLUTION_ONLY: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.MassTransferMode'] = ... + EVAPORATION_ONLY: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.MassTransferMode'] = ... + _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]) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... + @staticmethod + def values() -> typing.MutableSequence['TwoPhaseFixedStaggeredGridSolver.MassTransferMode']: ... + class SolverType(java.lang.Enum['TwoPhaseFixedStaggeredGridSolver.SolverType']): + SIMPLE: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.SolverType'] = ... + FULL: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.SolverType'] = ... + DEFAULT: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.SolverType'] = ... + def getLegacyType(self) -> int: ... + def solveComposition(self) -> bool: ... + def solveEnergy(self) -> bool: ... + def solveMomentum(self) -> bool: ... + def solvePhaseFraction(self) -> bool: ... + _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]) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... + @staticmethod + def values() -> typing.MutableSequence['TwoPhaseFixedStaggeredGridSolver.SolverType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver")``. + + MassTransferConfig: typing.Type[MassTransferConfig] + TwoPhaseFixedStaggeredGridSolver: typing.Type[TwoPhaseFixedStaggeredGridSolver] + TwoPhasePipeFlowSolver: typing.Type[TwoPhasePipeFlowSolver] diff --git a/src/jneqsim/fluidmechanics/flowsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/__init__.pyi new file mode 100644 index 00000000..ec0cb934 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/__init__.pyi @@ -0,0 +1,135 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flowsolver +import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization +import jneqsim.fluidmechanics.util.timeseries +import jneqsim.thermo.system +import typing + + + +class FlowSystemInterface: + def calcFluxes(self) -> None: ... + def createSystem(self) -> None: ... + def getAdvectionScheme(self) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... + def getDisplay(self) -> jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualizationInterface: ... + def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getInletPressure(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getLegHeights(self) -> typing.MutableSequence[float]: ... + def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getNumberOfLegs(self) -> int: ... + def getNumberOfNodesInLeg(self, int: int) -> int: ... + def getSolver(self) -> jneqsim.fluidmechanics.flowsolver.FlowSolverInterface: ... + def getSystemLength(self) -> float: ... + def getTimeSeries(self) -> jneqsim.fluidmechanics.util.timeseries.TimeSeries: ... + @typing.overload + def getTotalMolarMassTransferRate(self, int: int) -> float: ... + @typing.overload + def getTotalMolarMassTransferRate(self, int: int, int2: int) -> float: ... + def getTotalNumberOfNodes(self) -> int: ... + @typing.overload + def getTotalPressureDrop(self) -> float: ... + @typing.overload + def getTotalPressureDrop(self, int: int) -> float: ... + def init(self) -> None: ... + def print_(self) -> None: ... + def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setEndPressure(self, double: float) -> None: ... + def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... + def setEquilibriumMassTransfer(self, boolean: bool) -> None: ... + def setEquipmentGeometry(self, geometryDefinitionInterfaceArray: typing.Union[typing.List[jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface], jpype.JArray]) -> None: ... + def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setLegHeights(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setNodes(self) -> None: ... + def setNumberOfLegs(self, int: int) -> None: ... + def setNumberOfNodesInLeg(self, int: int) -> None: ... + @typing.overload + def solveSteadyState(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveSteadyState(self, int: int) -> None: ... + @typing.overload + def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, int: int) -> None: ... + +class FlowSystem(FlowSystemInterface, java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcFluxes(self) -> None: ... + def calcTotalNumberOfNodes(self) -> int: ... + def createSystem(self) -> None: ... + def flowLegInit(self) -> None: ... + def getAdvectionScheme(self) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... + def getDisplay(self) -> jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualizationInterface: ... + def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getInletPressure(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getLegHeights(self) -> typing.MutableSequence[float]: ... + def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getNumberOfLegs(self) -> int: ... + def getNumberOfNodesInLeg(self, int: int) -> int: ... + def getSolver(self) -> jneqsim.fluidmechanics.flowsolver.FlowSolverInterface: ... + def getSystemLength(self) -> float: ... + def getTimeSeries(self) -> jneqsim.fluidmechanics.util.timeseries.TimeSeries: ... + @typing.overload + def getTotalMolarMassTransferRate(self, int: int) -> float: ... + @typing.overload + def getTotalMolarMassTransferRate(self, int: int, int2: int) -> float: ... + def getTotalNumberOfNodes(self) -> int: ... + @typing.overload + def getTotalPressureDrop(self) -> float: ... + @typing.overload + def getTotalPressureDrop(self, int: int) -> float: ... + def init(self) -> None: ... + def print_(self) -> None: ... + def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setEndPressure(self, double: float) -> None: ... + def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... + def setEquilibriumHeatTransferModel(self, int: int, int2: int) -> None: ... + def setEquilibriumMassTransfer(self, boolean: bool) -> None: ... + def setEquilibriumMassTransferModel(self, int: int, int2: int) -> None: ... + def setEquipmentGeometry(self, geometryDefinitionInterfaceArray: typing.Union[typing.List[jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface], jpype.JArray]) -> None: ... + def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setLegHeights(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLegWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setNodes(self) -> None: ... + def setNonEquilibriumHeatTransferModel(self, int: int, int2: int) -> None: ... + def setNonEquilibriumMassTransferModel(self, int: int, int2: int) -> None: ... + def setNumberOfLegs(self, int: int) -> None: ... + def setNumberOfNodesInLeg(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem")``. + + FlowSystem: typing.Type[FlowSystem] + FlowSystemInterface: typing.Type[FlowSystemInterface] + onephaseflowsystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.__module_protocol__ + twophaseflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi new file mode 100644 index 00000000..c9fb0710 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi @@ -0,0 +1,28 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowsystem +import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem +import jneqsim.fluidmechanics.geometrydefinitions.pipe +import jneqsim.thermo.system +import typing + + + +class OnePhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): + pipe: jneqsim.fluidmechanics.geometrydefinitions.pipe.PipeData = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.onephaseflowsystem")``. + + OnePhaseFlowSystem: typing.Type[OnePhaseFlowSystem] + pipeflowsystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi new file mode 100644 index 00000000..87483bf3 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi @@ -0,0 +1,50 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.util +import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem +import typing + + + +class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem): + def __init__(self): ... + def createSystem(self) -> None: ... + def init(self) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float, int: int) -> None: ... + @typing.overload + def runTransientClosedOutlet(self, double: float, double2: float) -> None: ... + @typing.overload + def runTransientClosedOutlet(self, double: float, double2: float, int: int) -> None: ... + @typing.overload + def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float, int: int) -> None: ... + @typing.overload + def runTransientControlledOutletVelocity(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def runTransientControlledOutletVelocity(self, double: float, double2: float, double3: float, int: int) -> None: ... + def setOutletClosed(self) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setOutletVelocity(self, double: float) -> None: ... + @typing.overload + def solveSteadyState(self, int: int) -> None: ... + @typing.overload + def solveSteadyState(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, int: int) -> None: ... + @typing.overload + def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem")``. + + PipeFlowSystem: typing.Type[PipeFlowSystem] diff --git a/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi new file mode 100644 index 00000000..ae05f3e1 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi @@ -0,0 +1,34 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flowsystem +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.shipsystem +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.stirredcellsystem +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasereactorflowsystem +import jneqsim.fluidmechanics.geometrydefinitions.pipe +import jneqsim.thermo.system +import typing + + + +class TwoPhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): + pipe: jneqsim.fluidmechanics.geometrydefinitions.pipe.PipeData = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem")``. + + TwoPhaseFlowSystem: typing.Type[TwoPhaseFlowSystem] + shipsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.shipsystem.__module_protocol__ + stirredcellsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.stirredcellsystem.__module_protocol__ + twophasepipeflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem.__module_protocol__ + twophasereactorflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasereactorflowsystem.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi new file mode 100644 index 00000000..6c0e45d6 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi @@ -0,0 +1,64 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem +import jneqsim.standards.gasquality +import jneqsim.thermo.system +import typing + + + +class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): + totalTankVolume: float = ... + numberOffTimeSteps: int = ... + initialNumberOffMoles: float = ... + dailyBoilOffVolume: float = ... + volume: typing.MutableSequence[float] = ... + tankTemperature: typing.MutableSequence[float] = ... + endVolume: float = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def createSystem(self) -> None: ... + def getEndTime(self) -> float: ... + def getInitialTemperature(self) -> float: ... + def getLiquidDensity(self) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResults(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getStandardISO6976(self) -> jneqsim.standards.gasquality.Standard_ISO6976: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def init(self) -> None: ... + def isBackCalculate(self) -> bool: ... + def isSetInitialTemperature(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setBackCalculate(self, boolean: bool) -> None: ... + def setEndTime(self, double: float) -> None: ... + @typing.overload + def setInitialTemperature(self, boolean: bool) -> None: ... + @typing.overload + def setInitialTemperature(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setStandardISO6976(self, standard_ISO6976: jneqsim.standards.gasquality.Standard_ISO6976) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @typing.overload + def solveSteadyState(self, int: int) -> None: ... + @typing.overload + def solveSteadyState(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, int: int) -> None: ... + @typing.overload + def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... + def useStandardVersion(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.shipsystem")``. + + LNGship: typing.Type[LNGship] diff --git a/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi new file mode 100644 index 00000000..007411f6 --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem +import typing + + + +class StirredCellSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): + def __init__(self): ... + def createSystem(self) -> None: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def solveSteadyState(self, int: int) -> None: ... + @typing.overload + def solveSteadyState(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, int: int) -> None: ... + @typing.overload + def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.stirredcellsystem")``. + + StirredCellSystem: typing.Type[StirredCellSystem] diff --git a/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi new file mode 100644 index 00000000..2cdb462e --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi @@ -0,0 +1,292 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem +import jneqsim.thermo.system +import typing + + + +class PipeFlowResult(java.io.Serializable): + @staticmethod + def builder() -> 'PipeFlowResult.Builder': ... + @staticmethod + def fromPipeSystem(twoPhasePipeFlowSystem: 'TwoPhasePipeFlowSystem') -> 'PipeFlowResult': ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getFlowPatternProfile(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... + def getGasDensityProfile(self) -> typing.MutableSequence[float]: ... + def getGasVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getInletPressure(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getInterfacialAreaProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidDensityProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getNumberOfNodes(self) -> int: ... + def getOutletPressure(self) -> float: ... + def getOutletTemperature(self) -> float: ... + def getPipeDiameter(self) -> float: ... + def getPipeLength(self) -> float: ... + def getPositionProfile(self) -> typing.MutableSequence[float]: ... + def getPressureGradient(self) -> float: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTemperatureChange(self) -> float: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTotalHeatLoss(self) -> float: ... + @typing.overload + def getTotalMassTransferRate(self, int: int) -> float: ... + @typing.overload + def getTotalMassTransferRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalPressureDrop(self) -> float: ... + def getVoidFractionProfile(self) -> typing.MutableSequence[float]: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'PipeFlowResult': ... + def componentNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def flowPatterns(self, flowPatternArray: typing.Union[typing.List[jneqsim.fluidmechanics.flownode.FlowPattern], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def gasDensities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def gasVelocities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def inletPressure(self, double: float) -> 'PipeFlowResult.Builder': ... + def inletTemperature(self, double: float) -> 'PipeFlowResult.Builder': ... + def interfacialAreas(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def liquidDensities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def liquidHoldups(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def liquidVelocities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def massTransferRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def numberOfNodes(self, int: int) -> 'PipeFlowResult.Builder': ... + def outletPressure(self, double: float) -> 'PipeFlowResult.Builder': ... + def outletTemperature(self, double: float) -> 'PipeFlowResult.Builder': ... + def pipeDiameter(self, double: float) -> 'PipeFlowResult.Builder': ... + def pipeLength(self, double: float) -> 'PipeFlowResult.Builder': ... + def positions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def pressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def temperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def totalHeatLoss(self, double: float) -> 'PipeFlowResult.Builder': ... + def totalPressureDrop(self, double: float) -> 'PipeFlowResult.Builder': ... + def voidFractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + +class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): + def __init__(self): ... + @staticmethod + def builder() -> 'TwoPhasePipeFlowSystemBuilder': ... + @staticmethod + def buriedPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + def calculateWallHeatFlux(self, int: int) -> float: ... + def createSystem(self) -> None: ... + def detectFlowPatternAtNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowPattern: ... + def detectFlowPatterns(self) -> None: ... + def enableAutomaticFlowPatternDetection(self, boolean: bool) -> None: ... + def enableNonEquilibriumHeatTransfer(self) -> None: ... + def enableNonEquilibriumMassTransfer(self) -> None: ... + @typing.overload + def exportProfilesToCSV(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def exportProfilesToCSV(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string3: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def exportToCSV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def getAccelerationPressureDrop(self) -> float: ... + def getAmbientTemperature(self) -> float: ... + def getComponentMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCondensationRateAtNode(self, int: int) -> float: ... + def getCondensationRateProfile(self) -> typing.MutableSequence[float]: ... + def getConstantHeatFlux(self) -> float: ... + def getConstantWallTemperature(self) -> float: ... + def getCumulativeEnergyLossProfile(self) -> typing.MutableSequence[float]: ... + def getCurrentTime(self) -> float: ... + def getDensityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getElevationProfile(self) -> typing.MutableSequence[float]: ... + def getEnergyBalanceError(self) -> float: ... + def getEnthalpyProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getFlowPatternAtNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowPattern: ... + def getFlowPatternModel(self) -> jneqsim.fluidmechanics.flownode.FlowPatternModel: ... + def getFlowPatternNameProfile(self) -> typing.MutableSequence[java.lang.String]: ... + def getFlowPatternProfile(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... + def getFlowPatternTransitionCount(self) -> int: ... + def getFlowPatternTransitionPositions(self) -> typing.MutableSequence[int]: ... + def getFrictionalPressureDrop(self) -> float: ... + def getGasCompositionProfile(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGasHeatTransferCoefficientAtNode(self, int: int) -> float: ... + def getGasHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... + def getGasMassTransferCoefficientAtNode(self, int: int, double: float) -> float: ... + def getGasMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... + def getGasQualityProfile(self) -> typing.MutableSequence[float]: ... + def getGravitationalPressureDrop(self) -> float: ... + def getGravitationalPressureGradient(self, int: int) -> float: ... + def getHeatCapacityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getInclination(self) -> float: ... + def getInclinationDegrees(self) -> float: ... + def getInterfacialAreaProfile(self) -> typing.MutableSequence[float]: ... + def getInterphaseFrictionFactorProfile(self) -> typing.MutableSequence[float]: ... + def getInterphaseHeatFluxAtNode(self, int: int) -> float: ... + def getInterphaseHeatFluxProfile(self) -> typing.MutableSequence[float]: ... + def getLewisNumberProfile(self, int: int, double: float) -> typing.MutableSequence[float]: ... + def getLiquidCompositionProfile(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getLiquidHeatTransferCoefficientAtNode(self, int: int) -> float: ... + def getLiquidHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidMassTransferCoefficientAtNode(self, int: int, double: float) -> float: ... + def getLiquidMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... + def getLockhartMartinelliPressureGradient(self, int: int) -> float: ... + def getLockhartMartinelliPressureGradientProfile(self) -> typing.MutableSequence[float]: ... + def getMassBalanceError(self) -> float: ... + def getMassFlowRateProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getMassTransferMode(self) -> jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.MassTransferMode: ... + @typing.overload + def getMassTransferProfile(self, int: int) -> typing.MutableSequence[float]: ... + @typing.overload + def getMassTransferProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMixtureDensityProfile(self) -> typing.MutableSequence[float]: ... + def getMixtureVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getNumberOfTimeSteps(self) -> int: ... + def getNusseltNumberProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getOverallInterphaseHeatTransferCoefficientAtNode(self, int: int) -> float: ... + def getOverallInterphaseHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... + def getPositionProfile(self) -> typing.MutableSequence[float]: ... + def getPrandtlNumberProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getPressureDropBreakdown(self) -> java.lang.String: ... + def getPressureGradientProfile(self) -> typing.MutableSequence[float]: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getReynoldsNumberProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getSchmidtNumberProfile(self, int: int, double: float) -> typing.MutableSequence[float]: ... + def getSherwoodNumberProfile(self, int: int, double: float) -> typing.MutableSequence[float]: ... + def getSimulationTime(self) -> float: ... + def getSlipRatioProfile(self) -> typing.MutableSequence[float]: ... + def getSolverType(self) -> jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.SolverType: ... + def getSpecificInterfacialAreaAtNode(self, int: int) -> float: ... + def getSpecificInterfacialAreaProfile(self) -> typing.MutableSequence[float]: ... + def getStantonNumberHeatProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getSummaryReport(self) -> java.lang.String: ... + def getSuperficialVelocityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getSurfaceTensionProfile(self) -> typing.MutableSequence[float]: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getThermalConductivityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getTimeStep(self) -> float: ... + def getTotalCondensationRate(self) -> float: ... + def getTotalEnthalpyProfile(self) -> typing.MutableSequence[float]: ... + def getTotalHeatLoss(self) -> float: ... + def getTotalInterphaseHeatTransferRate(self) -> float: ... + def getTotalMassFlowRateProfile(self) -> typing.MutableSequence[float]: ... + def getTotalMassTransferRate(self, int: int) -> float: ... + @typing.overload + def getTotalPressureDrop(self, int: int) -> float: ... + @typing.overload + def getTotalPressureDrop(self) -> float: ... + def getVelocityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getViscosityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getVoidFractionProfile(self) -> typing.MutableSequence[float]: ... + def getVolumetricHeatTransferCoefficientAtNode(self, int: int) -> float: ... + def getVolumetricHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... + def getVolumetricMassTransferCoefficientAtNode(self, int: int, double: float) -> float: ... + def getVolumetricMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... + def getWallFrictionFactorProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getWallHeatFluxProfile(self) -> typing.MutableSequence[float]: ... + def getWallHeatTransferModel(self) -> jneqsim.fluidmechanics.flownode.WallHeatTransferModel: ... + @staticmethod + def horizontalPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int) -> 'TwoPhasePipeFlowSystem': ... + @staticmethod + def inclinedPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + def init(self) -> None: ... + def isDownwardFlow(self) -> bool: ... + def isHorizontal(self) -> bool: ... + def isUpwardFlow(self) -> bool: ... + def isVertical(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def setAmbientTemperature(self, double: float) -> None: ... + @typing.overload + def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstantHeatFlux(self, double: float) -> None: ... + @typing.overload + def setConstantWallTemperature(self, double: float) -> None: ... + @typing.overload + def setConstantWallTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowPatternModel(self, flowPatternModel: jneqsim.fluidmechanics.flownode.FlowPatternModel) -> None: ... + @typing.overload + def setInclination(self, double: float) -> None: ... + @typing.overload + def setInclination(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMassTransferMode(self, massTransferMode: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.MassTransferMode) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setSimulationTime(self, double: float) -> None: ... + def setSolverType(self, solverType: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.SolverType) -> None: ... + def setTimeStep(self, double: float) -> None: ... + def setWallHeatTransferModel(self, wallHeatTransferModel: jneqsim.fluidmechanics.flownode.WallHeatTransferModel) -> None: ... + def solve(self) -> PipeFlowResult: ... + @typing.overload + def solveSteadyState(self, int: int) -> None: ... + @typing.overload + def solveSteadyState(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveSteadyState(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, int: int) -> None: ... + @typing.overload + def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, uUID: java.util.UUID) -> None: ... + def solveWithHeatAndMassTransfer(self) -> PipeFlowResult: ... + def solveWithMassTransfer(self) -> PipeFlowResult: ... + @staticmethod + def subseaPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + def updateFlowPatterns(self) -> None: ... + @staticmethod + def verticalPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, boolean: bool) -> 'TwoPhasePipeFlowSystem': ... + +class TwoPhasePipeFlowSystemBuilder: + def build(self) -> TwoPhasePipeFlowSystem: ... + @staticmethod + def create() -> 'TwoPhasePipeFlowSystemBuilder': ... + def enableNonEquilibriumHeatTransfer(self) -> 'TwoPhasePipeFlowSystemBuilder': ... + def enableNonEquilibriumMassTransfer(self) -> 'TwoPhasePipeFlowSystemBuilder': ... + def horizontal(self) -> 'TwoPhasePipeFlowSystemBuilder': ... + def vertical(self, boolean: bool) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withAdiabaticWall(self) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withAutomaticFlowPatternDetection(self, flowPatternModel: jneqsim.fluidmechanics.flownode.FlowPatternModel) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withConvectiveBoundary(self, double: float, string: typing.Union[java.lang.String, str], double2: float) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + @typing.overload + def withFlowPattern(self, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + @typing.overload + def withFlowPattern(self, flowPattern: jneqsim.fluidmechanics.flownode.FlowPattern) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withHeatFlux(self, double: float) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withInclination(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withLegHeights(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withLegs(self, int: int, int2: int) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withNodes(self, int: int) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withRoughness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withWallTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + +class TwoPhasePipeFlowSystemReac(TwoPhasePipeFlowSystem): + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem")``. + + PipeFlowResult: typing.Type[PipeFlowResult] + TwoPhasePipeFlowSystem: typing.Type[TwoPhasePipeFlowSystem] + TwoPhasePipeFlowSystemBuilder: typing.Type[TwoPhasePipeFlowSystemBuilder] + TwoPhasePipeFlowSystemReac: typing.Type[TwoPhasePipeFlowSystemReac] diff --git a/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi new file mode 100644 index 00000000..f523ccba --- /dev/null +++ b/src/jneqsim/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem +import typing + + + +class TwoPhaseReactorFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): + def __init__(self): ... + def createSystem(self) -> None: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def solveSteadyState(self, int: int) -> None: ... + @typing.overload + def solveSteadyState(self, int: int, uUID: java.util.UUID) -> None: ... + @typing.overload + def solveTransient(self, int: int) -> None: ... + @typing.overload + def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasereactorflowsystem")``. + + TwoPhaseReactorFlowSystem: typing.Type[TwoPhaseReactorFlowSystem] diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/__init__.pyi new file mode 100644 index 00000000..8d08de57 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/__init__.pyi @@ -0,0 +1,106 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall +import jneqsim.fluidmechanics.geometrydefinitions.pipe +import jneqsim.fluidmechanics.geometrydefinitions.reactor +import jneqsim.fluidmechanics.geometrydefinitions.stirredcell +import jneqsim.fluidmechanics.geometrydefinitions.surrounding +import jneqsim.thermo +import typing + + + +class GeometryDefinitionInterface(java.lang.Cloneable): + def clone(self) -> 'GeometryDefinitionInterface': ... + def getArea(self) -> float: ... + def getCircumference(self) -> float: ... + def getDiameter(self) -> float: ... + def getGeometry(self) -> 'GeometryDefinitionInterface': ... + def getInnerSurfaceRoughness(self) -> float: ... + def getInnerWallTemperature(self) -> float: ... + def getNodeLength(self) -> float: ... + def getPacking(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface: ... + def getRadius(self) -> float: ... + @typing.overload + def getRelativeRoughnes(self) -> float: ... + @typing.overload + def getRelativeRoughnes(self, double: float) -> float: ... + def getSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment: ... + def getWallHeatTransferCoefficient(self) -> float: ... + def init(self) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setInnerSurfaceRoughness(self, double: float) -> None: ... + def setInnerWallTemperature(self, double: float) -> None: ... + def setNodeLength(self, double: float) -> None: ... + @typing.overload + def setPackingType(self, int: int) -> None: ... + @typing.overload + def setPackingType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def setSurroundingEnvironment(self, surroundingEnvironment: jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment) -> None: ... + def setWallHeatTransferCoefficient(self, double: float) -> None: ... + +class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.ThermodynamicConstantsInterface): + diameter: float = ... + radius: float = ... + innerSurfaceRoughness: float = ... + nodeLength: float = ... + area: float = ... + relativeRoughnes: float = ... + layerConductivity: typing.MutableSequence[float] = ... + layerThickness: typing.MutableSequence[float] = ... + wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> GeometryDefinitionInterface: ... + def getArea(self) -> float: ... + def getCircumference(self) -> float: ... + def getDiameter(self) -> float: ... + def getGeometry(self) -> GeometryDefinitionInterface: ... + def getInnerSurfaceRoughness(self) -> float: ... + def getInnerWallTemperature(self) -> float: ... + def getNodeLength(self) -> float: ... + def getPacking(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface: ... + def getRadius(self) -> float: ... + @typing.overload + def getRelativeRoughnes(self) -> float: ... + @typing.overload + def getRelativeRoughnes(self, double: float) -> float: ... + def getSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment: ... + def getWall(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall: ... + def getWallHeatTransferCoefficient(self) -> float: ... + def init(self) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setInnerSurfaceRoughness(self, double: float) -> None: ... + def setInnerWallTemperature(self, double: float) -> None: ... + def setNodeLength(self, double: float) -> None: ... + @typing.overload + def setPackingType(self, int: int) -> None: ... + @typing.overload + def setPackingType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def setSurroundingEnvironment(self, surroundingEnvironment: jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment) -> None: ... + def setWall(self, wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall) -> None: ... + def setWallHeatTransferCoefficient(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions")``. + + GeometryDefinition: typing.Type[GeometryDefinition] + GeometryDefinitionInterface: typing.Type[GeometryDefinitionInterface] + internalgeometry: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.__module_protocol__ + pipe: jneqsim.fluidmechanics.geometrydefinitions.pipe.__module_protocol__ + reactor: jneqsim.fluidmechanics.geometrydefinitions.reactor.__module_protocol__ + stirredcell: jneqsim.fluidmechanics.geometrydefinitions.stirredcell.__module_protocol__ + surrounding: jneqsim.fluidmechanics.geometrydefinitions.surrounding.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi new file mode 100644 index 00000000..7463f8c9 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.internalgeometry")``. + + packings: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.__module_protocol__ + wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi new file mode 100644 index 00000000..ec83b712 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi @@ -0,0 +1,54 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.util +import typing + + + +class PackingInterface: + def getSize(self) -> float: ... + def getSurfaceAreaPrVolume(self) -> float: ... + def getVoidFractionPacking(self) -> float: ... + def setVoidFractionPacking(self, double: float) -> None: ... + +class Packing(jneqsim.util.NamedBaseClass, PackingInterface): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int): ... + def getSize(self) -> float: ... + def getSurfaceAreaPrVolume(self) -> float: ... + def getVoidFractionPacking(self) -> float: ... + def setSize(self, double: float) -> None: ... + def setVoidFractionPacking(self, double: float) -> None: ... + +class BerlSaddlePacking(Packing): + def __init__(self): ... + +class PallRingPacking(Packing): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + +class RachigRingPacking(Packing): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings")``. + + BerlSaddlePacking: typing.Type[BerlSaddlePacking] + Packing: typing.Type[Packing] + PackingInterface: typing.Type[PackingInterface] + PallRingPacking: typing.Type[PallRingPacking] + RachigRingPacking: typing.Type[RachigRingPacking] diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi new file mode 100644 index 00000000..581cfc98 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi @@ -0,0 +1,195 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.fluidmechanics.geometrydefinitions.surrounding +import typing + + + +class MaterialLayer: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + @typing.overload + def __init__(self, pipeMaterial: 'PipeMaterial', double: float): ... + @staticmethod + def carbonSteel(double: float) -> 'MaterialLayer': ... + @staticmethod + def concrete(double: float) -> 'MaterialLayer': ... + def getConductivity(self) -> float: ... + def getCv(self) -> float: ... + def getCylindricalThermalResistance(self, double: float) -> float: ... + def getDensity(self) -> float: ... + def getHeatTransferCoefficient(self) -> float: ... + def getInsideTemperature(self) -> float: ... + def getMaterialName(self) -> java.lang.String: ... + def getOutsideTemperature(self) -> float: ... + def getPipeMaterial(self) -> 'PipeMaterial': ... + def getSpecificHeatCapacity(self) -> float: ... + def getThermalDiffusivity(self) -> float: ... + def getThermalMassPerArea(self) -> float: ... + def getThermalResistance(self) -> float: ... + def getThickness(self) -> float: ... + def isInsulation(self) -> bool: ... + def isMetal(self) -> bool: ... + @staticmethod + def mineralWool(double: float) -> 'MaterialLayer': ... + @staticmethod + def polyethylene(double: float) -> 'MaterialLayer': ... + @staticmethod + def polyurethaneFoam(double: float) -> 'MaterialLayer': ... + def setConductivity(self, double: float) -> None: ... + def setCv(self, double: float) -> None: ... + def setDensity(self, double: float) -> None: ... + def setInsideTemperature(self, double: float) -> None: ... + def setMaterialName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutsideTemperature(self, double: float) -> None: ... + def setSpecificHeatCapacity(self, double: float) -> None: ... + def setThickness(self, double: float) -> None: ... + @staticmethod + def stainlessSteel316(double: float) -> 'MaterialLayer': ... + def toString(self) -> java.lang.String: ... + +class PipeMaterial(java.lang.Enum['PipeMaterial']): + CARBON_STEEL: typing.ClassVar['PipeMaterial'] = ... + STAINLESS_STEEL_304: typing.ClassVar['PipeMaterial'] = ... + STAINLESS_STEEL_316: typing.ClassVar['PipeMaterial'] = ... + DUPLEX_2205: typing.ClassVar['PipeMaterial'] = ... + SUPER_DUPLEX_2507: typing.ClassVar['PipeMaterial'] = ... + INCONEL_625: typing.ClassVar['PipeMaterial'] = ... + TITANIUM_GRADE_2: typing.ClassVar['PipeMaterial'] = ... + COPPER: typing.ClassVar['PipeMaterial'] = ... + ALUMINUM_6061: typing.ClassVar['PipeMaterial'] = ... + MINERAL_WOOL: typing.ClassVar['PipeMaterial'] = ... + GLASS_WOOL: typing.ClassVar['PipeMaterial'] = ... + POLYURETHANE_FOAM: typing.ClassVar['PipeMaterial'] = ... + POLYSTYRENE_EPS: typing.ClassVar['PipeMaterial'] = ... + POLYSTYRENE_XPS: typing.ClassVar['PipeMaterial'] = ... + CELLULAR_GLASS: typing.ClassVar['PipeMaterial'] = ... + CALCIUM_SILICATE: typing.ClassVar['PipeMaterial'] = ... + AEROGEL: typing.ClassVar['PipeMaterial'] = ... + PERLITE: typing.ClassVar['PipeMaterial'] = ... + CONCRETE: typing.ClassVar['PipeMaterial'] = ... + FUSION_BONDED_EPOXY: typing.ClassVar['PipeMaterial'] = ... + POLYETHYLENE: typing.ClassVar['PipeMaterial'] = ... + POLYPROPYLENE: typing.ClassVar['PipeMaterial'] = ... + NEOPRENE: typing.ClassVar['PipeMaterial'] = ... + ASPHALT_ENAMEL: typing.ClassVar['PipeMaterial'] = ... + SOIL_DRY_SAND: typing.ClassVar['PipeMaterial'] = ... + SOIL_WET_SAND: typing.ClassVar['PipeMaterial'] = ... + SOIL_DRY_CLAY: typing.ClassVar['PipeMaterial'] = ... + SOIL_WET_CLAY: typing.ClassVar['PipeMaterial'] = ... + SOIL_TYPICAL: typing.ClassVar['PipeMaterial'] = ... + SOIL_FROZEN: typing.ClassVar['PipeMaterial'] = ... + def createLayer(self, double: float) -> MaterialLayer: ... + def getDensity(self) -> float: ... + def getDisplayName(self) -> java.lang.String: ... + def getSpecificHeatCapacity(self) -> float: ... + def getThermalConductivity(self) -> float: ... + def getThermalDiffusivity(self) -> float: ... + def isInsulation(self) -> bool: ... + def isMetal(self) -> bool: ... + def isSoil(self) -> bool: ... + _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]) -> 'PipeMaterial': ... + @staticmethod + def values() -> typing.MutableSequence['PipeMaterial']: ... + +class PipeWallBuilder: + def addAerogelInsulation(self, double: float) -> 'PipeWallBuilder': ... + def addCoating(self, pipeMaterial: PipeMaterial, double: float) -> 'PipeWallBuilder': ... + def addConcreteCoating(self, double: float) -> 'PipeWallBuilder': ... + def addCustomLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'PipeWallBuilder': ... + def addFBECoating(self, double: float) -> 'PipeWallBuilder': ... + def addInsulation(self, pipeMaterial: PipeMaterial, double: float) -> 'PipeWallBuilder': ... + def addMineralWoolInsulation(self, double: float) -> 'PipeWallBuilder': ... + def addPipeLayer(self, pipeMaterial: PipeMaterial, double: float) -> 'PipeWallBuilder': ... + def addPolyethyleneJacket(self, double: float) -> 'PipeWallBuilder': ... + def addPolyurethaneFoamInsulation(self, double: float) -> 'PipeWallBuilder': ... + @staticmethod + def barePipe(double: float, pipeMaterial: PipeMaterial, double2: float) -> 'PipeWallBuilder': ... + def build(self) -> 'PipeWall': ... + def buildEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.PipeSurroundingEnvironment: ... + def buriedInSoil(self, double: float, double2: float, pipeMaterial: PipeMaterial) -> 'PipeWallBuilder': ... + def buriedInTypicalSoil(self, double: float, double2: float) -> 'PipeWallBuilder': ... + @staticmethod + def buriedPipe(double: float, double2: float) -> 'PipeWallBuilder': ... + def calcOverallUValue(self, double: float) -> float: ... + @staticmethod + def carbonSteelPipe(double: float, double2: float) -> 'PipeWallBuilder': ... + def exposedToAir(self, double: float, double2: float) -> 'PipeWallBuilder': ... + def getSummary(self) -> java.lang.String: ... + @staticmethod + def insulatedPipe(double: float, double2: float, pipeMaterial: PipeMaterial, double3: float) -> 'PipeWallBuilder': ... + @staticmethod + def stainlessSteel316Pipe(double: float, double2: float) -> 'PipeWallBuilder': ... + def subseaEnvironment(self, double: float, double2: float) -> 'PipeWallBuilder': ... + @staticmethod + def subseaPipe(double: float, double2: float, double3: float, double4: float) -> 'PipeWallBuilder': ... + @staticmethod + def withInnerDiameter(double: float) -> 'PipeWallBuilder': ... + @staticmethod + def withInnerRadius(double: float) -> 'PipeWallBuilder': ... + +class WallInterface: + def addMaterialLayer(self, materialLayer: MaterialLayer) -> None: ... + def getWallMaterialLayer(self, int: int) -> MaterialLayer: ... + +class Wall(WallInterface): + def __init__(self): ... + def addMaterialLayer(self, materialLayer: MaterialLayer) -> None: ... + def calcHeatTransferCoefficient(self) -> float: ... + def calcThermalMassPerArea(self) -> float: ... + def calcThermalResistance(self) -> float: ... + def clearLayers(self) -> None: ... + def getHeatTransferCoefficient(self) -> float: ... + def getMaterialLayers(self) -> java.util.List[MaterialLayer]: ... + def getNumberOfLayers(self) -> int: ... + def getTotalThickness(self) -> float: ... + def getWallMaterialLayer(self, int: int) -> MaterialLayer: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class PipeWall(Wall): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def addMaterialLayer(self, materialLayer: MaterialLayer) -> None: ... + def calcCylindricalHeatTransferCoefficient(self) -> float: ... + def calcCylindricalThermalResistancePerLength(self) -> float: ... + def calcHeatLossPerLength(self, double: float, double2: float) -> float: ... + def calcTemperatureAtRadius(self, double: float, double2: float, double3: float) -> float: ... + def getInnerRadius(self) -> float: ... + def getLayerInnerRadius(self, int: int) -> float: ... + def getLayerOuterRadius(self, int: int) -> float: ... + def getNumberOfLayers(self) -> int: ... + def getOuterRadius(self) -> float: ... + def getTotalThickness(self) -> float: ... + def setInnerRadius(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall")``. + + MaterialLayer: typing.Type[MaterialLayer] + PipeMaterial: typing.Type[PipeMaterial] + PipeWall: typing.Type[PipeWall] + PipeWallBuilder: typing.Type[PipeWallBuilder] + Wall: typing.Type[Wall] + WallInterface: typing.Type[WallInterface] diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/pipe/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/pipe/__init__.pyi new file mode 100644 index 00000000..a4eb9437 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/pipe/__init__.pyi @@ -0,0 +1,49 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.geometrydefinitions +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall +import jneqsim.fluidmechanics.geometrydefinitions.surrounding +import typing + + + +class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def addCoating(self, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, double: float) -> None: ... + def addConcreteCoating(self, double: float) -> None: ... + def addInsulation(self, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, double: float) -> None: ... + def addMineralWoolInsulation(self, double: float) -> None: ... + def addPolyurethaneFoamInsulation(self, double: float) -> None: ... + def calcOverallHeatTransferCoefficient(self) -> float: ... + def clone(self) -> 'PipeData': ... + @staticmethod + def createFromBuilder(pipeWallBuilder: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWallBuilder) -> 'PipeData': ... + def getOuterRadius(self) -> float: ... + def getPipeSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.PipeSurroundingEnvironment: ... + def getPipeWall(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWall: ... + def getTotalWallThickness(self) -> float: ... + def setAirEnvironment(self, double: float, double2: float) -> None: ... + def setBuriedEnvironment(self, double: float, double2: float, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial) -> None: ... + def setCarbonSteelWall(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setPipeWallMaterial(self, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, double: float) -> None: ... + def setSeawaterEnvironment(self, double: float, double2: float) -> None: ... + def setStainlessSteel316Wall(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.pipe")``. + + PipeData: typing.Type[PipeData] diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/reactor/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/reactor/__init__.pyi new file mode 100644 index 00000000..765c65d4 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/reactor/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.geometrydefinitions +import typing + + + +class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, int: int): ... + def clone(self) -> 'ReactorData': ... + @typing.overload + def setPackingType(self, int: int) -> None: ... + @typing.overload + def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPackingType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.reactor")``. + + ReactorData: typing.Type[ReactorData] diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi new file mode 100644 index 00000000..4d6bd40b --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi @@ -0,0 +1,26 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.geometrydefinitions +import typing + + + +class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'StirredCell': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.stirredcell")``. + + StirredCell: typing.Type[StirredCell] diff --git a/src/jneqsim/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi b/src/jneqsim/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi new file mode 100644 index 00000000..9b28a946 --- /dev/null +++ b/src/jneqsim/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi @@ -0,0 +1,74 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall +import typing + + + +class SurroundingEnvironment: + def getHeatTransferCoefficient(self) -> float: ... + def getTemperature(self) -> float: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + +class SurroundingEnvironmentBaseClass(SurroundingEnvironment): + def __init__(self): ... + def getHeatTransferCoefficient(self) -> float: ... + def getTemperature(self) -> float: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + +class PipeSurroundingEnvironment(SurroundingEnvironmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def buriedPipe(double: float, double2: float, double3: float, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial) -> 'PipeSurroundingEnvironment': ... + @staticmethod + def calcBuriedPipeHeatTransferCoefficient(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calcBuriedPipeThermalResistance(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def exposedToAir(double: float, double2: float) -> 'PipeSurroundingEnvironment': ... + def getBurialDepth(self) -> float: ... + def getEnvironmentType(self) -> 'PipeSurroundingEnvironment.EnvironmentType': ... + def getSeawaterVelocity(self) -> float: ... + def getSoilConductivity(self) -> float: ... + def getWindVelocity(self) -> float: ... + def isBuried(self) -> bool: ... + def isSubsea(self) -> bool: ... + def setForAir(self, double: float) -> None: ... + def setForBuried(self, double: float, double2: float, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial) -> None: ... + def setForSeawater(self, double: float) -> None: ... + @staticmethod + def subseaPipe(double: float, double2: float) -> 'PipeSurroundingEnvironment': ... + def toString(self) -> java.lang.String: ... + class EnvironmentType(java.lang.Enum['PipeSurroundingEnvironment.EnvironmentType']): + AIR: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... + SEAWATER: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... + BURIED: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... + CUSTOM: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... + _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]) -> 'PipeSurroundingEnvironment.EnvironmentType': ... + @staticmethod + def values() -> typing.MutableSequence['PipeSurroundingEnvironment.EnvironmentType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.surrounding")``. + + PipeSurroundingEnvironment: typing.Type[PipeSurroundingEnvironment] + SurroundingEnvironment: typing.Type[SurroundingEnvironment] + SurroundingEnvironmentBaseClass: typing.Type[SurroundingEnvironmentBaseClass] diff --git a/src/jneqsim/fluidmechanics/util/__init__.pyi b/src/jneqsim/fluidmechanics/util/__init__.pyi new file mode 100644 index 00000000..2cc6ee48 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/__init__.pyi @@ -0,0 +1,64 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization +import jneqsim.fluidmechanics.util.timeseries +import jneqsim.thermo.system +import typing + + + +class FlowRegimeDetector: + @staticmethod + def detectFlowPatternName(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float) -> java.lang.String: ... + @typing.overload + @staticmethod + def detectFlowRegime(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'FlowRegimeDetector.FlowRegime': ... + @typing.overload + @staticmethod + def detectFlowRegime(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float) -> 'FlowRegimeDetector.FlowRegime': ... + class FlowRegime(java.lang.Enum['FlowRegimeDetector.FlowRegime']): + STRATIFIED_SMOOTH: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + STRATIFIED_WAVY: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + SLUG: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + ANNULAR: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + BUBBLE: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + DROPLET: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + def getNodeName(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]) -> 'FlowRegimeDetector.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['FlowRegimeDetector.FlowRegime']: ... + +class FrictionFactorCalculator: + RE_LAMINAR_LIMIT: typing.ClassVar[float] = ... + RE_TURBULENT_LIMIT: typing.ClassVar[float] = ... + @staticmethod + def calcDarcyFrictionFactor(double: float, double2: float) -> float: ... + @staticmethod + def calcFanningFrictionFactor(double: float, double2: float) -> float: ... + @staticmethod + def calcHaalandFrictionFactor(double: float, double2: float) -> float: ... + @staticmethod + def calcPressureDropPerLength(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def getFlowRegime(double: float) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util")``. + + FlowRegimeDetector: typing.Type[FlowRegimeDetector] + FrictionFactorCalculator: typing.Type[FrictionFactorCalculator] + fluidmechanicsvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.__module_protocol__ + timeseries: jneqsim.fluidmechanics.util.timeseries.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi new file mode 100644 index 00000000..4ab16300 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization")``. + + flownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.__module_protocol__ + flowsystemvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi new file mode 100644 index 00000000..4eb052b8 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi @@ -0,0 +1,74 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization +import typing + + + +class FlowNodeVisualizationInterface: + def getBulkComposition(self, int: int, int2: int) -> float: ... + def getDistanceToCenterOfNode(self) -> float: ... + def getEffectiveMassTransferCoefficient(self, int: int, int2: int) -> float: ... + def getEffectiveSchmidtNumber(self, int: int, int2: int) -> float: ... + def getInterfaceComposition(self, int: int, int2: int) -> float: ... + def getInterfaceTemperature(self, int: int) -> float: ... + def getInterphaseContactLength(self) -> float: ... + def getMolarFlux(self, int: int, int2: int) -> float: ... + def getNumberOfComponents(self) -> int: ... + def getPhaseFraction(self, int: int) -> float: ... + def getPressure(self, int: int) -> float: ... + def getReynoldsNumber(self, int: int) -> float: ... + def getTemperature(self, int: int) -> float: ... + def getVelocity(self, int: int) -> float: ... + def getWallContactLength(self, int: int) -> float: ... + def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + +class FlowNodeVisualization(FlowNodeVisualizationInterface): + temperature: typing.MutableSequence[float] = ... + reynoldsNumber: typing.MutableSequence[float] = ... + interfaceTemperature: typing.MutableSequence[float] = ... + pressure: typing.MutableSequence[float] = ... + velocity: typing.MutableSequence[float] = ... + phaseFraction: typing.MutableSequence[float] = ... + wallContactLength: typing.MutableSequence[float] = ... + bulkComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... + interfaceComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... + effectiveMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[float]] = ... + effectiveSchmidtNumber: typing.MutableSequence[typing.MutableSequence[float]] = ... + molarFlux: typing.MutableSequence[typing.MutableSequence[float]] = ... + interphaseContactLength: float = ... + nodeCenter: float = ... + numberOfComponents: int = ... + def __init__(self): ... + def getBulkComposition(self, int: int, int2: int) -> float: ... + def getDistanceToCenterOfNode(self) -> float: ... + def getEffectiveMassTransferCoefficient(self, int: int, int2: int) -> float: ... + def getEffectiveSchmidtNumber(self, int: int, int2: int) -> float: ... + def getInterfaceComposition(self, int: int, int2: int) -> float: ... + def getInterfaceTemperature(self, int: int) -> float: ... + def getInterphaseContactLength(self) -> float: ... + def getMolarFlux(self, int: int, int2: int) -> float: ... + def getNumberOfComponents(self) -> int: ... + def getPhaseFraction(self, int: int) -> float: ... + def getPressure(self, int: int) -> float: ... + def getReynoldsNumber(self, int: int) -> float: ... + def getTemperature(self, int: int) -> float: ... + def getVelocity(self, int: int) -> float: ... + def getWallContactLength(self, int: int) -> float: ... + def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization")``. + + FlowNodeVisualization: typing.Type[FlowNodeVisualization] + FlowNodeVisualizationInterface: typing.Type[FlowNodeVisualizationInterface] + onephaseflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.__module_protocol__ + twophaseflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi new file mode 100644 index 00000000..529b2ea9 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi @@ -0,0 +1,22 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization +import typing + + + +class OnePhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): + def __init__(self): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization")``. + + OnePhaseFlowNodeVisualization: typing.Type[OnePhaseFlowNodeVisualization] + onephasepipeflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi new file mode 100644 index 00000000..22e3a21e --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi @@ -0,0 +1,22 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization +import typing + + + +class OnePhasePipeFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization): + def __init__(self): ... + def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization")``. + + OnePhasePipeFlowNodeVisualization: typing.Type[OnePhasePipeFlowNodeVisualization] diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi new file mode 100644 index 00000000..89734b0d --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi @@ -0,0 +1,22 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.flownode +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization +import typing + + + +class TwoPhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): + def __init__(self): ... + def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization")``. + + TwoPhaseFlowNodeVisualization: typing.Type[TwoPhaseFlowNodeVisualization] diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi new file mode 100644 index 00000000..5fcd20b8 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi @@ -0,0 +1,43 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.flowsystem +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization +import typing + + + +class FlowSystemVisualizationInterface: + def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... + @typing.overload + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... + def setPoints(self) -> None: ... + +class FlowSystemVisualization(FlowSystemVisualizationInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... + @typing.overload + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... + def setPoints(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization")``. + + FlowSystemVisualization: typing.Type[FlowSystemVisualization] + FlowSystemVisualizationInterface: typing.Type[FlowSystemVisualizationInterface] + onephaseflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.__module_protocol__ + twophaseflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi new file mode 100644 index 00000000..e8afd882 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization +import typing + + + +class OnePhaseFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization")``. + + OnePhaseFlowVisualization: typing.Type[OnePhaseFlowVisualization] + pipeflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi new file mode 100644 index 00000000..620aa4af --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi @@ -0,0 +1,28 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization +import typing + + + +class PipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.OnePhaseFlowVisualization): + bulkComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + def calcPoints(self, string: typing.Union[java.lang.String, str]) -> None: ... + def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPoints(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization")``. + + PipeFlowVisualization: typing.Type[PipeFlowVisualization] diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi new file mode 100644 index 00000000..5af529e1 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization +import typing + + + +class TwoPhaseFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization")``. + + TwoPhaseFlowVisualization: typing.Type[TwoPhaseFlowVisualization] + twophasepipeflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization.__module_protocol__ diff --git a/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi new file mode 100644 index 00000000..73b872c6 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization +import typing + + + +class TwoPhasePipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.TwoPhaseFlowVisualization): + bulkComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + interfaceComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + effectiveMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + molarFlux: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + schmidtNumber: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + totalMolarMassTransferRate: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + totalVolumetricMassTransferRate: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPoints(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization")``. + + TwoPhasePipeFlowVisualization: typing.Type[TwoPhasePipeFlowVisualization] diff --git a/src/jneqsim/fluidmechanics/util/timeseries/__init__.pyi b/src/jneqsim/fluidmechanics/util/timeseries/__init__.pyi new file mode 100644 index 00000000..60872ad4 --- /dev/null +++ b/src/jneqsim/fluidmechanics/util/timeseries/__init__.pyi @@ -0,0 +1,61 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.fluidmechanics.flowsystem +import jneqsim.thermo.system +import typing + + + +class TimeSeries(java.io.Serializable): + def __init__(self): ... + def getOutletBoundaryType(self) -> 'TimeSeries.OutletBoundaryType': ... + def getOutletMolarFlowRates(self) -> typing.MutableSequence[float]: ... + def getOutletPressure(self, int: int) -> float: ... + def getOutletPressures(self) -> typing.MutableSequence[float]: ... + def getOutletVelocities(self) -> typing.MutableSequence[float]: ... + def getOutletVelocity(self, int: int) -> float: ... + def getThermoSystem(self) -> typing.MutableSequence[jneqsim.thermo.system.SystemInterface]: ... + @typing.overload + def getTime(self, int: int) -> float: ... + @typing.overload + def getTime(self) -> typing.MutableSequence[float]: ... + def getTimeStep(self) -> typing.MutableSequence[float]: ... + def init(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... + def isOutletClosed(self) -> bool: ... + def isOutletFlowControlled(self) -> bool: ... + def isOutletPressureControlled(self) -> bool: ... + def setInletThermoSystems(self, systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray]) -> None: ... + def setNumberOfTimeStepsInInterval(self, int: int) -> None: ... + def setOutletBoundaryType(self, outletBoundaryType: 'TimeSeries.OutletBoundaryType') -> None: ... + def setOutletClosed(self) -> None: ... + def setOutletMolarFlowRate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletPressure(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletVelocity(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTimes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + class OutletBoundaryType(java.lang.Enum['TimeSeries.OutletBoundaryType']): + PRESSURE: typing.ClassVar['TimeSeries.OutletBoundaryType'] = ... + FLOW: typing.ClassVar['TimeSeries.OutletBoundaryType'] = ... + CLOSED: typing.ClassVar['TimeSeries.OutletBoundaryType'] = ... + _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]) -> 'TimeSeries.OutletBoundaryType': ... + @staticmethod + def values() -> typing.MutableSequence['TimeSeries.OutletBoundaryType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.timeseries")``. + + TimeSeries: typing.Type[TimeSeries] diff --git a/src/jneqsim/integration/__init__.pyi b/src/jneqsim/integration/__init__.pyi new file mode 100644 index 00000000..fceda60c --- /dev/null +++ b/src/jneqsim/integration/__init__.pyi @@ -0,0 +1,190 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.thermo.system +import typing + + + +class EOSComparison(java.io.Serializable): + def __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'EOSComparison': ... + def compare(self) -> 'EOSComparison.ComparisonResult': ... + def setConditions(self, double: float, double2: float) -> 'EOSComparison': ... + def setEOSTypes(self, *eOSType: 'EOSComparison.EOSType') -> 'EOSComparison': ... + def setMultiPhaseCheck(self, boolean: bool) -> 'EOSComparison': ... + class ComparisonResult(java.io.Serializable): + def getMaxDeviation(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getResult(self, eOSType: 'EOSComparison.EOSType') -> 'EOSComparison.EOSResult': ... + def getResults(self) -> java.util.List['EOSComparison.EOSResult']: ... + def toJson(self) -> java.lang.String: ... + class EOSResult(java.io.Serializable): + eosType: 'EOSComparison.EOSType' = ... + error: java.lang.String = ... + numberOfPhases: int = ... + compressibilityFactor: float = ... + density_kgm3: float = ... + molarMass_kgmol: float = ... + enthalpy_Jmol: float = ... + entropy_JmolK: float = ... + gasDensity_kgm3: float = ... + gasViscosity_cP: float = ... + gasZfactor: float = ... + gasCp_JmolK: float = ... + oilDensity_kgm3: float = ... + oilViscosity_cP: float = ... + vapourFraction: float = ... + def isSuccessful(self) -> bool: ... + class EOSType(java.lang.Enum['EOSComparison.EOSType']): + SRK: typing.ClassVar['EOSComparison.EOSType'] = ... + PR: typing.ClassVar['EOSComparison.EOSType'] = ... + SRK_CPA: typing.ClassVar['EOSComparison.EOSType'] = ... + GERG2008: typing.ClassVar['EOSComparison.EOSType'] = ... + def getLabel(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]) -> 'EOSComparison.EOSType': ... + @staticmethod + def values() -> typing.MutableSequence['EOSComparison.EOSType']: ... + +class EquipmentValidator: + def __init__(self): ... + @staticmethod + def isEquipmentReady(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> bool: ... + @staticmethod + def validateEquipment(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... + @staticmethod + def validateSequence(*processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... + +class StreamValidator: + def __init__(self): ... + @staticmethod + def hasStreamBeenRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... + @staticmethod + def isStreamReady(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... + @staticmethod + def validateStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + @staticmethod + def validateStreamConnection(streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + @staticmethod + def validateStreamHasRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + +class ThermoValidator: + def __init__(self): ... + @staticmethod + def isSystemReady(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + @staticmethod + def validateCpAeos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + @staticmethod + def validateForEquilibrium(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + @staticmethod + def validateSrkEos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + @staticmethod + def validateSystem(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + +class ValidationFramework: + def __init__(self): ... + @staticmethod + def validate(string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + class CommonErrors: + MIXING_RULE_NOT_SET: typing.ClassVar[java.lang.String] = ... + REMEDIATION_MIXING_RULE: typing.ClassVar[java.lang.String] = ... + NO_COMPONENTS: typing.ClassVar[java.lang.String] = ... + REMEDIATION_NO_COMPONENTS: typing.ClassVar[java.lang.String] = ... + DATABASE_NOT_CREATED: typing.ClassVar[java.lang.String] = ... + REMEDIATION_DATABASE: typing.ClassVar[java.lang.String] = ... + FEED_STREAM_NOT_SET: typing.ClassVar[java.lang.String] = ... + REMEDIATION_FEED_STREAM: typing.ClassVar[java.lang.String] = ... + INVALID_PRESSURE: typing.ClassVar[java.lang.String] = ... + REMEDIATION_INVALID_PRESSURE: typing.ClassVar[java.lang.String] = ... + INVALID_TEMPERATURE: typing.ClassVar[java.lang.String] = ... + REMEDIATION_INVALID_TEMPERATURE: typing.ClassVar[java.lang.String] = ... + COMPOSITION_SUM_NOT_UNITY: typing.ClassVar[java.lang.String] = ... + REMEDIATION_COMPOSITION: typing.ClassVar[java.lang.String] = ... + SYSTEM_NOT_INITIALIZED: typing.ClassVar[java.lang.String] = ... + REMEDIATION_SYSTEM_INIT: typing.ClassVar[java.lang.String] = ... + STREAM_NOT_RUN: typing.ClassVar[java.lang.String] = ... + REMEDIATION_STREAM_RUN: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + class CompositeValidator: + def __init__(self, string: typing.Union[java.lang.String, str], *validatable: 'ValidationFramework.Validatable'): ... + def validateAll(self) -> 'ValidationFramework.ValidationResult': ... + def validateAny(self) -> 'ValidationFramework.ValidationResult': ... + class Validatable: + def getValidationName(self) -> java.lang.String: ... + def validate(self) -> 'ValidationFramework.ValidationResult': ... + class ValidationBuilder: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + def build(self) -> 'ValidationFramework.ValidationResult': ... + def checkNotNull(self, object: typing.Any, string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + def checkRange(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + def checkTrue(self, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + class ValidationContext: + def __init__(self): ... + def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getCheckedObjects(self) -> java.util.List[java.lang.String]: ... + def hasBeenChecked(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def put(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def recordCheck(self, string: typing.Union[java.lang.String, str]) -> None: ... + class ValidationError: + def __init__(self, severity: 'ValidationFramework.ValidationError.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getSeverity(self) -> 'ValidationFramework.ValidationError.Severity': ... + def toString(self) -> java.lang.String: ... + class Severity(java.lang.Enum['ValidationFramework.ValidationError.Severity']): + CRITICAL: typing.ClassVar['ValidationFramework.ValidationError.Severity'] = ... + MAJOR: typing.ClassVar['ValidationFramework.ValidationError.Severity'] = ... + MINOR: typing.ClassVar['ValidationFramework.ValidationError.Severity'] = ... + _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]) -> 'ValidationFramework.ValidationError.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['ValidationFramework.ValidationError.Severity']: ... + class ValidationResult: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addError(self, validationError: 'ValidationFramework.ValidationError') -> None: ... + def addWarning(self, validationWarning: 'ValidationFramework.ValidationWarning') -> None: ... + def getCriticalErrors(self) -> java.util.List['ValidationFramework.ValidationError']: ... + def getErrors(self) -> java.util.List['ValidationFramework.ValidationError']: ... + def getErrorsSummary(self) -> java.lang.String: ... + def getValidationTimeMs(self) -> int: ... + def getWarnings(self) -> java.util.List['ValidationFramework.ValidationWarning']: ... + def getWarningsSummary(self) -> java.lang.String: ... + def isReady(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class ValidationWarning: + 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 getCategory(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSuggestion(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.integration")``. + + EOSComparison: typing.Type[EOSComparison] + EquipmentValidator: typing.Type[EquipmentValidator] + StreamValidator: typing.Type[StreamValidator] + ThermoValidator: typing.Type[ThermoValidator] + ValidationFramework: typing.Type[ValidationFramework] diff --git a/src/jneqsim/mathlib/__init__.pyi b/src/jneqsim/mathlib/__init__.pyi new file mode 100644 index 00000000..1268c6e8 --- /dev/null +++ b/src/jneqsim/mathlib/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.mathlib.generalmath +import jneqsim.mathlib.nonlinearsolver +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib")``. + + generalmath: jneqsim.mathlib.generalmath.__module_protocol__ + nonlinearsolver: jneqsim.mathlib.nonlinearsolver.__module_protocol__ diff --git a/src/jneqsim/mathlib/generalmath/__init__.pyi b/src/jneqsim/mathlib/generalmath/__init__.pyi new file mode 100644 index 00000000..cf8aaf86 --- /dev/null +++ b/src/jneqsim/mathlib/generalmath/__init__.pyi @@ -0,0 +1,21 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import typing + + + +class TDMAsolve: + @staticmethod + def solve(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]) -> typing.MutableSequence[float]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib.generalmath")``. + + TDMAsolve: typing.Type[TDMAsolve] diff --git a/src/jneqsim/mathlib/nonlinearsolver/__init__.pyi b/src/jneqsim/mathlib/nonlinearsolver/__init__.pyi new file mode 100644 index 00000000..dbd97c1d --- /dev/null +++ b/src/jneqsim/mathlib/nonlinearsolver/__init__.pyi @@ -0,0 +1,66 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.thermo.component +import jneqsim.thermo.phase +import jneqsim.thermo.system +import typing + + + +class NewtonRhapson(java.io.Serializable): + def __init__(self): ... + def derivValue(self, double: float) -> float: ... + def dubDerivValue(self, double: float) -> float: ... + def funkValue(self, double: float) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setConstants(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setOrder(self, int: int) -> None: ... + def solve(self, double: float) -> float: ... + def solve1order(self, double: float) -> float: ... + +class NumericalDerivative(java.io.Serializable): + @staticmethod + def fugcoefDiffPres(componentInterface: jneqsim.thermo.component.ComponentInterface, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + @staticmethod + def fugcoefDiffTemp(componentInterface: jneqsim.thermo.component.ComponentInterface, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + +class NumericalIntegration: + def __init__(self): ... + +class SysNewtonRhapson(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def calcInc(self, int: int) -> None: ... + def calcInc2(self, int: int) -> None: ... + def findSpecEq(self) -> None: ... + def findSpecEqInit(self) -> None: ... + def getNpCrit(self) -> int: ... + def init(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def setu(self) -> None: ... + def sign(self, double: float, double2: float) -> float: ... + def solve(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib.nonlinearsolver")``. + + NewtonRhapson: typing.Type[NewtonRhapson] + NumericalDerivative: typing.Type[NumericalDerivative] + NumericalIntegration: typing.Type[NumericalIntegration] + SysNewtonRhapson: typing.Type[SysNewtonRhapson] diff --git a/src/jneqsim/mcp/__init__.pyi b/src/jneqsim/mcp/__init__.pyi new file mode 100644 index 00000000..0815d504 --- /dev/null +++ b/src/jneqsim/mcp/__init__.pyi @@ -0,0 +1,19 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.mcp.catalog +import jneqsim.mcp.model +import jneqsim.mcp.runners +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp")``. + + catalog: jneqsim.mcp.catalog.__module_protocol__ + model: jneqsim.mcp.model.__module_protocol__ + runners: jneqsim.mcp.runners.__module_protocol__ diff --git a/src/jneqsim/mcp/catalog/__init__.pyi b/src/jneqsim/mcp/catalog/__init__.pyi new file mode 100644 index 00000000..f6dcdfa6 --- /dev/null +++ b/src/jneqsim/mcp/catalog/__init__.pyi @@ -0,0 +1,118 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import typing + + + +class ExampleCatalog: + @staticmethod + def batchPressureSweep() -> java.lang.String: ... + @staticmethod + def batchTemperatureSweep() -> java.lang.String: ... + @staticmethod + def bioprocessAnaerobicDigestion() -> java.lang.String: ... + @staticmethod + def bioprocessGasification() -> java.lang.String: ... + @staticmethod + def capabilitiesDiscovery() -> java.lang.String: ... + @staticmethod + def comparisonTwoCases() -> java.lang.String: ... + @staticmethod + def componentSearchMethane() -> java.lang.String: ... + @staticmethod + def dynamicSeparatorTransient() -> java.lang.String: ... + @staticmethod + def economicsDeclineCurve() -> java.lang.String: ... + @staticmethod + def economicsNorwegianNCS() -> java.lang.String: ... + @staticmethod + def flashBubblePointP() -> java.lang.String: ... + @staticmethod + def flashCPAWithWater() -> java.lang.String: ... + @staticmethod + def flashDewPointT() -> java.lang.String: ... + @staticmethod + def flashTPSimpleGas() -> java.lang.String: ... + @staticmethod + def flashTPTwoPhase() -> java.lang.String: ... + @staticmethod + def flowAssuranceHydrate() -> java.lang.String: ... + @staticmethod + def getCatalogJson() -> java.lang.String: ... + @staticmethod + def getCategories() -> java.util.List[java.lang.String]: ... + @staticmethod + def getExample(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getExampleNames(string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + @staticmethod + def getToolExample(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def materialsReviewStidRegister() -> java.lang.String: ... + @staticmethod + def norsokS001Clause10ProcessSafetySystem() -> java.lang.String: ... + @staticmethod + def openDrainReviewNorsokS001Stid() -> java.lang.String: ... + @staticmethod + def phaseEnvelopeNaturalGas() -> java.lang.String: ... + @staticmethod + def pipelineMultiphase() -> java.lang.String: ... + @staticmethod + def processCompressionWithCooling() -> java.lang.String: ... + @staticmethod + def processSimpleSeparation() -> java.lang.String: ... + @staticmethod + def propertyTablePressureSweep() -> java.lang.String: ... + @staticmethod + def propertyTableTemperatureSweep() -> java.lang.String: ... + @staticmethod + def pvtCME() -> java.lang.String: ... + @staticmethod + def pvtSaturationPressure() -> java.lang.String: ... + @staticmethod + def reservoirDepletion() -> java.lang.String: ... + @staticmethod + def rootCauseCompressorHighVibration() -> java.lang.String: ... + @staticmethod + def rootCauseHeatExchangerFouling() -> java.lang.String: ... + @staticmethod + def rootCauseSeparatorLiquidCarryover() -> java.lang.String: ... + @staticmethod + def safetyBarrierRegister() -> java.lang.String: ... + @staticmethod + def safetyHazopStudy() -> java.lang.String: ... + @staticmethod + def safetySystemPerformance() -> java.lang.String: ... + @staticmethod + def sessionAddEquipment() -> java.lang.String: ... + @staticmethod + def sessionCreate() -> java.lang.String: ... + @staticmethod + def sizingCompressor() -> java.lang.String: ... + @staticmethod + def sizingSeparator() -> java.lang.String: ... + @staticmethod + def standardISO6976() -> java.lang.String: ... + @staticmethod + def validationErrorFlash() -> java.lang.String: ... + @staticmethod + def visualizationBarChart() -> java.lang.String: ... + @staticmethod + def visualizationFlowsheet() -> java.lang.String: ... + @staticmethod + def visualizationPhaseEnvelope() -> java.lang.String: ... + @staticmethod + def waterHammerValveClosure() -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.catalog")``. + + ExampleCatalog: typing.Type[ExampleCatalog] diff --git a/src/jneqsim/mcp/model/__init__.pyi b/src/jneqsim/mcp/model/__init__.pyi new file mode 100644 index 00000000..10413bfa --- /dev/null +++ b/src/jneqsim/mcp/model/__init__.pyi @@ -0,0 +1,178 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.lang +import java.util +import jneqsim.process.processmodel +import jneqsim.process.util.monitor +import typing + + + +_ApiEnvelope__T = typing.TypeVar('_ApiEnvelope__T') # +class ApiEnvelope(typing.Generic[_ApiEnvelope__T]): + API_VERSION: typing.ClassVar[java.lang.String] = ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def applyStandardFields(jsonObject: com.google.gson.JsonObject, string: typing.Union[java.lang.String, str], resultProvenance: 'ResultProvenance', jsonObject2: com.google.gson.JsonObject, jsonObject3: com.google.gson.JsonObject) -> None: ... + _error__T = typing.TypeVar('_error__T') # + @staticmethod + def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ApiEnvelope'[_error__T]: ... + _errors__T = typing.TypeVar('_errors__T') # + @staticmethod + def errors(list: java.util.List['DiagnosticIssue']) -> 'ApiEnvelope'[_errors__T]: ... + def getApiVersion(self) -> java.lang.String: ... + def getData(self) -> _ApiEnvelope__T: ... + def getErrors(self) -> java.util.List['DiagnosticIssue']: ... + def getProvenance(self) -> 'ResultProvenance': ... + def getQualityGate(self) -> com.google.gson.JsonObject: ... + def getStatus(self) -> java.lang.String: ... + def getTool(self) -> java.lang.String: ... + def getValidation(self) -> com.google.gson.JsonObject: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isSuccess(self) -> bool: ... + @staticmethod + def qualityGate(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> com.google.gson.JsonObject: ... + _success_0__T = typing.TypeVar('_success_0__T') # + _success_1__T = typing.TypeVar('_success_1__T') # + @typing.overload + @staticmethod + def success(t: _success_0__T) -> 'ApiEnvelope'[_success_0__T]: ... + @typing.overload + @staticmethod + def success(t: _success_1__T, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ApiEnvelope'[_success_1__T]: ... + def toJson(self) -> java.lang.String: ... + @staticmethod + def validationStatus(boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> com.google.gson.JsonObject: ... + def withProvenance(self, resultProvenance: 'ResultProvenance') -> 'ApiEnvelope'[_ApiEnvelope__T]: ... + def withQualityGate(self, jsonObject: com.google.gson.JsonObject) -> 'ApiEnvelope'[_ApiEnvelope__T]: ... + def withTool(self, string: typing.Union[java.lang.String, str]) -> 'ApiEnvelope'[_ApiEnvelope__T]: ... + def withValidation(self, jsonObject: com.google.gson.JsonObject) -> 'ApiEnvelope'[_ApiEnvelope__T]: ... + +class DiagnosticIssue: + 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]): ... + @staticmethod + def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'DiagnosticIssue': ... + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getSeverity(self) -> java.lang.String: ... + def isError(self) -> bool: ... + def toJson(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + @staticmethod + def warning(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'DiagnosticIssue': ... + +class FlashRequest: + def __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'FlashRequest': ... + @staticmethod + def fromJson(jsonObject: com.google.gson.JsonObject) -> 'FlashRequest': ... + def getComponents(self) -> java.util.Map[java.lang.String, float]: ... + def getEnthalpy(self) -> 'ValueWithUnit': ... + def getEntropy(self) -> 'ValueWithUnit': ... + def getFlashType(self) -> java.lang.String: ... + def getMixingRule(self) -> java.lang.String: ... + def getModel(self) -> java.lang.String: ... + def getPressure(self) -> 'ValueWithUnit': ... + def getTemperature(self) -> 'ValueWithUnit': ... + def getVolume(self) -> 'ValueWithUnit': ... + def setComponents(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'FlashRequest': ... + def setEnthalpy(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... + def setEntropy(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... + def setFlashType(self, string: typing.Union[java.lang.String, str]) -> 'FlashRequest': ... + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> 'FlashRequest': ... + def setModel(self, string: typing.Union[java.lang.String, str]) -> 'FlashRequest': ... + def setPressure(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... + def setTemperature(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... + def setVolume(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... + +class FlashResult: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int, list: java.util.List[typing.Union[java.lang.String, str]], fluidResponse: jneqsim.process.util.monitor.FluidResponse): ... + def getFlashType(self) -> java.lang.String: ... + def getFluidResponse(self) -> jneqsim.process.util.monitor.FluidResponse: ... + def getModel(self) -> java.lang.String: ... + def getNumberOfPhases(self) -> int: ... + def getPhases(self) -> java.util.List[java.lang.String]: ... + +class ProcessResult: + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processModel: jneqsim.process.processmodel.ProcessModel, string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, string2: typing.Union[java.lang.String, str]): ... + def getAreaNames(self) -> java.util.List[java.lang.String]: ... + def getProcessModel(self) -> jneqsim.process.processmodel.ProcessModel: ... + def getProcessModelName(self) -> java.lang.String: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getProcessSystemName(self) -> java.lang.String: ... + def getReportJson(self) -> java.lang.String: ... + def isProcessModel(self) -> bool: ... + +class ResultProvenance: + def __init__(self): ... + def addApplicabilityWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addAssumption(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addLimitation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addValidationPassed(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def forBatch(string: typing.Union[java.lang.String, str], int: int, int2: int) -> 'ResultProvenance': ... + @staticmethod + def forFlash(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ResultProvenance': ... + @staticmethod + def forPhaseEnvelope(string: typing.Union[java.lang.String, str]) -> 'ResultProvenance': ... + @staticmethod + def forProcess(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> 'ResultProvenance': ... + @staticmethod + def forPropertyTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> 'ResultProvenance': ... + def getApplicabilityWarnings(self) -> java.util.List[java.lang.String]: ... + def getAssumptions(self) -> java.util.List[java.lang.String]: ... + def getBenchmarkTrustLevel(self) -> java.lang.String: ... + def getCalculationType(self) -> java.lang.String: ... + def getComputationTimeMs(self) -> int: ... + def getConvergence(self) -> 'ResultProvenance.Convergence': ... + def getEngine(self) -> java.lang.String: ... + def getLimitations(self) -> java.util.List[java.lang.String]: ... + def getMixingRule(self) -> java.lang.String: ... + def getModel(self) -> java.lang.String: ... + def getResultOrigin(self) -> java.lang.String: ... + def getThermodynamicModel(self) -> java.lang.String: ... + def getTimestamp(self) -> java.lang.String: ... + def getValidationsPassed(self) -> java.util.List[java.lang.String]: ... + def isConverged(self) -> bool: ... + def setBenchmarkTrustLevel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCalculationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComputationTimeMs(self, long: int) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResultOrigin(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermodynamicModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + class Convergence: + def __init__(self, boolean: bool, string: typing.Union[java.lang.String, str]): ... + def getMessage(self) -> java.lang.String: ... + def isConverged(self) -> bool: ... + +class ValueWithUnit: + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def fromJson(jsonElement: com.google.gson.JsonElement, string: typing.Union[java.lang.String, str]) -> 'ValueWithUnit': ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def toJson(self) -> com.google.gson.JsonElement: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.model")``. + + ApiEnvelope: typing.Type[ApiEnvelope] + DiagnosticIssue: typing.Type[DiagnosticIssue] + FlashRequest: typing.Type[FlashRequest] + FlashResult: typing.Type[FlashResult] + ProcessResult: typing.Type[ProcessResult] + ResultProvenance: typing.Type[ResultProvenance] + ValueWithUnit: typing.Type[ValueWithUnit] diff --git a/src/jneqsim/mcp/runners/__init__.pyi b/src/jneqsim/mcp/runners/__init__.pyi new file mode 100644 index 00000000..f9e79e3a --- /dev/null +++ b/src/jneqsim/mcp/runners/__init__.pyi @@ -0,0 +1,476 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.mcp.model +import typing + + + +class AgenticEngineeringRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class AutomationRunner: + @staticmethod + def compareStates(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def diagnose(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getAdjustableParameters(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getLearningReport(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getVariable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def listUnits(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def listVariables(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def runLoop(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], string5: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def saveState(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def setVariableAndRun(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class BarrierRegisterRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class BatchRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class BenchmarkTrust: + @staticmethod + def getMaturityLevel(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getToolTrust(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getTrustReport() -> java.lang.String: ... + class MaturityLevel(java.lang.Enum['BenchmarkTrust.MaturityLevel']): + VALIDATED: typing.ClassVar['BenchmarkTrust.MaturityLevel'] = ... + TESTED: typing.ClassVar['BenchmarkTrust.MaturityLevel'] = ... + EXPERIMENTAL: typing.ClassVar['BenchmarkTrust.MaturityLevel'] = ... + _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]) -> 'BenchmarkTrust.MaturityLevel': ... + @staticmethod + def values() -> typing.MutableSequence['BenchmarkTrust.MaturityLevel']: ... + +class BioprocessRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class CapabilitiesRunner: + @staticmethod + def getCapabilities() -> java.lang.String: ... + @staticmethod + def getSetupTemplate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getSetupTemplates() -> java.lang.String: ... + +class ChemistryRunner: + @staticmethod + def getSupportedAnalyses() -> java.util.List[java.lang.String]: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ComponentQuery: + @staticmethod + def closestMatch(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getAllNames() -> java.util.List[java.lang.String]: ... + @staticmethod + def getInfo(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def isValid(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def search(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class CompositionRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class CrossValidationRunner: + @staticmethod + def crossValidate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class DataCatalogRunner: + @staticmethod + def getComponentProperties(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def listComponentFamilies() -> java.lang.String: ... + @staticmethod + def listDataTables() -> java.lang.String: ... + @staticmethod + def listDesignStandards() -> java.lang.String: ... + @staticmethod + def listEOSModels() -> java.lang.String: ... + @staticmethod + def listMaterials(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def queryStandard(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class DynamicRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class EngineeringValidator: + @staticmethod + def validate(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def validateEquipment(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class EquipmentSizingRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class FieldDevelopmentRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class FlareRadiationRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class FlashRunner: + @staticmethod + def getSupportedFlashTypes() -> java.util.List[java.lang.String]: ... + @staticmethod + def getSupportedModels() -> java.util.List[java.lang.String]: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def runTyped(flashRequest: jneqsim.mcp.model.FlashRequest) -> jneqsim.mcp.model.ApiEnvelope[jneqsim.mcp.model.FlashResult]: ... + +class FlowAssuranceRunner: + @staticmethod + def getSupportedAnalyses() -> java.util.List[java.lang.String]: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class HAZOPStudyRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class IndustrialProfile: + @staticmethod + def approveNextInvocation(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def describeProfiles() -> java.lang.String: ... + @staticmethod + def enforceAccess(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getActiveMode() -> 'IndustrialProfile.DeploymentMode': ... + @staticmethod + def getEngineeringAdvanced() -> java.util.Set[java.lang.String]: ... + @staticmethod + def getExperimentalTools() -> java.util.Set[java.lang.String]: ... + @staticmethod + def getIndustrialCore() -> java.util.Set[java.lang.String]: ... + @staticmethod + def getToolCategory(string: typing.Union[java.lang.String, str]) -> 'IndustrialProfile.ToolCategory': ... + @staticmethod + def getToolTier(string: typing.Union[java.lang.String, str]) -> 'IndustrialProfile.ToolTier': ... + @staticmethod + def isAdminAuthorized(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def isAdminConfigured() -> bool: ... + @staticmethod + def isAutoValidationEnabled() -> bool: ... + @staticmethod + def isToolAllowed(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def requiresApproval(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def setActiveMode(deploymentMode: 'IndustrialProfile.DeploymentMode') -> None: ... + class DeploymentMode(java.lang.Enum['IndustrialProfile.DeploymentMode']): + DESKTOP_ENGINEER: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... + STUDY_TEAM: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... + DIGITAL_TWIN: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... + ENTERPRISE: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... + _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]) -> 'IndustrialProfile.DeploymentMode': ... + @staticmethod + def values() -> typing.MutableSequence['IndustrialProfile.DeploymentMode']: ... + class ToolCategory(java.lang.Enum['IndustrialProfile.ToolCategory']): + ADVISORY: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... + CALCULATION: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... + EXECUTION: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... + PLATFORM: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... + _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]) -> 'IndustrialProfile.ToolCategory': ... + @staticmethod + def values() -> typing.MutableSequence['IndustrialProfile.ToolCategory']: ... + class ToolTier(java.lang.Enum['IndustrialProfile.ToolTier']): + TRUSTED_CORE: typing.ClassVar['IndustrialProfile.ToolTier'] = ... + ENGINEERING_ADVANCED: typing.ClassVar['IndustrialProfile.ToolTier'] = ... + EXPERIMENTAL: typing.ClassVar['IndustrialProfile.ToolTier'] = ... + _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]) -> 'IndustrialProfile.ToolTier': ... + @staticmethod + def values() -> typing.MutableSequence['IndustrialProfile.ToolTier']: ... + +class LOPARunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class MaterialsReviewRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class McpRunnerPlugin: + def description(self) -> java.lang.String: ... + def inputSchema(self) -> java.lang.String: ... + def name(self) -> java.lang.String: ... + def run(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class NorsokS001Clause10ReviewRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class OpenDrainReviewRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class OperationalStudyRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class PVTRunner: + @staticmethod + def getSupportedExperiments() -> java.util.List[java.lang.String]: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ParametricStudyRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class PhaseEnvelopeRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class PipelineRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class PluginRegistry: + @staticmethod + def clear() -> None: ... + @staticmethod + def get(string: typing.Union[java.lang.String, str]) -> McpRunnerPlugin: ... + @staticmethod + def has(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def listNames() -> java.util.List[java.lang.String]: ... + @staticmethod + def listPlugins() -> java.lang.String: ... + @staticmethod + def register(mcpRunnerPlugin: McpRunnerPlugin) -> None: ... + @staticmethod + def runPlugin(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def size() -> int: ... + @staticmethod + def unregister(string: typing.Union[java.lang.String, str]) -> McpRunnerPlugin: ... + +class ProcessComparisonRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ProcessRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def runTyped(string: typing.Union[java.lang.String, str]) -> jneqsim.mcp.model.ApiEnvelope[jneqsim.mcp.model.ProcessResult]: ... + @staticmethod + def validateAndRun(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ProgressTracker: + @staticmethod + def complete(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def fail(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def getProgress(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def listActive() -> java.lang.String: ... + @staticmethod + def start(string: typing.Union[java.lang.String, str], int: int) -> java.lang.String: ... + @staticmethod + def update(string: typing.Union[java.lang.String, str], int: int, string2: typing.Union[java.lang.String, str]) -> None: ... + +class PropertyTableRunner: + @staticmethod + def getAvailableProperties() -> java.util.List[java.lang.String]: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ReliefRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ReportRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ReservoirRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class RiskMatrixRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class RootCauseRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class SILRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class SafetySystemPerformanceRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class SecurityRunner: + @staticmethod + def checkAccess(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class SessionRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class StandardsRunner: + @staticmethod + def getSupportedStandards() -> java.util.List[java.lang.String]: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class StatePersistenceRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class StreamingRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class TaskSolverRunner: + @staticmethod + def composeWorkflow(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def solveTask(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class TaskWorkflowBridge: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class ValidationProfileRunner: + @staticmethod + def getActiveProfile() -> java.lang.String: ... + @staticmethod + def getActiveProfileName() -> java.lang.String: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class Validator: + @staticmethod + def validate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class VisualizationRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class WaterHammerRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.runners")``. + + AgenticEngineeringRunner: typing.Type[AgenticEngineeringRunner] + AutomationRunner: typing.Type[AutomationRunner] + BarrierRegisterRunner: typing.Type[BarrierRegisterRunner] + BatchRunner: typing.Type[BatchRunner] + BenchmarkTrust: typing.Type[BenchmarkTrust] + BioprocessRunner: typing.Type[BioprocessRunner] + CapabilitiesRunner: typing.Type[CapabilitiesRunner] + ChemistryRunner: typing.Type[ChemistryRunner] + ComponentQuery: typing.Type[ComponentQuery] + CompositionRunner: typing.Type[CompositionRunner] + CrossValidationRunner: typing.Type[CrossValidationRunner] + DataCatalogRunner: typing.Type[DataCatalogRunner] + DynamicRunner: typing.Type[DynamicRunner] + EngineeringValidator: typing.Type[EngineeringValidator] + EquipmentSizingRunner: typing.Type[EquipmentSizingRunner] + FieldDevelopmentRunner: typing.Type[FieldDevelopmentRunner] + FlareRadiationRunner: typing.Type[FlareRadiationRunner] + FlashRunner: typing.Type[FlashRunner] + FlowAssuranceRunner: typing.Type[FlowAssuranceRunner] + HAZOPStudyRunner: typing.Type[HAZOPStudyRunner] + IndustrialProfile: typing.Type[IndustrialProfile] + LOPARunner: typing.Type[LOPARunner] + MaterialsReviewRunner: typing.Type[MaterialsReviewRunner] + McpRunnerPlugin: typing.Type[McpRunnerPlugin] + NorsokS001Clause10ReviewRunner: typing.Type[NorsokS001Clause10ReviewRunner] + OpenDrainReviewRunner: typing.Type[OpenDrainReviewRunner] + OperationalStudyRunner: typing.Type[OperationalStudyRunner] + PVTRunner: typing.Type[PVTRunner] + ParametricStudyRunner: typing.Type[ParametricStudyRunner] + PhaseEnvelopeRunner: typing.Type[PhaseEnvelopeRunner] + PipelineRunner: typing.Type[PipelineRunner] + PluginRegistry: typing.Type[PluginRegistry] + ProcessComparisonRunner: typing.Type[ProcessComparisonRunner] + ProcessRunner: typing.Type[ProcessRunner] + ProgressTracker: typing.Type[ProgressTracker] + PropertyTableRunner: typing.Type[PropertyTableRunner] + ReliefRunner: typing.Type[ReliefRunner] + ReportRunner: typing.Type[ReportRunner] + ReservoirRunner: typing.Type[ReservoirRunner] + RiskMatrixRunner: typing.Type[RiskMatrixRunner] + RootCauseRunner: typing.Type[RootCauseRunner] + SILRunner: typing.Type[SILRunner] + SafetySystemPerformanceRunner: typing.Type[SafetySystemPerformanceRunner] + SecurityRunner: typing.Type[SecurityRunner] + SessionRunner: typing.Type[SessionRunner] + StandardsRunner: typing.Type[StandardsRunner] + StatePersistenceRunner: typing.Type[StatePersistenceRunner] + StreamingRunner: typing.Type[StreamingRunner] + TaskSolverRunner: typing.Type[TaskSolverRunner] + TaskWorkflowBridge: typing.Type[TaskWorkflowBridge] + ValidationProfileRunner: typing.Type[ValidationProfileRunner] + Validator: typing.Type[Validator] + VisualizationRunner: typing.Type[VisualizationRunner] + WaterHammerRunner: typing.Type[WaterHammerRunner] diff --git a/src/jneqsim/physicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/__init__.pyi new file mode 100644 index 00000000..833ca43a --- /dev/null +++ b/src/jneqsim/physicalproperties/__init__.pyi @@ -0,0 +1,52 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.physicalproperties.interfaceproperties +import jneqsim.physicalproperties.methods +import jneqsim.physicalproperties.mixingrule +import jneqsim.physicalproperties.system +import jneqsim.physicalproperties.util +import jneqsim.thermo.phase +import typing + + + +class PhysicalPropertyHandler(java.lang.Cloneable, java.io.Serializable): + def __init__(self): ... + def clone(self) -> 'PhysicalPropertyHandler': ... + def getPhysicalProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def setPhysicalProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + +class PhysicalPropertyType(java.lang.Enum['PhysicalPropertyType']): + MASS_DENSITY: typing.ClassVar['PhysicalPropertyType'] = ... + DYNAMIC_VISCOSITY: typing.ClassVar['PhysicalPropertyType'] = ... + THERMAL_CONDUCTIVITY: typing.ClassVar['PhysicalPropertyType'] = ... + @staticmethod + def byName(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyType': ... + _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]) -> 'PhysicalPropertyType': ... + @staticmethod + def values() -> typing.MutableSequence['PhysicalPropertyType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties")``. + + PhysicalPropertyHandler: typing.Type[PhysicalPropertyHandler] + PhysicalPropertyType: typing.Type[PhysicalPropertyType] + interfaceproperties: jneqsim.physicalproperties.interfaceproperties.__module_protocol__ + methods: jneqsim.physicalproperties.methods.__module_protocol__ + mixingrule: jneqsim.physicalproperties.mixingrule.__module_protocol__ + system: jneqsim.physicalproperties.system.__module_protocol__ + util: jneqsim.physicalproperties.util.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/interfaceproperties/__init__.pyi b/src/jneqsim/physicalproperties/interfaceproperties/__init__.pyi new file mode 100644 index 00000000..1cd17acd --- /dev/null +++ b/src/jneqsim/physicalproperties/interfaceproperties/__init__.pyi @@ -0,0 +1,85 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.physicalproperties.interfaceproperties.solidadsorption +import jneqsim.physicalproperties.interfaceproperties.surfacetension +import jneqsim.thermo.system +import typing + + + +class InterphasePropertiesInterface(java.lang.Cloneable): + def calcAdsorption(self) -> None: ... + def clone(self) -> 'InterphasePropertiesInterface': ... + @typing.overload + def getAdsorptionCalc(self, string: typing.Union[java.lang.String, str]) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface: ... + @typing.overload + def getAdsorptionCalc(self) -> typing.MutableSequence[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface]: ... + def getInterfacialTensionModel(self) -> int: ... + @typing.overload + def getSurfaceTension(self, int: int, int2: int) -> float: ... + @typing.overload + def getSurfaceTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceTensionModel(self, int: int) -> jneqsim.physicalproperties.interfaceproperties.surfacetension.SurfaceTensionInterface: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @typing.overload + def initAdsorption(self) -> None: ... + @typing.overload + def initAdsorption(self, isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType) -> None: ... + def setAdsorptionCalc(self, adsorptionInterfaceArray: typing.Union[typing.List[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface], jpype.JArray]) -> None: ... + @typing.overload + def setInterfacialTensionModel(self, int: int) -> None: ... + @typing.overload + def setInterfacialTensionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def setSolidAdsorbentMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class InterfaceProperties(InterphasePropertiesInterface, java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcAdsorption(self) -> None: ... + def clone(self) -> 'InterfaceProperties': ... + @typing.overload + def getAdsorptionCalc(self, string: typing.Union[java.lang.String, str]) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface: ... + @typing.overload + def getAdsorptionCalc(self) -> typing.MutableSequence[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface]: ... + def getInterfacialTensionModel(self) -> int: ... + @typing.overload + def getSurfaceTension(self, int: int, int2: int) -> float: ... + @typing.overload + def getSurfaceTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceTensionModel(self, int: int) -> jneqsim.physicalproperties.interfaceproperties.surfacetension.SurfaceTensionInterface: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @typing.overload + def initAdsorption(self) -> None: ... + @typing.overload + def initAdsorption(self, isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType) -> None: ... + def setAdsorptionCalc(self, adsorptionInterfaceArray: typing.Union[typing.List[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface], jpype.JArray]) -> None: ... + @typing.overload + def setInterfacialTensionModel(self, int: int) -> None: ... + @typing.overload + def setInterfacialTensionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def setSolidAdsorbentMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.interfaceproperties")``. + + InterfaceProperties: typing.Type[InterfaceProperties] + InterphasePropertiesInterface: typing.Type[InterphasePropertiesInterface] + solidadsorption: jneqsim.physicalproperties.interfaceproperties.solidadsorption.__module_protocol__ + surfacetension: jneqsim.physicalproperties.interfaceproperties.surfacetension.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi b/src/jneqsim/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi new file mode 100644 index 00000000..1645292b --- /dev/null +++ b/src/jneqsim/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi @@ -0,0 +1,248 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.thermo +import jneqsim.thermo.system +import typing + + + +class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.io.Serializable): + def calcAdsorption(self, int: int) -> None: ... + def getIsothermType(self) -> 'IsothermType': ... + @typing.overload + def getSurfaceExcess(self, int: int) -> float: ... + @typing.overload + def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalSurfaceExcess(self) -> float: ... + def isCalculated(self) -> bool: ... + def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class CapillaryCondensationModel(java.io.Serializable, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcCapillaryCondensation(self, int: int) -> None: ... + def getAdsorbedLayerThickness(self) -> float: ... + @typing.overload + def getCondensateAmount(self, int: int) -> float: ... + @typing.overload + def getCondensateAmount(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCondensationPressure(self, double: float, int: int, int2: int) -> float: ... + def getContactAngle(self) -> float: ... + @typing.overload + def getKelvinRadius(self, int: int) -> float: ... + @typing.overload + def getKelvinRadius(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLiquidMolarVolume(self, int: int) -> float: ... + def getMaxPoreRadius(self) -> float: ... + def getMeanPoreRadius(self) -> float: ... + def getMinPoreRadius(self) -> float: ... + def getPoreRadiusStdDev(self) -> float: ... + def getPoreType(self) -> 'CapillaryCondensationModel.PoreType': ... + def getSaturationPressure(self, int: int) -> float: ... + def getSurfaceTension(self, int: int) -> float: ... + def getTotalPoreVolume(self) -> float: ... + def isCalculated(self) -> bool: ... + def setAdsorbedLayerThickness(self, double: float) -> None: ... + def setContactAngle(self, double: float) -> None: ... + def setMaxPoreRadius(self, double: float) -> None: ... + def setMeanPoreRadius(self, double: float) -> None: ... + def setMinPoreRadius(self, double: float) -> None: ... + def setPoreRadiusStdDev(self, double: float) -> None: ... + def setPoreType(self, poreType: 'CapillaryCondensationModel.PoreType') -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTotalPoreVolume(self, double: float) -> None: ... + class PoreType(java.lang.Enum['CapillaryCondensationModel.PoreType']): + CYLINDRICAL: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... + SLIT: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... + SPHERICAL: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... + INK_BOTTLE: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... + def getGeometryFactor(self) -> float: ... + _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]) -> 'CapillaryCondensationModel.PoreType': ... + @staticmethod + def values() -> typing.MutableSequence['CapillaryCondensationModel.PoreType']: ... + +class FluidPropertyEstimator: + @staticmethod + def estimateAllProperties(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> typing.MutableSequence[float]: ... + @staticmethod + def estimateAllSaturationPressures(systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> typing.MutableSequence[float]: ... + @typing.overload + @staticmethod + def estimateLiquidMolarVolume(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def estimateLiquidMolarVolume(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> float: ... + @typing.overload + @staticmethod + def estimateSaturationPressure(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def estimateSaturationPressure(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> float: ... + @typing.overload + @staticmethod + def estimateSurfaceTension(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def estimateSurfaceTension(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, double: float) -> float: ... + +class IsothermType(java.lang.Enum['IsothermType']): + DRA: typing.ClassVar['IsothermType'] = ... + LANGMUIR: typing.ClassVar['IsothermType'] = ... + FREUNDLICH: typing.ClassVar['IsothermType'] = ... + BET: typing.ClassVar['IsothermType'] = ... + SIPS: typing.ClassVar['IsothermType'] = ... + EXTENDED_LANGMUIR: typing.ClassVar['IsothermType'] = ... + @staticmethod + def fromString(string: typing.Union[java.lang.String, str]) -> 'IsothermType': ... + def getDisplayName(self) -> java.lang.String: ... + def supportsMultiComponent(self) -> bool: ... + _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]) -> 'IsothermType': ... + @staticmethod + def values() -> typing.MutableSequence['IsothermType']: ... + +class AbstractAdsorptionModel(AdsorptionInterface, java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getAdsorbedPhaseMoleFraction(self, int: int) -> float: ... + def getBetSurfaceArea(self) -> float: ... + def getIsothermType(self) -> IsothermType: ... + def getMeanPoreRadius(self) -> float: ... + def getPoreVolume(self) -> float: ... + def getSelectivity(self, int: int, int2: int, int3: int) -> float: ... + def getSolidMaterial(self) -> java.lang.String: ... + @typing.overload + def getSurfaceExcess(self, int: int) -> float: ... + @typing.overload + def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalSurfaceExcess(self) -> float: ... + def isCalculated(self) -> bool: ... + def setBetSurfaceArea(self, double: float) -> None: ... + def setMeanPoreRadius(self, double: float) -> None: ... + def setPoreVolume(self, double: float) -> None: ... + def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class PotentialTheoryAdsorption(AdsorptionInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcAdsorption(self, int: int) -> None: ... + def getIsothermType(self) -> IsothermType: ... + @typing.overload + def getSurfaceExcess(self, int: int) -> float: ... + @typing.overload + def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalSurfaceExcess(self) -> float: ... + def isCalculated(self) -> bool: ... + def readDBParameters(self) -> None: ... + def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class BETAdsorption(AbstractAdsorptionModel): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcAdsorption(self, int: int) -> None: ... + def calculateBETSurfaceArea(self, int: int, double: float) -> float: ... + def getBETConstant(self, int: int) -> float: ... + def getIsothermType(self) -> IsothermType: ... + def getMaxLayers(self) -> int: ... + def getMonolayerCapacity(self, int: int) -> float: ... + def getNumberOfLayers(self, int: int) -> float: ... + def getRelativePressure(self, int: int, int2: int) -> float: ... + def getSaturationPressure(self, int: int) -> float: ... + def setBETConstant(self, int: int, double: float) -> None: ... + def setMaxLayers(self, int: int) -> None: ... + def setMonolayerCapacity(self, int: int, double: float) -> None: ... + def setSaturationPressure(self, int: int, double: float) -> None: ... + +class FreundlichAdsorption(AbstractAdsorptionModel): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcAdsorption(self, int: int) -> None: ... + def getHeatOfAdsorption(self, int: int) -> float: ... + def getIsothermType(self) -> IsothermType: ... + def getKFreundlich(self, int: int) -> float: ... + def getNFreundlich(self, int: int) -> float: ... + def getTempRef(self, int: int) -> float: ... + def isFavorableAdsorption(self, int: int) -> bool: ... + def setHeatOfAdsorption(self, int: int, double: float) -> None: ... + def setKFreundlich(self, int: int, double: float) -> None: ... + def setNFreundlich(self, int: int, double: float) -> None: ... + def setTempRef(self, int: int, double: float) -> None: ... + +class LangmuirAdsorption(AbstractAdsorptionModel): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcAdsorption(self, int: int) -> None: ... + def calcExtendedLangmuir(self, int: int) -> None: ... + def getCoverage(self, int: int) -> float: ... + def getHeatOfAdsorption(self, int: int) -> float: ... + def getIsothermType(self) -> IsothermType: ... + def getKLangmuir(self, int: int) -> float: ... + def getQmax(self, int: int) -> float: ... + def setHeatOfAdsorption(self, int: int, double: float) -> None: ... + def setKLangmuir(self, int: int, double: float) -> None: ... + def setQmax(self, int: int, double: float) -> None: ... + +class SipsAdsorption(AbstractAdsorptionModel): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcAdsorption(self, int: int) -> None: ... + def calcExtendedSips(self, int: int) -> None: ... + def getCoverage(self, int: int) -> float: ... + def getHeatOfAdsorption(self, int: int) -> float: ... + def getIsothermType(self) -> IsothermType: ... + def getKSips(self, int: int) -> float: ... + def getNSips(self, int: int) -> float: ... + def getQmax(self, int: int) -> float: ... + def setHeatOfAdsorption(self, int: int, double: float) -> None: ... + def setKSips(self, int: int, double: float) -> None: ... + def setNSips(self, int: int, double: float) -> None: ... + def setQmax(self, int: int, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.interfaceproperties.solidadsorption")``. + + AbstractAdsorptionModel: typing.Type[AbstractAdsorptionModel] + AdsorptionInterface: typing.Type[AdsorptionInterface] + BETAdsorption: typing.Type[BETAdsorption] + CapillaryCondensationModel: typing.Type[CapillaryCondensationModel] + FluidPropertyEstimator: typing.Type[FluidPropertyEstimator] + FreundlichAdsorption: typing.Type[FreundlichAdsorption] + IsothermType: typing.Type[IsothermType] + LangmuirAdsorption: typing.Type[LangmuirAdsorption] + PotentialTheoryAdsorption: typing.Type[PotentialTheoryAdsorption] + SipsAdsorption: typing.Type[SipsAdsorption] diff --git a/src/jneqsim/physicalproperties/interfaceproperties/surfacetension/__init__.pyi b/src/jneqsim/physicalproperties/interfaceproperties/surfacetension/__init__.pyi new file mode 100644 index 00000000..74ae8fd7 --- /dev/null +++ b/src/jneqsim/physicalproperties/interfaceproperties/surfacetension/__init__.pyi @@ -0,0 +1,146 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import jneqsim.physicalproperties.interfaceproperties +import jneqsim.thermo.system +import org.apache.commons.math3.ode +import typing + + + +class GTSurfaceTensionFullGT: + normtol: float = ... + reltol: float = ... + abstol: float = ... + maxit: int = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + @staticmethod + def Newton(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float, int: int, double3: float, boolean: bool, boolean2: bool, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, int2: int, double5: float, doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calc_std_integral(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + @staticmethod + def debugPlot(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @staticmethod + def delta_mu(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: float, 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[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @staticmethod + def directsolve(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double4: float, int: int, doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int2: int) -> None: ... + @staticmethod + def initmu(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: float, 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], double6: float) -> None: ... + @staticmethod + def linspace(double: float, double2: float, int: int) -> typing.MutableSequence[float]: ... + def runcase(self) -> float: ... + @staticmethod + def sigmaCalc(double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], boolean: bool, doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int) -> float: ... + +class GTSurfaceTensionODE(org.apache.commons.math3.ode.FirstOrderDifferentialEquations): + normtol: float = ... + reltol: float = ... + abstol: float = ... + maxit: int = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int, double: float): ... + def computeDerivatives(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def fjacfun(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def getDimension(self) -> int: ... + def initmu(self) -> None: ... + +class GTSurfaceTensionUtils: + @staticmethod + def mufun(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: float, doubleArray: typing.Union[typing.List[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]) -> None: ... + +class SurfaceTensionInterface: + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + +class SurfaceTension(jneqsim.physicalproperties.interfaceproperties.InterfaceProperties, SurfaceTensionInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcPureComponentSurfaceTension(self, int: int) -> float: ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + def getComponentWithHighestBoilingpoint(self) -> int: ... + +class CDFTSurfaceTension(SurfaceTension): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + def getAttractiveRangeFactor(self) -> float: ... + def getNGrid(self) -> int: ... + def isUsePredictiveMode(self) -> bool: ... + def setAttractiveRangeFactor(self, double: float) -> None: ... + def setNGrid(self, int: int) -> None: ... + def setUsePredictiveMode(self, boolean: bool) -> None: ... + +class FirozabadiRamleyInterfaceTension(SurfaceTension): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcPureComponentSurfaceTension(self, int: int) -> float: ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + +class GTSurfaceTension(SurfaceTension): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + @staticmethod + def solveFullDensityProfile(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> float: ... + @staticmethod + def solveWithRefcomp(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int) -> float: ... + +class GTSurfaceTensionSimple(SurfaceTension): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcInfluenceParameters(self) -> None: ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + def getDmudn2(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... + def getInfluenceParameter(self, double: float, int: int) -> float: ... + def getMolarDensity(self, int: int) -> typing.MutableSequence[float]: ... + def getMolarDensityTotal(self) -> typing.MutableSequence[float]: ... + def getPressure(self) -> typing.MutableSequence[float]: ... + def getz(self) -> typing.MutableSequence[float]: ... + def setDmudn2(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray]) -> None: ... + +class LGTSurfaceTension(SurfaceTension): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + def getMolarDensity(self, int: int) -> typing.MutableSequence[float]: ... + def getMolarDensityTotal(self) -> typing.MutableSequence[float]: ... + def getPressure(self) -> typing.MutableSequence[float]: ... + def getz(self) -> typing.MutableSequence[float]: ... + +class ParachorSurfaceTension(SurfaceTension): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcPureComponentSurfaceTension(self, int: int) -> float: ... + def calcSurfaceTension(self, int: int, int2: int) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.interfaceproperties.surfacetension")``. + + CDFTSurfaceTension: typing.Type[CDFTSurfaceTension] + FirozabadiRamleyInterfaceTension: typing.Type[FirozabadiRamleyInterfaceTension] + GTSurfaceTension: typing.Type[GTSurfaceTension] + GTSurfaceTensionFullGT: typing.Type[GTSurfaceTensionFullGT] + GTSurfaceTensionODE: typing.Type[GTSurfaceTensionODE] + GTSurfaceTensionSimple: typing.Type[GTSurfaceTensionSimple] + GTSurfaceTensionUtils: typing.Type[GTSurfaceTensionUtils] + LGTSurfaceTension: typing.Type[LGTSurfaceTension] + ParachorSurfaceTension: typing.Type[ParachorSurfaceTension] + SurfaceTension: typing.Type[SurfaceTension] + SurfaceTensionInterface: typing.Type[SurfaceTensionInterface] diff --git a/src/jneqsim/physicalproperties/methods/__init__.pyi b/src/jneqsim/physicalproperties/methods/__init__.pyi new file mode 100644 index 00000000..68b6c72c --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/__init__.pyi @@ -0,0 +1,40 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.physicalproperties.methods.commonphasephysicalproperties +import jneqsim.physicalproperties.methods.gasphysicalproperties +import jneqsim.physicalproperties.methods.liquidphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.methods.solidphysicalproperties +import jneqsim.physicalproperties.system +import typing + + + +class PhysicalPropertyMethodInterface(java.lang.Cloneable, java.io.Serializable): + def clone(self) -> 'PhysicalPropertyMethodInterface': ... + def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... + def tuneModel(self, double: float, double2: float, double3: float) -> None: ... + +class PhysicalPropertyMethod(PhysicalPropertyMethodInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> 'PhysicalPropertyMethod': ... + def tuneModel(self, double: float, double2: float, double3: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods")``. + + PhysicalPropertyMethod: typing.Type[PhysicalPropertyMethod] + PhysicalPropertyMethodInterface: typing.Type[PhysicalPropertyMethodInterface] + commonphasephysicalproperties: jneqsim.physicalproperties.methods.commonphasephysicalproperties.__module_protocol__ + gasphysicalproperties: jneqsim.physicalproperties.methods.gasphysicalproperties.__module_protocol__ + liquidphysicalproperties: jneqsim.physicalproperties.methods.liquidphysicalproperties.__module_protocol__ + methodinterface: jneqsim.physicalproperties.methods.methodinterface.__module_protocol__ + solidphysicalproperties: jneqsim.physicalproperties.methods.solidphysicalproperties.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi new file mode 100644 index 00000000..535a6cfe --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi @@ -0,0 +1,28 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods +import jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity +import jneqsim.physicalproperties.methods.commonphasephysicalproperties.diffusivity +import jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity +import jneqsim.physicalproperties.system +import typing + + + +class CommonPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties")``. + + CommonPhysicalPropertyMethod: typing.Type[CommonPhysicalPropertyMethod] + conductivity: jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity.__module_protocol__ + diffusivity: jneqsim.physicalproperties.methods.commonphasephysicalproperties.diffusivity.__module_protocol__ + viscosity: jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi new file mode 100644 index 00000000..9aa1a5ae --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi @@ -0,0 +1,62 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.commonphasephysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import jneqsim.thermo +import typing + + + +class Conductivity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> 'Conductivity': ... + +class CO2ConductivityMethod(Conductivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + +class ChungDenseConductivityMethod(Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + +class FrictionTheoryConductivityMethod(Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface): + pureComponentConductivity: typing.MutableSequence[float] = ... + omegaCond: typing.MutableSequence[float] = ... + fc: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + +class HydrogenConductivityMethod(Conductivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def clone(self) -> 'HydrogenConductivityMethod': ... + +class PFCTConductivityMethodMod86(Conductivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def calcMixLPViscosity(self) -> float: ... + def getRefComponentConductivity(self, double: float, double2: float) -> float: ... + def getRefComponentViscosity(self, double: float, double2: float) -> float: ... + +class WaterConductivityMethod(Conductivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def clone(self) -> 'WaterConductivityMethod': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity")``. + + CO2ConductivityMethod: typing.Type[CO2ConductivityMethod] + ChungDenseConductivityMethod: typing.Type[ChungDenseConductivityMethod] + Conductivity: typing.Type[Conductivity] + FrictionTheoryConductivityMethod: typing.Type[FrictionTheoryConductivityMethod] + HydrogenConductivityMethod: typing.Type[HydrogenConductivityMethod] + PFCTConductivityMethodMod86: typing.Type[PFCTConductivityMethodMod86] + WaterConductivityMethod: typing.Type[WaterConductivityMethod] diff --git a/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi new file mode 100644 index 00000000..68d90647 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi @@ -0,0 +1,34 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.commonphasephysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Diffusivity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcEffectiveDiffusionCoefficients(self) -> None: ... + def clone(self) -> 'Diffusivity': ... + def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... + def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + +class CorrespondingStatesDiffusivity(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.diffusivity")``. + + CorrespondingStatesDiffusivity: typing.Type[CorrespondingStatesDiffusivity] + Diffusivity: typing.Type[Diffusivity] diff --git a/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi new file mode 100644 index 00000000..8dbfb2e0 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi @@ -0,0 +1,128 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import jneqsim.physicalproperties.methods.commonphasephysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import jneqsim.thermo +import typing + + + +class Viscosity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): + pureComponentViscosity: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcPureComponentViscosity(self) -> None: ... + def clone(self) -> 'Viscosity': ... + def getPureComponentViscosity(self, int: int) -> float: ... + def getViscosityPressureCorrection(self, int: int) -> float: ... + +class CO2ViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + +class FrictionTheoryViscosityMethod(Viscosity, jneqsim.thermo.ThermodynamicConstantsInterface): + pureComponentViscosity: typing.MutableSequence[float] = ... + Fc: typing.MutableSequence[float] = ... + omegaVisc: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def getPureComponentViscosity(self, int: int) -> float: ... + def getRedKapa(self, double: float, double2: float) -> float: ... + def getRedKapr(self, double: float, double2: float) -> float: ... + def getRedKaprr(self, double: float, double2: float) -> float: ... + def getTBPviscosityCorrection(self) -> float: ... + def initChungPureComponentViscosity(self) -> None: ... + def setFrictionTheoryConstants(self, double: float, double2: float, double3: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double6: float) -> None: ... + def setTBPviscosityCorrection(self, double: float) -> None: ... + def tuneModel(self, double: float, double2: float, double3: float) -> None: ... + +class KTAViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + +class KTAViscosityMethodMod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + +class LBCViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'LBCViscosityMethod': ... + def getDenseContributionParameters(self) -> typing.MutableSequence[float]: ... + def getPureComponentViscosity(self, int: int) -> float: ... + def setDenseContributionParameter(self, int: int, double: float) -> None: ... + def setDenseContributionParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class LeeViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + @staticmethod + def calcLowPressureViscosity(double: float, double2: float) -> float: ... + @typing.overload + def calcViscosity(self) -> float: ... + @typing.overload + @staticmethod + def calcViscosity(double: float, double2: float, double3: float) -> float: ... + +class MethaneViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + +class MuznyModViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + +class MuznyViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + +class PFCTViscosityMethod(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'PFCTViscosityMethod': ... + def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... + def getPureComponentViscosity(self, int: int) -> float: ... + def getRefComponentViscosity(self, double: float, double2: float) -> float: ... + def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... + def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class PFCTViscosityMethodHeavyOil(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'PFCTViscosityMethodHeavyOil': ... + def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... + def getRefComponentViscosity(self, double: float, double2: float) -> float: ... + def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... + def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class PFCTViscosityMethodMod86(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'PFCTViscosityMethodMod86': ... + def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... + def getRefComponentViscosity(self, double: float, double2: float) -> float: ... + def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... + def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity")``. + + CO2ViscosityMethod: typing.Type[CO2ViscosityMethod] + FrictionTheoryViscosityMethod: typing.Type[FrictionTheoryViscosityMethod] + KTAViscosityMethod: typing.Type[KTAViscosityMethod] + KTAViscosityMethodMod: typing.Type[KTAViscosityMethodMod] + LBCViscosityMethod: typing.Type[LBCViscosityMethod] + LeeViscosityMethod: typing.Type[LeeViscosityMethod] + MethaneViscosityMethod: typing.Type[MethaneViscosityMethod] + MuznyModViscosityMethod: typing.Type[MuznyModViscosityMethod] + MuznyViscosityMethod: typing.Type[MuznyViscosityMethod] + PFCTViscosityMethod: typing.Type[PFCTViscosityMethod] + PFCTViscosityMethodHeavyOil: typing.Type[PFCTViscosityMethodHeavyOil] + PFCTViscosityMethodMod86: typing.Type[PFCTViscosityMethodMod86] + Viscosity: typing.Type[Viscosity] diff --git a/src/jneqsim/physicalproperties/methods/gasphysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/__init__.pyi new file mode 100644 index 00000000..3d5a53ad --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods +import jneqsim.physicalproperties.methods.gasphysicalproperties.conductivity +import jneqsim.physicalproperties.methods.gasphysicalproperties.density +import jneqsim.physicalproperties.methods.gasphysicalproperties.diffusivity +import jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity +import jneqsim.physicalproperties.system +import typing + + + +class GasPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): + binaryMolecularDiameter: typing.MutableSequence[typing.MutableSequence[float]] = ... + binaryEnergyParameter: typing.MutableSequence[typing.MutableSequence[float]] = ... + binaryMolecularMass: typing.MutableSequence[typing.MutableSequence[float]] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties")``. + + GasPhysicalPropertyMethod: typing.Type[GasPhysicalPropertyMethod] + conductivity: jneqsim.physicalproperties.methods.gasphysicalproperties.conductivity.__module_protocol__ + density: jneqsim.physicalproperties.methods.gasphysicalproperties.density.__module_protocol__ + diffusivity: jneqsim.physicalproperties.methods.gasphysicalproperties.diffusivity.__module_protocol__ + viscosity: jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi new file mode 100644 index 00000000..1dceae9a --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.gasphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Conductivity(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> 'Conductivity': ... + +class ChungConductivityMethod(Conductivity): + pureComponentConductivity: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def calcPureComponentConductivity(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.conductivity")``. + + ChungConductivityMethod: typing.Type[ChungConductivityMethod] + Conductivity: typing.Type[Conductivity] diff --git a/src/jneqsim/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi new file mode 100644 index 00000000..4aba4d2e --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.gasphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Density(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcDensity(self) -> float: ... + def clone(self) -> 'Density': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.density")``. + + Density: typing.Type[Density] diff --git a/src/jneqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi new file mode 100644 index 00000000..abc00f39 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi @@ -0,0 +1,42 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.gasphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Diffusivity(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcEffectiveDiffusionCoefficients(self) -> None: ... + def clone(self) -> 'Diffusivity': ... + def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... + def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def isTemperatureInValidRange(self) -> bool: ... + def setEnableTemperatureWarnings(self, boolean: bool) -> None: ... + def setUseDiffusionLJOverride(self, boolean: bool) -> None: ... + +class FullerSchettlerGiddingsDiffusivity(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + +class WilkeLeeDiffusivity(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.diffusivity")``. + + Diffusivity: typing.Type[Diffusivity] + FullerSchettlerGiddingsDiffusivity: typing.Type[FullerSchettlerGiddingsDiffusivity] + WilkeLeeDiffusivity: typing.Type[WilkeLeeDiffusivity] diff --git a/src/jneqsim/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi new file mode 100644 index 00000000..3f8a06f9 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi @@ -0,0 +1,34 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.gasphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Viscosity(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> 'Viscosity': ... + +class ChungViscosityMethod(Viscosity): + pureComponentViscosity: typing.MutableSequence[float] = ... + relativeViscosity: typing.MutableSequence[float] = ... + Fc: typing.MutableSequence[float] = ... + omegaVisc: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def getPureComponentViscosity(self, int: int) -> float: ... + def initChungPureComponentViscosity(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity")``. + + ChungViscosityMethod: typing.Type[ChungViscosityMethod] + Viscosity: typing.Type[Viscosity] diff --git a/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/__init__.pyi new file mode 100644 index 00000000..a6846849 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods +import jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity +import jneqsim.physicalproperties.methods.liquidphysicalproperties.density +import jneqsim.physicalproperties.methods.liquidphysicalproperties.diffusivity +import jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity +import jneqsim.physicalproperties.system +import typing + + + +class LiquidPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties")``. + + LiquidPhysicalPropertyMethod: typing.Type[LiquidPhysicalPropertyMethod] + conductivity: jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity.__module_protocol__ + density: jneqsim.physicalproperties.methods.liquidphysicalproperties.density.__module_protocol__ + diffusivity: jneqsim.physicalproperties.methods.liquidphysicalproperties.diffusivity.__module_protocol__ + viscosity: jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi new file mode 100644 index 00000000..927448c6 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi @@ -0,0 +1,38 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.liquidphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Conductivity(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): + pureComponentConductivity: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def calcPureComponentConductivity(self) -> None: ... + def clone(self) -> 'Conductivity': ... + +class FilippovConductivityMethod(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): + pureComponentConductivity: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def calcPureComponentConductivity(self) -> None: ... + def clone(self) -> 'FilippovConductivityMethod': ... + def getFilippovCoefficient(self) -> float: ... + def isUsePressureCorrection(self) -> bool: ... + def setFilippovCoefficient(self, double: float) -> None: ... + def setUsePressureCorrection(self, boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity")``. + + Conductivity: typing.Type[Conductivity] + FilippovConductivityMethod: typing.Type[FilippovConductivityMethod] diff --git a/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi new file mode 100644 index 00000000..043acb34 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi @@ -0,0 +1,46 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.liquidphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Costald(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcDensity(self) -> float: ... + def clone(self) -> 'Costald': ... + def isUsePolarCorrection(self) -> bool: ... + def setUsePolarCorrection(self, boolean: bool) -> None: ... + +class Density(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcDensity(self) -> float: ... + def clone(self) -> 'Density': ... + +class Rackett(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcDensity(self) -> float: ... + def clone(self) -> 'Rackett': ... + +class Water(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcDensity(self) -> float: ... + @staticmethod + def calculatePureWaterDensity(double: float, double2: float) -> float: ... + def clone(self) -> 'Water': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.density")``. + + Costald: typing.Type[Costald] + Density: typing.Type[Density] + Rackett: typing.Type[Rackett] + Water: typing.Type[Water] diff --git a/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi new file mode 100644 index 00000000..a83d3d46 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi @@ -0,0 +1,113 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.physicalproperties.system +import jneqsim.thermo.phase +import typing + + + +class DiffusivityModelSelector: + @staticmethod + def createAutoSelectedModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> 'Diffusivity': ... + @staticmethod + def createModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, diffusivityModelType: 'DiffusivityModelSelector.DiffusivityModelType') -> 'Diffusivity': ... + @staticmethod + def getModelSelectionReason(phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> java.lang.String: ... + @staticmethod + def selectOptimalModel(phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> 'DiffusivityModelSelector.DiffusivityModelType': ... + class DiffusivityModelType(java.lang.Enum['DiffusivityModelSelector.DiffusivityModelType']): + SIDDIQI_LUCAS: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + HAYDUK_MINHAS: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + WILKE_CHANG: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + TYN_CALUS: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + HIGH_PRESSURE_CORRECTED: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + AMINE: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + CO2_WATER: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + CORRESPONDING_STATES: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... + _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]) -> 'DiffusivityModelSelector.DiffusivityModelType': ... + @staticmethod + def values() -> typing.MutableSequence['DiffusivityModelSelector.DiffusivityModelType']: ... + +class Diffusivity: ... + +class CO2water(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + +class HaydukMinhasDiffusivity(Diffusivity): + @typing.overload + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + @typing.overload + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, solventType: 'HaydukMinhasDiffusivity.SolventType'): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSolventType(self) -> 'HaydukMinhasDiffusivity.SolventType': ... + def setSolventType(self, solventType: 'HaydukMinhasDiffusivity.SolventType') -> None: ... + class SolventType(java.lang.Enum['HaydukMinhasDiffusivity.SolventType']): + PARAFFIN: typing.ClassVar['HaydukMinhasDiffusivity.SolventType'] = ... + AQUEOUS: typing.ClassVar['HaydukMinhasDiffusivity.SolventType'] = ... + AUTO: typing.ClassVar['HaydukMinhasDiffusivity.SolventType'] = ... + _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]) -> 'HaydukMinhasDiffusivity.SolventType': ... + @staticmethod + def values() -> typing.MutableSequence['HaydukMinhasDiffusivity.SolventType']: ... + +class HighPressureDiffusivity(Diffusivity): + @typing.overload + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + @typing.overload + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, diffusivity: Diffusivity): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureCorrectionFactor(self) -> float: ... + def setBaseDiffusivityModel(self, diffusivity: Diffusivity) -> None: ... + +class SiddiqiLucasMethod(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def setAutoSelectCorrelation(self, boolean: bool) -> None: ... + +class TynCalusDiffusivity(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + +class WilkeChangDiffusivity(Diffusivity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + +class AmineDiffusivity(SiddiqiLucasMethod): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcEffectiveDiffusionCoefficients(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.diffusivity")``. + + AmineDiffusivity: typing.Type[AmineDiffusivity] + CO2water: typing.Type[CO2water] + Diffusivity: typing.Type[Diffusivity] + DiffusivityModelSelector: typing.Type[DiffusivityModelSelector] + HaydukMinhasDiffusivity: typing.Type[HaydukMinhasDiffusivity] + HighPressureDiffusivity: typing.Type[HighPressureDiffusivity] + SiddiqiLucasMethod: typing.Type[SiddiqiLucasMethod] + TynCalusDiffusivity: typing.Type[TynCalusDiffusivity] + WilkeChangDiffusivity: typing.Type[WilkeChangDiffusivity] diff --git a/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi new file mode 100644 index 00000000..9e7258d7 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi @@ -0,0 +1,55 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.physicalproperties.methods.liquidphysicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.system +import typing + + + +class Viscosity(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): + pureComponentViscosity: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcPureComponentViscosity(self) -> None: ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'Viscosity': ... + def getPureComponentViscosity(self, int: int) -> float: ... + def getViscosityPressureCorrection(self, int: int) -> float: ... + +class AmineViscosity(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + class AmineType(java.lang.Enum['AmineViscosity.AmineType']): + MEA: typing.ClassVar['AmineViscosity.AmineType'] = ... + DEA: typing.ClassVar['AmineViscosity.AmineType'] = ... + MDEA: typing.ClassVar['AmineViscosity.AmineType'] = ... + AMDEA: typing.ClassVar['AmineViscosity.AmineType'] = ... + UNKNOWN: typing.ClassVar['AmineViscosity.AmineType'] = ... + _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]) -> 'AmineViscosity.AmineType': ... + @staticmethod + def values() -> typing.MutableSequence['AmineViscosity.AmineType']: ... + +class Water(Viscosity): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'Water': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity")``. + + AmineViscosity: typing.Type[AmineViscosity] + Viscosity: typing.Type[Viscosity] + Water: typing.Type[Water] diff --git a/src/jneqsim/physicalproperties/methods/methodinterface/__init__.pyi b/src/jneqsim/physicalproperties/methods/methodinterface/__init__.pyi new file mode 100644 index 00000000..6e22bfa4 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/methodinterface/__init__.pyi @@ -0,0 +1,43 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods +import jneqsim.thermo +import typing + + + +class ConductivityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): + def calcConductivity(self) -> float: ... + def clone(self) -> 'ConductivityInterface': ... + +class DensityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): + def calcDensity(self) -> float: ... + def clone(self) -> 'DensityInterface': ... + +class DiffusivityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcEffectiveDiffusionCoefficients(self) -> None: ... + def clone(self) -> 'DiffusivityInterface': ... + def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... + def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + +class ViscosityInterface(jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): + def calcViscosity(self) -> float: ... + def clone(self) -> 'ViscosityInterface': ... + def getPureComponentViscosity(self, int: int) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.methodinterface")``. + + ConductivityInterface: typing.Type[ConductivityInterface] + DensityInterface: typing.Type[DensityInterface] + DiffusivityInterface: typing.Type[DiffusivityInterface] + ViscosityInterface: typing.Type[ViscosityInterface] diff --git a/src/jneqsim/physicalproperties/methods/solidphysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/__init__.pyi new file mode 100644 index 00000000..2b1af6e3 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods +import jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity +import jneqsim.physicalproperties.methods.solidphysicalproperties.density +import jneqsim.physicalproperties.methods.solidphysicalproperties.diffusivity +import jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity +import jneqsim.physicalproperties.system +import typing + + + +class SolidPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties")``. + + SolidPhysicalPropertyMethod: typing.Type[SolidPhysicalPropertyMethod] + conductivity: jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity.__module_protocol__ + density: jneqsim.physicalproperties.methods.solidphysicalproperties.density.__module_protocol__ + diffusivity: jneqsim.physicalproperties.methods.solidphysicalproperties.diffusivity.__module_protocol__ + viscosity: jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi new file mode 100644 index 00000000..c825dc55 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.methods.solidphysicalproperties +import jneqsim.physicalproperties.system +import typing + + + +class Conductivity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcConductivity(self) -> float: ... + def clone(self) -> 'Conductivity': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity")``. + + Conductivity: typing.Type[Conductivity] diff --git a/src/jneqsim/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi new file mode 100644 index 00000000..b040be27 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.methods.solidphysicalproperties +import jneqsim.physicalproperties.system +import typing + + + +class Density(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcDensity(self) -> float: ... + def clone(self) -> 'Density': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.density")``. + + Density: typing.Type[Density] diff --git a/src/jneqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi new file mode 100644 index 00000000..4a643c08 --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.methods.solidphysicalproperties +import jneqsim.physicalproperties.system +import typing + + + +class Diffusivity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface): + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcEffectiveDiffusionCoefficients(self) -> None: ... + def clone(self) -> 'Diffusivity': ... + def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... + def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.diffusivity")``. + + Diffusivity: typing.Type[Diffusivity] diff --git a/src/jneqsim/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi new file mode 100644 index 00000000..05e66fcd --- /dev/null +++ b/src/jneqsim/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi @@ -0,0 +1,28 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.methods.solidphysicalproperties +import jneqsim.physicalproperties.system +import typing + + + +class Viscosity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): + pureComponentViscosity: typing.MutableSequence[float] = ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcPureComponentViscosity(self) -> None: ... + def calcViscosity(self) -> float: ... + def clone(self) -> 'Viscosity': ... + def getPureComponentViscosity(self, int: int) -> float: ... + def getViscosityPressureCorrection(self, int: int) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity")``. + + Viscosity: typing.Type[Viscosity] diff --git a/src/jneqsim/physicalproperties/mixingrule/__init__.pyi b/src/jneqsim/physicalproperties/mixingrule/__init__.pyi new file mode 100644 index 00000000..47abd115 --- /dev/null +++ b/src/jneqsim/physicalproperties/mixingrule/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.thermo +import jneqsim.thermo.phase +import typing + + + +class PhysicalPropertyMixingRuleInterface(java.lang.Cloneable): + def clone(self) -> 'PhysicalPropertyMixingRuleInterface': ... + def getViscosityGij(self, int: int, int2: int) -> float: ... + def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def setViscosityGij(self, double: float, int: int, int2: int) -> None: ... + +class PhysicalPropertyMixingRule(PhysicalPropertyMixingRuleInterface, jneqsim.thermo.ThermodynamicConstantsInterface): + Gij: typing.MutableSequence[typing.MutableSequence[float]] = ... + def __init__(self): ... + def clone(self) -> 'PhysicalPropertyMixingRule': ... + def getPhysicalPropertyMixingRule(self) -> PhysicalPropertyMixingRuleInterface: ... + def getViscosityGij(self, int: int, int2: int) -> float: ... + def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def setViscosityGij(self, double: float, int: int, int2: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.mixingrule")``. + + PhysicalPropertyMixingRule: typing.Type[PhysicalPropertyMixingRule] + PhysicalPropertyMixingRuleInterface: typing.Type[PhysicalPropertyMixingRuleInterface] diff --git a/src/jneqsim/physicalproperties/system/__init__.pyi b/src/jneqsim/physicalproperties/system/__init__.pyi new file mode 100644 index 00000000..2532f990 --- /dev/null +++ b/src/jneqsim/physicalproperties/system/__init__.pyi @@ -0,0 +1,125 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.physicalproperties +import jneqsim.physicalproperties.methods.methodinterface +import jneqsim.physicalproperties.mixingrule +import jneqsim.physicalproperties.system.commonphasephysicalproperties +import jneqsim.physicalproperties.system.gasphysicalproperties +import jneqsim.physicalproperties.system.liquidphysicalproperties +import jneqsim.physicalproperties.system.solidphysicalproperties +import jneqsim.thermo +import jneqsim.thermo.phase +import typing + + + +class PhysicalProperties(java.lang.Cloneable, jneqsim.thermo.ThermodynamicConstantsInterface): + conductivityCalc: jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface = ... + viscosityCalc: jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface = ... + diffusivityCalc: jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface = ... + densityCalc: jneqsim.physicalproperties.methods.methodinterface.DensityInterface = ... + kinematicViscosity: float = ... + density: float = ... + viscosity: float = ... + conductivity: float = ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def calcDensity(self) -> float: ... + def calcEffectiveDiffusionCoefficients(self) -> None: ... + def calcKinematicViscosity(self) -> float: ... + def clone(self) -> 'PhysicalProperties': ... + def getConductivity(self) -> float: ... + def getConductivityModel(self) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... + def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... + def getCspViscosityParameters(self) -> typing.MutableSequence[float]: ... + def getDensity(self) -> float: ... + @typing.overload + def getDiffusionCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getDiffusionCoefficient(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... + @typing.overload + def getEffectiveDiffusionCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEffectiveSchmidtNumber(self, int: int) -> float: ... + def getFickDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getKinematicViscosity(self) -> float: ... + def getLbcParameters(self) -> typing.MutableSequence[float]: ... + def getMixingRule(self) -> jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface: ... + def getPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPureComponentViscosity(self, int: int) -> float: ... + def getViscosity(self) -> float: ... + def getViscosityModel(self) -> jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface: ... + def getViscosityOfWaxyOil(self, double: float, double2: float) -> float: ... + def getWaxViscosityParameter(self) -> typing.MutableSequence[float]: ... + @typing.overload + def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + @typing.overload + def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def isLBCViscosityModel(self) -> bool: ... + def isPFCTViscosityModel(self) -> bool: ... + def setBinaryDiffusionCoefficientMethod(self, int: int) -> None: ... + def setConductivityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... + def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCspViscosityParameter(self, int: int, double: float) -> None: ... + def setCspViscosityParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDensityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDiffusionCoefficientModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLbcParameter(self, int: int, double: float) -> None: ... + def setLbcParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMixingRule(self, physicalPropertyMixingRuleInterface: jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface) -> None: ... + def setMixingRuleNull(self) -> None: ... + def setMulticomponentDiffusionMethod(self, int: int) -> None: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def setPhases(self) -> None: ... + def setViscosityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setWaxViscosityParameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setWaxViscosityParameter(self, int: int, double: float) -> None: ... + +class PhysicalPropertyModel(java.lang.Enum['PhysicalPropertyModel']): + DEFAULT: typing.ClassVar['PhysicalPropertyModel'] = ... + WATER: typing.ClassVar['PhysicalPropertyModel'] = ... + GLYCOL: typing.ClassVar['PhysicalPropertyModel'] = ... + AMINE: typing.ClassVar['PhysicalPropertyModel'] = ... + CO2WATER: typing.ClassVar['PhysicalPropertyModel'] = ... + BASIC: typing.ClassVar['PhysicalPropertyModel'] = ... + SALT_WATER: typing.ClassVar['PhysicalPropertyModel'] = ... + @staticmethod + def byName(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyModel': ... + @staticmethod + def byValue(int: int) -> 'PhysicalPropertyModel': ... + def getValue(self) -> int: ... + _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]) -> 'PhysicalPropertyModel': ... + @staticmethod + def values() -> typing.MutableSequence['PhysicalPropertyModel']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system")``. + + PhysicalProperties: typing.Type[PhysicalProperties] + PhysicalPropertyModel: typing.Type[PhysicalPropertyModel] + commonphasephysicalproperties: jneqsim.physicalproperties.system.commonphasephysicalproperties.__module_protocol__ + gasphysicalproperties: jneqsim.physicalproperties.system.gasphysicalproperties.__module_protocol__ + liquidphysicalproperties: jneqsim.physicalproperties.system.liquidphysicalproperties.__module_protocol__ + solidphysicalproperties: jneqsim.physicalproperties.system.solidphysicalproperties.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/system/commonphasephysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/system/commonphasephysicalproperties/__init__.pyi new file mode 100644 index 00000000..2eef4c1f --- /dev/null +++ b/src/jneqsim/physicalproperties/system/commonphasephysicalproperties/__init__.pyi @@ -0,0 +1,21 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.system +import jneqsim.thermo.phase +import typing + + + +class DefaultPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.commonphasephysicalproperties")``. + + DefaultPhysicalProperties: typing.Type[DefaultPhysicalProperties] diff --git a/src/jneqsim/physicalproperties/system/gasphysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/system/gasphysicalproperties/__init__.pyi new file mode 100644 index 00000000..06ed955d --- /dev/null +++ b/src/jneqsim/physicalproperties/system/gasphysicalproperties/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.system +import jneqsim.thermo.phase +import typing + + + +class GasPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def clone(self) -> 'GasPhysicalProperties': ... + +class AirPhysicalProperties(GasPhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + +class NaturalGasPhysicalProperties(GasPhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.gasphysicalproperties")``. + + AirPhysicalProperties: typing.Type[AirPhysicalProperties] + GasPhysicalProperties: typing.Type[GasPhysicalProperties] + NaturalGasPhysicalProperties: typing.Type[NaturalGasPhysicalProperties] diff --git a/src/jneqsim/physicalproperties/system/liquidphysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/system/liquidphysicalproperties/__init__.pyi new file mode 100644 index 00000000..01620630 --- /dev/null +++ b/src/jneqsim/physicalproperties/system/liquidphysicalproperties/__init__.pyi @@ -0,0 +1,43 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.system +import jneqsim.thermo.phase +import typing + + + +class CO2waterPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def clone(self) -> 'CO2waterPhysicalProperties': ... + +class LiquidPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def clone(self) -> 'LiquidPhysicalProperties': ... + +class AminePhysicalProperties(LiquidPhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + +class GlycolPhysicalProperties(LiquidPhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + +class WaterPhysicalProperties(LiquidPhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + +class SaltWaterPhysicalProperties(WaterPhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.liquidphysicalproperties")``. + + AminePhysicalProperties: typing.Type[AminePhysicalProperties] + CO2waterPhysicalProperties: typing.Type[CO2waterPhysicalProperties] + GlycolPhysicalProperties: typing.Type[GlycolPhysicalProperties] + LiquidPhysicalProperties: typing.Type[LiquidPhysicalProperties] + SaltWaterPhysicalProperties: typing.Type[SaltWaterPhysicalProperties] + WaterPhysicalProperties: typing.Type[WaterPhysicalProperties] diff --git a/src/jneqsim/physicalproperties/system/solidphysicalproperties/__init__.pyi b/src/jneqsim/physicalproperties/system/solidphysicalproperties/__init__.pyi new file mode 100644 index 00000000..15663403 --- /dev/null +++ b/src/jneqsim/physicalproperties/system/solidphysicalproperties/__init__.pyi @@ -0,0 +1,21 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.system +import jneqsim.thermo.phase +import typing + + + +class SolidPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.solidphysicalproperties")``. + + SolidPhysicalProperties: typing.Type[SolidPhysicalProperties] diff --git a/src/jneqsim/physicalproperties/util/__init__.pyi b/src/jneqsim/physicalproperties/util/__init__.pyi new file mode 100644 index 00000000..b370d2ff --- /dev/null +++ b/src/jneqsim/physicalproperties/util/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.util.parameterfitting +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util")``. + + parameterfitting: jneqsim.physicalproperties.util.parameterfitting.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/util/parameterfitting/__init__.pyi b/src/jneqsim/physicalproperties/util/parameterfitting/__init__.pyi new file mode 100644 index 00000000..8472550e --- /dev/null +++ b/src/jneqsim/physicalproperties/util/parameterfitting/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting")``. + + purecomponentparameterfitting: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi new file mode 100644 index 00000000..02780107 --- /dev/null +++ b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension +import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting")``. + + purecompinterfacetension: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension.__module_protocol__ + purecompviscosity: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi new file mode 100644 index 00000000..83490b4a --- /dev/null +++ b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import typing + + + +class ParachorFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class TestParachorFit: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension")``. + + ParachorFunction: typing.Type[ParachorFunction] + TestParachorFit: typing.Type[TestParachorFit] diff --git a/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi new file mode 100644 index 00000000..cb694af1 --- /dev/null +++ b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.chungmethod +import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity")``. + + chungmethod: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.chungmethod.__module_protocol__ + linearliquidmodel: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel.__module_protocol__ diff --git a/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi new file mode 100644 index 00000000..353c3046 --- /dev/null +++ b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import typing + + + +class ChungFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class TestChungFit: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.chungmethod")``. + + ChungFunction: typing.Type[ChungFunction] + TestChungFit: typing.Type[TestChungFit] diff --git a/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi new file mode 100644 index 00000000..abde4dda --- /dev/null +++ b/src/jneqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import typing + + + +class TestViscosityFit: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel")``. + + TestViscosityFit: typing.Type[TestViscosityFit] + ViscosityFunction: typing.Type[ViscosityFunction] diff --git a/src/jneqsim/process/__init__.pyi b/src/jneqsim/process/__init__.pyi new file mode 100644 index 00000000..f60f829a --- /dev/null +++ b/src/jneqsim/process/__init__.pyi @@ -0,0 +1,129 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.advisory +import jneqsim.process.alarm +import jneqsim.process.automation +import jneqsim.process.calibration +import jneqsim.process.chemistry +import jneqsim.process.conditionmonitor +import jneqsim.process.controllerdevice +import jneqsim.process.corrosion +import jneqsim.process.costestimation +import jneqsim.process.design +import jneqsim.process.diagnostics +import jneqsim.process.dynamics +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import jneqsim.process.examples +import jneqsim.process.fielddevelopment +import jneqsim.process.hydrogen +import jneqsim.process.instrumentdesign +import jneqsim.process.integration +import jneqsim.process.logic +import jneqsim.process.materials +import jneqsim.process.measurementdevice +import jneqsim.process.mechanicaldesign +import jneqsim.process.ml +import jneqsim.process.mpc +import jneqsim.process.operations +import jneqsim.process.optimization +import jneqsim.process.processmodel +import jneqsim.process.research +import jneqsim.process.safety +import jneqsim.process.streaming +import jneqsim.process.sustainability +import jneqsim.process.synthesis +import jneqsim.process.util +import jneqsim.util +import typing + + + +class ProcessElementInterface(jneqsim.util.NamedInterface, java.io.Serializable): ... + +class SimulationInterface(jneqsim.util.NamedInterface, java.lang.Runnable, java.io.Serializable): + def getCalculateSteadyState(self) -> bool: ... + def getCalculationIdentifier(self) -> java.util.UUID: ... + def getReport_json(self) -> java.lang.String: ... + def getTime(self) -> float: ... + def increaseTime(self, double: float) -> None: ... + def isRunInSteps(self) -> bool: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + @typing.overload + def run_step(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def run_step(self) -> None: ... + def setCalculateSteadyState(self, boolean: bool) -> None: ... + def setCalculationIdentifier(self, uUID: java.util.UUID) -> None: ... + def setRunInSteps(self, boolean: bool) -> None: ... + def setTime(self, double: float) -> None: ... + def solved(self) -> bool: ... + +class SimulationBaseClass(jneqsim.util.NamedBaseClass, SimulationInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getCalculateSteadyState(self) -> bool: ... + def getCalculationIdentifier(self) -> java.util.UUID: ... + def getTime(self) -> float: ... + def increaseTime(self, double: float) -> None: ... + def isRunInSteps(self) -> bool: ... + def setCalculateSteadyState(self, boolean: bool) -> None: ... + def setCalculationIdentifier(self, uUID: java.util.UUID) -> None: ... + def setRunInSteps(self, boolean: bool) -> None: ... + def setTime(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process")``. + + ProcessElementInterface: typing.Type[ProcessElementInterface] + SimulationBaseClass: typing.Type[SimulationBaseClass] + SimulationInterface: typing.Type[SimulationInterface] + advisory: jneqsim.process.advisory.__module_protocol__ + alarm: jneqsim.process.alarm.__module_protocol__ + automation: jneqsim.process.automation.__module_protocol__ + calibration: jneqsim.process.calibration.__module_protocol__ + chemistry: jneqsim.process.chemistry.__module_protocol__ + conditionmonitor: jneqsim.process.conditionmonitor.__module_protocol__ + controllerdevice: jneqsim.process.controllerdevice.__module_protocol__ + corrosion: jneqsim.process.corrosion.__module_protocol__ + costestimation: jneqsim.process.costestimation.__module_protocol__ + design: jneqsim.process.design.__module_protocol__ + diagnostics: jneqsim.process.diagnostics.__module_protocol__ + dynamics: jneqsim.process.dynamics.__module_protocol__ + electricaldesign: jneqsim.process.electricaldesign.__module_protocol__ + equipment: jneqsim.process.equipment.__module_protocol__ + examples: jneqsim.process.examples.__module_protocol__ + fielddevelopment: jneqsim.process.fielddevelopment.__module_protocol__ + hydrogen: jneqsim.process.hydrogen.__module_protocol__ + instrumentdesign: jneqsim.process.instrumentdesign.__module_protocol__ + integration: jneqsim.process.integration.__module_protocol__ + logic: jneqsim.process.logic.__module_protocol__ + materials: jneqsim.process.materials.__module_protocol__ + measurementdevice: jneqsim.process.measurementdevice.__module_protocol__ + mechanicaldesign: jneqsim.process.mechanicaldesign.__module_protocol__ + ml: jneqsim.process.ml.__module_protocol__ + mpc: jneqsim.process.mpc.__module_protocol__ + operations: jneqsim.process.operations.__module_protocol__ + optimization: jneqsim.process.optimization.__module_protocol__ + processmodel: jneqsim.process.processmodel.__module_protocol__ + research: jneqsim.process.research.__module_protocol__ + safety: jneqsim.process.safety.__module_protocol__ + streaming: jneqsim.process.streaming.__module_protocol__ + sustainability: jneqsim.process.sustainability.__module_protocol__ + synthesis: jneqsim.process.synthesis.__module_protocol__ + util: jneqsim.process.util.__module_protocol__ diff --git a/src/jneqsim/process/advisory/__init__.pyi b/src/jneqsim/process/advisory/__init__.pyi new file mode 100644 index 00000000..219675b2 --- /dev/null +++ b/src/jneqsim/process/advisory/__init__.pyi @@ -0,0 +1,99 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import typing + + + +class PredictionResult(java.io.Serializable): + @typing.overload + def __init__(self, duration: java.time.Duration): ... + @typing.overload + def __init__(self, duration: java.time.Duration, string: typing.Union[java.lang.String, str]): ... + def addAssumption(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addPredictedValue(self, string: typing.Union[java.lang.String, str], predictedValue: 'PredictionResult.PredictedValue') -> None: ... + def addViolation(self, constraintViolation: 'PredictionResult.ConstraintViolation') -> None: ... + def getAdvisoryRecommendation(self) -> java.lang.String: ... + def getAllPredictedValues(self) -> java.util.Map[java.lang.String, 'PredictionResult.PredictedValue']: ... + def getAssumptions(self) -> java.util.List[java.lang.String]: ... + def getExplanation(self) -> java.lang.String: ... + def getHorizon(self) -> java.time.Duration: ... + def getOverallConfidence(self) -> float: ... + def getPredictionTime(self) -> java.time.Instant: ... + def getScenarioName(self) -> java.lang.String: ... + def getStatus(self) -> 'PredictionResult.PredictionStatus': ... + def getValue(self, string: typing.Union[java.lang.String, str]) -> 'PredictionResult.PredictedValue': ... + def getViolationSummary(self) -> java.lang.String: ... + def getViolations(self) -> java.util.List['PredictionResult.ConstraintViolation']: ... + def hasViolations(self) -> bool: ... + def setExplanation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOverallConfidence(self, double: float) -> None: ... + def setStatus(self, predictionStatus: 'PredictionResult.PredictionStatus') -> None: ... + class ConstraintViolation(java.io.Serializable): + def __init__(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], duration: java.time.Duration, severity: 'PredictionResult.ConstraintViolation.Severity'): ... + def getConstraintName(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getLimitValue(self) -> float: ... + def getPredictedValue(self) -> float: ... + def getSeverity(self) -> 'PredictionResult.ConstraintViolation.Severity': ... + def getSuggestedAction(self) -> java.lang.String: ... + def getTimeToViolation(self) -> java.time.Duration: ... + def getUnit(self) -> java.lang.String: ... + def getVariableName(self) -> java.lang.String: ... + def setSuggestedAction(self, string: typing.Union[java.lang.String, str]) -> None: ... + class Severity(java.lang.Enum['PredictionResult.ConstraintViolation.Severity']): + LOW: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... + MEDIUM: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... + HIGH: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... + CRITICAL: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... + _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]) -> 'PredictionResult.ConstraintViolation.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['PredictionResult.ConstraintViolation.Severity']: ... + class PredictedValue(java.io.Serializable): + @typing.overload + def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float): ... + @typing.overload + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def deterministic(double: float, string: typing.Union[java.lang.String, str]) -> 'PredictionResult.PredictedValue': ... + def getConfidence(self) -> float: ... + def getLower95(self) -> float: ... + def getMean(self) -> float: ... + def getStandardDeviation(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getUpper95(self) -> float: ... + def toString(self) -> java.lang.String: ... + class PredictionStatus(java.lang.Enum['PredictionResult.PredictionStatus']): + SUCCESS: typing.ClassVar['PredictionResult.PredictionStatus'] = ... + WARNING: typing.ClassVar['PredictionResult.PredictionStatus'] = ... + FAILED: typing.ClassVar['PredictionResult.PredictionStatus'] = ... + DATA_QUALITY_ISSUE: typing.ClassVar['PredictionResult.PredictionStatus'] = ... + _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]) -> 'PredictionResult.PredictionStatus': ... + @staticmethod + def values() -> typing.MutableSequence['PredictionResult.PredictionStatus']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.advisory")``. + + PredictionResult: typing.Type[PredictionResult] diff --git a/src/jneqsim/process/alarm/__init__.pyi b/src/jneqsim/process/alarm/__init__.pyi new file mode 100644 index 00000000..10418788 --- /dev/null +++ b/src/jneqsim/process/alarm/__init__.pyi @@ -0,0 +1,195 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.logic +import jneqsim.process.measurementdevice +import jneqsim.process.processmodel +import typing + + + +class AlarmActionHandler(java.io.Serializable): + @staticmethod + def activateLogic(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', alarmEventType: 'AlarmEventType', processLogic: jneqsim.process.logic.ProcessLogic) -> 'AlarmActionHandler': ... + @staticmethod + def activateLogicOnHIHI(string: typing.Union[java.lang.String, str], processLogic: jneqsim.process.logic.ProcessLogic) -> 'AlarmActionHandler': ... + @staticmethod + def activateLogicOnLOLO(string: typing.Union[java.lang.String, str], processLogic: jneqsim.process.logic.ProcessLogic) -> 'AlarmActionHandler': ... + @staticmethod + def composite(list: java.util.List[typing.Union['AlarmActionHandler', typing.Callable]]) -> 'AlarmActionHandler': ... + def getActionDescription(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def handle(self, alarmEvent: 'AlarmEvent') -> bool: ... + +class AlarmConfig(java.io.Serializable): + @staticmethod + def builder() -> 'AlarmConfig.Builder': ... + def getDeadband(self) -> float: ... + def getDelay(self) -> float: ... + def getHighHighLimit(self) -> float: ... + def getHighLimit(self) -> float: ... + def getLimit(self, alarmLevel: 'AlarmLevel') -> float: ... + def getLowLimit(self) -> float: ... + def getLowLowLimit(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def hasLimit(self, alarmLevel: 'AlarmLevel') -> bool: ... + class Builder: + def build(self) -> 'AlarmConfig': ... + def deadband(self, double: float) -> 'AlarmConfig.Builder': ... + def delay(self, double: float) -> 'AlarmConfig.Builder': ... + def highHighLimit(self, double: float) -> 'AlarmConfig.Builder': ... + def highLimit(self, double: float) -> 'AlarmConfig.Builder': ... + def lowLimit(self, double: float) -> 'AlarmConfig.Builder': ... + def lowLowLimit(self, double: float) -> 'AlarmConfig.Builder': ... + def unit(self, string: typing.Union[java.lang.String, str]) -> 'AlarmConfig.Builder': ... + +class AlarmEvaluator: + @staticmethod + def evaluateAll(processAlarmManager: 'ProcessAlarmManager', processSystem: jneqsim.process.processmodel.ProcessSystem, double: float, double2: float) -> java.util.List['AlarmEvent']: ... + @staticmethod + def evaluateAndDisplay(processAlarmManager: 'ProcessAlarmManager', list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface], double: float, double2: float) -> java.util.List['AlarmEvent']: ... + @staticmethod + def evaluateDevices(processAlarmManager: 'ProcessAlarmManager', list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface], double: float, double2: float) -> java.util.List['AlarmEvent']: ... + +class AlarmEvent(java.io.Serializable): + @staticmethod + def acknowledged(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', double: float, double2: float) -> 'AlarmEvent': ... + @staticmethod + def activated(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', double: float, double2: float) -> 'AlarmEvent': ... + @staticmethod + def cleared(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', double: float, double2: float) -> 'AlarmEvent': ... + def getLevel(self) -> 'AlarmLevel': ... + def getSource(self) -> java.lang.String: ... + def getTimestamp(self) -> float: ... + def getType(self) -> 'AlarmEventType': ... + def getValue(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class AlarmEventType(java.lang.Enum['AlarmEventType']): + ACTIVATED: typing.ClassVar['AlarmEventType'] = ... + CLEARED: typing.ClassVar['AlarmEventType'] = ... + ACKNOWLEDGED: typing.ClassVar['AlarmEventType'] = ... + _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]) -> 'AlarmEventType': ... + @staticmethod + def values() -> typing.MutableSequence['AlarmEventType']: ... + +class AlarmLevel(java.lang.Enum['AlarmLevel']): + LOLO: typing.ClassVar['AlarmLevel'] = ... + LO: typing.ClassVar['AlarmLevel'] = ... + HI: typing.ClassVar['AlarmLevel'] = ... + HIHI: typing.ClassVar['AlarmLevel'] = ... + def getDirection(self) -> 'AlarmLevel.Direction': ... + def getPriority(self) -> int: ... + _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]) -> 'AlarmLevel': ... + @staticmethod + def values() -> typing.MutableSequence['AlarmLevel']: ... + class Direction(java.lang.Enum['AlarmLevel.Direction']): + LOW: typing.ClassVar['AlarmLevel.Direction'] = ... + HIGH: typing.ClassVar['AlarmLevel.Direction'] = ... + _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]) -> 'AlarmLevel.Direction': ... + @staticmethod + def values() -> typing.MutableSequence['AlarmLevel.Direction']: ... + +class AlarmReporter: + @staticmethod + def displayAlarmEvents(list: java.util.List[AlarmEvent]) -> None: ... + @typing.overload + @staticmethod + def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager') -> None: ... + @typing.overload + @staticmethod + def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager', int: int) -> None: ... + @staticmethod + def displayAlarmStatistics(processAlarmManager: 'ProcessAlarmManager') -> None: ... + @staticmethod + def displayAlarmStatus(processAlarmManager: 'ProcessAlarmManager', string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def formatAlarmEvent(alarmEvent: AlarmEvent) -> java.lang.String: ... + @staticmethod + def formatAlarmEventCompact(alarmEvent: AlarmEvent) -> java.lang.String: ... + @staticmethod + def printScenarioHeader(string: typing.Union[java.lang.String, str]) -> None: ... + +class AlarmState(java.io.Serializable): + def __init__(self): ... + def acknowledge(self, string: typing.Union[java.lang.String, str], double: float) -> AlarmEvent: ... + def evaluate(self, alarmConfig: AlarmConfig, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> java.util.List[AlarmEvent]: ... + def getActiveLevel(self) -> AlarmLevel: ... + def getLastUpdateTime(self) -> float: ... + def getLastValue(self) -> float: ... + def getShelveExpiry(self) -> float: ... + def getShelveReason(self) -> java.lang.String: ... + def isAcknowledged(self) -> bool: ... + def isActive(self) -> bool: ... + def isShelved(self) -> bool: ... + def reset(self) -> None: ... + @typing.overload + def shelve(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def shelve(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def snapshot(self, string: typing.Union[java.lang.String, str]) -> 'AlarmStatusSnapshot': ... + def unshelve(self) -> None: ... + +class AlarmStatusSnapshot(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], alarmLevel: AlarmLevel, boolean: bool, double: float, double2: float): ... + def getLevel(self) -> AlarmLevel: ... + def getSource(self) -> java.lang.String: ... + def getTimestamp(self) -> float: ... + def getValue(self) -> float: ... + def isAcknowledged(self) -> bool: ... + +class ProcessAlarmManager(java.io.Serializable): + def __init__(self): ... + def acknowledgeAll(self, double: float) -> java.util.List[AlarmEvent]: ... + def applyFrom(self, processAlarmManager: 'ProcessAlarmManager', list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]) -> None: ... + def clearHistory(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def evaluateMeasurement(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, double: float, double2: float, double3: float) -> java.util.List[AlarmEvent]: ... + def getActionHandlers(self) -> java.util.List[AlarmActionHandler]: ... + def getActiveAlarms(self) -> java.util.List[AlarmStatusSnapshot]: ... + def getHistory(self) -> java.util.List[AlarmEvent]: ... + def hashCode(self) -> int: ... + def register(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def registerActionHandler(self, alarmActionHandler: typing.Union[AlarmActionHandler, typing.Callable]) -> None: ... + def registerAll(self, list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]) -> None: ... + def removeActionHandler(self, alarmActionHandler: typing.Union[AlarmActionHandler, typing.Callable]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.alarm")``. + + AlarmActionHandler: typing.Type[AlarmActionHandler] + AlarmConfig: typing.Type[AlarmConfig] + AlarmEvaluator: typing.Type[AlarmEvaluator] + AlarmEvent: typing.Type[AlarmEvent] + AlarmEventType: typing.Type[AlarmEventType] + AlarmLevel: typing.Type[AlarmLevel] + AlarmReporter: typing.Type[AlarmReporter] + AlarmState: typing.Type[AlarmState] + AlarmStatusSnapshot: typing.Type[AlarmStatusSnapshot] + ProcessAlarmManager: typing.Type[ProcessAlarmManager] diff --git a/src/jneqsim/process/automation/__init__.pyi b/src/jneqsim/process/automation/__init__.pyi new file mode 100644 index 00000000..70ee65a0 --- /dev/null +++ b/src/jneqsim/process/automation/__init__.pyi @@ -0,0 +1,412 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import java.util.function +import jneqsim.process.equipment +import jneqsim.process.processmodel +import typing + + + +class AdjustableParameter(java.io.Serializable): + def __init__(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, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], source: 'AdjustableParameter.Source'): ... + def getAddress(self) -> java.lang.String: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSource(self) -> 'AdjustableParameter.Source': ... + def getTargetProperty(self) -> java.lang.String: ... + def getTargetUnitName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def toJson(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + class Source(java.lang.Enum['AdjustableParameter.Source']): + INPUT_VARIABLE: typing.ClassVar['AdjustableParameter.Source'] = ... + ADJUSTER: typing.ClassVar['AdjustableParameter.Source'] = ... + _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]) -> 'AdjustableParameter.Source': ... + @staticmethod + def values() -> typing.MutableSequence['AdjustableParameter.Source']: ... + +class AgenticProcessOptimizer(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + def __init__(self, processAutomation: 'ProcessAutomation'): ... + def addConstraint(self, string: typing.Union[java.lang.String, str], constraintType: 'AgenticProcessOptimizer.ConstraintType', double: float, string2: typing.Union[java.lang.String, str], double2: float) -> 'AgenticProcessOptimizer': ... + def addConstraintGreaterOrEqual(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float) -> 'AgenticProcessOptimizer': ... + def addConstraintLessOrEqual(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float) -> 'AgenticProcessOptimizer': ... + def addVariable(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... + def addWatch(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... + def getConstraints(self) -> java.util.List['AgenticProcessOptimizer.Constraint']: ... + def getReadbackAddresses(self) -> java.util.Set[java.lang.String]: ... + def getReadinessJson(self) -> java.lang.String: ... + def getVariableAddresses(self) -> java.util.List[java.lang.String]: ... + def getVariables(self) -> java.util.List['AgenticProcessOptimizer.DecisionVariable']: ... + def maximize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... + def minimize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... + def optimize(self) -> 'AgenticProcessOptimizer.OptimizationResult': ... + def optimizeToJson(self) -> java.lang.String: ... + def setConvergenceTolerance(self, double: float) -> 'AgenticProcessOptimizer': ... + def setInnerConvergence(self, int: int, double: float) -> 'AgenticProcessOptimizer': ... + def setMaxEvaluations(self, int: int) -> 'AgenticProcessOptimizer': ... + def setObjective(self, string: typing.Union[java.lang.String, str], sense: 'AgenticProcessOptimizer.Sense', string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... + def setObjectiveFunction(self, function: typing.Union[java.util.function.Function[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], float], typing.Callable[[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], float]]) -> 'AgenticProcessOptimizer': ... + def setSeed(self, long: int) -> 'AgenticProcessOptimizer': ... + def useAdjustableParameters(self) -> int: ... + class Constraint(java.io.Serializable): + def getAddress(self) -> java.lang.String: ... + def getLimit(self) -> float: ... + def getPenaltyWeight(self) -> float: ... + def getType(self) -> 'AgenticProcessOptimizer.ConstraintType': ... + def getUnit(self) -> java.lang.String: ... + class ConstraintType(java.lang.Enum['AgenticProcessOptimizer.ConstraintType']): + LESS_OR_EQUAL: typing.ClassVar['AgenticProcessOptimizer.ConstraintType'] = ... + GREATER_OR_EQUAL: typing.ClassVar['AgenticProcessOptimizer.ConstraintType'] = ... + _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]) -> 'AgenticProcessOptimizer.ConstraintType': ... + @staticmethod + def values() -> typing.MutableSequence['AgenticProcessOptimizer.ConstraintType']: ... + class DecisionVariable(java.io.Serializable): + def getAddress(self) -> java.lang.String: ... + def getLowerBound(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + class OptimizationResult(java.io.Serializable): + def __init__(self): ... + def getBestObjective(self) -> float: ... + def getBestReadbacks(self) -> java.util.Map[java.lang.String, float]: ... + def getBestScore(self) -> float: ... + def getBestSetpoints(self) -> java.util.Map[java.lang.String, float]: ... + def getEvaluations(self) -> int: ... + def getMessage(self) -> java.lang.String: ... + def getTrajectory(self) -> java.util.List['AgenticProcessOptimizer.Trial']: ... + def isFeasible(self) -> bool: ... + def isSuccess(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class Sense(java.lang.Enum['AgenticProcessOptimizer.Sense']): + MINIMIZE: typing.ClassVar['AgenticProcessOptimizer.Sense'] = ... + MAXIMIZE: typing.ClassVar['AgenticProcessOptimizer.Sense'] = ... + _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]) -> 'AgenticProcessOptimizer.Sense': ... + @staticmethod + def values() -> typing.MutableSequence['AgenticProcessOptimizer.Sense']: ... + class Trial(java.io.Serializable): + def __init__(self): ... + def getIndex(self) -> int: ... + def getObjective(self) -> float: ... + def getReadbacks(self) -> java.util.Map[java.lang.String, float]: ... + def getScore(self) -> float: ... + def getSetpoints(self) -> java.util.Map[java.lang.String, float]: ... + def isFeasible(self) -> bool: ... + +class AutomationDiagnostics(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + def autoCorrectName(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... + def diagnosePortNotFound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> 'AutomationDiagnostics.DiagnosticResult': ... + def diagnosePropertyNotFound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], list: java.util.List['SimulationVariable']) -> 'AutomationDiagnostics.DiagnosticResult': ... + def diagnoseUnitNotFound(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> 'AutomationDiagnostics.DiagnosticResult': ... + def findClosestNames(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], int: int) -> java.util.List[java.lang.String]: ... + def getErrorCategoryCounts(self) -> java.util.Map[java.lang.String, int]: ... + def getLearnedCorrections(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getLearningReport(self) -> java.lang.String: ... + def getOperationCount(self) -> int: ... + def getSuccessRate(self) -> float: ... + def recordFailure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], errorCategory: 'AutomationDiagnostics.ErrorCategory', string3: typing.Union[java.lang.String, str]) -> None: ... + def recordSuccess(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def reset(self) -> None: ... + def validatePhysicalBounds(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'AutomationDiagnostics.DiagnosticResult': ... + class DiagnosticResult(java.io.Serializable): + def __init__(self, errorCategory: 'AutomationDiagnostics.ErrorCategory', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]): ... + def getAutoCorrection(self) -> java.lang.String: ... + def getCategory(self) -> 'AutomationDiagnostics.ErrorCategory': ... + def getContext(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getErrorMessage(self) -> java.lang.String: ... + def getOriginalInput(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getSuggestions(self) -> java.util.List[java.lang.String]: ... + def hasAutoCorrection(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class ErrorCategory(java.lang.Enum['AutomationDiagnostics.ErrorCategory']): + UNIT_NOT_FOUND: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + PROPERTY_NOT_FOUND: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + PORT_NOT_FOUND: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + READ_ONLY_VARIABLE: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + VALUE_OUT_OF_BOUNDS: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + UNKNOWN_UNIT: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + INVALID_ADDRESS_FORMAT: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + CONVERGENCE_FAILURE: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... + _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]) -> 'AutomationDiagnostics.ErrorCategory': ... + @staticmethod + def values() -> typing.MutableSequence['AutomationDiagnostics.ErrorCategory']: ... + +class SensitivityAnalyzer: + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + def __init__(self, processAutomation: 'ProcessAutomation'): ... + def getAbsoluteStep(self) -> float: ... + def getInputAddresses(self) -> java.util.List[java.lang.String]: ... + def getMode(self) -> 'SensitivityAnalyzer.Mode': ... + def getRelativeStep(self) -> float: ... + def gradient(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def gradientAsJson(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def jacobian(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def jacobianAsJson(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def partial(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]) -> float: ... + def setAbsoluteStep(self, double: float) -> 'SensitivityAnalyzer': ... + def setMode(self, mode: 'SensitivityAnalyzer.Mode') -> 'SensitivityAnalyzer': ... + def setRelativeStep(self, double: float) -> 'SensitivityAnalyzer': ... + class Mode(java.lang.Enum['SensitivityAnalyzer.Mode']): + CENTRAL: typing.ClassVar['SensitivityAnalyzer.Mode'] = ... + FORWARD: typing.ClassVar['SensitivityAnalyzer.Mode'] = ... + _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]) -> 'SensitivityAnalyzer.Mode': ... + @staticmethod + def values() -> typing.MutableSequence['SensitivityAnalyzer.Mode']: ... + +class SimulationVariable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], variableType: 'SimulationVariable.VariableType', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getAddress(self) -> java.lang.String: ... + def getAllowedValues(self) -> java.util.List[java.lang.String]: ... + def getApplicability(self) -> java.lang.String: ... + def getCategory(self) -> java.lang.String: ... + def getDefaultUnit(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getMaximumValue(self) -> float: ... + def getMinimumValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSource(self) -> java.lang.String: ... + def getType(self) -> 'SimulationVariable.VariableType': ... + def getUnitFamily(self) -> java.lang.String: ... + def isInvalidatesProcess(self) -> bool: ... + def isWritable(self) -> bool: ... + def toString(self) -> java.lang.String: ... + def withAllowedValues(self, *string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... + def withApplicability(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... + def withBounds(self, double: float, double2: float) -> 'SimulationVariable': ... + def withCategory(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... + def withSource(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... + def withUnitFamily(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... + def withWritableSafety(self, boolean: bool, boolean2: bool) -> 'SimulationVariable': ... + class VariableType(java.lang.Enum['SimulationVariable.VariableType']): + OUTPUT: typing.ClassVar['SimulationVariable.VariableType'] = ... + INPUT: typing.ClassVar['SimulationVariable.VariableType'] = ... + _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]) -> 'SimulationVariable.VariableType': ... + @staticmethod + def values() -> typing.MutableSequence['SimulationVariable.VariableType']: ... + +class TransactionalBatchResult(java.io.Serializable): + def __init__(self, boolean: bool, rollbackCategory: 'TransactionalBatchResult.RollbackCategory', string: typing.Union[java.lang.String, str], list: java.util.List['TransactionalBatchResult.WriteOutcome']): ... + @staticmethod + def committed(list: java.util.List['TransactionalBatchResult.WriteOutcome']) -> 'TransactionalBatchResult': ... + def getRollbackCategory(self) -> 'TransactionalBatchResult.RollbackCategory': ... + def getRollbackReason(self) -> java.lang.String: ... + def getWrites(self) -> java.util.List['TransactionalBatchResult.WriteOutcome']: ... + def isCommitted(self) -> bool: ... + def isRolledBack(self) -> bool: ... + @staticmethod + def newRequestMap() -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def rolledBack(rollbackCategory: 'TransactionalBatchResult.RollbackCategory', string: typing.Union[java.lang.String, str], list: java.util.List['TransactionalBatchResult.WriteOutcome']) -> 'TransactionalBatchResult': ... + def toJson(self) -> com.google.gson.JsonObject: ... + class RollbackCategory(java.lang.Enum['TransactionalBatchResult.RollbackCategory']): + VALIDATION_FAILED: typing.ClassVar['TransactionalBatchResult.RollbackCategory'] = ... + APPLY_FAILED: typing.ClassVar['TransactionalBatchResult.RollbackCategory'] = ... + RUN_FAILED: typing.ClassVar['TransactionalBatchResult.RollbackCategory'] = ... + _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]) -> 'TransactionalBatchResult.RollbackCategory': ... + @staticmethod + def values() -> typing.MutableSequence['TransactionalBatchResult.RollbackCategory']: ... + class WriteOutcome(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, writeValidationResult: 'WriteValidationResult', boolean: bool, string3: typing.Union[java.lang.String, str]): ... + def getAddress(self) -> java.lang.String: ... + def getError(self) -> java.lang.String: ... + def getPreviousValue(self) -> float: ... + def getRequestedValue(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getValidation(self) -> 'WriteValidationResult': ... + def isApplied(self) -> bool: ... + def toJson(self) -> com.google.gson.JsonObject: ... + +class WriteValidationResult(java.io.Serializable): + def __init__(self, severity: 'WriteValidationResult.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @staticmethod + def fail(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'WriteValidationResult': ... + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'WriteValidationResult.Severity': ... + def isAllowed(self) -> bool: ... + @staticmethod + def ok() -> 'WriteValidationResult': ... + def toJson(self) -> com.google.gson.JsonObject: ... + @staticmethod + def warn(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'WriteValidationResult': ... + class Severity(java.lang.Enum['WriteValidationResult.Severity']): + OK: typing.ClassVar['WriteValidationResult.Severity'] = ... + WARNING: typing.ClassVar['WriteValidationResult.Severity'] = ... + ERROR: typing.ClassVar['WriteValidationResult.Severity'] = ... + _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]) -> 'WriteValidationResult.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['WriteValidationResult.Severity']: ... + +class WriteValidator: + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + +class WriteValidatorRegistry(java.io.Serializable): + def __init__(self): ... + @staticmethod + def createDefault() -> 'WriteValidatorRegistry': ... + def getRegisteredClasses(self) -> java.util.Map[typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface], int]: ... + def getValidatorsFor(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[WriteValidator]: ... + def register(self, writeValidator: WriteValidator) -> None: ... + def unregister(self, class_: typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]) -> None: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + +class DefaultWriteValidators: + class CompressorWriteValidator(WriteValidator): + def __init__(self): ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + class CoolerWriteValidator(WriteValidator): + def __init__(self): ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + class HeaterWriteValidator(WriteValidator): + def __init__(self): ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + class PumpWriteValidator(WriteValidator): + def __init__(self): ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + class SeparatorWriteValidator(WriteValidator): + def __init__(self): ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + class ThrottlingValveWriteValidator(WriteValidator): + def __init__(self): ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + +class ProcessAutomation: + AREA_SEPARATOR: typing.ClassVar[java.lang.String] = ... + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def describe(self) -> java.lang.String: ... + @typing.overload + def evaluate(self, map: 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], list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... + @typing.overload + def evaluate(self, map: 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], list: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], int: int, double: float) -> java.lang.String: ... + def getAdjustableParameters(self) -> java.util.List[AdjustableParameter]: ... + def getAdjustableParametersJson(self) -> java.lang.String: ... + def getAllowedUnits(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getAreaList(self) -> java.util.List[java.lang.String]: ... + def getDiagnostics(self) -> AutomationDiagnostics: ... + def getEquipmentType(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getNeighbors(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getRunStatusJson(self) -> java.lang.String: ... + def getSchemaVersion(self) -> java.lang.String: ... + def getStructured(self, string: typing.Union[java.lang.String, str]) -> com.google.gson.JsonElement: ... + def getTopology(self) -> java.lang.String: ... + @typing.overload + def getUnitList(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getUnitList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getUtilizationSnapshot(self) -> java.lang.String: ... + def getValues(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + @typing.overload + def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[SimulationVariable]: ... + @typing.overload + def getVariableList(self, string: typing.Union[java.lang.String, str], variableType: SimulationVariable.VariableType) -> java.util.List[SimulationVariable]: ... + def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getVariableValueSafe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getWriteValidatorRegistry(self) -> WriteValidatorRegistry: ... + def isDirty(self) -> bool: ... + def isMultiArea(self) -> bool: ... + def markDirty(self) -> None: ... + def newOptimizer(self) -> AgenticProcessOptimizer: ... + def run(self) -> None: ... + def runIfDirty(self) -> bool: ... + def runJson(self) -> java.lang.String: ... + def runUntilConvergedJson(self, int: int, double: float) -> java.lang.String: ... + def setValues(self, map: 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], boolean: bool) -> int: ... + def setValuesTransactional(self, map: 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]) -> TransactionalBatchResult: ... + def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setVariableValueAndRun(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setVariableValueSafe(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def setVariableValueValidated(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... + def setWriteValidatorRegistry(self, writeValidatorRegistry: WriteValidatorRegistry) -> None: ... + def snapshot(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def validateAddress(self, string: typing.Union[java.lang.String, str]) -> AutomationDiagnostics.DiagnosticResult: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.automation")``. + + AdjustableParameter: typing.Type[AdjustableParameter] + AgenticProcessOptimizer: typing.Type[AgenticProcessOptimizer] + AutomationDiagnostics: typing.Type[AutomationDiagnostics] + DefaultWriteValidators: typing.Type[DefaultWriteValidators] + ProcessAutomation: typing.Type[ProcessAutomation] + SensitivityAnalyzer: typing.Type[SensitivityAnalyzer] + SimulationVariable: typing.Type[SimulationVariable] + TransactionalBatchResult: typing.Type[TransactionalBatchResult] + WriteValidationResult: typing.Type[WriteValidationResult] + WriteValidator: typing.Type[WriteValidator] + WriteValidatorRegistry: typing.Type[WriteValidatorRegistry] diff --git a/src/jneqsim/process/calibration/__init__.pyi b/src/jneqsim/process/calibration/__init__.pyi new file mode 100644 index 00000000..d3d77104 --- /dev/null +++ b/src/jneqsim/process/calibration/__init__.pyi @@ -0,0 +1,297 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import java.util.function +import jpype +import jneqsim.process.processmodel +import jneqsim.process.util.uncertainty +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import typing + + + +class BatchParameterEstimator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def addDataPoint(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'BatchParameterEstimator': ... + @typing.overload + def addDataPoint(self, 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]]) -> 'BatchParameterEstimator': ... + def addMeasuredVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'BatchParameterEstimator': ... + def addTunableParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'BatchParameterEstimator': ... + def clearDataPoints(self) -> 'BatchParameterEstimator': ... + def displayCurveFit(self) -> None: ... + def displayResult(self) -> None: ... + def getDataPointCount(self) -> int: ... + def getLastResult(self) -> 'BatchResult': ... + def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def reset(self) -> 'BatchParameterEstimator': ... + def runMonteCarloSimulation(self, int: int) -> None: ... + def setMaxIterations(self, int: int) -> 'BatchParameterEstimator': ... + def setUseAnalyticalJacobian(self, boolean: bool) -> 'BatchParameterEstimator': ... + def solve(self) -> 'BatchResult': ... + def toCalibrationResult(self) -> 'CalibrationResult': ... + class DataPoint(java.io.Serializable): + def __init__(self, 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 getConditions(self) -> java.util.Map[java.lang.String, float]: ... + def getMeasurements(self) -> java.util.Map[java.lang.String, float]: ... + class MeasuredVariable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def getPath(self) -> java.lang.String: ... + def getStandardDeviation(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + class TunableParameter(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getInitialGuess(self) -> float: ... + def getLowerBound(self) -> float: ... + def getPath(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + +class BatchResult(java.io.Serializable): + @typing.overload + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, int: int, int2: int, boolean: bool): ... + @typing.overload + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, int: int, int2: int, boolean: bool, doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double6: float, double7: float, double8: float): ... + def getBias(self) -> float: ... + def getChiSquare(self) -> float: ... + def getConfidenceIntervalLower(self) -> typing.MutableSequence[float]: ... + def getConfidenceIntervalUpper(self) -> typing.MutableSequence[float]: ... + def getCorrelationMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCovarianceMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDataPointCount(self) -> int: ... + def getDegreesOfFreedom(self) -> int: ... + @typing.overload + def getEstimate(self, int: int) -> float: ... + @typing.overload + def getEstimate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEstimates(self) -> typing.MutableSequence[float]: ... + def getIterations(self) -> int: ... + def getMeanAbsoluteDeviation(self) -> float: ... + def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getRMSE(self) -> float: ... + def getRSquared(self) -> float: ... + def getReducedChiSquare(self) -> float: ... + def getUncertainties(self) -> typing.MutableSequence[float]: ... + def getUncertainty(self, int: int) -> float: ... + def isConverged(self) -> bool: ... + def printSummary(self) -> None: ... + def toCalibrationResult(self) -> 'CalibrationResult': ... + def toMap(self) -> java.util.Map[java.lang.String, float]: ... + def toString(self) -> java.lang.String: ... + +class CalibrationFrameworkExample: + def __init__(self): ... + def buildNetwork(self) -> None: ... + def createEstimator(self) -> 'EnKFParameterEstimator': ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runLiveEstimation(self) -> None: ... + def runValidationTests(self) -> None: ... + +class CalibrationQuality(java.io.Serializable): + def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float, double3: float, double4: float, int: int, double5: float): ... + def getCoverage(self) -> float: ... + def getMae(self) -> float: ... + def getMse(self) -> float: ... + def getOverallScore(self) -> float: ... + def getR2(self) -> float: ... + def getRating(self) -> java.lang.String: ... + def getRmse(self) -> float: ... + def getSampleCount(self) -> int: ... + def getTimestamp(self) -> java.time.Instant: ... + def isAcceptable(self, double: float, double2: float) -> bool: ... + def toString(self) -> java.lang.String: ... + +class CalibrationResult(java.io.Serializable): + @staticmethod + def failure(string: typing.Union[java.lang.String, str]) -> 'CalibrationResult': ... + def getCalibratedParameters(self) -> java.util.Map[java.lang.String, float]: ... + def getErrorMessage(self) -> java.lang.String: ... + def getIterations(self) -> int: ... + def getMessage(self) -> java.lang.String: ... + def getParameters(self) -> java.util.Map[java.lang.String, float]: ... + def getRmse(self) -> float: ... + def getSamplesUsed(self) -> int: ... + def isSuccess(self) -> bool: ... + def isSuccessful(self) -> bool: ... + @staticmethod + def success(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, int: int, int2: int) -> 'CalibrationResult': ... + def toString(self) -> java.lang.String: ... + +class EnKFParameterEstimator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addMeasuredVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EnKFParameterEstimator': ... + @typing.overload + def addTunableParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'EnKFParameterEstimator': ... + @typing.overload + def addTunableParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'EnKFParameterEstimator': ... + def getEstimates(self) -> typing.MutableSequence[float]: ... + def getHistory(self) -> java.util.List['EnKFParameterEstimator.EnKFResult']: ... + def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getUncertainties(self) -> typing.MutableSequence[float]: ... + def getUpdateCount(self) -> int: ... + def initialize(self, int: int, long: int) -> None: ... + def reset(self) -> None: ... + def setMaxChangePerUpdate(self, double: float) -> 'EnKFParameterEstimator': ... + def setProcessNoise(self, double: float) -> 'EnKFParameterEstimator': ... + def toCalibrationResult(self) -> CalibrationResult: ... + def update(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'EnKFParameterEstimator.EnKFResult': ... + class EnKFResult(java.io.Serializable): + def __init__(self, int: int, 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], boolean: bool): ... + def getConfidenceIntervalLower(self) -> typing.MutableSequence[float]: ... + def getConfidenceIntervalUpper(self) -> typing.MutableSequence[float]: ... + def getEstimates(self) -> typing.MutableSequence[float]: ... + def getMeasurements(self) -> typing.MutableSequence[float]: ... + def getPredictions(self) -> typing.MutableSequence[float]: ... + def getRMSE(self) -> float: ... + def getStep(self) -> int: ... + def getUncertainties(self) -> typing.MutableSequence[float]: ... + def isAnomalyDetected(self) -> bool: ... + def toCalibrationResult(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> CalibrationResult: ... + class MeasuredVariableSpec(java.io.Serializable): + path: java.lang.String = ... + unit: java.lang.String = ... + noiseStd: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + class TunableParameterSpec(java.io.Serializable): + path: java.lang.String = ... + unit: java.lang.String = ... + minValue: float = ... + maxValue: float = ... + initialValue: float = ... + initialUncertainty: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + +class EstimationTestHarness(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addMeasurement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EstimationTestHarness': ... + @typing.overload + def addParameter(self, string: typing.Union[java.lang.String, str], double: float) -> 'EstimationTestHarness': ... + @typing.overload + def addParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'EstimationTestHarness': ... + def generateMeasurement(self, double: float) -> java.util.Map[java.lang.String, float]: ... + @typing.overload + def runConvergenceTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int) -> 'EstimationTestHarness.TestReport': ... + @typing.overload + def runConvergenceTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int, double: float, consumer: typing.Union[java.util.function.Consumer[int], typing.Callable[[int], None]]) -> 'EstimationTestHarness.TestReport': ... + def runDriftTrackingTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int, int2: int, double: float) -> 'EstimationTestHarness.TestReport': ... + def runMonteCarloValidation(self, supplier: typing.Union[java.util.function.Supplier[EnKFParameterEstimator], typing.Callable[[], EnKFParameterEstimator]], int: int, int2: int) -> 'EstimationTestHarness.MonteCarloReport': ... + def runNoiseRobustnessTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[float, 'EstimationTestHarness.TestReport']: ... + def setSeed(self, long: int) -> 'EstimationTestHarness': ... + class MeasurementSpec(java.io.Serializable): + path: java.lang.String = ... + unit: java.lang.String = ... + noiseStd: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + class MonteCarloReport(java.io.Serializable): + def __init__(self, int: int, int2: int, list: java.util.List[float], list2: java.util.List[float], int3: int): ... + def getMeanCoverage(self) -> float: ... + def getMeanRMSE(self) -> float: ... + def getPercentile95RMSE(self) -> float: ... + def getStdRMSE(self) -> float: ... + def getSuccessRate(self) -> float: ... + def printSummary(self) -> None: ... + class ParameterWithTruth(java.io.Serializable): + path: java.lang.String = ... + trueValue: float = ... + minBound: float = ... + maxBound: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + class TestReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], list2: java.util.List[typing.Union[typing.List[float], jpype.JArray]]): ... + def getCoverageRate(self) -> float: ... + def getFinalEstimates(self) -> typing.MutableSequence[float]: ... + def getMaxError(self) -> float: ... + def getMeanAbsoluteError(self) -> float: ... + def getRMSE(self) -> float: ... + def getStepsToConverge(self) -> int: ... + def getTestName(self) -> java.lang.String: ... + def getTrueValues(self) -> typing.MutableSequence[float]: ... + def passes(self, double: float, double2: float, int: int) -> bool: ... + def printSummary(self) -> None: ... + +class OnlineCalibrator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def clearHistory(self) -> None: ... + def exportHistory(self) -> java.util.List['OnlineCalibrator.DataPoint']: ... + def fullRecalibration(self) -> CalibrationResult: ... + def getHistorySize(self) -> int: ... + def getLastCalibrationTime(self) -> java.time.Instant: ... + def getQualityMetrics(self) -> CalibrationQuality: ... + def incrementalUpdate(self, 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]]) -> CalibrationResult: ... + @typing.overload + def recordDataPoint(self, 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]]) -> bool: ... + @typing.overload + def recordDataPoint(self, 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]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> bool: ... + def setDeviationThreshold(self, double: float) -> None: ... + def setMaxHistorySize(self, int: int) -> None: ... + def setTunableParameters(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... + class DataPoint(java.io.Serializable): + def __init__(self, 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]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def getConditions(self) -> java.util.Map[java.lang.String, float]: ... + def getError(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasurements(self) -> java.util.Map[java.lang.String, float]: ... + def getPredictions(self) -> java.util.Map[java.lang.String, float]: ... + def getRelativeError(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + +class ProcessSimulationFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addDataPointConditions(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def addMeasurement(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSimulationFunction': ... + def addParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessSimulationFunction': ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def computeAnalyticalJacobian(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def getMeasurementCount(self) -> int: ... + def getMeasurementPaths(self) -> java.util.List[java.lang.String]: ... + def getParameterCount(self) -> int: ... + def getParameterPaths(self) -> java.util.List[java.lang.String]: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSensitivity(self, int: int, int2: int) -> float: ... + def setCurrentIndices(self, int: int, int2: int) -> None: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setUseAnalyticalJacobian(self, boolean: bool) -> None: ... + +class WellRoutingEstimationExample: + def __init__(self): ... + def buildNetwork(self) -> None: ... + def createEstimator(self) -> EnKFParameterEstimator: ... + def createTestHarness(self) -> EstimationTestHarness: ... + def getMeasurementsWithNoise(self) -> java.util.Map[java.lang.String, float]: ... + def getRoutingSchedule(self) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runLiveEstimation(self, enKFParameterEstimator: EnKFParameterEstimator) -> None: ... + def runValidation(self, enKFParameterEstimator: EnKFParameterEstimator, estimationTestHarness: EstimationTestHarness) -> bool: ... + def setRouting(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.calibration")``. + + BatchParameterEstimator: typing.Type[BatchParameterEstimator] + BatchResult: typing.Type[BatchResult] + CalibrationFrameworkExample: typing.Type[CalibrationFrameworkExample] + CalibrationQuality: typing.Type[CalibrationQuality] + CalibrationResult: typing.Type[CalibrationResult] + EnKFParameterEstimator: typing.Type[EnKFParameterEstimator] + EstimationTestHarness: typing.Type[EstimationTestHarness] + OnlineCalibrator: typing.Type[OnlineCalibrator] + ProcessSimulationFunction: typing.Type[ProcessSimulationFunction] + WellRoutingEstimationExample: typing.Type[WellRoutingEstimationExample] diff --git a/src/jneqsim/process/chemistry/__init__.pyi b/src/jneqsim/process/chemistry/__init__.pyi new file mode 100644 index 00000000..86cdec02 --- /dev/null +++ b/src/jneqsim/process/chemistry/__init__.pyi @@ -0,0 +1,196 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.chemistry.acid +import jneqsim.process.chemistry.asphaltene +import jneqsim.process.chemistry.corrosion +import jneqsim.process.chemistry.equipment +import jneqsim.process.chemistry.hydrate +import jneqsim.process.chemistry.rca +import jneqsim.process.chemistry.scale +import jneqsim.process.chemistry.scavenger +import jneqsim.process.chemistry.util +import jneqsim.process.chemistry.wax +import jneqsim.process.equipment.stream +import typing + + + +class ChemicalCompatibilityAssessor(java.io.Serializable): + def __init__(self): ... + def addChemical(self, productionChemical: 'ProductionChemical') -> None: ... + def clearChemicals(self) -> None: ... + def evaluate(self) -> None: ... + @staticmethod + def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ChemicalCompatibilityAssessor': ... + def getHighestSeverity(self) -> 'ChemicalInteractionRule.Severity': ... + def getInteractionMatrix(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, java.lang.String]]: ... + def getIssues(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getThermalStability(self) -> java.util.Map[java.lang.String, bool]: ... + def getVerdict(self) -> 'ChemicalCompatibilityAssessor.Verdict': ... + def isEvaluated(self) -> bool: ... + def setBicarbonateMgL(self, double: float) -> None: ... + def setCalciumMgL(self, double: float) -> None: ... + def setIronMgL(self, double: float) -> None: ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setRules(self, list: java.util.List['ChemicalInteractionRule']) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Verdict(java.lang.Enum['ChemicalCompatibilityAssessor.Verdict']): + COMPATIBLE: typing.ClassVar['ChemicalCompatibilityAssessor.Verdict'] = ... + CAUTION: typing.ClassVar['ChemicalCompatibilityAssessor.Verdict'] = ... + INCOMPATIBLE: typing.ClassVar['ChemicalCompatibilityAssessor.Verdict'] = ... + _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]) -> 'ChemicalCompatibilityAssessor.Verdict': ... + @staticmethod + def values() -> typing.MutableSequence['ChemicalCompatibilityAssessor.Verdict']: ... + +class ChemicalInteractionRule(java.io.Serializable): + DEFAULT_RESOURCE: typing.ClassVar[java.lang.String] = ... + 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], string5: typing.Union[java.lang.String, str], severity: 'ChemicalInteractionRule.Severity', string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]): ... + def environmentMatches(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]) -> bool: ... + def getChemical1Ingredient(self) -> java.lang.String: ... + def getChemical1Type(self) -> java.lang.String: ... + def getChemical2Ingredient(self) -> java.lang.String: ... + def getChemical2Type(self) -> java.lang.String: ... + def getCondition(self) -> java.lang.String: ... + def getMechanism(self) -> java.lang.String: ... + def getMitigation(self) -> java.lang.String: ... + def getSeverity(self) -> 'ChemicalInteractionRule.Severity': ... + def isEnvironmentRule(self) -> bool: ... + @staticmethod + def loadDefaultRules() -> java.util.List['ChemicalInteractionRule']: ... + @staticmethod + def loadFromResource(string: typing.Union[java.lang.String, str]) -> java.util.List['ChemicalInteractionRule']: ... + def matches(self, productionChemical: 'ProductionChemical', productionChemical2: 'ProductionChemical') -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Severity(java.lang.Enum['ChemicalInteractionRule.Severity']): + HIGH: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... + MEDIUM: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... + LOW: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... + INFO: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... + _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]) -> 'ChemicalInteractionRule.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['ChemicalInteractionRule.Severity']: ... + +class ProductionChemical(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], chemicalType: 'ProductionChemical.ChemicalType'): ... + @staticmethod + def acid(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + @staticmethod + def corrosionInhibitor(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def getActiveIngredient(self) -> java.lang.String: ... + def getActiveWtPct(self) -> float: ... + def getDensityKgM3(self) -> float: ... + def getDosagePpm(self) -> float: ... + def getIonicNature(self) -> 'ProductionChemical.IonicNature': ... + def getMaxTemperatureC(self) -> float: ... + def getMinTemperatureC(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNotes(self) -> java.lang.String: ... + def getPH(self) -> float: ... + def getSolvent(self) -> java.lang.String: ... + def getType(self) -> 'ProductionChemical.ChemicalType': ... + @staticmethod + def h2sScavenger(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def isStableAt(self, double: float) -> bool: ... + @staticmethod + def scaleInhibitor(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def setActiveIngredient(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setActiveWtPct(self, double: float) -> None: ... + def setDensityKgM3(self, double: float) -> None: ... + def setDosagePpm(self, double: float) -> None: ... + def setIonicNature(self, ionicNature: 'ProductionChemical.IonicNature') -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPH(self, double: float) -> None: ... + def setSolvent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureRangeC(self, double: float, double2: float) -> None: ... + def setType(self, chemicalType: 'ProductionChemical.ChemicalType') -> None: ... + @staticmethod + def thermodynamicHydrateInhibitor(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class ChemicalType(java.lang.Enum['ProductionChemical.ChemicalType']): + SCALE_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + CORROSION_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + HYDRATE_INHIBITOR_THERMODYNAMIC: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + HYDRATE_INHIBITOR_LDHI: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + DEMULSIFIER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + WAX_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + ASPHALTENE_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + BIOCIDE: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + OXYGEN_SCAVENGER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + H2S_SCAVENGER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + ANTIFOAM: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + DRAG_REDUCER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + PH_ADJUSTER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + ACID: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + CHELANT: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + OTHER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... + _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]) -> 'ProductionChemical.ChemicalType': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionChemical.ChemicalType']: ... + class IonicNature(java.lang.Enum['ProductionChemical.IonicNature']): + CATIONIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... + ANIONIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... + NON_IONIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... + AMPHOTERIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... + UNKNOWN: typing.ClassVar['ProductionChemical.IonicNature'] = ... + _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]) -> 'ProductionChemical.IonicNature': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionChemical.IonicNature']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry")``. + + ChemicalCompatibilityAssessor: typing.Type[ChemicalCompatibilityAssessor] + ChemicalInteractionRule: typing.Type[ChemicalInteractionRule] + ProductionChemical: typing.Type[ProductionChemical] + acid: jneqsim.process.chemistry.acid.__module_protocol__ + asphaltene: jneqsim.process.chemistry.asphaltene.__module_protocol__ + corrosion: jneqsim.process.chemistry.corrosion.__module_protocol__ + equipment: jneqsim.process.chemistry.equipment.__module_protocol__ + hydrate: jneqsim.process.chemistry.hydrate.__module_protocol__ + rca: jneqsim.process.chemistry.rca.__module_protocol__ + scale: jneqsim.process.chemistry.scale.__module_protocol__ + scavenger: jneqsim.process.chemistry.scavenger.__module_protocol__ + util: jneqsim.process.chemistry.util.__module_protocol__ + wax: jneqsim.process.chemistry.wax.__module_protocol__ diff --git a/src/jneqsim/process/chemistry/acid/__init__.pyi b/src/jneqsim/process/chemistry/acid/__init__.pyi new file mode 100644 index 00000000..dba62386 --- /dev/null +++ b/src/jneqsim/process/chemistry/acid/__init__.pyi @@ -0,0 +1,58 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class AcidTreatmentSimulator(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getCO2GeneratedKg(self) -> float: ... + def getDissolutionFractionPct(self) -> float: ... + def getDissolvableScaleKg(self) -> float: ... + def getResidualAcidWtPct(self) -> float: ... + def getScaleDissolvedKg(self) -> float: ... + def getSpentAcidPH(self) -> float: ... + def getSpentCalciumMgL(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def setAcidDensityKgM3(self, double: float) -> None: ... + def setAcidStrengthWtPct(self, double: float) -> None: ... + def setAcidType(self, acidType: 'AcidTreatmentSimulator.AcidType') -> None: ... + def setAcidVolumeM3(self, double: float) -> None: ... + def setInhibitorPresent(self, boolean: bool) -> None: ... + def setScaleCaCO3Kg(self, double: float) -> None: ... + def setScaleFeOH3Kg(self, double: float) -> None: ... + def setScaleMgCO3Kg(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setTubularMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class AcidType(java.lang.Enum['AcidTreatmentSimulator.AcidType']): + HCL: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... + HF: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... + ACETIC: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... + FORMIC: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... + _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]) -> 'AcidTreatmentSimulator.AcidType': ... + @staticmethod + def values() -> typing.MutableSequence['AcidTreatmentSimulator.AcidType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.acid")``. + + AcidTreatmentSimulator: typing.Type[AcidTreatmentSimulator] diff --git a/src/jneqsim/process/chemistry/asphaltene/__init__.pyi b/src/jneqsim/process/chemistry/asphaltene/__init__.pyi new file mode 100644 index 00000000..1ee2d3be --- /dev/null +++ b/src/jneqsim/process/chemistry/asphaltene/__init__.pyi @@ -0,0 +1,55 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class AsphalteneInhibitorPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getAopShiftBar(self) -> float: ... + def getCiiReduction(self) -> float: ... + def getEfficacyFraction(self) -> float: ... + def getInhibitedAopBara(self) -> float: ... + def getInhibitedCii(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def isStableAfterTreatment(self) -> bool: ... + def setBaseAsphalteneOnsetPressureBara(self, double: float) -> None: ... + def setBaseColloidalInstabilityIndex(self, double: float) -> None: ... + def setDoseAt50PctEfficacyMgL(self, double: float) -> None: ... + def setDoseMgL(self, double: float) -> None: ... + def setInhibitorChemistry(self, inhibitorChemistry: 'AsphalteneInhibitorPerformance.InhibitorChemistry') -> None: ... + def setMaxAopShiftBar(self, double: float) -> None: ... + def setMaxCiiReduction(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InhibitorChemistry(java.lang.Enum['AsphalteneInhibitorPerformance.InhibitorChemistry']): + ALKYLPHENOL_RESIN: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... + POAA: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... + SURFACTANT: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... + POLYMERIC_ESTER: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... + _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]) -> 'AsphalteneInhibitorPerformance.InhibitorChemistry': ... + @staticmethod + def values() -> typing.MutableSequence['AsphalteneInhibitorPerformance.InhibitorChemistry']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.asphaltene")``. + + AsphalteneInhibitorPerformance: typing.Type[AsphalteneInhibitorPerformance] diff --git a/src/jneqsim/process/chemistry/corrosion/__init__.pyi b/src/jneqsim/process/chemistry/corrosion/__init__.pyi new file mode 100644 index 00000000..523334ba --- /dev/null +++ b/src/jneqsim/process/chemistry/corrosion/__init__.pyi @@ -0,0 +1,97 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.stream +import jneqsim.pvtsimulation.flowassurance +import typing + + + +class CorrosionInhibitorPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + @staticmethod + def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> 'CorrosionInhibitorPerformance': ... + def getEfficiency(self) -> float: ... + def getInhibitedCorrosionRateMmYr(self) -> float: ... + def getMinimumEffectiveDoseMgL(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def setAcidicService(self, boolean: bool) -> None: ... + def setBaseCorrosionRateMmYr(self, double: float) -> None: ... + def setChemistry(self, inhibitorChemistry: 'CorrosionInhibitorPerformance.InhibitorChemistry') -> None: ... + def setDoseMgL(self, double: float) -> None: ... + def setFromDeWaardMilliams(self, deWaardMilliamsCorrosion: jneqsim.pvtsimulation.flowassurance.DeWaardMilliamsCorrosion) -> None: ... + def setH2SPartialPressureBar(self, double: float) -> None: ... + def setOrganicAcidPpm(self, double: float) -> None: ... + def setOxygenPpb(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setWallShearStressPa(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InhibitorChemistry(java.lang.Enum['CorrosionInhibitorPerformance.InhibitorChemistry']): + IMIDAZOLINE: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... + QUATERNARY_AMMONIUM: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... + AMIDO_AMINE: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... + PHOSPHATE_ESTER: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... + PYRIDINE: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... + MERCAPTAN: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... + _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]) -> 'CorrosionInhibitorPerformance.InhibitorChemistry': ... + @staticmethod + def values() -> typing.MutableSequence['CorrosionInhibitorPerformance.InhibitorChemistry']: ... + +class LangmuirInhibitorIsotherm(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def getCoverage(self, double: float, double2: float) -> float: ... + def getDoseForEfficiency(self, double: float, double2: float) -> float: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getKAds(self, double: float) -> float: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MechanisticCorrosionModel(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> 'MechanisticCorrosionModel': ... + def getInhibitedRateMmYr(self) -> float: ... + def getInhibitorCoverage(self) -> float: ... + def getInhibitorEfficiency(self) -> float: ... + def getKineticRateMmYr(self) -> float: ... + def getMassTransferLimitedRateMmYr(self) -> float: ... + def getMixedControlRateMmYr(self) -> float: ... + def getReynoldsNumber(self) -> float: ... + def getSchmidtNumber(self) -> float: ... + def getSherwoodNumber(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def isEvaluated(self) -> bool: ... + def setFlow(self, double: float, double2: float, double3: float, double4: float) -> 'MechanisticCorrosionModel': ... + def setGasComposition(self, double: float, double2: float) -> 'MechanisticCorrosionModel': ... + def setInhibitor(self, langmuirInhibitorIsotherm: LangmuirInhibitorIsotherm, double: float) -> 'MechanisticCorrosionModel': ... + def setTemperatureCelsius(self, double: float) -> 'MechanisticCorrosionModel': ... + def setTotalPressureBara(self, double: float) -> 'MechanisticCorrosionModel': ... + def setWaterChemistry(self, double: float, double2: float, double3: float) -> 'MechanisticCorrosionModel': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.corrosion")``. + + CorrosionInhibitorPerformance: typing.Type[CorrosionInhibitorPerformance] + LangmuirInhibitorIsotherm: typing.Type[LangmuirInhibitorIsotherm] + MechanisticCorrosionModel: typing.Type[MechanisticCorrosionModel] diff --git a/src/jneqsim/process/chemistry/equipment/__init__.pyi b/src/jneqsim/process/chemistry/equipment/__init__.pyi new file mode 100644 index 00000000..2ec39393 --- /dev/null +++ b/src/jneqsim/process/chemistry/equipment/__init__.pyi @@ -0,0 +1,52 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.chemistry +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import typing + + + +class InhibitorInjectionPoint(jneqsim.process.equipment.TwoPortEquipment): + @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 getActiveIngredientPpmInWater(self) -> float: ... + def getChemical(self) -> jneqsim.process.chemistry.ProductionChemical: ... + def getInjectionRateKgPerHour(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setChemical(self, productionChemical: jneqsim.process.chemistry.ProductionChemical) -> None: ... + def setDoseInKgPerHour(self, double: float) -> None: ... + def setDoseInPpmOnWater(self, double: float) -> None: ... + def setDoseMode(self, doseMode: 'InhibitorInjectionPoint.DoseMode') -> None: ... + def setDoseValue(self, double: float) -> None: ... + class DoseMode(java.lang.Enum['InhibitorInjectionPoint.DoseMode']): + PPM: typing.ClassVar['InhibitorInjectionPoint.DoseMode'] = ... + PPM_TOTAL: typing.ClassVar['InhibitorInjectionPoint.DoseMode'] = ... + KG_PER_HOUR: typing.ClassVar['InhibitorInjectionPoint.DoseMode'] = ... + _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]) -> 'InhibitorInjectionPoint.DoseMode': ... + @staticmethod + def values() -> typing.MutableSequence['InhibitorInjectionPoint.DoseMode']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.equipment")``. + + InhibitorInjectionPoint: typing.Type[InhibitorInjectionPoint] diff --git a/src/jneqsim/process/chemistry/hydrate/__init__.pyi b/src/jneqsim/process/chemistry/hydrate/__init__.pyi new file mode 100644 index 00000000..0645901c --- /dev/null +++ b/src/jneqsim/process/chemistry/hydrate/__init__.pyi @@ -0,0 +1,67 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class KineticHydrateInhibitorPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getPredictedInductionTimeHours(self) -> float: ... + def getRequiredDoseWtPct(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def setCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def setDoseWtPct(self, double: float) -> None: ... + def setSubcoolingC(self, double: float) -> None: ... + def setTargetInductionTimeHours(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ThermodynamicHydrateInhibitorPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getRequiredInhibitorWtPctInWater(self) -> float: ... + def getRequiredInjectionKgPerHour(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def setInhibitorChemistry(self, inhibitorChemistry: 'ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry') -> None: ... + def setInhibitorPurityWtPct(self, double: float) -> None: ... + def setLeanInhibitorWtPctInWater(self, double: float) -> None: ... + def setTargetSubcoolingC(self, double: float) -> None: ... + def setWaterFlowKgPerHour(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InhibitorChemistry(java.lang.Enum['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry']): + METHANOL: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... + MEG: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... + DEG: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... + TEG: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... + def getHammerschmidtK(self) -> float: ... + def getMolarMassGmol(self) -> float: ... + _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]) -> 'ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry': ... + @staticmethod + def values() -> typing.MutableSequence['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.hydrate")``. + + KineticHydrateInhibitorPerformance: typing.Type[KineticHydrateInhibitorPerformance] + ThermodynamicHydrateInhibitorPerformance: typing.Type[ThermodynamicHydrateInhibitorPerformance] diff --git a/src/jneqsim/process/chemistry/rca/__init__.pyi b/src/jneqsim/process/chemistry/rca/__init__.pyi new file mode 100644 index 00000000..1a8f188d --- /dev/null +++ b/src/jneqsim/process/chemistry/rca/__init__.pyi @@ -0,0 +1,107 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.chemistry +import typing + + + +class RootCauseAnalyser(java.io.Serializable): + def __init__(self): ... + def addChemical(self, productionChemical: jneqsim.process.chemistry.ProductionChemical) -> 'RootCauseAnalyser': ... + @typing.overload + def addEvidence(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addEvidence(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def addSymptom(self, symptom: 'Symptom') -> 'RootCauseAnalyser': ... + def analyse(self) -> None: ... + def getBayesianPosteriors(self) -> java.util.Map[java.lang.String, float]: ... + def getCandidates(self) -> java.util.List['RootCauseCandidate']: ... + def getDataGaps(self) -> java.util.List[java.lang.String]: ... + def getPrimary(self) -> 'RootCauseCandidate': ... + def isEvaluated(self) -> bool: ... + def setCO2PartialPressureBar(self, double: float) -> None: ... + def setCalciumMgL(self, double: float) -> None: ... + def setCompatibilityAssessor(self, chemicalCompatibilityAssessor: jneqsim.process.chemistry.ChemicalCompatibilityAssessor) -> None: ... + def setH2SPartialPressureBar(self, double: float) -> None: ... + def setIronMgL(self, double: float) -> None: ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOxygenPpb(self, double: float) -> None: ... + def setPH(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setWallShearStressPa(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class RootCauseCandidate(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 getCode(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getEvidence(self) -> java.lang.String: ... + def getRecommendation(self) -> java.lang.String: ... + def getScore(self) -> float: ... + def getTag(self) -> 'RootCauseCandidate.Tag': ... + def setTag(self, tag: 'RootCauseCandidate.Tag') -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Tag(java.lang.Enum['RootCauseCandidate.Tag']): + PRIMARY: typing.ClassVar['RootCauseCandidate.Tag'] = ... + CONTRIBUTING: typing.ClassVar['RootCauseCandidate.Tag'] = ... + POSSIBLE: typing.ClassVar['RootCauseCandidate.Tag'] = ... + RULED_OUT: typing.ClassVar['RootCauseCandidate.Tag'] = ... + _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]) -> 'RootCauseCandidate.Tag': ... + @staticmethod + def values() -> typing.MutableSequence['RootCauseCandidate.Tag']: ... + +class Symptom(java.io.Serializable): + def __init__(self, category: 'Symptom.Category', string: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> 'Symptom.Category': ... + def getConfidence(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getMeasurement(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasurements(self) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def of(*symptom: 'Symptom') -> java.util.List['Symptom']: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def withConfidence(self, double: float) -> 'Symptom': ... + def withMeasurement(self, string: typing.Union[java.lang.String, str], double: float) -> 'Symptom': ... + class Category(java.lang.Enum['Symptom.Category']): + DEPOSIT: typing.ClassVar['Symptom.Category'] = ... + CORROSION: typing.ClassVar['Symptom.Category'] = ... + EMULSION: typing.ClassVar['Symptom.Category'] = ... + PH_EXCURSION: typing.ClassVar['Symptom.Category'] = ... + FLOW_RESTRICTION: typing.ClassVar['Symptom.Category'] = ... + H2S_BREAKTHROUGH: typing.ClassVar['Symptom.Category'] = ... + SAMPLE_APPEARANCE: typing.ClassVar['Symptom.Category'] = ... + OFF_SPEC: typing.ClassVar['Symptom.Category'] = ... + OTHER: typing.ClassVar['Symptom.Category'] = ... + _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]) -> 'Symptom.Category': ... + @staticmethod + def values() -> typing.MutableSequence['Symptom.Category']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.rca")``. + + RootCauseAnalyser: typing.Type[RootCauseAnalyser] + RootCauseCandidate: typing.Type[RootCauseCandidate] + Symptom: typing.Type[Symptom] diff --git a/src/jneqsim/process/chemistry/scale/__init__.pyi b/src/jneqsim/process/chemistry/scale/__init__.pyi new file mode 100644 index 00000000..66615dd7 --- /dev/null +++ b/src/jneqsim/process/chemistry/scale/__init__.pyi @@ -0,0 +1,143 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.stream +import jneqsim.pvtsimulation.flowassurance +import typing + + + +class ClosedLoopDepositionSolver(java.io.Serializable): + def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, scaleDepositionAccumulator: 'ScaleDepositionAccumulator'): ... + def getDiameterHistoryM(self) -> java.util.List[float]: ... + def getFinalEffectiveDiameterM(self) -> float: ... + def getIterationsTaken(self) -> int: ... + def getMaxThicknessHistoryMm(self) -> java.util.List[float]: ... + def getVelocityHistoryMs(self) -> java.util.List[float]: ... + def isConverged(self) -> bool: ... + def setMaxIterations(self, int: int) -> 'ClosedLoopDepositionSolver': ... + def setToleranceM(self, double: float) -> 'ClosedLoopDepositionSolver': ... + def solve(self) -> 'ClosedLoopDepositionSolver': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ElectrolyteScaleCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> 'ElectrolyteScaleCalculator': ... + def getActivityCoefficients(self) -> java.util.Map[java.lang.String, float]: ... + def getBaSO4SaturationIndex(self) -> float: ... + def getCaCO3SaturationIndex(self) -> float: ... + def getCaSO4SaturationIndex(self) -> float: ... + def getDebyeHueckelA(self) -> float: ... + def getIonicStrength(self) -> float: ... + def getSrSO4SaturationIndex(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def isEvaluated(self) -> bool: ... + def setAnions(self, double: float, double2: float, double3: float, double4: float) -> 'ElectrolyteScaleCalculator': ... + def setCO2PartialPressureBar(self, double: float) -> 'ElectrolyteScaleCalculator': ... + def setCations(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'ElectrolyteScaleCalculator': ... + def setPH(self, double: float) -> 'ElectrolyteScaleCalculator': ... + def setPressureBara(self, double: float) -> 'ElectrolyteScaleCalculator': ... + def setTemperatureCelsius(self, double: float) -> 'ElectrolyteScaleCalculator': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ScaleControlAssessor(java.io.Serializable): + def __init__(self, scalePredictionCalculator: jneqsim.pvtsimulation.flowassurance.ScalePredictionCalculator): ... + def addInhibitor(self, scaleType: 'ScaleInhibitorPerformance.ScaleType', scaleInhibitorPerformance: 'ScaleInhibitorPerformance') -> None: ... + def evaluate(self) -> None: ... + @staticmethod + def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ScaleControlAssessor': ... + def getResidualSI(self, scaleType: 'ScaleInhibitorPerformance.ScaleType') -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWorstResidualSI(self) -> float: ... + def isControlled(self, double: float) -> bool: ... + def isEvaluated(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ScaleDepositionAccumulator(java.io.Serializable): + def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + def evaluate(self) -> 'ScaleDepositionAccumulator': ... + def getMaxThicknessMm(self) -> float: ... + def getSegmentDepositionMassKg(self) -> java.util.List[float]: ... + def getSegmentSaturationIndex(self) -> java.util.List[float]: ... + def getSegmentThicknessMm(self) -> java.util.List[float]: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getTimeToBlockageYears(self) -> float: ... + def getTotalDepositionMassKg(self) -> float: ... + def isEvaluated(self) -> bool: ... + def setBaseRate(self, double: float) -> 'ScaleDepositionAccumulator': ... + def setBrineChemistry(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'ScaleDepositionAccumulator': ... + def setInhibitorEfficiency(self, double: float) -> 'ScaleDepositionAccumulator': ... + def setScaleDensity(self, double: float) -> 'ScaleDepositionAccumulator': ... + def setServiceYears(self, double: float) -> 'ScaleDepositionAccumulator': ... + def setpHAndCo2(self, double: float, double2: float) -> 'ScaleDepositionAccumulator': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ScaleInhibitorPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getEfficiency(self) -> float: ... + def getMinimumInhibitorConcentrationMgL(self) -> float: ... + def getRecommendedDoseMgL(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def isAdequate(self) -> bool: ... + def isEvaluated(self) -> bool: ... + def setAvailableDoseMgL(self, double: float) -> None: ... + def setCalciumMgL(self, double: float) -> None: ... + def setInhibitorChemistry(self, inhibitorChemistry: 'ScaleInhibitorPerformance.InhibitorChemistry') -> None: ... + def setSaturationRatio(self, double: float) -> None: ... + def setScaleType(self, scaleType: 'ScaleInhibitorPerformance.ScaleType') -> None: ... + def setTdsMgL(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InhibitorChemistry(java.lang.Enum['ScaleInhibitorPerformance.InhibitorChemistry']): + PHOSPHONATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... + POLYMALEATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... + POLYACRYLATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... + PHOSPHATE_ESTER: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... + VINYL_SULPHONATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... + _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]) -> 'ScaleInhibitorPerformance.InhibitorChemistry': ... + @staticmethod + def values() -> typing.MutableSequence['ScaleInhibitorPerformance.InhibitorChemistry']: ... + class ScaleType(java.lang.Enum['ScaleInhibitorPerformance.ScaleType']): + CACO3: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... + BASO4: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... + SRSO4: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... + CASO4: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... + FECO3: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... + _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]) -> 'ScaleInhibitorPerformance.ScaleType': ... + @staticmethod + def values() -> typing.MutableSequence['ScaleInhibitorPerformance.ScaleType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.scale")``. + + ClosedLoopDepositionSolver: typing.Type[ClosedLoopDepositionSolver] + ElectrolyteScaleCalculator: typing.Type[ElectrolyteScaleCalculator] + ScaleControlAssessor: typing.Type[ScaleControlAssessor] + ScaleDepositionAccumulator: typing.Type[ScaleDepositionAccumulator] + ScaleInhibitorPerformance: typing.Type[ScaleInhibitorPerformance] diff --git a/src/jneqsim/process/chemistry/scavenger/__init__.pyi b/src/jneqsim/process/chemistry/scavenger/__init__.pyi new file mode 100644 index 00000000..1a75a061 --- /dev/null +++ b/src/jneqsim/process/chemistry/scavenger/__init__.pyi @@ -0,0 +1,75 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class H2SScavengerPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getBreakthroughDays(self) -> float: ... + def getCapacityKgH2SPerKgActive(self) -> float: ... + def getH2SToRemoveKgPerDay(self) -> float: ... + def getScavengerDemandKgPerDay(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def setActiveWtPct(self, double: float) -> None: ... + def setChemistry(self, scavengerChemistry: 'H2SScavengerPerformance.ScavengerChemistry') -> None: ... + def setGasFlowMSm3PerDay(self, double: float) -> None: ... + def setH2SInletPpm(self, double: float) -> None: ... + def setH2STargetPpm(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setScavengerInventoryKg(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ScavengerChemistry(java.lang.Enum['H2SScavengerPerformance.ScavengerChemistry']): + MEA_TRIAZINE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... + MMA_TRIAZINE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... + IRON_CHELATE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... + IRON_SPONGE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... + ALDEHYDE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... + _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]) -> 'H2SScavengerPerformance.ScavengerChemistry': ... + @staticmethod + def values() -> typing.MutableSequence['H2SScavengerPerformance.ScavengerChemistry']: ... + +class PackedBedScavengerReactor(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> 'PackedBedScavengerReactor': ... + def getBedUtilisationProfile(self) -> java.util.List[float]: ... + def getBreakthroughTimeS(self) -> float: ... + def getFinalBedUtilisation(self) -> float: ... + def getOutletConcentrationProfile(self) -> java.util.List[float]: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getTimeSeriesS(self) -> java.util.List[float]: ... + def getTotalH2sRemovedKg(self) -> float: ... + def isEvaluated(self) -> bool: ... + def setDiscretisation(self, int: int, int2: int) -> 'PackedBedScavengerReactor': ... + def setFeed(self, double: float, double2: float) -> 'PackedBedScavengerReactor': ... + def setGeometry(self, double: float, double2: float, double3: float) -> 'PackedBedScavengerReactor': ... + def setMedia(self, double: float, double2: float, double3: float) -> 'PackedBedScavengerReactor': ... + def setRateConstant(self, double: float) -> 'PackedBedScavengerReactor': ... + def setSimulationTime(self, double: float, double2: float) -> 'PackedBedScavengerReactor': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.scavenger")``. + + H2SScavengerPerformance: typing.Type[H2SScavengerPerformance] + PackedBedScavengerReactor: typing.Type[PackedBedScavengerReactor] diff --git a/src/jneqsim/process/chemistry/util/__init__.pyi b/src/jneqsim/process/chemistry/util/__init__.pyi new file mode 100644 index 00000000..b825779b --- /dev/null +++ b/src/jneqsim/process/chemistry/util/__init__.pyi @@ -0,0 +1,101 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import java.util.function +import jpype +import jneqsim.process.equipment.stream +import jneqsim.thermo.system +import typing + + + +class ChemistryUncertaintyAnalyzer(java.io.Serializable): + def __init__(self): ... + def addParameter(self, uncertainParameter: 'ChemistryUncertaintyAnalyzer.UncertainParameter') -> None: ... + def getMean(self) -> float: ... + def getP10(self) -> float: ... + def getP50(self) -> float: ... + def getP90(self) -> float: ... + def getParameters(self) -> java.util.List['ChemistryUncertaintyAnalyzer.UncertainParameter']: ... + def getStd(self) -> float: ... + def getTornado(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + @staticmethod + def identity() -> java.util.function.DoubleUnaryOperator: ... + def isEvaluated(self) -> bool: ... + @staticmethod + def mapOutput(string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[typing.Union[typing.List[float], jpype.JArray], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]], typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], 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.function.ToDoubleFunction[typing.MutableSequence[float]]: ... + def run(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[typing.Union[typing.List[float], jpype.JArray]], typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], float]]) -> None: ... + def setNumberOfTrials(self, int: int) -> None: ... + def setRandomSeed(self, long: int) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def triangular(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ChemistryUncertaintyAnalyzer.UncertainParameter': ... + class UncertainParameter(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], doubleSupplier: typing.Union[java.util.function.DoubleSupplier, typing.Callable], double2: float, double3: float, double4: float): ... + def getBase(self) -> float: ... + def getHigh(self) -> float: ... + def getLow(self) -> float: ... + def getName(self) -> java.lang.String: ... + def sample(self) -> float: ... + @staticmethod + def triangular(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, random: java.util.Random) -> 'ChemistryUncertaintyAnalyzer.UncertainParameter': ... + +class StandardsRegistry(java.io.Serializable): + NACE_TM0374: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + NACE_TM0169: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + NACE_MR0175: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + NACE_SP0775: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + NORSOK_M506: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + NORSOK_M001: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + API_RP87: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + GPSA_DB: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + ISO_13443: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + ISO_15156: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + API_RP14E: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + ASTM_G31: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + DNV_RP_O501: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + @staticmethod + def toMapList(*standardReference: 'StandardsRegistry.StandardReference') -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + class StandardReference(java.io.Serializable): + 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 getCode(self) -> java.lang.String: ... + def getOrganisation(self) -> java.lang.String: ... + def getTopic(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class StreamChemistryAdapter(java.io.Serializable): + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def estimateWallShearStressPa(self, double: float, double2: float) -> float: ... + def getAqueousConcentrationMgL(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getBariumMgL(self) -> float: ... + def getBicarbonateMgL(self) -> float: ... + def getCalciumMgL(self) -> float: ... + def getChlorideMgL(self) -> float: ... + def getGasFlowSm3PerDay(self) -> float: ... + def getH2SInGasPpm(self) -> float: ... + def getIronMgL(self) -> float: ... + def getPartialPressureBara(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureBara(self) -> float: ... + def getSodiumMgL(self) -> float: ... + def getSulphateMgL(self) -> float: ... + def getTdsMgL(self) -> float: ... + def getTemperatureCelsius(self) -> float: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.util")``. + + ChemistryUncertaintyAnalyzer: typing.Type[ChemistryUncertaintyAnalyzer] + StandardsRegistry: typing.Type[StandardsRegistry] + StreamChemistryAdapter: typing.Type[StreamChemistryAdapter] diff --git a/src/jneqsim/process/chemistry/wax/__init__.pyi b/src/jneqsim/process/chemistry/wax/__init__.pyi new file mode 100644 index 00000000..2b9ded8a --- /dev/null +++ b/src/jneqsim/process/chemistry/wax/__init__.pyi @@ -0,0 +1,53 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class WaxInhibitorPerformance(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getEfficacyFraction(self) -> float: ... + def getInhibitedPourPointC(self) -> float: ... + def getInhibitedWaxAppearanceTemperatureC(self) -> float: ... + def getPourPointDepressionC(self) -> float: ... + def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def getYieldStressReductionFraction(self) -> float: ... + def isEvaluated(self) -> bool: ... + def setBasePourPointC(self, double: float) -> None: ... + def setBaseWaxAppearanceTemperatureC(self, double: float) -> None: ... + def setDoseAt50PctEfficacyMgL(self, double: float) -> None: ... + def setDoseMgL(self, double: float) -> None: ... + def setInhibitorChemistry(self, inhibitorChemistry: 'WaxInhibitorPerformance.InhibitorChemistry') -> None: ... + def setMaxPourPointDepressionC(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InhibitorChemistry(java.lang.Enum['WaxInhibitorPerformance.InhibitorChemistry']): + EVA: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... + POLY_ACRYLATE: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... + OLEFIN_ESTER: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... + MALEIC_VINYL_ESTER: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... + _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]) -> 'WaxInhibitorPerformance.InhibitorChemistry': ... + @staticmethod + def values() -> typing.MutableSequence['WaxInhibitorPerformance.InhibitorChemistry']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.wax")``. + + WaxInhibitorPerformance: typing.Type[WaxInhibitorPerformance] diff --git a/src/jneqsim/process/conditionmonitor/__init__.pyi b/src/jneqsim/process/conditionmonitor/__init__.pyi new file mode 100644 index 00000000..e2024f0f --- /dev/null +++ b/src/jneqsim/process/conditionmonitor/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.process.processmodel +import typing + + + +class ConditionMonitor(java.io.Serializable, java.lang.Runnable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def conditionAnalysis(self) -> None: ... + @typing.overload + def conditionAnalysis(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getReport(self) -> java.lang.String: ... + def run(self) -> None: ... + +class ConditionMonitorSpecifications(java.io.Serializable): + HXmaxDeltaT: typing.ClassVar[float] = ... + HXmaxDeltaT_ErrorMsg: typing.ClassVar[java.lang.String] = ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.conditionmonitor")``. + + ConditionMonitor: typing.Type[ConditionMonitor] + ConditionMonitorSpecifications: typing.Type[ConditionMonitorSpecifications] diff --git a/src/jneqsim/process/controllerdevice/__init__.pyi b/src/jneqsim/process/controllerdevice/__init__.pyi new file mode 100644 index 00000000..64b27d83 --- /dev/null +++ b/src/jneqsim/process/controllerdevice/__init__.pyi @@ -0,0 +1,501 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import java.util.function +import jneqsim.process +import jneqsim.process.controllerdevice.structure +import jneqsim.process.equipment.iec81346 +import jneqsim.process.measurementdevice +import jneqsim.util +import typing + + + +class ControllerDeviceInterface(jneqsim.process.ProcessElementInterface): + def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def autoTune(self, double: float, double2: float) -> None: ... + @typing.overload + def autoTune(self, double: float, double2: float, boolean: bool) -> None: ... + @typing.overload + def autoTuneFromEventLog(self) -> bool: ... + @typing.overload + def autoTuneFromEventLog(self, boolean: bool) -> bool: ... + @typing.overload + def autoTuneStepResponse(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def autoTuneStepResponse(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getControllerSetPoint(self) -> float: ... + def getEventLog(self) -> java.util.List['ControllerEvent']: ... + def getIntegralAbsoluteError(self) -> float: ... + def getManualOutput(self) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMode(self) -> 'ControllerDeviceInterface.ControllerMode': ... + def getResponse(self) -> float: ... + def getSetpointWeight(self) -> float: ... + def getSettlingTime(self) -> float: ... + def getStepResponseTuningMethod(self) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... + def getUnit(self) -> java.lang.String: ... + def hashCode(self) -> int: ... + def isActive(self) -> bool: ... + def isReverseActing(self) -> bool: ... + def resetEventLog(self) -> None: ... + def resetPerformanceMetrics(self) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDerivativeFilterTime(self, double: float) -> None: ... + def setManualOutput(self, double: float) -> None: ... + def setMode(self, controllerMode: 'ControllerDeviceInterface.ControllerMode') -> None: ... + def setOutputLimits(self, double: float, double2: float) -> None: ... + def setReverseActing(self, boolean: bool) -> None: ... + def setSetpointWeight(self, double: float) -> None: ... + def setStepResponseTuningMethod(self, stepResponseTuningMethod: 'ControllerDeviceInterface.StepResponseTuningMethod') -> None: ... + def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + class ControllerMode(java.lang.Enum['ControllerDeviceInterface.ControllerMode']): + AUTO: typing.ClassVar['ControllerDeviceInterface.ControllerMode'] = ... + MANUAL: typing.ClassVar['ControllerDeviceInterface.ControllerMode'] = ... + CASCADE: typing.ClassVar['ControllerDeviceInterface.ControllerMode'] = ... + _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]) -> 'ControllerDeviceInterface.ControllerMode': ... + @staticmethod + def values() -> typing.MutableSequence['ControllerDeviceInterface.ControllerMode']: ... + class StepResponseTuningMethod(java.lang.Enum['ControllerDeviceInterface.StepResponseTuningMethod']): + CLASSIC: typing.ClassVar['ControllerDeviceInterface.StepResponseTuningMethod'] = ... + SIMC: typing.ClassVar['ControllerDeviceInterface.StepResponseTuningMethod'] = ... + _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]) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... + @staticmethod + def values() -> typing.MutableSequence['ControllerDeviceInterface.StepResponseTuningMethod']: ... + +class ControllerEvent(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def getError(self) -> float: ... + def getMeasuredValue(self) -> float: ... + def getResponse(self) -> float: ... + def getSetPoint(self) -> float: ... + def getTime(self) -> float: ... + +class SequentialFunctionChart(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addStep(self, sfcStep: 'SequentialFunctionChart.SfcStep') -> None: ... + def addTimedTransition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def addTransition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], booleanSupplier: typing.Union[java.util.function.BooleanSupplier, typing.Callable]) -> None: ... + def getActiveStepName(self) -> java.lang.String: ... + def getElapsedTimeInStep(self) -> float: ... + def getEventHistory(self) -> java.util.List[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getStepNames(self) -> java.util.List[java.lang.String]: ... + def getTotalElapsedTime(self) -> float: ... + def isRunning(self) -> bool: ... + def runStep(self, double: float) -> None: ... + def setInitialStep(self, string: typing.Union[java.lang.String, str]) -> None: ... + def start(self) -> None: ... + def stop(self) -> None: ... + class SfcStep(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getActiveAction(self) -> java.lang.Runnable: ... + def getEntryAction(self) -> java.lang.Runnable: ... + def getExitAction(self) -> java.lang.Runnable: ... + def getName(self) -> java.lang.String: ... + def setActiveAction(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + def setEntryAction(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + def setExitAction(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + class SfcTransition(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], booleanSupplier: typing.Union[java.util.function.BooleanSupplier, typing.Callable]): ... + def getFromStep(self) -> java.lang.String: ... + def getGuard(self) -> java.util.function.BooleanSupplier: ... + def getToStep(self) -> java.lang.String: ... + +class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def autoTune(self, double: float, double2: float) -> None: ... + @typing.overload + def autoTune(self, double: float, double2: float, boolean: bool) -> None: ... + @typing.overload + def autoTuneFromEventLog(self) -> bool: ... + @typing.overload + def autoTuneFromEventLog(self, boolean: bool) -> bool: ... + @typing.overload + def autoTuneStepResponse(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def autoTuneStepResponse(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def getControllerSetPoint(self) -> float: ... + def getEventLog(self) -> java.util.List[ControllerEvent]: ... + def getIntegralAbsoluteError(self) -> float: ... + def getKp(self) -> float: ... + def getManualOutput(self) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMode(self) -> ControllerDeviceInterface.ControllerMode: ... + def getReferenceDesignation(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... + def getReferenceDesignationString(self) -> java.lang.String: ... + def getResponse(self) -> float: ... + def getSetpointWeight(self) -> float: ... + def getSettlingTime(self) -> float: ... + def getStepResponseTuningMethod(self) -> ControllerDeviceInterface.StepResponseTuningMethod: ... + def getTd(self) -> float: ... + def getTi(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def isActive(self) -> bool: ... + def isReverseActing(self) -> bool: ... + def resetEventLog(self) -> None: ... + def resetPerformanceMetrics(self) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDerivativeFilterTime(self, double: float) -> None: ... + def setKp(self, double: float) -> None: ... + def setManualOutput(self, double: float) -> None: ... + def setMode(self, controllerMode: ControllerDeviceInterface.ControllerMode) -> None: ... + def setOutputLimits(self, double: float, double2: float) -> None: ... + def setReferenceDesignation(self, referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation) -> None: ... + def setReverseActing(self, boolean: bool) -> None: ... + def setSetpointWeight(self, double: float) -> None: ... + def setStepResponseTuningMethod(self, stepResponseTuningMethod: ControllerDeviceInterface.StepResponseTuningMethod) -> None: ... + def setTd(self, double: float) -> None: ... + def setTi(self, double: float) -> None: ... + def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class LogicBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): + def __init__(self, string: typing.Union[java.lang.String, str], operator: 'LogicBlock.Operator'): ... + def addFixedInput(self, boolean: bool) -> None: ... + @typing.overload + def addInput(self, logicBlock: 'LogicBlock') -> None: ... + @typing.overload + def addInput(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, double: float, comparator: 'LogicBlock.Comparator') -> None: ... + def getControllerSetPoint(self) -> float: ... + def getInputs(self) -> java.util.List['LogicBlock.LogicInput']: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + def getOperator(self) -> 'LogicBlock.Operator': ... + def getOutput(self) -> float: ... + def getOutputBoolean(self) -> bool: ... + def getResponse(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def isActive(self) -> bool: ... + def isReverseActing(self) -> bool: ... + @typing.overload + def runTransient(self, double: float, double2: float) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float) -> None: ... + def setEqualityTolerance(self, double: float) -> None: ... + def setReverseActing(self, boolean: bool) -> None: ... + def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + class Comparator(java.lang.Enum['LogicBlock.Comparator']): + GREATER_THAN: typing.ClassVar['LogicBlock.Comparator'] = ... + GREATER_EQUAL: typing.ClassVar['LogicBlock.Comparator'] = ... + LESS_THAN: typing.ClassVar['LogicBlock.Comparator'] = ... + LESS_EQUAL: typing.ClassVar['LogicBlock.Comparator'] = ... + EQUAL: typing.ClassVar['LogicBlock.Comparator'] = ... + _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]) -> 'LogicBlock.Comparator': ... + @staticmethod + def values() -> typing.MutableSequence['LogicBlock.Comparator']: ... + class LogicInput(java.io.Serializable): + def __init__(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, double: float, comparator: 'LogicBlock.Comparator'): ... + def evaluate(self, double: float) -> bool: ... + def getComparator(self) -> 'LogicBlock.Comparator': ... + def getDevice(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getThreshold(self) -> float: ... + class Operator(java.lang.Enum['LogicBlock.Operator']): + AND: typing.ClassVar['LogicBlock.Operator'] = ... + OR: typing.ClassVar['LogicBlock.Operator'] = ... + NOT: typing.ClassVar['LogicBlock.Operator'] = ... + NAND: typing.ClassVar['LogicBlock.Operator'] = ... + NOR: typing.ClassVar['LogicBlock.Operator'] = ... + XOR: typing.ClassVar['LogicBlock.Operator'] = ... + _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]) -> 'LogicBlock.Operator': ... + @staticmethod + def values() -> typing.MutableSequence['LogicBlock.Operator']: ... + +class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addQualityConstraint(self, qualityConstraint: 'ModelPredictiveController.QualityConstraint') -> None: ... + @typing.overload + def autoTune(self, double: float, double2: float) -> None: ... + @typing.overload + def autoTune(self, double: float, double2: float, boolean: bool) -> None: ... + @typing.overload + def autoTune(self) -> 'ModelPredictiveController.AutoTuneResult': ... + @typing.overload + def autoTune(self, list: java.util.List[float], list2: java.util.List[float], list3: java.util.List[float], autoTuneConfiguration: 'ModelPredictiveController.AutoTuneConfiguration') -> 'ModelPredictiveController.AutoTuneResult': ... + @typing.overload + def autoTune(self, autoTuneConfiguration: 'ModelPredictiveController.AutoTuneConfiguration') -> 'ModelPredictiveController.AutoTuneResult': ... + def clearMovingHorizonHistory(self) -> None: ... + def clearQualityConstraints(self) -> None: ... + def configureControls(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def disableMovingHorizonEstimation(self) -> None: ... + def enableMovingHorizonEstimation(self, int: int) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getCalcIdentifier(self) -> java.util.UUID: ... + def getControlNames(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getControlValue(self, int: int) -> float: ... + @typing.overload + def getControlValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getControlVector(self) -> typing.MutableSequence[float]: ... + def getControlWeight(self) -> float: ... + def getControllerSetPoint(self) -> float: ... + def getLastAppliedControl(self) -> float: ... + def getLastMovingHorizonEstimate(self) -> 'ModelPredictiveController.MovingHorizonEstimate': ... + def getLastSampleTime(self) -> float: ... + def getLastSampledValue(self) -> float: ... + def getMaxResponse(self) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMinResponse(self) -> float: ... + def getMoveWeight(self) -> float: ... + def getMovingHorizonEstimationWindow(self) -> int: ... + def getOutputWeight(self) -> float: ... + def getPredictedQuality(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPredictedTrajectory(self, int: int, double: float) -> typing.MutableSequence[float]: ... + def getPredictionHorizon(self) -> int: ... + def getProcessBias(self) -> float: ... + def getProcessGain(self) -> float: ... + def getResponse(self) -> float: ... + def getTimeConstant(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def hashCode(self) -> int: ... + @typing.overload + def ingestPlantSample(self, double: float, double2: float) -> None: ... + @typing.overload + def ingestPlantSample(self, double: float, double2: float, double3: float) -> None: ... + def isActive(self) -> bool: ... + def isMovingHorizonEstimationEnabled(self) -> bool: ... + def isReverseActing(self) -> bool: ... + @typing.overload + def runTransient(self, double: float, double2: float) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def setActive(self, boolean: bool) -> None: ... + @typing.overload + def setControlLimits(self, int: int, double: float, double2: float) -> None: ... + @typing.overload + def setControlLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + @typing.overload + def setControlMoveLimits(self, int: int, double: float, double2: float) -> None: ... + @typing.overload + def setControlMoveLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setControlWeights(self, *double: float) -> None: ... + def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float) -> None: ... + def setEnergyReference(self, double: float) -> None: ... + def setEnergyReferenceVector(self, *double: float) -> None: ... + def setInitialControlValues(self, *double: float) -> None: ... + def setMoveLimits(self, double: float, double2: float) -> None: ... + def setMoveWeights(self, *double: float) -> None: ... + def setOutputLimits(self, double: float, double2: float) -> None: ... + def setPredictionHorizon(self, int: int) -> None: ... + def setPreferredControlValue(self, double: float) -> None: ... + def setPreferredControlVector(self, *double: float) -> None: ... + def setPrimaryControlIndex(self, int: int) -> None: ... + def setProcessBias(self, double: float) -> None: ... + @typing.overload + def setProcessModel(self, double: float, double2: float) -> None: ... + @typing.overload + def setProcessModel(self, double: float, double2: float, double3: float) -> None: ... + def setReverseActing(self, boolean: bool) -> None: ... + def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWeights(self, double: float, double2: float, double3: float) -> None: ... + def updateFeedConditions(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float) -> None: ... + def updateQualityMeasurement(self, string: typing.Union[java.lang.String, str], double: float) -> bool: ... + def updateQualityMeasurements(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + class AutoTuneConfiguration: + @staticmethod + def builder() -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def getClosedLoopTimeConstantRatio(self) -> float: ... + def getControlWeightFactor(self) -> float: ... + def getMaximumHorizon(self) -> int: ... + def getMinimumHorizon(self) -> int: ... + def getMoveWeightFactor(self) -> float: ... + def getOutputWeight(self) -> float: ... + def getPredictionHorizonMultiple(self) -> float: ... + def getSampleTimeOverride(self) -> float: ... + def isApplyImmediately(self) -> bool: ... + class Builder: + def applyImmediately(self, boolean: bool) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def build(self) -> 'ModelPredictiveController.AutoTuneConfiguration': ... + def closedLoopTimeConstantRatio(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def controlWeightFactor(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def defaults(self) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def maximumHorizon(self, int: int) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def minimumHorizon(self, int: int) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def moveWeightFactor(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def outputWeight(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def predictionHorizonMultiple(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def sampleTimeOverride(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + class AutoTuneResult: + def getClosedLoopTimeConstant(self) -> float: ... + def getControlWeight(self) -> float: ... + def getMeanSquaredError(self) -> float: ... + def getMoveWeight(self) -> float: ... + def getOutputWeight(self) -> float: ... + def getPredictionHorizon(self) -> int: ... + def getProcessBias(self) -> float: ... + def getProcessGain(self) -> float: ... + def getSampleCount(self) -> int: ... + def getSampleTime(self) -> float: ... + def getTimeConstant(self) -> float: ... + def isApplied(self) -> bool: ... + class MovingHorizonEstimate: + def getMeanSquaredError(self) -> float: ... + def getProcessBias(self) -> float: ... + def getProcessGain(self) -> float: ... + def getSampleCount(self) -> int: ... + def getTimeConstant(self) -> float: ... + class QualityConstraint: + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + class Builder: + def build(self) -> 'ModelPredictiveController.QualityConstraint': ... + def compositionSensitivities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def compositionSensitivity(self, string: typing.Union[java.lang.String, str], double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def controlSensitivity(self, *double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def limit(self, double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def margin(self, double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def measurement(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def rateSensitivity(self, double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def unit(self, string: typing.Union[java.lang.String, str]) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + +class TransferFunctionBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): + def __init__(self, string: typing.Union[java.lang.String, str], type: 'TransferFunctionBlock.Type'): ... + def getControllerSetPoint(self) -> float: ... + def getDeadTime(self) -> float: ... + def getGain(self) -> float: ... + def getInputBias(self) -> float: ... + def getLagTime(self) -> float: ... + def getLagTime2(self) -> float: ... + def getLeadTime(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + def getOutput(self) -> float: ... + def getOutputBias(self) -> float: ... + def getResponse(self) -> float: ... + def getType(self) -> 'TransferFunctionBlock.Type': ... + def getUnit(self) -> java.lang.String: ... + def isActive(self) -> bool: ... + def isReverseActing(self) -> bool: ... + def reset(self) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float) -> None: ... + @typing.overload + def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setControllerSetPoint(self, double: float) -> None: ... + def setDeadTime(self, double: float) -> None: ... + def setGain(self, double: float) -> None: ... + def setInputBias(self, double: float) -> None: ... + def setLagTime(self, double: float) -> None: ... + def setLagTime2(self, double: float) -> None: ... + def setLeadTime(self, double: float) -> None: ... + def setOutputBias(self, double: float) -> None: ... + def setReverseActing(self, boolean: bool) -> None: ... + def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + class Type(java.lang.Enum['TransferFunctionBlock.Type']): + FIRST_ORDER_LAG: typing.ClassVar['TransferFunctionBlock.Type'] = ... + LEAD_LAG: typing.ClassVar['TransferFunctionBlock.Type'] = ... + DEAD_TIME: typing.ClassVar['TransferFunctionBlock.Type'] = ... + SECOND_ORDER: typing.ClassVar['TransferFunctionBlock.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]) -> 'TransferFunctionBlock.Type': ... + @staticmethod + def values() -> typing.MutableSequence['TransferFunctionBlock.Type']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice")``. + + ControllerDeviceBaseClass: typing.Type[ControllerDeviceBaseClass] + ControllerDeviceInterface: typing.Type[ControllerDeviceInterface] + ControllerEvent: typing.Type[ControllerEvent] + LogicBlock: typing.Type[LogicBlock] + ModelPredictiveController: typing.Type[ModelPredictiveController] + SequentialFunctionChart: typing.Type[SequentialFunctionChart] + TransferFunctionBlock: typing.Type[TransferFunctionBlock] + structure: jneqsim.process.controllerdevice.structure.__module_protocol__ diff --git a/src/jneqsim/process/controllerdevice/structure/__init__.pyi b/src/jneqsim/process/controllerdevice/structure/__init__.pyi new file mode 100644 index 00000000..f9a97735 --- /dev/null +++ b/src/jneqsim/process/controllerdevice/structure/__init__.pyi @@ -0,0 +1,90 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.process.controllerdevice +import jneqsim.process.measurementdevice +import typing + + + +class ControlStructureInterface(java.io.Serializable): + def getOutput(self) -> float: ... + def isActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + +class CascadeControllerStructure(ControlStructureInterface): + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface): ... + def getOutput(self) -> float: ... + def isActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + +class FeedForwardControllerStructure(ControlStructureInterface): + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def getOutput(self) -> float: ... + def isActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setFeedForwardGain(self, double: float) -> None: ... + +class OverrideControllerStructure(ControlStructureInterface): + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, selectionType: 'OverrideControllerStructure.SelectionType'): ... + def getOutput(self) -> float: ... + def getSelectionType(self) -> 'OverrideControllerStructure.SelectionType': ... + def isActive(self) -> bool: ... + def isOverrideActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + class SelectionType(java.lang.Enum['OverrideControllerStructure.SelectionType']): + HIGH_SELECT: typing.ClassVar['OverrideControllerStructure.SelectionType'] = ... + LOW_SELECT: typing.ClassVar['OverrideControllerStructure.SelectionType'] = ... + _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]) -> 'OverrideControllerStructure.SelectionType': ... + @staticmethod + def values() -> typing.MutableSequence['OverrideControllerStructure.SelectionType']: ... + +class RatioControllerStructure(ControlStructureInterface): + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def getOutput(self) -> float: ... + def isActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setRatio(self, double: float) -> None: ... + +class SplitRangeControllerStructure(ControlStructureInterface): + @typing.overload + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, int: int): ... + def getNumberOfElements(self) -> int: ... + @typing.overload + def getOutput(self) -> float: ... + @typing.overload + def getOutput(self, int: int) -> float: ... + def isActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice.structure")``. + + CascadeControllerStructure: typing.Type[CascadeControllerStructure] + ControlStructureInterface: typing.Type[ControlStructureInterface] + FeedForwardControllerStructure: typing.Type[FeedForwardControllerStructure] + OverrideControllerStructure: typing.Type[OverrideControllerStructure] + RatioControllerStructure: typing.Type[RatioControllerStructure] + SplitRangeControllerStructure: typing.Type[SplitRangeControllerStructure] diff --git a/src/jneqsim/process/corrosion/__init__.pyi b/src/jneqsim/process/corrosion/__init__.pyi new file mode 100644 index 00000000..8d51c7fd --- /dev/null +++ b/src/jneqsim/process/corrosion/__init__.pyi @@ -0,0 +1,312 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.thermo.system +import typing + + + +class AmmoniaCompatibility(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getMaxAllowableHRC(self) -> float: ... + def getMaxAllowableTempC(self) -> float: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getPrimaryMechanism(self) -> java.lang.String: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def getRequiredO2InhibitorWtPct(self) -> float: ... + def getRiskLevel(self) -> java.lang.String: ... + def isCompatible(self) -> bool: ... + def isO2InhibitorAdequate(self) -> bool: ... + def setAnhydrous(self, boolean: bool) -> None: ... + def setHardnessHRC(self, double: float) -> None: ... + def setMaterialType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNh3ConcentrationWtPct(self, double: float) -> None: ... + def setO2InhibitorWtPct(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setPwhtApplied(self, boolean: bool) -> None: ... + def setStressRatio(self, double: float) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def setWaterContentWtPct(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class CO2CorrosionMaterialSelection(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getAlternatives(self) -> java.util.List[java.lang.String]: ... + def getCsCorrosionAllowanceMm(self) -> float: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getRelativeCostFactor(self) -> float: ... + def getSelectedMaterial(self) -> java.lang.String: ... + def getSelectionRationale(self) -> java.lang.String: ... + def isCarbonSteelViable(self) -> bool: ... + def setCO2CorrosionRateMmyr(self, double: float) -> None: ... + def setCO2PartialPressureBar(self, double: float) -> None: ... + def setChlorideConcentrationMgL(self, double: float) -> None: ... + def setDesignLifeYears(self, double: float) -> None: ... + def setH2SPartialPressureBar(self, double: float) -> None: ... + def setInSituPH(self, double: float) -> None: ... + def setInhibitionFeasible(self, boolean: bool) -> None: ... + def setInhibitorAvailability(self, double: float) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ChlorideSCCAssessment(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getMaxAllowableChlorideMgL(self) -> float: ... + def getMaxAllowableTemperatureC(self) -> float: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getRecommendedUpgrade(self) -> java.lang.String: ... + def getRiskLevel(self) -> java.lang.String: ... + def getTemperatureMarginC(self) -> float: ... + def isSCCAcceptable(self) -> bool: ... + def setAqueousPH(self, double: float) -> None: ... + def setChlorideConcentrationMgL(self, double: float) -> None: ... + def setMaterialType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOxygenPresent(self, boolean: bool) -> None: ... + def setStressRatio(self, double: float) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class DensePhaseCO2Corrosion(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getCo2PhaseState(self) -> java.lang.String: ... + def getImpurityIssues(self) -> java.util.List[java.lang.String]: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getRecommendation(self) -> java.lang.String: ... + def getRiskLevel(self) -> java.lang.String: ... + def getWaterMarginPpmv(self) -> float: ... + def getWaterSolubilityLimitPpmv(self) -> float: ... + def getWetCorrosionRateMmYr(self) -> float: ... + def isFreeWaterRisk(self) -> bool: ... + def isMeetsImpuritySpecs(self) -> bool: ... + def setArContentMolPct(self, double: float) -> None: ... + def setCo2PurityMolPct(self, double: float) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setH2ContentMolPct(self, double: float) -> None: ... + def setH2sContentPpmv(self, double: float) -> None: ... + def setMaterialType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setN2ContentMolPct(self, double: float) -> None: ... + def setNoxContentPpmv(self, double: float) -> None: ... + def setO2ContentPpmv(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setSo2ContentPpmv(self, double: float) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def setWaterContentPpmv(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class HydrogenMaterialAssessment(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getH2MoleFractionGas(self) -> float: ... + def getH2PartialPressureBar(self) -> float: ... + def getHICRisk(self) -> java.lang.String: ... + def getHTHARisk(self) -> java.lang.String: ... + def getHydrogenDeratingFactor(self) -> float: ... + def getHydrogenEmbrittlementRisk(self) -> java.lang.String: ... + def getNelsonCurveAssessment(self) -> 'NelsonCurveAssessment': ... + def getOverallRiskLevel(self) -> java.lang.String: ... + def getRecommendations(self) -> java.util.List[java.lang.String]: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def getStandardsApplied(self) -> java.util.List[java.lang.String]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def isHTHAAcceptable(self) -> bool: ... + def isHydrogenEmbrittlementAcceptable(self) -> bool: ... + def isSourServiceOk(self) -> bool: ... + def setChlorideMgL(self, double: float) -> None: ... + def setCyclicService(self, boolean: bool) -> None: ... + def setDesignLifeYears(self, double: float) -> None: ... + def setDesignTemperatureC(self, double: float) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFreeWaterPresent(self, boolean: bool) -> None: ... + def setH2MoleFractionGas(self, double: float) -> None: ... + def setH2PartialPressureBar(self, double: float) -> None: ... + def setH2SPartialPressureBar(self, double: float) -> None: ... + def setHardnessHRC(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxOperatingTemperatureC(self, double: float) -> None: ... + def setPwhtApplied(self, boolean: bool) -> None: ... + def setSmysMPa(self, double: float) -> None: ... + def setTotalPressureBar(self, double: float) -> None: ... + def setWallThicknessMm(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class NelsonCurveAssessment(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getMaxAllowableH2PressureBar(self) -> float: ... + def getMaxAllowableTemperatureC(self) -> float: ... + def getRecommendedUpgrade(self) -> java.lang.String: ... + def getRiskLevel(self) -> java.lang.String: ... + @staticmethod + def getSupportedMaterialTypes() -> java.util.List[java.lang.String]: ... + def getTemperatureMarginC(self) -> float: ... + def isBelowNelsonCurve(self) -> bool: ... + def setH2PartialPressureBar(self, double: float) -> None: ... + def setH2PartialPressurePsia(self, double: float) -> None: ... + def setMaterialType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class NorsokM001MaterialSelection(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getAlternativeMaterials(self) -> java.util.List[java.lang.String]: ... + def getChlorideSCCRisk(self) -> java.lang.String: ... + def getMaterialMaxTemperatureC(self) -> float: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getRecommendedCorrosionAllowanceMm(self) -> float: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def getServiceCategory(self) -> java.lang.String: ... + def getSourClassification(self) -> java.lang.String: ... + def setAqueousPH(self, double: float) -> None: ... + def setCO2CorrosionRateMmyr(self, double: float) -> None: ... + def setCO2PartialPressureBar(self, double: float) -> None: ... + def setChlorideConcentrationMgL(self, double: float) -> None: ... + def setDesignLifeYears(self, double: float) -> None: ... + def setDesignTemperatureC(self, double: float) -> None: ... + def setFreeWaterPresent(self, boolean: bool) -> None: ... + def setH2SPartialPressureBar(self, double: float) -> None: ... + def setMaxDesignTemperatureC(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class NorsokM506CorrosionRate(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def calculate(self) -> None: ... + def calculateBaselineRate(self) -> float: ... + def calculateCO2Fugacity(self) -> float: ... + def calculateCorrosionAllowance(self, double: float) -> float: ... + def calculateEquilibriumPH(self) -> float: ... + def calculateFlowCorrectionFactor(self) -> float: ... + def calculateFugacityCoefficient(self) -> float: ... + def calculateGlycolCorrectionFactor(self) -> float: ... + def calculatePHCorrectionFactor(self, double: float) -> float: ... + def calculateScaleCorrectionFactor(self) -> float: ... + def calculateScalingTemperature(self) -> float: ... + def calculateWallShearStress(self) -> float: ... + def checkApplicableRange(self) -> java.util.Map[java.lang.String, bool]: ... + def getBaselineCorrosionRate(self) -> float: ... + def getCO2FugacityBar(self) -> float: ... + def getCO2FugacityCoefficient(self) -> float: ... + def getCO2PartialPressureBar(self) -> float: ... + def getCalculatedPH(self) -> float: ... + def getCorrectedCorrosionRate(self) -> float: ... + def getCorrosionSeverity(self) -> java.lang.String: ... + def getEffectivePH(self) -> float: ... + def getFlowCorrectionFactor(self) -> float: ... + def getGlycolCorrectionFactor(self) -> float: ... + def getH2SPartialPressureBar(self) -> float: ... + def getPHCorrectionFactor(self) -> float: ... + def getScaleCorrectionFactor(self) -> float: ... + def getScalingTemperatureC(self) -> float: ... + def getSourSeverityClassification(self) -> java.lang.String: ... + def getWallShearStressPa(self) -> float: ... + def isSourService(self) -> bool: ... + def runPressureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def runTemperatureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def setActualPH(self, double: float) -> None: ... + def setBicarbonateConcentrationMgL(self, double: float) -> None: ... + def setCO2MoleFraction(self, double: float) -> None: ... + def setFlowVelocityMs(self, double: float) -> None: ... + def setGlycolWeightFraction(self, double: float) -> None: ... + def setH2SMoleFraction(self, double: float) -> None: ... + def setInhibitorEfficiency(self, double: float) -> None: ... + def setIonicStrengthMolL(self, double: float) -> None: ... + def setLiquidDensityKgM3(self, double: float) -> None: ... + def setLiquidViscosityPas(self, double: float) -> None: ... + def setPipeDiameterM(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setTotalPressureBara(self, double: float) -> None: ... + def setUseFlowCorrection(self, boolean: bool) -> None: ... + def setUsePHCorrection(self, boolean: bool) -> None: ... + def setUseScaleCorrection(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class OxygenCorrosionAssessment(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getCorrosionRateMmYr(self) -> float: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getPittingFactor(self) -> float: ... + def getPittingRateMmYr(self) -> float: ... + def getRecommendedTreatment(self) -> java.lang.String: ... + def getRiskLevel(self) -> java.lang.String: ... + def getTargetO2Ppb(self) -> float: ... + def isMeetsO2Target(self) -> bool: ... + def setChlorideMgL(self, double: float) -> None: ... + def setDeaerationApplied(self, boolean: bool) -> None: ... + def setDissolvedO2Ppb(self, double: float) -> None: ... + def setMaterialType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setScavengerApplied(self, boolean: bool) -> None: ... + def setSystemType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def setVelocityMS(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class SourServiceAssessment(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> None: ... + def getHICRiskLevel(self) -> java.lang.String: ... + def getMaxAllowableHardnessHRC(self) -> float: ... + def getNotes(self) -> java.util.List[java.lang.String]: ... + def getOverallRiskLevel(self) -> java.lang.String: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def getSSCRiskLevel(self) -> java.lang.String: ... + def getSourRegion(self) -> int: ... + def getStandardsApplied(self) -> java.util.List[java.lang.String]: ... + def isEvaluated(self) -> bool: ... + def isHICAcceptable(self) -> bool: ... + def isSOHICAcceptable(self) -> bool: ... + def isSSCAcceptable(self) -> bool: ... + def setCO2PartialPressureBar(self, double: float) -> None: ... + def setChlorideConcentrationMgL(self, double: float) -> None: ... + def setElementalSulfurPresent(self, boolean: bool) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFreeWaterPresent(self, boolean: bool) -> None: ... + def setH2SPartialPressureBar(self, double: float) -> None: ... + def setHardnessHRC(self, double: float) -> None: ... + def setInSituPH(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPWHTApplied(self, boolean: bool) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def setTotalPressureBar(self, double: float) -> None: ... + def setYieldStrengthMPa(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.corrosion")``. + + AmmoniaCompatibility: typing.Type[AmmoniaCompatibility] + CO2CorrosionMaterialSelection: typing.Type[CO2CorrosionMaterialSelection] + ChlorideSCCAssessment: typing.Type[ChlorideSCCAssessment] + DensePhaseCO2Corrosion: typing.Type[DensePhaseCO2Corrosion] + HydrogenMaterialAssessment: typing.Type[HydrogenMaterialAssessment] + NelsonCurveAssessment: typing.Type[NelsonCurveAssessment] + NorsokM001MaterialSelection: typing.Type[NorsokM001MaterialSelection] + NorsokM506CorrosionRate: typing.Type[NorsokM506CorrosionRate] + OxygenCorrosionAssessment: typing.Type[OxygenCorrosionAssessment] + SourServiceAssessment: typing.Type[SourServiceAssessment] diff --git a/src/jneqsim/process/costestimation/__init__.pyi b/src/jneqsim/process/costestimation/__init__.pyi new file mode 100644 index 00000000..1016fbb6 --- /dev/null +++ b/src/jneqsim/process/costestimation/__init__.pyi @@ -0,0 +1,249 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.costestimation.absorber +import jneqsim.process.costestimation.adsorber +import jneqsim.process.costestimation.column +import jneqsim.process.costestimation.compressor +import jneqsim.process.costestimation.ejector +import jneqsim.process.costestimation.electrolyzer +import jneqsim.process.costestimation.expander +import jneqsim.process.costestimation.heatexchanger +import jneqsim.process.costestimation.mixer +import jneqsim.process.costestimation.pipe +import jneqsim.process.costestimation.pump +import jneqsim.process.costestimation.separator +import jneqsim.process.costestimation.splitter +import jneqsim.process.costestimation.tank +import jneqsim.process.costestimation.valve +import jneqsim.process.mechanicaldesign +import jneqsim.process.processmodel +import typing + + + +class CostEstimateBaseClass(java.io.Serializable): + @typing.overload + def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign): ... + @typing.overload + def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, double: float): ... + def equals(self, object: typing.Any) -> bool: ... + def getCAPEXestimate(self) -> float: ... + def getWeightBasedCAPEXEstimate(self) -> float: ... + def hashCode(self) -> int: ... + +class CostEstimationCalculator(java.io.Serializable): + CEPCI_2019: typing.ClassVar[float] = ... + CEPCI_2020: typing.ClassVar[float] = ... + CEPCI_2021: typing.ClassVar[float] = ... + CEPCI_2022: typing.ClassVar[float] = ... + CEPCI_2023: typing.ClassVar[float] = ... + CEPCI_2024: typing.ClassVar[float] = ... + CEPCI_2025: typing.ClassVar[float] = ... + FM_CARBON_STEEL: typing.ClassVar[float] = ... + FM_SS304: typing.ClassVar[float] = ... + FM_SS316: typing.ClassVar[float] = ... + FM_SS316L: typing.ClassVar[float] = ... + FM_MONEL: typing.ClassVar[float] = ... + FM_HASTELLOY_C: typing.ClassVar[float] = ... + FM_INCONEL: typing.ClassVar[float] = ... + FM_TITANIUM: typing.ClassVar[float] = ... + FM_NICKEL: typing.ClassVar[float] = ... + CURRENCY_USD: typing.ClassVar[java.lang.String] = ... + CURRENCY_EUR: typing.ClassVar[java.lang.String] = ... + CURRENCY_NOK: typing.ClassVar[java.lang.String] = ... + CURRENCY_GBP: typing.ClassVar[java.lang.String] = ... + CURRENCY_CNY: typing.ClassVar[java.lang.String] = ... + CURRENCY_JPY: typing.ClassVar[java.lang.String] = ... + LOC_US_GULF_COAST: typing.ClassVar[float] = ... + LOC_US_MIDWEST: typing.ClassVar[float] = ... + LOC_US_WEST_COAST: typing.ClassVar[float] = ... + LOC_WESTERN_EUROPE: typing.ClassVar[float] = ... + LOC_NORTH_SEA: typing.ClassVar[float] = ... + LOC_MIDDLE_EAST: typing.ClassVar[float] = ... + LOC_SOUTHEAST_ASIA: typing.ClassVar[float] = ... + LOC_CHINA: typing.ClassVar[float] = ... + LOC_AUSTRALIA: typing.ClassVar[float] = ... + LOC_BRAZIL: typing.ClassVar[float] = ... + LOC_WEST_AFRICA: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def calcAirCoolerCost(self, double: float) -> float: ... + @typing.overload + def calcBareModuleCost(self, double: float, double2: float) -> float: ... + @typing.overload + def calcBareModuleCost(self, double: float, double2: float, double3: float) -> float: ... + def calcBubbleCapTraysCost(self, double: float, int: int) -> float: ... + def calcCentrifugalCompressorCost(self, double: float) -> float: ... + def calcCentrifugalPumpCost(self, double: float) -> float: ... + def calcColumnShellCost(self, double: float) -> float: ... + def calcControlValveCost(self, double: float) -> float: ... + def calcGrassRootsCost(self, double: float) -> float: ... + def calcHorizontalVesselCost(self, double: float) -> float: ... + def calcInstallationManHours(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calcPackingCost(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calcPipingCost(self, double: float, double2: float, int: int) -> float: ... + def calcPipingInstallationManHours(self, double: float) -> float: ... + def calcPlateHeatExchangerCost(self, double: float) -> float: ... + def calcReciprocatingCompressorCost(self, double: float) -> float: ... + def calcShellTubeHeatExchangerCost(self, double: float) -> float: ... + def calcSieveTraysCost(self, double: float, int: int) -> float: ... + def calcTotalModuleCost(self, double: float) -> float: ... + def calcValveTraysCost(self, double: float, int: int) -> float: ... + def calcVerticalVesselCost(self, double: float) -> float: ... + def calculateCostEstimate(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + def convertFromUSD(self, double: float) -> float: ... + def convertToUSD(self, double: float) -> float: ... + def formatCost(self, double: float) -> java.lang.String: ... + def generateVesselBOM(self, double: float, double2: float, int: int, double3: float) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + @staticmethod + def getAvailableLocationFactors() -> java.util.Map[java.lang.String, float]: ... + def getBareModuleCost(self) -> float: ... + def getContingencyFactor(self) -> float: ... + def getCurrencyCode(self) -> java.lang.String: ... + def getCurrentCepci(self) -> float: ... + @staticmethod + def getDefaultExchangeRates() -> java.util.Map[java.lang.String, float]: ... + def getEngineeringFactor(self) -> float: ... + def getExchangeRate(self) -> float: ... + def getGrassRootsCost(self) -> float: ... + def getInstallationFactor(self) -> float: ... + def getLocationFactor(self) -> float: ... + def getMaterialFactor(self) -> float: ... + def getMaterialOfConstruction(self) -> java.lang.String: ... + @staticmethod + def getPressureFactor(double: float) -> float: ... + def getPurchasedEquipmentCost(self) -> float: ... + def getTotalModuleCost(self) -> float: ... + def setContingencyFactor(self, double: float) -> None: ... + def setCurrency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setCurrencyCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCurrentCepci(self, double: float) -> None: ... + def setEngineeringFactor(self, double: float) -> None: ... + def setInstallationFactor(self, double: float) -> None: ... + def setLocationByRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationFactor(self, double: float) -> None: ... + def setMaterialFactor(self, double: float) -> None: ... + def setMaterialOfConstruction(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]: ... + +class ProcessCostEstimate(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign): ... + def calculateAllCosts(self) -> None: ... + def calculateNPV(self, double: float, double2: float, int: int) -> float: ... + @typing.overload + def calculateOperatingCost(self, int: int) -> float: ... + @typing.overload + def calculateOperatingCost(self, int: int, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculatePaybackPeriod(self, double: float) -> float: ... + def calculateROI(self, double: float) -> float: ... + def generateEquipmentListReport(self) -> java.lang.String: ... + def generateSummaryReport(self) -> java.lang.String: ... + def getComplexityFactor(self) -> float: ... + def getCostByDiscipline(self) -> java.util.Map[java.lang.String, float]: ... + def getCostByEquipmentType(self) -> java.util.Map[java.lang.String, float]: ... + def getCostsInCurrency(self) -> java.util.Map[java.lang.String, float]: ... + def getCurrencyCode(self) -> java.lang.String: ... + def getEquipmentCosts(self) -> java.util.List['ProcessCostEstimate.EquipmentCostSummary']: ... + def getLocationFactor(self) -> float: ... + def getOperatingCostBreakdown(self) -> java.util.Map[java.lang.String, float]: ... + def getTotalAnnualOperatingCost(self) -> float: ... + def getTotalBareModuleCost(self) -> float: ... + def getTotalGrassRootsCost(self) -> float: ... + def getTotalInstallationManHours(self) -> float: ... + def getTotalModuleCost(self) -> float: ... + def getTotalPurchasedEquipmentCost(self) -> float: ... + def setCepci(self, double: float) -> None: ... + def setComplexityFactor(self, double: float) -> None: ... + def setCurrency(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationByRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationFactor(self, double: float) -> None: ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + class EquipmentCostSummary(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getBareModuleCost(self) -> float: ... + def getInstallationManHours(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPurchasedEquipmentCost(self) -> float: ... + def getTotalModuleCost(self) -> float: ... + def getType(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def setBareModuleCost(self, double: float) -> None: ... + def setInstallationManHours(self, double: float) -> None: ... + def setPurchasedEquipmentCost(self, double: float) -> None: ... + def setTotalModuleCost(self, double: float) -> None: ... + def setWeight(self, double: float) -> None: ... + +class UnitCostEstimateBaseClass(java.io.Serializable): + mechanicalEquipment: jneqsim.process.mechanicaldesign.MechanicalDesign = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calculateCostEstimate(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getBareModuleCost(self) -> float: ... + def getCostCalculator(self) -> CostEstimationCalculator: ... + def getCostPerWeightUnit(self) -> float: ... + def getEquipmentType(self) -> java.lang.String: ... + def getGrassRootsCost(self) -> float: ... + def getInstallationManHours(self) -> float: ... + def getMaterialFactor(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getPurchasedEquipmentCost(self) -> float: ... + def getTotalCost(self) -> float: ... + def getTotalModuleCost(self) -> float: ... + def hashCode(self) -> int: ... + def setCostCalculator(self, costEstimationCalculator: CostEstimationCalculator) -> None: ... + def setCostPerWeightUnit(self, double: float) -> None: ... + def setCurrentCepci(self, double: float) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationFactor(self, double: float) -> None: ... + def setMaterialOfConstruction(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation")``. + + CostEstimateBaseClass: typing.Type[CostEstimateBaseClass] + CostEstimationCalculator: typing.Type[CostEstimationCalculator] + ProcessCostEstimate: typing.Type[ProcessCostEstimate] + UnitCostEstimateBaseClass: typing.Type[UnitCostEstimateBaseClass] + absorber: jneqsim.process.costestimation.absorber.__module_protocol__ + adsorber: jneqsim.process.costestimation.adsorber.__module_protocol__ + column: jneqsim.process.costestimation.column.__module_protocol__ + compressor: jneqsim.process.costestimation.compressor.__module_protocol__ + ejector: jneqsim.process.costestimation.ejector.__module_protocol__ + electrolyzer: jneqsim.process.costestimation.electrolyzer.__module_protocol__ + expander: jneqsim.process.costestimation.expander.__module_protocol__ + heatexchanger: jneqsim.process.costestimation.heatexchanger.__module_protocol__ + mixer: jneqsim.process.costestimation.mixer.__module_protocol__ + pipe: jneqsim.process.costestimation.pipe.__module_protocol__ + pump: jneqsim.process.costestimation.pump.__module_protocol__ + separator: jneqsim.process.costestimation.separator.__module_protocol__ + splitter: jneqsim.process.costestimation.splitter.__module_protocol__ + tank: jneqsim.process.costestimation.tank.__module_protocol__ + valve: jneqsim.process.costestimation.valve.__module_protocol__ diff --git a/src/jneqsim/process/costestimation/absorber/__init__.pyi b/src/jneqsim/process/costestimation/absorber/__init__.pyi new file mode 100644 index 00000000..bded59f8 --- /dev/null +++ b/src/jneqsim/process/costestimation/absorber/__init__.pyi @@ -0,0 +1,44 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.absorber +import typing + + + +class AbsorberCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, absorberMechanicalDesign: jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign): ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, int: int, double: float, double2: float) -> float: ... + def getAbsorberType(self) -> java.lang.String: ... + def getColumnDiameter(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def setAbsorberType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setColumnDiameter(self, double: float) -> None: ... + def setColumnHeight(self, double: float) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setIncludeLiquidDistributor(self, boolean: bool) -> None: ... + def setIncludeMistEliminator(self, boolean: bool) -> None: ... + def setIncludeReboiler(self, boolean: bool) -> None: ... + def setIncludeRefluxSystem(self, boolean: bool) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setPackingHeight(self, double: float) -> None: ... + def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReboilerDuty(self, double: float) -> None: ... + def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.absorber")``. + + AbsorberCostEstimate: typing.Type[AbsorberCostEstimate] diff --git a/src/jneqsim/process/costestimation/adsorber/__init__.pyi b/src/jneqsim/process/costestimation/adsorber/__init__.pyi new file mode 100644 index 00000000..1045a049 --- /dev/null +++ b/src/jneqsim/process/costestimation/adsorber/__init__.pyi @@ -0,0 +1,51 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.costestimation +import jneqsim.process.equipment.adsorber +import jneqsim.process.mechanicaldesign.adsorber +import typing + + + +class MercuryRemovalCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, mercuryRemovalMechanicalDesign: jneqsim.process.mechanicaldesign.adsorber.MercuryRemovalMechanicalDesign): ... + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def getAnnualSorbentCost(self, double: float) -> float: ... + def getInstallationFactor(self) -> float: ... + def getSorbentReplacementCost(self) -> float: ... + def getSorbentUnitPrice(self) -> float: ... + def getSteelCostPerKg(self) -> float: ... + def getTotalCost(self) -> float: ... + def setInstallationFactor(self, double: float) -> None: ... + def setSorbentUnitPrice(self, double: float) -> None: ... + def setSteelCostPerKg(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class PSACostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, pSACascade: jneqsim.process.equipment.adsorber.PSACascade): ... + @typing.overload + def __init__(self, adsorberMechanicalDesign: jneqsim.process.mechanicaldesign.adsorber.AdsorberMechanicalDesign): ... + def getNumberOfBeds(self) -> int: ... + def getSorbent(self) -> jneqsim.process.equipment.adsorber.PressureSwingAdsorptionBed.SorbentType: ... + def getSorbentMassPerBedKg(self) -> float: ... + def getSorbentUnitPriceUsdPerKg(self) -> float: ... + def setIncludeBalanceOfPlant(self, boolean: bool) -> None: ... + def setNumberOfBeds(self, int: int) -> None: ... + def setSorbent(self, sorbentType: jneqsim.process.equipment.adsorber.PressureSwingAdsorptionBed.SorbentType) -> None: ... + def setSorbentMassPerBedKg(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.adsorber")``. + + MercuryRemovalCostEstimate: typing.Type[MercuryRemovalCostEstimate] + PSACostEstimate: typing.Type[PSACostEstimate] diff --git a/src/jneqsim/process/costestimation/column/__init__.pyi b/src/jneqsim/process/costestimation/column/__init__.pyi new file mode 100644 index 00000000..139b0695 --- /dev/null +++ b/src/jneqsim/process/costestimation/column/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign +import typing + + + +class ColumnCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def calcAnnualUtilityCost(self, double: float, double2: float, double3: float) -> float: ... + def calcColumnWeight(self) -> float: ... + def getColumnDiameter(self) -> float: ... + def getColumnType(self) -> java.lang.String: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTotalCost(self) -> float: ... + def setColumnDiameter(self, double: float) -> None: ... + def setColumnHeight(self, double: float) -> None: ... + def setColumnType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCondenserDuty(self, double: float) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setIncludeCondenser(self, boolean: bool) -> None: ... + def setIncludeReboiler(self, boolean: bool) -> None: ... + def setNumberOfTrays(self, int: int) -> None: ... + def setPackingHeight(self, double: float) -> None: ... + def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReboilerDuty(self, double: float) -> None: ... + def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.column")``. + + ColumnCostEstimate: typing.Type[ColumnCostEstimate] diff --git a/src/jneqsim/process/costestimation/compressor/__init__.pyi b/src/jneqsim/process/costestimation/compressor/__init__.pyi new file mode 100644 index 00000000..7f79b1a2 --- /dev/null +++ b/src/jneqsim/process/costestimation/compressor/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.compressor +import typing + + + +class CompressorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, compressorMechanicalDesign: jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign): ... + def calcAnnualMaintenanceCost(self) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float) -> float: ... + def getCompressorType(self) -> java.lang.String: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDriverType(self) -> java.lang.String: ... + def getTotalCost(self) -> float: ... + def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDriverType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeDriver(self, boolean: bool) -> None: ... + def setIncludeIntercoolers(self, boolean: bool) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.compressor")``. + + CompressorCostEstimate: typing.Type[CompressorCostEstimate] diff --git a/src/jneqsim/process/costestimation/ejector/__init__.pyi b/src/jneqsim/process/costestimation/ejector/__init__.pyi new file mode 100644 index 00000000..e7468078 --- /dev/null +++ b/src/jneqsim/process/costestimation/ejector/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.ejector +import typing + + + +class EjectorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, ejectorMechanicalDesign: jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign): ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, int: int, double: float, double2: float) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getEjectorType(self) -> java.lang.String: ... + def getNumberOfStages(self) -> int: ... + def setDischargePressure(self, double: float) -> None: ... + def setEjectorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeAftercondenser(self, boolean: bool) -> None: ... + def setIncludeIntercondensers(self, boolean: bool) -> None: ... + def setMotivePressure(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setSuctionCapacity(self, double: float) -> None: ... + def setSuctionPressure(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.ejector")``. + + EjectorCostEstimate: typing.Type[EjectorCostEstimate] diff --git a/src/jneqsim/process/costestimation/electrolyzer/__init__.pyi b/src/jneqsim/process/costestimation/electrolyzer/__init__.pyi new file mode 100644 index 00000000..88ba7fcd --- /dev/null +++ b/src/jneqsim/process/costestimation/electrolyzer/__init__.pyi @@ -0,0 +1,26 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.electrolyzer +import typing + + + +class ElectrolyzerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, electrolyzerMechanicalDesign: jneqsim.process.mechanicaldesign.electrolyzer.ElectrolyzerMechanicalDesign): ... + def getSpecificCapexUsdPerKw(self) -> float: ... + def getTechnology(self) -> java.lang.String: ... + def setIncludeBalanceOfPlant(self, boolean: bool) -> None: ... + def setTechnology(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.electrolyzer")``. + + ElectrolyzerCostEstimate: typing.Type[ElectrolyzerCostEstimate] diff --git a/src/jneqsim/process/costestimation/expander/__init__.pyi b/src/jneqsim/process/costestimation/expander/__init__.pyi new file mode 100644 index 00000000..667b2637 --- /dev/null +++ b/src/jneqsim/process/costestimation/expander/__init__.pyi @@ -0,0 +1,42 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.expander +import typing + + + +class ExpanderCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, expanderMechanicalDesign: jneqsim.process.mechanicaldesign.expander.ExpanderMechanicalDesign): ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, int: int) -> float: ... + def calcPowerGenerationRevenue(self, int: int, double: float) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getExpanderType(self) -> java.lang.String: ... + def getLoadType(self) -> java.lang.String: ... + def getShaftPower(self) -> float: ... + def setCryogenicService(self, boolean: bool) -> None: ... + def setExpanderType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeControlSystem(self, boolean: bool) -> None: ... + def setIncludeGearbox(self, boolean: bool) -> None: ... + def setIncludeLoad(self, boolean: bool) -> None: ... + def setIncludeLubeOilSystem(self, boolean: bool) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setLoadType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShaftPower(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.expander")``. + + ExpanderCostEstimate: typing.Type[ExpanderCostEstimate] diff --git a/src/jneqsim/process/costestimation/heatexchanger/__init__.pyi b/src/jneqsim/process/costestimation/heatexchanger/__init__.pyi new file mode 100644 index 00000000..49088a3b --- /dev/null +++ b/src/jneqsim/process/costestimation/heatexchanger/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.heatexchanger +import typing + + + +class BAHXCostEstimator(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, bAHXMechanicalDesign: jneqsim.process.mechanicaldesign.heatexchanger.BAHXMechanicalDesign): ... + def calcInstalledCost(self) -> float: ... + def getAnnualMaintenanceCostUSD(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getEquipmentCostUSD(self) -> float: ... + def getInstalledCostUSD(self) -> float: ... + def getSpecificCostPerM2(self) -> float: ... + +class HeatExchangerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, heatExchangerMechanicalDesign: jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign): ... + def calcUtilityOperatingCost(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getExchangerType(self) -> java.lang.String: ... + def getTotalCost(self) -> float: ... + def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaType(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.heatexchanger")``. + + BAHXCostEstimator: typing.Type[BAHXCostEstimator] + HeatExchangerCostEstimate: typing.Type[HeatExchangerCostEstimate] diff --git a/src/jneqsim/process/costestimation/mixer/__init__.pyi b/src/jneqsim/process/costestimation/mixer/__init__.pyi new file mode 100644 index 00000000..c0a42889 --- /dev/null +++ b/src/jneqsim/process/costestimation/mixer/__init__.pyi @@ -0,0 +1,32 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign +import typing + + + +class MixerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getMixerType(self) -> java.lang.String: ... + def getPipeDiameter(self) -> float: ... + def setFlangedConnections(self, boolean: bool) -> None: ... + def setMixerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfElements(self, int: int) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setPressureClass(self, int: int) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.mixer")``. + + MixerCostEstimate: typing.Type[MixerCostEstimate] diff --git a/src/jneqsim/process/costestimation/pipe/__init__.pyi b/src/jneqsim/process/costestimation/pipe/__init__.pyi new file mode 100644 index 00000000..b9bd7003 --- /dev/null +++ b/src/jneqsim/process/costestimation/pipe/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign +import typing + + + +class PipeCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def calcPipeWeight(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getNominalDiameter(self) -> float: ... + def getPipeLength(self) -> float: ... + def getTotalCost(self) -> float: ... + def setFittingsPerHundredMeters(self, int: int) -> None: ... + def setIncludeFittings(self, boolean: bool) -> None: ... + def setIncludeInsulation(self, boolean: bool) -> None: ... + def setInstallationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setNominalDiameter(self, double: float) -> None: ... + def setNumberOfFlanges(self, int: int) -> None: ... + def setPipeLength(self, double: float) -> None: ... + def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.pipe")``. + + PipeCostEstimate: typing.Type[PipeCostEstimate] diff --git a/src/jneqsim/process/costestimation/pump/__init__.pyi b/src/jneqsim/process/costestimation/pump/__init__.pyi new file mode 100644 index 00000000..e1adb1e7 --- /dev/null +++ b/src/jneqsim/process/costestimation/pump/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.pump +import typing + + + +class PumpCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, pumpMechanicalDesign: jneqsim.process.mechanicaldesign.pump.PumpMechanicalDesign): ... + def calcAnnualMaintenanceCost(self) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getPumpType(self) -> java.lang.String: ... + def getTotalCost(self) -> float: ... + def setApiRated(self, boolean: bool) -> None: ... + def setIncludeMotor(self, boolean: bool) -> None: ... + def setPumpType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.pump")``. + + PumpCostEstimate: typing.Type[PumpCostEstimate] diff --git a/src/jneqsim/process/costestimation/separator/__init__.pyi b/src/jneqsim/process/costestimation/separator/__init__.pyi new file mode 100644 index 00000000..35af7c89 --- /dev/null +++ b/src/jneqsim/process/costestimation/separator/__init__.pyi @@ -0,0 +1,22 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.separator +import typing + + + +class SeparatorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, separatorMechanicalDesign: jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign): ... + def getTotalCost(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.separator")``. + + SeparatorCostEstimate: typing.Type[SeparatorCostEstimate] diff --git a/src/jneqsim/process/costestimation/splitter/__init__.pyi b/src/jneqsim/process/costestimation/splitter/__init__.pyi new file mode 100644 index 00000000..1638ecd5 --- /dev/null +++ b/src/jneqsim/process/costestimation/splitter/__init__.pyi @@ -0,0 +1,34 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign +import typing + + + +class SplitterCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getNumberOfOutlets(self) -> int: ... + def getSplitterType(self) -> java.lang.String: ... + def setIncludeControlValves(self, boolean: bool) -> None: ... + def setIncludeFlowMeters(self, boolean: bool) -> None: ... + def setInletDiameter(self, double: float) -> None: ... + def setNumberOfOutlets(self, int: int) -> None: ... + def setOutletDiameter(self, double: float) -> None: ... + def setPressureClass(self, int: int) -> None: ... + def setSplitterType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.splitter")``. + + SplitterCostEstimate: typing.Type[SplitterCostEstimate] diff --git a/src/jneqsim/process/costestimation/tank/__init__.pyi b/src/jneqsim/process/costestimation/tank/__init__.pyi new file mode 100644 index 00000000..80a9643e --- /dev/null +++ b/src/jneqsim/process/costestimation/tank/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.tank +import typing + + + +class TankCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, tankMechanicalDesign: jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign): ... + @typing.overload + def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + @typing.overload + def calcAnnualOperatingCost(self, int: int) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTankType(self) -> java.lang.String: ... + def getTankVolume(self) -> float: ... + def setDesignPressure(self, double: float) -> None: ... + def setFloatingRoof(self, boolean: bool) -> None: ... + def setIncludeFoundation(self, boolean: bool) -> None: ... + def setIncludeHeatingCoils(self, boolean: bool) -> None: ... + def setIncludeInsulation(self, boolean: bool) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setTankDiameter(self, double: float) -> None: ... + def setTankHeight(self, double: float) -> None: ... + def setTankType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTankVolume(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.tank")``. + + TankCostEstimate: typing.Type[TankCostEstimate] diff --git a/src/jneqsim/process/costestimation/valve/__init__.pyi b/src/jneqsim/process/costestimation/valve/__init__.pyi new file mode 100644 index 00000000..49b94821 --- /dev/null +++ b/src/jneqsim/process/costestimation/valve/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.mechanicaldesign.valve +import typing + + + +class ValveCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): + def __init__(self, valveMechanicalDesign: jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign): ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTotalCost(self) -> float: ... + def getValveCv(self) -> float: ... + def getValveType(self) -> java.lang.String: ... + def setActuatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeActuator(self, boolean: bool) -> None: ... + def setNominalSize(self, double: float) -> None: ... + def setPressureClass(self, int: int) -> None: ... + def setValveCv(self, double: float) -> None: ... + def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.valve")``. + + ValveCostEstimate: typing.Type[ValveCostEstimate] diff --git a/src/jneqsim/process/design/__init__.pyi b/src/jneqsim/process/design/__init__.pyi new file mode 100644 index 00000000..1a93d4e8 --- /dev/null +++ b/src/jneqsim/process/design/__init__.pyi @@ -0,0 +1,226 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.design.template +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class AutoSizeable: + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def isAutoSized(self) -> bool: ... + +class DesignOptimizer: + def applyDefaultConstraints(self) -> 'DesignOptimizer': ... + @typing.overload + def autoSizeEquipment(self) -> 'DesignOptimizer': ... + @typing.overload + def autoSizeEquipment(self, double: float) -> 'DesignOptimizer': ... + def excludeEquipment(self, *string: typing.Union[java.lang.String, str]) -> 'DesignOptimizer': ... + @typing.overload + @staticmethod + def forProcess(processModule: jneqsim.process.processmodel.ProcessModule) -> 'DesignOptimizer': ... + @typing.overload + @staticmethod + def forProcess(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'DesignOptimizer': ... + @staticmethod + def fromTemplate(processTemplate: 'ProcessTemplate', processBasis: 'ProcessBasis') -> 'DesignOptimizer': ... + def getBasis(self) -> 'ProcessBasis': ... + def getModule(self) -> jneqsim.process.processmodel.ProcessModule: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def isModuleMode(self) -> bool: ... + def optimize(self) -> 'DesignResult': ... + def runAutoSizing(self) -> 'DesignOptimizer': ... + def setObjective(self, objectiveType: 'DesignOptimizer.ObjectiveType') -> 'DesignOptimizer': ... + def validate(self) -> 'DesignResult': ... + class ObjectiveType(java.lang.Enum['DesignOptimizer.ObjectiveType']): + MAXIMIZE_PRODUCTION: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... + MAXIMIZE_OIL: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... + MAXIMIZE_GAS: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... + MINIMIZE_ENERGY: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... + CUSTOM: typing.ClassVar['DesignOptimizer.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]) -> 'DesignOptimizer.ObjectiveType': ... + @staticmethod + def values() -> typing.MutableSequence['DesignOptimizer.ObjectiveType']: ... + +class DesignResult: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addConstraintStatus(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addEquipmentSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def addOptimizedFlowRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addViolation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getConstraintStatus(self) -> java.util.Map[java.lang.String, 'DesignResult.ConstraintStatus']: ... + def getEquipment(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getEquipmentSizes(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getIterations(self) -> int: ... + def getObjectiveValue(self) -> float: ... + def getOptimizedFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOptimizedFlowRates(self) -> java.util.Map[java.lang.String, float]: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSummary(self) -> java.lang.String: ... + def getViolations(self) -> java.util.List[java.lang.String]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def hasViolations(self) -> bool: ... + def hasWarnings(self) -> bool: ... + def isConverged(self) -> bool: ... + def setConverged(self, boolean: bool) -> None: ... + def setIterations(self, int: int) -> None: ... + def setObjectiveValue(self, double: float) -> None: ... + class ConstraintStatus: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, boolean: bool): ... + def getCurrentValue(self) -> float: ... + def getLimitValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def isSatisfied(self) -> bool: ... + +class DesignSpecification: + def applyTo(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @staticmethod + def forCompressor(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + @staticmethod + def forHeater(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + @staticmethod + def forPipeline(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + @staticmethod + def forSeparator(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + @staticmethod + def forThreePhaseSeparator(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + @staticmethod + def forValve(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def getDesignParameters(self) -> java.util.Map[java.lang.String, float]: ... + def getDesignStandard(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getOperatingLimits(self) -> java.util.Map[java.lang.String, float]: ... + def getSafetyFactor(self) -> float: ... + def setCv(self, double: float) -> 'DesignSpecification': ... + def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setKFactor(self, double: float) -> 'DesignSpecification': ... + def setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setMaxDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setMaxValveOpening(self, double: float) -> 'DesignSpecification': ... + def setMaxVelocity(self, double: float) -> 'DesignSpecification': ... + def setPipeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setPipeLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setSafetyFactor(self, double: float) -> 'DesignSpecification': ... + def setStandard(self, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setTRDocument(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + +class EquipmentConstraintRegistry: + def createConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + @typing.overload + def getConstraintTemplates(self, string: typing.Union[java.lang.String, str]) -> java.util.List['EquipmentConstraintRegistry.ConstraintTemplate']: ... + @typing.overload + def getConstraintTemplates(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List['EquipmentConstraintRegistry.ConstraintTemplate']: ... + def getCustomConstraints(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getEquipmentType(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.lang.String: ... + @staticmethod + def getInstance() -> 'EquipmentConstraintRegistry': ... + def isConstraintSupported(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + def registerCustomConstraint(self, string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + class ConstraintTemplate: + 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]): ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getType(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + +class ProcessBasis: + def __init__(self): ... + @staticmethod + def builder() -> 'ProcessBasis.Builder': ... + def getAmbientTemperature(self) -> float: ... + def getCompanyStandard(self) -> java.lang.String: ... + def getConstraint(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCoolingMediumTemperature(self) -> float: ... + def getFeedFlowRate(self) -> float: ... + def getFeedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getFeedPressure(self) -> float: ... + def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFeedTemperature(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getParameter(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getParameterString(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getProductSpecs(self) -> java.util.List['ProcessBasis.ProductSpecification']: ... + def getSafetyFactor(self) -> float: ... + def getStagePressure(self, int: int) -> float: ... + def getStagePressures(self) -> java.util.Map[int, float]: ... + def getTRDocument(self) -> java.lang.String: ... + def setFeedFlowRate(self, double: float) -> None: ... + def setFeedFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFeedPressure(self, double: float) -> None: ... + def setFeedTemperature(self, double: float) -> None: ... + def setParameter(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setParameterString(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + class Builder: + def __init__(self): ... + def addConstraint(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessBasis.Builder': ... + def addProductSpec(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def addStagePressure(self, int: int, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def build(self) -> 'ProcessBasis': ... + def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def setCompanyStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def setFeedFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def setFeedFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ProcessBasis.Builder': ... + def setFeedPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProcessBasis.Builder': ... + def setFeedTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... + def setSafetyFactor(self, double: float) -> 'ProcessBasis.Builder': ... + class ProductSpecification: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getProductName(self) -> java.lang.String: ... + def getTargetPressure(self) -> float: ... + def getTargetTemperature(self) -> float: ... + def getType(self) -> java.lang.String: ... + def setTargetPressure(self, double: float) -> None: ... + def setTargetTemperature(self, double: float) -> None: ... + +class ProcessTemplate: + def create(self, processBasis: ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.design")``. + + AutoSizeable: typing.Type[AutoSizeable] + DesignOptimizer: typing.Type[DesignOptimizer] + DesignResult: typing.Type[DesignResult] + DesignSpecification: typing.Type[DesignSpecification] + EquipmentConstraintRegistry: typing.Type[EquipmentConstraintRegistry] + ProcessBasis: typing.Type[ProcessBasis] + ProcessTemplate: typing.Type[ProcessTemplate] + template: jneqsim.process.design.template.__module_protocol__ diff --git a/src/jneqsim/process/design/template/__init__.pyi b/src/jneqsim/process/design/template/__init__.pyi new file mode 100644 index 00000000..abbbc2e9 --- /dev/null +++ b/src/jneqsim/process/design/template/__init__.pyi @@ -0,0 +1,88 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.design +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class CO2CaptureTemplate(jneqsim.process.design.ProcessTemplate): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, amineType: 'CO2CaptureTemplate.AmineType'): ... + @staticmethod + def calculateSpecificReboilerDuty(amineType: 'CO2CaptureTemplate.AmineType', double: float, double2: float) -> float: ... + def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + @staticmethod + def estimateAmineLoss(amineType: 'CO2CaptureTemplate.AmineType', double: float) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + class AmineType(java.lang.Enum['CO2CaptureTemplate.AmineType']): + MEA: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... + DEA: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... + MDEA: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... + MDEA_PZ: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... + def getAmineName(self) -> java.lang.String: ... + def getMaxRichLoading(self) -> float: ... + def getReboilerTemp(self) -> float: ... + def getTypicalConcentration(self) -> float: ... + _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]) -> 'CO2CaptureTemplate.AmineType': ... + @staticmethod + def values() -> typing.MutableSequence['CO2CaptureTemplate.AmineType']: ... + +class DehydrationTemplate(jneqsim.process.design.ProcessTemplate): + def __init__(self): ... + @staticmethod + def calculateTEGRate(double: float, double2: float, double3: float) -> float: ... + def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + @staticmethod + def estimateEquilibriumWater(double: float, double2: float, double3: float) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + +class GasCompressionTemplate(jneqsim.process.design.ProcessTemplate): + def __init__(self): ... + def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + +class ThreeStageSeparationTemplate(jneqsim.process.design.ProcessTemplate): + def __init__(self): ... + def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.design.template")``. + + CO2CaptureTemplate: typing.Type[CO2CaptureTemplate] + DehydrationTemplate: typing.Type[DehydrationTemplate] + GasCompressionTemplate: typing.Type[GasCompressionTemplate] + ThreeStageSeparationTemplate: typing.Type[ThreeStageSeparationTemplate] diff --git a/src/jneqsim/process/diagnostics/__init__.pyi b/src/jneqsim/process/diagnostics/__init__.pyi new file mode 100644 index 00000000..0a1f01d2 --- /dev/null +++ b/src/jneqsim/process/diagnostics/__init__.pyi @@ -0,0 +1,291 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.diagnostics.restart +import jneqsim.process.equipment +import jneqsim.process.processmodel +import typing + + + +class EvidenceCollector(java.io.Serializable): + def __init__(self): ... + def calculateLikelihoodScore(self, list: java.util.List['Hypothesis.Evidence']) -> float: ... + def collectEvidence(self, hypothesis: 'Hypothesis') -> java.util.List['Hypothesis.Evidence']: ... + def loadFromCsv(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setHistorianData(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]) -> None: ... + def setStidData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]]) -> None: ... + +class FailurePropagationTracer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def setCustomDelay(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setMaxCascadeDepth(self, int: int) -> None: ... + @typing.overload + def trace(self, string: typing.Union[java.lang.String, str]) -> 'FailurePropagationTracer.PropagationResult': ... + @typing.overload + def trace(self, tripEvent: 'TripEvent') -> 'FailurePropagationTracer.PropagationResult': ... + class PropagationResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAffectedCount(self) -> int: ... + def getEquipmentToMonitor(self) -> java.util.List[java.lang.String]: ... + def getInitiatingEquipment(self) -> java.lang.String: ... + def getInitiatingTripEvent(self) -> 'TripEvent': ... + def getMaxCascadeDepth(self) -> int: ... + def getSteps(self) -> java.util.List['FailurePropagationTracer.PropagationStep']: ... + def getTotalProductionLossPercent(self) -> float: ... + def toJson(self) -> java.lang.String: ... + def toTextSummary(self) -> java.lang.String: ... + class PropagationStep(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, int: int, string2: typing.Union[java.lang.String, str], impactLevel: 'FailurePropagationTracer.PropagationStep.ImpactLevel'): ... + def getCascadeDepth(self) -> int: ... + def getEffect(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEstimatedDelaySeconds(self) -> float: ... + def getImpactLevel(self) -> 'FailurePropagationTracer.PropagationStep.ImpactLevel': ... + def toString(self) -> java.lang.String: ... + class ImpactLevel(java.lang.Enum['FailurePropagationTracer.PropagationStep.ImpactLevel']): + LOW: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... + MEDIUM: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... + HIGH: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... + CRITICAL: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... + _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]) -> 'FailurePropagationTracer.PropagationStep.ImpactLevel': ... + @staticmethod + def values() -> typing.MutableSequence['FailurePropagationTracer.PropagationStep.ImpactLevel']: ... + +class Hypothesis(java.io.Serializable, java.lang.Comparable['Hypothesis']): + def addEvidence(self, evidence: 'Hypothesis.Evidence') -> None: ... + def addRecommendedAction(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def builder() -> 'Hypothesis.Builder': ... + def compareTo(self, hypothesis: 'Hypothesis') -> int: ... + def getCategory(self) -> 'Hypothesis.Category': ... + def getConfidenceScore(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getEvidenceList(self) -> java.util.List['Hypothesis.Evidence']: ... + def getExpectedSignals(self) -> java.util.List['Hypothesis.ExpectedSignal']: ... + def getFailureMode(self) -> java.lang.String: ... + def getLikelihoodScore(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriorProbability(self) -> float: ... + def getRecommendedActions(self) -> java.util.List[java.lang.String]: ... + def getSimulationSummary(self) -> java.lang.String: ... + def getVerificationScore(self) -> float: ... + def setLikelihoodScore(self, double: float) -> None: ... + def setPriorProbability(self, double: float) -> None: ... + def setSimulationSummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVerificationScore(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addAction(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... + def addEvidence(self, evidence: 'Hypothesis.Evidence') -> 'Hypothesis.Builder': ... + def addExpectedSignal(self, string: typing.Union[java.lang.String, str], expectedBehavior: 'Hypothesis.ExpectedBehavior', double: float, string2: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... + def build(self) -> 'Hypothesis': ... + def category(self, category: 'Hypothesis.Category') -> 'Hypothesis.Builder': ... + def copy(self) -> 'Hypothesis.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... + def failureMode(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... + def priorProbability(self, double: float) -> 'Hypothesis.Builder': ... + class Category(java.lang.Enum['Hypothesis.Category']): + MECHANICAL: typing.ClassVar['Hypothesis.Category'] = ... + PROCESS: typing.ClassVar['Hypothesis.Category'] = ... + CONTROL: typing.ClassVar['Hypothesis.Category'] = ... + EXTERNAL: typing.ClassVar['Hypothesis.Category'] = ... + _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]) -> 'Hypothesis.Category': ... + @staticmethod + def values() -> typing.MutableSequence['Hypothesis.Category']: ... + class Evidence(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], evidenceStrength: 'Hypothesis.EvidenceStrength', string3: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], evidenceStrength: 'Hypothesis.EvidenceStrength', string3: typing.Union[java.lang.String, str], boolean: bool, double: float, string4: typing.Union[java.lang.String, str]): ... + def getObservation(self) -> java.lang.String: ... + def getParameter(self) -> java.lang.String: ... + def getSource(self) -> java.lang.String: ... + def getSourceReference(self) -> java.lang.String: ... + def getStrength(self) -> 'Hypothesis.EvidenceStrength': ... + def getWeight(self) -> float: ... + def isSupporting(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class EvidenceStrength(java.lang.Enum['Hypothesis.EvidenceStrength']): + STRONG: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... + MODERATE: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... + WEAK: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... + CONTRADICTORY: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... + _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]) -> 'Hypothesis.EvidenceStrength': ... + @staticmethod + def values() -> typing.MutableSequence['Hypothesis.EvidenceStrength']: ... + class ExpectedBehavior(java.lang.Enum['Hypothesis.ExpectedBehavior']): + INCREASE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + DECREASE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + HIGH_LIMIT: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + LOW_LIMIT: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + STEP_CHANGE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + CORRELATION: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + ANY_CHANGE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... + _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]) -> 'Hypothesis.ExpectedBehavior': ... + @staticmethod + def values() -> typing.MutableSequence['Hypothesis.ExpectedBehavior']: ... + class ExpectedSignal(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], expectedBehavior: 'Hypothesis.ExpectedBehavior', double: float, string2: typing.Union[java.lang.String, str]): ... + def getExpectedBehavior(self) -> 'Hypothesis.ExpectedBehavior': ... + def getParameterPattern(self) -> java.lang.String: ... + def getRationale(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + +class HypothesisGenerator(java.io.Serializable): + def __init__(self): ... + def generate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, symptom: 'Symptom') -> java.util.List[Hypothesis]: ... + def register(self, string: typing.Union[java.lang.String, str], symptom: 'Symptom', hypothesis: Hypothesis) -> None: ... + +class RootCauseAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]): ... + def analyze(self) -> 'RootCauseReport': ... + def setDesignLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setHistorianData(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]) -> None: ... + def setHypothesisGenerator(self, hypothesisGenerator: HypothesisGenerator) -> None: ... + def setSimulationEnabled(self, boolean: bool) -> None: ... + def setStidData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]]) -> None: ... + def setSymptom(self, symptom: 'Symptom') -> None: ... + +class RootCauseReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], symptom: 'Symptom'): ... + def getAnalysisTimestamp(self) -> int: ... + def getDataPointsAnalyzed(self) -> int: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getHypothesesAboveThreshold(self, double: float) -> java.util.List[Hypothesis]: ... + def getParametersAnalyzed(self) -> int: ... + def getRankedHypotheses(self) -> java.util.List[Hypothesis]: ... + def getSymptom(self) -> 'Symptom': ... + def getTopHypothesis(self) -> Hypothesis: ... + def setAnalysisSummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDataPointsAnalyzed(self, int: int) -> None: ... + def setHypotheses(self, list: java.util.List[Hypothesis]) -> None: ... + def setParametersAnalyzed(self, int: int) -> None: ... + def toJson(self) -> java.lang.String: ... + def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toTextReport(self) -> java.lang.String: ... + +class SimulationVerifier(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]): ... + def setHistorianData(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]]]) -> None: ... + def verify(self, hypothesis: Hypothesis) -> None: ... + +class Symptom(java.lang.Enum['Symptom']): + TRIP: typing.ClassVar['Symptom'] = ... + HIGH_VIBRATION: typing.ClassVar['Symptom'] = ... + SEAL_FAILURE: typing.ClassVar['Symptom'] = ... + HIGH_TEMPERATURE: typing.ClassVar['Symptom'] = ... + LOW_EFFICIENCY: typing.ClassVar['Symptom'] = ... + PRESSURE_DEVIATION: typing.ClassVar['Symptom'] = ... + FLOW_DEVIATION: typing.ClassVar['Symptom'] = ... + HIGH_POWER: typing.ClassVar['Symptom'] = ... + SURGE_EVENT: typing.ClassVar['Symptom'] = ... + FOULING: typing.ClassVar['Symptom'] = ... + ABNORMAL_NOISE: typing.ClassVar['Symptom'] = ... + LIQUID_CARRYOVER: typing.ClassVar['Symptom'] = ... + def getDescription(self) -> java.lang.String: ... + def getRelatedCategories(self) -> java.util.List[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]) -> 'Symptom': ... + @staticmethod + def values() -> typing.MutableSequence['Symptom']: ... + +class TripEvent(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool, double3: float, severity: 'TripEvent.Severity'): ... + def getActualValue(self) -> float: ... + def getDeviation(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getParameterName(self) -> java.lang.String: ... + def getSeverity(self) -> 'TripEvent.Severity': ... + def getSimulationTimeSeconds(self) -> float: ... + def getThreshold(self) -> float: ... + def getTimestampMillis(self) -> int: ... + def isHighTrip(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class Severity(java.lang.Enum['TripEvent.Severity']): + LOW: typing.ClassVar['TripEvent.Severity'] = ... + MEDIUM: typing.ClassVar['TripEvent.Severity'] = ... + HIGH: typing.ClassVar['TripEvent.Severity'] = ... + CRITICAL: typing.ClassVar['TripEvent.Severity'] = ... + _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]) -> 'TripEvent.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['TripEvent.Severity']: ... + +class TripEventDetector(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addTripCondition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, boolean: bool, severity: TripEvent.Severity) -> None: ... + def autoConfigureFromDesignLimits(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]]]) -> None: ... + def check(self, double: float) -> java.util.List[TripEvent]: ... + def checkCurrentState(self) -> java.util.List[TripEvent]: ... + def getDetectedTrips(self) -> java.util.List[TripEvent]: ... + def getFirstTrip(self) -> TripEvent: ... + def getTripCount(self) -> int: ... + def hasTrips(self) -> bool: ... + def reset(self) -> None: ... + def setDeadbandFraction(self, double: float) -> None: ... + def setFirstTripOnly(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.diagnostics")``. + + EvidenceCollector: typing.Type[EvidenceCollector] + FailurePropagationTracer: typing.Type[FailurePropagationTracer] + Hypothesis: typing.Type[Hypothesis] + HypothesisGenerator: typing.Type[HypothesisGenerator] + RootCauseAnalyzer: typing.Type[RootCauseAnalyzer] + RootCauseReport: typing.Type[RootCauseReport] + SimulationVerifier: typing.Type[SimulationVerifier] + Symptom: typing.Type[Symptom] + TripEvent: typing.Type[TripEvent] + TripEventDetector: typing.Type[TripEventDetector] + restart: jneqsim.process.diagnostics.restart.__module_protocol__ diff --git a/src/jneqsim/process/diagnostics/restart/__init__.pyi b/src/jneqsim/process/diagnostics/restart/__init__.pyi new file mode 100644 index 00000000..9d4aa6ac --- /dev/null +++ b/src/jneqsim/process/diagnostics/restart/__init__.pyi @@ -0,0 +1,66 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.diagnostics +import jneqsim.process.processmodel +import typing + + + +class RestartSequenceGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def generate(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'RestartSequenceGenerator.RestartPlan': ... + @typing.overload + def generate(self, propagationResult: jneqsim.process.diagnostics.FailurePropagationTracer.PropagationResult) -> 'RestartSequenceGenerator.RestartPlan': ... + def setCustomPrecondition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setCustomRampUpTime(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + class RestartPlan(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getEstimatedTotalTimeMinutes(self) -> float: ... + def getEstimatedTotalTimeSeconds(self) -> float: ... + def getInitiatingEquipment(self) -> java.lang.String: ... + def getInitiatingTrip(self) -> jneqsim.process.diagnostics.TripEvent: ... + def getStepCount(self) -> int: ... + def getSteps(self) -> java.util.List['RestartStep']: ... + def toJson(self) -> java.lang.String: ... + def toTextReport(self) -> java.lang.String: ... + +class RestartStep(java.io.Serializable): + def __init__(self, int: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, priority: 'RestartStep.Priority', string4: typing.Union[java.lang.String, str]): ... + def getAction(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getNotes(self) -> java.lang.String: ... + def getPrecondition(self) -> java.lang.String: ... + def getPriority(self) -> 'RestartStep.Priority': ... + def getRecommendedDelaySeconds(self) -> float: ... + def getSequenceNumber(self) -> int: ... + def toString(self) -> java.lang.String: ... + class Priority(java.lang.Enum['RestartStep.Priority']): + CRITICAL: typing.ClassVar['RestartStep.Priority'] = ... + HIGH: typing.ClassVar['RestartStep.Priority'] = ... + NORMAL: typing.ClassVar['RestartStep.Priority'] = ... + LOW: typing.ClassVar['RestartStep.Priority'] = ... + _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]) -> 'RestartStep.Priority': ... + @staticmethod + def values() -> typing.MutableSequence['RestartStep.Priority']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.diagnostics.restart")``. + + RestartSequenceGenerator: typing.Type[RestartSequenceGenerator] + RestartStep: typing.Type[RestartStep] diff --git a/src/jneqsim/process/dynamics/__init__.pyi b/src/jneqsim/process/dynamics/__init__.pyi new file mode 100644 index 00000000..6c3b61b2 --- /dev/null +++ b/src/jneqsim/process/dynamics/__init__.pyi @@ -0,0 +1,81 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class EventScheduler(java.io.Serializable): + def __init__(self): ... + def clear(self) -> None: ... + def fireDueEvents(self, double: float) -> int: ... + def getFiredEvents(self) -> java.util.List['EventScheduler.ScheduledEvent']: ... + def getPendingEvents(self) -> java.util.List['EventScheduler.ScheduledEvent']: ... + def scheduleEvent(self, double: float, string: typing.Union[java.lang.String, str], runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> 'EventScheduler.ScheduledEvent': ... + class ScheduledEvent(java.io.Serializable, java.lang.Comparable['EventScheduler.ScheduledEvent']): + def __init__(self, double: float, string: typing.Union[java.lang.String, str], runnable: typing.Union[java.lang.Runnable, typing.Callable]): ... + def compareTo(self, scheduledEvent: 'EventScheduler.ScheduledEvent') -> int: ... + def getAction(self) -> java.lang.Runnable: ... + def getLabel(self) -> java.lang.String: ... + def getTime(self) -> float: ... + +class IntegratorStrategy(java.io.Serializable): + def getName(self) -> java.lang.String: ... + def step(self, double: float, double2: float, slope: typing.Union['IntegratorStrategy.Slope', typing.Callable], double3: float) -> float: ... + class Slope(java.io.Serializable): + def dxdt(self, double: float, double2: float) -> float: ... + +class AdaptiveRK45Integrator(IntegratorStrategy): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, int: int): ... + def getAbsTol(self) -> float: ... + def getAbsoluteTolerance(self) -> float: ... + def getLastSubSteps(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getRelTol(self) -> float: ... + def getRelativeTolerance(self) -> float: ... + def setAbsoluteTolerance(self, double: float) -> 'AdaptiveRK45Integrator': ... + def setMaxSubSteps(self, int: int) -> 'AdaptiveRK45Integrator': ... + def setRelativeTolerance(self, double: float) -> 'AdaptiveRK45Integrator': ... + def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + +class BDFIntegrator(IntegratorStrategy): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, int: int, double2: float): ... + def getMaxIterations(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getTolerance(self) -> float: ... + def lastStepFellBack(self) -> bool: ... + def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + +class ExplicitEulerIntegrator(IntegratorStrategy): + def __init__(self): ... + def getName(self) -> java.lang.String: ... + def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + +class RK4Integrator(IntegratorStrategy): + def __init__(self): ... + def getName(self) -> java.lang.String: ... + def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.dynamics")``. + + AdaptiveRK45Integrator: typing.Type[AdaptiveRK45Integrator] + BDFIntegrator: typing.Type[BDFIntegrator] + EventScheduler: typing.Type[EventScheduler] + ExplicitEulerIntegrator: typing.Type[ExplicitEulerIntegrator] + IntegratorStrategy: typing.Type[IntegratorStrategy] + RK4Integrator: typing.Type[RK4Integrator] diff --git a/src/jneqsim/process/electricaldesign/__init__.pyi b/src/jneqsim/process/electricaldesign/__init__.pyi new file mode 100644 index 00000000..ea6fde55 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/__init__.pyi @@ -0,0 +1,113 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.electricaldesign.components +import jneqsim.process.electricaldesign.compressor +import jneqsim.process.electricaldesign.heatexchanger +import jneqsim.process.electricaldesign.loadanalysis +import jneqsim.process.electricaldesign.pipeline +import jneqsim.process.electricaldesign.pump +import jneqsim.process.electricaldesign.separator +import jneqsim.process.electricaldesign.system +import jneqsim.process.equipment +import typing + + + +class ElectricalDesign(java.io.Serializable): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getApparentPowerKVA(self) -> float: ... + def getCableDeratingFactor(self) -> float: ... + def getCableStandard(self) -> java.lang.String: ... + def getControlCable(self) -> jneqsim.process.electricaldesign.components.ElectricalCable: ... + def getDiversityFactor(self) -> float: ... + def getElectricalInputKW(self) -> float: ... + def getFrequencyHz(self) -> float: ... + def getFullLoadCurrentA(self) -> float: ... + def getHazArea(self) -> jneqsim.process.electricaldesign.components.HazardousAreaClassification: ... + def getHazAreaStandard(self) -> java.lang.String: ... + def getMotor(self) -> jneqsim.process.electricaldesign.components.ElectricalMotor: ... + def getMotorSizingMargin(self) -> float: ... + def getMotorStandard(self) -> java.lang.String: ... + def getPhases(self) -> int: ... + def getPowerCable(self) -> jneqsim.process.electricaldesign.components.ElectricalCable: ... + def getPowerFactor(self) -> float: ... + def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getRatedVoltageV(self) -> float: ... + def getReactivePowerKVAR(self) -> float: ... + def getShaftPowerKW(self) -> float: ... + def getStartingCurrentA(self) -> float: ... + def getSwitchgear(self) -> jneqsim.process.electricaldesign.components.Switchgear: ... + def getTotalElectricalLossesKW(self) -> float: ... + def getTransformer(self) -> jneqsim.process.electricaldesign.components.Transformer: ... + def getVfd(self) -> jneqsim.process.electricaldesign.components.VariableFrequencyDrive: ... + def isContinuousDuty(self) -> bool: ... + def isUseVFD(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setApparentPowerKVA(self, double: float) -> None: ... + def setCableDeratingFactor(self, double: float) -> None: ... + def setCableStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setContinuousDuty(self, boolean: bool) -> None: ... + def setControlCable(self, electricalCable: jneqsim.process.electricaldesign.components.ElectricalCable) -> None: ... + def setDiversityFactor(self, double: float) -> None: ... + def setElectricalInputKW(self, double: float) -> None: ... + def setFrequencyHz(self, double: float) -> None: ... + def setHazArea(self, hazardousAreaClassification: jneqsim.process.electricaldesign.components.HazardousAreaClassification) -> None: ... + def setHazAreaStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMotor(self, electricalMotor: jneqsim.process.electricaldesign.components.ElectricalMotor) -> None: ... + def setMotorSizingMargin(self, double: float) -> None: ... + def setMotorStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPhases(self, int: int) -> None: ... + def setPowerCable(self, electricalCable: jneqsim.process.electricaldesign.components.ElectricalCable) -> None: ... + def setPowerFactor(self, double: float) -> None: ... + def setRatedVoltageV(self, double: float) -> None: ... + def setReactivePowerKVAR(self, double: float) -> None: ... + def setShaftPowerKW(self, double: float) -> None: ... + def setSwitchgear(self, switchgear: jneqsim.process.electricaldesign.components.Switchgear) -> None: ... + def setTransformer(self, transformer: jneqsim.process.electricaldesign.components.Transformer) -> None: ... + def setUseVFD(self, boolean: bool) -> None: ... + def setVfd(self, variableFrequencyDrive: jneqsim.process.electricaldesign.components.VariableFrequencyDrive) -> None: ... + def toJson(self) -> java.lang.String: ... + +class ElectricalDesignResponse(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, electricalDesign: ElectricalDesign): ... + def getApparentPowerKVA(self) -> float: ... + def getElectricalInputKW(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getMotorData(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getPowerFactor(self) -> float: ... + def getReactivePowerKVAR(self) -> float: ... + def getShaftPowerKW(self) -> float: ... + def getSwitchgearData(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTotalLossesKW(self) -> float: ... + def getVfdData(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def populateFromElectricalDesign(self, electricalDesign: ElectricalDesign) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign")``. + + ElectricalDesign: typing.Type[ElectricalDesign] + ElectricalDesignResponse: typing.Type[ElectricalDesignResponse] + components: jneqsim.process.electricaldesign.components.__module_protocol__ + compressor: jneqsim.process.electricaldesign.compressor.__module_protocol__ + heatexchanger: jneqsim.process.electricaldesign.heatexchanger.__module_protocol__ + loadanalysis: jneqsim.process.electricaldesign.loadanalysis.__module_protocol__ + pipeline: jneqsim.process.electricaldesign.pipeline.__module_protocol__ + pump: jneqsim.process.electricaldesign.pump.__module_protocol__ + separator: jneqsim.process.electricaldesign.separator.__module_protocol__ + system: jneqsim.process.electricaldesign.system.__module_protocol__ diff --git a/src/jneqsim/process/electricaldesign/components/__init__.pyi b/src/jneqsim/process/electricaldesign/components/__init__.pyi new file mode 100644 index 00000000..8c7b2cd0 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/components/__init__.pyi @@ -0,0 +1,208 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class ElectricalCable(java.io.Serializable): + def __init__(self): ... + def calculateVoltageDrop(self, double: float, double2: float) -> float: ... + def getAmpacityA(self) -> float: ... + def getConductorMaterial(self) -> java.lang.String: ... + def getCrossSectionMM2(self) -> float: ... + def getEstimatedCostPerMeterUSD(self) -> float: ... + def getInstallationMethod(self) -> java.lang.String: ... + def getInsulationType(self) -> java.lang.String: ... + def getLengthM(self) -> float: ... + def getMaxVoltageDropPercent(self) -> float: ... + def getNumberOfCores(self) -> int: ... + def getRouteReference(self) -> java.lang.String: ... + def getShortCircuitWithstandKA(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getVoltageDropPercent(self) -> float: ... + def setBurialDepthDeratingFactor(self, double: float) -> None: ... + def setConductorMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCrossSectionMM2(self, double: float) -> None: ... + def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLengthM(self, double: float) -> None: ... + def setMaxVoltageDropPercent(self, double: float) -> None: ... + def setNumberOfCores(self, int: int) -> None: ... + def setRouteReference(self, string: typing.Union[java.lang.String, str]) -> None: ... + def sizeCable(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ElectricalMotor(java.io.Serializable): + def __init__(self): ... + def getDutyType(self) -> java.lang.String: ... + def getEfficiencyAtLoad(self, double: float) -> float: ... + def getEfficiencyClass(self) -> java.lang.String: ... + def getEfficiencyPercent(self) -> float: ... + def getEnclosureType(self) -> java.lang.String: ... + def getEstimatedCostUSD(self) -> float: ... + def getExProtection(self) -> java.lang.String: ... + def getFrameSize(self) -> java.lang.String: ... + def getFrequencyHz(self) -> float: ... + def getGasGroup(self) -> java.lang.String: ... + def getInsulationClass(self) -> java.lang.String: ... + def getLockedRotorCurrentMultiplier(self) -> float: ... + def getPoles(self) -> int: ... + def getPowerFactorAtLoad(self, double: float) -> float: ... + def getPowerFactorFL(self) -> float: ... + def getRatedCurrentA(self) -> float: ... + def getRatedPowerKW(self) -> float: ... + def getRatedSpeedRPM(self) -> float: ... + def getRatedVoltageV(self) -> float: ... + def getServiceFactor(self) -> float: ... + def getStartingMethod(self) -> java.lang.String: ... + def getStartingTorquePercent(self) -> float: ... + def getTemperatureClass(self) -> java.lang.String: ... + def getWeightKg(self) -> float: ... + def setDutyType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEfficiencyClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEfficiencyPercent(self, double: float) -> None: ... + def setEnclosureType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEstimatedCostUSD(self, double: float) -> None: ... + def setExProtection(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFrameSize(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFrequencyHz(self, double: float) -> None: ... + def setGasGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLockedRotorCurrentMultiplier(self, double: float) -> None: ... + def setPoles(self, int: int) -> None: ... + def setPowerFactorFL(self, double: float) -> None: ... + def setRatedCurrentA(self, double: float) -> None: ... + def setRatedPowerKW(self, double: float) -> None: ... + def setRatedSpeedRPM(self, double: float) -> None: ... + def setRatedVoltageV(self, double: float) -> None: ... + def setServiceFactor(self, double: float) -> None: ... + def setStartingMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStartingTorquePercent(self, double: float) -> None: ... + def setTemperatureClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWeightKg(self, double: float) -> None: ... + def sizeMotor(self, double: float, double2: float, 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]: ... + +class HazardousAreaClassification(java.io.Serializable): + def __init__(self): ... + def classify(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> None: ... + def getClassificationStandard(self) -> java.lang.String: ... + def getEquipmentProtectionLevel(self) -> java.lang.String: ... + def getExMarking(self) -> java.lang.String: ... + def getGasGroup(self) -> java.lang.String: ... + def getRequiredExProtection(self) -> java.lang.String: ... + def getTemperatureClass(self) -> java.lang.String: ... + def getZone(self) -> java.lang.String: ... + def setClassificationStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentProtectionLevel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGasGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRequiredExProtection(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setZone(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]: ... + +class Switchgear(java.io.Serializable): + def __init__(self): ... + def getCircuitBreakerRatingA(self) -> float: ... + def getEstimatedCostUSD(self) -> float: ... + def getFuseRatingA(self) -> float: ... + def getRatedCurrentA(self) -> float: ... + def getRatedVoltageV(self) -> float: ... + def getShortCircuitCurrentKA(self) -> float: ... + def getStarterType(self) -> java.lang.String: ... + def getSwitchgearType(self) -> java.lang.String: ... + def getWeightKg(self) -> float: ... + def setShortCircuitCurrentKA(self, double: float) -> None: ... + def setStarterType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def sizeSwitchgear(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class Transformer(java.io.Serializable): + def __init__(self): ... + def getCoolingType(self) -> java.lang.String: ... + def getEfficiencyPercent(self) -> float: ... + def getEstimatedCostUSD(self) -> float: ... + def getFrequencyHz(self) -> float: ... + def getImpedancePercent(self) -> float: ... + def getPrimaryVoltageV(self) -> float: ... + def getRatedPowerKVA(self) -> float: ... + def getSecondaryVoltageV(self) -> float: ... + def getTotalLossKW(self) -> float: ... + def getVectorGroup(self) -> java.lang.String: ... + def getWeightKg(self) -> float: ... + def setFrequencyHz(self, double: float) -> None: ... + def setPrimaryVoltageV(self, double: float) -> None: ... + def setRatedPowerKVA(self, double: float) -> None: ... + def setSecondaryVoltageV(self, double: float) -> None: ... + def setVectorGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... + def sizeTransformer(self, double: float, double2: float, double3: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class VariableFrequencyDrive(java.io.Serializable): + def __init__(self): ... + def getCoolingMethod(self) -> java.lang.String: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getEfficiencyPercent(self) -> float: ... + def getElectricalInputKW(self, double: float) -> float: ... + def getEnclosureRating(self) -> java.lang.String: ... + def getEstimatedCostUSD(self) -> float: ... + def getHeatDissipationKW(self) -> float: ... + def getInputPowerFactor(self) -> float: ... + def getInputVoltageV(self) -> float: ... + def getMaxOutputFrequencyHz(self) -> float: ... + def getMaxSpeedPercent(self) -> float: ... + def getMinOutputFrequencyHz(self) -> float: ... + def getMinSpeedPercent(self) -> float: ... + def getOutputVoltageV(self) -> float: ... + def getPulseConfiguration(self) -> java.lang.String: ... + def getRatedCurrentA(self) -> float: ... + def getRatedPowerKW(self) -> float: ... + def getThdCurrentPercent(self) -> float: ... + def getTopologyType(self) -> java.lang.String: ... + def getWeightKg(self) -> float: ... + def isHasActiveRectifier(self) -> bool: ... + def isRequiresInputFilter(self) -> bool: ... + def setCoolingMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEfficiencyPercent(self, double: float) -> None: ... + def setEnclosureRating(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHasActiveRectifier(self, boolean: bool) -> None: ... + def setInputPowerFactor(self, double: float) -> None: ... + def setInputVoltageV(self, double: float) -> None: ... + def setMaxOutputFrequencyHz(self, double: float) -> None: ... + def setMaxSpeedPercent(self, double: float) -> None: ... + def setMinOutputFrequencyHz(self, double: float) -> None: ... + def setMinSpeedPercent(self, double: float) -> None: ... + def setOutputVoltageV(self, double: float) -> None: ... + def setPulseConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedCurrentA(self, double: float) -> None: ... + def setRatedPowerKW(self, double: float) -> None: ... + def setRequiresInputFilter(self, boolean: bool) -> None: ... + def setThdCurrentPercent(self, double: float) -> None: ... + def setTopologyType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def sizeVFD(self, electricalMotor: ElectricalMotor) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.components")``. + + ElectricalCable: typing.Type[ElectricalCable] + ElectricalMotor: typing.Type[ElectricalMotor] + HazardousAreaClassification: typing.Type[HazardousAreaClassification] + Switchgear: typing.Type[Switchgear] + Transformer: typing.Type[Transformer] + VariableFrequencyDrive: typing.Type[VariableFrequencyDrive] diff --git a/src/jneqsim/process/electricaldesign/compressor/__init__.pyi b/src/jneqsim/process/electricaldesign/compressor/__init__.pyi new file mode 100644 index 00000000..b88473e0 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/compressor/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import typing + + + +class CompressorElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCoolingFanKW(self) -> float: ... + def getInstrumentationKW(self) -> float: ... + def getLubeOilHeaterKW(self) -> float: ... + def getLubeOilPumpKW(self) -> float: ... + def getSealGasSystemKW(self) -> float: ... + def getTotalAuxiliaryKW(self) -> float: ... + def getTotalConnectedLoadKW(self) -> float: ... + def isHasAirCooling(self) -> bool: ... + def isHasLubeOilSystem(self) -> bool: ... + def isHasSealGasSystem(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setHasAirCooling(self, boolean: bool) -> None: ... + def setHasLubeOilSystem(self, boolean: bool) -> None: ... + def setHasSealGasSystem(self, boolean: bool) -> None: ... + def setInstrumentationKW(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.compressor")``. + + CompressorElectricalDesign: typing.Type[CompressorElectricalDesign] diff --git a/src/jneqsim/process/electricaldesign/heatexchanger/__init__.pyi b/src/jneqsim/process/electricaldesign/heatexchanger/__init__.pyi new file mode 100644 index 00000000..9b36c960 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/heatexchanger/__init__.pyi @@ -0,0 +1,49 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import typing + + + +class HeatExchangerElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCoolingWaterPumpKW(self) -> float: ... + def getFanEfficiency(self) -> float: ... + def getHeatExchangerType(self) -> 'HeatExchangerElectricalDesign.HeatExchangerType': ... + def getInstrumentationKW(self) -> float: ... + def getNumberOfFans(self) -> int: ... + def getTotalAuxiliaryKW(self) -> float: ... + def getTotalConnectedLoadKW(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setCoolingWaterPumpKW(self, double: float) -> None: ... + def setFanEfficiency(self, double: float) -> None: ... + def setHeatExchangerType(self, heatExchangerType: 'HeatExchangerElectricalDesign.HeatExchangerType') -> None: ... + def setInstrumentationKW(self, double: float) -> None: ... + def setNumberOfFans(self, int: int) -> None: ... + class HeatExchangerType(java.lang.Enum['HeatExchangerElectricalDesign.HeatExchangerType']): + ELECTRIC_HEATER: typing.ClassVar['HeatExchangerElectricalDesign.HeatExchangerType'] = ... + AIR_COOLER: typing.ClassVar['HeatExchangerElectricalDesign.HeatExchangerType'] = ... + SHELL_AND_TUBE: typing.ClassVar['HeatExchangerElectricalDesign.HeatExchangerType'] = ... + _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]) -> 'HeatExchangerElectricalDesign.HeatExchangerType': ... + @staticmethod + def values() -> typing.MutableSequence['HeatExchangerElectricalDesign.HeatExchangerType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.heatexchanger")``. + + HeatExchangerElectricalDesign: typing.Type[HeatExchangerElectricalDesign] diff --git a/src/jneqsim/process/electricaldesign/loadanalysis/__init__.pyi b/src/jneqsim/process/electricaldesign/loadanalysis/__init__.pyi new file mode 100644 index 00000000..346bf458 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/loadanalysis/__init__.pyi @@ -0,0 +1,78 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class ElectricalLoadList(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addLoadItem(self, loadItem: 'LoadItem') -> None: ... + def calculateSummary(self) -> None: ... + def clear(self) -> None: ... + def getDesignMargin(self) -> float: ... + def getLoadCount(self) -> int: ... + def getLoadItems(self) -> java.util.List['LoadItem']: ... + def getMaximumDemandKVA(self) -> float: ... + def getMaximumDemandKW(self) -> float: ... + def getOverallPowerFactor(self) -> float: ... + def getProjectName(self) -> java.lang.String: ... + def getRequiredTransformerKVA(self) -> float: ... + def getTotalConnectedLoadKVA(self) -> float: ... + def getTotalConnectedLoadKW(self) -> float: ... + def getTotalReactivePowerKVAR(self) -> float: ... + def setDesignMargin(self, double: float) -> None: ... + def setProjectName(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]: ... + +class LoadItem(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def getAbsorbedPowerKW(self) -> float: ... + def getApparentPowerKVA(self) -> float: ... + def getDemandFactor(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getDiversityFactor(self) -> float: ... + def getLoadCategory(self) -> java.lang.String: ... + def getMaxDemandKVA(self) -> float: ... + def getMaxDemandKW(self) -> float: ... + def getPowerFactor(self) -> float: ... + def getRatedCurrentA(self) -> float: ... + def getRatedPowerKW(self) -> float: ... + def getRatedVoltageV(self) -> float: ... + def getTagNumber(self) -> java.lang.String: ... + def isContinuousDuty(self) -> bool: ... + def isHasVFD(self) -> bool: ... + def isSpare(self) -> bool: ... + def setAbsorbedPowerKW(self, double: float) -> None: ... + def setApparentPowerKVA(self, double: float) -> None: ... + def setContinuousDuty(self, boolean: bool) -> None: ... + def setDemandFactor(self, double: float) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDiversityFactor(self, double: float) -> None: ... + def setHasVFD(self, boolean: bool) -> None: ... + def setLoadCategory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPowerFactor(self, double: float) -> None: ... + def setRatedCurrentA(self, double: float) -> None: ... + def setRatedPowerKW(self, double: float) -> None: ... + def setRatedVoltageV(self, double: float) -> None: ... + def setSpare(self, boolean: bool) -> None: ... + def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.loadanalysis")``. + + ElectricalLoadList: typing.Type[ElectricalLoadList] + LoadItem: typing.Type[LoadItem] diff --git a/src/jneqsim/process/electricaldesign/pipeline/__init__.pyi b/src/jneqsim/process/electricaldesign/pipeline/__init__.pyi new file mode 100644 index 00000000..0227a9b0 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/pipeline/__init__.pyi @@ -0,0 +1,34 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import typing + + + +class PipelineElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCathodicProtectionKW(self) -> float: ... + def getHeatTracingWPerM(self) -> float: ... + def getInstrumentationKW(self) -> float: ... + def getTotalAuxiliaryKW(self) -> float: ... + def isHasCathodicProtection(self) -> bool: ... + def isHasHeatTracing(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setCathodicProtectionKW(self, double: float) -> None: ... + def setHasCathodicProtection(self, boolean: bool) -> None: ... + def setHasHeatTracing(self, boolean: bool) -> None: ... + def setHeatTracingWPerM(self, double: float) -> None: ... + def setInstrumentationKW(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.pipeline")``. + + PipelineElectricalDesign: typing.Type[PipelineElectricalDesign] diff --git a/src/jneqsim/process/electricaldesign/pump/__init__.pyi b/src/jneqsim/process/electricaldesign/pump/__init__.pyi new file mode 100644 index 00000000..c2f68a29 --- /dev/null +++ b/src/jneqsim/process/electricaldesign/pump/__init__.pyi @@ -0,0 +1,22 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import typing + + + +class PumpElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def readDesignSpecifications(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.pump")``. + + PumpElectricalDesign: typing.Type[PumpElectricalDesign] diff --git a/src/jneqsim/process/electricaldesign/separator/__init__.pyi b/src/jneqsim/process/electricaldesign/separator/__init__.pyi new file mode 100644 index 00000000..54c1cc8d --- /dev/null +++ b/src/jneqsim/process/electricaldesign/separator/__init__.pyi @@ -0,0 +1,36 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import typing + + + +class SeparatorElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getControlValvePowerKW(self) -> float: ... + def getHeatTracingKW(self) -> float: ... + def getInstrumentationKW(self) -> float: ... + def getLightingKW(self) -> float: ... + def getNumberOfControlValves(self) -> int: ... + def getTotalAuxiliaryKW(self) -> float: ... + def isHasHeatTracing(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setControlValvePowerKW(self, double: float) -> None: ... + def setHasHeatTracing(self, boolean: bool) -> None: ... + def setHeatTracingKW(self, double: float) -> None: ... + def setInstrumentationKW(self, double: float) -> None: ... + def setLightingKW(self, double: float) -> None: ... + def setNumberOfControlValves(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.separator")``. + + SeparatorElectricalDesign: typing.Type[SeparatorElectricalDesign] diff --git a/src/jneqsim/process/electricaldesign/system/__init__.pyi b/src/jneqsim/process/electricaldesign/system/__init__.pyi new file mode 100644 index 00000000..b3c522da --- /dev/null +++ b/src/jneqsim/process/electricaldesign/system/__init__.pyi @@ -0,0 +1,42 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import jneqsim.process.electricaldesign.loadanalysis +import jneqsim.process.processmodel +import typing + + + +class SystemElectricalDesign(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def calcDesign(self) -> None: ... + def getDistributionVoltageV(self) -> float: ... + def getEmergencyGeneratorKVA(self) -> float: ... + def getFrequencyHz(self) -> float: ... + def getFutureExpansionFraction(self) -> float: ... + def getLoadList(self) -> jneqsim.process.electricaldesign.loadanalysis.ElectricalLoadList: ... + def getMainBusVoltageV(self) -> float: ... + def getMainTransformerKVA(self) -> float: ... + def getOverallPowerFactor(self) -> float: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getTotalPlantLoadKW(self) -> float: ... + def getTotalProcessLoadKW(self) -> float: ... + def getUpsLoadKW(self) -> float: ... + def getUtilityLoadKW(self) -> float: ... + def setDistributionVoltageV(self, double: float) -> None: ... + def setFrequencyHz(self, double: float) -> None: ... + def setFutureExpansionFraction(self, double: float) -> None: ... + def setMainBusVoltageV(self, double: float) -> None: ... + def setUpsLoadKW(self, double: float) -> None: ... + def setUtilityLoadKW(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.system")``. + + SystemElectricalDesign: typing.Type[SystemElectricalDesign] diff --git a/src/jneqsim/process/equipment/__init__.pyi b/src/jneqsim/process/equipment/__init__.pyi new file mode 100644 index 00000000..02ae3d02 --- /dev/null +++ b/src/jneqsim/process/equipment/__init__.pyi @@ -0,0 +1,486 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process +import jneqsim.process.controllerdevice +import jneqsim.process.electricaldesign +import jneqsim.process.equipment.absorber +import jneqsim.process.equipment.adsorber +import jneqsim.process.equipment.battery +import jneqsim.process.equipment.blackoil +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.diffpressure +import jneqsim.process.equipment.distillation +import jneqsim.process.equipment.ejector +import jneqsim.process.equipment.electrolyzer +import jneqsim.process.equipment.expander +import jneqsim.process.equipment.failure +import jneqsim.process.equipment.filter +import jneqsim.process.equipment.flare +import jneqsim.process.equipment.heatexchanger +import jneqsim.process.equipment.iec81346 +import jneqsim.process.equipment.lng +import jneqsim.process.equipment.manifold +import jneqsim.process.equipment.membrane +import jneqsim.process.equipment.mixer +import jneqsim.process.equipment.network +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.powergeneration +import jneqsim.process.equipment.pump +import jneqsim.process.equipment.reactor +import jneqsim.process.equipment.reservoir +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.splitter +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.subsea +import jneqsim.process.equipment.tank +import jneqsim.process.equipment.util +import jneqsim.process.equipment.valve +import jneqsim.process.equipment.watertreatment +import jneqsim.process.equipment.well +import jneqsim.process.instrumentdesign +import jneqsim.process.mechanicaldesign +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class EquipmentEnum(java.lang.Enum['EquipmentEnum']): + Stream: typing.ClassVar['EquipmentEnum'] = ... + ThrottlingValve: typing.ClassVar['EquipmentEnum'] = ... + Compressor: typing.ClassVar['EquipmentEnum'] = ... + Pump: typing.ClassVar['EquipmentEnum'] = ... + Separator: typing.ClassVar['EquipmentEnum'] = ... + GasScrubber: typing.ClassVar['EquipmentEnum'] = ... + HeatExchanger: typing.ClassVar['EquipmentEnum'] = ... + Cooler: typing.ClassVar['EquipmentEnum'] = ... + Heater: typing.ClassVar['EquipmentEnum'] = ... + Mixer: typing.ClassVar['EquipmentEnum'] = ... + Splitter: typing.ClassVar['EquipmentEnum'] = ... + Reactor: typing.ClassVar['EquipmentEnum'] = ... + GibbsReactor: typing.ClassVar['EquipmentEnum'] = ... + PlugFlowReactor: typing.ClassVar['EquipmentEnum'] = ... + StirredTankReactor: typing.ClassVar['EquipmentEnum'] = ... + CatalyticTubeReformer: typing.ClassVar['EquipmentEnum'] = ... + ReformerFurnace: typing.ClassVar['EquipmentEnum'] = ... + SyngasBurnerZone: typing.ClassVar['EquipmentEnum'] = ... + AutothermalReformer: typing.ClassVar['EquipmentEnum'] = ... + PartialOxidationReactor: typing.ClassVar['EquipmentEnum'] = ... + QuenchSection: typing.ClassVar['EquipmentEnum'] = ... + WaterGasShiftReactor: typing.ClassVar['EquipmentEnum'] = ... + Column: typing.ClassVar['EquipmentEnum'] = ... + DistillationColumn: typing.ClassVar['EquipmentEnum'] = ... + ThreePhaseSeparator: typing.ClassVar['EquipmentEnum'] = ... + Recycle: typing.ClassVar['EquipmentEnum'] = ... + Ejector: typing.ClassVar['EquipmentEnum'] = ... + GORfitter: typing.ClassVar['EquipmentEnum'] = ... + Adjuster: typing.ClassVar['EquipmentEnum'] = ... + SetPoint: typing.ClassVar['EquipmentEnum'] = ... + FlowRateAdjuster: typing.ClassVar['EquipmentEnum'] = ... + Calculator: typing.ClassVar['EquipmentEnum'] = ... + SpreadsheetBlock: typing.ClassVar['EquipmentEnum'] = ... + UnisimCalculator: typing.ClassVar['EquipmentEnum'] = ... + Expander: typing.ClassVar['EquipmentEnum'] = ... + SimpleTEGAbsorber: typing.ClassVar['EquipmentEnum'] = ... + Tank: typing.ClassVar['EquipmentEnum'] = ... + ComponentSplitter: typing.ClassVar['EquipmentEnum'] = ... + ComponentCaptureUnit: typing.ClassVar['EquipmentEnum'] = ... + ReservoirCVDsim: typing.ClassVar['EquipmentEnum'] = ... + ReservoirDiffLibsim: typing.ClassVar['EquipmentEnum'] = ... + VirtualStream: typing.ClassVar['EquipmentEnum'] = ... + ReservoirTPsim: typing.ClassVar['EquipmentEnum'] = ... + SimpleReservoir: typing.ClassVar['EquipmentEnum'] = ... + Manifold: typing.ClassVar['EquipmentEnum'] = ... + Flare: typing.ClassVar['EquipmentEnum'] = ... + FlareStack: typing.ClassVar['EquipmentEnum'] = ... + FuelCell: typing.ClassVar['EquipmentEnum'] = ... + CO2Electrolyzer: typing.ClassVar['EquipmentEnum'] = ... + Electrolyzer: typing.ClassVar['EquipmentEnum'] = ... + WindTurbine: typing.ClassVar['EquipmentEnum'] = ... + BatteryStorage: typing.ClassVar['EquipmentEnum'] = ... + SolarPanel: typing.ClassVar['EquipmentEnum'] = ... + WindFarm: typing.ClassVar['EquipmentEnum'] = ... + OffshoreEnergySystem: typing.ClassVar['EquipmentEnum'] = ... + AmmoniaSynthesisReactor: typing.ClassVar['EquipmentEnum'] = ... + SubseaPowerCable: typing.ClassVar['EquipmentEnum'] = ... + AdiabaticPipe: typing.ClassVar['EquipmentEnum'] = ... + PipeBeggsAndBrills: typing.ClassVar['EquipmentEnum'] = ... + WaterHammerPipe: typing.ClassVar['EquipmentEnum'] = ... + StreamSaturatorUtil: typing.ClassVar['EquipmentEnum'] = ... + def toString(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]) -> 'EquipmentEnum': ... + @staticmethod + def values() -> typing.MutableSequence['EquipmentEnum']: ... + +class EquipmentFactory: + @staticmethod + def createCompressor(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> jneqsim.process.equipment.compressor.Compressor: ... + @staticmethod + def createCooler(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.heatexchanger.Cooler: ... + @staticmethod + def createEjector(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.ejector.Ejector: ... + @typing.overload + @staticmethod + def createEquipment(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEquipmentInterface': ... + @typing.overload + @staticmethod + def createEquipment(string: typing.Union[java.lang.String, str], equipmentEnum: EquipmentEnum) -> 'ProcessEquipmentInterface': ... + @staticmethod + def createExpander(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> jneqsim.process.equipment.expander.Expander: ... + @staticmethod + def createGORfitter(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.util.GORfitter: ... + @staticmethod + def createHeater(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.heatexchanger.Heater: ... + @staticmethod + def createMixer(string: typing.Union[java.lang.String, str], *streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.mixer.Mixer: ... + @staticmethod + def createPump(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> jneqsim.process.equipment.pump.Pump: ... + @staticmethod + def createReservoirCVDsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirCVDsim: ... + @staticmethod + def createReservoirDiffLibsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirDiffLibsim: ... + @staticmethod + def createReservoirTPsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirTPsim: ... + @staticmethod + def createSeparator(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.separator.Separator: ... + @staticmethod + def createStream(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], double3: float, string4: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.Stream: ... + @staticmethod + def createThreePhaseSeparator(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... + @staticmethod + def createValve(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + +class ProcessEquipmentInterface(jneqsim.process.ProcessElementInterface, jneqsim.process.SimulationInterface): + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addController(self, string: typing.Union[java.lang.String, str], controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def applyMechanicalDesignCapacityConstraints(self) -> int: ... + @staticmethod + def createStateEntry(double: float, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.Any]: ... + def displayResult(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getAvailableMargin(self) -> float: ... + def getAvailableMarginPercent(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getConditionAnalysisMessage(self) -> java.lang.String: ... + @typing.overload + def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + @typing.overload + def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getControllers(self) -> java.util.Collection[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.ElectricalDesign: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyDestruction(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.InstrumentDesign: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMaxUtilizationPercent(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMinimumFlow(self) -> float: ... + def getOperatingEnvelopeViolation(self) -> java.lang.String: ... + def getOutletFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReferenceDesignation(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... + def getReferenceDesignationString(self) -> java.lang.String: ... + def getReport_json(self) -> java.lang.String: ... + def getRestCapacity(self) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSimulationValidationErrors(self) -> java.util.List[java.lang.String]: ... + def getSpecification(self) -> java.lang.String: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def hashCode(self) -> int: ... + def initElectricalDesign(self) -> None: ... + def initInstrumentDesign(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + @typing.overload + def isActive(self) -> bool: ... + @typing.overload + def isActive(self, boolean: bool) -> None: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isLockedInactive(self) -> bool: ... + def isNearCapacityLimit(self) -> bool: ... + def isSimulationValid(self) -> bool: ... + def isWithinOperatingEnvelope(self) -> bool: ... + def needRecalculation(self) -> bool: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def runConditionAnalysis(self, processEquipmentInterface: 'ProcessEquipmentInterface') -> None: ... + def setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def setLockedInactive(self, boolean: bool) -> None: ... + def setMinimumFlow(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setReferenceDesignation(self, referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation) -> None: ... + def setRegulatorOutSignal(self, double: float) -> None: ... + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class TwoPortInterface: + def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletPressure(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletTemperature(self) -> float: ... + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletPressure(self) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletTemperature(self) -> float: ... + def setInletPressure(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutPressure(self, double: float) -> None: ... + @typing.overload + def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface): + hasController: bool = ... + report: typing.MutableSequence[typing.MutableSequence[java.lang.String]] = ... + properties: java.util.HashMap = ... + energyStream: jneqsim.process.equipment.stream.EnergyStream = ... + conditionAnalysisMessage: java.lang.String = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addController(self, string: typing.Union[java.lang.String, str], controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def applyMechanicalDesignCapacityConstraints(self) -> int: ... + def copy(self) -> ProcessEquipmentInterface: ... + def displayResult(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getAvailableMargin(self) -> float: ... + def getAvailableMarginPercent(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getConditionAnalysisMessage(self) -> java.lang.String: ... + def getConstraintEvaluationReport(self) -> java.lang.String: ... + @typing.overload + def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + @typing.overload + def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getControllers(self) -> java.util.Collection[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... + def getEffectiveCapacityFactor(self) -> float: ... + def getEnergyStream(self) -> jneqsim.process.equipment.stream.EnergyStream: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMaxUtilizationPercent(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMinimumFlow(self) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getReferenceDesignation(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... + def getReport_json(self) -> java.lang.String: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSpecification(self) -> java.lang.String: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def hashCode(self) -> int: ... + def initElectricalDesign(self) -> None: ... + def initInstrumentDesign(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + @typing.overload + def isActive(self) -> bool: ... + @typing.overload + def isActive(self, boolean: bool) -> None: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isFailed(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isLockedInactive(self) -> bool: ... + def isNearCapacityLimit(self) -> bool: ... + def isSetEnergyStream(self) -> bool: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def restoreFromFailure(self) -> None: ... + def runConditionAnalysis(self, processEquipmentInterface: ProcessEquipmentInterface) -> None: ... + @typing.overload + def run_step(self) -> None: ... + @typing.overload + def run_step(self, uUID: java.util.UUID) -> None: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + @typing.overload + def setEnergyStream(self, boolean: bool) -> None: ... + @typing.overload + def setEnergyStream(self, energyStream: jneqsim.process.equipment.stream.EnergyStream) -> None: ... + def setFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + def setFlowValveController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def setLockedInactive(self, boolean: bool) -> None: ... + def setMinimumFlow(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setReferenceDesignation(self, referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation) -> None: ... + def setRegulatorOutSignal(self, double: float) -> None: ... + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature(self, double: float) -> None: ... + def simulateDegradedOperation(self, double: float) -> None: ... + def simulateTrip(self) -> None: ... + def solved(self) -> bool: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class MultiPortEquipment(ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + +class TwoPortEquipment(ProcessEquipmentBaseClass, TwoPortInterface): + @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 getInletPressure(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletTemperature(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def setInletPressure(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment")``. + + EquipmentEnum: typing.Type[EquipmentEnum] + EquipmentFactory: typing.Type[EquipmentFactory] + MultiPortEquipment: typing.Type[MultiPortEquipment] + ProcessEquipmentBaseClass: typing.Type[ProcessEquipmentBaseClass] + ProcessEquipmentInterface: typing.Type[ProcessEquipmentInterface] + TwoPortEquipment: typing.Type[TwoPortEquipment] + TwoPortInterface: typing.Type[TwoPortInterface] + absorber: jneqsim.process.equipment.absorber.__module_protocol__ + adsorber: jneqsim.process.equipment.adsorber.__module_protocol__ + battery: jneqsim.process.equipment.battery.__module_protocol__ + blackoil: jneqsim.process.equipment.blackoil.__module_protocol__ + capacity: jneqsim.process.equipment.capacity.__module_protocol__ + compressor: jneqsim.process.equipment.compressor.__module_protocol__ + diffpressure: jneqsim.process.equipment.diffpressure.__module_protocol__ + distillation: jneqsim.process.equipment.distillation.__module_protocol__ + ejector: jneqsim.process.equipment.ejector.__module_protocol__ + electrolyzer: jneqsim.process.equipment.electrolyzer.__module_protocol__ + expander: jneqsim.process.equipment.expander.__module_protocol__ + failure: jneqsim.process.equipment.failure.__module_protocol__ + filter: jneqsim.process.equipment.filter.__module_protocol__ + flare: jneqsim.process.equipment.flare.__module_protocol__ + heatexchanger: jneqsim.process.equipment.heatexchanger.__module_protocol__ + iec81346: jneqsim.process.equipment.iec81346.__module_protocol__ + lng: jneqsim.process.equipment.lng.__module_protocol__ + manifold: jneqsim.process.equipment.manifold.__module_protocol__ + membrane: jneqsim.process.equipment.membrane.__module_protocol__ + mixer: jneqsim.process.equipment.mixer.__module_protocol__ + network: jneqsim.process.equipment.network.__module_protocol__ + pipeline: jneqsim.process.equipment.pipeline.__module_protocol__ + powergeneration: jneqsim.process.equipment.powergeneration.__module_protocol__ + pump: jneqsim.process.equipment.pump.__module_protocol__ + reactor: jneqsim.process.equipment.reactor.__module_protocol__ + reservoir: jneqsim.process.equipment.reservoir.__module_protocol__ + separator: jneqsim.process.equipment.separator.__module_protocol__ + splitter: jneqsim.process.equipment.splitter.__module_protocol__ + stream: jneqsim.process.equipment.stream.__module_protocol__ + subsea: jneqsim.process.equipment.subsea.__module_protocol__ + tank: jneqsim.process.equipment.tank.__module_protocol__ + util: jneqsim.process.equipment.util.__module_protocol__ + valve: jneqsim.process.equipment.valve.__module_protocol__ + watertreatment: jneqsim.process.equipment.watertreatment.__module_protocol__ + well: jneqsim.process.equipment.well.__module_protocol__ diff --git a/src/jneqsim/process/equipment/absorber/__init__.pyi b/src/jneqsim/process/equipment/absorber/__init__.pyi new file mode 100644 index 00000000..6c99575d --- /dev/null +++ b/src/jneqsim/process/equipment/absorber/__init__.pyi @@ -0,0 +1,367 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.absorber +import jneqsim.process.util.report +import typing + + + +class AbsorberInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + def setAproachToEquilibrium(self, double: float) -> None: ... + +class H2SScavenger(jneqsim.process.equipment.TwoPortEquipment): + @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 calculateHourlyCost(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateRequiredInjectionRate(self) -> float: ... + def getActualScavengerConsumption(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getContactTime(self) -> float: ... + def getH2SRemovalEfficiency(self) -> float: ... + def getH2SRemovalEfficiencyPercent(self) -> float: ... + def getH2SRemoved(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInletH2SConcentration(self) -> float: ... + def getMixingEfficiency(self) -> float: ... + def getOutletH2SConcentration(self) -> float: ... + def getPerformanceSummary(self) -> java.lang.String: ... + def getScavengerConcentration(self) -> float: ... + def getScavengerExcess(self) -> float: ... + def getScavengerInjectionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getScavengerType(self) -> 'H2SScavenger.ScavengerType': ... + def getTargetH2SConcentration(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setContactTime(self, double: float) -> None: ... + def setMixingEfficiency(self, double: float) -> None: ... + def setScavengerConcentration(self, double: float) -> None: ... + def setScavengerInjectionRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setScavengerType(self, scavengerType: 'H2SScavenger.ScavengerType') -> None: ... + def setTargetH2SConcentration(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 H2SScavengerResponse: + name: java.lang.String = ... + scavengerType: java.lang.String = ... + injectionRate: float = ... + injectionRateUnit: java.lang.String = ... + concentration: float = ... + inletH2Sppm: float = ... + outletH2Sppm: float = ... + removalEfficiencyPercent: float = ... + h2sRemovedKgPerHr: float = ... + scavengerConsumptionKgPerHr: float = ... + scavengerExcessPercent: float = ... + def __init__(self, h2SScavenger: 'H2SScavenger'): ... + class ScavengerType(java.lang.Enum['H2SScavenger.ScavengerType']): + TRIAZINE: typing.ClassVar['H2SScavenger.ScavengerType'] = ... + GLYOXAL: typing.ClassVar['H2SScavenger.ScavengerType'] = ... + IRON_SPONGE: typing.ClassVar['H2SScavenger.ScavengerType'] = ... + CAUSTIC: typing.ClassVar['H2SScavenger.ScavengerType'] = ... + LIQUID_REDOX: typing.ClassVar['H2SScavenger.ScavengerType'] = ... + def getBaseEfficiency(self) -> float: ... + def getBaseStoichiometry(self) -> float: ... + def getDensity(self) -> float: ... + def getDisplayName(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]) -> 'H2SScavenger.ScavengerType': ... + @staticmethod + def values() -> typing.MutableSequence['H2SScavenger.ScavengerType']: ... + +class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInterface): + @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 displayResult(self) -> None: ... + def getFsFactor(self) -> float: ... + def getHTU(self) -> float: ... + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInTemperature(self, int: int) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign: ... + def getNTU(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getNumberOfTheoreticalStages(self) -> float: ... + @typing.overload + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutTemperature(self, int: int) -> float: ... + @typing.overload + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self, int: int) -> float: ... + def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStageEfficiency(self) -> float: ... + def getWettingRate(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAproachToEquilibrium(self, double: float) -> None: ... + def setHTU(self, double: float) -> None: ... + def setNTU(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setNumberOfTheoreticalStages(self, double: float) -> None: ... + def setOutTemperature(self, double: float) -> None: ... + def setOutletTemperature(self, double: float) -> None: ... + def setStageEfficiency(self, double: float) -> None: ... + def setdT(self, double: float) -> None: ... + +class RateBasedAbsorber(SimpleAbsorber): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def getColumnDiameter(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeightOfTransferUnit(self) -> float: ... + def getMassTransferModel(self) -> 'RateBasedAbsorber.MassTransferModel': ... + def getNumberOfTransferUnits(self) -> float: ... + def getOverallKGa(self) -> float: ... + def getOverallKLa(self) -> float: ... + def getPackedHeight(self) -> float: ... + def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStageResults(self) -> java.util.List['RateBasedAbsorber.StageResult']: ... + def getWettedArea(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBilletSchultesConstants(self, double: float, double2: float) -> None: ... + def setColumnDiameter(self, double: float) -> None: ... + def setEnhancementModel(self, enhancementModel: 'RateBasedAbsorber.EnhancementModel') -> None: ... + def setMassTransferModel(self, massTransferModel: 'RateBasedAbsorber.MassTransferModel') -> None: ... + def setPackedHeight(self, double: float) -> None: ... + def setPackingCriticalSurfaceTension(self, double: float) -> None: ... + def setPackingNominalSize(self, double: float) -> None: ... + def setPackingSpecificArea(self, double: float) -> None: ... + def setPackingVoidFraction(self, double: float) -> None: ... + def setReactionRateConstant(self, double: float) -> None: ... + def setStoichiometricRatio(self, double: float) -> None: ... + class EnhancementModel(java.lang.Enum['RateBasedAbsorber.EnhancementModel']): + NONE: typing.ClassVar['RateBasedAbsorber.EnhancementModel'] = ... + HATTA_PSEUDO_FIRST_ORDER: typing.ClassVar['RateBasedAbsorber.EnhancementModel'] = ... + VAN_KREVELEN_HOFTIJZER: typing.ClassVar['RateBasedAbsorber.EnhancementModel'] = ... + _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]) -> 'RateBasedAbsorber.EnhancementModel': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedAbsorber.EnhancementModel']: ... + class MassTransferModel(java.lang.Enum['RateBasedAbsorber.MassTransferModel']): + ONDA_1968: typing.ClassVar['RateBasedAbsorber.MassTransferModel'] = ... + BILLET_SCHULTES_1999: typing.ClassVar['RateBasedAbsorber.MassTransferModel'] = ... + _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]) -> 'RateBasedAbsorber.MassTransferModel': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedAbsorber.MassTransferModel']: ... + class StageResult(java.io.Serializable): + stageNumber: int = ... + temperature: float = ... + pressure: float = ... + kGa: float = ... + kLa: float = ... + wettedArea: float = ... + enhancementFactor: float = ... + molesTransferred: float = ... + def __init__(self): ... + def getEnhancementFactor(self) -> float: ... + def getKGa(self) -> float: ... + def getKLa(self) -> float: ... + def getMolesTransferred(self) -> float: ... + def getPressure(self) -> float: ... + def getStageNumber(self) -> int: ... + def getTemperature(self) -> float: ... + def getWettedArea(self) -> float: ... + +class SimpleAmineAbsorber(SimpleAbsorber): + @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 calcDemisterKFactor(self, double: float, double2: float, double3: float) -> float: ... + def calcPackingHeight(self, double: float, double2: float) -> None: ... + def calcRequiredCirculationRate(self, double: float, double2: float, double3: float) -> float: ... + def calcRichAmineLoading(self, double: float) -> float: ... + def checkAmineTemperatureMargin(self, double: float, double2: float) -> bool: ... + def getAmineConcentrationWtPct(self) -> float: ... + def getAmineTemperatureMarginC(self) -> float: ... + def getAmineType(self) -> java.lang.String: ... + def getApproachToEquilibrium(self) -> float: ... + def getCO2RemovalEfficiency(self) -> float: ... + def getCalculatedDemisterKFactor(self) -> float: ... + def getDesignSummary(self) -> java.lang.String: ... + def getEffectiveGasCapacityWithFoamingMargin(self, double: float) -> float: ... + def getFoamingDesignMargin(self) -> float: ... + def getGasCarryUnder(self) -> float: ... + def getH2SRemovalEfficiency(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLeanAmineInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLeanAmineLoading(self) -> float: ... + def getMaxDemisterKFactor(self) -> float: ... + def getMaxPackingHeightPerSection(self) -> float: ... + def getNumberOfPackingSections(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getRequiredCirculationRate(self) -> float: ... + def getRequiredPackingHeight(self) -> float: ... + def getRichAmineLoading(self) -> float: ... + def getRichAmineOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSourGasInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSweetGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def isAmineTemperatureAdequate(self) -> bool: ... + def isDemisterWithinLimit(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAmineConcentrationWtPct(self, double: float) -> None: ... + def setAmineTemperatureMarginC(self, double: float) -> None: ... + def setAmineType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setApproachToEquilibrium(self, double: float) -> None: ... + def setCO2RemovalEfficiency(self, double: float) -> None: ... + def setFoamingDesignMargin(self, double: float) -> None: ... + def setGasCarryUnder(self, double: float) -> None: ... + def setH2SRemovalEfficiency(self, double: float) -> None: ... + def setLeanAmineInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLeanAmineLoading(self, double: float) -> None: ... + def setMaxPackingHeightPerSection(self, double: float) -> None: ... + def setSourGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def validateDesign(self) -> java.util.Map[java.lang.String, 'SimpleAmineAbsorber.DesignCheck']: ... + class DesignCheck(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool, string2: typing.Union[java.lang.String, str]): ... + def getDetail(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def isPassed(self) -> bool: ... + +class SimpleTEGAbsorber(SimpleAbsorber): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcEa(self) -> float: ... + def calcMixStreamEnthalpy(self) -> float: ... + def calcNTU(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calcNumberOfTheoreticalStages(self) -> float: ... + def calcY0(self) -> float: ... + def displayResult(self) -> None: ... + def getFsFactor(self) -> float: ... + def getFsFactorUtilization(self) -> float: ... + def getGasInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getGasLoadFactor(self) -> float: ... + @typing.overload + def getGasLoadFactor(self, int: int) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLeanTEGEquilibriumWaterDewPoint(self) -> float: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMaxAllowableFsFactor(self) -> float: ... + def getMinimumDiameterForFsLimit(self) -> float: ... + @typing.overload + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def guessTemperature(self) -> float: ... + def hasAdequateTEGQualityMargin(self, double: float, double2: float) -> bool: ... + def isFsFactorWithinDesignLimit(self) -> bool: ... + def isSetWaterInDryGas(self, boolean: bool) -> None: ... + def mixStream(self) -> None: ... + def replaceSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setGasOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setPressure(self, double: float) -> None: ... + def setSolventOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setWaterInDryGas(self, double: float) -> None: ... + def validateContactorDesign(self) -> java.lang.String: ... + +class WaterStripperColumn(SimpleAbsorber): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcEa(self) -> float: ... + def calcMixStreamEnthalpy(self) -> float: ... + def calcNTU(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calcNumberOfTheoreticalStages(self) -> float: ... + def calcX0(self) -> float: ... + def displayResult(self) -> None: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getWaterDewPointTemperature(self) -> float: ... + def guessTemperature(self) -> float: ... + def mixStream(self) -> None: ... + def replaceSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setGasOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setPressure(self, double: float) -> None: ... + def setSolventOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setWaterDewPointTemperature(self, double: float, double2: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.absorber")``. + + AbsorberInterface: typing.Type[AbsorberInterface] + H2SScavenger: typing.Type[H2SScavenger] + RateBasedAbsorber: typing.Type[RateBasedAbsorber] + SimpleAbsorber: typing.Type[SimpleAbsorber] + SimpleAmineAbsorber: typing.Type[SimpleAmineAbsorber] + SimpleTEGAbsorber: typing.Type[SimpleTEGAbsorber] + WaterStripperColumn: typing.Type[WaterStripperColumn] diff --git a/src/jneqsim/process/equipment/adsorber/__init__.pyi b/src/jneqsim/process/equipment/adsorber/__init__.pyi new file mode 100644 index 00000000..33993329 --- /dev/null +++ b/src/jneqsim/process/equipment/adsorber/__init__.pyi @@ -0,0 +1,325 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.physicalproperties.interfaceproperties.solidadsorption +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.adsorber +import jneqsim.process.util.report +import jneqsim.util.validation +import typing + + + +class AdsorptionBed(jneqsim.process.equipment.TwoPortEquipment): + @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 getAdsorbentBulkDensity(self) -> float: ... + def getAdsorbentMass(self) -> float: ... + def getAdsorbentMaterial(self) -> java.lang.String: ... + def getAverageLoading(self, int: int) -> float: ... + def getBedDiameter(self) -> float: ... + def getBedLength(self) -> float: ... + def getBedUtilization(self, int: int) -> float: ... + def getBedVolume(self) -> float: ... + def getBreakthroughTime(self) -> float: ... + def getConcentrationProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getCurrentPhase(self) -> 'AdsorptionCycleController.CyclePhase': ... + def getElapsedTime(self) -> float: ... + def getIsothermModel(self) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface: ... + def getIsothermType(self) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType: ... + def getKLDF(self, int: int) -> float: ... + def getLoadingProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getMassTransferZoneLength(self, int: int) -> float: ... + def getNumberOfCells(self) -> int: ... + def getParticleDiameter(self) -> float: ... + def getParticlePorosity(self) -> float: ... + @typing.overload + def getPressureDrop(self) -> float: ... + @typing.overload + def getPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVoidFraction(self) -> float: ... + def initialiseTransientGrid(self) -> None: ... + def isBreakthroughOccurred(self) -> bool: ... + def isDesorptionMode(self) -> bool: ... + def preloadBed(self, double: float, int: int) -> None: ... + def resetBed(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 setAdsorbentBulkDensity(self, double: float) -> None: ... + def setAdsorbentMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBedDiameter(self, double: float) -> None: ... + def setBedLength(self, double: float) -> None: ... + def setBreakthroughThreshold(self, double: float) -> None: ... + def setCalculatePressureDrop(self, boolean: bool) -> None: ... + def setDesorptionMode(self, boolean: bool) -> None: ... + def setDesorptionPressure(self, double: float) -> None: ... + def setDesorptionTemperature(self, double: float) -> None: ... + def setIsothermType(self, isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType) -> None: ... + @typing.overload + def setKLDF(self, double: float) -> None: ... + @typing.overload + def setKLDF(self, int: int, double: float) -> None: ... + def setNumberOfCells(self, int: int) -> None: ... + def setParticleDiameter(self, double: float) -> None: ... + def setParticlePorosity(self, double: float) -> None: ... + def setPurgeFlowRate(self, double: float) -> None: ... + def setVoidFraction(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: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class AdsorptionCycleController(java.io.Serializable): + def __init__(self, adsorptionBed: AdsorptionBed): ... + def addStep(self, phaseStep: 'AdsorptionCycleController.PhaseStep') -> 'AdsorptionCycleController': ... + def advance(self, double: float, uUID: java.util.UUID) -> None: ... + def configurePSA(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'AdsorptionCycleController': ... + def configureTSA(self, double: float, double2: float, double3: float, double4: float) -> 'AdsorptionCycleController': ... + def getCompletedCycles(self) -> int: ... + def getCurrentPhase(self) -> 'AdsorptionCycleController.CyclePhase': ... + def getSchedule(self) -> java.util.List['AdsorptionCycleController.PhaseStep']: ... + def getTimeInCurrentStep(self) -> float: ... + def reset(self) -> None: ... + def setAutoLoop(self, boolean: bool) -> None: ... + def setTransitionOnBreakthrough(self, boolean: bool) -> None: ... + class CyclePhase(java.lang.Enum['AdsorptionCycleController.CyclePhase']): + ADSORPTION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + COCURRENT_DEPRESSURISATION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + BLOWDOWN: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + PURGE: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + REPRESSURISATION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + DESORPTION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + COOLING: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + STANDBY: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... + _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]) -> 'AdsorptionCycleController.CyclePhase': ... + @staticmethod + def values() -> typing.MutableSequence['AdsorptionCycleController.CyclePhase']: ... + class PhaseStep(java.io.Serializable): + @typing.overload + def __init__(self, cyclePhase: 'AdsorptionCycleController.CyclePhase', double: float): ... + @typing.overload + def __init__(self, cyclePhase: 'AdsorptionCycleController.CyclePhase', double: float, double2: float, double3: float): ... + def getDuration(self) -> float: ... + def getPhase(self) -> 'AdsorptionCycleController.CyclePhase': ... + def getTargetPressure(self) -> float: ... + def getTargetTemperature(self) -> float: ... + +class MercuryRemovalBed(jneqsim.process.equipment.TwoPortEquipment): + @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 estimateBedLifetime(self) -> float: ... + def getActivationEnergy(self) -> float: ... + def getAverageLoading(self) -> float: ... + def getBedDiameter(self) -> float: ... + def getBedLength(self) -> float: ... + def getBedUtilisation(self) -> float: ... + def getBedVolume(self) -> float: ... + def getBreakthroughTimeHours(self) -> float: ... + def getBypassFraction(self) -> float: ... + def getConcentrationProfile(self) -> typing.MutableSequence[float]: ... + def getDegradationFactor(self) -> float: ... + def getElapsedTimeHours(self) -> float: ... + def getLoadingProfile(self) -> typing.MutableSequence[float]: ... + def getMassTransferZoneLength(self) -> float: ... + def getMaxMercuryCapacity(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.adsorber.MercuryRemovalMechanicalDesign: ... + def getNumberOfCells(self) -> int: ... + def getParticleDiameter(self) -> float: ... + @typing.overload + def getPressureDrop(self) -> float: ... + @typing.overload + def getPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReactionRateConstant(self) -> float: ... + def getReferenceTemperature(self) -> float: ... + def getRemovalEfficiency(self) -> float: ... + def getReplacementUtilisation(self) -> float: ... + def getSorbentBulkDensity(self) -> float: ... + def getSorbentMass(self) -> float: ... + def getSorbentType(self) -> java.lang.String: ... + def getVoidFraction(self) -> float: ... + def initialiseTransientGrid(self) -> None: ... + def isBreakthroughOccurred(self) -> bool: ... + def preloadBed(self, double: float) -> None: ... + def resetBed(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 setActivationEnergy(self, double: float) -> None: ... + def setBedDiameter(self, double: float) -> None: ... + def setBedLength(self, double: float) -> None: ... + def setBreakthroughThreshold(self, double: float) -> None: ... + def setBypassFraction(self, double: float) -> None: ... + def setCalculatePressureDrop(self, boolean: bool) -> None: ... + def setDegradationFactor(self, double: float) -> None: ... + def setMaxMercuryCapacity(self, double: float) -> None: ... + def setNumberOfCells(self, int: int) -> None: ... + def setParticleDiameter(self, double: float) -> None: ... + def setReactionRateConstant(self, double: float) -> None: ... + def setReferenceTemperature(self, double: float) -> None: ... + def setReplacementUtilisation(self, double: float) -> None: ... + def setSorbentBulkDensity(self, double: float) -> None: ... + def setSorbentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVoidFraction(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: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class PSACascade(jneqsim.process.equipment.TwoPortEquipment): + @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 getCascadeRecoveryTarget(self) -> float: ... + def getConfiguration(self) -> 'PSACascade.CascadeConfiguration': ... + def getCycleTime(self) -> float: ... + def getH2Purity(self) -> float: ... + def getH2Recovery(self) -> float: ... + def getNumberOfBeds(self) -> int: ... + def getPerBedRecoveryTarget(self) -> float: ... + def getSorbent(self) -> 'PressureSwingAdsorptionBed.SorbentType': ... + def getTailGasStream(self) -> jneqsim.process.equipment.stream.Stream: ... + def getTemplateBed(self) -> 'PressureSwingAdsorptionBed': ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBedDiameter(self, double: float) -> None: ... + def setBedLength(self, double: float) -> None: ... + def setConfiguration(self, cascadeConfiguration: 'PSACascade.CascadeConfiguration') -> None: ... + def setCycleTime(self, double: float) -> None: ... + def setPerBedRecoveryTarget(self, double: float) -> None: ... + def setSorbent(self, sorbentType: 'PressureSwingAdsorptionBed.SorbentType') -> None: ... + class CascadeConfiguration(java.lang.Enum['PSACascade.CascadeConfiguration']): + BEDS_2: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + BEDS_4: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + BEDS_6: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + BEDS_8: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + BEDS_10: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + BEDS_12: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + def getBeds(self) -> int: ... + def getEqualisations(self) -> int: ... + def getRecoveryUplift(self) -> float: ... + _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]) -> 'PSACascade.CascadeConfiguration': ... + @staticmethod + def values() -> typing.MutableSequence['PSACascade.CascadeConfiguration']: ... + +class SimpleAdsorber(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 displayResult(self) -> None: ... + def getHTU(self) -> float: ... + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInTemperature(self, int: int) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.adsorber.AdsorberMechanicalDesign: ... + def getNTU(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getNumberOfTheoreticalStages(self) -> float: ... + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutTemperature(self, int: int) -> float: ... + def getOutletStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self, int: int) -> float: ... + def getStageEfficiency(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAproachToEquilibrium(self, double: float) -> None: ... + def setHTU(self, double: float) -> None: ... + def setNTU(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setNumberOfTheoreticalStages(self, double: float) -> None: ... + def setOutTemperature(self, double: float) -> None: ... + def setOutletTemperature(self, double: float) -> None: ... + def setStageEfficiency(self, double: float) -> None: ... + def setdT(self, double: float) -> None: ... + +class PressureSwingAdsorptionBed(AdsorptionBed): + @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 getH2Purity(self) -> float: ... + def getH2Recovery(self) -> float: ... + def getRecoveryTarget(self) -> float: ... + def getSorbent(self) -> 'PressureSwingAdsorptionBed.SorbentType': ... + def getTailGasComposition(self) -> typing.MutableSequence[float]: ... + def getTailGasMoleFlow(self) -> typing.MutableSequence[float]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setRecoveryTarget(self, double: float) -> None: ... + def setSorbent(self, sorbentType: 'PressureSwingAdsorptionBed.SorbentType') -> None: ... + class SorbentType(java.lang.Enum['PressureSwingAdsorptionBed.SorbentType']): + ACTIVATED_CARBON: typing.ClassVar['PressureSwingAdsorptionBed.SorbentType'] = ... + ZEOLITE_13X: typing.ClassVar['PressureSwingAdsorptionBed.SorbentType'] = ... + def getDefaultBulkDensity(self) -> float: ... + def getMaterial(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]) -> 'PressureSwingAdsorptionBed.SorbentType': ... + @staticmethod + def values() -> typing.MutableSequence['PressureSwingAdsorptionBed.SorbentType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.adsorber")``. + + AdsorptionBed: typing.Type[AdsorptionBed] + AdsorptionCycleController: typing.Type[AdsorptionCycleController] + MercuryRemovalBed: typing.Type[MercuryRemovalBed] + PSACascade: typing.Type[PSACascade] + PressureSwingAdsorptionBed: typing.Type[PressureSwingAdsorptionBed] + SimpleAdsorber: typing.Type[SimpleAdsorber] diff --git a/src/jneqsim/process/equipment/battery/__init__.pyi b/src/jneqsim/process/equipment/battery/__init__.pyi new file mode 100644 index 00000000..11d61d4c --- /dev/null +++ b/src/jneqsim/process/equipment/battery/__init__.pyi @@ -0,0 +1,38 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import typing + + + +class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + def charge(self, double: float, double2: float) -> None: ... + def discharge(self, double: float, double2: float) -> float: ... + def getCapacity(self) -> float: ... + def getStateOfCharge(self) -> float: ... + def getStateOfChargeFraction(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCapacity(self, double: float) -> None: ... + def setStateOfCharge(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.battery")``. + + BatteryStorage: typing.Type[BatteryStorage] diff --git a/src/jneqsim/process/equipment/blackoil/__init__.pyi b/src/jneqsim/process/equipment/blackoil/__init__.pyi new file mode 100644 index 00000000..0175f6e8 --- /dev/null +++ b/src/jneqsim/process/equipment/blackoil/__init__.pyi @@ -0,0 +1,50 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.blackoil +import jneqsim.process.equipment +import jneqsim.process.util.report +import typing + + + +class BlackOilSeparator(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], systemBlackOil: jneqsim.blackoil.SystemBlackOil, double: float, double2: float): ... + def getBlackOilInlet(self) -> jneqsim.blackoil.SystemBlackOil: ... + def getGasOut(self) -> jneqsim.blackoil.SystemBlackOil: ... + def getLastFlashResult(self) -> jneqsim.blackoil.BlackOilFlashResult: ... + def getOilOut(self) -> jneqsim.blackoil.SystemBlackOil: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getResultsMap(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getWaterOut(self) -> jneqsim.blackoil.SystemBlackOil: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runSeparation(self) -> None: ... + def setInlet(self, systemBlackOil: jneqsim.blackoil.SystemBlackOil) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setOutletTemperature(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 __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.blackoil")``. + + BlackOilSeparator: typing.Type[BlackOilSeparator] diff --git a/src/jneqsim/process/equipment/capacity/__init__.pyi b/src/jneqsim/process/equipment/capacity/__init__.pyi new file mode 100644 index 00000000..018c86cd --- /dev/null +++ b/src/jneqsim/process/equipment/capacity/__init__.pyi @@ -0,0 +1,677 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import java.util.function +import jneqsim.process.equipment +import jneqsim.process.processmodel +import typing + + + +class BottleneckResult: + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, capacityConstraint: 'CapacityConstraint', double: float): ... + @staticmethod + def empty() -> 'BottleneckResult': ... + def getConstraint(self) -> 'CapacityConstraint': ... + def getConstraintName(self) -> java.lang.String: ... + def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getEquipmentName(self) -> java.lang.String: ... + def getMargin(self) -> float: ... + def getMarginPercent(self) -> float: ... + def getUtilization(self) -> float: ... + def getUtilizationPercent(self) -> float: ... + def hasBottleneck(self) -> bool: ... + def isExceeded(self) -> bool: ... + def isNearLimit(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class BottleneckTracker(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def clear(self) -> None: ... + def getDistinctBottleneckEquipment(self) -> java.util.List[java.lang.String]: ... + def getLatest(self) -> 'BottleneckTracker.Snapshot': ... + def getMigrationCount(self) -> int: ... + def getMigrationEvents(self) -> java.util.List['BottleneckTracker.Snapshot']: ... + def getPeakSnapshot(self) -> 'BottleneckTracker.Snapshot': ... + def getPeakUtilizationPercent(self) -> float: ... + def getSnapshots(self) -> java.util.List['BottleneckTracker.Snapshot']: ... + def getTimelineSummary(self) -> java.lang.String: ... + def isEmpty(self) -> bool: ... + @typing.overload + def record(self, double: float, string: typing.Union[java.lang.String, str], bottleneckResult: BottleneckResult) -> 'BottleneckTracker.Snapshot': ... + @typing.overload + def record(self, double: float, bottleneckResult: BottleneckResult) -> 'BottleneckTracker.Snapshot': ... + def size(self) -> int: ... + def toJson(self) -> java.lang.String: ... + class Snapshot(java.io.Serializable): + def __init__(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double2: float, boolean: bool, boolean2: bool): ... + def getConstraintName(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getIdentity(self) -> java.lang.String: ... + def getLabel(self) -> java.lang.String: ... + def getTime(self) -> float: ... + def getUtilizationPercent(self) -> float: ... + def hasBottleneck(self) -> bool: ... + def isExceeded(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class CapacityConstrainedEquipment: + def addCapacityConstraint(self, capacityConstraint: 'CapacityConstraint') -> None: ... + def clearCapacityConstraints(self) -> None: ... + def disableAllConstraints(self) -> int: ... + def enableAllConstraints(self) -> int: ... + def getAvailableMargin(self) -> float: ... + def getAvailableMarginPercent(self) -> float: ... + def getBottleneckConstraint(self) -> 'CapacityConstraint': ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, 'CapacityConstraint']: ... + def getMaxUtilization(self) -> float: ... + def getMaxUtilizationPercent(self) -> float: ... + def getUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isNearCapacityLimit(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + +class CapacityConstraint(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], constraintType: 'CapacityConstraint.ConstraintType'): ... + def getCurrentValue(self) -> float: ... + def getDataSource(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getDesignValue(self) -> float: ... + def getDisplayDesignValue(self) -> float: ... + def getMargin(self) -> float: ... + def getMarginPercent(self) -> float: ... + def getMaxValue(self) -> float: ... + def getMinValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSeverity(self) -> 'CapacityConstraint.ConstraintSeverity': ... + def getShadowPrice(self) -> float: ... + def getType(self) -> 'CapacityConstraint.ConstraintType': ... + def getUnit(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def getUtilizationPercent(self) -> float: ... + def getWarningThreshold(self) -> float: ... + def isCriticalViolation(self) -> bool: ... + def isEnabled(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isMinimumConstraint(self) -> bool: ... + def isNearLimit(self) -> bool: ... + def isViolated(self) -> bool: ... + def setCurrentValue(self, double: float) -> 'CapacityConstraint': ... + def setDataSource(self, string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... + def setDesignValue(self, double: float) -> 'CapacityConstraint': ... + def setEnabled(self, boolean: bool) -> 'CapacityConstraint': ... + def setMaxValue(self, double: float) -> 'CapacityConstraint': ... + def setMinValue(self, double: float) -> 'CapacityConstraint': ... + def setSeverity(self, constraintSeverity: 'CapacityConstraint.ConstraintSeverity') -> 'CapacityConstraint': ... + def setShadowPrice(self, double: float) -> 'CapacityConstraint': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... + def setValueSupplier(self, doubleSupplier: typing.Union[java.util.function.DoubleSupplier, typing.Callable]) -> 'CapacityConstraint': ... + def setWarningThreshold(self, double: float) -> 'CapacityConstraint': ... + def toString(self) -> java.lang.String: ... + class ConstraintSeverity(java.lang.Enum['CapacityConstraint.ConstraintSeverity']): + CRITICAL: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... + HARD: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... + SOFT: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... + ADVISORY: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... + _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]) -> 'CapacityConstraint.ConstraintSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['CapacityConstraint.ConstraintSeverity']: ... + class ConstraintType(java.lang.Enum['CapacityConstraint.ConstraintType']): + HARD: typing.ClassVar['CapacityConstraint.ConstraintType'] = ... + SOFT: typing.ClassVar['CapacityConstraint.ConstraintType'] = ... + DESIGN: typing.ClassVar['CapacityConstraint.ConstraintType'] = ... + _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]) -> 'CapacityConstraint.ConstraintType': ... + @staticmethod + def values() -> typing.MutableSequence['CapacityConstraint.ConstraintType']: ... + +class EquipmentCapacityStrategy: + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getAvailableMargin(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class EquipmentCapacityStrategyRegistry: + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def findStrategy(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> EquipmentCapacityStrategy: ... + def getAllStrategies(self) -> java.util.List[EquipmentCapacityStrategy]: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + @staticmethod + def getInstance() -> 'EquipmentCapacityStrategyRegistry': ... + def getStrategyCount(self) -> int: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def register(self, equipmentCapacityStrategy: EquipmentCapacityStrategy) -> None: ... + def reset(self) -> None: ... + def unregister(self, string: typing.Union[java.lang.String, str]) -> bool: ... + +class EquipmentDesignData: + DATA_SOURCE_DESIGN_CAPACITIES: typing.ClassVar[java.lang.String] = ... + DATA_SOURCE_EQUIPMENT: typing.ClassVar[java.lang.String] = ... + DATA_SOURCE_NOT_SET: typing.ClassVar[java.lang.String] = ... + @staticmethod + def apply(processSystem: jneqsim.process.processmodel.ProcessSystem, jsonObject: com.google.gson.JsonObject) -> java.util.Map[java.lang.String, 'EquipmentDesignData.ApplyResult']: ... + @staticmethod + def tagConstraintDataSources(processSystem: jneqsim.process.processmodel.ProcessSystem, jsonObject: com.google.gson.JsonObject) -> None: ... + class AppliedProperty: + property: java.lang.String = ... + value: float = ... + unit: java.lang.String = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]): ... + class ApplyResult: + equipmentName: java.lang.String = ... + status: java.lang.String = ... + message: java.lang.String = ... + appliedProperties: java.util.List = ... + 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 addApplied(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> com.google.gson.JsonObject: ... + +class StandardConstraintType(java.lang.Enum['StandardConstraintType']): + SEPARATOR_GAS_LOAD_FACTOR: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_K_VALUE: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_DROPLET_CUTSIZE: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_INLET_MOMENTUM: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_OIL_RETENTION_TIME: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_WATER_RETENTION_TIME: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_LIQUID_LOAD_FACTOR: typing.ClassVar['StandardConstraintType'] = ... + SEPARATOR_RESIDENCE_TIME: typing.ClassVar['StandardConstraintType'] = ... + COMPRESSOR_SPEED: typing.ClassVar['StandardConstraintType'] = ... + COMPRESSOR_MIN_SPEED: typing.ClassVar['StandardConstraintType'] = ... + COMPRESSOR_POWER: typing.ClassVar['StandardConstraintType'] = ... + COMPRESSOR_SURGE_MARGIN: typing.ClassVar['StandardConstraintType'] = ... + COMPRESSOR_STONEWALL_MARGIN: typing.ClassVar['StandardConstraintType'] = ... + COMPRESSOR_DISCHARGE_TEMP: typing.ClassVar['StandardConstraintType'] = ... + PUMP_NPSH_MARGIN: typing.ClassVar['StandardConstraintType'] = ... + PUMP_FLOW_RATE: typing.ClassVar['StandardConstraintType'] = ... + PUMP_POWER: typing.ClassVar['StandardConstraintType'] = ... + HEAT_EXCHANGER_DUTY: typing.ClassVar['StandardConstraintType'] = ... + HEAT_EXCHANGER_APPROACH_TEMP: typing.ClassVar['StandardConstraintType'] = ... + HEAT_EXCHANGER_PRESSURE_DROP: typing.ClassVar['StandardConstraintType'] = ... + VALVE_CV_UTILIZATION: typing.ClassVar['StandardConstraintType'] = ... + VALVE_PRESSURE_DROP: typing.ClassVar['StandardConstraintType'] = ... + VALVE_OPENING: typing.ClassVar['StandardConstraintType'] = ... + PIPE_VELOCITY: typing.ClassVar['StandardConstraintType'] = ... + PIPE_EROSIONAL_VELOCITY: typing.ClassVar['StandardConstraintType'] = ... + PIPE_PRESSURE_DROP: typing.ClassVar['StandardConstraintType'] = ... + def createConstraint(self) -> CapacityConstraint: ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getType(self) -> CapacityConstraint.ConstraintType: ... + def getUnit(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]) -> 'StandardConstraintType': ... + @staticmethod + def values() -> typing.MutableSequence['StandardConstraintType']: ... + +class CompressorCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MIN_SURGE_MARGIN: typing.ClassVar[float] = ... + DEFAULT_MIN_STONEWALL_MARGIN: typing.ClassVar[float] = ... + DEFAULT_MAX_DISCHARGE_TEMP: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxDischargeTemp(self) -> float: ... + def getMinStonewallMargin(self) -> float: ... + def getMinSurgeMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxDischargeTemp(self, double: float) -> None: ... + def setMinStonewallMargin(self, double: float) -> None: ... + def setMinSurgeMargin(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class DistillationColumnCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_FLOODING_FACTOR: typing.ClassVar[float] = ... + DEFAULT_MAX_WEIR_LOADING: typing.ClassVar[float] = ... + DEFAULT_MAX_TRAY_PRESSURE_DROP: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxFloodingFactor(self) -> float: ... + def getMaxTrayPressureDrop(self) -> float: ... + def getMaxWeirLoading(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxFloodingFactor(self, double: float) -> None: ... + def setMaxTrayPressureDrop(self, double: float) -> None: ... + def setMaxWeirLoading(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class EjectorCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_ENTRAINMENT_RATIO: typing.ClassVar[float] = ... + DEFAULT_MIN_SUCTION_PRESSURE: typing.ClassVar[float] = ... + DEFAULT_MAX_MOTIVE_FLOW: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getAvailableMargin(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxEntrainmentRatio(self, double: float) -> None: ... + def setMaxMotiveFlowRate(self, double: float) -> None: ... + def setMinSuctionPressure(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class ElectrolyzerCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_VOLTAGE_V: typing.ClassVar[float] = ... + DEFAULT_RATED_POWER_KW: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class ExpanderCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_POWER_RATIO: typing.ClassVar[float] = ... + DEFAULT_MIN_SPEED_RATIO: typing.ClassVar[float] = ... + DEFAULT_MAX_SPEED_RATIO: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getAvailableMargin(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxPowerRatio(self, double: float) -> None: ... + def setMaxSpeedRatio(self, double: float) -> None: ... + def setMinSpeedRatio(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class FilterAdsorberCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_DP_BAR: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class HeatExchangerCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MIN_APPROACH_TEMP: typing.ClassVar[float] = ... + DEFAULT_MAX_DUTY_RATIO: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxDutyRatio(self) -> float: ... + def getMinApproachTemp(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxDutyRatio(self, double: float) -> None: ... + def setMinApproachTemp(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class MixerCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_VELOCITY: typing.ClassVar[float] = ... + DEFAULT_MAX_PRESSURE_DROP: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxPressureDrop(self) -> float: ... + def getMaxVelocity(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxPressureDrop(self, double: float) -> None: ... + def setMaxVelocity(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class PipeCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_GAS_VELOCITY: typing.ClassVar[float] = ... + DEFAULT_MAX_LIQUID_VELOCITY: typing.ClassVar[float] = ... + DEFAULT_MAX_MULTIPHASE_VELOCITY: typing.ClassVar[float] = ... + DEFAULT_MAX_EROSIONAL_RATIO: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxErosionalRatio(self) -> float: ... + def getMaxGasVelocity(self) -> float: ... + def getMaxLiquidVelocity(self) -> float: ... + def getMaxMultiphaseVelocity(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxErosionalRatio(self, double: float) -> None: ... + def setMaxGasVelocity(self, double: float) -> None: ... + def setMaxLiquidVelocity(self, double: float) -> None: ... + def setMaxMultiphaseVelocity(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class PowerGenerationCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_RATED_POWER_KW: typing.ClassVar[float] = ... + DEFAULT_MAX_EXHAUST_TEMP_C: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class PumpCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MIN_NPSH_MARGIN: typing.ClassVar[float] = ... + DEFAULT_MAX_POWER_FACTOR: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxPowerFactor(self) -> float: ... + def getMinNpshMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxPowerFactor(self, double: float) -> None: ... + def setMinNpshMargin(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class ReactorCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_TEMPERATURE_C: typing.ClassVar[float] = ... + DEFAULT_MAX_DUTY_KW: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class SeparatorCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_GAS_LOAD_FACTOR: typing.ClassVar[float] = ... + DEFAULT_MAX_LIQUID_LEVEL: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxGasLoadFactor(self) -> float: ... + def getMaxLiquidLevel(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxGasLoadFactor(self, double: float) -> None: ... + def setMaxLiquidLevel(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class SplitterCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_VELOCITY: typing.ClassVar[float] = ... + DEFAULT_MAX_PRESSURE_DROP: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxPressureDrop(self) -> float: ... + def getMaxVelocity(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxPressureDrop(self, double: float) -> None: ... + def setMaxVelocity(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class SubseaEquipmentCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_WHP_BARA: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class TankCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_LIQUID_LEVEL: typing.ClassVar[float] = ... + DEFAULT_MIN_LIQUID_LEVEL: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxLiquidLevel(self) -> float: ... + def getMinLiquidLevel(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxLiquidLevel(self, double: float) -> None: ... + def setMinLiquidLevel(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class ValveCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_OPENING: typing.ClassVar[float] = ... + DEFAULT_MIN_OPENING: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxOpening(self) -> float: ... + def getMinOpening(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def setMaxOpening(self, double: float) -> None: ... + def setMinOpening(self, double: float) -> None: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class WellFlowCapacityStrategy(EquipmentCapacityStrategy): + DEFAULT_MAX_PI: typing.ClassVar[float] = ... + DEFAULT_MAX_DRAWDOWN_BAR: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... + def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... + def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getName(self) -> java.lang.String: ... + def getPriority(self) -> int: ... + def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.capacity")``. + + BottleneckResult: typing.Type[BottleneckResult] + BottleneckTracker: typing.Type[BottleneckTracker] + CapacityConstrainedEquipment: typing.Type[CapacityConstrainedEquipment] + CapacityConstraint: typing.Type[CapacityConstraint] + CompressorCapacityStrategy: typing.Type[CompressorCapacityStrategy] + DistillationColumnCapacityStrategy: typing.Type[DistillationColumnCapacityStrategy] + EjectorCapacityStrategy: typing.Type[EjectorCapacityStrategy] + ElectrolyzerCapacityStrategy: typing.Type[ElectrolyzerCapacityStrategy] + EquipmentCapacityStrategy: typing.Type[EquipmentCapacityStrategy] + EquipmentCapacityStrategyRegistry: typing.Type[EquipmentCapacityStrategyRegistry] + EquipmentDesignData: typing.Type[EquipmentDesignData] + ExpanderCapacityStrategy: typing.Type[ExpanderCapacityStrategy] + FilterAdsorberCapacityStrategy: typing.Type[FilterAdsorberCapacityStrategy] + HeatExchangerCapacityStrategy: typing.Type[HeatExchangerCapacityStrategy] + MixerCapacityStrategy: typing.Type[MixerCapacityStrategy] + PipeCapacityStrategy: typing.Type[PipeCapacityStrategy] + PowerGenerationCapacityStrategy: typing.Type[PowerGenerationCapacityStrategy] + PumpCapacityStrategy: typing.Type[PumpCapacityStrategy] + ReactorCapacityStrategy: typing.Type[ReactorCapacityStrategy] + SeparatorCapacityStrategy: typing.Type[SeparatorCapacityStrategy] + SplitterCapacityStrategy: typing.Type[SplitterCapacityStrategy] + StandardConstraintType: typing.Type[StandardConstraintType] + SubseaEquipmentCapacityStrategy: typing.Type[SubseaEquipmentCapacityStrategy] + TankCapacityStrategy: typing.Type[TankCapacityStrategy] + ValveCapacityStrategy: typing.Type[ValveCapacityStrategy] + WellFlowCapacityStrategy: typing.Type[WellFlowCapacityStrategy] diff --git a/src/jneqsim/process/equipment/compressor/__init__.pyi b/src/jneqsim/process/equipment/compressor/__init__.pyi new file mode 100644 index 00000000..2fa371c8 --- /dev/null +++ b/src/jneqsim/process/equipment/compressor/__init__.pyi @@ -0,0 +1,1581 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.design +import jneqsim.process.electricaldesign.compressor +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.compressor.driver +import jneqsim.process.equipment.heatexchanger +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.instrumentdesign.compressor +import jneqsim.process.mechanicaldesign.compressor +import jneqsim.process.ml +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class AntiSurge(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, controlStrategy: 'AntiSurge.ControlStrategy'): ... + def equals(self, object: typing.Any) -> bool: ... + def getControlStrategy(self) -> 'AntiSurge.ControlStrategy': ... + def getCurrentSurgeFraction(self) -> float: ... + def getHotGasBypassFlow(self) -> float: ... + def getMaximumRecycleFlow(self) -> float: ... + def getMinimumRecycleFlow(self) -> float: ... + def getPredictiveHorizon(self) -> float: ... + def getRecycleFlow(self, double: float) -> float: ... + def getSummary(self) -> java.lang.String: ... + def getSurgeApproachRate(self) -> float: ... + def getSurgeControlFactor(self) -> float: ... + def getSurgeControlLineOffset(self) -> float: ... + def getSurgeCycleCount(self) -> int: ... + def getSurgeWarningMargin(self) -> float: ... + def getTargetValvePosition(self) -> float: ... + def getValvePosition(self) -> float: ... + def getValveRateLimit(self) -> float: ... + def getValveResponseTime(self) -> float: ... + def hashCode(self) -> int: ... + def isActive(self) -> bool: ... + def isSurge(self) -> bool: ... + def isUseHotGasBypass(self) -> bool: ... + def resetPID(self) -> None: ... + def resetSurgeCycleCount(self) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setControlStrategy(self, controlStrategy: 'AntiSurge.ControlStrategy') -> None: ... + def setCurrentSurgeFraction(self, double: float) -> None: ... + def setHotGasBypassFlow(self, double: float) -> None: ... + def setMaxSurgeCyclesBeforeTrip(self, int: int) -> None: ... + def setMaximumRecycleFlow(self, double: float) -> None: ... + def setMinimumRecycleFlow(self, double: float) -> None: ... + def setPIDParameters(self, double: float, double2: float, double3: float) -> None: ... + def setPIDSetpoint(self, double: float) -> None: ... + def setPredictiveHorizon(self, double: float) -> None: ... + def setSurge(self, boolean: bool) -> None: ... + def setSurgeControlFactor(self, double: float) -> None: ... + def setSurgeControlLineOffset(self, double: float) -> None: ... + def setSurgeWarningMargin(self, double: float) -> None: ... + def setTargetValvePosition(self, double: float) -> None: ... + def setUseHotGasBypass(self, boolean: bool) -> None: ... + def setValvePosition(self, double: float) -> None: ... + def setValveRateLimit(self, double: float) -> None: ... + def setValveResponseTime(self, double: float) -> None: ... + def shouldTrip(self) -> bool: ... + def updateController(self, double: float, double2: float) -> float: ... + class ControlStrategy(java.lang.Enum['AntiSurge.ControlStrategy']): + ON_OFF: typing.ClassVar['AntiSurge.ControlStrategy'] = ... + PROPORTIONAL: typing.ClassVar['AntiSurge.ControlStrategy'] = ... + PID: typing.ClassVar['AntiSurge.ControlStrategy'] = ... + PREDICTIVE: typing.ClassVar['AntiSurge.ControlStrategy'] = ... + DUAL_LOOP: typing.ClassVar['AntiSurge.ControlStrategy'] = ... + _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]) -> 'AntiSurge.ControlStrategy': ... + @staticmethod + def values() -> typing.MutableSequence['AntiSurge.ControlStrategy']: ... + +class BoundaryCurveInterface(java.io.Serializable): + def getFlow(self, double: float) -> float: ... + def isActive(self) -> bool: ... + def isLimit(self, double: float, double2: float) -> bool: ... + def setActive(self, boolean: bool) -> None: ... + def setCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class CompressorChartGenerator: + def __init__(self, compressor: 'Compressor'): ... + def enableAdvancedCorrections(self, int: int) -> 'CompressorChartGenerator': ... + @typing.overload + def generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChartInterface': ... + @typing.overload + def generateCompressorChart(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CompressorChartInterface': ... + @typing.overload + def generateCompressorChart(self, string: typing.Union[java.lang.String, str], int: int) -> 'CompressorChartInterface': ... + @typing.overload + def generateFromTemplate(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CompressorChartInterface': ... + @typing.overload + def generateFromTemplate(self, string: typing.Union[java.lang.String, str], int: int) -> 'CompressorChartInterface': ... + @typing.overload + def generateFromTemplate(self, compressorCurveTemplate: 'CompressorCurveTemplate', int: int) -> 'CompressorChartInterface': ... + @staticmethod + def getAvailableTemplates() -> typing.MutableSequence[java.lang.String]: ... + def getChartType(self) -> java.lang.String: ... + def getImpellerDiameter(self) -> float: ... + def getNumberOfStages(self) -> int: ... + @staticmethod + def getOriginalTemplateChart(string: typing.Union[java.lang.String, str]) -> 'CompressorChartInterface': ... + def isUseMachCorrection(self) -> bool: ... + def isUseMultistageSurgeCorrection(self) -> bool: ... + def isUseReynoldsCorrection(self) -> bool: ... + def setChartType(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChartGenerator': ... + def setImpellerDiameter(self, double: float) -> 'CompressorChartGenerator': ... + def setNumberOfStages(self, int: int) -> 'CompressorChartGenerator': ... + def setUseMachCorrection(self, boolean: bool) -> 'CompressorChartGenerator': ... + def setUseMultistageSurgeCorrection(self, boolean: bool) -> 'CompressorChartGenerator': ... + def setUseReynoldsCorrection(self, boolean: bool) -> 'CompressorChartGenerator': ... + +class CompressorChartInterface(java.lang.Cloneable): + @typing.overload + def addCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addCurve(self, double: float, 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 equals(self, object: typing.Any) -> bool: ... + def generateStoneWallCurve(self) -> None: ... + def generateSurgeCurve(self) -> None: ... + def getChartConditions(self) -> typing.MutableSequence[float]: ... + def getDischargeTemperatures(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getFlow(self, double: float, double2: float, double3: float) -> float: ... + def getFlows(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGamma(self) -> float: ... + def getHeadUnit(self) -> java.lang.String: ... + def getHeads(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getInletPressure(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletTemperature(self) -> float: ... + def getMaxSpeedCurve(self) -> float: ... + def getMinSpeedCurve(self) -> float: ... + def getOperatingMW(self) -> float: ... + def getPolytropicEfficiencies(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... + def getPolytropicExponent(self) -> float: ... + def getPolytropicHead(self, double: float, double2: float) -> float: ... + def getPowers(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureRatios(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getRatioToMaxSpeed(self, double: float) -> float: ... + def getRatioToMinSpeed(self, double: float) -> float: ... + def getReferenceDensity(self) -> float: ... + def getSpeed(self, double: float, double2: float) -> int: ... + def getSpeedValue(self, double: float, double2: float) -> float: ... + def getSpeeds(self) -> typing.MutableSequence[float]: ... + def getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getStoneWallFlowAtSpeed(self, double: float) -> float: ... + def getStoneWallHeadAtSpeed(self, double: float) -> float: ... + def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def getSurgeFlowAtSpeed(self, double: float) -> float: ... + def getSurgeHeadAtSpeed(self, double: float) -> float: ... + def hashCode(self) -> int: ... + def isHigherThanMaxSpeed(self, double: float) -> bool: ... + def isLowerThanMinSpeed(self, double: float) -> bool: ... + def isSpeedWithinRange(self, double: float) -> bool: ... + def isUseCompressorChart(self) -> bool: ... + def plot(self) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setGamma(self, double: float) -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setOperatingMW(self, double: float) -> None: ... + def setPolytropicExponent(self, double: float) -> None: ... + def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setReferenceDensity(self, double: float) -> None: ... + def setStoneWallCurve(self, stoneWallCurve: 'StoneWallCurve') -> None: ... + def setSurgeCurve(self, safeSplineSurgeCurve: 'SafeSplineSurgeCurve') -> None: ... + def setUseCompressorChart(self, boolean: bool) -> None: ... + def setUseRealKappa(self, boolean: bool) -> None: ... + def useRealKappa(self) -> bool: ... + +class CompressorChartJsonReader: + @typing.overload + def __init__(self, reader: java.io.Reader): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool): ... + def getChokeFlow(self) -> typing.MutableSequence[float]: ... + def getChokeHead(self) -> typing.MutableSequence[float]: ... + def getCompressorName(self) -> java.lang.String: ... + def getFlowLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHeadLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHeadUnit(self) -> java.lang.String: ... + def getMaxDesignPower(self) -> float: ... + def getPolyEffLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSpeeds(self) -> typing.MutableSequence[float]: ... + def getSurgeFlow(self) -> typing.MutableSequence[float]: ... + def getSurgeHead(self) -> typing.MutableSequence[float]: ... + def setCurvesToCompressor(self, compressor: 'Compressor') -> None: ... + +class CompressorChartReader: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getChokeFlow(self) -> typing.MutableSequence[float]: ... + def getChokeHead(self) -> typing.MutableSequence[float]: ... + def getFlowLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHeadLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolyEffLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSpeeds(self) -> typing.MutableSequence[float]: ... + def getStonewallCurve(self) -> typing.MutableSequence[float]: ... + def getSurgeCurve(self) -> typing.MutableSequence[float]: ... + def getSurgeFlow(self) -> typing.MutableSequence[float]: ... + def getSurgeHead(self) -> typing.MutableSequence[float]: ... + def setCurvesToCompressor(self, compressor: 'Compressor') -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class CompressorConstraintConfig(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def copy(self) -> 'CompressorConstraintConfig': ... + @staticmethod + def createAPI617Config() -> 'CompressorConstraintConfig': ... + @staticmethod + def createAggressiveConfig() -> 'CompressorConstraintConfig': ... + @staticmethod + def createConservativeConfig() -> 'CompressorConstraintConfig': ... + def getAntiSurgeControlMargin(self) -> float: ... + def getDriverCurve(self) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... + def getDriverPowerMargin(self) -> float: ... + def getMaxDischargePressure(self) -> float: ... + def getMaxDischargeTemperature(self) -> float: ... + def getMaxPower(self) -> float: ... + def getMaxPowerUtilization(self) -> float: ... + def getMaxPressureRatioPerStage(self) -> float: ... + def getMaxRecycleValveOpening(self) -> float: ... + def getMaxShaftTorque(self) -> float: ... + def getMaxSpeed(self) -> float: ... + def getMaxSpeedRatio(self) -> float: ... + def getMaxSuctionTemperature(self) -> float: ... + def getMaxTemperatureRisePerStage(self) -> float: ... + def getMaxVibration(self) -> float: ... + def getMinPower(self) -> float: ... + def getMinSpeed(self) -> float: ... + def getMinSpeedRatio(self) -> float: ... + def getMinStonewallMargin(self) -> float: ... + def getMinSuctionPressure(self) -> float: ... + def getMinSurgeMargin(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def isAllowNearSurgeOperation(self) -> bool: ... + def isEnforceHardLimits(self) -> bool: ... + def isUseAntiSurgeControl(self) -> bool: ... + def setAllowNearSurgeOperation(self, boolean: bool) -> None: ... + def setAntiSurgeControlMargin(self, double: float) -> None: ... + def setDriverCurve(self, driverCurve: jneqsim.process.equipment.compressor.driver.DriverCurve) -> None: ... + def setDriverPowerMargin(self, double: float) -> None: ... + def setEnforceHardLimits(self, boolean: bool) -> None: ... + def setMaxDischargePressure(self, double: float) -> None: ... + def setMaxDischargeTemperature(self, double: float) -> None: ... + def setMaxDischargeTemperatureCelsius(self, double: float) -> None: ... + def setMaxPower(self, double: float) -> None: ... + def setMaxPowerUtilization(self, double: float) -> None: ... + def setMaxPressureRatioPerStage(self, double: float) -> None: ... + def setMaxRecycleValveOpening(self, double: float) -> None: ... + def setMaxShaftTorque(self, double: float) -> None: ... + def setMaxSpeedRatio(self, double: float) -> None: ... + def setMaxSuctionTemperature(self, double: float) -> None: ... + def setMaxTemperatureRisePerStage(self, double: float) -> None: ... + def setMaxVibration(self, double: float) -> None: ... + def setMinPower(self, double: float) -> None: ... + def setMinSpeedRatio(self, double: float) -> None: ... + def setMinStonewallMargin(self, double: float) -> None: ... + def setMinSuctionPressure(self, double: float) -> None: ... + def setMinSurgeMargin(self, double: float) -> None: ... + def setRatedSpeed(self, double: float) -> None: ... + def setUseAntiSurgeControl(self, boolean: bool) -> None: ... + +class CompressorCurve(java.io.Serializable): + flow: typing.MutableSequence[float] = ... + flowPolytropicEfficiency: typing.MutableSequence[float] = ... + head: typing.MutableSequence[float] = ... + polytropicEfficiency: typing.MutableSequence[float] = ... + speed: float = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def __init__(self, double: float, 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]): ... + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + +class CompressorCurveCorrections(java.io.Serializable): + @staticmethod + def calculateCorrectedEfficiency(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateEfficiencyAtFlow(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateMachNumber(double: float, double2: float) -> float: ... + @staticmethod + def calculateMultistageSurgeCorrection(double: float, double2: float, int: int) -> float: ... + @staticmethod + def calculateMultistageSurgeHeadCorrection(double: float, double2: float, int: int) -> float: ... + @typing.overload + @staticmethod + def calculateReynoldsEfficiencyCorrection(double: float) -> float: ... + @typing.overload + @staticmethod + def calculateReynoldsEfficiencyCorrection(double: float, double2: float) -> float: ... + @staticmethod + def calculateReynoldsNumber(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateSonicVelocity(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calculateStonewallFlow(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateTipSpeed(double: float, double2: float) -> float: ... + @staticmethod + def correctStonewallFlowForGas(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def getCriticalMach() -> float: ... + @staticmethod + def getReferenceReynolds() -> float: ... + +class CompressorCurveTemplate(java.io.Serializable): + CENTRIFUGAL_STANDARD: typing.ClassVar['CompressorCurveTemplate'] = ... + CENTRIFUGAL_HIGH_FLOW: typing.ClassVar['CompressorCurveTemplate'] = ... + CENTRIFUGAL_HIGH_HEAD: typing.ClassVar['CompressorCurveTemplate'] = ... + PIPELINE: typing.ClassVar['CompressorCurveTemplate'] = ... + EXPORT: typing.ClassVar['CompressorCurveTemplate'] = ... + INJECTION: typing.ClassVar['CompressorCurveTemplate'] = ... + GAS_LIFT: typing.ClassVar['CompressorCurveTemplate'] = ... + REFRIGERATION: typing.ClassVar['CompressorCurveTemplate'] = ... + BOOSTER: typing.ClassVar['CompressorCurveTemplate'] = ... + SINGLE_STAGE: typing.ClassVar['CompressorCurveTemplate'] = ... + MULTISTAGE_INLINE: typing.ClassVar['CompressorCurveTemplate'] = ... + INTEGRALLY_GEARED: typing.ClassVar['CompressorCurveTemplate'] = ... + OVERHUNG: typing.ClassVar['CompressorCurveTemplate'] = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @staticmethod + def getAvailableTemplates() -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getNumberOfSpeedCurves(self) -> int: ... + @typing.overload + def getOriginalChart(self) -> CompressorChartInterface: ... + @typing.overload + def getOriginalChart(self, string: typing.Union[java.lang.String, str]) -> CompressorChartInterface: ... + def getReferenceSpeed(self) -> float: ... + def getSpeedRatios(self) -> typing.MutableSequence[float]: ... + def getSpeeds(self) -> typing.MutableSequence[float]: ... + @staticmethod + def getTemplate(string: typing.Union[java.lang.String, str]) -> 'CompressorCurveTemplate': ... + @staticmethod + def getTemplatesByCategory(string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[java.lang.String]: ... + @typing.overload + def scaleToDesignPoint(self, double: float, double2: float, double3: float, int: int) -> CompressorChartInterface: ... + @typing.overload + def scaleToDesignPoint(self, double: float, double2: float, double3: float, int: int, string: typing.Union[java.lang.String, str]) -> CompressorChartInterface: ... + @typing.overload + def scaleToSpeed(self, double: float) -> CompressorChartInterface: ... + @typing.overload + def scaleToSpeed(self, double: float, string: typing.Union[java.lang.String, str]) -> CompressorChartInterface: ... + +class CompressorDriver(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, driverType: 'DriverType'): ... + @typing.overload + def __init__(self, driverType: 'DriverType', double: float): ... + def calculateSpeedChange(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def canDeliverPower(self, double: float) -> bool: ... + def canDeliverPowerAtSpeed(self, double: float, double2: float) -> bool: ... + def checkOverloadTrip(self, double: float, double2: float) -> bool: ... + def disableMaxPowerCurve(self) -> None: ... + def disableMaxPowerCurveTable(self) -> None: ... + def enableMaxPowerCurve(self) -> None: ... + def getAmbientPressure(self) -> float: ... + def getAmbientTemperature(self) -> float: ... + def getAvailablePower(self) -> float: ... + def getDriverEfficiency(self) -> float: ... + def getDriverType(self) -> 'DriverType': ... + def getEfficiencyAtSpeed(self, double: float) -> float: ... + def getInertia(self) -> float: ... + def getMaxAcceleration(self) -> float: ... + def getMaxAccelerationAtConditions(self, double: float, double2: float) -> float: ... + def getMaxAvailablePower(self) -> float: ... + def getMaxAvailablePowerAtSpeed(self, double: float) -> float: ... + def getMaxDeceleration(self) -> float: ... + def getMaxPower(self) -> float: ... + def getMaxPowerCurveCoefficients(self) -> typing.MutableSequence[float]: ... + def getMaxPowerCurvePowers(self) -> typing.MutableSequence[float]: ... + def getMaxPowerCurveSpeeds(self) -> typing.MutableSequence[float]: ... + def getMaxSpeed(self) -> float: ... + def getMinPower(self) -> float: ... + def getMinSpeed(self) -> float: ... + def getOverloadTripDelay(self) -> float: ... + def getPowerMargin(self, double: float) -> float: ... + def getPowerMarginAtSpeed(self, double: float, double2: float) -> float: ... + def getPowerMarginRatio(self, double: float) -> float: ... + def getRatedPower(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def getRequiredDriverPower(self, double: float, double2: float) -> float: ... + def getResponseTime(self) -> float: ... + def getTemperatureDerateFactor(self) -> float: ... + def getVfdEfficiencyCoefficients(self) -> typing.MutableSequence[float]: ... + def isMaxPowerCurveEnabled(self) -> bool: ... + def isMaxPowerCurveTableEnabled(self) -> bool: ... + def isOverloadProtectionEnabled(self) -> bool: ... + def loadMaxPowerCurveFromCsv(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadMaxPowerCurveFromResource(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def resetOverloadTimer(self) -> None: ... + def setAmbientPressure(self, double: float) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setDriverEfficiency(self, double: float) -> None: ... + def setDriverType(self, driverType: 'DriverType') -> None: ... + def setInertia(self, double: float) -> None: ... + def setMaxAcceleration(self, double: float) -> None: ... + def setMaxDeceleration(self, double: float) -> None: ... + def setMaxPower(self, double: float) -> None: ... + def setMaxPowerCurveCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def setMaxPowerSpeedCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxSpeed(self, double: float) -> None: ... + def setMinPower(self, double: float) -> None: ... + def setMinSpeed(self, double: float) -> None: ... + def setOverloadProtectionEnabled(self, boolean: bool) -> None: ... + def setOverloadTripDelay(self, double: float) -> None: ... + def setRatedPower(self, double: float) -> None: ... + def setRatedSpeed(self, double: float) -> None: ... + def setResponseTime(self, double: float) -> None: ... + def setTemperatureDerateFactor(self, double: float) -> None: ... + def setVfdEfficiencyCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class CompressorEventListener: + def onPowerLimitExceeded(self, compressor: 'Compressor', double: float, double2: float) -> None: ... + def onShutdownComplete(self, compressor: 'Compressor') -> None: ... + def onSpeedBelowMinimum(self, compressor: 'Compressor', double: float, double2: float) -> None: ... + def onSpeedLimitExceeded(self, compressor: 'Compressor', double: float, double2: float) -> None: ... + def onStartupComplete(self, compressor: 'Compressor') -> None: ... + def onStateChange(self, compressor: 'Compressor', compressorState: 'CompressorState', compressorState2: 'CompressorState') -> None: ... + def onStoneWallApproach(self, compressor: 'Compressor', double: float) -> None: ... + def onSurgeApproach(self, compressor: 'Compressor', double: float, boolean: bool) -> None: ... + def onSurgeOccurred(self, compressor: 'Compressor', double: float) -> None: ... + +class CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): + def equals(self, object: typing.Any) -> bool: ... + def getAntiSurge(self) -> AntiSurge: ... + def getDistanceToSurge(self) -> float: ... + def getEnergy(self) -> float: ... + def getIsentropicEfficiency(self) -> float: ... + def getMaximumSpeed(self) -> float: ... + def getMinimumSpeed(self) -> float: ... + def getPolytropicEfficiency(self) -> float: ... + def getSurgeFlowRate(self) -> float: ... + def getSurgeFlowRateMargin(self) -> float: ... + def getSurgeFlowRateStd(self) -> float: ... + def hashCode(self) -> int: ... + def isStoneWall(self) -> bool: ... + def isSurge(self) -> bool: ... + def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIsentropicEfficiency(self, double: float) -> None: ... + def setMaximumSpeed(self, double: float) -> None: ... + def setMinimumSpeed(self, double: float) -> None: ... + def setPolytropicEfficiency(self, double: float) -> None: ... + +class CompressorMechanicalLosses(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def calculateBufferGasFlow(self) -> float: ... + def calculateLubeOilCoolerDuty(self) -> float: ... + def calculateLubeOilFlowRate(self) -> float: ... + def calculatePrimarySealLeakage(self) -> float: ... + def calculateRadialBearingLoss(self) -> float: ... + def calculateSecondarySealLeakage(self) -> float: ... + def calculateSeparationGasFlow(self) -> float: ... + def calculateThrustBearingLoss(self) -> float: ... + def getBearingType(self) -> 'CompressorMechanicalLosses.BearingType': ... + def getLubeOilInletTemp(self) -> float: ... + def getLubeOilOutletTemp(self) -> float: ... + def getMechanicalEfficiency(self, double: float) -> float: ... + def getNumberOfRadialBearings(self) -> int: ... + def getNumberOfSeals(self) -> int: ... + def getRequiredSealGasSupplyPressure(self) -> float: ... + def getSealDifferentialPressure(self) -> float: ... + def getSealGasSupplyPressure(self) -> float: ... + def getSealGasSupplyTemperature(self) -> float: ... + def getSealType(self) -> 'CompressorMechanicalLosses.SealType': ... + def getShaftDiameter(self) -> float: ... + def getTotalBearingLoss(self) -> float: ... + def getTotalMechanicalLoss(self) -> float: ... + def getTotalSealGasConsumption(self) -> float: ... + def printSummary(self) -> None: ... + def setBearingType(self, bearingType: 'CompressorMechanicalLosses.BearingType') -> None: ... + def setLubeOilInletTemp(self, double: float) -> None: ... + def setLubeOilOutletTemp(self, double: float) -> None: ... + def setNumberOfRadialBearings(self, int: int) -> None: ... + def setNumberOfSeals(self, int: int) -> None: ... + def setOperatingConditions(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setSealGasSupplyPressure(self, double: float) -> None: ... + def setSealGasSupplyTemperature(self, double: float) -> None: ... + def setSealType(self, sealType: 'CompressorMechanicalLosses.SealType') -> None: ... + def setShaftDiameter(self, double: float) -> None: ... + class BearingType(java.lang.Enum['CompressorMechanicalLosses.BearingType']): + TILTING_PAD: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... + PLAIN_SLEEVE: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... + MAGNETIC_ACTIVE: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... + GAS_FOIL: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... + _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]) -> 'CompressorMechanicalLosses.BearingType': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorMechanicalLosses.BearingType']: ... + class SealType(java.lang.Enum['CompressorMechanicalLosses.SealType']): + DRY_GAS_TANDEM: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... + DRY_GAS_DOUBLE: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... + DRY_GAS_SINGLE: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... + OIL_FILM: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... + LABYRINTH: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... + _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]) -> 'CompressorMechanicalLosses.SealType': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorMechanicalLosses.SealType']: ... + +class CompressorOperatingHistory(java.io.Serializable): + def __init__(self): ... + def clear(self) -> None: ... + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def generateSummary(self) -> java.lang.String: ... + def getAverageEfficiency(self) -> float: ... + def getHistory(self) -> java.util.List['CompressorOperatingHistory.OperatingPoint']: ... + def getMinimumSurgeMargin(self) -> float: ... + def getPeakFlow(self) -> 'CompressorOperatingHistory.OperatingPoint': ... + def getPeakHead(self) -> 'CompressorOperatingHistory.OperatingPoint': ... + def getPeakPower(self) -> 'CompressorOperatingHistory.OperatingPoint': ... + def getPointCount(self) -> int: ... + def getSurgeEventCount(self) -> int: ... + def getTimeInSurge(self) -> float: ... + @typing.overload + def recordOperatingPoint(self, double: float, compressor: 'Compressor') -> None: ... + @typing.overload + def recordOperatingPoint(self, operatingPoint: 'CompressorOperatingHistory.OperatingPoint') -> None: ... + class OperatingPoint(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, compressorState: 'CompressorState', double9: float, double10: float, double11: float, double12: float): ... + def getEfficiency(self) -> float: ... + def getFlow(self) -> float: ... + def getHead(self) -> float: ... + def getInletPressure(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getOutletPressure(self) -> float: ... + def getOutletTemperature(self) -> float: ... + def getPower(self) -> float: ... + def getSpeed(self) -> float: ... + def getState(self) -> 'CompressorState': ... + def getStoneWallMargin(self) -> float: ... + def getSurgeMargin(self) -> float: ... + def getTime(self) -> float: ... + def isInSurge(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class CompressorPropertyProfile(java.io.Serializable): + def __init__(self): ... + def addFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def getFluid(self) -> java.util.ArrayList[jneqsim.thermo.system.SystemInterface]: ... + def isActive(self) -> bool: ... + def setActive(self, boolean: bool) -> None: ... + def setFluid(self, arrayList: java.util.ArrayList[jneqsim.thermo.system.SystemInterface]) -> None: ... + +class CompressorState(java.lang.Enum['CompressorState']): + STOPPED: typing.ClassVar['CompressorState'] = ... + STARTING: typing.ClassVar['CompressorState'] = ... + RUNNING: typing.ClassVar['CompressorState'] = ... + SURGE_PROTECTION: typing.ClassVar['CompressorState'] = ... + SPEED_LIMITED: typing.ClassVar['CompressorState'] = ... + SHUTDOWN: typing.ClassVar['CompressorState'] = ... + DEPRESSURIZING: typing.ClassVar['CompressorState'] = ... + TRIPPED: typing.ClassVar['CompressorState'] = ... + STANDBY: typing.ClassVar['CompressorState'] = ... + def canStart(self) -> bool: ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def isOperational(self) -> bool: ... + def isStopped(self) -> bool: ... + def isTransitional(self) -> bool: ... + def requiresAcknowledgment(self) -> bool: ... + def toString(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]) -> 'CompressorState': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorState']: ... + +class CompressorTrain(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def getAftercooler(self) -> jneqsim.process.equipment.heatexchanger.Cooler: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCompressionRatio(self) -> float: ... + def getCompressor(self) -> 'Compressor': ... + def getDistanceToSurge(self) -> float: ... + def getInletScrubber(self) -> jneqsim.process.equipment.separator.Separator: ... + def getInternalEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getMaxUtilization(self) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPerformanceSummary(self) -> java.lang.String: ... + def getPolytropicEfficiency(self) -> float: ... + def getPolytropicHead(self) -> float: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isSurging(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setAftercoolerTemperature(self, double: float) -> None: ... + @typing.overload + def setAftercoolerTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setUseAftercooler(self, boolean: bool) -> None: ... + def setUseInletScrubber(self, boolean: bool) -> None: ... + +class CompressorWashing(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, foulingType: 'CompressorWashing.FoulingType'): ... + def calculateAnnualChemicalCost(self, int: int, double: float) -> float: ... + def estimateAnnualProductionLoss(self, double: float, double2: float, double3: float) -> float: ... + def estimateWashInterval(self, double: float) -> float: ... + def estimateWaterConsumption(self, washingMethod: 'CompressorWashing.WashingMethod') -> float: ... + def getCorrectedEfficiency(self, double: float) -> float: ... + def getCorrectedHead(self, double: float) -> float: ... + def getCurrentFoulingFactor(self) -> float: ... + def getDominantFoulingType(self) -> 'CompressorWashing.FoulingType': ... + def getEfficiencyDegradation(self) -> float: ... + def getEnvironmentalSeverity(self) -> float: ... + def getHeadLossFactor(self) -> float: ... + def getHoursSinceLastWash(self) -> float: ... + def getInletFilterEfficiency(self) -> float: ... + def getMaxAllowableFouling(self) -> float: ... + def getOnlineWashWaterFlow(self) -> float: ... + def getTotalOperatingHours(self) -> float: ... + def getWashHistory(self) -> java.util.List['CompressorWashing.WashEvent']: ... + def getWashWaterTemperature(self) -> float: ... + def isUseDetergent(self) -> bool: ... + def isWashingCritical(self) -> bool: ... + def isWashingRecommended(self) -> bool: ... + def performOfflineWash(self) -> float: ... + def performOnlineWash(self) -> float: ... + def performWash(self, washingMethod: 'CompressorWashing.WashingMethod') -> float: ... + def printSummary(self) -> None: ... + def setCurrentFoulingFactor(self, double: float) -> None: ... + def setDominantFoulingType(self, foulingType: 'CompressorWashing.FoulingType') -> None: ... + def setEnvironmentalSeverity(self, double: float) -> None: ... + def setInletFilterEfficiency(self, double: float) -> None: ... + def setMaxAllowableFouling(self, double: float) -> None: ... + def setOnlineWashWaterFlow(self, double: float) -> None: ... + def setUseDetergent(self, boolean: bool) -> None: ... + def setWashWaterTemperature(self, double: float) -> None: ... + def updateFouling(self, double: float) -> None: ... + class FoulingType(java.lang.Enum['CompressorWashing.FoulingType']): + SALT: typing.ClassVar['CompressorWashing.FoulingType'] = ... + HYDROCARBON: typing.ClassVar['CompressorWashing.FoulingType'] = ... + PARTICULATE: typing.ClassVar['CompressorWashing.FoulingType'] = ... + CORROSION: typing.ClassVar['CompressorWashing.FoulingType'] = ... + BIOLOGICAL: typing.ClassVar['CompressorWashing.FoulingType'] = ... + def getDescription(self) -> java.lang.String: ... + def getFoulingRatePerHour(self) -> float: ... + def getWashabilityFactor(self) -> float: ... + _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]) -> 'CompressorWashing.FoulingType': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorWashing.FoulingType']: ... + class WashEvent(java.io.Serializable): + def __init__(self, washingMethod: 'CompressorWashing.WashingMethod', double: float, double2: float, double3: float, double4: float): ... + def getFoulingAfter(self) -> float: ... + def getFoulingBefore(self) -> float: ... + def getMethod(self) -> 'CompressorWashing.WashingMethod': ... + def getOperatingHoursAtWash(self) -> float: ... + def getRecovery(self) -> float: ... + def getTimestamp(self) -> int: ... + class WashingMethod(java.lang.Enum['CompressorWashing.WashingMethod']): + ONLINE_WET: typing.ClassVar['CompressorWashing.WashingMethod'] = ... + OFFLINE_SOAK: typing.ClassVar['CompressorWashing.WashingMethod'] = ... + CRANK_WASH: typing.ClassVar['CompressorWashing.WashingMethod'] = ... + CHEMICAL_CLEAN: typing.ClassVar['CompressorWashing.WashingMethod'] = ... + DRY_ICE_BLAST: typing.ClassVar['CompressorWashing.WashingMethod'] = ... + def canRunOnline(self) -> bool: ... + def getDisplayName(self) -> java.lang.String: ... + def getRecoveryEffectiveness(self) -> float: ... + def getRequiredDowntimeHours(self) -> float: ... + _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]) -> 'CompressorWashing.WashingMethod': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorWashing.WashingMethod']: ... + +class DriverType(java.lang.Enum['DriverType']): + ELECTRIC_MOTOR: typing.ClassVar['DriverType'] = ... + VFD_MOTOR: typing.ClassVar['DriverType'] = ... + GAS_TURBINE: typing.ClassVar['DriverType'] = ... + STEAM_TURBINE: typing.ClassVar['DriverType'] = ... + RECIPROCATING_ENGINE: typing.ClassVar['DriverType'] = ... + EXPANDER_DRIVE: typing.ClassVar['DriverType'] = ... + @staticmethod + def fromName(string: typing.Union[java.lang.String, str]) -> 'DriverType': ... + def getDisplayName(self) -> java.lang.String: ... + def getTypicalEfficiency(self) -> float: ... + def getTypicalResponseTime(self) -> float: ... + def isElectric(self) -> bool: ... + def supportsVariableSpeed(self) -> bool: ... + _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]) -> 'DriverType': ... + @staticmethod + def values() -> typing.MutableSequence['DriverType']: ... + +class DryGasSealAnalyzer: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getMaxJTLiquidFraction(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getStandpipeFillTimeHours(self) -> float: ... + def isAnalysisComplete(self) -> bool: ... + def isSafeToOperate(self) -> bool: ... + def runFullAnalysis(self) -> None: ... + def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGCUMargins(self, double: float, double2: float) -> None: ... + def setInsulation(self, double: float, double2: float) -> None: ... + def setPrimaryVentPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSealCavityPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSealCavityTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSealClearance(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSealGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSealLeakageRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setStandpipeCount(self, int: int) -> None: ... + def setStandpipeGeometry(self, double: float, double2: float) -> None: ... + def setStandpipeWallThickness(self, double: float) -> None: ... + def setWindSpeed(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class OperatingEnvelope(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def getDistanceToEnvelope(self, double: float, double2: float, double3: float) -> float: ... + def getLimitingConstraint(self, double: float, double2: float, double3: float) -> java.lang.String: ... + def getMaxDischargeTemperature(self) -> float: ... + def getMaxHead(self) -> float: ... + def getMaxPower(self) -> float: ... + def getMaxSpeed(self) -> float: ... + def getMinPower(self) -> float: ... + def getMinSpeed(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def getSpeedMargin(self, double: float) -> float: ... + def getStonewallFlowAtHead(self, double: float, double2: float) -> float: ... + def getStonewallFlows(self) -> typing.MutableSequence[float]: ... + def getStonewallHeads(self) -> typing.MutableSequence[float]: ... + def getStonewallMargin(self, double: float, double2: float, double3: float) -> float: ... + def getSurgeFlowAtHead(self, double: float, double2: float) -> float: ... + def getSurgeFlows(self) -> typing.MutableSequence[float]: ... + def getSurgeHeads(self) -> typing.MutableSequence[float]: ... + def getSurgeMargin(self, double: float, double2: float, double3: float) -> float: ... + def isWithinEnvelope(self, double: float, double2: float, double3: float) -> bool: ... + def setMaxDischargeTemperature(self, double: float) -> None: ... + def setMaxHead(self, double: float) -> None: ... + def setMaxPower(self, double: float) -> None: ... + def setMaxSpeed(self, double: float) -> None: ... + def setMinPower(self, double: float) -> None: ... + def setMinSpeed(self, double: float) -> None: ... + def setRatedSpeed(self, double: float) -> None: ... + def setStonewallLine(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStonewallLinePolynomial(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSurgeLine(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSurgeLinePolynomial(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class ShutdownProfile(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, shutdownType: 'ShutdownProfile.ShutdownType', double: float): ... + def getAntisurgeOpenDelay(self) -> float: ... + def getCoastdownTime(self) -> float: ... + def getCurrentPhase(self, double: float) -> java.lang.String: ... + def getDepressurizationTime(self) -> float: ... + def getEmergencyRampRate(self) -> float: ... + def getIdleRundownTime(self) -> float: ... + def getMaximumDepressurizationRate(self) -> float: ... + def getMinimumIdleSpeed(self) -> float: ... + def getNormalRampRate(self) -> float: ... + def getProfilePoints(self) -> java.util.List['ShutdownProfile.ProfilePoint']: ... + def getRapidRampRate(self) -> float: ... + def getShutdownType(self) -> 'ShutdownProfile.ShutdownType': ... + def getTargetSpeedAtTime(self, double: float, double2: float) -> float: ... + def getTotalDuration(self) -> float: ... + def isOpenAntisurgeOnShutdown(self) -> bool: ... + def isShutdownComplete(self, double: float, double2: float) -> bool: ... + def setAntisurgeOpenDelay(self, double: float) -> None: ... + def setCoastdownTime(self, double: float) -> None: ... + def setDepressurizationTime(self, double: float) -> None: ... + def setEmergencyRampRate(self, double: float) -> None: ... + def setIdleRundownTime(self, double: float) -> None: ... + def setMaximumDepressurizationRate(self, double: float) -> None: ... + def setMinimumIdleSpeed(self, double: float) -> None: ... + def setNormalRampRate(self, double: float) -> None: ... + def setOpenAntisurgeOnShutdown(self, boolean: bool) -> None: ... + def setRapidRampRate(self, double: float) -> None: ... + def setShutdownType(self, shutdownType: 'ShutdownProfile.ShutdownType', double: float) -> None: ... + def shouldOpenAntisurge(self, double: float) -> bool: ... + class ProfilePoint(java.io.Serializable): + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def getAction(self) -> java.lang.String: ... + def getTargetSpeed(self) -> float: ... + def getTime(self) -> float: ... + class ShutdownType(java.lang.Enum['ShutdownProfile.ShutdownType']): + NORMAL: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... + RAPID: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... + EMERGENCY: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... + COASTDOWN: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... + _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]) -> 'ShutdownProfile.ShutdownType': ... + @staticmethod + def values() -> typing.MutableSequence['ShutdownProfile.ShutdownType']: ... + +class StartupProfile(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def addProfilePoint(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + def clearProfile(self) -> None: ... + @staticmethod + def createFastProfile(double: float) -> 'StartupProfile': ... + @staticmethod + def createSlowProfile(double: float, double2: float) -> 'StartupProfile': ... + def getAntisurgeOpeningDuration(self) -> float: ... + def getCurrentPhase(self, double: float) -> java.lang.String: ... + def getIdleHoldTime(self) -> float: ... + def getMaximumVibration(self) -> float: ... + def getMinimumIdleSpeed(self) -> float: ... + def getMinimumLubeOilTemperature(self) -> float: ... + def getMinimumOilPressure(self) -> float: ... + def getNormalRampRate(self) -> float: ... + def getProfilePoints(self) -> java.util.List['StartupProfile.ProfilePoint']: ... + def getTargetSpeedAtTime(self, double: float, double2: float) -> float: ... + def getTotalDuration(self, double: float) -> float: ... + def getWarmupRampRate(self) -> float: ... + def isRequireAntisurgeOpen(self) -> bool: ... + def isStartupComplete(self, double: float, double2: float, double3: float, double4: float) -> bool: ... + def setAntisurgeOpeningDuration(self, double: float) -> None: ... + def setIdleHoldTime(self, double: float) -> None: ... + def setMaximumVibration(self, double: float) -> None: ... + def setMinimumIdleSpeed(self, double: float) -> None: ... + def setMinimumLubeOilTemperature(self, double: float) -> None: ... + def setMinimumOilPressure(self, double: float) -> None: ... + def setNormalRampRate(self, double: float) -> None: ... + def setRequireAntisurgeOpen(self, boolean: bool) -> None: ... + def setWarmupRampRate(self, double: float) -> None: ... + class ProfilePoint(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]): ... + def getCheckDescription(self) -> java.lang.String: ... + def getHoldDuration(self) -> float: ... + def getTargetSpeed(self) -> float: ... + def getTime(self) -> float: ... + +class BoundaryCurve(BoundaryCurveInterface): + def equals(self, object: typing.Any) -> bool: ... + @typing.overload + def getFlow(self, double: float) -> float: ... + @typing.overload + def getFlow(self) -> typing.MutableSequence[float]: ... + def getHead(self) -> typing.MutableSequence[float]: ... + def hashCode(self) -> int: ... + def isActive(self) -> bool: ... + def setActive(self, boolean: bool) -> None: ... + def setCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface, jneqsim.process.ml.StateVectorProvider, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + thermoSystem: jneqsim.thermo.system.SystemInterface = ... + dH: float = ... + inletEnthalpy: float = ... + pressure: float = ... + isentropicEfficiency: float = ... + polytropicEfficiency: float = ... + usePolytropicCalc: bool = ... + powerSet: bool = ... + calcPressureOut: bool = ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def acknowledgeTrip(self) -> None: ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addEventListener(self, compressorEventListener: CompressorEventListener) -> None: ... + def addOperatingHours(self, double: float) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... + def checkPowerLimits(self) -> None: ... + def checkSpeedLimits(self) -> None: ... + def checkStoneWallMargin(self) -> None: ... + def checkSurgeMargin(self) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def copy(self) -> 'Compressor': ... + def disableOperatingHistory(self) -> None: ... + def displayResult(self) -> None: ... + def emergencyShutdown(self) -> None: ... + def enableOperatingHistory(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def findOutPressure(self, double: float, double2: float, double3: float) -> float: ... + @typing.overload + def generateCompressorChart(self) -> None: ... + @typing.overload + def generateCompressorChart(self, int: int) -> None: ... + @typing.overload + def generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def generateCompressorChart(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def generateCompressorChart(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def generateCompressorChartFromTemplate(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def generateCompressorCurves(self) -> None: ... + def getActualCompressionRatio(self) -> float: ... + def getAntiSurge(self) -> AntiSurge: ... + def getBearingLoss(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getCompressionRatio(self) -> float: ... + def getCompressorChart(self) -> CompressorChartInterface: ... + def getCompressorChartAsJson(self) -> java.lang.String: ... + def getCompressorChartType(self) -> java.lang.String: ... + def getCurveTemplate(self) -> java.lang.String: ... + def getDegradationFactor(self) -> float: ... + def getDistanceToStoneWall(self) -> float: ... + def getDistanceToSurge(self) -> float: ... + def getDriver(self) -> CompressorDriver: ... + def getDriverCurve(self) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... + def getEffectivePolytropicEfficiency(self) -> float: ... + def getEffectivePolytropicHead(self) -> float: ... + def getEfficiencySolveTolerance(self) -> float: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.compressor.CompressorElectricalDesign: ... + def getEnergy(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getFoulingFactor(self) -> float: ... + def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.compressor.CompressorInstrumentDesign: ... + def getIsentropicEfficiency(self) -> float: ... + def getMaxAccelerationRate(self) -> float: ... + def getMaxDecelerationRate(self) -> float: ... + @typing.overload + def getMaxDischargeTemperature(self) -> float: ... + @typing.overload + def getMaxDischargeTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxOutletPressure(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMaximumSpeed(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalEfficiency(self) -> float: ... + def getMechanicalLosses(self) -> CompressorMechanicalLosses: ... + def getMinimumSpeed(self) -> float: ... + def getNumberOfCompressorCalcSteps(self) -> int: ... + def getNumberOfSpeedCurves(self) -> int: ... + def getOperatingEnvelopeViolation(self) -> java.lang.String: ... + def getOperatingHistory(self) -> CompressorOperatingHistory: ... + def getOperatingHours(self) -> float: ... + def getOperatingPoint(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getOperatingPointJson(self) -> java.lang.String: ... + def getOperatingState(self) -> CompressorState: ... + def getOutTemperature(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getPolytropicEfficiency(self) -> float: ... + def getPolytropicExponent(self) -> float: ... + def getPolytropicFluidHead(self) -> float: ... + @typing.overload + def getPolytropicHead(self) -> float: ... + @typing.overload + def getPolytropicHead(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPolytropicHeadMeter(self) -> float: ... + def getPolytropicMethod(self) -> java.lang.String: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPropertyProfile(self) -> CompressorPropertyProfile: ... + @typing.overload + def getRatioToMaxSpeed(self) -> float: ... + @typing.overload + def getRatioToMaxSpeed(self, double: float) -> float: ... + @typing.overload + def getRatioToMinSpeed(self) -> float: ... + @typing.overload + def getRatioToMinSpeed(self, double: float) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getRotationalInertia(self) -> float: ... + def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed(self) -> typing.MutableSequence[float]: ... + def getSealGasConsumption(self) -> float: ... + def getShutdownProfile(self) -> ShutdownProfile: ... + def getSimulationValidationErrors(self) -> java.util.List[java.lang.String]: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSpeed(self) -> float: ... + def getStartupProfile(self) -> StartupProfile: ... + def getStateVector(self) -> jneqsim.process.ml.StateVector: ... + def getStoneWallWarningThreshold(self) -> float: ... + def getSurgeCriticalThreshold(self) -> float: ... + def getSurgeFlowRate(self) -> float: ... + def getSurgeFlowRateMargin(self) -> float: ... + def getSurgeFlowRateStd(self) -> float: ... + def getSurgeWarningThreshold(self) -> float: ... + def getTargetSpeed(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalWork(self) -> float: ... + def hashCode(self) -> int: ... + def initElectricalDesign(self) -> None: ... + def initInstrumentDesign(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + @typing.overload + def initMechanicalLosses(self) -> CompressorMechanicalLosses: ... + @typing.overload + def initMechanicalLosses(self, double: float) -> CompressorMechanicalLosses: ... + def isAutoSized(self) -> bool: ... + def isAutoSpeedMode(self) -> bool: ... + def isCalcPressureOut(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + @typing.overload + def isHigherThanMaxSpeed(self) -> bool: ... + @typing.overload + def isHigherThanMaxSpeed(self, double: float) -> bool: ... + def isLimitSpeed(self) -> bool: ... + @typing.overload + def isLowerThanMinSpeed(self) -> bool: ... + @typing.overload + def isLowerThanMinSpeed(self, double: float) -> bool: ... + def isSetMaxDischargeTemperature(self) -> bool: ... + def isSetMaxOutletPressure(self) -> bool: ... + def isSimulationValid(self) -> bool: ... + def isSolveSpeed(self) -> bool: ... + @typing.overload + def isSpeedWithinRange(self) -> bool: ... + @typing.overload + def isSpeedWithinRange(self, double: float) -> bool: ... + @typing.overload + def isStoneWall(self) -> bool: ... + @typing.overload + def isStoneWall(self, double: float, double2: float) -> bool: ... + @typing.overload + def isSurge(self, double: float, double2: float) -> bool: ... + @typing.overload + def isSurge(self) -> bool: ... + def isUseGERG2008(self) -> bool: ... + def isUseLeachman(self) -> bool: ... + def isUseRigorousPolytropicMethod(self) -> bool: ... + def isUseVega(self) -> bool: ... + def isWithinOperatingEnvelope(self) -> bool: ... + def loadCompressorChartFromCsv(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadCompressorChartFromJson(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadCompressorChartFromJsonString(self, string: typing.Union[java.lang.String, str]) -> None: ... + def needRecalculation(self) -> bool: ... + def recordOperatingPoint(self, double: float) -> None: ... + def reinitializeCapacityConstraints(self) -> None: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeEventListener(self, compressorEventListener: CompressorEventListener) -> None: ... + def resetDynamicState(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runController(self, double: float, 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 saveCompressorChartToCsv(self, string: typing.Union[java.lang.String, str]) -> None: ... + def saveCompressorChartToJson(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAntiSurge(self, antiSurge: AntiSurge) -> None: ... + def setAutoSpeedMode(self, boolean: bool) -> None: ... + def setCalcPressureOut(self, boolean: bool) -> None: ... + def setCompressionRatio(self, double: float) -> None: ... + def setCompressorChart(self, compressorChartInterface: CompressorChartInterface) -> None: ... + def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCurveTemplate(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDegradationFactor(self, double: float) -> None: ... + @typing.overload + def setDriver(self, compressorDriver: CompressorDriver) -> None: ... + @typing.overload + def setDriver(self, driverType: DriverType, double: float) -> None: ... + def setDriverCurve(self, driverCurve: jneqsim.process.equipment.compressor.driver.DriverCurve) -> None: ... + def setEfficiencySolveTolerance(self, double: float) -> None: ... + def setFoulingFactor(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setIsSetMaxOutletPressure(self, boolean: bool) -> None: ... + def setIsentropicEfficiency(self, double: float) -> None: ... + def setLimitSpeed(self, boolean: bool) -> None: ... + def setMaxAccelerationRate(self, double: float) -> None: ... + def setMaxDecelerationRate(self, double: float) -> None: ... + @typing.overload + def setMaxDischargeTemperature(self, double: float) -> None: ... + @typing.overload + def setMaxDischargeTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxOutletPressure(self, double: float) -> None: ... + def setMaximumSpeed(self, double: float) -> None: ... + def setMechanicalLosses(self, compressorMechanicalLosses: CompressorMechanicalLosses) -> None: ... + def setMinimumSpeed(self, double: float) -> None: ... + def setNumberOfCompressorCalcSteps(self, int: int) -> None: ... + def setNumberOfSpeedCurves(self, int: int) -> None: ... + def setOperatingHours(self, double: float) -> None: ... + def setOperatingState(self, compressorState: CompressorState) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPolytropicEfficiency(self, double: float) -> None: ... + def setPolytropicHeadMeter(self, double: float) -> None: ... + def setPolytropicMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPower(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPropertyProfile(self, compressorPropertyProfile: CompressorPropertyProfile) -> None: ... + def setRotationalInertia(self, double: float) -> None: ... + def setShutdownProfile(self, shutdownProfile: ShutdownProfile) -> None: ... + def setSolveSpeed(self, boolean: bool) -> None: ... + def setSpeed(self, double: float) -> None: ... + def setStartupProfile(self, startupProfile: StartupProfile) -> None: ... + def setStoneWallWarningThreshold(self, double: float) -> None: ... + def setSurgeCriticalThreshold(self, double: float) -> None: ... + def setSurgeWarningThreshold(self, double: float) -> None: ... + def setTargetSpeed(self, double: float) -> None: ... + def setUseEnergyEfficiencyChart(self, boolean: bool) -> None: ... + def setUseGERG2008(self, boolean: bool) -> None: ... + def setUseLeachman(self, boolean: bool) -> None: ... + def setUsePolytropicCalc(self, boolean: bool) -> None: ... + def setUseRigorousPolytropicMethod(self, boolean: bool) -> None: ... + def setUseVega(self, boolean: bool) -> None: ... + def solveAntiSurge(self) -> None: ... + def solveEfficiency(self, double: float) -> float: ... + def startCompressor(self, double: float) -> None: ... + @typing.overload + def stopCompressor(self) -> None: ... + @typing.overload + def stopCompressor(self, shutdownType: ShutdownProfile.ShutdownType) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def updateDynamicState(self, double: float) -> None: ... + def updateMechanicalLosses(self) -> None: ... + def updatePowerConstraint(self, double: float) -> None: ... + def updateSpeedConstraint(self, double: float, double2: float) -> None: ... + def useOutTemperature(self, boolean: bool) -> None: ... + def usePolytropicCalc(self) -> bool: ... + class Builder: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def build(self) -> 'Compressor': ... + def compressionRatio(self, double: float) -> 'Compressor.Builder': ... + def inletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'Compressor.Builder': ... + def interpolateMapLookup(self) -> 'Compressor.Builder': ... + def isentropicEfficiency(self, double: float) -> 'Compressor.Builder': ... + def maxOutletPressure(self, double: float) -> 'Compressor.Builder': ... + def maxSpeed(self, double: float) -> 'Compressor.Builder': ... + def minSpeed(self, double: float) -> 'Compressor.Builder': ... + def numberOfCompressorCalcSteps(self, int: int) -> 'Compressor.Builder': ... + @typing.overload + def outletPressure(self, double: float) -> 'Compressor.Builder': ... + @typing.overload + def outletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... + @typing.overload + def outletTemperature(self, double: float) -> 'Compressor.Builder': ... + @typing.overload + def outletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... + def polytropicEfficiency(self, double: float) -> 'Compressor.Builder': ... + def polytropicMethod(self, string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... + def speed(self, double: float) -> 'Compressor.Builder': ... + def useCompressorChart(self) -> 'Compressor.Builder': ... + def useGERG2008(self) -> 'Compressor.Builder': ... + def useLeachman(self) -> 'Compressor.Builder': ... + def useRigorousPolytropicMethod(self) -> 'Compressor.Builder': ... + def useVega(self) -> 'Compressor.Builder': ... + +class CompressorChart(CompressorChartInterface, java.io.Serializable): + def __init__(self): ... + @typing.overload + def addCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addCurve(self, double: float, 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 addSurgeCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def checkStoneWall(self, double: float, double2: float) -> bool: ... + def checkSurge1(self, double: float, double2: float) -> bool: ... + def checkSurge2(self, double: float, double2: float) -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + def fitReducedCurve(self) -> None: ... + def generateStoneWallCurve(self) -> None: ... + def generateSurgeCurve(self) -> None: ... + def getChartConditions(self) -> typing.MutableSequence[float]: ... + def getDischargeTemperatures(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getFlow(self, double: float, double2: float, double3: float) -> float: ... + def getFlows(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGamma(self) -> float: ... + def getHeadUnit(self) -> java.lang.String: ... + def getHeads(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getInletPressure(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getMaxSpeedCurve(self) -> float: ... + def getMinSpeedCurve(self) -> float: ... + def getPolytropicEfficiencies(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... + def getPolytropicExponent(self) -> float: ... + def getPolytropicHead(self, double: float, double2: float) -> float: ... + def getPowers(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureRatios(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getReferenceDensity(self) -> float: ... + def getSpeed(self, double: float, double2: float) -> int: ... + def getSpeedValue(self, double: float, double2: float) -> float: ... + def getSpeeds(self) -> typing.MutableSequence[float]: ... + def getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getStoneWallFlowAtSpeed(self, double: float) -> float: ... + def getStoneWallHeadAtSpeed(self, double: float) -> float: ... + def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def getSurgeFlowAtSpeed(self, double: float) -> float: ... + def getSurgeHeadAtSpeed(self, double: float) -> float: ... + def hashCode(self) -> int: ... + def isUseCompressorChart(self) -> bool: ... + def plot(self) -> None: ... + def polytropicEfficiency(self, double: float, double2: float) -> float: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setGamma(self, double: float) -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setMaxSpeedCurve(self, double: float) -> None: ... + def setMinSpeedCurve(self, double: float) -> None: ... + def setPolytropicExponent(self, double: float) -> None: ... + def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setReferenceDensity(self, double: float) -> None: ... + def setStoneWallCurve(self, stoneWallCurve: 'StoneWallCurve') -> None: ... + def setSurgeCurve(self, safeSplineSurgeCurve: 'SafeSplineSurgeCurve') -> None: ... + def setUseCompressorChart(self, boolean: bool) -> None: ... + def setUseRealKappa(self, boolean: bool) -> None: ... + def useRealKappa(self) -> bool: ... + +class CompressorChartAlternativeMapLookup(CompressorChart): + def __init__(self): ... + @typing.overload + def addCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addCurve(self, double: float, 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 addSurgeCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + @staticmethod + def bisect_left(doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> int: ... + @typing.overload + @staticmethod + def bisect_left(doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, int: int, int2: int) -> int: ... + def checkStoneWall(self, double: float, double2: float) -> bool: ... + def checkSurge1(self, double: float, double2: float) -> bool: ... + def checkSurge2(self, double: float, double2: float) -> bool: ... + def getChartConditions(self) -> typing.MutableSequence[float]: ... + def getChartValues(self) -> java.util.ArrayList[CompressorCurve]: ... + def getClosestRefSpeeds(self, double: float) -> java.util.ArrayList[float]: ... + def getCurveAtRefSpeed(self, double: float) -> CompressorCurve: ... + def getFlow(self, double: float, double2: float, double3: float) -> float: ... + def getFlows(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGearRatio(self) -> float: ... + def getHeadUnit(self) -> java.lang.String: ... + def getHeads(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMaxSpeedCurve(self) -> float: ... + def getMinSpeedCurve(self) -> float: ... + def getPolytropicEfficiencies(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... + def getPolytropicHead(self, double: float, double2: float) -> float: ... + def getSpeed(self, double: float, double2: float) -> int: ... + def getSpeedValue(self, double: float, double2: float) -> float: ... + def getSpeeds(self) -> typing.MutableSequence[float]: ... + def getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def isUseCompressorChart(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def plot(self) -> None: ... + def polytropicEfficiency(self, double: float, double2: float) -> float: ... + def prettyPrintChartValues(self) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setGearRatio(self, double: float) -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setStoneWallCurve(self, stoneWallCurve: 'StoneWallCurve') -> None: ... + def setSurgeCurve(self, safeSplineSurgeCurve: 'SafeSplineSurgeCurve') -> None: ... + def setUseCompressorChart(self, boolean: bool) -> None: ... + def setUseRealKappa(self, boolean: bool) -> None: ... + def useRealKappa(self) -> bool: ... + +class CompressorChartMWInterpolation(CompressorChart): + def __init__(self): ... + @typing.overload + def addMapAtMW(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addMapAtMW(self, double: float, double2: float, 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: ... + @typing.overload + def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def generateAllStoneWallCurves(self) -> None: ... + def generateAllSurgeCurves(self) -> None: ... + def getChartAtMW(self, double: float) -> CompressorChart: ... + def getDistanceToStoneWall(self, double: float, double2: float) -> float: ... + def getDistanceToSurge(self, double: float, double2: float) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMapMolecularWeights(self) -> java.util.List[float]: ... + def getNumberOfMaps(self) -> int: ... + def getOperatingMW(self) -> float: ... + def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... + def getPolytropicHead(self, double: float, double2: float) -> float: ... + def getStoneWallFlow(self, double: float) -> float: ... + def getStoneWallFlowAtSpeed(self, double: float) -> float: ... + def getStoneWallHeadAtSpeed(self, double: float) -> float: ... + def getSurgeFlow(self, double: float) -> float: ... + def getSurgeFlowAtSpeed(self, double: float) -> float: ... + def getSurgeHeadAtSpeed(self, double: float) -> float: ... + def isAllowExtrapolation(self) -> bool: ... + def isAutoGenerateStoneWallCurves(self) -> bool: ... + def isAutoGenerateSurgeCurves(self) -> bool: ... + def isInterpolationEnabled(self) -> bool: ... + def isStoneWall(self, double: float, double2: float) -> bool: ... + def isSurge(self, double: float, double2: float) -> bool: ... + def isUseActualMW(self) -> bool: ... + def setAllowExtrapolation(self, boolean: bool) -> None: ... + def setAutoGenerateStoneWallCurves(self, boolean: bool) -> None: ... + def setAutoGenerateSurgeCurves(self, boolean: bool) -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInterpolationEnabled(self, boolean: bool) -> None: ... + def setOperatingMW(self, double: float) -> None: ... + def setStoneWallCurveAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSurgeCurveAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setUseActualMW(self, boolean: bool) -> None: ... + +class StoneWallCurve(BoundaryCurve): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def getStoneWallFlow(self, double: float) -> float: ... + def isLimit(self, double: float, double2: float) -> bool: ... + def isStoneWall(self, double: float, double2: float) -> bool: ... + +class SurgeCurve(BoundaryCurve): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def getSurgeFlow(self, double: float) -> float: ... + def isLimit(self, double: float, double2: float) -> bool: ... + def isSurge(self, double: float, double2: float) -> bool: ... + +class CompressorChartAlternativeMapLookupExtrapolate(CompressorChartAlternativeMapLookup): + def __init__(self): ... + def getClosestRefSpeeds(self, double: float) -> java.util.ArrayList[float]: ... + def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... + def getPolytropicHead(self, double: float, double2: float) -> float: ... + +class SafeSplineStoneWallCurve(StoneWallCurve): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def getFlow(self, double: float) -> float: ... + @typing.overload + def getFlow(self) -> typing.MutableSequence[float]: ... + def getSingleStoneWallFlow(self) -> float: ... + def getSingleStoneWallHead(self) -> float: ... + def getSortedFlow(self) -> typing.MutableSequence[float]: ... + def getSortedHead(self) -> typing.MutableSequence[float]: ... + def getStoneWallFlow(self, double: float) -> float: ... + def getStoneWallHead(self, double: float) -> float: ... + def isSinglePointStoneWall(self) -> bool: ... + def isStoneWall(self, double: float, double2: float) -> bool: ... + def setCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class SafeSplineSurgeCurve(SurgeCurve): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def getFlow(self, double: float) -> float: ... + @typing.overload + def getFlow(self) -> typing.MutableSequence[float]: ... + def getSingleSurgeFlow(self) -> float: ... + def getSingleSurgeHead(self) -> float: ... + def getSortedFlow(self) -> typing.MutableSequence[float]: ... + def getSortedHead(self) -> typing.MutableSequence[float]: ... + def getSurgeFlow(self, double: float) -> float: ... + def getSurgeHead(self, double: float) -> float: ... + def isSinglePointSurge(self) -> bool: ... + def isSurge(self, double: float, double2: float) -> bool: ... + def setCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class CompressorChartKhader2015(CompressorChartAlternativeMapLookupExtrapolate): + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, double: float): ... + def generateRealCurvesForFluid(self) -> None: ... + def generateStoneWallCurve(self) -> None: ... + def generateSurgeCurve(self) -> None: ... + def getCorrectedCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> java.util.List['CompressorChartKhader2015.CorrectedCurve']: ... + def getImpellerOuterDiameter(self) -> float: ... + def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... + def getPolytropicHead(self, double: float, double2: float) -> float: ... + def getRealCurves(self) -> java.util.List['CompressorChartKhader2015.RealCurve']: ... + def getReferenceFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getStoneWallFlowAtSpeed(self, double: float) -> float: ... + def getStoneWallHeadAtSpeed(self, double: float) -> float: ... + def getSurgeFlowAtSpeed(self, double: float) -> float: ... + def getSurgeHeadAtSpeed(self, double: float) -> float: ... + def prettyPrintRealCurvesForFluid(self) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setImpellerOuterDiameter(self, double: float) -> None: ... + def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + class CorrectedCurve: + machineMachNumber: float = ... + correctedFlowFactor: typing.MutableSequence[float] = ... + correctedHeadFactor: typing.MutableSequence[float] = ... + correctedFlowFactorEfficiency: typing.MutableSequence[float] = ... + polytropicEfficiency: typing.MutableSequence[float] = ... + def __init__(self, double: float, 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]): ... + class RealCurve: + speed: float = ... + flow: typing.MutableSequence[float] = ... + head: typing.MutableSequence[float] = ... + flowPolyEff: typing.MutableSequence[float] = ... + polytropicEfficiency: typing.MutableSequence[float] = ... + def __init__(self, double: float, 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]): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.compressor")``. + + AntiSurge: typing.Type[AntiSurge] + BoundaryCurve: typing.Type[BoundaryCurve] + BoundaryCurveInterface: typing.Type[BoundaryCurveInterface] + Compressor: typing.Type[Compressor] + CompressorChart: typing.Type[CompressorChart] + CompressorChartAlternativeMapLookup: typing.Type[CompressorChartAlternativeMapLookup] + CompressorChartAlternativeMapLookupExtrapolate: typing.Type[CompressorChartAlternativeMapLookupExtrapolate] + CompressorChartGenerator: typing.Type[CompressorChartGenerator] + CompressorChartInterface: typing.Type[CompressorChartInterface] + CompressorChartJsonReader: typing.Type[CompressorChartJsonReader] + CompressorChartKhader2015: typing.Type[CompressorChartKhader2015] + CompressorChartMWInterpolation: typing.Type[CompressorChartMWInterpolation] + CompressorChartReader: typing.Type[CompressorChartReader] + CompressorConstraintConfig: typing.Type[CompressorConstraintConfig] + CompressorCurve: typing.Type[CompressorCurve] + CompressorCurveCorrections: typing.Type[CompressorCurveCorrections] + CompressorCurveTemplate: typing.Type[CompressorCurveTemplate] + CompressorDriver: typing.Type[CompressorDriver] + CompressorEventListener: typing.Type[CompressorEventListener] + CompressorInterface: typing.Type[CompressorInterface] + CompressorMechanicalLosses: typing.Type[CompressorMechanicalLosses] + CompressorOperatingHistory: typing.Type[CompressorOperatingHistory] + CompressorPropertyProfile: typing.Type[CompressorPropertyProfile] + CompressorState: typing.Type[CompressorState] + CompressorTrain: typing.Type[CompressorTrain] + CompressorWashing: typing.Type[CompressorWashing] + DriverType: typing.Type[DriverType] + DryGasSealAnalyzer: typing.Type[DryGasSealAnalyzer] + OperatingEnvelope: typing.Type[OperatingEnvelope] + SafeSplineStoneWallCurve: typing.Type[SafeSplineStoneWallCurve] + SafeSplineSurgeCurve: typing.Type[SafeSplineSurgeCurve] + ShutdownProfile: typing.Type[ShutdownProfile] + StartupProfile: typing.Type[StartupProfile] + StoneWallCurve: typing.Type[StoneWallCurve] + SurgeCurve: typing.Type[SurgeCurve] + driver: jneqsim.process.equipment.compressor.driver.__module_protocol__ diff --git a/src/jneqsim/process/equipment/compressor/driver/__init__.pyi b/src/jneqsim/process/equipment/compressor/driver/__init__.pyi new file mode 100644 index 00000000..5441c56a --- /dev/null +++ b/src/jneqsim/process/equipment/compressor/driver/__init__.pyi @@ -0,0 +1,151 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import typing + + + +class DriverCurve(java.io.Serializable): + def canSupplyPower(self, double: float, double2: float) -> bool: ... + def getAltitude(self) -> float: ... + def getAmbientDeratingFactor(self) -> float: ... + def getAmbientTemperature(self) -> float: ... + def getAvailablePower(self, double: float) -> float: ... + def getAvailableTorque(self, double: float) -> float: ... + def getDriverType(self) -> java.lang.String: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getFuelConsumption(self, double: float, double2: float) -> float: ... + def getMaxSpeed(self) -> float: ... + def getMinSpeed(self) -> float: ... + def getPowerMargin(self, double: float, double2: float) -> float: ... + def getRatedPower(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def setAltitude(self, double: float) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + +class DriverCurveBase(DriverCurve, java.io.Serializable): + def canSupplyPower(self, double: float, double2: float) -> bool: ... + def getAltitude(self) -> float: ... + def getAmbientTemperature(self) -> float: ... + def getAvailableTorque(self, double: float) -> float: ... + def getDesignEfficiency(self) -> float: ... + def getMaxSpeed(self) -> float: ... + def getMinSpeed(self) -> float: ... + def getRatedPower(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def setAltitude(self, double: float) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setDesignEfficiency(self, double: float) -> None: ... + def setMaxSpeed(self, double: float) -> None: ... + def setMinSpeed(self, double: float) -> None: ... + def setRatedPower(self, double: float) -> None: ... + def setRatedSpeed(self, double: float) -> None: ... + +class ElectricMotorDriver(DriverCurveBase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def getAmbientDeratingFactor(self) -> float: ... + def getAvailablePower(self, double: float) -> float: ... + def getAvailableTorque(self, double: float) -> float: ... + def getBaseSpeedRatio(self) -> float: ... + def getDriverType(self) -> java.lang.String: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getEfficiencyClass(self) -> java.lang.String: ... + def getElectricalInput(self, double: float, double2: float) -> float: ... + def getFuelConsumption(self, double: float, double2: float) -> float: ... + def getMaxSpeedRatio(self) -> float: ... + def getMinSpeedRatio(self) -> float: ... + def getServiceFactor(self) -> float: ... + def hasVFD(self) -> bool: ... + def setBaseSpeedRatio(self, double: float) -> None: ... + def setEfficiencyClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHasVFD(self, boolean: bool) -> None: ... + def setMaxSpeedRatio(self, double: float) -> None: ... + def setMinSpeedRatio(self, double: float) -> None: ... + def setServiceFactor(self, double: float) -> None: ... + +class GasTurbineDriver(DriverCurveBase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def getAltitudeDeratingFactor(self) -> float: ... + def getAmbientDeratingFactor(self) -> float: ... + def getAvailablePower(self, double: float) -> float: ... + def getDriverType(self) -> java.lang.String: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getExhaustMassFlow(self, double: float) -> float: ... + def getExhaustTemperature(self, double: float) -> float: ... + def getFuelConsumption(self, double: float, double2: float) -> float: ... + def getFuelLHV(self) -> float: ... + def getHeatRate(self, double: float, double2: float) -> float: ... + def getSpeedTurndown(self) -> float: ... + def getTemperatureDeratingFactor(self) -> float: ... + def setAltitudeDeratingFactor(self, double: float) -> None: ... + def setEfficiencyCurve(self, double: float, double2: float, double3: float) -> None: ... + def setFuelLHV(self, double: float) -> None: ... + def setSpeedTurndown(self, double: float) -> None: ... + def setTemperatureDeratingFactor(self, double: float) -> None: ... + +class SteamTurbineDriver(DriverCurveBase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def getAmbientDeratingFactor(self) -> float: ... + def getAvailablePower(self, double: float) -> float: ... + def getDriverType(self) -> java.lang.String: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getExhaustPressure(self) -> float: ... + def getExtractionFlow(self) -> float: ... + def getExtractionPressure(self) -> float: ... + def getFuelConsumption(self, double: float, double2: float) -> float: ... + def getInletPressure(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getSteamConsumption(self, double: float, double2: float) -> float: ... + def getTheoreticalSteamRate(self) -> float: ... + def getTurbineType(self) -> 'SteamTurbineDriver.TurbineType': ... + def setExhaustPressure(self, double: float) -> None: ... + def setExtractionFlow(self, double: float) -> None: ... + def setExtractionPressure(self, double: float) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setTurbineType(self, turbineType: 'SteamTurbineDriver.TurbineType') -> None: ... + def setWillansLineParameters(self, double: float, double2: float) -> None: ... + class TurbineType(java.lang.Enum['SteamTurbineDriver.TurbineType']): + BACK_PRESSURE: typing.ClassVar['SteamTurbineDriver.TurbineType'] = ... + CONDENSING: typing.ClassVar['SteamTurbineDriver.TurbineType'] = ... + EXTRACTION: typing.ClassVar['SteamTurbineDriver.TurbineType'] = ... + _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]) -> 'SteamTurbineDriver.TurbineType': ... + @staticmethod + def values() -> typing.MutableSequence['SteamTurbineDriver.TurbineType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.compressor.driver")``. + + DriverCurve: typing.Type[DriverCurve] + DriverCurveBase: typing.Type[DriverCurveBase] + ElectricMotorDriver: typing.Type[ElectricMotorDriver] + GasTurbineDriver: typing.Type[GasTurbineDriver] + SteamTurbineDriver: typing.Type[SteamTurbineDriver] diff --git a/src/jneqsim/process/equipment/diffpressure/__init__.pyi b/src/jneqsim/process/equipment/diffpressure/__init__.pyi new file mode 100644 index 00000000..ae746b77 --- /dev/null +++ b/src/jneqsim/process/equipment/diffpressure/__init__.pyi @@ -0,0 +1,71 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import typing + + + +class DifferentialPressureFlowCalculator: + @typing.overload + @staticmethod + def calculate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'DifferentialPressureFlowCalculator.FlowCalculationResult': ... + @typing.overload + @staticmethod + def calculate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> 'DifferentialPressureFlowCalculator.FlowCalculationResult': ... + @typing.overload + @staticmethod + def calculate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray4: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]], doubleArray5: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> 'DifferentialPressureFlowCalculator.FlowCalculationResult': ... + @staticmethod + def calculateDpFromFlow(double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]], doubleArray2: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> float: ... + @typing.overload + @staticmethod + def calculateDpFromFlowVenturi(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @typing.overload + @staticmethod + def calculateDpFromFlowVenturi(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + class FlowCalculationResult: + def getMassFlowKgPerHour(self) -> typing.MutableSequence[float]: ... + def getMolecularWeightGPerMol(self) -> typing.MutableSequence[float]: ... + def getStandardFlowMSm3PerDay(self) -> typing.MutableSequence[float]: ... + def getVolumetricFlowM3PerHour(self) -> typing.MutableSequence[float]: ... + +class Orifice(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + def calc_dp(self) -> float: ... + @staticmethod + def calculateBetaRatio(double: float, double2: float) -> float: ... + @staticmethod + def calculateDischargeCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def calculateExpansibility(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def calculateMassFlowRate(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def calculatePressureDrop(double: float, double2: float, double3: float, double4: float, double5: float) -> 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 setOrificeParameters(self, double: float, double2: float, double3: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.diffpressure")``. + + DifferentialPressureFlowCalculator: typing.Type[DifferentialPressureFlowCalculator] + Orifice: typing.Type[Orifice] diff --git a/src/jneqsim/process/equipment/distillation/__init__.pyi b/src/jneqsim/process/equipment/distillation/__init__.pyi new file mode 100644 index 00000000..84be7492 --- /dev/null +++ b/src/jneqsim/process/equipment/distillation/__init__.pyi @@ -0,0 +1,744 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import neqsim +import jneqsim.process.equipment +import jneqsim.process.equipment.distillation.internals +import jneqsim.process.equipment.mixer +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class ColumnSpecification(java.io.Serializable): + @typing.overload + def __init__(self, specificationType: 'ColumnSpecification.SpecificationType', productLocation: 'ColumnSpecification.ProductLocation', double: float): ... + @typing.overload + def __init__(self, specificationType: 'ColumnSpecification.SpecificationType', productLocation: 'ColumnSpecification.ProductLocation', double: float, string: typing.Union[java.lang.String, str]): ... + def getComponentName(self) -> java.lang.String: ... + def getLocation(self) -> 'ColumnSpecification.ProductLocation': ... + def getMaxIterations(self) -> int: ... + def getTargetValue(self) -> float: ... + def getTolerance(self) -> float: ... + def getType(self) -> 'ColumnSpecification.SpecificationType': ... + def setMaxIterations(self, int: int) -> None: ... + def setTolerance(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class ProductLocation(java.lang.Enum['ColumnSpecification.ProductLocation']): + TOP: typing.ClassVar['ColumnSpecification.ProductLocation'] = ... + BOTTOM: typing.ClassVar['ColumnSpecification.ProductLocation'] = ... + _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]) -> 'ColumnSpecification.ProductLocation': ... + @staticmethod + def values() -> typing.MutableSequence['ColumnSpecification.ProductLocation']: ... + class SpecificationType(java.lang.Enum['ColumnSpecification.SpecificationType']): + PRODUCT_PURITY: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... + REFLUX_RATIO: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... + COMPONENT_RECOVERY: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... + PRODUCT_FLOW_RATE: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... + DUTY: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... + _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]) -> 'ColumnSpecification.SpecificationType': ... + @staticmethod + def values() -> typing.MutableSequence['ColumnSpecification.SpecificationType']: ... + +class DistillationColumnMatrixSolver: + def __init__(self, distillationColumn: 'DistillationColumn'): ... + def getLastIterationCount(self) -> int: ... + def getLastSolveTimeSeconds(self) -> float: ... + def getLastTemperatureResidual(self) -> float: ... + def hasConverged(self) -> bool: ... + def setDampingFactor(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setTolerance(self, double: float) -> None: ... + def solve(self, uUID: java.util.UUID) -> bool: ... + +class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + def setNumberOfTrays(self, int: int) -> None: ... + +class NaphtaliSandholmSolver: + @typing.overload + def __init__(self, distillationColumn: 'DistillationColumn'): ... + @typing.overload + def __init__(self, distillationColumn: 'DistillationColumn', map: typing.Union[java.util.Map[int, java.util.List[jneqsim.thermo.system.SystemInterface]], typing.Mapping[int, java.util.List[jneqsim.thermo.system.SystemInterface]]], map2: typing.Union[java.util.Map[int, java.util.List[float]], typing.Mapping[int, java.util.List[float]]]): ... + def getLastIterations(self) -> int: ... + def getLastMassBalanceError(self) -> float: ... + def getLastSolveTimeSeconds(self) -> float: ... + def setMaxIterations(self, int: int) -> None: ... + def setTolerance(self, double: float) -> None: ... + def solve(self, uUID: java.util.UUID) -> bool: ... + +class TrayInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + def setHeatInput(self, double: float) -> None: ... + +class ShortcutDistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface): + @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 getActualNumberOfStages(self) -> float: ... + def getActualRefluxRatio(self) -> float: ... + def getBottomsStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCondenserDuty(self) -> float: ... + def getDistillateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFeedTrayNumber(self) -> int: ... + def getMinimumNumberOfStages(self) -> float: ... + def getMinimumRefluxRatio(self) -> float: ... + def getReboilerDuty(self) -> float: ... + def getRelativeVolatility(self) -> float: ... + def getResultsJson(self) -> java.lang.String: ... + def isSolved(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setCondenserPressure(self, double: float) -> None: ... + @typing.overload + def setCondenserPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setHeavyKey(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeavyKeyRecoveryBottoms(self, double: float) -> None: ... + def setLightKey(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLightKeyRecoveryDistillate(self, double: float) -> None: ... + def setNumberOfTrays(self, int: int) -> None: ... + def setReboilerPressure(self, double: float) -> None: ... + def setRefluxRatioMultiplier(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 SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def TPflash(self) -> None: ... + def calcMixStreamEnthalpy(self) -> float: ... + def calcMixStreamEnthalpy0(self) -> float: ... + def getFeedRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasSideDrawFraction(self) -> float: ... + def getGasSideDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidPumparoundDrawFraction(self) -> float: ... + def getLiquidPumparoundDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidSideDrawFraction(self) -> float: ... + def getLiquidSideDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + def getVaporFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def guessTemperature(self) -> float: ... + def init(self) -> None: ... + def invalidateOutStreamCache(self) -> None: ... + def isUseReactiveFlash(self) -> bool: ... + def massBalance(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def run2(self) -> None: ... + def setCachedGasOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setCachedLiquidOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setGasSideDrawFraction(self, double: float) -> None: ... + def setHeatInput(self, double: float) -> None: ... + def setLiquidPumparoundDrawFraction(self, double: float) -> None: ... + def setLiquidSideDrawFraction(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setUseReactiveFlash(self, boolean: bool) -> None: ... + +class Condenser(SimpleTray): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def getDuty(self) -> float: ... + @typing.overload + def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProductOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRefluxRatio(self) -> float: ... + def isSeparation_with_liquid_reflux(self) -> bool: ... + def isTotalCondenser(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setRefluxRatio(self, double: float) -> None: ... + def setSeparation_with_liquid_reflux(self, boolean: bool, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalCondenser(self, boolean: bool) -> None: ... + +class ReactiveTray(SimpleTray): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class Reboiler(SimpleTray): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def clearRefluxRatio(self) -> None: ... + @typing.overload + def getDuty(self) -> float: ... + @typing.overload + def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getRefluxRatio(self) -> float: ... + def isRefluxSet(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setRefluxRatio(self, double: float) -> None: ... + +class VLSolidTray(SimpleTray): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcMixStreamEnthalpy(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + def init(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setHeatInput(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + +class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, boolean: bool, boolean2: bool): ... + @typing.overload + def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int) -> None: ... + def addLiquidPumparound(self, string: typing.Union[java.lang.String, str], int: int, int2: int, double: float, double2: float) -> 'DistillationColumn.ColumnPumparound': ... + def addSideDrawFlowSpecification(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase', double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.ColumnSideDrawSpecification': ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... + @typing.overload + def calcColumnInternals(self) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... + @typing.overload + def calcColumnInternals(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... + def clearPerStageMurphreeEfficiency(self) -> None: ... + def clearSeedTemperatures(self) -> None: ... + def componentMassBalanceCheck(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def displayResult(self) -> None: ... + def enableHydraulicPressureDropCoupling(self, string: typing.Union[java.lang.String, str]) -> None: ... + def energyBalanceCheck(self) -> None: ... + def estimateFeedTrayNumber(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... + @typing.overload + def findEconomicOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> 'DistillationColumn.EconomicTrayOptimizationResult': ... + @typing.overload + def findEconomicOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'DistillationColumn.EconomicTrayOptimizationResult': ... + @typing.overload + def findEconomicOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float, double7: float, double8: float) -> 'DistillationColumn.EconomicTrayOptimizationResult': ... + def findOptimalNumberOfTrays(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> int: ... + def findOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> 'DistillationColumn.TrayOptimizationResult': ... + def getBottomPressure(self) -> float: ... + def getBottomSpecification(self) -> ColumnSpecification: ... + def getCondenser(self) -> Condenser: ... + def getCondenserMode(self) -> 'DistillationColumn.CondenserMode': ... + def getCondenserTemperature(self) -> float: ... + def getConvergenceDiagnostics(self) -> java.lang.String: ... + def getConvergenceHistory(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getDynamicColumnModel(self) -> 'DistillationColumn.DynamicColumnModel': ... + def getEnergyBalanceError(self) -> float: ... + def getEnthalpyBalanceTolerance(self) -> float: ... + @typing.overload + def getFeedStreams(self, int: int) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getFeedStreams(self) -> java.util.Map[int, java.util.List[jneqsim.process.equipment.stream.StreamInterface]]: ... + @typing.overload + def getFeedTrayNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def getFeedTrayNumber(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... + def getFsFactor(self) -> float: ... + def getFsFactorUtilization(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInnerLoopSteps(self) -> int: ... + def getInternalDiameter(self) -> float: ... + def getLastAutoFeasibilityReport(self) -> java.lang.String: ... + def getLastAutoSolverHistory(self) -> java.util.List[java.lang.String]: ... + def getLastAutoSolverSummary(self) -> java.lang.String: ... + def getLastBottomSpecificationResidual(self) -> float: ... + def getLastColumnTearIterationCount(self) -> int: ... + def getLastColumnTearResidual(self) -> float: ... + def getLastEnergyResidual(self) -> float: ... + def getLastFullFractionatorFastPathReason(self) -> java.lang.String: ... + def getLastHydraulicPressureDropPa(self) -> float: ... + def getLastHydraulicPressureDropResidual(self) -> float: ... + def getLastInitializationReport(self) -> java.lang.String: ... + def getLastInsideOutInnerLoopIterations(self) -> int: ... + def getLastInsideOutKValueResidual(self) -> float: ... + def getLastInsideOutOuterFlashSweeps(self) -> int: ... + def getLastInsideOutSurrogateResetCount(self) -> int: ... + def getLastInsideOutSurrogateResidual(self) -> float: ... + def getLastInternalTrafficRatio(self) -> float: ... + def getLastIterationCount(self) -> int: ... + def getLastMassResidual(self) -> float: ... + def getLastMatrixInsideOutIterationCount(self) -> int: ... + def getLastMatrixInsideOutSolveTimeSeconds(self) -> float: ... + def getLastMatrixInsideOutTemperatureResidual(self) -> float: ... + def getLastMeshEnergyResidualNorm(self) -> float: ... + def getLastMeshEquilibriumResidualNorm(self) -> float: ... + def getLastMeshMaterialResidualNorm(self) -> float: ... + def getLastMeshProductDrawResidualNorm(self) -> float: ... + def getLastMeshResidualNorm(self) -> float: ... + def getLastMeshResidualVector(self) -> typing.MutableSequence[float]: ... + def getLastMeshSpecificationResidualNorm(self) -> float: ... + def getLastMeshSummationResidualNorm(self) -> float: ... + def getLastNaphtaliAnalyticJacobianColumns(self) -> int: ... + def getLastNaphtaliBlockLinearSolveCount(self) -> int: ... + def getLastNaphtaliDenseLinearSolveCount(self) -> int: ... + def getLastNaphtaliFiniteDifferenceJacobianColumns(self) -> int: ... + def getLastNaphtaliJacobianBuildTimeSeconds(self) -> float: ... + def getLastNaphtaliLinearSolveTimeSeconds(self) -> float: ... + def getLastNaphtaliThermoCacheHitCount(self) -> int: ... + def getLastNaphtaliThermoEvaluationCount(self) -> int: ... + def getLastPumparoundRelativeChange(self) -> float: ... + def getLastShortcutInitializationResult(self) -> 'DistillationColumn.ShortcutInitializationResult': ... + def getLastSolveStatus(self) -> 'DistillationColumn.SolveStatus': ... + def getLastSolveStatusReason(self) -> java.lang.String: ... + def getLastSolveTimeSeconds(self) -> float: ... + def getLastSolverTypeUsed(self) -> 'DistillationColumn.SolverType': ... + def getLastSpecificationHomotopyStepCount(self) -> int: ... + def getLastSpecificationResidual(self) -> float: ... + def getLastTemperatureResidual(self) -> float: ... + def getLastTopSpecificationResidual(self) -> float: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMassBalanceError(self) -> float: ... + def getMassBalanceTolerance(self) -> float: ... + def getMaxAllowableFsFactor(self) -> float: ... + def getMaxTrayOptimizationCandidates(self) -> int: ... + def getMaxTrayOptimizationTimeSeconds(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMeshProductDrawResidualTolerance(self) -> float: ... + def getMeshResidualTolerance(self) -> float: ... + def getMinimumDiameterForFsLimit(self) -> float: ... + @typing.overload + def getMurphreeEfficiency(self) -> float: ... + @typing.overload + def getMurphreeEfficiency(self, int: int) -> float: ... + def getNumberOfTrays(self) -> int: ... + def getNumerOfTrays(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPumparounds(self) -> java.util.List['DistillationColumn.ColumnPumparound']: ... + def getReboiler(self) -> Reboiler: ... + def getReboilerMode(self) -> 'DistillationColumn.ReboilerMode': ... + def getReboilerTemperature(self) -> float: ... + def getSeedTemperature(self, int: int) -> float: ... + def getSideDrawSpecifications(self) -> java.util.List['DistillationColumn.ColumnSideDrawSpecification']: ... + def getSideDrawStream(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase') -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSideDrawStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSolverType(self) -> 'DistillationColumn.SolverType': ... + def getSpecificationHomotopySteps(self) -> int: ... + def getTemperatureTolerance(self) -> float: ... + def getTopPressure(self) -> float: ... + def getTopSpecification(self) -> ColumnSpecification: ... + def getTray(self, int: int) -> SimpleTray: ... + def getTrayDryPressureDrop(self) -> float: ... + def getTrayEnthalpy(self) -> typing.MutableSequence[float]: ... + def getTrayLiquidHoldup(self) -> typing.MutableSequence[float]: ... + def getTrayWeirHeight(self) -> float: ... + def getTrayWeirLength(self) -> float: ... + def getTrays(self) -> java.util.List[SimpleTray]: ... + def hasCondenser(self) -> bool: ... + def hasReboiler(self) -> bool: ... + def hasSeedTemperatures(self) -> bool: ... + def init(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + def initializeFromShortcut(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'DistillationColumn.ShortcutInitializationResult': ... + def isDoInitializion(self) -> bool: ... + def isDoMultiPhaseCheck(self) -> bool: ... + def isDynamicColumnEnabled(self) -> bool: ... + def isDynamicColumnModelExperimental(self) -> bool: ... + def isDynamicEnergyEnabled(self) -> bool: ... + def isEnforceEnergyBalanceTolerance(self) -> bool: ... + def isEnforceMeshResidualTolerance(self) -> bool: ... + def isFsFactorWithinDesignLimit(self) -> bool: ... + def isFullFractionatorFastPathEnabled(self) -> bool: ... + def isHydraulicPressureDropCouplingEnabled(self) -> bool: ... + def isLastColumnTearConverged(self) -> bool: ... + def isReactive(self) -> bool: ... + @staticmethod + def isVerifyAcceleratedResults() -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def massBalanceCheck(self) -> bool: ... + def resetToleranceOverrides(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runBroyden(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 screenSpecificationFeasibility(self) -> jneqsim.util.validation.ValidationResult: ... + def setBottomComponentRecovery(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setBottomPressure(self, double: float) -> None: ... + def setBottomProductFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottomProductPurity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setBottomSpecification(self, columnSpecification: ColumnSpecification) -> None: ... + def setColumnTearTolerance(self, double: float) -> None: ... + def setCondenserDutySpecification(self, double: float) -> None: ... + def setCondenserLiquidReflux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCondenserMode(self, condenserMode: 'DistillationColumn.CondenserMode') -> None: ... + def setCondenserRefluxRatio(self, double: float) -> None: ... + @typing.overload + def setCondenserTemperature(self, double: float) -> None: ... + @typing.overload + def setCondenserTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDoInitializion(self, boolean: bool) -> None: ... + def setDynamicColumnEnabled(self, boolean: bool) -> None: ... + def setDynamicEnergyEnabled(self, boolean: bool) -> None: ... + def setEnforceEnergyBalanceTolerance(self, boolean: bool) -> None: ... + def setEnforceMeshResidualTolerance(self, boolean: bool) -> None: ... + def setEnthalpyBalanceTolerance(self, double: float) -> None: ... + def setFullFractionatorFastPathEnabled(self, boolean: bool) -> None: ... + def setGasSideDrawFraction(self, int: int, double: float) -> None: ... + def setHydraulicPressureDropCouplingEnabled(self, boolean: bool) -> None: ... + def setHydraulicPressureDropInternalsType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInnerLoopSteps(self, int: int) -> None: ... + def setInternalDiameter(self, double: float) -> None: ... + def setLiquidSideDrawFraction(self, int: int, double: float) -> None: ... + def setMassBalanceTolerance(self, double: float) -> None: ... + def setMaxAllowableFsFactor(self, double: float) -> None: ... + def setMaxColumnTearIterations(self, int: int) -> None: ... + def setMaxNumberOfIterations(self, int: int) -> None: ... + def setMaxPumparoundIterations(self, int: int) -> None: ... + def setMaxTrayOptimizationCandidates(self, int: int) -> None: ... + def setMaxTrayOptimizationTimeSeconds(self, double: float) -> None: ... + def setMeshProductDrawResidualTolerance(self, double: float) -> None: ... + def setMeshResidualTolerance(self, double: float) -> None: ... + def setMultiPhaseCheck(self, boolean: bool) -> None: ... + def setMurphreeEfficiencies(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setMurphreeEfficiency(self, double: float) -> None: ... + @typing.overload + def setMurphreeEfficiency(self, int: int, double: float) -> None: ... + def setNumberOfTrays(self, int: int) -> None: ... + def setPumparoundTolerance(self, double: float) -> None: ... + @typing.overload + def setReactive(self, boolean: bool) -> None: ... + @typing.overload + def setReactive(self, boolean: bool, int: int, int2: int) -> None: ... + def setReboilerBoilupRatio(self, double: float) -> None: ... + def setReboilerDutySpecification(self, double: float) -> None: ... + def setReboilerMode(self, reboilerMode: 'DistillationColumn.ReboilerMode') -> None: ... + @typing.overload + def setReboilerTemperature(self, double: float) -> None: ... + @typing.overload + def setReboilerTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReboilerVaporBoilupRatio(self, double: float) -> None: ... + def setRelaxationFactor(self, double: float) -> None: ... + def setSeedTemperature(self, int: int, double: float) -> None: ... + def setSideDrawFraction(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase', double: float) -> None: ... + def setSolverType(self, solverType: 'DistillationColumn.SolverType') -> None: ... + def setSpecificationHomotopySteps(self, int: int) -> None: ... + def setTemperatureTolerance(self, double: float) -> None: ... + def setTopComponentRecovery(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTopCondenserDuty(self, double: float) -> None: ... + def setTopPressure(self, double: float) -> None: ... + def setTopProductFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTopProductPurity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTopSpecification(self, columnSpecification: ColumnSpecification) -> None: ... + def setTrayDryPressureDrop(self, double: float) -> None: ... + def setTrayWeirHeight(self, double: float) -> None: ... + def setTrayWeirLength(self, double: float) -> None: ... + @staticmethod + def setVerifyAcceleratedResults(boolean: bool) -> None: ... + def solved(self) -> bool: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + def validateSpecifications(self) -> jneqsim.util.validation.ValidationResult: ... + def wasFeedFlashFallbackApplied(self) -> bool: ... + def wasFullFractionatorFastPathApplied(self) -> bool: ... + def wasMatrixInsideOutWarmStartBypassed(self) -> bool: ... + def wasMatrixInsideOutWarmStartUsed(self) -> bool: ... + class Builder: + def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int) -> 'DistillationColumn.Builder': ... + def autoSolver(self) -> 'DistillationColumn.Builder': ... + def bottomPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... + def bottomSpecification(self, columnSpecification: ColumnSpecification) -> 'DistillationColumn.Builder': ... + def build(self) -> 'DistillationColumn': ... + def dampedSubstitution(self) -> 'DistillationColumn.Builder': ... + def insideOut(self) -> 'DistillationColumn.Builder': ... + def internalDiameter(self, double: float) -> 'DistillationColumn.Builder': ... + def massBalanceTolerance(self, double: float) -> 'DistillationColumn.Builder': ... + def maxIterations(self, int: int) -> 'DistillationColumn.Builder': ... + def numberOfTrays(self, int: int) -> 'DistillationColumn.Builder': ... + def pressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... + def relaxationFactor(self, double: float) -> 'DistillationColumn.Builder': ... + def temperatureTolerance(self, double: float) -> 'DistillationColumn.Builder': ... + def tolerance(self, double: float) -> 'DistillationColumn.Builder': ... + def topPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... + def topProductPurity(self, string: typing.Union[java.lang.String, str], double: float) -> 'DistillationColumn.Builder': ... + def withCondenserAndReboiler(self) -> 'DistillationColumn.Builder': ... + class ColumnPumparound(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, int2: int, double: float, double2: float): ... + def getDrawFraction(self) -> float: ... + def getDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDrawTrayNumber(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getReturnStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getReturnTrayNumber(self) -> int: ... + def getTemperatureDrop(self) -> float: ... + class ColumnSideDrawSpecification(java.io.Serializable): + def __init__(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase', double: float, string: typing.Union[java.lang.String, str]): ... + def getFlowUnit(self) -> java.lang.String: ... + def getLastActualFlowRate(self) -> float: ... + def getLastRelativeResidual(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getPhase(self) -> 'DistillationColumn.SideDrawPhase': ... + def getTargetFlowRate(self) -> float: ... + def getTolerance(self) -> float: ... + def getTrayNumber(self) -> int: ... + def setMaxIterations(self, int: int) -> None: ... + def setTolerance(self, double: float) -> None: ... + class CondenserMode(java.lang.Enum['DistillationColumn.CondenserMode']): + PARTIAL: typing.ClassVar['DistillationColumn.CondenserMode'] = ... + TOTAL: typing.ClassVar['DistillationColumn.CondenserMode'] = ... + LIQUID_REFLUX_SPLIT: typing.ClassVar['DistillationColumn.CondenserMode'] = ... + _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]) -> 'DistillationColumn.CondenserMode': ... + @staticmethod + def values() -> typing.MutableSequence['DistillationColumn.CondenserMode']: ... + class DynamicColumnModel(java.lang.Enum['DistillationColumn.DynamicColumnModel']): + EXPERIMENTAL_EULER: typing.ClassVar['DistillationColumn.DynamicColumnModel'] = ... + _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]) -> 'DistillationColumn.DynamicColumnModel': ... + @staticmethod + def values() -> typing.MutableSequence['DistillationColumn.DynamicColumnModel']: ... + class EconomicTrayOptimizationResult(jneqsim.process.equipment.distillation.DistillationColumn.TrayOptimizationResult): + def __init__(self, trayOptimizationResult: 'DistillationColumn.TrayOptimizationResult', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, int: int, double10: float, double11: float, double12: float, double13: float): ... + def getActualTrays(self) -> int: ... + def getAnnualUtilityCost(self) -> float: ... + def getAnnualizedCapitalCost(self) -> float: ... + def getCapitalChargeFactor(self) -> float: ... + def getCapitalCost(self) -> float: ... + def getColumnDiameter(self) -> float: ... + def getColumnHeight(self) -> float: ... + def getCondenserRefluxRatio(self) -> float: ... + def getCoolingWaterCostPerM3(self) -> float: ... + def getOperatingHoursPerYear(self) -> float: ... + def getReboilerRatio(self) -> float: ... + def getSteamCostPerTonne(self) -> float: ... + def getTotalAnnualizedCost(self) -> float: ... + def getTrayEfficiency(self) -> float: ... + class ReboilerMode(java.lang.Enum['DistillationColumn.ReboilerMode']): + EQUILIBRIUM: typing.ClassVar['DistillationColumn.ReboilerMode'] = ... + VAPOR_BOILUP_RATIO: typing.ClassVar['DistillationColumn.ReboilerMode'] = ... + _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]) -> 'DistillationColumn.ReboilerMode': ... + @staticmethod + def values() -> typing.MutableSequence['DistillationColumn.ReboilerMode']: ... + class ShortcutInitializationResult(java.io.Serializable): + def __init__(self, boolean: bool, int: int, int2: int, int3: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getActualRefluxRatio(self) -> float: ... + def getActualStages(self) -> float: ... + def getCondenserDuty(self) -> float: ... + def getFeedTrayNumber(self) -> int: ... + def getFeedTrayNumberFromTop(self) -> int: ... + def getHeavyKey(self) -> java.lang.String: ... + def getLightKey(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getMinimumRefluxRatio(self) -> float: ... + def getMinimumStages(self) -> float: ... + def getReboilerDuty(self) -> float: ... + def getTotalStageCount(self) -> int: ... + def isInitialized(self) -> bool: ... + class SideDrawPhase(java.lang.Enum['DistillationColumn.SideDrawPhase']): + GAS: typing.ClassVar['DistillationColumn.SideDrawPhase'] = ... + LIQUID: typing.ClassVar['DistillationColumn.SideDrawPhase'] = ... + _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]) -> 'DistillationColumn.SideDrawPhase': ... + @staticmethod + def values() -> typing.MutableSequence['DistillationColumn.SideDrawPhase']: ... + class SolveStatus(java.lang.Enum['DistillationColumn.SolveStatus']): + NOT_RUN: typing.ClassVar['DistillationColumn.SolveStatus'] = ... + RIGOROUS_CONVERGED: typing.ClassVar['DistillationColumn.SolveStatus'] = ... + RECONCILED_PRODUCTS: typing.ClassVar['DistillationColumn.SolveStatus'] = ... + FALLBACK_PRODUCTS: typing.ClassVar['DistillationColumn.SolveStatus'] = ... + FAILED: typing.ClassVar['DistillationColumn.SolveStatus'] = ... + _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]) -> 'DistillationColumn.SolveStatus': ... + @staticmethod + def values() -> typing.MutableSequence['DistillationColumn.SolveStatus']: ... + class SolverType(java.lang.Enum['DistillationColumn.SolverType']): + DIRECT_SUBSTITUTION: typing.ClassVar['DistillationColumn.SolverType'] = ... + DAMPED_SUBSTITUTION: typing.ClassVar['DistillationColumn.SolverType'] = ... + INSIDE_OUT: typing.ClassVar['DistillationColumn.SolverType'] = ... + MATRIX_INSIDE_OUT: typing.ClassVar['DistillationColumn.SolverType'] = ... + WEGSTEIN: typing.ClassVar['DistillationColumn.SolverType'] = ... + SUM_RATES: typing.ClassVar['DistillationColumn.SolverType'] = ... + NEWTON: typing.ClassVar['DistillationColumn.SolverType'] = ... + NAPHTALI_SANDHOLM: typing.ClassVar['DistillationColumn.SolverType'] = ... + MESH_RESIDUAL: typing.ClassVar['DistillationColumn.SolverType'] = ... + AUTO: typing.ClassVar['DistillationColumn.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]) -> 'DistillationColumn.SolverType': ... + @staticmethod + def values() -> typing.MutableSequence['DistillationColumn.SolverType']: ... + class TrayOptimizationResult(java.io.Serializable): + def __init__(self, boolean: bool, int: int, int2: int, string: typing.Union[java.lang.String, str], boolean2: bool, double: float, double2: float, double3: float, double4: float, double5: float, int3: int, double6: float, double7: float, double8: float, int4: int, int5: int, string2: typing.Union[java.lang.String, str]): ... + def getComponentName(self) -> java.lang.String: ... + def getCondenserDuty(self) -> float: ... + def getConvergedCases(self) -> int: ... + def getEnergyResidual(self) -> float: ... + def getEvaluatedCases(self) -> int: ... + def getFeedTrayNumber(self) -> int: ... + def getIterationCount(self) -> int: ... + def getMassResidual(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getNumberOfTrays(self) -> int: ... + def getProductPurity(self) -> float: ... + def getReboilerDuty(self) -> float: ... + def getTargetPurity(self) -> float: ... + def getTemperatureResidual(self) -> float: ... + def getTotalAbsoluteDuty(self) -> float: ... + def isFeasible(self) -> bool: ... + def isTopProduct(self) -> bool: ... + +class PackedColumn(DistillationColumn): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def addSolventStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def getDesignFloodFraction(self) -> float: ... + def getFloodingVelocity(self) -> float: ... + def getHETP(self) -> float: ... + def getHydraulics(self) -> jneqsim.process.equipment.distillation.internals.PackingHydraulicsCalculator: ... + def getPackedHeight(self) -> float: ... + @typing.overload + def getPackingPressureDrop(self) -> float: ... + @typing.overload + def getPackingPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPackingType(self) -> java.lang.String: ... + def getPercentFlood(self) -> float: ... + def getTheoreticalStages(self) -> float: ... + def isHydraulicsOk(self) -> bool: ... + def isStructuredPacking(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setColumnDiameter(self, double: float) -> None: ... + def setDesignFloodFraction(self, double: float) -> None: ... + def setPackedHeight(self, double: float) -> None: ... + def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStructuredPacking(self, boolean: bool) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + +class ScrubColumn(DistillationColumn): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, boolean: bool, boolean2: bool): ... + def getFreezeOutTemperature(self) -> float: ... + def getHeavyKeyComponent(self) -> java.lang.String: ... + def getHeavyKeyInOverheadMolFrac(self) -> float: ... + def getMaxHeavyKeyInOverhead(self) -> float: ... + def getMinimumBottomsTemperature(self) -> float: ... + def getNGLRecovery(self) -> float: ... + def hasFreezeOutRisk(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setHeavyKeyComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxHeavyKeyInOverhead(self, double: float) -> None: ... + def setMinimumBottomsTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation")``. + + ColumnSpecification: typing.Type[ColumnSpecification] + Condenser: typing.Type[Condenser] + DistillationColumn: typing.Type[DistillationColumn] + DistillationColumnMatrixSolver: typing.Type[DistillationColumnMatrixSolver] + DistillationInterface: typing.Type[DistillationInterface] + NaphtaliSandholmSolver: typing.Type[NaphtaliSandholmSolver] + PackedColumn: typing.Type[PackedColumn] + ReactiveTray: typing.Type[ReactiveTray] + Reboiler: typing.Type[Reboiler] + ScrubColumn: typing.Type[ScrubColumn] + ShortcutDistillationColumn: typing.Type[ShortcutDistillationColumn] + SimpleTray: typing.Type[SimpleTray] + TrayInterface: typing.Type[TrayInterface] + VLSolidTray: typing.Type[VLSolidTray] + internals: jneqsim.process.equipment.distillation.internals.__module_protocol__ diff --git a/src/jneqsim/process/equipment/distillation/internals/__init__.pyi b/src/jneqsim/process/equipment/distillation/internals/__init__.pyi new file mode 100644 index 00000000..9f4abcb0 --- /dev/null +++ b/src/jneqsim/process/equipment/distillation/internals/__init__.pyi @@ -0,0 +1,184 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.distillation +import typing + + + +class ColumnInternalsDesigner(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn): ... + def calculate(self) -> None: ... + def getAverageTrayEfficiency(self) -> float: ... + def getControllingTrayIndex(self) -> int: ... + def getMaxPercentFlood(self) -> float: ... + def getMinPercentFlood(self) -> float: ... + def getPackingResult(self) -> 'PackingHydraulicsCalculator': ... + def getRequiredDiameter(self) -> float: ... + def getTotalPressureDrop(self) -> float: ... + def getTotalPressureDropMbar(self) -> float: ... + def getTrayResults(self) -> java.util.List['TrayHydraulicsCalculator']: ... + def isDesignOk(self) -> bool: ... + def setColumn(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn) -> None: ... + def setColumnDiameterOverride(self, double: float) -> None: ... + def setDesignFloodFraction(self, double: float) -> None: ... + def setDowncommerAreaFraction(self, double: float) -> None: ... + def setHoleAreaFraction(self, double: float) -> None: ... + def setHoleDiameter(self, double: float) -> None: ... + def setInternalsType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPackedHeight(self, double: float) -> None: ... + def setPackingPreset(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStructuredPacking(self, boolean: bool) -> None: ... + def setTraySpacing(self, double: float) -> None: ... + def setWeirHeight(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class PackingHydraulicsCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getActualVelocity(self) -> float: ... + def getColumnDiameter(self) -> float: ... + def getFloodingVelocity(self) -> float: ... + def getFsFactor(self) -> float: ... + def getHETP(self) -> float: ... + def getHtuG(self) -> float: ... + def getHtuL(self) -> float: ... + def getHtuOG(self) -> float: ... + def getKGa(self) -> float: ... + def getKLa(self) -> float: ... + def getNumberOfTheoreticalStages(self) -> float: ... + def getPackedHeight(self) -> float: ... + def getPackingCategory(self) -> java.lang.String: ... + def getPackingFactor(self) -> float: ... + def getPackingName(self) -> java.lang.String: ... + def getPercentFlood(self) -> float: ... + def getPressureDropPerMeter(self) -> float: ... + def getSpecificSurfaceArea(self) -> float: ... + def getTotalPressureDrop(self) -> float: ... + def getVoidFraction(self) -> float: ... + def getWettedArea(self) -> float: ... + def isDesignOk(self) -> bool: ... + def isWettingOk(self) -> bool: ... + def setColumnDiameter(self, double: float) -> None: ... + def setCriticalSurfaceTension(self, double: float) -> None: ... + def setDesignFloodFraction(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidDiffusivity(self, double: float) -> None: ... + def setLiquidMassFlow(self, double: float) -> None: ... + def setLiquidViscosity(self, double: float) -> None: ... + def setNominalSize(self, double: float) -> None: ... + def setPackedHeight(self, double: float) -> None: ... + def setPackingCategory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPackingFactor(self, double: float) -> None: ... + def setPackingName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPackingPreset(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPackingSpecification(self, packingSpecification: 'PackingSpecification') -> None: ... + def setSpecificSurfaceArea(self, double: float) -> None: ... + def setStructuredPackingPreset(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSurfaceTension(self, double: float) -> None: ... + def setVaporDensity(self, double: float) -> None: ... + def setVaporDiffusivity(self, double: float) -> None: ... + def setVaporMassFlow(self, double: float) -> None: ... + def setVaporViscosity(self, double: float) -> None: ... + def setVoidFraction(self, double: float) -> None: ... + def sizeColumnDiameter(self) -> float: ... + +class PackingSpecification(java.io.Serializable): + def __init__(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, double4: float, double5: float, double6: float, double7: float, string4: typing.Union[java.lang.String, str]): ... + def getBilletGasConstant(self) -> float: ... + def getBilletLiquidConstant(self) -> float: ... + def getCategory(self) -> java.lang.String: ... + def getCriticalSurfaceTension(self) -> float: ... + def getMaterial(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getNominalSizeM(self) -> float: ... + def getNominalSizeMm(self) -> float: ... + def getPackingFactor(self) -> float: ... + def getSource(self) -> java.lang.String: ... + def getSpecificSurfaceArea(self) -> float: ... + def getVoidFraction(self) -> float: ... + def isStructured(self) -> bool: ... + +class PackingSpecificationLibrary: + @staticmethod + def contains(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def get(string: typing.Union[java.lang.String, str]) -> PackingSpecification: ... + @staticmethod + def getOrDefault(string: typing.Union[java.lang.String, str]) -> PackingSpecification: ... + @staticmethod + def getPackingNames() -> java.util.List[java.lang.String]: ... + @staticmethod + def register(packingSpecification: PackingSpecification) -> None: ... + @staticmethod + def registerAlias(string: typing.Union[java.lang.String, str], packingSpecification: PackingSpecification) -> None: ... + +class TrayHydraulicsCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getActiveArea(self) -> float: ... + def getActualVaporVelocity(self) -> float: ... + def getCalculatedWeirLength(self) -> float: ... + def getColumnDiameter(self) -> float: ... + def getDowncommerArea(self) -> float: ... + def getDowncommerAreaFraction(self) -> float: ... + def getDowncommerBackup(self) -> float: ... + def getDowncommerBackupFraction(self) -> float: ... + def getDryTrayPressureDrop(self) -> float: ... + def getEntrainment(self) -> float: ... + def getFloodingVelocity(self) -> float: ... + def getFsFactor(self) -> float: ... + def getHoleArea(self) -> float: ... + def getLiquidHeadPressureDrop(self) -> float: ... + def getMinimumVaporVelocity(self) -> float: ... + def getPercentFlood(self) -> float: ... + def getResidualHeadPressureDrop(self) -> float: ... + def getTotalArea(self) -> float: ... + def getTotalTrayPressureDrop(self) -> float: ... + def getTotalTrayPressureDropMbar(self) -> float: ... + def getTrayEfficiency(self) -> float: ... + def getTraySpacing(self) -> float: ... + def getTrayType(self) -> java.lang.String: ... + def getTurndownRatio(self) -> float: ... + def getWeirHeight(self) -> float: ... + def isDesignOk(self) -> bool: ... + def isDowncommerBackupOk(self) -> bool: ... + def isEntrainmentOk(self) -> bool: ... + def isWeepingOk(self) -> bool: ... + def setColumnDiameter(self, double: float) -> None: ... + def setDesignFloodFraction(self, double: float) -> None: ... + def setDowncommerAreaFraction(self, double: float) -> None: ... + def setHoleAreaFraction(self, double: float) -> None: ... + def setHoleDiameter(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidMassFlow(self, double: float) -> None: ... + def setLiquidViscosity(self, double: float) -> None: ... + def setRelativeVolatility(self, double: float) -> None: ... + def setSurfaceTension(self, double: float) -> None: ... + def setTraySpacing(self, double: float) -> None: ... + def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVaporDensity(self, double: float) -> None: ... + def setVaporMassFlow(self, double: float) -> None: ... + def setWeirHeight(self, double: float) -> None: ... + def setWeirLength(self, double: float) -> None: ... + def sizeColumnDiameter(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation.internals")``. + + ColumnInternalsDesigner: typing.Type[ColumnInternalsDesigner] + PackingHydraulicsCalculator: typing.Type[PackingHydraulicsCalculator] + PackingSpecification: typing.Type[PackingSpecification] + PackingSpecificationLibrary: typing.Type[PackingSpecificationLibrary] + TrayHydraulicsCalculator: typing.Type[TrayHydraulicsCalculator] diff --git a/src/jneqsim/process/equipment/ejector/__init__.pyi b/src/jneqsim/process/equipment/ejector/__init__.pyi new file mode 100644 index 00000000..97e75f09 --- /dev/null +++ b/src/jneqsim/process/equipment/ejector/__init__.pyi @@ -0,0 +1,127 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.design +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.ejector +import jneqsim.process.util.report +import typing + + + +class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def generatePerformanceCurve(self, double: float, double2: float, int: int) -> java.util.List[typing.MutableSequence[float]]: ... + def getAreaRatio(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCompressionRatio(self) -> float: ... + def getCriticalBackPressure(self) -> float: ... + def getDesignCompressionRatio(self) -> float: ... + def getDesignEntrainmentRatio(self) -> float: ... + def getDesignResult(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def getDiffuserEfficiency(self) -> float: ... + def getEfficiencyIsentropic(self) -> float: ... + def getEntrainmentRatio(self) -> float: ... + def getExpansionRatio(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxCriticalBackPressure(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMixingEfficiency(self) -> float: ... + def getMixingMach(self) -> float: ... + def getMotiveNozzleMach(self) -> float: ... + def getMotiveStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSuctionMach(self) -> float: ... + def getSuctionNozzleEfficiency(self) -> float: ... + def getSuctionStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initMechanicalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isInBreakdown(self) -> bool: ... + def isMotiveChoked(self) -> bool: ... + def isSuctionChoked(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setDesignCompressionRatio(self, double: float) -> None: ... + def setDesignDiffuserOutletVelocity(self, double: float) -> None: ... + def setDesignEntrainmentRatio(self, double: float) -> None: ... + def setDesignSuctionVelocity(self, double: float) -> None: ... + def setDiffuserEfficiency(self, double: float) -> None: ... + def setDischargeConnectionLength(self, double: float) -> None: ... + def setDischargePressure(self, double: float) -> None: ... + def setEfficiencyIsentropic(self, double: float) -> None: ... + def setMaxCriticalBackPressure(self, double: float) -> None: ... + def setMixingEfficiency(self, double: float) -> None: ... + def setMixingPressure(self, double: float) -> None: ... + def setSuctionConnectionLength(self, double: float) -> None: ... + def setSuctionNozzleEfficiency(self, double: float) -> None: ... + def setThroatArea(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class EjectorDesignResult: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float): ... + @staticmethod + def empty() -> 'EjectorDesignResult': ... + def getBodyVolume(self) -> float: ... + def getConnectedPipingVolume(self) -> float: ... + def getDiffuserOutletArea(self) -> float: ... + def getDiffuserOutletDiameter(self) -> float: ... + def getDiffuserOutletLength(self) -> float: ... + def getDiffuserOutletVelocity(self) -> float: ... + def getDischargeConnectionLength(self) -> float: ... + def getEntrainmentRatio(self) -> float: ... + def getMixingChamberArea(self) -> float: ... + def getMixingChamberDiameter(self) -> float: ... + def getMixingChamberLength(self) -> float: ... + def getMixingChamberVelocity(self) -> float: ... + def getMixingPressure(self) -> float: ... + def getMotiveNozzleDiameter(self) -> float: ... + def getMotiveNozzleEffectiveLength(self) -> float: ... + def getMotiveNozzleExitVelocity(self) -> float: ... + def getMotiveNozzleThroatArea(self) -> float: ... + def getSuctionConnectionLength(self) -> float: ... + def getSuctionInletArea(self) -> float: ... + def getSuctionInletDiameter(self) -> float: ... + def getSuctionInletLength(self) -> float: ... + def getSuctionInletVelocity(self) -> float: ... + def getTotalVolume(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.ejector")``. + + Ejector: typing.Type[Ejector] + EjectorDesignResult: typing.Type[EjectorDesignResult] diff --git a/src/jneqsim/process/equipment/electrolyzer/__init__.pyi b/src/jneqsim/process/equipment/electrolyzer/__init__.pyi new file mode 100644 index 00000000..c3787e84 --- /dev/null +++ b/src/jneqsim/process/equipment/electrolyzer/__init__.pyi @@ -0,0 +1,166 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import typing + + + +class CO2Electrolyzer(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 getGasProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(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: ... + def setCO2Conversion(self, double: float) -> None: ... + def setCellVoltage(self, double: float) -> None: ... + def setCo2ComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCurrentEfficiency(self, double: float) -> None: ... + def setElectronsPerMoleProduct(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setGasProductSelectivity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLiquidProductSelectivity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setProductFaradaicEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setUseSelectivityModel(self, boolean: bool) -> None: ... + +class Electrolyzer(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 getActiveCellArea(self) -> float: ... + def getAuxiliaryLoadFraction(self) -> float: ... + def getAvailablePower(self) -> float: ... + def getCellVoltage(self) -> float: ... + def getCurrentDensity(self) -> float: ... + def getCurtailedPower(self) -> float: ... + def getFaradaicEfficiency(self) -> float: ... + def getHydrogenCompressionPower(self) -> float: ... + def getHydrogenDeliveryPressure(self) -> float: ... + def getHydrogenOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getIVCharacteristic(self) -> 'ElectrolyzerIVCharacteristic': ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxRampRate(self) -> float: ... + def getMinimumLoadFraction(self) -> float: ... + def getNominalCurrentDensity(self) -> float: ... + def getNumberOfCells(self) -> int: ... + def getOperatingPower(self) -> float: ... + def getOperationMode(self) -> 'Electrolyzer.OperationMode': ... + def getOxygenOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRatedPower(self) -> float: ... + def getRectifierEfficiency(self) -> float: ... + def getSpecificEnergyConsumption_kWh_per_kg_H2(self) -> float: ... + def getStackActiveArea(self) -> float: ... + def getStackCurrent(self) -> float: ... + def getStackPower(self) -> float: ... + def getStandbyPowerFraction(self) -> float: ... + def getSystemPower(self) -> float: ... + def getSystemSpecificEnergyConsumption_kWh_per_kg_H2(self) -> float: ... + def getTechnology(self) -> 'ElectrolyzerTechnology': ... + def getWasteHeat(self) -> float: ... + def getWaterConsumption(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isStandby(self) -> bool: ... + @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 setActiveCellArea(self, double: float) -> None: ... + def setAuxiliaryLoadFraction(self, double: float) -> None: ... + def setAvailablePower(self, double: float) -> None: ... + def setCellVoltage(self, double: float) -> None: ... + def setCurrentDensity(self, double: float) -> None: ... + def setFaradaicEfficiency(self, double: float) -> None: ... + def setHydrogenDeliveryPressure(self, double: float) -> None: ... + def setIVCharacteristic(self, electrolyzerIVCharacteristic: 'ElectrolyzerIVCharacteristic') -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMaxRampRate(self, double: float) -> None: ... + def setMinimumLoadFraction(self, double: float) -> None: ... + def setNominalCurrentDensity(self, double: float) -> None: ... + def setNumberOfCells(self, int: int) -> None: ... + def setOperationMode(self, operationMode: 'Electrolyzer.OperationMode') -> None: ... + def setRatedPower(self, double: float) -> None: ... + def setRectifierEfficiency(self, double: float) -> None: ... + def setStackActiveArea(self, double: float) -> None: ... + def setStandbyPowerFraction(self, double: float) -> None: ... + def setTechnology(self, electrolyzerTechnology: 'ElectrolyzerTechnology') -> None: ... + @typing.overload + def sizeStack(self, double: float) -> None: ... + @typing.overload + def sizeStack(self, double: float, double2: float, double3: float) -> None: ... + class OperationMode(java.lang.Enum['Electrolyzer.OperationMode']): + WATER_FEED: typing.ClassVar['Electrolyzer.OperationMode'] = ... + POWER: typing.ClassVar['Electrolyzer.OperationMode'] = ... + _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]) -> 'Electrolyzer.OperationMode': ... + @staticmethod + def values() -> typing.MutableSequence['Electrolyzer.OperationMode']: ... + +class ElectrolyzerIVCharacteristic(java.io.Serializable): + def __init__(self, electrolyzerTechnology: 'ElectrolyzerTechnology'): ... + def getAreaSpecificResistance(self) -> float: ... + def getCellVoltage(self, double: float, double2: float) -> float: ... + def getExchangeCurrentDensity(self) -> float: ... + def getReversibleVoltage(self, double: float) -> float: ... + def getTafelSlope(self) -> float: ... + def getTechnology(self) -> 'ElectrolyzerTechnology': ... + def setAreaSpecificResistance(self, double: float) -> None: ... + def setExchangeCurrentDensity(self, double: float) -> None: ... + def setTafelSlope(self, double: float) -> None: ... + +class ElectrolyzerTechnology(java.lang.Enum['ElectrolyzerTechnology']): + PEM: typing.ClassVar['ElectrolyzerTechnology'] = ... + ALKALINE: typing.ClassVar['ElectrolyzerTechnology'] = ... + SOEC: typing.ClassVar['ElectrolyzerTechnology'] = ... + AEM: typing.ClassVar['ElectrolyzerTechnology'] = ... + def getDefaultCellVoltage(self) -> float: ... + def getDefaultCurrentDensity(self) -> float: ... + def getDefaultFaradaicEfficiency(self) -> float: ... + def getDefaultPressureBara(self) -> float: ... + def getDefaultTemperatureC(self) -> float: ... + _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]) -> 'ElectrolyzerTechnology': ... + @staticmethod + def values() -> typing.MutableSequence['ElectrolyzerTechnology']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.electrolyzer")``. + + CO2Electrolyzer: typing.Type[CO2Electrolyzer] + Electrolyzer: typing.Type[Electrolyzer] + ElectrolyzerIVCharacteristic: typing.Type[ElectrolyzerIVCharacteristic] + ElectrolyzerTechnology: typing.Type[ElectrolyzerTechnology] diff --git a/src/jneqsim/process/equipment/expander/__init__.pyi b/src/jneqsim/process/equipment/expander/__init__.pyi new file mode 100644 index 00000000..47f3605e --- /dev/null +++ b/src/jneqsim/process/equipment/expander/__init__.pyi @@ -0,0 +1,161 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.expander +import jneqsim.process.util.report +import typing + + + +class ExpanderInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): + def equals(self, object: typing.Any) -> bool: ... + def getEnergy(self) -> float: ... + def hashCode(self) -> int: ... + +class Expander(jneqsim.process.equipment.compressor.Compressor, ExpanderInterface): + @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 getExpanderMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.expander.ExpanderMechanicalDesign: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class ExpanderOld(jneqsim.process.equipment.TwoPortEquipment, ExpanderInterface): + @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 displayResult(self) -> None: ... + def getEnergy(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + +class TurboExpanderCompressor(Expander): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def calcIGVOpenArea(self) -> float: ... + def calcIGVOpening(self) -> float: ... + def calcIGVOpeningFromFlow(self) -> float: ... + def getBearingLossPower(self) -> float: ... + def getCompressorDesignPolytropicEfficiency(self) -> float: ... + def getCompressorDesignPolytropicHead(self) -> float: ... + def getCompressorDesingPolytropicHead(self) -> float: ... + def getCompressorFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCompressorOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCompressorPolytropicEfficiency(self) -> float: ... + def getCompressorPolytropicEfficieny(self) -> float: ... + def getCompressorPolytropicHead(self) -> float: ... + def getCompressorSpeed(self) -> float: ... + def getCurrentIGVArea(self) -> float: ... + def getDesignCompressorPolytropicEfficiency(self) -> float: ... + def getDesignExpanderQn(self) -> float: ... + def getDesignQn(self) -> float: ... + def getDesignSpeed(self) -> float: ... + def getDesignUC(self) -> float: ... + def getEfficiencyFromQN(self, double: float) -> float: ... + def getEfficiencyFromUC(self, double: float) -> float: ... + def getExpanderDesignIsentropicEfficiency(self) -> float: ... + def getExpanderFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExpanderIsentropicEfficiency(self) -> float: ... + def getExpanderOutPressure(self) -> float: ... + def getExpanderOutTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExpanderOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExpanderSpeed(self) -> float: ... + def getGearRatio(self) -> float: ... + def getHeadFromQN(self, double: float) -> float: ... + def getIGVopening(self) -> float: ... + def getIgvAreaIncreaseFactor(self) -> float: ... + def getImpellerDiameter(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaximumIGVArea(self) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getPowerCompressor(self) -> float: ... + @typing.overload + def getPowerCompressor(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPowerExpander(self) -> float: ... + @typing.overload + def getPowerExpander(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getQNratiocompressor(self) -> float: ... + def getQNratioexpander(self) -> float: ... + def getQn(self) -> float: ... + def getQnCurveA(self) -> float: ... + def getQnCurveH(self) -> float: ... + def getQnCurveK(self) -> float: ... + def getQnHeadCurveA(self) -> float: ... + def getQnHeadCurveH(self) -> float: ... + def getQnHeadCurveK(self) -> float: ... + @staticmethod + def getSerialversionuid() -> int: ... + def getSpeed(self) -> float: ... + def getUCratiocompressor(self) -> float: ... + def getUCratioexpander(self) -> float: ... + def getUcCurveA(self) -> float: ... + def getUcCurveH(self) -> float: ... + def getUcCurveK(self) -> float: ... + def isUseOutTemperatureSpec(self) -> bool: ... + def isUsingExpandedIGVArea(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCompressorDesignPolytropicEfficiency(self, double: float) -> None: ... + def setCompressorDesignPolytropicHead(self, double: float) -> None: ... + def setCompressorFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setDesignExpanderQn(self, double: float) -> None: ... + def setDesignQn(self, double: float) -> None: ... + def setDesignSpeed(self, double: float) -> None: ... + def setDesignUC(self, double: float) -> None: ... + def setExpanderDesignIsentropicEfficiency(self, double: float) -> None: ... + def setExpanderIsentropicEfficiency(self, double: float) -> None: ... + def setExpanderOutPressure(self, double: float) -> None: ... + def setExpanderOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setIGVopening(self, double: float) -> None: ... + def setIgvAreaIncreaseFactor(self, double: float) -> None: ... + def setImpellerDiameter(self, double: float) -> None: ... + def setMaximumIGVArea(self, double: float) -> None: ... + def setQNEfficiencycurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setQNHeadcurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setQNratiocompressor(self, double: float) -> None: ... + def setQNratioexpander(self, double: float) -> None: ... + def setQn(self, double: float) -> None: ... + def setUCcurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setUCratiocompressor(self, double: float) -> None: ... + def setUCratioexpander(self, double: float) -> None: ... + def setUseOutTemperatureSpec(self, boolean: bool) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.expander")``. + + Expander: typing.Type[Expander] + ExpanderInterface: typing.Type[ExpanderInterface] + ExpanderOld: typing.Type[ExpanderOld] + TurboExpanderCompressor: typing.Type[TurboExpanderCompressor] diff --git a/src/jneqsim/process/equipment/failure/__init__.pyi b/src/jneqsim/process/equipment/failure/__init__.pyi new file mode 100644 index 00000000..a9fca1aa --- /dev/null +++ b/src/jneqsim/process/equipment/failure/__init__.pyi @@ -0,0 +1,128 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class EquipmentFailureMode(java.io.Serializable): + @staticmethod + def builder() -> 'EquipmentFailureMode.Builder': ... + @staticmethod + def bypassed() -> 'EquipmentFailureMode': ... + @staticmethod + def degraded(double: float) -> 'EquipmentFailureMode': ... + def getAutoRecoveryTime(self) -> float: ... + def getCapacityFactor(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getEfficiencyFactor(self) -> float: ... + def getFailureFrequency(self) -> float: ... + def getMttr(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getProductionLossFactor(self) -> float: ... + def getType(self) -> 'EquipmentFailureMode.FailureType': ... + def isAutoRecoverable(self) -> bool: ... + def isCompleteFailure(self) -> bool: ... + def isRequiresImmediateAction(self) -> bool: ... + @staticmethod + def maintenance(double: float) -> 'EquipmentFailureMode': ... + def toString(self) -> java.lang.String: ... + @staticmethod + def trip(string: typing.Union[java.lang.String, str]) -> 'EquipmentFailureMode': ... + class Builder: + def __init__(self): ... + def autoRecoverable(self, boolean: bool) -> 'EquipmentFailureMode.Builder': ... + def autoRecoveryTime(self, double: float) -> 'EquipmentFailureMode.Builder': ... + def build(self) -> 'EquipmentFailureMode': ... + def capacityFactor(self, double: float) -> 'EquipmentFailureMode.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'EquipmentFailureMode.Builder': ... + def efficiencyFactor(self, double: float) -> 'EquipmentFailureMode.Builder': ... + def failureFrequency(self, double: float) -> 'EquipmentFailureMode.Builder': ... + def mttr(self, double: float) -> 'EquipmentFailureMode.Builder': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'EquipmentFailureMode.Builder': ... + def requiresImmediateAction(self, boolean: bool) -> 'EquipmentFailureMode.Builder': ... + def type(self, failureType: 'EquipmentFailureMode.FailureType') -> 'EquipmentFailureMode.Builder': ... + class FailureType(java.lang.Enum['EquipmentFailureMode.FailureType']): + TRIP: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... + DEGRADED: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... + PARTIAL_FAILURE: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... + FULL_FAILURE: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... + MAINTENANCE: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... + BYPASSED: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... + _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]) -> 'EquipmentFailureMode.FailureType': ... + @staticmethod + def values() -> typing.MutableSequence['EquipmentFailureMode.FailureType']: ... + +class ReliabilityDataSource(java.io.Serializable): + def createFailureMode(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> EquipmentFailureMode: ... + def getDataSources(self) -> java.util.List[java.lang.String]: ... + def getEntryCount(self) -> int: ... + def getEquipmentTypes(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getFailureModes(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ReliabilityDataSource.FailureModeData']: ... + @typing.overload + def getFailureModes(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List['ReliabilityDataSource.FailureModeData']: ... + @staticmethod + def getInstance() -> 'ReliabilityDataSource': ... + @typing.overload + def getReliabilityData(self, string: typing.Union[java.lang.String, str]) -> 'ReliabilityDataSource.ReliabilityData': ... + @typing.overload + def getReliabilityData(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ReliabilityDataSource.ReliabilityData': ... + def getSubTypes(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + class FailureModeData(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def getDescription(self) -> java.lang.String: ... + def getDetectability(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFailureMode(self) -> java.lang.String: ... + def getProbability(self) -> float: ... + def getSeverity(self) -> java.lang.String: ... + def getSubType(self) -> java.lang.String: ... + def getTypicalMttr(self) -> float: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDetectability(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSeverity(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSubType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTypicalMttr(self, double: float) -> None: ... + def toEquipmentFailureMode(self, string: typing.Union[java.lang.String, str]) -> EquipmentFailureMode: ... + def toString(self) -> java.lang.String: ... + class ReliabilityData(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def getAvailability(self) -> float: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFailureRate(self) -> float: ... + def getFailuresPerYear(self) -> float: ... + def getMtbf(self) -> float: ... + def getMttr(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + def getSource(self) -> java.lang.String: ... + def getSubType(self) -> java.lang.String: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSource(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.failure")``. + + EquipmentFailureMode: typing.Type[EquipmentFailureMode] + ReliabilityDataSource: typing.Type[ReliabilityDataSource] diff --git a/src/jneqsim/process/equipment/filter/__init__.pyi b/src/jneqsim/process/equipment/filter/__init__.pyi new file mode 100644 index 00000000..e95aebbe --- /dev/null +++ b/src/jneqsim/process/equipment/filter/__init__.pyi @@ -0,0 +1,86 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign +import jneqsim.process.util.report +import jneqsim.util.nucleation +import typing + + + +class Filter(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getCvFactor(self) -> float: ... + def getDeltaP(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setCvFactor(self, double: float) -> None: ... + @typing.overload + def setDeltaP(self, double: float) -> None: ... + @typing.overload + def setDeltaP(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class CharCoalFilter(Filter): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + +class SulfurFilter(Filter): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getChangeIntervalDays(self) -> float: ... + def getChangeIntervalHours(self) -> float: ... + def getEstimatedCaptureEfficiency(self) -> float: ... + def getFilterElementCapacity(self) -> float: ... + def getFilterType(self) -> java.lang.String: ... + def getFiltrationRating(self) -> float: ... + def getGasFlowRate(self) -> float: ... + def getMeanParticleDiameterMicrons(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getNucleationModel(self) -> jneqsim.util.nucleation.ClassicalNucleationTheory: ... + def getNumberOfElements(self) -> int: ... + def getParticleSizePercentilesUM(self) -> typing.MutableSequence[float]: ... + def getRemovalEfficiency(self) -> float: ... + def getResidenceTime(self) -> float: ... + def getSolidS8MassFractionInlet(self) -> float: ... + @typing.overload + def getSolidSulfurRemovalRate(self) -> float: ... + @typing.overload + def getSolidSulfurRemovalRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSupersaturationRatio(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isSolidS8Detected(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFilterElementCapacity(self, double: float) -> None: ... + def setFilterType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFiltrationRating(self, double: float) -> None: ... + def setNumberOfElements(self, int: int) -> None: ... + def setRemovalEfficiency(self, double: float) -> None: ... + def setResidenceTime(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 __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.filter")``. + + CharCoalFilter: typing.Type[CharCoalFilter] + Filter: typing.Type[Filter] + SulfurFilter: typing.Type[SulfurFilter] diff --git a/src/jneqsim/process/equipment/flare/__init__.pyi b/src/jneqsim/process/equipment/flare/__init__.pyi new file mode 100644 index 00000000..62efdeb4 --- /dev/null +++ b/src/jneqsim/process/equipment/flare/__init__.pyi @@ -0,0 +1,147 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.flare.dto +import jneqsim.process.equipment.stream +import jneqsim.process.util.report +import typing + + + +class Flare(jneqsim.process.equipment.TwoPortEquipment): + @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): ... + @typing.overload + def estimateRadiationHeatFlux(self, double: float) -> float: ... + @typing.overload + def estimateRadiationHeatFlux(self, double: float, double2: float) -> float: ... + @typing.overload + def evaluateCapacity(self) -> 'Flare.CapacityCheckResult': ... + @typing.overload + def evaluateCapacity(self, double: float, double2: float, double3: float) -> 'Flare.CapacityCheckResult': ... + @typing.overload + def getCO2Emission(self) -> float: ... + @typing.overload + def getCO2Emission(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeCO2Emission(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeGasBurned(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeHeatReleased(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDispersionSurrogate(self) -> jneqsim.process.equipment.flare.dto.FlareDispersionSurrogateDTO: ... + @typing.overload + def getDispersionSurrogate(self, double: float, double2: float) -> jneqsim.process.equipment.flare.dto.FlareDispersionSurrogateDTO: ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLCV(self) -> float: ... + def getLastCapacityCheck(self) -> 'Flare.CapacityCheckResult': ... + @typing.overload + def getPerformanceSummary(self) -> jneqsim.process.equipment.flare.dto.FlarePerformanceDTO: ... + @typing.overload + def getPerformanceSummary(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> jneqsim.process.equipment.flare.dto.FlarePerformanceDTO: ... + def getTransientTime(self) -> float: ... + @typing.overload + def radiationDistanceForFlux(self, double: float) -> float: ... + @typing.overload + def radiationDistanceForFlux(self, double: float, double2: float) -> float: ... + def reset(self) -> None: ... + def resetCumulative(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesignHeatDutyCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignMassFlowCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignMolarFlowCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlameHeight(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setRadiantFraction(self, double: float) -> None: ... + def setTipDiameter(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def updateCumulative(self, double: float) -> None: ... + class CapacityCheckResult(java.io.Serializable): + def getDesignHeatDutyW(self) -> float: ... + def getDesignMassRateKgS(self) -> float: ... + def getDesignMolarRateMoleS(self) -> float: ... + def getHeatDutyW(self) -> float: ... + def getHeatUtilization(self) -> float: ... + def getMassRateKgS(self) -> float: ... + def getMassUtilization(self) -> float: ... + def getMolarRateMoleS(self) -> float: ... + def getMolarUtilization(self) -> float: ... + def isOverloaded(self) -> bool: ... + def toDTO(self) -> jneqsim.process.equipment.flare.dto.FlareCapacityDTO: ... + +class FlareStack(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def chamberlainHeatFlux(self, double: float) -> float: ... + def getAirAssist(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getEmissionsKgPerHr(self) -> java.util.Map[java.lang.String, float]: ... + def getHeatReleaseMW(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReliefInlet(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSteamAssist(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTipBackpressureBar(self) -> float: ... + def heatFlux_W_m2(self, double: float) -> float: ... + def pointSourceHeatFlux(self, double: float) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAirAssist(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setAmbient(self, double: float, double2: float) -> None: ... + def setBurningEfficiency(self, double: float) -> None: ... + def setCOFraction(self, double: float) -> None: ... + def setChamberlainAttenuation(self, double: float) -> None: ... + def setChamberlainEmissivePower(self, double: float, double2: float) -> None: ... + def setChamberlainFlameLength(self, double: float, double2: float, double3: float) -> None: ... + def setChamberlainSegments(self, int: int) -> None: ... + def setChamberlainTilt(self, double: float) -> None: ... + def setExcessAirFrac(self, double: float) -> None: ... + def setRadiantFraction(self, double: float) -> None: ... + def setRadiationModel(self, radiationModel: 'FlareStack.RadiationModel') -> None: ... + def setReliefInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSO2Conversion(self, double: float) -> None: ... + def setSteamAssist(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setTipDiameter(self, double: float) -> None: ... + def setTipElevation(self, double: float) -> None: ... + def setTipLossK(self, double: float) -> None: ... + def setUnburnedTHCFraction(self, double: float) -> None: ... + def setWindSpeed10m(self, double: float) -> None: ... + class RadiationModel(java.lang.Enum['FlareStack.RadiationModel']): + POINT_SOURCE: typing.ClassVar['FlareStack.RadiationModel'] = ... + CHAMBERLAIN: typing.ClassVar['FlareStack.RadiationModel'] = ... + _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]) -> 'FlareStack.RadiationModel': ... + @staticmethod + def values() -> typing.MutableSequence['FlareStack.RadiationModel']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.flare")``. + + Flare: typing.Type[Flare] + FlareStack: typing.Type[FlareStack] + dto: jneqsim.process.equipment.flare.dto.__module_protocol__ diff --git a/src/jneqsim/process/equipment/flare/dto/__init__.pyi b/src/jneqsim/process/equipment/flare/dto/__init__.pyi new file mode 100644 index 00000000..78d20c59 --- /dev/null +++ b/src/jneqsim/process/equipment/flare/dto/__init__.pyi @@ -0,0 +1,59 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class FlareCapacityDTO(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool): ... + def getDesignHeatDutyW(self) -> float: ... + def getDesignMassRateKgS(self) -> float: ... + def getDesignMolarRateMoleS(self) -> float: ... + def getHeatDutyW(self) -> float: ... + def getHeatUtilization(self) -> float: ... + def getMassRateKgS(self) -> float: ... + def getMassUtilization(self) -> float: ... + def getMolarRateMoleS(self) -> float: ... + def getMolarUtilization(self) -> float: ... + def isOverloaded(self) -> bool: ... + +class FlareDispersionSurrogateDTO(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getExitVelocityMs(self) -> float: ... + def getMassRateKgS(self) -> float: ... + def getMolarRateMoleS(self) -> float: ... + def getMomentumFlux(self) -> float: ... + def getMomentumPerMass(self) -> float: ... + def getStandardVolumeSm3PerSec(self) -> float: ... + +class FlarePerformanceDTO(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, flareDispersionSurrogateDTO: FlareDispersionSurrogateDTO, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], flareCapacityDTO: FlareCapacityDTO): ... + def getCapacity(self) -> FlareCapacityDTO: ... + def getCo2EmissionKgS(self) -> float: ... + def getCo2EmissionTonPerDay(self) -> float: ... + def getDispersion(self) -> FlareDispersionSurrogateDTO: ... + def getDistanceTo4kWm2(self) -> float: ... + def getEmissions(self) -> java.util.Map[java.lang.String, float]: ... + def getHeatDutyMW(self) -> float: ... + def getHeatDutyW(self) -> float: ... + def getHeatFluxAt30mWm2(self) -> float: ... + def getLabel(self) -> java.lang.String: ... + def getMassRateKgS(self) -> float: ... + def getMolarRateMoleS(self) -> float: ... + def isOverloaded(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.flare.dto")``. + + FlareCapacityDTO: typing.Type[FlareCapacityDTO] + FlareDispersionSurrogateDTO: typing.Type[FlareDispersionSurrogateDTO] + FlarePerformanceDTO: typing.Type[FlarePerformanceDTO] diff --git a/src/jneqsim/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim/process/equipment/heatexchanger/__init__.pyi new file mode 100644 index 00000000..8691861e --- /dev/null +++ b/src/jneqsim/process/equipment/heatexchanger/__init__.pyi @@ -0,0 +1,900 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process +import jneqsim.process.design +import jneqsim.process.electricaldesign.heatexchanger +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.heatexchanger.heatintegration +import jneqsim.process.equipment.stream +import jneqsim.process.instrumentdesign.heatexchanger +import jneqsim.process.mechanicaldesign.heatexchanger +import jneqsim.process.ml +import jneqsim.process.util.report +import typing + + + +class CoolingWaterSystem(java.io.Serializable): + def __init__(self): ... + def addCoolingRequirement(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def calculate(self) -> None: ... + def getAnnualOperatingCost(self) -> float: ... + def getPumpPower(self) -> float: ... + def getTotalCWFlowRate(self) -> float: ... + def getTotalDuty(self) -> float: ... + def getTotalElectricalPower(self) -> float: ... + def getTowerFanPower(self) -> float: ... + def setAnnualOperatingHours(self, double: float) -> None: ... + def setCoolingWaterReturnTemperature(self, double: float) -> None: ... + def setCoolingWaterSupplyTemperature(self, double: float) -> None: ... + def setElectricityCost(self, double: float) -> None: ... + def setPumpEfficiency(self, double: float) -> None: ... + def setSystemPressureDrop(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class CoolingRequirement(java.io.Serializable): + name: java.lang.String = ... + dutyKW: float = ... + processOutletTempC: float = ... + approachDeltaTC: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + +class Dryer(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 getDriedProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDryerType(self) -> java.lang.String: ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getSpecificEnergy(self) -> float: ... + def getTargetMoistureContent(self) -> float: ... + def getThermalEfficiency(self) -> float: ... + def getVaporStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDryerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setTargetMoistureContent(self, double: float) -> None: ... + def setThermalEfficiency(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 HeaterInterface(jneqsim.process.SimulationInterface): + def setOutTP(self, double: float, double2: float) -> None: ... + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setdT(self, double: float) -> None: ... + +class MultiEffectEvaporator(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 getConcentrateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFirstEffectPressure(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLastEffectPressure(self) -> float: ... + def getNumberOfEffects(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getSteamConsumption(self) -> float: ... + def getSteamEconomy(self) -> float: ... + def getTargetConcentrationFactor(self) -> float: ... + def getTotalHeatTransferArea(self) -> float: ... + def getVaporCondensateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFirstEffectPressure(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLastEffectPressure(self, double: float) -> None: ... + def setNumberOfEffects(self, int: int) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setTargetConcentrationFactor(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 MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcThermalEffectiveness(self, double: float, double2: float) -> float: ... + def equals(self, object: typing.Any) -> bool: ... + def getDeltaT(self) -> float: ... + def getDuty(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlowArrangement(self) -> java.lang.String: ... + def getGuessOutTemperature(self) -> float: ... + def getHotColdDutyBalance(self) -> float: ... + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInTemperature(self, int: int) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutTemperature(self, int: int) -> float: ... + def getThermalEffectiveness(self) -> float: ... + def getUAvalue(self) -> float: ... + def hashCode(self) -> int: ... + @typing.overload + def runConditionAnalysis(self) -> None: ... + @typing.overload + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setDeltaT(self, double: float) -> None: ... + def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHotColdDutyBalance(self, double: float) -> None: ... + def setOutTemperature(self, double: float) -> None: ... + def setOutletTemperature(self, double: float) -> None: ... + def setThermalEffectiveness(self, double: float) -> None: ... + def setUAvalue(self, double: float) -> None: ... + def setUseDeltaT(self, boolean: bool) -> None: ... + def setdT(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class ReBoiler(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + def getReboilerDuty(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setReboilerDuty(self, double: float) -> None: ... + +class UtilityStreamSpecification(java.io.Serializable): + def __init__(self): ... + def getApproachTemperature(self) -> float: ... + def getHeatCapacityRate(self) -> float: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getReturnTemperature(self) -> float: ... + def getSupplyTemperature(self) -> float: ... + def hasApproachTemperature(self) -> bool: ... + def hasHeatCapacityRate(self) -> bool: ... + def hasOverallHeatTransferCoefficient(self) -> bool: ... + def hasReturnTemperature(self) -> bool: ... + def hasSupplyTemperature(self) -> bool: ... + @typing.overload + def setApproachTemperature(self, double: float) -> None: ... + @typing.overload + def setApproachTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatCapacityRate(self, double: float) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + @typing.overload + def setReturnTemperature(self, double: float) -> None: ... + @typing.overload + def setReturnTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSupplyTemperature(self, double: float) -> None: ... + @typing.overload + def setSupplyTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class HeatExchangerInterface(HeaterInterface): + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + +class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + @typing.overload + def getDuty(self) -> float: ... + @typing.overload + def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.heatexchanger.HeatExchangerElectricalDesign: ... + def getEnergyInput(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.heatexchanger.HeatExchangerInstrumentDesign: ... + @typing.overload + def getMaxDesignDuty(self) -> float: ... + @typing.overload + def getMaxDesignDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMaxOutletTemperature(self) -> float: ... + @typing.overload + def getMaxOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + @typing.overload + def getMinOutletTemperature(self) -> float: ... + @typing.overload + def getMinOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureDrop(self) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSpecifiedOutletPressure(self) -> float: ... + def getSpecifiedOutletPressureUnit(self) -> java.lang.String: ... + def getUtilitySpecification(self) -> UtilityStreamSpecification: ... + def hasMaxOutletTemperatureLimit(self) -> bool: ... + def hasMinOutletTemperatureLimit(self) -> bool: ... + def hasOutletPressureSpecification(self) -> bool: ... + def initElectricalDesign(self) -> None: ... + def initInstrumentDesign(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isSetEnergyInput(self) -> bool: ... + def needRecalculation(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @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 setDuty(self, double: float) -> None: ... + def setEnergyInput(self, double: float) -> None: ... + @typing.overload + def setMaxDesignDuty(self, double: float) -> None: ... + @typing.overload + def setMaxDesignDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMaxOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setMaxOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMinOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setMinOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutTP(self, double: float, double2: float) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setSetEnergyInput(self, boolean: bool) -> None: ... + def setUtilityApproachTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setUtilityHeatCapacityRate(self, double: float) -> None: ... + def setUtilityOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setUtilityReturnTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setUtilitySpecification(self, utilityStreamSpecification: UtilityStreamSpecification) -> None: ... + def setUtilitySupplyTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setdT(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class Cooler(Heater): + @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 getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + def initMechanicalDesign(self) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class FiredHeater(Heater): + @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 getAbsorbedDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCO2Emissions(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFiredDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFuelConsumption(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFuelLHV(self) -> float: ... + def getNOxEmissions(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getStackLoss(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getStackTemperature(self) -> float: ... + def getThermalEfficiency(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFuelCO2Factor(self, double: float) -> None: ... + def setFuelLHV(self, double: float) -> None: ... + def setNoxFactor(self, double: float) -> None: ... + def setStackTemperature(self, double: float) -> None: ... + def setThermalEfficiency(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + guessOutTemperature: float = ... + guessOutTemperatureUnit: java.lang.String = ... + thermalEffectiveness: float = ... + @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): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'HeatExchanger.Builder': ... + def calcThermalEffectivenes(self, double: float, double2: float) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def getApproachTemperature(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getDeltaT(self) -> float: ... + def getDesignDuty(self) -> float: ... + def getDesignMode(self) -> 'HeatExchanger.DesignMode': ... + def getDesignUAValue(self) -> float: ... + @typing.overload + def getDuty(self) -> float: ... + @typing.overload + def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlowArrangement(self) -> java.lang.String: ... + def getGuessOutTemperature(self) -> float: ... + def getHeatTransferArea(self) -> float: ... + def getHotColdDutyBalance(self) -> float: ... + @typing.overload + def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInTemperature(self, int: int) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + def getMinApproachTemperature(self) -> float: ... + @typing.overload + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutTemperature(self, int: int) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getRatingArea(self) -> float: ... + def getRatingCalculator(self) -> jneqsim.process.mechanicaldesign.heatexchanger.ThermalDesignCalculator: ... + def getRatingU(self) -> float: ... + def getShellHoldupVolume(self) -> float: ... + def getShellPasses(self) -> int: ... + def getShellSideHtc(self) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def getStateVector(self) -> jneqsim.process.ml.StateVector: ... + def getThermalEffectiveness(self) -> float: ... + def getTubeHoldupVolume(self) -> float: ... + def getTubeSideHtc(self) -> float: ... + def getUAvalue(self) -> float: ... + def getWallCp(self) -> float: ... + def getWallMass(self) -> float: ... + def getWallTemperature(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isDynamicModelEnabled(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def needRecalculation(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runConditionAnalysis(self) -> None: ... + @typing.overload + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runDeltaT(self, uUID: java.util.UUID) -> None: ... + def runSpecifiedStream(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 setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setDeltaT(self, double: float) -> None: ... + def setDesignDuty(self, double: float) -> None: ... + def setDesignMode(self, designMode: 'HeatExchanger.DesignMode') -> None: ... + def setDesignUAValue(self, double: float) -> None: ... + def setDynamicModelEnabled(self, boolean: bool) -> None: ... + def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatTransferArea(self, double: float) -> None: ... + def setHotColdDutyBalance(self, double: float) -> None: ... + def setMaxShellPressureDrop(self, double: float) -> None: ... + def setMaxTubePressureDrop(self, double: float) -> None: ... + def setMinApproachTemperature(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + def setRatingArea(self, double: float) -> None: ... + def setRatingCalculator(self, thermalDesignCalculator: jneqsim.process.mechanicaldesign.heatexchanger.ThermalDesignCalculator) -> None: ... + def setShellHoldupVolume(self, double: float) -> None: ... + def setShellPasses(self, int: int) -> None: ... + def setShellSideHtc(self, double: float) -> None: ... + def setThermalEffectiveness(self, double: float) -> None: ... + def setTubeHoldupVolume(self, double: float) -> None: ... + def setTubeSideHtc(self, double: float) -> None: ... + def setUAvalue(self, double: float) -> None: ... + def setUseDeltaT(self, boolean: bool) -> None: ... + def setWallCp(self, double: float) -> None: ... + def setWallMass(self, double: float) -> None: ... + def setWallTemperature(self, double: float) -> None: ... + def setdT(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + class Builder: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def UAvalue(self, double: float) -> 'HeatExchanger.Builder': ... + def build(self) -> 'HeatExchanger': ... + def coldStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'HeatExchanger.Builder': ... + def deltaT(self, double: float) -> 'HeatExchanger.Builder': ... + def flowArrangement(self, string: typing.Union[java.lang.String, str]) -> 'HeatExchanger.Builder': ... + def guessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'HeatExchanger.Builder': ... + def hotStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'HeatExchanger.Builder': ... + def outTemperature(self, double: float, string: typing.Union[java.lang.String, str], int: int) -> 'HeatExchanger.Builder': ... + def thermalEffectiveness(self, double: float) -> 'HeatExchanger.Builder': ... + class DesignMode(java.lang.Enum['HeatExchanger.DesignMode']): + SIZING: typing.ClassVar['HeatExchanger.DesignMode'] = ... + RATING: typing.ClassVar['HeatExchanger.DesignMode'] = ... + _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]) -> 'HeatExchanger.DesignMode': ... + @staticmethod + def values() -> typing.MutableSequence['HeatExchanger.DesignMode']: ... + +class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.equipment.stream.StreamInterface]): ... + def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcThermalEffectiveness(self, double: float, double2: float) -> float: ... + def displayResult(self) -> None: ... + def getDeltaT(self) -> float: ... + @typing.overload + def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDuty(self) -> float: ... + @typing.overload + def getDuty(self, int: int) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlowArrangement(self) -> java.lang.String: ... + def getGuessOutTemperature(self) -> float: ... + def getHotColdDutyBalance(self) -> float: ... + @typing.overload + def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInTemperature(self, int: int) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutTemperature(self, int: int) -> float: ... + def getTemperatureApproach(self) -> float: ... + def getThermalEffectiveness(self) -> float: ... + def getUAvalue(self) -> float: ... + def numerOfFeedStreams(self) -> int: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runConditionAnalysis(self) -> None: ... + @typing.overload + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runSpecifiedStream(self, uUID: java.util.UUID) -> None: ... + def setDeltaT(self, double: float) -> None: ... + def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHotColdDutyBalance(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + def setTemperatureApproach(self, double: float) -> None: ... + def setThermalEffectiveness(self, double: float) -> None: ... + def setUAvalue(self, double: float) -> None: ... + def setUseDeltaT(self, boolean: bool) -> None: ... + def setdT(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInStreamMSHE(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def calcThermalEffectiveness(self, double: float, double2: float) -> float: ... + def calculateUA(self) -> float: ... + def compositeCurve(self) -> java.util.Map[java.lang.String, java.util.List[java.util.Map[java.lang.String, typing.Any]]]: ... + def displayResult(self) -> None: ... + def energyDiff(self) -> float: ... + def getCompositeCurve(self) -> java.util.Map[java.lang.String, java.util.List[java.util.Map[java.lang.String, typing.Any]]]: ... + def getDeltaT(self) -> float: ... + @typing.overload + def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDuty(self) -> float: ... + def getFlowArrangement(self) -> java.lang.String: ... + def getGuessOutTemperature(self) -> float: ... + def getHotColdDutyBalance(self) -> float: ... + @typing.overload + def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInTemperature(self, int: int) -> float: ... + @typing.overload + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutTemperature(self, int: int) -> float: ... + def getTemperatureApproach(self) -> float: ... + def getThermalEffectiveness(self) -> float: ... + def getUA(self) -> float: ... + def getUAvalue(self) -> float: ... + def oneUnknown(self) -> None: ... + def pinch(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def runConditionAnalysis(self) -> None: ... + def setDeltaT(self, double: float) -> None: ... + def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float) -> None: ... + @typing.overload + def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHotColdDutyBalance(self, double: float) -> None: ... + def setTemperatureApproach(self, double: float) -> None: ... + def setThermalEffectiveness(self, double: float) -> None: ... + def setUAvalue(self, double: float) -> None: ... + def setUseDeltaT(self, boolean: bool) -> None: ... + def threeUnknowns(self) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def twoUnknowns(self) -> None: ... + +class NeqHeater(Heater): + @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 displayResult(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + +class SteamHeater(Heater): + @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 getSteamFlowRate(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: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSteamInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class AirCooler(Cooler): + @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 getAirMassFlow(self) -> float: ... + def getAirSideHTC(self) -> float: ... + def getAirSidePressureDrop(self) -> float: ... + def getAirVolumeFlow(self) -> float: ... + def getAmbientCorrectionFactor(self) -> float: ... + def getFaceArea(self) -> float: ... + def getFaceVelocity(self) -> float: ... + @typing.overload + def getFanPower(self) -> float: ... + @typing.overload + def getFanPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFanStaticPressure(self, double: float) -> float: ... + def getFinEfficiency(self) -> float: ... + def getITD(self) -> float: ... + def getLMTD(self) -> float: ... + def getNumberOfBays(self) -> int: ... + def getNumberOfTubeRows(self) -> int: ... + def getOverallU(self) -> float: ... + def getRequiredArea(self) -> float: ... + def getTotalTubes(self) -> int: ... + def getTubesPerRow(self) -> int: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAirFoulingResistance(self, double: float) -> None: ... + def setAirInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setAirOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setAtmosphericPressure(self, double: float) -> None: ... + def setBayWidth(self, double: float) -> None: ... + def setDesignAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFanCurve(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setFanDiameter(self, double: float) -> None: ... + def setFanEfficiency(self, double: float) -> None: ... + def setFinConductivity(self, double: float) -> None: ... + def setFinHeight(self, double: float) -> None: ... + def setFinPitch(self, double: float) -> None: ... + def setFinThickness(self, double: float) -> None: ... + def setLmtdCorrectionFactor(self, double: float) -> None: ... + def setNumberOfBays(self, int: int) -> None: ... + def setNumberOfFansPerBay(self, int: int) -> None: ... + def setNumberOfTubePasses(self, int: int) -> None: ... + def setNumberOfTubeRows(self, int: int) -> None: ... + def setProcessFoulingResistance(self, double: float) -> None: ... + def setProcessSideHTC(self, double: float) -> None: ... + def setRelativeHumidity(self, double: float) -> None: ... + def setTransversePitch(self, double: float) -> None: ... + def setTubeLength(self, double: float) -> None: ... + def setTubeOuterDiameter(self, double: float) -> None: ... + def setTubeWallThickness(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class LNGHeatExchanger(MultiStreamHeatExchanger2): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.equipment.stream.StreamInterface]): ... + def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInStreamMSHE(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def assessMercuryRisk(self, double: float) -> None: ... + def generateFeasibilityReport(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerDesignFeasibilityReport: ... + def getAdaptiveRefinement(self) -> bool: ... + def getAdaptiveThresholdFactor(self) -> float: ... + def getColdCompositeCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getComputedStreamDP(self) -> typing.MutableSequence[float]: ... + def getCoreGeometry(self) -> 'LNGHeatExchanger.CoreGeometry': ... + def getCoreThermalMass(self) -> float: ... + def getExchangerType(self) -> java.lang.String: ... + def getExergyDestructionPerZone(self) -> typing.MutableSequence[float]: ... + def getFlowMaldistributionFactor(self) -> float: ... + def getFreezeOutRiskPerZone(self) -> typing.MutableSequence[bool]: ... + def getHotCompositeCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getMITA(self) -> float: ... + @typing.overload + def getMITA(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMITAPerZone(self) -> typing.MutableSequence[float]: ... + def getMITAZoneIndex(self) -> int: ... + def getMaxAdaptiveZones(self) -> int: ... + def getMaxAllowableThermalGradient(self) -> float: ... + def getMercuryRiskMessage(self) -> java.lang.String: ... + def getNumberOfZones(self) -> int: ... + def getReferenceTemperature(self) -> float: ... + def getSecondLawEfficiency(self) -> float: ... + def getStreamFFactor(self) -> typing.MutableSequence[float]: ... + def getStreamFinGeometry(self, int: int) -> 'LNGHeatExchanger.FinGeometry': ... + def getStreamJFactor(self) -> typing.MutableSequence[float]: ... + def getStreamPressureDrop(self, int: int) -> float: ... + def getThermalGradientPerZone(self) -> typing.MutableSequence[float]: ... + def getTotalExergyDestruction(self) -> float: ... + def getTransientResults(self) -> java.util.List['LNGHeatExchanger.TransientPoint']: ... + def getUAPerZone(self) -> typing.MutableSequence[float]: ... + def getZoneTempProfileColdC(self) -> typing.MutableSequence[float]: ... + def getZoneTempProfileHotC(self) -> typing.MutableSequence[float]: ... + def hasFreezeOutRisk(self) -> bool: ... + def hasThermalStressWarning(self) -> bool: ... + def isMercuryRiskPresent(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runCooldownTransient(self, double: float, double2: float, int: int, double3: float) -> None: ... + def setAdaptiveRefinement(self, boolean: bool) -> None: ... + def setAdaptiveThresholdFactor(self, double: float) -> None: ... + def setCoreGeometry(self, coreGeometry: 'LNGHeatExchanger.CoreGeometry') -> None: ... + def setCoreThermalMass(self, double: float) -> None: ... + def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowMaldistributionFactor(self, double: float) -> None: ... + def setMaxAdaptiveZones(self, int: int) -> None: ... + def setMaxAllowableThermalGradient(self, double: float) -> None: ... + def setNumberOfZones(self, int: int) -> None: ... + def setReferenceTemperature(self, double: float) -> None: ... + def setStreamFinGeometry(self, int: int, finGeometry: 'LNGHeatExchanger.FinGeometry') -> None: ... + def setStreamIsHot(self, int: int, boolean: bool) -> None: ... + def setStreamPressureDrop(self, int: int, double: float) -> None: ... + def sizeCore(self) -> None: ... + class CoreGeometry(java.io.Serializable): + def __init__(self): ... + def getHeight(self) -> float: ... + def getLength(self) -> float: ... + def getNumberOfLayers(self) -> int: ... + def getVolume(self) -> float: ... + def getWeight(self) -> float: ... + def getWidth(self) -> float: ... + def setHeight(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setNumberOfLayers(self, int: int) -> None: ... + def setWeight(self, double: float) -> None: ... + def setWidth(self, double: float) -> None: ... + class FinGeometry(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def getBeta(self) -> float: ... + def getFinConductivity(self) -> float: ... + def getFinHeight(self) -> float: ... + def getFinPitch(self) -> float: ... + def getFinThickness(self) -> float: ... + def getHydraulicDiameter(self) -> float: ... + def getPlateThickness(self) -> float: ... + def getSigma(self) -> float: ... + def getStripLength(self) -> float: ... + def getType(self) -> java.lang.String: ... + def setFinConductivity(self, double: float) -> None: ... + def setFinHeight(self, double: float) -> None: ... + def setFinPitch(self, double: float) -> None: ... + def setFinThickness(self, double: float) -> None: ... + def setPlateThickness(self, double: float) -> None: ... + def setStripLength(self, double: float) -> None: ... + def setType(self, string: typing.Union[java.lang.String, str]) -> None: ... + class TransientPoint(java.io.Serializable): + timeHours: float = ... + metalTempC: float = ... + fluidOutTempC: float = ... + dutyKW: float = ... + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + +class WaterCooler(Cooler): + @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 getCoolingWaterFlowRate(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: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setWaterInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.heatexchanger")``. + + AirCooler: typing.Type[AirCooler] + Cooler: typing.Type[Cooler] + CoolingWaterSystem: typing.Type[CoolingWaterSystem] + Dryer: typing.Type[Dryer] + FiredHeater: typing.Type[FiredHeater] + HeatExchanger: typing.Type[HeatExchanger] + HeatExchangerInterface: typing.Type[HeatExchangerInterface] + Heater: typing.Type[Heater] + HeaterInterface: typing.Type[HeaterInterface] + LNGHeatExchanger: typing.Type[LNGHeatExchanger] + MultiEffectEvaporator: typing.Type[MultiEffectEvaporator] + MultiStreamHeatExchanger: typing.Type[MultiStreamHeatExchanger] + MultiStreamHeatExchanger2: typing.Type[MultiStreamHeatExchanger2] + MultiStreamHeatExchangerInterface: typing.Type[MultiStreamHeatExchangerInterface] + NeqHeater: typing.Type[NeqHeater] + ReBoiler: typing.Type[ReBoiler] + SteamHeater: typing.Type[SteamHeater] + UtilityStreamSpecification: typing.Type[UtilityStreamSpecification] + WaterCooler: typing.Type[WaterCooler] + heatintegration: jneqsim.process.equipment.heatexchanger.heatintegration.__module_protocol__ diff --git a/src/jneqsim/process/equipment/heatexchanger/heatintegration/__init__.pyi b/src/jneqsim/process/equipment/heatexchanger/heatintegration/__init__.pyi new file mode 100644 index 00000000..9bdfb2a3 --- /dev/null +++ b/src/jneqsim/process/equipment/heatexchanger/heatintegration/__init__.pyi @@ -0,0 +1,76 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.heatexchanger +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class HeatStream(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getEnthalpyChange(self) -> float: ... + def getHeatCapacityFlowRate(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSupplyTemperature(self) -> float: ... + def getSupplyTemperatureC(self) -> float: ... + def getTargetTemperature(self) -> float: ... + def getTargetTemperatureC(self) -> float: ... + def getType(self) -> 'HeatStream.StreamType': ... + def setHeatCapacityFlowRate(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSupplyTemperatureC(self, double: float) -> None: ... + def setTargetTemperatureC(self, double: float) -> None: ... + class StreamType(java.lang.Enum['HeatStream.StreamType']): + HOT: typing.ClassVar['HeatStream.StreamType'] = ... + COLD: typing.ClassVar['HeatStream.StreamType'] = ... + _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]) -> 'HeatStream.StreamType': ... + @staticmethod + def values() -> typing.MutableSequence['HeatStream.StreamType']: ... + +class PinchAnalysis(java.io.Serializable): + def __init__(self, double: float): ... + def addColdStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addHotStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addProcessStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> None: ... + def addStream(self, heatStream: HeatStream) -> None: ... + @typing.overload + def addStreamsFromHeatExchanger(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger) -> None: ... + @typing.overload + def addStreamsFromHeatExchanger(self, multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2) -> None: ... + @staticmethod + def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> 'PinchAnalysis': ... + def getColdCompositeCurve(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getGrandCompositeCurve(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getHotCompositeCurve(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getMaximumHeatRecovery(self) -> float: ... + def getMinimumCoolingUtility(self) -> float: ... + def getMinimumHeatingUtility(self) -> float: ... + def getNumberOfColdStreams(self) -> int: ... + def getNumberOfHotStreams(self) -> int: ... + def getPinchTemperatureC(self) -> float: ... + def getPinchTemperatureCold(self) -> float: ... + def getPinchTemperatureHot(self) -> float: ... + def run(self) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.heatexchanger.heatintegration")``. + + HeatStream: typing.Type[HeatStream] + PinchAnalysis: typing.Type[PinchAnalysis] diff --git a/src/jneqsim/process/equipment/iec81346/__init__.pyi b/src/jneqsim/process/equipment/iec81346/__init__.pyi new file mode 100644 index 00000000..26753732 --- /dev/null +++ b/src/jneqsim/process/equipment/iec81346/__init__.pyi @@ -0,0 +1,123 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.processmodel +import typing + + + +class IEC81346LetterCode(java.lang.Enum['IEC81346LetterCode'], java.io.Serializable): + A: typing.ClassVar['IEC81346LetterCode'] = ... + B: typing.ClassVar['IEC81346LetterCode'] = ... + C: typing.ClassVar['IEC81346LetterCode'] = ... + G: typing.ClassVar['IEC81346LetterCode'] = ... + K: typing.ClassVar['IEC81346LetterCode'] = ... + M: typing.ClassVar['IEC81346LetterCode'] = ... + N: typing.ClassVar['IEC81346LetterCode'] = ... + Q: typing.ClassVar['IEC81346LetterCode'] = ... + S: typing.ClassVar['IEC81346LetterCode'] = ... + T: typing.ClassVar['IEC81346LetterCode'] = ... + W: typing.ClassVar['IEC81346LetterCode'] = ... + X: typing.ClassVar['IEC81346LetterCode'] = ... + @staticmethod + def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'IEC81346LetterCode': ... + @staticmethod + def fromEquipmentEnum(equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> 'IEC81346LetterCode': ... + def getDescription(self) -> java.lang.String: ... + @staticmethod + def getEquipmentMapping() -> java.util.Map[jneqsim.process.equipment.EquipmentEnum, 'IEC81346LetterCode']: ... + _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]) -> 'IEC81346LetterCode': ... + @staticmethod + def values() -> typing.MutableSequence['IEC81346LetterCode']: ... + +class ReferenceDesignation(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], iEC81346LetterCode: IEC81346LetterCode, int: int): ... + def equals(self, object: typing.Any) -> bool: ... + def getFormattedFunctionDesignation(self) -> java.lang.String: ... + def getFormattedLocationDesignation(self) -> java.lang.String: ... + def getFormattedProductDesignation(self) -> java.lang.String: ... + def getFunctionDesignation(self) -> java.lang.String: ... + def getLetterCode(self) -> IEC81346LetterCode: ... + def getLocationDesignation(self) -> java.lang.String: ... + def getProductCode(self) -> java.lang.String: ... + def getProductDesignation(self) -> java.lang.String: ... + def getSequenceNumber(self) -> int: ... + def hashCode(self) -> int: ... + def isSet(self) -> bool: ... + @staticmethod + def parse(string: typing.Union[java.lang.String, str]) -> 'ReferenceDesignation': ... + def setFunctionDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLetterCode(self, iEC81346LetterCode: IEC81346LetterCode) -> None: ... + def setLocationDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProductDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSequenceNumber(self, int: int) -> None: ... + def toReferenceDesignationString(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class ReferenceDesignationGenerator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def findByDesignation(self, string: typing.Union[java.lang.String, str]) -> 'ReferenceDesignationGenerator.DesignationEntry': ... + def findByLetterCode(self, iEC81346LetterCode: IEC81346LetterCode) -> java.util.List['ReferenceDesignationGenerator.DesignationEntry']: ... + def findByName(self, string: typing.Union[java.lang.String, str]) -> 'ReferenceDesignationGenerator.DesignationEntry': ... + @typing.overload + def generate(self) -> None: ... + @typing.overload + def generate(self, processModel: jneqsim.process.processmodel.ProcessModel) -> None: ... + @typing.overload + def generate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def getDesignationCount(self) -> int: ... + def getDesignationToNameMap(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getEntries(self) -> java.util.List['ReferenceDesignationGenerator.DesignationEntry']: ... + def getFunctionPrefix(self) -> java.lang.String: ... + def getLetterCodeSummary(self) -> java.util.Map[IEC81346LetterCode, int]: ... + def getLocationPrefix(self) -> java.lang.String: ... + def getNameToDesignationMap(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def isGenerated(self) -> bool: ... + def isIncludeMeasurementDevices(self) -> bool: ... + def isIncludeStreams(self) -> bool: ... + def isUseHierarchicalFunctions(self) -> bool: ... + def setFunctionPrefix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeMeasurementDevices(self, boolean: bool) -> None: ... + def setIncludeStreams(self, boolean: bool) -> None: ... + def setLocationPrefix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUseHierarchicalFunctions(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + class DesignationEntry(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], iEC81346LetterCode: IEC81346LetterCode, int: int, string4: typing.Union[java.lang.String, str]): ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFunctionArea(self) -> java.lang.String: ... + def getLetterCode(self) -> IEC81346LetterCode: ... + def getReferenceDesignation(self) -> java.lang.String: ... + def getSequenceNumber(self) -> int: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.iec81346")``. + + IEC81346LetterCode: typing.Type[IEC81346LetterCode] + ReferenceDesignation: typing.Type[ReferenceDesignation] + ReferenceDesignationGenerator: typing.Type[ReferenceDesignationGenerator] diff --git a/src/jneqsim/process/equipment/lng/__init__.pyi b/src/jneqsim/process/equipment/lng/__init__.pyi new file mode 100644 index 00000000..c9292c5c --- /dev/null +++ b/src/jneqsim/process/equipment/lng/__init__.pyi @@ -0,0 +1,586 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.thermo.system +import typing + + + +class LNGAgeingResult(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def getAmbientTemperature(self) -> float: ... + def getBogMassFlowRate(self) -> float: ... + def getBoilOffRatePctPerDay(self) -> float: ... + def getDensity(self) -> float: ... + def getGcvMass(self) -> float: ... + def getGcvVolumetric(self) -> float: ... + def getHeatIngressKW(self) -> float: ... + def getLiquidComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getLiquidMass(self) -> float: ... + def getLiquidMoles(self) -> float: ... + def getLiquidVolume(self) -> float: ... + def getMaxLayerDensityDifference(self) -> float: ... + def getMethaneNumber(self) -> float: ... + def getNumberOfLayers(self) -> int: ... + def getOperationalMode(self) -> java.lang.String: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getTemperatureCelsius(self) -> float: ... + def getTimeDays(self) -> float: ... + def getTimeHours(self) -> float: ... + def getVaporComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getWobbeIndex(self) -> float: ... + def isRolloverRisk(self) -> bool: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setBogMassFlowRate(self, double: float) -> None: ... + def setBoilOffRatePctPerDay(self, double: float) -> None: ... + def setDensity(self, double: float) -> None: ... + def setGcvMass(self, double: float) -> None: ... + def setGcvVolumetric(self, double: float) -> None: ... + def setHeatIngressKW(self, double: float) -> None: ... + def setLiquidComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setLiquidMass(self, double: float) -> None: ... + def setLiquidMoles(self, double: float) -> None: ... + def setLiquidVolume(self, double: float) -> None: ... + def setMaxLayerDensityDifference(self, double: float) -> None: ... + def setMethaneNumber(self, double: float) -> None: ... + def setNumberOfLayers(self, int: int) -> None: ... + def setOperationalMode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure(self, double: float) -> None: ... + def setRolloverRisk(self, boolean: bool) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setTimeHours(self, double: float) -> None: ... + def setVaporComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setWobbeIndex(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toSummaryString(self) -> java.lang.String: ... + @staticmethod + def toTimeSeries(list: java.util.List['LNGAgeingResult']) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + +class LNGAgeingScenario(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 addOperationalEvent(self, operationalEvent: 'LNGAgeingScenario.OperationalEvent') -> None: ... + def getAmbientTemperature(self) -> float: ... + def getBogNetwork(self) -> 'LNGBOGHandlingNetwork': ... + def getBogOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeelManager(self) -> 'LNGHeelManager': ... + def getInitialFillingRatio(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLngOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMethaneNumberCalculator(self) -> 'MethaneNumberCalculator': ... + def getNumberOfLayers(self) -> int: ... + def getOperationalEvents(self) -> java.util.List['LNGAgeingScenario.OperationalEvent']: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOverallHeatTransferCoeff(self) -> float: ... + def getResults(self) -> java.util.List[LNGAgeingResult]: ... + def getResultsSummary(self) -> java.lang.String: ... + def getRolloverDetector(self) -> 'LNGRolloverDetector': ... + def getSimulationTime(self) -> float: ... + def getTankGeometry(self) -> 'TankGeometry': ... + def getTankModel(self) -> 'LNGTankLayeredModel': ... + def getTankPressure(self) -> float: ... + def getTankSurfaceArea(self) -> float: ... + def getTankVolume(self) -> float: ... + def getTimeStepHours(self) -> float: ... + def getVaporSpaceModel(self) -> 'LNGVaporSpaceModel': ... + def getVoyageProfile(self) -> 'LNGVoyageProfile': ... + def isUseGERG2008(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setInitialFillingRatio(self, double: float) -> None: ... + def setMethaneNumberCalculator(self, methaneNumberCalculator: 'MethaneNumberCalculator') -> None: ... + def setNumberOfLayers(self, int: int) -> None: ... + def setOverallHeatTransferCoeff(self, double: float) -> None: ... + def setSimulationTime(self, double: float) -> None: ... + def setTankGeometry(self, tankGeometry: 'TankGeometry') -> None: ... + def setTankPressure(self, double: float) -> None: ... + def setTankSurfaceArea(self, double: float) -> None: ... + def setTankVolume(self, double: float) -> None: ... + def setTimeStepHours(self, double: float) -> None: ... + def setUseGERG2008(self, boolean: bool) -> None: ... + def setVoyageProfile(self, lNGVoyageProfile: 'LNGVoyageProfile') -> None: ... + class OperationalEvent(java.io.Serializable): + def __init__(self, eventType: 'LNGAgeingScenario.OperationalEvent.EventType', double: float, double2: float): ... + def getDescription(self) -> java.lang.String: ... + def getDurationHours(self) -> float: ... + def getEventType(self) -> 'LNGAgeingScenario.OperationalEvent.EventType': ... + def getRateM3PerHour(self) -> float: ... + def getStartTimeHours(self) -> float: ... + def isActiveAt(self, double: float) -> bool: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRateM3PerHour(self, double: float) -> None: ... + class EventType(java.lang.Enum['LNGAgeingScenario.OperationalEvent.EventType']): + LOADING: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + UNLOADING: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + COOLDOWN: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + LADEN_VOYAGE: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + BALLAST_VOYAGE: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + PORT_WAIT: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + CUSTOM: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... + _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]) -> 'LNGAgeingScenario.OperationalEvent.EventType': ... + @staticmethod + def values() -> typing.MutableSequence['LNGAgeingScenario.OperationalEvent.EventType']: ... + +class LNGBOGHandlingNetwork(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, handlingMode: 'LNGBOGHandlingNetwork.HandlingMode'): ... + def calculateDisposition(self, double: float) -> 'LNGBOGHandlingNetwork.BOGDisposition': ... + def calculateFuelDemand(self) -> float: ... + def getBaseFuelConsumption(self) -> float: ... + def getDesignSpeed(self) -> float: ... + def getFuelGasConsumptionRate(self) -> float: ... + def getGcuCapacity(self) -> float: ... + def getHandlingMode(self) -> 'LNGBOGHandlingNetwork.HandlingMode': ... + def getReliquefactionCapacity(self) -> float: ... + def getReliquefactionEfficiency(self) -> float: ... + def getReliquefactionSpecificPower(self) -> float: ... + def getVesselSpeed(self) -> float: ... + def isLoadedVoyage(self) -> bool: ... + def setBaseFuelConsumption(self, double: float) -> None: ... + def setDesignSpeed(self, double: float) -> None: ... + def setFuelGasConsumptionRate(self, double: float) -> None: ... + def setGcuCapacity(self, double: float) -> None: ... + def setHandlingMode(self, handlingMode: 'LNGBOGHandlingNetwork.HandlingMode') -> None: ... + def setLoadedVoyage(self, boolean: bool) -> None: ... + def setReliquefactionCapacity(self, double: float) -> None: ... + def setReliquefactionEfficiency(self, double: float) -> None: ... + def setReliquefactionSpecificPower(self, double: float) -> None: ... + def setVesselSpeed(self, double: float) -> None: ... + class BOGDisposition(java.io.Serializable): + bogGenerated: float = ... + bogToFuel: float = ... + bogReliquefied: float = ... + bogToGCU: float = ... + bogVented: float = ... + netCargoLoss: float = ... + reliquefactionPowerKW: float = ... + def __init__(self): ... + def getNetBOGRate(self) -> float: ... + def getReliquefactionFraction(self) -> float: ... + def isVenting(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class HandlingMode(java.lang.Enum['LNGBOGHandlingNetwork.HandlingMode']): + FUEL_ONLY: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... + RELIQUEFACTION: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... + FUEL_PLUS_RELIQUEFACTION: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... + GCU: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... + MEGI: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... + _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]) -> 'LNGBOGHandlingNetwork.HandlingMode': ... + @staticmethod + def values() -> typing.MutableSequence['LNGBOGHandlingNetwork.HandlingMode']: ... + +class LNGHeelManager(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def calculateMixedComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, double2: float) -> java.util.Map[java.lang.String, float]: ... + def createStratifiedInitialCondition(self, lNGTankLayeredModel: 'LNGTankLayeredModel', systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def getHeelComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getHeelDensity(self) -> float: ... + def getHeelFraction(self) -> float: ... + def getHeelTemperature(self) -> float: ... + def getHeelVolume(self) -> float: ... + def getMaxWarmTankTemperature(self) -> float: ... + def getSprayCoolingRate(self) -> float: ... + def getTankVolume(self) -> float: ... + def getTankWallTemperature(self) -> float: ... + def isSprayCoolingActive(self) -> bool: ... + def setHeelDensity(self, double: float) -> None: ... + def setHeelFraction(self, double: float) -> None: ... + def setHeelState(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, double2: float) -> None: ... + def setHeelTemperature(self, double: float) -> None: ... + def setMaxWarmTankTemperature(self, double: float) -> None: ... + def setSprayCoolingActive(self, boolean: bool) -> None: ... + def setSprayCoolingRate(self, double: float) -> None: ... + def setTankVolume(self, double: float) -> None: ... + def setTankWallTemperature(self, double: float) -> None: ... + def simulateSprayCooling(self, double: float, double2: float, double3: float, double4: float) -> float: ... + +class LNGRolloverDetector(java.io.Serializable): + def __init__(self): ... + def assess(self, list: java.util.List['LNGTankLayer']) -> 'LNGRolloverDetector.RolloverAssessment': ... + def calculateRayleighNumber(self, double: float, double2: float) -> float: ... + def clearHistory(self) -> None: ... + def getCriticalRayleighNumber(self) -> float: ... + def getDensityAlarmThreshold(self) -> float: ... + def getDensityDiffHistory(self) -> java.util.List[float]: ... + def getDensityWarningThreshold(self) -> float: ... + def getTemperatureThreshold(self) -> float: ... + def setCriticalRayleighNumber(self, double: float) -> None: ... + def setDensityAlarmThreshold(self, double: float) -> None: ... + def setDensityWarningThreshold(self, double: float) -> None: ... + def setLNGProperties(self, double: float, double2: float, double3: float) -> None: ... + def setTemperatureThreshold(self, double: float) -> None: ... + class RolloverAssessment(java.io.Serializable): + def __init__(self, rolloverRiskLevel: 'LNGRolloverDetector.RolloverRiskLevel', string: typing.Union[java.lang.String, str]): ... + def getEstimatedTimeToRolloverHours(self) -> float: ... + def getMaxDensityDifference(self) -> float: ... + def getMaxTemperatureDifference(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getRayleighNumber(self) -> float: ... + def getRiskLayerLower(self) -> int: ... + def getRiskLayerUpper(self) -> int: ... + def getRiskLevel(self) -> 'LNGRolloverDetector.RolloverRiskLevel': ... + def isDensityInversion(self) -> bool: ... + def setDensityInversion(self, boolean: bool) -> None: ... + def setEstimatedTimeToRolloverHours(self, double: float) -> None: ... + def setMaxDensityDifference(self, double: float) -> None: ... + def setMaxTemperatureDifference(self, double: float) -> None: ... + def setRayleighNumber(self, double: float) -> None: ... + def setRiskLayerLower(self, int: int) -> None: ... + def setRiskLayerUpper(self, int: int) -> None: ... + class RolloverRiskLevel(java.lang.Enum['LNGRolloverDetector.RolloverRiskLevel']): + NONE: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... + LOW: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... + MEDIUM: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... + HIGH: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... + CRITICAL: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... + _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]) -> 'LNGRolloverDetector.RolloverRiskLevel': ... + @staticmethod + def values() -> typing.MutableSequence['LNGRolloverDetector.RolloverRiskLevel']: ... + +class LNGShipModel(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addTank(self, lNGAgeingScenario: LNGAgeingScenario) -> None: ... + def getBogNetwork(self) -> LNGBOGHandlingNetwork: ... + def getShipName(self) -> java.lang.String: ... + def getShipResults(self) -> java.util.List['LNGShipModel.ShipResult']: ... + def getShipSummary(self) -> java.lang.String: ... + def getSimulationTime(self) -> float: ... + def getTankResults(self) -> java.util.Map[java.lang.String, java.util.List[LNGAgeingResult]]: ... + def getTankScenarios(self) -> java.util.List[LNGAgeingScenario]: ... + def getTimeStepHours(self) -> float: ... + def getTotalCargoLossPct(self) -> float: ... + def getVoyageProfile(self) -> 'LNGVoyageProfile': ... + def run(self) -> None: ... + def setBogNetwork(self, lNGBOGHandlingNetwork: LNGBOGHandlingNetwork) -> None: ... + def setShipName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSimulationTime(self, double: float) -> None: ... + def setTimeStepHours(self, double: float) -> None: ... + def setVoyageProfile(self, lNGVoyageProfile: 'LNGVoyageProfile') -> None: ... + class ShipResult(java.io.Serializable): + timeHours: float = ... + numberOfTanks: int = ... + totalBOGRate: float = ... + totalLiquidMass: float = ... + totalLiquidVolume: float = ... + totalHeatIngressKW: float = ... + averageWobbeIndex: float = ... + averageGCV: float = ... + averageMN: float = ... + averageDensity: float = ... + averageTemperature: float = ... + bogToFuel: float = ... + bogReliquefied: float = ... + bogToGCU: float = ... + bogVented: float = ... + netCargoLoss: float = ... + def __init__(self): ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class LNGSloshingModel(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, containmentType: 'TankGeometry.ContainmentType'): ... + def calculateBOGEnhancement(self, double: float, double2: float) -> float: ... + def calculateMixingFactor(self, double: float, double2: float) -> float: ... + def getContainmentType(self) -> 'TankGeometry.ContainmentType': ... + def getMaxBOGEnhancement(self) -> float: ... + def getMaxMixingFactor(self) -> float: ... + def getReferenceWaveHeight(self) -> float: ... + def getSloshingCoefficient(self) -> float: ... + def setContainmentType(self, containmentType: 'TankGeometry.ContainmentType') -> None: ... + def setMaxBOGEnhancement(self, double: float) -> None: ... + def setMaxMixingFactor(self, double: float) -> None: ... + def setReferenceWaveHeight(self, double: float) -> None: ... + def setSloshingCoefficient(self, double: float) -> None: ... + +class LNGTankLayer(java.io.Serializable): + @typing.overload + def __init__(self, int: int): ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float): ... + def addHeat(self, double: float, double2: float) -> None: ... + def getComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getDensity(self) -> float: ... + def getDensityDifference(self, lNGTankLayer: 'LNGTankLayer') -> float: ... + def getLayerIndex(self) -> int: ... + def getMass(self) -> float: ... + def getMolarMass(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalMoles(self) -> float: ... + def getVolume(self) -> float: ... + def initFromThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def isDenserThan(self, lNGTankLayer: 'LNGTankLayer') -> bool: ... + def removeVapor(self, double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setDensity(self, double: float) -> None: ... + def setLayerIndex(self, int: int) -> None: ... + def setMolarMass(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTotalMoles(self, double: float) -> None: ... + def setVolume(self, double: float) -> None: ... + +class LNGTankLayeredModel(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addLayerOnTop(self, lNGTankLayer: LNGTankLayer) -> None: ... + def getBulkDensity(self) -> float: ... + def getBulkLiquidComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getBulkTemperature(self) -> float: ... + def getCurrentFillFraction(self) -> float: ... + def getCurrentVaporComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getEffectiveDiffusionCoeff(self) -> float: ... + def getHeatTransferModel(self) -> 'TankHeatTransferModel': ... + def getLayerMergeDensityThreshold(self) -> float: ... + def getLayers(self) -> java.util.List[LNGTankLayer]: ... + def getMethaneNumberCalculator(self) -> 'MethaneNumberCalculator': ... + def getOverallHeatTransferCoeff(self) -> float: ... + def getReferenceSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getSloshingMixingFactor(self) -> float: ... + def getSloshingModel(self) -> LNGSloshingModel: ... + def getTankGeometry(self) -> 'TankGeometry': ... + def getTankPressure(self) -> float: ... + def getTankSurfaceArea(self) -> float: ... + def getTotalLiquidMoles(self) -> float: ... + def getTotalTankVolume(self) -> float: ... + def initialise(self, double: float) -> None: ... + def isUseGERG2008(self) -> bool: ... + def setEffectiveDiffusionCoeff(self, double: float) -> None: ... + def setHeatTransferModel(self, tankHeatTransferModel: 'TankHeatTransferModel') -> None: ... + def setLayerMergeDensityThreshold(self, double: float) -> None: ... + def setMethaneNumberCalculator(self, methaneNumberCalculator: 'MethaneNumberCalculator') -> None: ... + def setOverallHeatTransferCoeff(self, double: float) -> None: ... + def setSloshingMixingFactor(self, double: float) -> None: ... + def setSloshingModel(self, lNGSloshingModel: LNGSloshingModel) -> None: ... + def setTankGeometry(self, tankGeometry: 'TankGeometry') -> None: ... + def setTankPressure(self, double: float) -> None: ... + def setTankSurfaceArea(self, double: float) -> None: ... + def setTotalTankVolume(self, double: float) -> None: ... + def setUseGERG2008(self, boolean: bool) -> None: ... + def step(self, double: float, double2: float) -> LNGAgeingResult: ... + +class LNGVaporSpaceModel(java.io.Serializable): + def __init__(self, double: float): ... + def getCurrentLiquidVolume(self) -> float: ... + def getExcessBOGMoles(self) -> float: ... + def getFillLevel(self) -> float: ... + def getMaxPressure(self) -> float: ... + def getMinPressure(self) -> float: ... + def getReferenceSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTankPressure(self) -> float: ... + def getTotalTankVolume(self) -> float: ... + def getUllageVolume(self) -> float: ... + def getUnhandledBOGMoles(self) -> float: ... + def getVaporComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getVaporMoles(self) -> float: ... + def getVaporTemperature(self) -> float: ... + def isEquilibriumMode(self) -> bool: ... + def isPressureAboveRelief(self) -> bool: ... + def isUnderPressured(self) -> bool: ... + def isUseFlashModel(self) -> bool: ... + def setCurrentLiquidVolume(self, double: float) -> None: ... + def setEquilibriumMode(self, boolean: bool) -> None: ... + def setMaxPressure(self, double: float) -> None: ... + def setMinPressure(self, double: float) -> None: ... + def setReferenceSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTankPressure(self, double: float) -> None: ... + def setTotalTankVolume(self, double: float) -> None: ... + def setUseFlashModel(self, boolean: bool) -> None: ... + def setVaporMoles(self, double: float) -> None: ... + def setVaporTemperature(self, double: float) -> None: ... + def update(self, double: float, double2: float, double3: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double4: float) -> None: ... + def updateWithFlash(self, double: float, double2: float, double3: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double4: float) -> None: ... + +class LNGVoyageProfile(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addSegment(self, segment: 'LNGVoyageProfile.Segment') -> None: ... + @staticmethod + def createUniform(string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LNGVoyageProfile': ... + def getAmbientTemperatureAt(self, double: float) -> float: ... + def getConditionsAt(self, double: float) -> 'LNGVoyageProfile.EnvironmentConditions': ... + def getDefaultAmbientTemperature(self) -> float: ... + def getSegments(self) -> java.util.List['LNGVoyageProfile.Segment']: ... + def getTotalDurationHours(self) -> float: ... + def getVoyageName(self) -> java.lang.String: ... + def getWaveHeightAt(self, double: float) -> float: ... + def setDefaultAmbientTemperature(self, double: float) -> None: ... + def setTotalDurationHours(self, double: float) -> None: ... + def setVoyageName(self, string: typing.Union[java.lang.String, str]) -> None: ... + class EnvironmentConditions(java.io.Serializable): + ambientTemperature: float = ... + significantWaveHeight: float = ... + windSpeed: float = ... + solarRadiation: float = ... + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + class Segment(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getAmbientTemperature(self) -> float: ... + def getDurationHours(self) -> float: ... + def getEndTimeHours(self) -> float: ... + def getSignificantWaveHeight(self) -> float: ... + def getSolarRadiation(self) -> float: ... + def getStartTimeHours(self) -> float: ... + def getWindSpeed(self) -> float: ... + +class MethaneNumberCalculator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, method: 'MethaneNumberCalculator.Method'): ... + def calculate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + def calculateAll(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> java.util.Map[java.lang.String, float]: ... + def getMethod(self) -> 'MethaneNumberCalculator.Method': ... + def meetsSpecification(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float) -> bool: ... + def setMethod(self, method: 'MethaneNumberCalculator.Method') -> None: ... + class Method(java.lang.Enum['MethaneNumberCalculator.Method']): + EN16726: typing.ClassVar['MethaneNumberCalculator.Method'] = ... + MWM: typing.ClassVar['MethaneNumberCalculator.Method'] = ... + SIMPLIFIED: typing.ClassVar['MethaneNumberCalculator.Method'] = ... + _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]) -> 'MethaneNumberCalculator.Method': ... + @staticmethod + def values() -> typing.MutableSequence['MethaneNumberCalculator.Method']: ... + +class TankGeometry(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, containmentType: 'TankGeometry.ContainmentType', double: float): ... + @staticmethod + def createMossSingle() -> 'TankGeometry': ... + @staticmethod + def createQMax() -> 'TankGeometry': ... + @staticmethod + def createTypeC() -> 'TankGeometry': ... + def getBottomArea(self) -> float: ... + def getContainmentType(self) -> 'TankGeometry.ContainmentType': ... + def getHeight(self) -> float: ... + def getInnerDiameter(self) -> float: ... + def getInsulationConductivity(self) -> float: ... + def getInsulationThickness(self) -> float: ... + def getInsulationUValue(self) -> float: ... + def getLength(self) -> float: ... + def getLiquidHeight(self, double: float) -> float: ... + def getLiquidSurfaceArea(self, double: float) -> float: ... + def getRoofArea(self) -> float: ... + def getSidewallArea(self) -> float: ... + def getTotalSurfaceArea(self) -> float: ... + def getTotalVolume(self) -> float: ... + def getWettedWallArea(self, double: float) -> float: ... + def getWidth(self) -> float: ... + def setContainmentType(self, containmentType: 'TankGeometry.ContainmentType') -> None: ... + def setHeight(self, double: float) -> None: ... + def setInnerDiameter(self, double: float) -> None: ... + def setInsulationConductivity(self, double: float) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setTotalVolume(self, double: float) -> None: ... + def setWidth(self, double: float) -> None: ... + class ContainmentType(java.lang.Enum['TankGeometry.ContainmentType']): + MEMBRANE: typing.ClassVar['TankGeometry.ContainmentType'] = ... + MOSS: typing.ClassVar['TankGeometry.ContainmentType'] = ... + TYPE_C: typing.ClassVar['TankGeometry.ContainmentType'] = ... + SPB: typing.ClassVar['TankGeometry.ContainmentType'] = ... + _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]) -> 'TankGeometry.ContainmentType': ... + @staticmethod + def values() -> typing.MutableSequence['TankGeometry.ContainmentType']: ... + +class TankHeatTransferModel(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, tankGeometry: TankGeometry, double: float): ... + def addZone(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def calculateLayerHeatDistribution(self, double: float, int: int) -> typing.MutableSequence[float]: ... + def calculateTotalHeatIngress(self, double: float) -> float: ... + def calculateZoneHeatIngress(self, double: float) -> java.util.Map[java.lang.String, float]: ... + def getSolarAbsorptivity(self) -> float: ... + def getTankGeometry(self) -> TankGeometry: ... + def getWindConvectionFactor(self) -> float: ... + def getZones(self) -> java.util.List['TankHeatTransferModel.HeatTransferZone']: ... + def setSolarAbsorptivity(self, double: float) -> None: ... + def setWindConvectionFactor(self, double: float) -> None: ... + def updateBoundaryConditions(self, double: float, double2: float, double3: float) -> None: ... + class HeatTransferZone(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getArea(self) -> float: ... + def getBoundaryTemperature(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getUValue(self) -> float: ... + def setArea(self, double: float) -> None: ... + def setBoundaryTemperature(self, double: float) -> None: ... + def setUValue(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.lng")``. + + LNGAgeingResult: typing.Type[LNGAgeingResult] + LNGAgeingScenario: typing.Type[LNGAgeingScenario] + LNGBOGHandlingNetwork: typing.Type[LNGBOGHandlingNetwork] + LNGHeelManager: typing.Type[LNGHeelManager] + LNGRolloverDetector: typing.Type[LNGRolloverDetector] + LNGShipModel: typing.Type[LNGShipModel] + LNGSloshingModel: typing.Type[LNGSloshingModel] + LNGTankLayer: typing.Type[LNGTankLayer] + LNGTankLayeredModel: typing.Type[LNGTankLayeredModel] + LNGVaporSpaceModel: typing.Type[LNGVaporSpaceModel] + LNGVoyageProfile: typing.Type[LNGVoyageProfile] + MethaneNumberCalculator: typing.Type[MethaneNumberCalculator] + TankGeometry: typing.Type[TankGeometry] + TankHeatTransferModel: typing.Type[TankHeatTransferModel] diff --git a/src/jneqsim/process/equipment/manifold/__init__.pyi b/src/jneqsim/process/equipment/manifold/__init__.pyi new file mode 100644 index 00000000..e321c420 --- /dev/null +++ b/src/jneqsim/process/equipment/manifold/__init__.pyi @@ -0,0 +1,115 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.design +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.manifold +import jneqsim.process.util.report +import typing + + + +class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def calculateBranchFRMS(self) -> float: ... + @typing.overload + def calculateBranchFRMS(self, double: float) -> float: ... + def calculateBranchLOF(self) -> float: ... + @typing.overload + def calculateHeaderFRMS(self) -> float: ... + @typing.overload + def calculateHeaderFRMS(self, double: float) -> float: ... + def calculateHeaderLOF(self) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getBranchInnerDiameter(self) -> float: ... + def getBranchOuterDiameter(self) -> float: ... + def getBranchVelocity(self) -> float: ... + def getBranchWallThickness(self) -> float: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + @typing.overload + def getErosionalVelocity(self) -> float: ... + @typing.overload + def getErosionalVelocity(self, double: float) -> float: ... + def getFIVAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getFIVAnalysisJson(self) -> java.lang.String: ... + def getHeaderInnerDiameter(self) -> float: ... + def getHeaderOuterDiameter(self) -> float: ... + def getHeaderVelocity(self) -> float: ... + def getHeaderWallThickness(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.manifold.ManifoldMechanicalDesign: ... + def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getNumberOfOutputStreams(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSplitFactors(self) -> typing.MutableSequence[float]: ... + def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSupportArrangement(self) -> java.lang.String: ... + def initMechanicalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setBranchInnerDiameter(self, double: float) -> None: ... + @typing.overload + def setBranchInnerDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setBranchWallThickness(self, double: float) -> None: ... + @typing.overload + def setBranchWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setHeaderInnerDiameter(self, double: float) -> None: ... + @typing.overload + def setHeaderInnerDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setHeaderWallThickness(self, double: float) -> None: ... + @typing.overload + def setHeaderWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxBranchVelocityDesign(self, double: float) -> None: ... + def setMaxFRMSDesign(self, double: float) -> None: ... + def setMaxHeaderVelocityDesign(self, double: float) -> None: ... + def setMaxLOFDesign(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.manifold")``. + + Manifold: typing.Type[Manifold] diff --git a/src/jneqsim/process/equipment/membrane/__init__.pyi b/src/jneqsim/process/equipment/membrane/__init__.pyi new file mode 100644 index 00000000..bc7de6f1 --- /dev/null +++ b/src/jneqsim/process/equipment/membrane/__init__.pyi @@ -0,0 +1,51 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import typing + + + +class MembraneSeparator(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 clearPermeateFractions(self) -> None: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMembraneArea(self) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPermeateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRetentateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def needRecalculation(self) -> bool: ... + @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 setDefaultPermeateFraction(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMembraneArea(self, double: float) -> None: ... + def setPermeability(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setPermeateFraction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.membrane")``. + + MembraneSeparator: typing.Type[MembraneSeparator] diff --git a/src/jneqsim/process/equipment/mixer/__init__.pyi b/src/jneqsim/process/equipment/mixer/__init__.pyi new file mode 100644 index 00000000..8794032a --- /dev/null +++ b/src/jneqsim/process/equipment/mixer/__init__.pyi @@ -0,0 +1,134 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class MixerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def hashCode(self) -> int: ... + def removeInputStream(self, int: int) -> None: ... + def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcMixStreamEnthalpy(self) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getDesignPressureDrop(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxDesignVelocity(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMixedSalinity(self) -> float: ... + def getNumberOfInputStreams(self) -> int: ... + def getOutTemperature(self) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def guessTemperature(self) -> float: ... + def hashCode(self) -> int: ... + def initMechanicalDesign(self) -> None: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isDoMultiPhaseCheck(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + @typing.overload + def isSetOutTemperature(self) -> bool: ... + @typing.overload + def isSetOutTemperature(self, boolean: bool) -> None: ... + def mixStream(self) -> None: ... + def needRecalculation(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeInputStream(self, int: int) -> None: ... + def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setDesignPressureDrop(self, double: float) -> None: ... + def setMaxDesignVelocity(self, double: float) -> None: ... + def setMultiPhaseCheck(self, boolean: bool) -> None: ... + def setOutTemperature(self, double: float) -> None: ... + def setOutletTemperature(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class StaticMixer(Mixer): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcMixStreamEnthalpy(self) -> float: ... + def guessTemperature(self) -> float: ... + def mixStream(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class StaticNeqMixer(StaticMixer): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def mixStream(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class StaticPhaseMixer(StaticMixer): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def mixStream(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.mixer")``. + + Mixer: typing.Type[Mixer] + MixerInterface: typing.Type[MixerInterface] + StaticMixer: typing.Type[StaticMixer] + StaticNeqMixer: typing.Type[StaticNeqMixer] + StaticPhaseMixer: typing.Type[StaticPhaseMixer] diff --git a/src/jneqsim/process/equipment/network/__init__.pyi b/src/jneqsim/process/equipment/network/__init__.pyi new file mode 100644 index 00000000..77a8ea35 --- /dev/null +++ b/src/jneqsim/process/equipment/network/__init__.pyi @@ -0,0 +1,678 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flowsolver +import jneqsim.process.equipment +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.mixer +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.reservoir +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.valve +import jneqsim.process.processmodel +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class LoopDetector(java.io.Serializable): + def __init__(self): ... + def addEdge(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def clear(self) -> None: ... + def findLoops(self) -> java.util.List['NetworkLoop']: ... + def getEdgeCount(self) -> int: ... + def getLoopCount(self) -> int: ... + def getLoops(self) -> java.util.List['NetworkLoop']: ... + def getNodeCount(self) -> int: ... + def hasLoops(self) -> bool: ... + +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 NetworkOptimizer: + def __init__(self, loopedPipeNetwork: 'LoopedPipeNetwork'): ... + def getAlgorithm(self) -> 'NetworkOptimizer.Algorithm': ... + def getConstraintPenalty(self) -> float: ... + def getLastResult(self) -> 'NetworkOptimizer.OptimizationResult': ... + def getMaxEvaluations(self) -> int: ... + def getObjectiveType(self) -> 'NetworkOptimizer.ObjectiveType': ... + def getParetoPoints(self) -> int: ... + 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 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 = ... + wellResults: java.util.Map = ... + def __init__(self): ... + def getSummary(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 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 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 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 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 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 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 getAttachedReservoir(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + def getCO2EmissionFactor(self) -> float: ... + def getConstraintViolations(self) -> java.util.List[java.lang.String]: ... + def getCorrosionViolations(self) -> java.util.List[java.lang.String]: ... + 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 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 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 getRelaxationFactor(self) -> float: ... + def getSandViolations(self) -> java.util.List[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 isConverged(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 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 setCouplingToleranceBar(self, double: 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 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 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 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'] = ... + 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 getAmbientTemperature(self) -> float: ... + def getArtificialLiftType(self) -> 'LoopedPipeNetwork.ArtificialLiftType': ... + def getBBModel(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... + def getChokeCriticalPressureRatio(self) -> float: ... + def getChokeKv(self) -> float: ... + 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 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 getIprType(self) -> 'LoopedPipeNetwork.IPRType': ... + def getLength(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getMultiphaseSegments(self) -> int: ... + def getName(self) -> java.lang.String: ... + 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 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 getVelocity(self) -> float: ... + def getVogelQmax(self) -> float: ... + def getWallThickness(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterFlowRate(self) -> float: ... + def getWaterInjectionRate(self) -> float: ... + def isChokeUseValveModel(self) -> bool: ... + def isCompressorHasChart(self) -> bool: ... + def isGasIPR(self) -> bool: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setArtificialLiftType(self, artificialLiftType: 'LoopedPipeNetwork.ArtificialLiftType') -> 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 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 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 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 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'] = ... + _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 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 __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.network")``. + + LoopDetector: typing.Type[LoopDetector] + LoopedPipeNetwork: typing.Type[LoopedPipeNetwork] + NetworkLinearSolver: typing.Type[NetworkLinearSolver] + NetworkLoop: typing.Type[NetworkLoop] + NetworkOptimizer: typing.Type[NetworkOptimizer] + NetworkValidationBenchmarks: typing.Type[NetworkValidationBenchmarks] + PipeFlowNetwork: typing.Type[PipeFlowNetwork] + WellFlowlineNetwork: typing.Type[WellFlowlineNetwork] diff --git a/src/jneqsim/process/equipment/pipeline/__init__.pyi b/src/jneqsim/process/equipment/pipeline/__init__.pyi new file mode 100644 index 00000000..95a7134d --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/__init__.pyi @@ -0,0 +1,1902 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flowsolver +import jneqsim.fluidmechanics.flowsystem +import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem +import jneqsim.process +import jneqsim.process.design +import jneqsim.process.electricaldesign.pipeline +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.pipeline.routing +import jneqsim.process.equipment.pipeline.twophasepipe +import jneqsim.process.equipment.pipeline.twophasepipe.numerics +import jneqsim.process.equipment.stream +import jneqsim.process.instrumentdesign.pipeline +import jneqsim.process.mechanicaldesign.pipeline +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class CO2FlowCorrections: + @staticmethod + def estimateCO2SurfaceTension(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def getCO2MoleFraction(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def getFrictionCorrectionFactor(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def getLiquidHoldupCorrectionFactor(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def getReducedPressure(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def getReducedTemperature(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def isCO2DominatedFluid(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + @staticmethod + def isDensePhase(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + +class CO2InjectionWellAnalyzer: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addTrackedComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getName(self) -> java.lang.String: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def isAnalysisComplete(self) -> bool: ... + def isSafeToOperate(self) -> bool: ... + def runFullAnalysis(self) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFormationTemperature(self, double: float, double2: float) -> None: ... + def setOperatingConditions(self, double: float, double2: float, double3: float) -> None: ... + def setWellGeometry(self, double: float, double2: float, double3: float) -> None: ... + +class Fittings(java.io.Serializable): + def __init__(self): ... + @typing.overload + def add(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def add(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addMultiple(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addStandard(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def addStandardMultiple(self, string: typing.Union[java.lang.String, str], int: int) -> bool: ... + def clear(self) -> None: ... + def getFittingsList(self) -> java.util.ArrayList['Fittings.Fitting']: ... + @staticmethod + def getStandardFittingTypes() -> java.util.Map[java.lang.String, float]: ... + def getSummary(self) -> java.lang.String: ... + def getTotalEquivalentLength(self, double: float) -> float: ... + def getTotalLdRatio(self) -> float: ... + def isEmpty(self) -> bool: ... + def size(self) -> int: ... + class Fitting(java.io.Serializable): + @typing.overload + def __init__(self, fittings: 'Fittings', string: typing.Union[java.lang.String, str]): ... + @typing.overload + 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: ... + def getKFactor(self) -> float: ... + def getLtoD(self) -> float: ... + def setFittingName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setKFactor(self, double: float) -> None: ... + def setLtoD(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class GravityDumpFloodInjectionAnalyzer(java.io.Serializable): + G: typing.ClassVar[float] = ... + DEFAULT_CAVITATION_THRESHOLD: typing.ClassVar[float] = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def analyze(self) -> 'GravityDumpFloodInjectionAnalyzer': ... + def computePropertiesFromFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def getCavitationIndex(self) -> float: ... + def getDownholeBackPressureRequiredBar(self) -> float: ... + def getFrictionPressureDropBar(self) -> float: ... + def getFrictionTailpipeIdMm(self) -> float: ... + def getGravityOverpressureBar(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRecommendations(self) -> java.util.List[java.lang.String]: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getStaticSandfacePressureBara(self) -> float: ... + def getSubSeabedColumnHeadBar(self) -> float: ... + def getVapourCavityDepthBelowSeabedM(self) -> float: ... + def getWellheadPressureRequiredBara(self) -> float: ... + def isAnalysisComplete(self) -> bool: ... + def isFreeFalling(self) -> bool: ... + def setCavitationThreshold(self, double: float) -> None: ... + def setInjectionRate(self, double: float) -> None: ... + def setReservoirDepthTvd(self, double: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setRoughness(self, double: float) -> None: ... + def setSeabedTemperature(self, double: float) -> None: ... + def setSeawaterProperties(self, double: float, double2: float, double3: float) -> None: ... + def setTubingId(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def setWellheadSupplyPressure(self, double: float) -> None: ... + +class MultilayerThermalCalculator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def addCustomLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'RadialThermalLayer': ... + def addLayer(self, double: float, materialType: 'RadialThermalLayer.MaterialType') -> 'RadialThermalLayer': ... + def calculateCooldownTime(self, double: float) -> float: ... + def calculateHeatLossPerLength(self) -> float: ... + def calculateHydrateCooldownTime(self, double: float) -> float: ... + def calculateInnerHTCDittusBoelter(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> float: ... + def calculateInterfaceTemperature(self, int: int, boolean: bool) -> float: ... + def calculateOverallUValue(self) -> float: ... + def calculateTotalThermalResistance(self) -> float: ... + def clearLayers(self) -> None: ... + def createBareSubseaPipe(self, double: float, double2: float) -> None: ... + def createBuriedOnshorePipe(self, double: float, double2: float, double3: float, materialType: 'RadialThermalLayer.MaterialType') -> None: ... + def createInsulatedSubseaPipe(self, double: float, double2: float, double3: float) -> None: ... + def createSubseaPipeConfig(self, double: float, double2: float, double3: float, double4: float, materialType: 'RadialThermalLayer.MaterialType') -> None: ... + def getAmbientTemperature(self) -> float: ... + def getFluidTemperature(self) -> float: ... + def getInnerHTC(self) -> float: ... + def getInnerRadius(self) -> float: ... + def getLayers(self) -> java.util.List['RadialThermalLayer']: ... + def getNumberOfLayers(self) -> int: ... + def getOuterHTC(self) -> float: ... + def getOuterRadius(self) -> float: ... + def getSummary(self) -> java.lang.String: ... + def getTotalMassPerLength(self) -> float: ... + def getTotalThermalMass(self) -> float: ... + def initializeLayerTemperatures(self, double: float) -> None: ... + def initializeLayerTemperaturesLinear(self) -> None: ... + def isEnableThermalMass(self) -> bool: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setEnableThermalMass(self, boolean: bool) -> None: ... + def setFluidTemperature(self, double: float) -> None: ... + def setInnerHTC(self, double: float) -> None: ... + def setInnerRadius(self, double: float) -> None: ... + def setOuterHTC(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + def updateTransient(self, double: float) -> None: ... + +class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface): + def calculateHoopStress(self) -> float: ... + def calculateMAOP(self) -> float: ... + def calculateMinimumWallThickness(self) -> float: ... + def calculateOverallHeatTransferCoefficient(self) -> float: ... + def calculateTestPressure(self) -> float: ... + def calculateVonMisesStress(self, double: float) -> float: ... + def generateMechanicalDesignReport(self) -> java.lang.String: ... + def getAmbientTemperature(self) -> float: ... + def getAngle(self) -> float: ... + def getBurialDepth(self) -> float: ... + def getCoatingConductivity(self) -> float: ... + def getCoatingThickness(self) -> float: ... + def getCorrosionAllowance(self) -> float: ... + def getDesignCode(self) -> java.lang.String: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDiameter(self) -> float: ... + def getElevation(self) -> float: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFrictionFactor(self) -> float: ... + def getHeatTransferCoefficient(self) -> float: ... + def getInletElevation(self) -> float: ... + def getInnerHeatTransferCoefficient(self) -> float: ... + def getInsulationConductivity(self) -> float: ... + def getInsulationThickness(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getLength(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLocationClass(self) -> int: ... + def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMechanicalDesignCalculator(self) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... + def getNumberOfIncrements(self) -> int: ... + def getNumberOfLegs(self) -> int: ... + def getOuterHeatTransferCoefficient(self) -> float: ... + def getOutletElevation(self) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + def getPipeMaterial(self) -> java.lang.String: ... + def getPipeSchedule(self) -> java.lang.String: ... + def getPipeWallConductivity(self) -> float: ... + def getPipeWallRoughness(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getReynoldsNumber(self) -> float: ... + def getSoilConductivity(self) -> float: ... + def getSuperficialVelocity(self, int: int) -> float: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getVelocity(self) -> float: ... + def getWallThickness(self) -> float: ... + def isAdiabatic(self) -> bool: ... + def isBuried(self) -> bool: ... + def isMechanicalDesignSafe(self) -> bool: ... + def setAdiabatic(self, boolean: bool) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setAmbientTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAngle(self, double: float) -> None: ... + def setBurialDepth(self, double: float) -> None: ... + def setBuried(self, boolean: bool) -> None: ... + def setCoatingConductivity(self, double: float) -> None: ... + def setCoatingThickness(self, double: float) -> None: ... + def setConstantSurfaceTemperature(self, double: float) -> None: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setDesignCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDesignPressure(self, double: float) -> None: ... + @typing.overload + def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElevation(self, double: float) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletElevation(self, double: float) -> None: ... + def setInnerHeatTransferCoefficient(self, double: float) -> None: ... + def setInsulationConductivity(self, double: float) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLength(self, double: float) -> None: ... + def setLocationClass(self, int: int) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfIncrements(self, int: int) -> None: ... + def setNumberOfLegs(self, int: int) -> None: ... + def setNumberOfNodesInLeg(self, int: int) -> None: ... + @typing.overload + def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutPressure(self, double: float) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + def setOuterHeatTransferCoefficient(self, double: float) -> None: ... + def setOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletElevation(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeWallConductivity(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSoilConductivity(self, double: float) -> None: ... + def setWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWallThickness(self, double: float) -> None: ... + +class RadialThermalLayer(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, materialType: 'RadialThermalLayer.MaterialType'): ... + def copy(self) -> 'RadialThermalLayer': ... + def getCrossSectionalArea(self) -> float: ... + def getDensity(self) -> float: ... + def getInnerRadius(self) -> float: ... + def getMassPerLength(self) -> float: ... + def getMaterialType(self) -> 'RadialThermalLayer.MaterialType': ... + def getMeanRadius(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getOuterRadius(self) -> float: ... + def getPreviousTemperature(self) -> float: ... + def getSpecificHeat(self) -> float: ... + def getTemperature(self) -> float: ... + def getThermalConductivity(self) -> float: ... + def getThermalMassPerLength(self) -> float: ... + def getThermalResistance(self) -> float: ... + def getThickness(self) -> float: ... + def initializeTemperature(self, double: float) -> None: ... + def setDensity(self, double: float) -> None: ... + def setInnerRadius(self, double: float) -> None: ... + def setMaterialType(self, materialType: 'RadialThermalLayer.MaterialType') -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOuterRadius(self, double: float) -> None: ... + def setSpecificHeat(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setThermalConductivity(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class MaterialType(java.lang.Enum['RadialThermalLayer.MaterialType']): + CARBON_STEEL: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + STAINLESS_STEEL: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + CRA_LINER: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + FBE_COATING: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + THREE_LAYER_PE: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + POLYPROPYLENE: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + PU_FOAM: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + SYNTACTIC_FOAM: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + AEROGEL: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + MICROPOROUS: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + CONCRETE: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + SOIL_WET: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + SOIL_DRY: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + MARINE_GROWTH: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + AIR_GAP: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + VACUUM_GAP: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + GENERIC_INSULATION: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + CUSTOM: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + def getDensity(self) -> float: ... + def getSpecificHeat(self) -> float: ... + def getThermalConductivity(self) -> float: ... + _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]) -> 'RadialThermalLayer.MaterialType': ... + @staticmethod + def values() -> typing.MutableSequence['RadialThermalLayer.MaterialType']: ... + +class RhonePoulencVelocity(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, serviceType: 'RhonePoulencVelocity.ServiceType'): ... + def getDescription(self) -> java.lang.String: ... + def getEffectiveCFactor(self) -> float: ... + def getEffectiveExponent(self) -> float: ... + def getMaxVelocity(self, double: float) -> float: ... + @staticmethod + def getMaxVelocityCorrosive(double: float) -> float: ... + def getMaxVelocityInterpolated(self, double: float) -> float: ... + @staticmethod + def getMaxVelocityNonCorrosive(double: float) -> float: ... + def getServiceType(self) -> 'RhonePoulencVelocity.ServiceType': ... + def isUseInterpolation(self) -> bool: ... + def setCustomCFactor(self, double: float) -> None: ... + def setCustomExponent(self, double: float) -> None: ... + def setServiceType(self, serviceType: 'RhonePoulencVelocity.ServiceType') -> None: ... + def setUseInterpolation(self, boolean: bool) -> None: ... + class ServiceType(java.lang.Enum['RhonePoulencVelocity.ServiceType']): + NON_CORROSIVE_GAS: typing.ClassVar['RhonePoulencVelocity.ServiceType'] = ... + CORROSIVE_GAS: typing.ClassVar['RhonePoulencVelocity.ServiceType'] = ... + def getCFactor(self) -> float: ... + def getExponent(self) -> float: ... + def getMaxVelocityLimit(self) -> float: ... + def getMinVelocityLimit(self) -> float: ... + _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]) -> 'RhonePoulencVelocity.ServiceType': ... + @staticmethod + def values() -> typing.MutableSequence['RhonePoulencVelocity.ServiceType']: ... + +class RiserConfiguration: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, riserType: 'RiserConfiguration.RiserType'): ... + def calculateRiserLength(self) -> float: ... + def create(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'PipeBeggsAndBrills': ... + @staticmethod + def createLazyWave(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> 'PipeBeggsAndBrills': ... + @staticmethod + def createRiser(riserType: 'RiserConfiguration.RiserType', string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'PipeBeggsAndBrills': ... + @staticmethod + def createSCR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'PipeBeggsAndBrills': ... + @staticmethod + def createTTR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'PipeBeggsAndBrills': ... + def getAmbientTemperature(self) -> float: ... + def getBuoyancyModuleDepth(self) -> float: ... + def getBuoyancyModuleLength(self) -> float: ... + def getDepartureAngle(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getHeatTransferCoefficient(self) -> float: ... + def getInnerDiameter(self) -> float: ... + def getNumberOfSections(self) -> int: ... + def getRiserType(self) -> 'RiserConfiguration.RiserType': ... + def getTopAngle(self) -> float: ... + def getWaterDepth(self) -> float: ... + def setAmbientTemperature(self, double: float) -> 'RiserConfiguration': ... + def setBuoyancyModuleDepth(self, double: float) -> 'RiserConfiguration': ... + def setBuoyancyModuleLength(self, double: float) -> 'RiserConfiguration': ... + def setDepartureAngle(self, double: float) -> 'RiserConfiguration': ... + def setHeatTransferCoefficient(self, double: float) -> 'RiserConfiguration': ... + @typing.overload + def setInnerDiameter(self, double: float) -> 'RiserConfiguration': ... + @typing.overload + def setInnerDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RiserConfiguration': ... + def setNumberOfSections(self, int: int) -> 'RiserConfiguration': ... + def setRiserType(self, riserType: 'RiserConfiguration.RiserType') -> 'RiserConfiguration': ... + def setTopAngle(self, double: float) -> 'RiserConfiguration': ... + def setWaterDepth(self, double: float) -> 'RiserConfiguration': ... + class RiserType(java.lang.Enum['RiserConfiguration.RiserType']): + STEEL_CATENARY_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... + FLEXIBLE_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... + TOP_TENSIONED_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... + HYBRID_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... + LAZY_WAVE: typing.ClassVar['RiserConfiguration.RiserType'] = ... + STEEP_WAVE: typing.ClassVar['RiserConfiguration.RiserType'] = ... + FREE_STANDING: typing.ClassVar['RiserConfiguration.RiserType'] = ... + VERTICAL: typing.ClassVar['RiserConfiguration.RiserType'] = ... + _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]) -> 'RiserConfiguration.RiserType': ... + @staticmethod + def values() -> typing.MutableSequence['RiserConfiguration.RiserType']: ... + +class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addFitting(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addFittingFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addFittings(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addStandardFitting(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def addStandardFittings(self, string: typing.Union[java.lang.String, str], int: int) -> bool: ... + def calculateHoopStress(self) -> float: ... + def calculateMAOP(self) -> float: ... + def calculateMinimumWallThickness(self) -> float: ... + def calculateOverallHeatTransferCoefficient(self) -> float: ... + def calculateTestPressure(self) -> float: ... + def calculateVonMisesStress(self, double: float) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def clearFittings(self) -> None: ... + def displayResult(self) -> None: ... + def generateMechanicalDesignReport(self) -> java.lang.String: ... + def getAmbientTemperature(self) -> float: ... + def getAngle(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getBurialDepth(self) -> float: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getCoatingConductivity(self) -> float: ... + def getCoatingThickness(self) -> float: ... + def getCorrosionAllowance(self) -> float: ... + def getCorrosionRate(self) -> float: ... + def getDesignCode(self) -> java.lang.String: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDiameter(self) -> float: ... + def getEffectiveLength(self) -> float: ... + def getElevation(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquivalentLength(self) -> float: ... + def getFittings(self) -> Fittings: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFrictionFactor(self) -> float: ... + def getHeatTransferCoefficient(self) -> float: ... + def getInletElevation(self) -> float: ... + def getInnerHeatTransferCoefficient(self) -> float: ... + def getInsulationConductivity(self) -> float: ... + def getInsulationThickness(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getLength(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLocationClass(self) -> int: ... + def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getMechanicalDesignCalculator(self) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... + def getNumberOfFittings(self) -> int: ... + def getNumberOfIncrements(self) -> int: ... + def getNumberOfLegs(self) -> int: ... + def getOuterHeatTransferCoefficient(self) -> float: ... + def getOutletElevation(self) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + def getPipeMaterial(self) -> java.lang.String: ... + def getPipeSchedule(self) -> java.lang.String: ... + def getPipeWallConductivity(self) -> float: ... + def getPipeWallRoughness(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getRecommendedCorrosionAllowanceMm(self) -> float: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def getReynoldsNumber(self) -> float: ... + def getSoilConductivity(self) -> float: ... + @typing.overload + def getSuperficialVelocity(self, int: int) -> float: ... + @typing.overload + def getSuperficialVelocity(self, int: int, int2: int) -> float: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTimes(self) -> typing.MutableSequence[float]: ... + def getTotalFittingsLdRatio(self) -> float: ... + def getVelocity(self) -> float: ... + def getWallThickness(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isAdiabatic(self) -> bool: ... + def isBuried(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isMechanicalDesignSafe(self) -> bool: ... + def isUseFittings(self) -> bool: ... + def printFittingsSummary(self) -> None: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runCorrosionAnalysis(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setAdiabatic(self, boolean: bool) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setAmbientTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAngle(self, double: float) -> None: ... + def setBurialDepth(self, double: float) -> None: ... + def setBuried(self, boolean: bool) -> None: ... + def setCoatingConductivity(self, double: float) -> None: ... + def setCoatingThickness(self, double: float) -> None: ... + def setConstantSurfaceTemperature(self, double: float) -> None: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setDesignCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignLifeYears(self, double: float) -> None: ... + @typing.overload + def setDesignPressure(self, double: float) -> None: ... + @typing.overload + def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElevation(self, double: float) -> None: ... + def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... + def setEquilibriumMassTransfer(self, boolean: bool) -> None: ... + def setGlycolWeightFraction(self, double: float) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInhibitorEfficiency(self, double: float) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletElevation(self, double: float) -> None: ... + def setInnerHeatTransferCoefficient(self, double: float) -> None: ... + def setInsulationConductivity(self, double: float) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLength(self, double: float) -> None: ... + def setLocationClass(self, int: int) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfIncrements(self, int: int) -> None: ... + def setNumberOfLegs(self, int: int) -> None: ... + def setNumberOfNodesInLeg(self, int: int) -> None: ... + def setOuterHeatTransferCoefficient(self, double: float) -> None: ... + def setOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletElevation(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeWallConductivity(self, double: float) -> None: ... + def setPipeWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSoilConductivity(self, double: float) -> None: ... + def setTimeSeries(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], int: int) -> None: ... + def setUseFittings(self, boolean: bool) -> None: ... + def setWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWallThickness(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class AdiabaticPipe(Pipeline, jneqsim.process.design.AutoSizeable): + @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): ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calcFlow(self) -> float: ... + def calcPressureOut(self) -> float: ... + def calcWallFrictionFactor(self, double: float) -> float: ... + @typing.overload + def calculateFRMS(self) -> float: ... + @typing.overload + def calculateFRMS(self, double: float) -> float: ... + def calculateLOF(self) -> float: ... + def disableRhonePoulencVelocity(self) -> None: ... + def getDiameter(self) -> float: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.pipeline.PipelineElectricalDesign: ... + @typing.overload + def getErosionalVelocity(self) -> float: ... + @typing.overload + def getErosionalVelocity(self, double: float) -> float: ... + def getFIVAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getFIVAnalysisJson(self) -> java.lang.String: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFrictionFactor(self) -> float: ... + def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.pipeline.PipelineInstrumentDesign: ... + def getLength(self) -> float: ... + def getMaxAllowableVelocity(self) -> float: ... + def getMaxVelocityMethod(self) -> java.lang.String: ... + def getMixtureVelocity(self) -> float: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + def getPipeWallRoughness(self) -> float: ... + def getPipeWallThickness(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getReynoldsNumber(self) -> float: ... + def getRhonePoulencCalculator(self) -> RhonePoulencVelocity: ... + def getRhonePoulencMaxVelocity(self) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSupportArrangement(self) -> java.lang.String: ... + def getVelocity(self) -> float: ... + def initElectricalDesign(self) -> None: ... + def initInstrumentDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isRhonePoulencEnabled(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength(self, double: float) -> None: ... + def setMaxDesignFRMS(self, double: float) -> None: ... + def setMaxDesignLOF(self, double: float) -> None: ... + def setMaxDesignVelocity(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallThickness(self, double: float) -> None: ... + @typing.overload + def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType) -> None: ... + @typing.overload + def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType, boolean: bool) -> None: ... + def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def useRhonePoulencVelocity(self) -> None: ... + +class AdiabaticTwoPhasePipe(Pipeline): + @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 calcFlow(self, double: float) -> float: ... + def calcPressureOut(self) -> float: ... + def calcWallFrictionFactor(self, double: float) -> float: ... + def getDiameter(self) -> float: ... + def getLength(self) -> float: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + def getPipeWallRoughness(self) -> float: ... + def getPressureOutLimit(self) -> float: ... + @typing.overload + def getSuperficialVelocity(self) -> float: ... + @typing.overload + def getSuperficialVelocity(self, int: int) -> float: ... + @typing.overload + def getSuperficialVelocity(self, int: int, int2: int) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setFlowLimit(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPressureOutLimit(self, double: float) -> None: ... + +class MultiphasePipe(Pipeline): + @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 disableNonEquilibriumHeatTransfer(self) -> None: ... + def disableNonEquilibriumMassTransfer(self) -> None: ... + def enableNonEquilibriumHeatTransfer(self) -> None: ... + def enableNonEquilibriumMassTransfer(self) -> None: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFlowSystem(self) -> jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem.TwoPhasePipeFlowSystem: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getMaxSimulationTime(self) -> float: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getSolverType(self) -> java.lang.String: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTimeStep(self) -> float: ... + def getVelocity(self) -> 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 setMaxSimulationTime(self, double: float) -> None: ... + def setSolverType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTimeStep(self, double: float) -> None: ... + +class OnePhasePipeLine(Pipeline): + @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): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def createSystem(self) -> None: ... + def getAdvectionScheme(self) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... + def getCompositionProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getInternalTimeStep(self) -> float: ... + def getOutletMassFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @typing.overload + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getSimulationTime(self) -> float: ... + @typing.overload + def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @typing.overload + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getVelocityProfile(self) -> typing.MutableSequence[float]: ... + def isCompositionalTracking(self) -> bool: ... + 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 setInternalTimeStep(self, double: float) -> None: ... + +class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): + @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): ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calcFlowRegime(self) -> 'PipeBeggsAndBrills.FlowRegime': ... + def calcFrictionPressureLoss(self) -> float: ... + def calcHeatBalance(self, double: float, systemInterface: jneqsim.thermo.system.SystemInterface, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations) -> float: ... + def calcHydrostaticPressureDifference(self) -> float: ... + def calcPressureDrop(self) -> float: ... + def calcTemperatureDifference(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateAIV(self) -> float: ... + def calculateAIVLikelihoodOfFailure(self) -> float: ... + @typing.overload + def calculateFRMS(self) -> float: ... + @typing.overload + def calculateFRMS(self, double: float) -> float: ... + def calculateLOF(self) -> float: ... + def calculateMissingValue(self) -> None: ... + def convertSystemUnitToImperial(self) -> None: ... + def convertSystemUnitToMetric(self) -> None: ... + def disableRhonePoulencVelocity(self) -> None: ... + def estimateHeatTransferCoefficent(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getAngle(self) -> float: ... + def getCalculationMode(self) -> 'PipeBeggsAndBrills.CalculationMode': ... + def getDiameter(self) -> float: ... + def getEffectiveLength(self) -> float: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.pipeline.PipelineElectricalDesign: ... + def getElevation(self) -> float: ... + def getElevationProfile(self) -> java.util.List[float]: ... + def getEquivalentLength(self) -> float: ... + @typing.overload + def getErosionalVelocity(self) -> float: ... + @typing.overload + def getErosionalVelocity(self, double: float) -> float: ... + def getFIVAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getFIVAnalysisJson(self) -> java.lang.String: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFlowRegimeEnum(self) -> 'PipeBeggsAndBrills.FlowRegime': ... + def getFlowRegimeProfileList(self) -> java.util.List['PipeBeggsAndBrills.FlowRegime']: ... + def getFormationTemperatureGradient(self) -> float: ... + def getGasSuperficialVelocityProfile(self) -> java.util.List[float]: ... + def getHeatTransferCoefficient(self) -> float: ... + def getHeatTransferMode(self) -> 'PipeBeggsAndBrills.HeatTransferMode': ... + def getIncrementsProfile(self) -> java.util.List[int]: ... + def getInletSuperficialVelocity(self) -> float: ... + def getInsulationThermalConductivity(self) -> float: ... + def getInsulationThickness(self) -> float: ... + def getLastSegmentPressureDrop(self) -> float: ... + def getLength(self) -> float: ... + def getLengthProfile(self) -> java.util.List[float]: ... + def getLiquidDensityProfile(self) -> java.util.List[float]: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldupProfileList(self) -> java.util.List[float]: ... + def getLiquidSuperficialVelocityProfile(self) -> java.util.List[float]: ... + def getMaxAllowableVelocity(self) -> float: ... + def getMaxDesignAIV(self) -> float: ... + def getMaxVelocityMethod(self) -> java.lang.String: ... + def getMixtureDensityProfile(self) -> java.util.List[float]: ... + def getMixtureReynoldsNumber(self) -> java.util.List[float]: ... + def getMixtureSuperficialVelocityProfile(self) -> java.util.List[float]: ... + def getMixtureVelocity(self) -> float: ... + def getMixtureViscosityProfile(self) -> java.util.List[float]: ... + def getNumberOfIncrements(self) -> int: ... + def getOuterHeatTransferCoefficient(self) -> float: ... + def getOutletSuperficialVelocity(self) -> float: ... + def getPipeWallRoughness(self) -> float: ... + def getPipeWallThermalConductivity(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureDropProfile(self) -> java.util.List[float]: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getPressureProfileList(self) -> java.util.List[float]: ... + def getRhonePoulencCalculator(self) -> RhonePoulencVelocity: ... + def getRhonePoulencMaxVelocity(self) -> float: ... + def getSegmentElevation(self, int: int) -> float: ... + def getSegmentFlowRegime(self, int: int) -> 'PipeBeggsAndBrills.FlowRegime': ... + def getSegmentGasSuperficialVelocity(self, int: int) -> float: ... + def getSegmentLength(self, int: int) -> float: ... + def getSegmentLiquidDensity(self, int: int) -> float: ... + def getSegmentLiquidHoldup(self, int: int) -> float: ... + def getSegmentLiquidSuperficialVelocity(self, int: int) -> float: ... + def getSegmentMixtureDensity(self, int: int) -> float: ... + def getSegmentMixtureReynoldsNumber(self, int: int) -> float: ... + def getSegmentMixtureSuperficialVelocity(self, int: int) -> float: ... + def getSegmentMixtureViscosity(self, int: int) -> float: ... + def getSegmentPressure(self, int: int) -> float: ... + def getSegmentPressureDrop(self, int: int) -> float: ... + def getSegmentTemperature(self, int: int) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSpecifiedOutletPressure(self) -> float: ... + def getSpecifiedOutletPressureUnit(self) -> java.lang.String: ... + def getSupportArrangement(self) -> java.lang.String: ... + def getSurfaceTemperatureAtInlet(self) -> float: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTemperatureProfileList(self) -> java.util.List[float]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getThickness(self) -> float: ... + def initElectricalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isIncludeFrictionHeating(self) -> bool: ... + def isIncludeJouleThomsonEffect(self) -> bool: ... + def isRhonePoulencEnabled(self) -> bool: ... + def isUseOverallHeatTransferCoefficient(self) -> bool: ... + def reinitializeCapacityConstraints(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 setAngle(self, double: float) -> None: ... + def setCalculationMode(self, calculationMode: 'PipeBeggsAndBrills.CalculationMode') -> None: ... + @typing.overload + def setConstantSurfaceTemperature(self, double: float) -> None: ... + @typing.overload + def setConstantSurfaceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElevation(self, double: float) -> None: ... + def setFlowConvergenceTolerance(self, double: float) -> None: ... + def setFormationTemperatureGradient(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setHeatTransferMode(self, heatTransferMode: 'PipeBeggsAndBrills.HeatTransferMode') -> None: ... + def setIncludeFrictionHeating(self, boolean: bool) -> None: ... + def setIncludeJouleThomsonEffect(self, boolean: bool) -> None: ... + def setInsulation(self, double: float, double2: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setMaxDesignAIV(self, double: float) -> None: ... + def setMaxDesignFRMS(self, double: float) -> None: ... + def setMaxDesignLOF(self, double: float) -> None: ... + def setMaxDesignVelocity(self, double: float) -> None: ... + def setMaxFlowIterations(self, int: int) -> None: ... + def setNumberOfIncrements(self, int: int) -> None: ... + def setOuterHeatTransferCoefficient(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallThermalConductivity(self, double: float) -> None: ... + @typing.overload + def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType) -> None: ... + @typing.overload + def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType, boolean: bool) -> None: ... + def setRunIsothermal(self, boolean: bool) -> None: ... + def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThickness(self, double: float) -> None: ... + def setUseOverallHeatTransferCoefficient(self, boolean: bool) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def useRhonePoulencVelocity(self) -> None: ... + class CalculationMode(java.lang.Enum['PipeBeggsAndBrills.CalculationMode']): + CALCULATE_OUTLET_PRESSURE: typing.ClassVar['PipeBeggsAndBrills.CalculationMode'] = ... + CALCULATE_FLOW_RATE: typing.ClassVar['PipeBeggsAndBrills.CalculationMode'] = ... + _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]) -> 'PipeBeggsAndBrills.CalculationMode': ... + @staticmethod + def values() -> typing.MutableSequence['PipeBeggsAndBrills.CalculationMode']: ... + class FlowRegime(java.lang.Enum['PipeBeggsAndBrills.FlowRegime']): + SEGREGATED: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... + INTERMITTENT: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... + DISTRIBUTED: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... + TRANSITION: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... + SINGLE_PHASE: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... + UNKNOWN: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... + _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]) -> 'PipeBeggsAndBrills.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['PipeBeggsAndBrills.FlowRegime']: ... + class HeatTransferMode(java.lang.Enum['PipeBeggsAndBrills.HeatTransferMode']): + ADIABATIC: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... + ISOTHERMAL: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... + SPECIFIED_U: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... + ESTIMATED_INNER_H: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... + DETAILED_U: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... + _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]) -> 'PipeBeggsAndBrills.HeatTransferMode': ... + @staticmethod + def values() -> typing.MutableSequence['PipeBeggsAndBrills.HeatTransferMode']: ... + +class PipeHagedornBrown(Pipeline): + @typing.overload + def __init__(self): ... + @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 getLengthProfile(self) -> java.util.List[float]: ... + def getLiquidHoldup(self) -> float: ... + def getMixtureDensity(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getPressureProfileList(self) -> java.util.List[float]: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTemperatureProfileList(self) -> java.util.List[float]: ... + def getTotalPressureDrop(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class PipeMukherjeeAndBrill(Pipeline): + @typing.overload + def __init__(self): ... + @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 getFlowPattern(self) -> java.lang.String: ... + def getFlowPatternEnum(self) -> 'PipeMukherjeeAndBrill.FlowPattern': ... + def getFlowPatternProfile(self) -> java.util.List[java.lang.String]: ... + def getLengthProfile(self) -> java.util.List[float]: ... + def getLiquidHoldup(self) -> float: ... + def getMixtureDensity(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getPressureProfileList(self) -> java.util.List[float]: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTemperatureProfileList(self) -> java.util.List[float]: ... + def getTotalPressureDrop(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + class FlowPattern(java.lang.Enum['PipeMukherjeeAndBrill.FlowPattern']): + STRATIFIED: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... + SLUG: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... + ANNULAR: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... + BUBBLE: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... + SINGLE_PHASE: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... + _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]) -> 'PipeMukherjeeAndBrill.FlowPattern': ... + @staticmethod + def values() -> typing.MutableSequence['PipeMukherjeeAndBrill.FlowPattern']: ... + +class SimpleTPoutPipeline(Pipeline): + @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 displayResult(self) -> None: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + +class TransientWellbore(Pipeline): + @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 getDepressurizationRate(self) -> float: ... + def getMaxGasPhaseConcentration(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfSegments(self) -> int: ... + def getRadialHeatTransferCoefficient(self) -> float: ... + def getShutdownCoolingRate(self) -> float: ... + def getSnapshots(self) -> java.util.List['TransientWellbore.TransientSnapshot']: ... + def getTemperatureProfiles(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getTimePoints(self) -> typing.MutableSequence[float]: ... + def getTubingDiameter(self) -> float: ... + def getWellDepth(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runShutdownSimulation(self, double: float, double2: float) -> None: ... + def setDepressurizationRate(self, double: float) -> None: ... + def setFormationTemperature(self, double: float, double2: float) -> None: ... + def setNumberOfSegments(self, int: int) -> None: ... + def setRadialHeatTransferCoefficient(self, double: float) -> None: ... + def setShutdownCoolingRate(self, double: float) -> None: ... + def setTubingDiameter(self, double: float) -> None: ... + def setWellDepth(self, double: float) -> None: ... + class TransientSnapshot(java.io.Serializable): + timeHours: float = ... + depths: typing.MutableSequence[float] = ... + temperatures: typing.MutableSequence[float] = ... + pressures: typing.MutableSequence[float] = ... + numberOfPhases: typing.MutableSequence[int] = ... + gasFraction: typing.MutableSequence[float] = ... + gasCompositions: java.util.Map = ... + def __init__(self, double: float, int: int): ... + def addGasComposition(self, int: int, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class TubingPerformance(Pipeline): + @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 generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCorrelationType(self) -> 'TubingPerformance.CorrelationType': ... + def getDiameter(self) -> float: ... + def getInclination(self) -> float: ... + def getLength(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getRoughness(self) -> float: ... + def getTemperatureModel(self) -> 'TubingPerformance.TemperatureModel': ... + def getWellheadPressure(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBottomholeTemperature(self, double: float) -> None: ... + def setCorrelationType(self, correlationType: 'TubingPerformance.CorrelationType') -> None: ... + def setDiameter(self, double: float) -> None: ... + def setFormationThermalConductivity(self, double: float) -> None: ... + def setGeothermalGradient(self, double: float) -> None: ... + def setInclination(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setNumberOfSegments(self, int: int) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setProductionTime(self, double: float) -> None: ... + def setRoughness(self, double: float) -> None: ... + def setSurfaceTemperature(self, double: float) -> None: ... + def setTemperatureModel(self, temperatureModel: 'TubingPerformance.TemperatureModel') -> None: ... + def setWellheadPressure(self, double: float) -> None: ... + class CorrelationType(java.lang.Enum['TubingPerformance.CorrelationType']): + BEGGS_BRILL: typing.ClassVar['TubingPerformance.CorrelationType'] = ... + HAGEDORN_BROWN: typing.ClassVar['TubingPerformance.CorrelationType'] = ... + GRAY: typing.ClassVar['TubingPerformance.CorrelationType'] = ... + HASAN_KABIR: typing.ClassVar['TubingPerformance.CorrelationType'] = ... + DUNS_ROS: typing.ClassVar['TubingPerformance.CorrelationType'] = ... + _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]) -> 'TubingPerformance.CorrelationType': ... + @staticmethod + def values() -> typing.MutableSequence['TubingPerformance.CorrelationType']: ... + class TemperatureModel(java.lang.Enum['TubingPerformance.TemperatureModel']): + ISOTHERMAL: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + LINEAR_GRADIENT: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + RAMEY: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + HASAN_KABIR: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + _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]) -> 'TubingPerformance.TemperatureModel': ... + @staticmethod + def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... + +class TwoFluidPipe(Pipeline): + @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 addLocalLoss(self, double: float, double2: float) -> None: ... + def calculateCooldownTime(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateHydrateCooldownTime(self) -> float: ... + def calculateLocalLossPressureDrop(self) -> float: ... + def clearLocalLosses(self) -> None: ... + def closeInlet(self) -> None: ... + def closeOutlet(self) -> None: ... + def configureBuriedThermalModel(self, double: float, boolean: bool) -> None: ... + def configureLagrangianSlugTracking(self, boolean: bool, boolean2: bool, boolean3: bool) -> None: ... + def configureSubseaThermalModel(self, double: float, double2: float, materialType: RadialThermalLayer.MaterialType) -> None: ... + def generateRefinedMesh(self, int: int, double: float) -> None: ... + def getAccumulationTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... + def getAdaptiveDtFactor(self) -> float: ... + def getAverageLiquidHoldup(self) -> float: ... + def getAverageMixtureDensity(self) -> float: ... + def getAverageSuperficialGasVelocity(self) -> float: ... + def getAverageSuperficialLiquidVelocity(self) -> float: ... + def getDiameter(self) -> float: ... + def getDistanceToHydrateRisk(self) -> float: ... + def getDominantFlowRegime(self) -> java.lang.String: ... + def getEquivalentLengthFittings(self) -> float: ... + def getErosionRiskAssessment(self, double: float) -> java.lang.String: ... + @typing.overload + def getErosionalVelocity(self) -> float: ... + @typing.overload + def getErosionalVelocity(self, double: float) -> float: ... + def getErosionalVelocityMargin(self, double: float) -> float: ... + def getFirstHydrateRiskSection(self) -> int: ... + def getFlowAnalysisSummary(self) -> java.lang.String: ... + def getFlowRegimeHysteresis(self) -> float: ... + def getFlowRegimeProfile(self) -> typing.MutableSequence[jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime]: ... + def getGasVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getHeatTransferCoefficient(self) -> float: ... + def getHeatTransferProfile(self) -> typing.MutableSequence[float]: ... + def getHydrateFormationTemperature(self) -> float: ... + def getHydrateRiskSectionCount(self) -> int: ... + def getHydrateRiskSections(self) -> typing.MutableSequence[bool]: ... + def getInletBoundaryCondition(self) -> 'TwoFluidPipe.BoundaryCondition': ... + def getInletPressure(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getInsulationTypeEnum(self) -> 'TwoFluidPipe.InsulationType': ... + def getLagrangianSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LagrangianSlugTracker: ... + def getLastSlugArrivalTime(self) -> float: ... + def getLength(self) -> float: ... + def getLiquidFallbackCoefficient(self) -> float: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidInventory(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getLocalLossKFactor(self, double: float) -> float: ... + def getLocalLossSummary(self) -> java.lang.String: ... + def getMaxMixtureVelocity(self) -> float: ... + def getMaxSimulationTime(self) -> float: ... + def getMaxSlugLengthAtOutlet(self) -> float: ... + def getMaxSlugVolumeAtOutlet(self) -> float: ... + def getMinimumFilmThickness(self) -> float: ... + def getMinimumLiquidHoldup(self) -> float: ... + def getMinimumSlipFactor(self) -> float: ... + def getNumberOfSections(self) -> int: ... + def getOLGAModelType(self) -> 'TwoFluidPipe.OLGAModelType': ... + def getOilHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getOilVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getOilWaterSlipProfile(self) -> typing.MutableSequence[float]: ... + def getOutletBoundaryCondition(self) -> 'TwoFluidPipe.BoundaryCondition': ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getOutletSlugCount(self) -> int: ... + def getPositionProfile(self) -> typing.MutableSequence[float]: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getRoughness(self) -> float: ... + def getSectionLengths(self) -> typing.MutableSequence[float]: ... + def getSimulationTime(self) -> float: ... + def getSlugStatisticsSummary(self) -> java.lang.String: ... + def getSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... + def getSlugTrackingMode(self) -> 'TwoFluidPipe.SlugTrackingMode': ... + def getSlugTrackingStatisticsJson(self) -> java.lang.String: ... + def getSoilThermalResistance(self) -> float: ... + def getSurfaceTemperature(self) -> float: ... + def getSurfaceTemperatureProfile(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTerrainSlugCriticalHoldup(self) -> float: ... + def getThermalCalculator(self) -> MultilayerThermalCalculator: ... + def getThermalSummary(self) -> java.lang.String: ... + def getTimeIntegrationMethod(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method: ... + def getTotalLocalLossKFactors(self) -> float: ... + def getTotalPressureDrop(self) -> float: ... + def getTotalSlugVolumeAtOutlet(self) -> float: ... + def getWallTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getWallThickness(self) -> float: ... + def getWaterCutProfile(self) -> typing.MutableSequence[float]: ... + def getWaterHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getWaterVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getWaxAppearanceTemperature(self) -> float: ... + def getWaxRiskSections(self) -> typing.MutableSequence[bool]: ... + def hasHydrateRisk(self) -> bool: ... + def hasWaxRisk(self) -> bool: ... + def isAdaptiveTimesteppingEnabled(self) -> bool: ... + def isEnableAnnularFilmModel(self) -> bool: ... + def isEnableSevereSlugModel(self) -> bool: ... + def isEnableTerrainTracking(self) -> bool: ... + def isEnforceMinimumSlip(self) -> bool: ... + def isHeatTransferEnabled(self) -> bool: ... + def isInletClosed(self) -> bool: ... + def isJouleThomsonEnabled(self) -> bool: ... + def isOutletClosed(self) -> bool: ... + def isUseAdaptiveMinimumOnly(self) -> bool: ... + def isUseMultilayerThermalModel(self) -> bool: ... + def isUseOLGAFlowRegimeMap(self) -> bool: ... + @typing.overload + def isVelocityAboveErosionalLimit(self) -> bool: ... + @typing.overload + def isVelocityAboveErosionalLimit(self, double: float) -> bool: ... + def isWaterOilSlipEnabled(self) -> bool: ... + def openInlet(self) -> None: ... + @typing.overload + def openOutlet(self) -> None: ... + @typing.overload + def openOutlet(self, double: float, string: typing.Union[java.lang.String, str]) -> 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 setAdaptiveMaxPressure(self, double: float) -> None: ... + def setCflNumber(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setEnableAdaptiveTimestepping(self, boolean: bool) -> None: ... + def setEnableAnnularFilmModel(self, boolean: bool) -> None: ... + def setEnableJouleThomson(self, boolean: bool) -> None: ... + def setEnableSevereSlugModel(self, boolean: bool) -> None: ... + def setEnableSlugTracking(self, boolean: bool) -> None: ... + def setEnableTerrainTracking(self, boolean: bool) -> None: ... + def setEnableWaterOilSlip(self, boolean: bool) -> None: ... + def setEnforceMinimumSlip(self, boolean: bool) -> None: ... + def setEquivalentLengthFittings(self, double: float) -> None: ... + def setFlowRegimeHysteresis(self, double: float) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setHeatTransferProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHydrateFormationTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeEnergyEquation(self, boolean: bool) -> None: ... + def setIncludeMassTransfer(self, boolean: bool) -> None: ... + def setInletBoundaryCondition(self, boundaryCondition: 'TwoFluidPipe.BoundaryCondition') -> None: ... + def setInletLossCoefficient(self, double: float) -> None: ... + @typing.overload + def setInletMassFlow(self, double: float) -> None: ... + @typing.overload + def setInletMassFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setInletPressure(self, double: float) -> None: ... + @typing.overload + def setInletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setInsulationType(self, insulationType: 'TwoFluidPipe.InsulationType') -> None: ... + def setLength(self, double: float) -> None: ... + def setLiquidFallbackCoefficient(self, double: float) -> None: ... + def setMassTransferRelaxationTime(self, double: float) -> None: ... + def setMaxSimulationTime(self, double: float) -> None: ... + def setMinimumFilmThickness(self, double: float) -> None: ... + def setMinimumLiquidHoldup(self, double: float) -> None: ... + def setMinimumSlipFactor(self, double: float) -> None: ... + def setNumberOf45DegreeBends(self, int: int) -> None: ... + def setNumberOf90DegreeBends(self, int: int) -> None: ... + def setNumberOfSections(self, int: int) -> None: ... + def setOLGAModelType(self, oLGAModelType: 'TwoFluidPipe.OLGAModelType') -> None: ... + def setOutletBoundaryCondition(self, boundaryCondition: 'TwoFluidPipe.BoundaryCondition') -> None: ... + def setOutletLossCoefficient(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setRoughness(self, double: float) -> None: ... + def setSectionLengths(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSlugTrackingMode(self, slugTrackingMode: 'TwoFluidPipe.SlugTrackingMode') -> None: ... + def setSoilThermalResistance(self, double: float) -> None: ... + def setSteadyStateFlashInterval(self, int: int) -> None: ... + def setSteadyStateMaxWallClockTime(self, double: float) -> None: ... + def setSteadyStateUnderRelaxation(self, double: float) -> None: ... + def setSurfaceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSurfaceTemperatureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTerrainSlugCriticalHoldup(self, double: float) -> None: ... + def setThermalCalculator(self, multilayerThermalCalculator: MultilayerThermalCalculator) -> None: ... + def setThermodynamicUpdateInterval(self, int: int) -> None: ... + def setTimeIntegrationMethod(self, method: jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method) -> None: ... + def setUseAdaptiveMinimumOnly(self, boolean: bool) -> None: ... + def setUseMultilayerThermalModel(self, boolean: bool) -> None: ... + def setUseOLGAFlowRegimeMap(self, boolean: bool) -> None: ... + def setWallProperties(self, double: float, double2: float, double3: float) -> None: ... + def setWaxAppearanceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + class BoundaryCondition(java.lang.Enum['TwoFluidPipe.BoundaryCondition']): + CONSTANT_PRESSURE: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... + CONSTANT_FLOW: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... + STREAM_CONNECTED: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... + CLOSED: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... + CHARACTERISTIC: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... + _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.BoundaryCondition': ... + @staticmethod + def values() -> typing.MutableSequence['TwoFluidPipe.BoundaryCondition']: ... + class InsulationType(java.lang.Enum['TwoFluidPipe.InsulationType']): + NONE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + UNINSULATED_SUBSEA: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + PU_FOAM: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + MULTI_LAYER: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + PIPE_IN_PIPE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + VIT: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + BURIED_ONSHORE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + EXPOSED_ONSHORE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + def getUValue(self) -> float: ... + _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.InsulationType': ... + @staticmethod + def values() -> typing.MutableSequence['TwoFluidPipe.InsulationType']: ... + class OLGAModelType(java.lang.Enum['TwoFluidPipe.OLGAModelType']): + FULL: typing.ClassVar['TwoFluidPipe.OLGAModelType'] = ... + SIMPLIFIED: typing.ClassVar['TwoFluidPipe.OLGAModelType'] = ... + DRIFT_FLUX: typing.ClassVar['TwoFluidPipe.OLGAModelType'] = ... + _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.OLGAModelType': ... + @staticmethod + def values() -> typing.MutableSequence['TwoFluidPipe.OLGAModelType']: ... + class SlugTrackingMode(java.lang.Enum['TwoFluidPipe.SlugTrackingMode']): + SIMPLIFIED: typing.ClassVar['TwoFluidPipe.SlugTrackingMode'] = ... + LAGRANGIAN: typing.ClassVar['TwoFluidPipe.SlugTrackingMode'] = ... + DISABLED: typing.ClassVar['TwoFluidPipe.SlugTrackingMode'] = ... + _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.SlugTrackingMode': ... + @staticmethod + def values() -> typing.MutableSequence['TwoFluidPipe.SlugTrackingMode']: ... + +class TwoPhasePipeLine(Pipeline): + @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 createSystem(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class WaterHammerPipe(Pipeline): + @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 calcEffectiveWaveSpeed(self) -> float: ... + @typing.overload + def calcJoukowskyPressureSurge(self, double: float) -> float: ... + @typing.overload + def calcJoukowskyPressureSurge(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getCourantNumber(self) -> float: ... + def getCurrentTime(self) -> float: ... + def getDiameter(self) -> float: ... + def getDownstreamBoundary(self) -> 'WaterHammerPipe.BoundaryType': ... + def getDownstreamBoundaryName(self) -> java.lang.String: ... + def getElevation(self) -> float: ... + def getElevationChange(self) -> float: ... + def getFlowProfile(self) -> typing.MutableSequence[float]: ... + def getHeadProfile(self) -> typing.MutableSequence[float]: ... + def getLength(self) -> float: ... + @typing.overload + def getMaxPressure(self) -> float: ... + @typing.overload + def getMaxPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMaxPressureEnvelope(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMaxPressureEnvelope(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMaxStableTimeStep(self) -> float: ... + @typing.overload + def getMinPressure(self) -> float: ... + @typing.overload + def getMinPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMinPressureEnvelope(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMinPressureEnvelope(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getNumberOfIncrements(self) -> int: ... + def getNumberOfNodes(self) -> int: ... + def getPipeWallRoughness(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureHistory(self) -> java.util.List[float]: ... + @typing.overload + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTimeHistory(self) -> java.util.List[float]: ... + def getUpstreamBoundary(self) -> 'WaterHammerPipe.BoundaryType': ... + def getUpstreamBoundaryName(self) -> java.lang.String: ... + def getValveOpening(self) -> float: ... + def getValveOpeningPercent(self) -> float: ... + def getVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getWallThickness(self) -> float: ... + def getWaveRoundTripTime(self) -> float: ... + def getWaveSpeed(self) -> float: ... + def reset(self) -> None: ... + def resetEnvelopes(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 setCourantNumber(self, double: float) -> None: ... + @typing.overload + def setDiameter(self, double: float) -> None: ... + @typing.overload + def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDownstreamBoundary(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDownstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... + def setElevation(self, double: float) -> None: ... + def setElevationChange(self, double: float) -> None: ... + @typing.overload + def setLength(self, double: float) -> None: ... + @typing.overload + def setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfIncrements(self, int: int) -> None: ... + def setNumberOfNodes(self, int: int) -> None: ... + def setPipeElasticModulus(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + def setRoughness(self, double: float) -> None: ... + @typing.overload + def setUpstreamBoundary(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setUpstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... + def setValveOpening(self, double: float) -> None: ... + def setValveOpeningPercent(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def setWaveSpeed(self, double: float) -> None: ... + class BoundaryType(java.lang.Enum['WaterHammerPipe.BoundaryType']): + RESERVOIR: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... + VALVE: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... + CLOSED_END: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... + CONSTANT_FLOW: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... + _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]) -> 'WaterHammerPipe.BoundaryType': ... + @staticmethod + def values() -> typing.MutableSequence['WaterHammerPipe.BoundaryType']: ... + +class IncompressiblePipeFlow(AdiabaticPipe): + @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 calcPressureOut(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class Riser(PipeBeggsAndBrills): + @typing.overload + def __init__(self): ... + @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): ... + @typing.overload + def __init__(self, riserType: 'Riser.RiserType', string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @staticmethod + def createFlexible(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + @staticmethod + def createHybrid(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + @staticmethod + def createLazyWave(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> 'Riser': ... + @staticmethod + def createSCR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + @staticmethod + def createTTR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + def getAppliedTopTension(self) -> float: ... + def getBuoyancyModuleDepth(self) -> float: ... + def getBuoyancyModuleLength(self) -> float: ... + def getBuoyancyPerMeter(self) -> float: ... + def getCurrentVelocity(self) -> float: ... + def getDepartureAngle(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getPeakWavePeriod(self) -> float: ... + def getPlatformHeaveAmplitude(self) -> float: ... + def getPlatformHeavePeriod(self) -> float: ... + def getPlatformOffset(self) -> float: ... + def getRiserMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.RiserMechanicalDesign: ... + def getRiserType(self) -> 'Riser.RiserType': ... + def getSeabedCurrentVelocity(self) -> float: ... + def getSeabedFriction(self) -> float: ... + def getSeawaterTemperature(self) -> float: ... + def getSignificantWaveHeight(self) -> float: ... + def getSoilType(self) -> java.lang.String: ... + def getTensionVariationFactor(self) -> float: ... + def getTopAngle(self) -> float: ... + def getWaterDepth(self) -> float: ... + def hasBuoyancyModules(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def isCatenaryType(self) -> bool: ... + def isFlexibleType(self) -> bool: ... + def isTensionedType(self) -> bool: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def run(self) -> None: ... + def setAppliedTopTension(self, double: float) -> None: ... + def setBuoyancyModuleDepth(self, double: float) -> None: ... + def setBuoyancyModuleLength(self, double: float) -> None: ... + def setBuoyancyPerMeter(self, double: float) -> None: ... + def setCurrentVelocity(self, double: float) -> None: ... + def setDepartureAngle(self, double: float) -> None: ... + def setPeakWavePeriod(self, double: float) -> None: ... + def setPlatformHeaveAmplitude(self, double: float) -> None: ... + def setPlatformHeavePeriod(self, double: float) -> None: ... + def setPlatformOffset(self, double: float) -> None: ... + def setRiserType(self, riserType: 'Riser.RiserType') -> None: ... + def setSeabedCurrentVelocity(self, double: float) -> None: ... + def setSeabedFriction(self, double: float) -> None: ... + def setSeawaterTemperature(self, double: float) -> None: ... + def setSignificantWaveHeight(self, double: float) -> None: ... + def setSoilType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTensionVariationFactor(self, double: float) -> None: ... + def setTopAngle(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def updateGeometryFromType(self) -> None: ... + class RiserType(java.lang.Enum['Riser.RiserType']): + STEEL_CATENARY_RISER: typing.ClassVar['Riser.RiserType'] = ... + FLEXIBLE_RISER: typing.ClassVar['Riser.RiserType'] = ... + TOP_TENSIONED_RISER: typing.ClassVar['Riser.RiserType'] = ... + HYBRID_RISER: typing.ClassVar['Riser.RiserType'] = ... + LAZY_WAVE: typing.ClassVar['Riser.RiserType'] = ... + STEEP_WAVE: typing.ClassVar['Riser.RiserType'] = ... + FREE_STANDING: typing.ClassVar['Riser.RiserType'] = ... + VERTICAL: typing.ClassVar['Riser.RiserType'] = ... + def getDisplayName(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]) -> 'Riser.RiserType': ... + @staticmethod + def values() -> typing.MutableSequence['Riser.RiserType']: ... + +class TopsidePiping(PipeBeggsAndBrills): + @typing.overload + def __init__(self): ... + @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): ... + @typing.overload + def __init__(self, serviceType: 'TopsidePiping.ServiceType', string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @staticmethod + def createFlareHeader(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + @staticmethod + def createFuelGas(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + @staticmethod + def createMultiphase(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + @staticmethod + def createProcessGas(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + @staticmethod + def createProcessLiquid(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + @staticmethod + def createSteam(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def getAmbientTemperature(self) -> float: ... + def getEquivalentLength(self) -> float: ... + def getFlangeRating(self) -> int: ... + def getInsulationThickness(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getInsulationTypeEnum(self) -> 'TopsidePiping.InsulationType': ... + def getMaxOperatingPressure(self) -> float: ... + def getMaxOperatingTemperature(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getMinOperatingPressure(self) -> float: ... + def getMinOperatingTemperature(self) -> float: ... + def getNumberOfAnchors(self) -> int: ... + def getNumberOfElbows45(self) -> int: ... + def getNumberOfElbows90(self) -> int: ... + def getNumberOfExpansionLoops(self) -> int: ... + def getNumberOfFlanges(self) -> int: ... + def getNumberOfGuides(self) -> int: ... + def getNumberOfReducers(self) -> int: ... + def getNumberOfSupports(self) -> int: ... + def getNumberOfTees(self) -> int: ... + def getNumberOfValves(self) -> int: ... + def getPipeSchedule(self) -> java.lang.String: ... + def getPipeScheduleEnum(self) -> 'TopsidePiping.PipeSchedule': ... + def getServiceType(self) -> 'TopsidePiping.ServiceType': ... + def getSupportSpacing(self) -> float: ... + def getTopsideMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.TopsidePipingMechanicalDesign: ... + def getValveType(self) -> java.lang.String: ... + def getWindSpeed(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isCorrosiveEnvironment(self) -> bool: ... + def isExposedToWeather(self) -> bool: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setCorrosiveEnvironment(self, boolean: bool) -> None: ... + def setExposedToWeather(self, boolean: bool) -> None: ... + def setFittings(self, int: int, int2: int, int3: int, int4: int) -> None: ... + def setFlangeRating(self, int: int) -> None: ... + @typing.overload + def setInsulation(self, double: float, double2: float) -> None: ... + @typing.overload + def setInsulation(self, insulationType: 'TopsidePiping.InsulationType', double: float) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + @typing.overload + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setInsulationType(self, insulationType: 'TopsidePiping.InsulationType') -> None: ... + def setMaxOperatingPressure(self, double: float) -> None: ... + def setMaxOperatingTemperature(self, double: float) -> None: ... + def setMinOperatingPressure(self, double: float) -> None: ... + def setMinOperatingTemperature(self, double: float) -> None: ... + def setNumberOfAnchors(self, int: int) -> None: ... + def setNumberOfElbows45(self, int: int) -> None: ... + def setNumberOfElbows90(self, int: int) -> None: ... + def setNumberOfExpansionLoops(self, int: int) -> None: ... + def setNumberOfFlanges(self, int: int) -> None: ... + def setNumberOfGuides(self, int: int) -> None: ... + def setNumberOfReducers(self, int: int) -> None: ... + def setNumberOfSupports(self, int: int) -> None: ... + def setNumberOfTees(self, int: int) -> None: ... + def setNumberOfValves(self, int: int) -> None: ... + def setOperatingEnvelope(self, double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPipeSchedule(self, pipeSchedule: 'TopsidePiping.PipeSchedule') -> None: ... + def setServiceType(self, serviceType: 'TopsidePiping.ServiceType') -> None: ... + def setSupportSpacing(self, double: float) -> None: ... + def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWindSpeed(self, double: float) -> None: ... + class InsulationType(java.lang.Enum['TopsidePiping.InsulationType']): + NONE: typing.ClassVar['TopsidePiping.InsulationType'] = ... + MINERAL_WOOL: typing.ClassVar['TopsidePiping.InsulationType'] = ... + CALCIUM_SILICATE: typing.ClassVar['TopsidePiping.InsulationType'] = ... + POLYURETHANE_FOAM: typing.ClassVar['TopsidePiping.InsulationType'] = ... + AEROGEL: typing.ClassVar['TopsidePiping.InsulationType'] = ... + CELLULAR_GLASS: typing.ClassVar['TopsidePiping.InsulationType'] = ... + HEAT_TRACED: typing.ClassVar['TopsidePiping.InsulationType'] = ... + def getDensity(self) -> float: ... + def getDisplayName(self) -> java.lang.String: ... + def getThermalConductivity(self) -> float: ... + _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]) -> 'TopsidePiping.InsulationType': ... + @staticmethod + def values() -> typing.MutableSequence['TopsidePiping.InsulationType']: ... + class PipeSchedule(java.lang.Enum['TopsidePiping.PipeSchedule']): + SCH_5: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_10: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_20: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_30: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_40: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_60: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_80: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_100: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_120: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_140: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + SCH_160: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + STD: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + XS: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + XXS: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getMinThickness(self) -> float: ... + _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]) -> 'TopsidePiping.PipeSchedule': ... + @staticmethod + def values() -> typing.MutableSequence['TopsidePiping.PipeSchedule']: ... + class ServiceType(java.lang.Enum['TopsidePiping.ServiceType']): + PROCESS_GAS: typing.ClassVar['TopsidePiping.ServiceType'] = ... + PROCESS_LIQUID: typing.ClassVar['TopsidePiping.ServiceType'] = ... + MULTIPHASE: typing.ClassVar['TopsidePiping.ServiceType'] = ... + PRODUCED_WATER: typing.ClassVar['TopsidePiping.ServiceType'] = ... + STEAM: typing.ClassVar['TopsidePiping.ServiceType'] = ... + UTILITY_AIR: typing.ClassVar['TopsidePiping.ServiceType'] = ... + FLARE: typing.ClassVar['TopsidePiping.ServiceType'] = ... + FUEL_GAS: typing.ClassVar['TopsidePiping.ServiceType'] = ... + COOLING_MEDIUM: typing.ClassVar['TopsidePiping.ServiceType'] = ... + CHEMICAL_INJECTION: typing.ClassVar['TopsidePiping.ServiceType'] = ... + VENT_DRAIN: typing.ClassVar['TopsidePiping.ServiceType'] = ... + RELIEF: typing.ClassVar['TopsidePiping.ServiceType'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getVelocityFactor(self) -> float: ... + _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]) -> 'TopsidePiping.ServiceType': ... + @staticmethod + def values() -> typing.MutableSequence['TopsidePiping.ServiceType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline")``. + + AdiabaticPipe: typing.Type[AdiabaticPipe] + AdiabaticTwoPhasePipe: typing.Type[AdiabaticTwoPhasePipe] + CO2FlowCorrections: typing.Type[CO2FlowCorrections] + CO2InjectionWellAnalyzer: typing.Type[CO2InjectionWellAnalyzer] + Fittings: typing.Type[Fittings] + GravityDumpFloodInjectionAnalyzer: typing.Type[GravityDumpFloodInjectionAnalyzer] + IncompressiblePipeFlow: typing.Type[IncompressiblePipeFlow] + MultilayerThermalCalculator: typing.Type[MultilayerThermalCalculator] + MultiphasePipe: typing.Type[MultiphasePipe] + OnePhasePipeLine: typing.Type[OnePhasePipeLine] + PipeBeggsAndBrills: typing.Type[PipeBeggsAndBrills] + PipeHagedornBrown: typing.Type[PipeHagedornBrown] + PipeLineInterface: typing.Type[PipeLineInterface] + PipeMukherjeeAndBrill: typing.Type[PipeMukherjeeAndBrill] + Pipeline: typing.Type[Pipeline] + RadialThermalLayer: typing.Type[RadialThermalLayer] + RhonePoulencVelocity: typing.Type[RhonePoulencVelocity] + Riser: typing.Type[Riser] + RiserConfiguration: typing.Type[RiserConfiguration] + SimpleTPoutPipeline: typing.Type[SimpleTPoutPipeline] + TopsidePiping: typing.Type[TopsidePiping] + TransientWellbore: typing.Type[TransientWellbore] + TubingPerformance: typing.Type[TubingPerformance] + TwoFluidPipe: typing.Type[TwoFluidPipe] + TwoPhasePipeLine: typing.Type[TwoPhasePipeLine] + WaterHammerPipe: typing.Type[WaterHammerPipe] + routing: jneqsim.process.equipment.pipeline.routing.__module_protocol__ + twophasepipe: jneqsim.process.equipment.pipeline.twophasepipe.__module_protocol__ diff --git a/src/jneqsim/process/equipment/pipeline/routing/__init__.pyi b/src/jneqsim/process/equipment/pipeline/routing/__init__.pyi new file mode 100644 index 00000000..a1f6e290 --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/routing/__init__.pyi @@ -0,0 +1,62 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class PipingRouteBuilder(java.io.Serializable): + def __init__(self): ... + def addMinorLoss(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'PipingRouteBuilder': ... + @typing.overload + def addSegment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], double2: float, string4: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + @typing.overload + def addSegment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, string4: typing.Union[java.lang.String, str], double2: float, string5: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + @typing.overload + def addToProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def addToProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def build(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSegment(self, string: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder.RouteSegment': ... + def getSegments(self) -> java.util.List['PipingRouteBuilder.RouteSegment']: ... + def setDefaultHeatTransferMode(self, heatTransferMode: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills.HeatTransferMode) -> 'PipingRouteBuilder': ... + def setDefaultNumberOfIncrements(self, int: int) -> 'PipingRouteBuilder': ... + def setDefaultPipeWallRoughness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def setMinorLossFrictionFactor(self, double: float) -> 'PipingRouteBuilder': ... + def setSegmentElevationChange(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def setSegmentPipeWallRoughness(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def setSegmentWallThickness(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def toJson(self) -> java.lang.String: ... + class MinorLoss(java.io.Serializable): + def getEquivalentLengthRatio(self) -> float: ... + def getFittingType(self) -> java.lang.String: ... + def getKValue(self) -> float: ... + class RouteSegment(java.io.Serializable): + def getElevationChangeMeters(self) -> float: ... + def getFromNode(self) -> java.lang.String: ... + def getLengthMeters(self) -> float: ... + def getMinorLosses(self) -> java.util.List['PipingRouteBuilder.MinorLoss']: ... + def getNominalDiameterMeters(self) -> float: ... + def getPipeName(self) -> java.lang.String: ... + def getPipeWallRoughnessMeters(self) -> float: ... + def getSegmentId(self) -> java.lang.String: ... + def getToNode(self) -> java.lang.String: ... + def getTotalEquivalentLengthRatio(self) -> float: ... + def getTotalKValue(self) -> float: ... + def getWallThicknessMeters(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.routing")``. + + PipingRouteBuilder: typing.Type[PipingRouteBuilder] diff --git a/src/jneqsim/process/equipment/pipeline/twophasepipe/__init__.pyi b/src/jneqsim/process/equipment/pipeline/twophasepipe/__init__.pyi new file mode 100644 index 00000000..4dba6326 --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/twophasepipe/__init__.pyi @@ -0,0 +1,926 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.fluidmechanics.flowsystem +import jneqsim.process.equipment +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.pipeline.twophasepipe.closure +import jneqsim.process.equipment.pipeline.twophasepipe.numerics +import jneqsim.process.equipment.pipeline.twophasepipe.reporting +import jneqsim.process.equipment.pipeline.twophasepipe.validation +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.pipeline +import jneqsim.thermo.system +import typing + + + +class DriftFluxModel(java.io.Serializable): + def __init__(self): ... + def calculateDriftFlux(self, pipeSection: 'PipeSection') -> 'DriftFluxModel.DriftFluxParameters': ... + def calculateEnergyEquation(self, pipeSection: 'PipeSection', driftFluxParameters: 'DriftFluxModel.DriftFluxParameters', double: float, double2: float, double3: float, double4: float, double5: float) -> 'DriftFluxModel.EnergyEquationResult': ... + def calculateMixtureHeatCapacity(self, pipeSection: 'PipeSection', driftFluxParameters: 'DriftFluxModel.DriftFluxParameters', double: float, double2: float) -> float: ... + def calculatePressureGradient(self, pipeSection: 'PipeSection', driftFluxParameters: 'DriftFluxModel.DriftFluxParameters') -> float: ... + def calculateSteadyStateTemperature(self, pipeSection: 'PipeSection', double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def estimateJouleThomsonCoefficient(self, double: float, double2: float, double3: float) -> float: ... + class DriftFluxParameters(java.io.Serializable): + C0: float = ... + driftVelocity: float = ... + gasVelocity: float = ... + liquidVelocity: float = ... + slipRatio: float = ... + voidFraction: float = ... + liquidHoldup: float = ... + def __init__(self): ... + class EnergyEquationResult(java.io.Serializable): + newTemperature: float = ... + jouleThomsonDeltaT: float = ... + heatTransferDeltaT: float = ... + frictionHeatingDeltaT: float = ... + elevationWorkDeltaT: float = ... + heatTransferRate: float = ... + frictionHeatingPower: float = ... + def __init__(self): ... + +class EntrainmentDeposition(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, entrainmentModel: 'EntrainmentDeposition.EntrainmentModel', depositionModel: 'EntrainmentDeposition.DepositionModel'): ... + def calculate(self, flowRegime: 'PipeSection.FlowRegime', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'EntrainmentDeposition.EntrainmentResult': ... + def getCriticalReFilm(self) -> float: ... + def getCriticalWeber(self) -> float: ... + def getDepositionModel(self) -> 'EntrainmentDeposition.DepositionModel': ... + def getEntrainmentModel(self) -> 'EntrainmentDeposition.EntrainmentModel': ... + def setCriticalReFilm(self, double: float) -> None: ... + def setCriticalWeber(self, double: float) -> None: ... + def setDepositionModel(self, depositionModel: 'EntrainmentDeposition.DepositionModel') -> None: ... + def setEntrainmentModel(self, entrainmentModel: 'EntrainmentDeposition.EntrainmentModel') -> None: ... + class DepositionModel(java.lang.Enum['EntrainmentDeposition.DepositionModel']): + MCCOY_HANRATTY: typing.ClassVar['EntrainmentDeposition.DepositionModel'] = ... + RELAXATION: typing.ClassVar['EntrainmentDeposition.DepositionModel'] = ... + COUSINS: typing.ClassVar['EntrainmentDeposition.DepositionModel'] = ... + _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]) -> 'EntrainmentDeposition.DepositionModel': ... + @staticmethod + def values() -> typing.MutableSequence['EntrainmentDeposition.DepositionModel']: ... + class EntrainmentModel(java.lang.Enum['EntrainmentDeposition.EntrainmentModel']): + ISHII_MISHIMA: typing.ClassVar['EntrainmentDeposition.EntrainmentModel'] = ... + PAN_HANRATTY: typing.ClassVar['EntrainmentDeposition.EntrainmentModel'] = ... + OLIEMANS: typing.ClassVar['EntrainmentDeposition.EntrainmentModel'] = ... + _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]) -> 'EntrainmentDeposition.EntrainmentModel': ... + @staticmethod + def values() -> typing.MutableSequence['EntrainmentDeposition.EntrainmentModel']: ... + class EntrainmentResult(java.io.Serializable): + entrainmentRate: float = ... + depositionRate: float = ... + netTransferRate: float = ... + entrainmentFraction: float = ... + dropletDiameter: float = ... + dropletConcentration: float = ... + filmReynoldsNumber: float = ... + isEntraining: bool = ... + def __init__(self): ... + +class FlashTable(java.io.Serializable): + def __init__(self): ... + def build(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float, double4: float, int2: int) -> None: ... + def clear(self) -> None: ... + def estimateMemoryUsage(self) -> int: ... + def getMaxPressure(self) -> float: ... + def getMaxTemperature(self) -> float: ... + def getMinPressure(self) -> float: ... + def getMinTemperature(self) -> float: ... + def getNumPressurePoints(self) -> int: ... + def getNumTemperaturePoints(self) -> int: ... + def getPressures(self) -> typing.MutableSequence[float]: ... + def getProperty(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getTemperatures(self) -> typing.MutableSequence[float]: ... + def getTotalGridPoints(self) -> int: ... + def interpolate(self, double: float, double2: float) -> 'ThermodynamicCoupling.ThermoProperties': ... + def isBuilt(self) -> bool: ... + +class FlowRegimeDetector(java.io.Serializable): + def __init__(self): ... + def detectFlowRegime(self, pipeSection: 'PipeSection') -> 'PipeSection.FlowRegime': ... + def getDetectionMethod(self) -> 'FlowRegimeDetector.DetectionMethod': ... + def getFlowRegimeMap(self, pipeSection: 'PipeSection', double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence['PipeSection.FlowRegime']]: ... + def isUseMinimumSlipCriterion(self) -> bool: ... + def setDetectionMethod(self, detectionMethod: 'FlowRegimeDetector.DetectionMethod') -> None: ... + def setUseMinimumSlipCriterion(self, boolean: bool) -> None: ... + class DetectionMethod(java.lang.Enum['FlowRegimeDetector.DetectionMethod']): + MECHANISTIC: typing.ClassVar['FlowRegimeDetector.DetectionMethod'] = ... + MINIMUM_SLIP: typing.ClassVar['FlowRegimeDetector.DetectionMethod'] = ... + _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]) -> 'FlowRegimeDetector.DetectionMethod': ... + @staticmethod + def values() -> typing.MutableSequence['FlowRegimeDetector.DetectionMethod']: ... + +class LagrangianSlugTracker(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, long: int): ... + def advanceTimeStep(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> None: ... + def getAverageSlugLength(self) -> float: ... + def getInletSlugFrequency(self) -> float: ... + def getMassConservationError(self) -> float: ... + def getMaxSlugLength(self) -> float: ... + def getMaxSlugVolumeAtOutlet(self) -> float: ... + def getOutletInterArrivalTimes(self) -> java.util.List[float]: ... + def getOutletSlugFrequency(self) -> float: ... + def getOutletSlugLengths(self) -> java.util.List[float]: ... + def getOutletSlugVolumes(self) -> java.util.List[float]: ... + def getSlugCount(self) -> int: ... + def getSlugFrequency(self) -> float: ... + def getSlugs(self) -> java.util.List['LagrangianSlugTracker.SlugBubbleUnit']: ... + def getStatisticsString(self) -> java.lang.String: ... + def getTotalMassBorrowedFromEulerian(self) -> float: ... + def getTotalMassReturnedToEulerian(self) -> float: ... + def getTotalSlugsDissipated(self) -> int: ... + def getTotalSlugsExited(self) -> int: ... + def getTotalSlugsGenerated(self) -> int: ... + def getTotalSlugsMerged(self) -> int: ... + def initializeTerrainSlug(self, slugCharacteristics: 'LiquidAccumulationTracker.SlugCharacteristics', pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> 'LagrangianSlugTracker.SlugBubbleUnit': ... + def reset(self) -> None: ... + def setEnableInletSlugGeneration(self, boolean: bool) -> None: ... + def setEnableStochasticInitiation(self, boolean: bool) -> None: ... + def setEnableTerrainSlugGeneration(self, boolean: bool) -> None: ... + def setEnableWakeEffects(self, boolean: bool) -> None: ... + def setInitialSlugLengthDiameters(self, double: float) -> None: ... + def setInitiationHoldupThreshold(self, double: float) -> None: ... + def setMaxSlugLengthDiameters(self, double: float) -> None: ... + def setMaxWakeAcceleration(self, double: float) -> None: ... + def setMinSlugLengthDiameters(self, double: float) -> None: ... + def setReferenceVelocity(self, double: float) -> None: ... + def setWakeLengthDiameters(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class SlugBubbleUnit(java.io.Serializable): + id: int = ... + source: 'LagrangianSlugTracker.SlugSource' = ... + frontPosition: float = ... + tailPosition: float = ... + slugLength: float = ... + bubbleLength: float = ... + localDiameter: float = ... + localArea: float = ... + localInclination: float = ... + frontVelocity: float = ... + tailVelocity: float = ... + bubbleNoseVelocity: float = ... + slugLiquidVelocity: float = ... + filmVelocity: float = ... + slugHoldup: float = ... + filmHoldup: float = ... + slugLiquidVolume: float = ... + filmLiquidVolume: float = ... + slugLiquidMass: float = ... + pickupRate: float = ... + sheddingRate: float = ... + netMassRate: float = ... + isGrowing: bool = ... + isDecaying: bool = ... + isTerrainInduced: bool = ... + hasExited: bool = ... + age: float = ... + distanceTraveled: float = ... + distanceToPrecedingSlug: float = ... + inWakeRegion: bool = ... + wakeCoefficient: float = ... + def __init__(self): ... + def getTotalLiquidVolume(self) -> float: ... + def getTotalUnitLength(self) -> float: ... + def toString(self) -> java.lang.String: ... + class SlugSource(java.lang.Enum['LagrangianSlugTracker.SlugSource']): + INLET: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... + TERRAIN: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... + INSTABILITY: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... + RANDOM: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... + _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]) -> 'LagrangianSlugTracker.SlugSource': ... + @staticmethod + def values() -> typing.MutableSequence['LagrangianSlugTracker.SlugSource']: ... + +class LiquidAccumulationTracker(java.io.Serializable): + def __init__(self): ... + def calculateDrainageRate(self, accumulationZone: 'LiquidAccumulationTracker.AccumulationZone', pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> float: ... + def checkForSlugRelease(self, accumulationZone: 'LiquidAccumulationTracker.AccumulationZone', pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> 'LiquidAccumulationTracker.SlugCharacteristics': ... + def getAccumulationZones(self) -> java.util.List['LiquidAccumulationTracker.AccumulationZone']: ... + def getCriticalHoldup(self) -> float: ... + def getOverflowingZones(self) -> java.util.List['LiquidAccumulationTracker.AccumulationZone']: ... + def getTotalAccumulatedVolume(self) -> float: ... + def identifyAccumulationZones(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> None: ... + def setCriticalHoldup(self, double: float) -> None: ... + def setDrainageCoefficient(self, double: float) -> None: ... + def updateAccumulation(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> None: ... + class AccumulationZone(java.io.Serializable): + startPosition: float = ... + endPosition: float = ... + liquidVolume: float = ... + maxVolume: float = ... + liquidLevel: float = ... + isActive: bool = ... + isOverflowing: bool = ... + netInflowRate: float = ... + outflowRate: float = ... + timeSinceSlug: float = ... + sectionIndices: java.util.List = ... + def __init__(self): ... + class SlugCharacteristics(java.io.Serializable): + frontPosition: float = ... + tailPosition: float = ... + length: float = ... + holdup: float = ... + velocity: float = ... + volume: float = ... + isTerrainInduced: bool = ... + def __init__(self): ... + def toString(self) -> java.lang.String: ... + +class PipeSection(java.lang.Cloneable, java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def clone(self) -> 'PipeSection': ... + def getAccumulatedLiquidVolume(self) -> float: ... + def getArea(self) -> float: ... + def getConservativeVariables(self) -> typing.MutableSequence[float]: ... + def getDiameter(self) -> float: ... + def getEffectiveLiquidHoldup(self) -> float: ... + def getEffectiveMixtureDensity(self) -> float: ... + def getElevation(self) -> float: ... + def getFlowRegime(self) -> 'PipeSection.FlowRegime': ... + def getFrictionPressureGradient(self) -> float: ... + def getGasDensity(self) -> float: ... + def getGasEnthalpy(self) -> float: ... + def getGasHoldup(self) -> float: ... + def getGasSoundSpeed(self) -> float: ... + def getGasVelocity(self) -> float: ... + def getGasViscosity(self) -> float: ... + def getGravityPressureGradient(self) -> float: ... + def getInclination(self) -> float: ... + def getLength(self) -> float: ... + def getLiquidDensity(self) -> float: ... + def getLiquidEnthalpy(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getLiquidLevel(self) -> float: ... + def getLiquidSoundSpeed(self) -> float: ... + def getLiquidVelocity(self) -> float: ... + def getLiquidViscosity(self) -> float: ... + def getMassTransferRate(self) -> float: ... + def getMixtureDensity(self) -> float: ... + def getMixtureHeatCapacity(self) -> float: ... + def getMixtureVelocity(self) -> float: ... + def getPosition(self) -> float: ... + def getPressure(self) -> float: ... + def getRoughness(self) -> float: ... + def getSlugHoldup(self) -> float: ... + def getSuperficialGasVelocity(self) -> float: ... + def getSuperficialLiquidVelocity(self) -> float: ... + def getSurfaceTension(self) -> float: ... + def getTemperature(self) -> float: ... + def getWallisSoundSpeed(self) -> float: ... + def isHighPoint(self) -> bool: ... + def isInSlugBody(self) -> bool: ... + def isInSlugBubble(self) -> bool: ... + def isLowPoint(self) -> bool: ... + def setAccumulatedLiquidVolume(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElevation(self, double: float) -> None: ... + def setFlowRegime(self, flowRegime: 'PipeSection.FlowRegime') -> None: ... + def setFrictionPressureGradient(self, double: float) -> None: ... + def setFromConservativeVariables(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setGasDensity(self, double: float) -> None: ... + def setGasEnthalpy(self, double: float) -> None: ... + def setGasHoldup(self, double: float) -> None: ... + def setGasSoundSpeed(self, double: float) -> None: ... + def setGasVelocity(self, double: float) -> None: ... + def setGasViscosity(self, double: float) -> None: ... + def setGravityPressureGradient(self, double: float) -> None: ... + def setHighPoint(self, boolean: bool) -> None: ... + def setInSlugBody(self, boolean: bool) -> None: ... + def setInSlugBubble(self, boolean: bool) -> None: ... + def setInclination(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidEnthalpy(self, double: float) -> None: ... + def setLiquidHoldup(self, double: float) -> None: ... + def setLiquidSoundSpeed(self, double: float) -> None: ... + def setLiquidVelocity(self, double: float) -> None: ... + def setLiquidViscosity(self, double: float) -> None: ... + def setLowPoint(self, boolean: bool) -> None: ... + def setMassTransferRate(self, double: float) -> None: ... + def setMixtureHeatCapacity(self, double: float) -> None: ... + def setPosition(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setRoughness(self, double: float) -> None: ... + def setSlugHoldup(self, double: float) -> None: ... + def setSurfaceTension(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def updateDerivedQuantities(self) -> None: ... + class FlowRegime(java.lang.Enum['PipeSection.FlowRegime']): + STRATIFIED_SMOOTH: typing.ClassVar['PipeSection.FlowRegime'] = ... + STRATIFIED_WAVY: typing.ClassVar['PipeSection.FlowRegime'] = ... + SLUG: typing.ClassVar['PipeSection.FlowRegime'] = ... + ANNULAR: typing.ClassVar['PipeSection.FlowRegime'] = ... + DISPERSED_BUBBLE: typing.ClassVar['PipeSection.FlowRegime'] = ... + BUBBLE: typing.ClassVar['PipeSection.FlowRegime'] = ... + CHURN: typing.ClassVar['PipeSection.FlowRegime'] = ... + MIST: typing.ClassVar['PipeSection.FlowRegime'] = ... + SINGLE_PHASE_GAS: typing.ClassVar['PipeSection.FlowRegime'] = ... + SINGLE_PHASE_LIQUID: typing.ClassVar['PipeSection.FlowRegime'] = ... + _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]) -> 'PipeSection.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['PipeSection.FlowRegime']: ... + +class SlugTracker(java.io.Serializable): + def __init__(self): ... + def advanceSlugs(self, pipeSectionArray: typing.Union[typing.List[PipeSection], jpype.JArray], double: float) -> None: ... + def generateInletSlug(self, pipeSection: PipeSection, double: float) -> 'SlugTracker.SlugUnit': ... + def getAverageSlugLength(self) -> float: ... + def getMassConservationError(self) -> float: ... + def getMaxSlugLength(self) -> float: ... + def getSlugBodyHoldup(self) -> float: ... + def getSlugCount(self) -> int: ... + def getSlugFrequency(self) -> float: ... + def getSlugs(self) -> java.util.List['SlugTracker.SlugUnit']: ... + def getStatisticsString(self) -> java.lang.String: ... + def getTotalMassBorrowedFromEulerian(self) -> float: ... + def getTotalMassReturnedToEulerian(self) -> float: ... + def getTotalSlugsGenerated(self) -> int: ... + def getTotalSlugsMerged(self) -> int: ... + def initializeTerrainSlug(self, slugCharacteristics: LiquidAccumulationTracker.SlugCharacteristics, pipeSectionArray: typing.Union[typing.List[PipeSection], jpype.JArray]) -> 'SlugTracker.SlugUnit': ... + def reset(self) -> None: ... + def setFilmHoldup(self, double: float) -> None: ... + def setMinimumSlugLength(self, double: float) -> None: ... + def setReferenceVelocity(self, double: float) -> None: ... + def setSlugBodyHoldup(self, double: float) -> None: ... + class SlugUnit(java.io.Serializable): + id: int = ... + frontPosition: float = ... + tailPosition: float = ... + slugBodyLength: float = ... + bubbleLength: float = ... + frontVelocity: float = ... + tailVelocity: float = ... + bodyHoldup: float = ... + filmHoldup: float = ... + liquidVolume: float = ... + isGrowing: bool = ... + isDecaying: bool = ... + isTerrainInduced: bool = ... + age: float = ... + localInclination: float = ... + borrowedLiquidMass: float = ... + borrowedFromSections: typing.MutableSequence[int] = ... + def __init__(self): ... + def getTotalLength(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class ThermodynamicCoupling(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcMassTransferRate(self, twoFluidSection: 'TwoFluidSection', double: float) -> float: ... + def calcMassTransferRatePerLength(self, twoFluidSection: 'TwoFluidSection', double: float) -> float: ... + def calcMixtureSoundSpeed(self, twoFluidSection: 'TwoFluidSection') -> float: ... + def flashPH(self, double: float, double2: float) -> 'ThermodynamicCoupling.ThermoProperties': ... + def flashPT(self, double: float, double2: float) -> 'ThermodynamicCoupling.ThermoProperties': ... + def getFlashTable(self) -> FlashTable: ... + def getFlashTolerance(self) -> float: ... + def getMaxFlashIterations(self) -> int: ... + def getReferenceFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def isUsingFlashTable(self) -> bool: ... + def setFlashTable(self, flashTable: FlashTable) -> None: ... + def setFlashTolerance(self, double: float) -> None: ... + def setMaxFlashIterations(self, int: int) -> None: ... + def setPressureRange(self, double: float, double2: float) -> None: ... + def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTemperatureRange(self, double: float, double2: float) -> None: ... + def updateAllSections(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray]) -> None: ... + def updateSectionProperties(self, twoFluidSection: 'TwoFluidSection') -> None: ... + class ThermoProperties(java.io.Serializable): + gasVaporFraction: float = ... + liquidFraction: float = ... + gasDensity: float = ... + liquidDensity: float = ... + gasViscosity: float = ... + liquidViscosity: float = ... + gasEnthalpy: float = ... + liquidEnthalpy: float = ... + gasSoundSpeed: float = ... + liquidSoundSpeed: float = ... + surfaceTension: float = ... + gasMolarMass: float = ... + liquidMolarMass: float = ... + gasCompressibility: float = ... + liquidCompressibility: float = ... + gasCp: float = ... + liquidCp: float = ... + gasThermalConductivity: float = ... + liquidThermalConductivity: float = ... + converged: bool = ... + errorMessage: java.lang.String = ... + def __init__(self): ... + +class ThreeFluidConservationEquations(java.io.Serializable): + def __init__(self): ... + def calcRHS(self, threeFluidSection: 'ThreeFluidSection', double: float, threeFluidSection2: 'ThreeFluidSection', threeFluidSection3: 'ThreeFluidSection') -> 'ThreeFluidConservationEquations.ThreeFluidRHS': ... + def getHeatTransferCoefficient(self) -> float: ... + def getStateVector(self, threeFluidSection: 'ThreeFluidSection') -> typing.MutableSequence[float]: ... + def getSurfaceTemperature(self) -> float: ... + def isEnableHeatTransfer(self) -> bool: ... + def setEnableHeatTransfer(self, boolean: bool) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setStateVector(self, threeFluidSection: 'ThreeFluidSection', doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSurfaceTemperature(self, double: float) -> None: ... + class ThreeFluidRHS(java.io.Serializable): + gasMass: float = ... + oilMass: float = ... + waterMass: float = ... + gasMomentum: float = ... + oilMomentum: float = ... + waterMomentum: float = ... + energy: float = ... + gasWallShear: float = ... + oilWallShear: float = ... + waterWallShear: float = ... + gasOilInterfacialShear: float = ... + oilWaterInterfacialShear: float = ... + def __init__(self): ... + +class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.pipeline.PipeLineInterface): + @typing.overload + def __init__(self): ... + @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 calculateHoopStress(self) -> float: ... + def calculateMAOP(self) -> float: ... + def calculateMinimumWallThickness(self) -> float: ... + def calculateOverallHeatTransferCoefficient(self) -> float: ... + def calculateTestPressure(self) -> float: ... + def calculateVonMisesStress(self, double: float) -> float: ... + def generateMechanicalDesignReport(self) -> java.lang.String: ... + def getAccumulationTracker(self) -> LiquidAccumulationTracker: ... + def getAmbientTemperature(self) -> float: ... + def getAngle(self) -> float: ... + def getBurialDepth(self) -> float: ... + def getCalculationIdentifier(self) -> java.util.UUID: ... + def getCoatingConductivity(self) -> float: ... + def getCoatingThickness(self) -> float: ... + def getCorrosionAllowance(self) -> float: ... + def getDesignCode(self) -> java.lang.String: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDiameter(self) -> float: ... + def getElevation(self) -> float: ... + def getEnergyResidual(self) -> float: ... + def getFlowRegime(self) -> java.lang.String: ... + def getFrictionFactor(self) -> float: ... + def getGasVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getHeatTransferCoefficient(self) -> float: ... + def getInletElevation(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInnerHeatTransferCoefficient(self) -> float: ... + def getInsulationConductivity(self) -> float: ... + def getInsulationThickness(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getJouleThomsonCoeff(self) -> float: ... + def getLength(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... + def getLocationClass(self) -> int: ... + def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMassResidual(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMechanicalDesignCalculator(self) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... + def getName(self) -> java.lang.String: ... + def getNumberOfIncrements(self) -> int: ... + def getNumberOfLegs(self) -> int: ... + def getOuterHeatTransferCoefficient(self) -> float: ... + def getOutletElevation(self) -> float: ... + def getOutletMassFlow(self) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOverallHeatTransferCoeff(self) -> float: ... + def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... + def getPipeElasticity(self) -> float: ... + def getPipeMaterial(self) -> java.lang.String: ... + def getPipeSchedule(self) -> java.lang.String: ... + def getPipeWallConductivity(self) -> float: ... + def getPipeWallRoughness(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPressureHistory(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getReynoldsNumber(self) -> float: ... + def getRoughness(self) -> float: ... + def getSections(self) -> typing.MutableSequence[PipeSection]: ... + def getSimulationTime(self) -> float: ... + def getSlugTracker(self) -> SlugTracker: ... + def getSoilConductivity(self) -> float: ... + def getSuperficialVelocity(self, int: int) -> float: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTotalTimeSteps(self) -> int: ... + def getVelocity(self) -> float: ... + def getWallThickness(self) -> float: ... + def initializePipe(self) -> None: ... + def isAdiabatic(self) -> bool: ... + def isBuried(self) -> bool: ... + def isConverged(self) -> bool: ... + def isIncludeHeatTransfer(self) -> bool: ... + def isMechanicalDesignSafe(self) -> bool: ... + @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 setAdiabatic(self, boolean: bool) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setAmbientTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAngle(self, double: float) -> None: ... + def setBurialDepth(self, double: float) -> None: ... + def setBuried(self, boolean: bool) -> None: ... + def setCalculationIdentifier(self, uUID: java.util.UUID) -> None: ... + def setCflNumber(self, double: float) -> None: ... + def setCoatingConductivity(self, double: float) -> None: ... + def setCoatingThickness(self, double: float) -> None: ... + def setConstantSurfaceTemperature(self, double: float) -> None: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setDesignCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDesignPressure(self, double: float) -> None: ... + @typing.overload + def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDiameter(self, double: float) -> None: ... + def setElevation(self, double: float) -> None: ... + def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInclinationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setIncludeHeatTransfer(self, boolean: bool) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... + def setInletElevation(self, double: float) -> None: ... + def setInletMassFlow(self, double: float) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInnerHeatTransferCoefficient(self, double: float) -> None: ... + def setInsulationConductivity(self, double: float) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLength(self, double: float) -> None: ... + def setLocationClass(self, int: int) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxSimulationTime(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfIncrements(self, int: int) -> None: ... + def setNumberOfLegs(self, int: int) -> None: ... + def setNumberOfNodesInLeg(self, int: int) -> None: ... + def setNumberOfSections(self, int: int) -> None: ... + @typing.overload + def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutPressure(self, double: float) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + def setOuterHeatTransferCoefficient(self, double: float) -> None: ... + def setOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... + def setOutletElevation(self, double: float) -> None: ... + def setOutletMassFlow(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOverallHeatTransferCoeff(self, double: float) -> None: ... + def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeWallConductivity(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, double: float) -> None: ... + @typing.overload + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setRoughness(self, double: float) -> None: ... + def setSoilConductivity(self, double: float) -> None: ... + def setThermodynamicUpdateInterval(self, int: int) -> None: ... + def setUpdateThermodynamics(self, boolean: bool) -> None: ... + def setWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def setinletPressureValue(self, double: float) -> None: ... + def setoutletPressureValue(self, double: float) -> None: ... + class BoundaryCondition(java.lang.Enum['TransientPipe.BoundaryCondition']): + CONSTANT_PRESSURE: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... + CONSTANT_FLOW: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... + CONSTANT_VELOCITY: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... + CLOSED: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... + TRANSIENT_PRESSURE: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... + TRANSIENT_FLOW: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... + _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]) -> 'TransientPipe.BoundaryCondition': ... + @staticmethod + def values() -> typing.MutableSequence['TransientPipe.BoundaryCondition']: ... + +class TwoFluidConservationEquations(java.io.Serializable): + NUM_EQUATIONS: typing.ClassVar[int] = ... + IDX_GAS_MASS: typing.ClassVar[int] = ... + IDX_OIL_MASS: typing.ClassVar[int] = ... + IDX_WATER_MASS: typing.ClassVar[int] = ... + IDX_GAS_MOMENTUM: typing.ClassVar[int] = ... + IDX_OIL_MOMENTUM: typing.ClassVar[int] = ... + IDX_WATER_MOMENTUM: typing.ClassVar[int] = ... + IDX_ENERGY: typing.ClassVar[int] = ... + IDX_LIQUID_MOMENTUM: typing.ClassVar[int] = ... + def __init__(self): ... + def applyPressureGradient(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> None: ... + def applyState(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def calcRHS(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], double: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def extractState(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getFlowRegimeDetector(self) -> FlowRegimeDetector: ... + def getFluxCalculator(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.AUSMPlusFluxCalculator: ... + def getHeatTransferCoefficient(self) -> float: ... + def getInterfacialFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.InterfacialFriction: ... + def getMassTransferCoefficient(self) -> float: ... + def getReconstructor(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.MUSCLReconstructor: ... + def getSurfaceTemperature(self) -> float: ... + def getTimestep(self) -> float: ... + def getVirtualMassCoefficient(self) -> float: ... + def getWallFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... + def isEnableWaterOilSlip(self) -> bool: ... + def isHeatTransferEnabled(self) -> bool: ... + def isIncludeEnergyEquation(self) -> bool: ... + def isIncludeMassTransfer(self) -> bool: ... + def isVirtualMassForceEnabled(self) -> bool: ... + def resetVirtualMassState(self) -> None: ... + def setEnableHeatTransfer(self, boolean: bool) -> None: ... + def setEnableVirtualMassForce(self, boolean: bool) -> None: ... + def setEnableWaterOilSlip(self, boolean: bool) -> None: ... + def setHeatTransferCoefficient(self, double: float) -> None: ... + def setIncludeEnergyEquation(self, boolean: bool) -> None: ... + def setIncludeMassTransfer(self, boolean: bool) -> None: ... + def setMassTransferCoefficient(self, double: float) -> None: ... + def setMassTransferRelaxationTime(self, double: float) -> None: ... + def setSurfaceTemperature(self, double: float) -> None: ... + def setThermodynamicCoupling(self, thermodynamicCoupling: ThermodynamicCoupling) -> None: ... + def setTimestep(self, double: float) -> None: ... + def setVirtualMassCoefficient(self, double: float) -> None: ... + +class TwoFluidSection(PipeSection): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def calcGravityForces(self) -> typing.MutableSequence[float]: ... + def calcOilWaterInterfacialShear(self) -> float: ... + def clone(self) -> 'TwoFluidSection': ... + def extractPrimitiveVariables(self) -> None: ... + @staticmethod + def fromPipeSection(pipeSection: PipeSection) -> 'TwoFluidSection': ... + def getAccumulatedLiquidVolume(self) -> float: ... + def getEnergyPerLength(self) -> float: ... + def getEnergySource(self) -> float: ... + def getEntrainedDropletDiameter(self) -> float: ... + def getEntrainmentFraction(self) -> float: ... + def getGasHydraulicDiameter(self) -> float: ... + def getGasMassPerLength(self) -> float: ... + def getGasMassSource(self) -> float: ... + def getGasMomentumPerLength(self) -> float: ... + def getGasMomentumSource(self) -> float: ... + def getGasWallShear(self) -> float: ... + def getGasWettedPerimeter(self) -> float: ... + def getInterfacialShear(self) -> float: ... + def getInterfacialWidth(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getLiquidHydraulicDiameter(self) -> float: ... + def getLiquidMassPerLength(self) -> float: ... + def getLiquidMassSource(self) -> float: ... + def getLiquidMomentumPerLength(self) -> float: ... + def getLiquidMomentumSource(self) -> float: ... + def getLiquidWallShear(self) -> float: ... + def getLiquidWettedPerimeter(self) -> float: ... + def getOilDensity(self) -> float: ... + def getOilFractionInLiquid(self) -> float: ... + def getOilHoldup(self) -> float: ... + def getOilMassPerLength(self) -> float: ... + def getOilMomentumPerLength(self) -> float: ... + def getOilVelocity(self) -> float: ... + def getOilViscosity(self) -> float: ... + def getOilWaterDetector(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector: ... + def getOilWaterFlowRegime(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterFlowRegime: ... + def getOilWaterInterfacialTension(self) -> float: ... + def getOilWaterResult(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterResult: ... + def getSevereSluggingNumber(self) -> float: ... + def getStateVector(self) -> typing.MutableSequence[float]: ... + def getStratifiedLiquidLevel(self) -> float: ... + def getTimeSinceTerrainSlug(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterDensity(self) -> float: ... + def getWaterHoldup(self) -> float: ... + def getWaterMassPerLength(self) -> float: ... + def getWaterMomentumPerLength(self) -> float: ... + def getWaterVelocity(self) -> float: ... + def getWaterViscosity(self) -> float: ... + def isSevereSlugPotential(self) -> bool: ... + def isTerrainSlugPending(self) -> bool: ... + def isWaterDropoutRisk(self) -> bool: ... + def isWaterWetting(self) -> bool: ... + def setAccumulatedLiquidVolume(self, double: float) -> None: ... + def setEnergyPerLength(self, double: float) -> None: ... + def setEnergySource(self, double: float) -> None: ... + def setEntrainedDropletDiameter(self, double: float) -> None: ... + def setEntrainmentFraction(self, double: float) -> None: ... + def setGasHydraulicDiameter(self, double: float) -> None: ... + def setGasMassPerLength(self, double: float) -> None: ... + def setGasMassSource(self, double: float) -> None: ... + def setGasMomentumPerLength(self, double: float) -> None: ... + def setGasMomentumSource(self, double: float) -> None: ... + def setGasWallShear(self, double: float) -> None: ... + def setGasWettedPerimeter(self, double: float) -> None: ... + def setInterfacialShear(self, double: float) -> None: ... + def setInterfacialWidth(self, double: float) -> None: ... + def setLiquidHoldup(self, double: float) -> None: ... + def setLiquidHydraulicDiameter(self, double: float) -> None: ... + def setLiquidMassPerLength(self, double: float) -> None: ... + def setLiquidMassSource(self, double: float) -> None: ... + def setLiquidMomentumPerLength(self, double: float) -> None: ... + def setLiquidMomentumSource(self, double: float) -> None: ... + def setLiquidWallShear(self, double: float) -> None: ... + def setLiquidWettedPerimeter(self, double: float) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setOilFractionInLiquid(self, double: float) -> None: ... + def setOilHoldup(self, double: float) -> None: ... + def setOilMassPerLength(self, double: float) -> None: ... + def setOilMomentumPerLength(self, double: float) -> None: ... + def setOilVelocity(self, double: float) -> None: ... + def setOilViscosity(self, double: float) -> None: ... + def setOilWaterDetector(self, oilWaterFlowRegimeDetector: jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector) -> None: ... + def setOilWaterInterfacialTension(self, double: float) -> None: ... + def setSevereSlugPotential(self, boolean: bool) -> None: ... + def setSevereSluggingNumber(self, double: float) -> None: ... + def setStateVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStratifiedLiquidLevel(self, double: float) -> None: ... + def setTerrainSlugPending(self, boolean: bool) -> None: ... + def setTimeSinceTerrainSlug(self, double: float) -> None: ... + def setWaterCut(self, double: float) -> None: ... + def setWaterDensity(self, double: float) -> None: ... + def setWaterHoldup(self, double: float) -> None: ... + def setWaterMassPerLength(self, double: float) -> None: ... + def setWaterMomentumPerLength(self, double: float) -> None: ... + def setWaterVelocity(self, double: float) -> None: ... + def setWaterViscosity(self, double: float) -> None: ... + def updateConservativeVariables(self) -> None: ... + def updateStratifiedGeometry(self) -> None: ... + def updateThreePhaseProperties(self) -> None: ... + def updateWaterOilConservativeVariables(self) -> None: ... + def updateWaterOilHoldups(self) -> None: ... + +class ThreeFluidSection(TwoFluidSection): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def clone(self) -> 'ThreeFluidSection': ... + def extractPrimitiveVariables(self) -> None: ... + def getGasOilInterfacialWidth(self) -> float: ... + def getGasOilSurfaceTension(self) -> float: ... + def getGasWaterSurfaceTension(self) -> float: ... + def getMixtureLiquidDensity(self) -> float: ... + def getMixtureLiquidVelocity(self) -> float: ... + def getMixtureLiquidViscosity(self) -> float: ... + def getOilArea(self) -> float: ... + def getOilDensity(self) -> float: ... + def getOilEnthalpy(self) -> float: ... + def getOilEvaporationRate(self) -> float: ... + def getOilHoldup(self) -> float: ... + def getOilLevel(self) -> float: ... + def getOilMassPerLength(self) -> float: ... + def getOilMomentumPerLength(self) -> float: ... + def getOilVelocity(self) -> float: ... + def getOilViscosity(self) -> float: ... + def getOilWaterInterfacialWidth(self) -> float: ... + def getOilWaterSurfaceTension(self) -> float: ... + def getOilWettedPerimeter(self) -> float: ... + def getTotalLiquidHoldup(self) -> float: ... + def getWaterArea(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterDensity(self) -> float: ... + def getWaterEnthalpy(self) -> float: ... + def getWaterEvaporationRate(self) -> float: ... + def getWaterHoldup(self) -> float: ... + def getWaterLevel(self) -> float: ... + def getWaterMassPerLength(self) -> float: ... + def getWaterMomentumPerLength(self) -> float: ... + def getWaterVelocity(self) -> float: ... + def getWaterViscosity(self) -> float: ... + def getWaterWettedPerimeter(self) -> float: ... + def setGasOilSurfaceTension(self, double: float) -> None: ... + def setGasWaterSurfaceTension(self, double: float) -> None: ... + def setHoldups(self, double: float, double2: float, double3: float) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setOilEnthalpy(self, double: float) -> None: ... + def setOilEvaporationRate(self, double: float) -> None: ... + def setOilHoldup(self, double: float) -> None: ... + def setOilMassPerLength(self, double: float) -> None: ... + def setOilMomentumPerLength(self, double: float) -> None: ... + def setOilVelocity(self, double: float) -> None: ... + def setOilViscosity(self, double: float) -> None: ... + def setOilWaterSurfaceTension(self, double: float) -> None: ... + def setWaterCut(self, double: float) -> None: ... + def setWaterDensity(self, double: float) -> None: ... + def setWaterEnthalpy(self, double: float) -> None: ... + def setWaterEvaporationRate(self, double: float) -> None: ... + def setWaterHoldup(self, double: float) -> None: ... + def setWaterMassPerLength(self, double: float) -> None: ... + def setWaterMomentumPerLength(self, double: float) -> None: ... + def setWaterVelocity(self, double: float) -> None: ... + def setWaterViscosity(self, double: float) -> None: ... + def updateConservativeVariables(self) -> None: ... + def updateThreeLayerGeometry(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe")``. + + DriftFluxModel: typing.Type[DriftFluxModel] + EntrainmentDeposition: typing.Type[EntrainmentDeposition] + FlashTable: typing.Type[FlashTable] + FlowRegimeDetector: typing.Type[FlowRegimeDetector] + LagrangianSlugTracker: typing.Type[LagrangianSlugTracker] + LiquidAccumulationTracker: typing.Type[LiquidAccumulationTracker] + PipeSection: typing.Type[PipeSection] + SlugTracker: typing.Type[SlugTracker] + ThermodynamicCoupling: typing.Type[ThermodynamicCoupling] + ThreeFluidConservationEquations: typing.Type[ThreeFluidConservationEquations] + ThreeFluidSection: typing.Type[ThreeFluidSection] + TransientPipe: typing.Type[TransientPipe] + TwoFluidConservationEquations: typing.Type[TwoFluidConservationEquations] + TwoFluidSection: typing.Type[TwoFluidSection] + closure: jneqsim.process.equipment.pipeline.twophasepipe.closure.__module_protocol__ + numerics: jneqsim.process.equipment.pipeline.twophasepipe.numerics.__module_protocol__ + reporting: jneqsim.process.equipment.pipeline.twophasepipe.reporting.__module_protocol__ + validation: jneqsim.process.equipment.pipeline.twophasepipe.validation.__module_protocol__ diff --git a/src/jneqsim/process/equipment/pipeline/twophasepipe/closure/__init__.pyi b/src/jneqsim/process/equipment/pipeline/twophasepipe/closure/__init__.pyi new file mode 100644 index 00000000..eb6fe1ae --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/twophasepipe/closure/__init__.pyi @@ -0,0 +1,113 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.process.equipment.pipeline.twophasepipe +import typing + + + +class GeometryCalculator(java.io.Serializable): + def __init__(self): ... + def approximateLiquidLevel(self, double: float, double2: float) -> float: ... + def calcAnnularFilmThickness(self, double: float, double2: float) -> float: ... + def calcAnnularGasPerimeter(self, double: float, double2: float) -> float: ... + def calcAreaDerivative(self, double: float, double2: float) -> float: ... + def calculateFromHoldup(self, double: float, double2: float) -> 'GeometryCalculator.StratifiedGeometry': ... + def calculateFromLiquidLevel(self, double: float, double2: float) -> 'GeometryCalculator.StratifiedGeometry': ... + def isStratifiedStable(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> bool: ... + class StratifiedGeometry(java.io.Serializable): + liquidArea: float = ... + gasArea: float = ... + liquidWettedPerimeter: float = ... + gasWettedPerimeter: float = ... + interfacialWidth: float = ... + liquidHydraulicDiameter: float = ... + gasHydraulicDiameter: float = ... + liquidAngle: float = ... + liquidLevel: float = ... + liquidHoldup: float = ... + def __init__(self): ... + +class InterfacialFriction(java.io.Serializable): + def __init__(self): ... + def calcAndreussiPersenCorrelation(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> 'InterfacialFriction.InterfacialFrictionResult': ... + def calcHartCorrelation(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> 'InterfacialFriction.InterfacialFrictionResult': ... + def calcInterfacialForce(self, flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + def calculate(self, flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'InterfacialFriction.InterfacialFrictionResult': ... + class InterfacialFrictionResult(java.io.Serializable): + interfacialShear: float = ... + frictionFactor: float = ... + slipVelocity: float = ... + interfacialAreaPerLength: float = ... + def __init__(self): ... + +class OilWaterFlowRegimeDetector(java.io.Serializable): + def __init__(self): ... + def calcCriticalDispersionVelocity(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def calcEffectiveViscosity(self, double: float, double2: float, double3: float, boolean: bool) -> float: ... + def calcInversionWaterFraction(self, double: float, double2: float, double3: float) -> float: ... + def calcMaxDropletDiameter(self, double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def detect(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'OilWaterFlowRegimeDetector.OilWaterResult': ... + def getCriticalWeber(self) -> float: ... + def getInversionConstant(self) -> float: ... + def isWaterDropoutLikely(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> bool: ... + def setCriticalWeber(self, double: float) -> None: ... + def setInversionConstant(self, double: float) -> None: ... + class OilWaterFlowRegime(java.lang.Enum['OilWaterFlowRegimeDetector.OilWaterFlowRegime']): + STRATIFIED: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + STRATIFIED_WITH_MIXING: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + DISPERSED_OIL_IN_WATER: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + DISPERSED_WATER_IN_OIL: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + DUAL_DISPERSION: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + ANNULAR: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + SINGLE_PHASE: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... + _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]) -> 'OilWaterFlowRegimeDetector.OilWaterFlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['OilWaterFlowRegimeDetector.OilWaterFlowRegime']: ... + class OilWaterResult: + regime: 'OilWaterFlowRegimeDetector.OilWaterFlowRegime' = ... + waterWetting: bool = ... + effectiveViscosity: float = ... + inversionWaterFraction: float = ... + criticalDispersionVelocity: float = ... + maxDropletDiameter: float = ... + oilContinuous: bool = ... + waterDropoutRisk: bool = ... + def __init__(self, oilWaterFlowRegime: 'OilWaterFlowRegimeDetector.OilWaterFlowRegime', boolean: bool, double: float, double2: float, double3: float, double4: float, boolean2: bool, boolean3: bool): ... + +class WallFriction(java.io.Serializable): + def __init__(self): ... + def calcColebrookFanning(self, double: float, double2: float, double3: float) -> float: ... + def calcFanningFrictionFactor(self, double: float, double2: float, double3: float) -> float: ... + def calculate(self, flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'WallFriction.WallFrictionResult': ... + def getDefaultRoughness(self) -> float: ... + def setDefaultRoughness(self, double: float) -> None: ... + class WallFrictionResult(java.io.Serializable): + gasWallShear: float = ... + liquidWallShear: float = ... + gasFrictionFactor: float = ... + liquidFrictionFactor: float = ... + gasReynolds: float = ... + liquidReynolds: float = ... + def __init__(self): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.closure")``. + + GeometryCalculator: typing.Type[GeometryCalculator] + InterfacialFriction: typing.Type[InterfacialFriction] + OilWaterFlowRegimeDetector: typing.Type[OilWaterFlowRegimeDetector] + WallFriction: typing.Type[WallFriction] diff --git a/src/jneqsim/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi b/src/jneqsim/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi new file mode 100644 index 00000000..265f5990 --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi @@ -0,0 +1,153 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import typing + + + +class AUSMPlusFluxCalculator(java.io.Serializable): + def __init__(self): ... + def calcMachMinus(self, double: float) -> float: ... + def calcMachPlus(self, double: float) -> float: ... + def calcPhaseFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.PhaseFlux': ... + def calcPressureMinus(self, double: float) -> float: ... + def calcPressurePlus(self, double: float) -> float: ... + def calcRusanovFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.PhaseFlux': ... + def calcTwoFluidFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', phaseState3: 'AUSMPlusFluxCalculator.PhaseState', phaseState4: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.TwoFluidFlux': ... + def calcUpwindFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.PhaseFlux': ... + def getAlpha(self) -> float: ... + def getBeta(self) -> float: ... + def getMinSoundSpeed(self) -> float: ... + def setAlpha(self, double: float) -> None: ... + def setBeta(self, double: float) -> None: ... + def setMinSoundSpeed(self, double: float) -> None: ... + class PhaseFlux(java.io.Serializable): + massFlux: float = ... + momentumFlux: float = ... + energyFlux: float = ... + holdupFlux: float = ... + def __init__(self): ... + class PhaseState(java.io.Serializable): + density: float = ... + velocity: float = ... + pressure: float = ... + soundSpeed: float = ... + enthalpy: float = ... + holdup: float = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + class TwoFluidFlux(java.io.Serializable): + gasFlux: 'AUSMPlusFluxCalculator.PhaseFlux' = ... + liquidFlux: 'AUSMPlusFluxCalculator.PhaseFlux' = ... + interfaceMach: float = ... + def __init__(self): ... + +class ConservativeStateLimiter: + @staticmethod + def enforceThreePhaseMassPositivity(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class MUSCLReconstructor(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, slopeLimiter: 'MUSCLReconstructor.SlopeLimiter'): ... + def calcLimitedSlope(self, double: float, double2: float) -> float: ... + def calcLimiter(self, double: float) -> float: ... + def getLimiterType(self) -> 'MUSCLReconstructor.SlopeLimiter': ... + def isSecondOrder(self) -> bool: ... + def mc(self, double: float) -> float: ... + def minmod(self, double: float) -> float: ... + def minmod3(self, double: float, double2: float, double3: float) -> float: ... + def reconstruct(self, double: float, double2: float, double3: float, double4: float) -> 'MUSCLReconstructor.ReconstructedPair': ... + def reconstructArray(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence['MUSCLReconstructor.ReconstructedPair']: ... + def setLimiterType(self, slopeLimiter: 'MUSCLReconstructor.SlopeLimiter') -> None: ... + def superbee(self, double: float) -> float: ... + def vanAlbada(self, double: float) -> float: ... + def vanLeer(self, double: float) -> float: ... + class ReconstructedPair(java.io.Serializable): + left: float = ... + right: float = ... + def __init__(self): ... + class SlopeLimiter(java.lang.Enum['MUSCLReconstructor.SlopeLimiter']): + MINMOD: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... + VAN_LEER: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... + VAN_ALBADA: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... + SUPERBEE: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... + MC: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... + NONE: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... + _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]) -> 'MUSCLReconstructor.SlopeLimiter': ... + @staticmethod + def values() -> typing.MutableSequence['MUSCLReconstructor.SlopeLimiter']: ... + +class TimeIntegrator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, method: 'TimeIntegrator.Method'): ... + def advanceTime(self, double: float) -> None: ... + def calcIMEXTimeStep(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> float: ... + def calcStableTimeStep(self, double: float, double2: float) -> float: ... + def calcTwoFluidTimeStep(self, 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], double5: float) -> float: ... + def getCflNumber(self) -> float: ... + def getCurrentDt(self) -> float: ... + def getCurrentTime(self) -> float: ... + def getMaxTimeStep(self) -> float: ... + def getMethod(self) -> 'TimeIntegrator.Method': ... + def getMinTimeStep(self) -> float: ... + def reset(self) -> None: ... + def setCflNumber(self, double: float) -> None: ... + def setCurrentTime(self, double: float) -> None: ... + @typing.overload + def setIMEXProperties(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, boolean: bool) -> None: ... + @typing.overload + def setIMEXProperties(self, 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], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray], double7: float, double8: float, boolean: bool) -> None: ... + def setMaxTimeStep(self, double: float) -> None: ... + def setMethod(self, method: 'TimeIntegrator.Method') -> None: ... + def setMinTimeStep(self, double: float) -> None: ... + def step(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepEuler(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepIMEXPressureCorrection(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepRK2(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepRK4(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepSSPRK3(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + class Method(java.lang.Enum['TimeIntegrator.Method']): + EULER: typing.ClassVar['TimeIntegrator.Method'] = ... + RK2: typing.ClassVar['TimeIntegrator.Method'] = ... + RK4: typing.ClassVar['TimeIntegrator.Method'] = ... + SSP_RK3: typing.ClassVar['TimeIntegrator.Method'] = ... + IMEX_PRESSURE_CORRECTION: typing.ClassVar['TimeIntegrator.Method'] = ... + _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]) -> 'TimeIntegrator.Method': ... + @staticmethod + def values() -> typing.MutableSequence['TimeIntegrator.Method']: ... + class RHSFunction: + def evaluate(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.numerics")``. + + AUSMPlusFluxCalculator: typing.Type[AUSMPlusFluxCalculator] + ConservativeStateLimiter: typing.Type[ConservativeStateLimiter] + MUSCLReconstructor: typing.Type[MUSCLReconstructor] + TimeIntegrator: typing.Type[TimeIntegrator] diff --git a/src/jneqsim/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi b/src/jneqsim/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi new file mode 100644 index 00000000..f51e6431 --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi @@ -0,0 +1,54 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.nio.file +import java.util +import jpype.protocol +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.pipeline.twophasepipe.validation +import typing + + + +class TwoFluidPipeReport: + @staticmethod + def capture(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> 'TwoFluidPipeReport.ProfileSnapshot': ... + @staticmethod + def newSnapshotList() -> java.util.List['TwoFluidPipeReport.ProfileSnapshot']: ... + @staticmethod + def toComparisonCsv(comparison: jneqsim.process.equipment.pipeline.twophasepipe.validation.TwoFluidBenchmarkHarness.Comparison) -> java.lang.String: ... + @staticmethod + def toSlugAndFlowAssuranceCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + @staticmethod + def toSteadyStateProfileCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + @staticmethod + def toSummaryJson(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + @staticmethod + def toSummaryText(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + @staticmethod + def toTransientProfileCsv(list: java.util.List['TwoFluidPipeReport.ProfileSnapshot']) -> java.lang.String: ... + @staticmethod + def writeComparisonCsv(comparison: jneqsim.process.equipment.pipeline.twophasepipe.validation.TwoFluidBenchmarkHarness.Comparison, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @staticmethod + def writeSlugAndFlowAssuranceCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @staticmethod + def writeSteadyStateProfileCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @staticmethod + def writeSummaryJson(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @staticmethod + def writeSummaryText(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @staticmethod + def writeTransientProfileCsv(list: java.util.List['TwoFluidPipeReport.ProfileSnapshot'], path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + class ProfileSnapshot: + def getTimeSeconds(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.reporting")``. + + TwoFluidPipeReport: typing.Type[TwoFluidPipeReport] diff --git a/src/jneqsim/process/equipment/pipeline/twophasepipe/validation/__init__.pyi b/src/jneqsim/process/equipment/pipeline/twophasepipe/validation/__init__.pyi new file mode 100644 index 00000000..1c3f27e4 --- /dev/null +++ b/src/jneqsim/process/equipment/pipeline/twophasepipe/validation/__init__.pyi @@ -0,0 +1,61 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.nio.file +import java.util +import jpype +import jpype.protocol +import jneqsim.process.equipment.pipeline +import typing + + + +class TwoFluidBenchmarkHarness: + @staticmethod + def capture(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> 'TwoFluidBenchmarkHarness.Snapshot': ... + @typing.overload + @staticmethod + def compare(list: java.util.List['TwoFluidBenchmarkHarness.Snapshot'], list2: java.util.List['TwoFluidBenchmarkHarness.BenchmarkPoint']) -> 'TwoFluidBenchmarkHarness.Comparison': ... + @typing.overload + @staticmethod + def compare(snapshot: 'TwoFluidBenchmarkHarness.Snapshot', list: java.util.List['TwoFluidBenchmarkHarness.BenchmarkPoint']) -> 'TwoFluidBenchmarkHarness.Comparison': ... + @staticmethod + def readCsv(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.List['TwoFluidBenchmarkHarness.BenchmarkPoint']: ... + class BenchmarkPoint: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, string3: typing.Union[java.lang.String, str]): ... + def getAbsoluteTolerance(self) -> float: ... + def getCaseName(self) -> java.lang.String: ... + def getPositionMeters(self) -> float: ... + def getRelativeTolerance(self) -> float: ... + def getSource(self) -> java.lang.String: ... + def getTimeSeconds(self) -> float: ... + def getValue(self) -> float: ... + def getVariable(self) -> java.lang.String: ... + class Comparison: + def failureSummary(self) -> java.lang.String: ... + def getFailureCount(self) -> int: ... + def getMaximumRelativeError(self) -> float: ... + def getRows(self) -> java.util.List['TwoFluidBenchmarkHarness.ComparisonRow']: ... + def isPassed(self) -> bool: ... + class ComparisonRow: + def getAbsoluteError(self) -> float: ... + def getModelValue(self) -> float: ... + def getReference(self) -> 'TwoFluidBenchmarkHarness.BenchmarkPoint': ... + def getRelativeError(self) -> float: ... + def isPassed(self) -> bool: ... + class Snapshot: + def __init__(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], 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]]]): ... + def getAvailableVariables(self) -> java.util.Set[java.lang.String]: ... + def getTimeSeconds(self) -> float: ... + def valueAt(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.validation")``. + + TwoFluidBenchmarkHarness: typing.Type[TwoFluidBenchmarkHarness] diff --git a/src/jneqsim/process/equipment/powergeneration/__init__.pyi b/src/jneqsim/process/equipment/powergeneration/__init__.pyi new file mode 100644 index 00000000..6ff626d6 --- /dev/null +++ b/src/jneqsim/process/equipment/powergeneration/__init__.pyi @@ -0,0 +1,401 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.design +import jneqsim.process.equipment +import jneqsim.process.equipment.battery +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.powergeneration.gasturbine +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.compressor +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class CombinedCycleSystem(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getFuelEnergyInput(self) -> float: ... + def getGasTurbinePower(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getOverallEfficiency(self) -> float: ... + @typing.overload + def getRatedTotalPower(self) -> float: ... + @typing.overload + def getRatedTotalPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def getSteamTurbinePower(self) -> float: ... + @typing.overload + def getTotalPower(self) -> float: ... + @typing.overload + def getTotalPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCombustionPressure(self, double: float) -> None: ... + def setGasTurbineEfficiency(self, double: float) -> None: ... + def setHrsgApproachTemperature(self, double: float) -> None: ... + def setHrsgEffectiveness(self, double: float) -> None: ... + @typing.overload + def setRatedTotalPower(self, double: float) -> None: ... + @typing.overload + def setRatedTotalPower(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamCondensorPressure(self, double: float) -> None: ... + def setSteamPressure(self, double: float) -> None: ... + @typing.overload + def setSteamTemperature(self, double: float) -> None: ... + @typing.overload + def setSteamTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamTurbineEfficiency(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 FuelCell(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @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, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def getEfficiency(self) -> float: ... + def getHeatLoss(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOxidantStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getPower(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setOxidantStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class GasTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + thermoSystem: jneqsim.thermo.system.SystemInterface = ... + airStream: jneqsim.process.equipment.stream.StreamInterface = ... + airCompressor: jneqsim.process.equipment.compressor.Compressor = ... + combustionpressure: float = ... + power: float = ... + @typing.overload + def __init__(self): ... + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + def calcIdealAirFuelRatio(self) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getExcessAirFactor(self) -> float: ... + def getHeat(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getRatedPower(self) -> float: ... + @typing.overload + def getRatedPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setExcessAirFactor(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setRatedPower(self, double: float) -> None: ... + @typing.overload + def setRatedPower(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class HRSG(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + @typing.overload + def getDesignHeatDuty(self) -> float: ... + @typing.overload + def getDesignHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasOutletTemperature(self) -> float: ... + @typing.overload + def getHeatTransferred(self) -> float: ... + @typing.overload + def getHeatTransferred(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + @typing.overload + def getSteamFlowRate(self) -> float: ... + @typing.overload + def getSteamFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setApproachTemperature(self, double: float) -> None: ... + @typing.overload + def setDesignHeatDuty(self, double: float) -> None: ... + @typing.overload + def setDesignHeatDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setEffectiveness(self, double: float) -> None: ... + @typing.overload + def setFeedWaterTemperature(self, double: float) -> None: ... + @typing.overload + def setFeedWaterTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamPressure(self, double: float) -> None: ... + @typing.overload + def setSteamTemperature(self, double: float) -> None: ... + @typing.overload + def setSteamTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class OffshoreEnergySystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def clearDispatchHistory(self) -> None: ... + def getAnnualCO2Avoided(self) -> float: ... + def getBatteryPowerDelivered(self) -> float: ... + def getBatteryStorage(self) -> jneqsim.process.equipment.battery.BatteryStorage: ... + def getCO2Avoided(self) -> float: ... + def getCO2Emissions(self) -> float: ... + def getDispatchHistory(self) -> java.util.List[java.util.Map[java.lang.String, float]]: ... + def getFuelConsumption(self) -> float: ... + def getGasTurbineCapacity(self) -> float: ... + def getGasTurbinePowerDelivered(self) -> float: ... + def getPowerDeficit(self) -> float: ... + def getSolarPowerDelivered(self) -> float: ... + def getTotalPowerDelivered(self) -> float: ... + def getTotalPowerDemand(self) -> float: ... + def getWindFarm(self) -> 'WindFarm': ... + def getWindPowerCurtailed(self) -> float: ... + def getWindPowerDelivered(self) -> float: ... + def getWindPowerFraction(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runHourlyDispatch(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBatteryStorage(self, batteryStorage: jneqsim.process.equipment.battery.BatteryStorage) -> None: ... + def setCO2EmissionFactor(self, double: float) -> None: ... + def setGasTurbineCapacity(self, double: float) -> None: ... + def setGasTurbineEfficiency(self, double: float) -> None: ... + def setGasTurbineMinLoad(self, double: float) -> None: ... + def setSolarPanel(self, solarPanel: 'SolarPanel') -> None: ... + def setTimeStepHours(self, double: float) -> None: ... + def setTotalPowerDemand(self, double: float) -> None: ... + def setWindFarm(self, windFarm: 'WindFarm') -> None: ... + +class SolarPanel(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getPower(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setIrradiance(self, double: float) -> None: ... + def setPanelArea(self, double: float) -> None: ... + +class SteamTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getIsentropicEfficiency(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getNumberOfStages(self) -> int: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getRatedPower(self) -> float: ... + @typing.overload + def getRatedPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setIsentropicEfficiency(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setRatedPower(self, double: float) -> None: ... + @typing.overload + def setRatedPower(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class WindFarm(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + def calculateAEP(self) -> float: ... + def calculateTurbinePower(self, double: float) -> float: ... + def getAirDensity(self) -> float: ... + def getAvailabilityFactor(self) -> float: ... + def getCapacityFactor(self) -> float: ... + def getCorrectedAirDensity(self) -> float: ... + def getCurrentTimeStep(self) -> int: ... + def getCutInSpeed(self) -> float: ... + def getCutOutSpeed(self) -> float: ... + def getHubHeight(self) -> float: ... + def getNumberOfTurbines(self) -> int: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPowerTimeSeries(self) -> typing.MutableSequence[float]: ... + def getRatedPowerPerTurbine(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def getRotorArea(self) -> float: ... + def getRotorDiameter(self) -> float: ... + def getTotalRatedPower(self) -> float: ... + def getWakeLossFactor(self) -> float: ... + def getWeibullScale(self) -> float: ... + def getWeibullShape(self) -> float: ... + def getWindSpeed(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runTimeSeries(self) -> None: ... + def setAirTemperature(self, double: float) -> None: ... + def setAtmosphericPressure(self, double: float) -> None: ... + def setAvailabilityFactor(self, double: float) -> None: ... + def setCutInSpeed(self, double: float) -> None: ... + def setCutOutSpeed(self, double: float) -> None: ... + def setElectricalLossFactor(self, double: float) -> None: ... + def setHubHeight(self, double: float) -> None: ... + def setMaxPowerCoefficient(self, double: float) -> None: ... + def setNumberOfTurbines(self, int: int) -> None: ... + def setRatedPowerPerTurbine(self, double: float) -> None: ... + def setRatedSpeed(self, double: float) -> None: ... + def setRotorDiameter(self, double: float) -> None: ... + def setWakeLossFactor(self, double: float) -> None: ... + def setWeibullScale(self, double: float) -> None: ... + def setWeibullShape(self, double: float) -> None: ... + def setWindSpeed(self, double: float) -> None: ... + def setWindSpeedTimeSeries(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class WindTurbine(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAirDensity(self) -> float: ... + def getPower(self) -> float: ... + def getPowerCoefficient(self) -> float: ... + def getRotorArea(self) -> float: ... + def getWindSpeed(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAirDensity(self, double: float) -> None: ... + def setPowerCoefficient(self, double: float) -> None: ... + def setRotorArea(self, double: float) -> None: ... + def setWindSpeed(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.powergeneration")``. + + CombinedCycleSystem: typing.Type[CombinedCycleSystem] + FuelCell: typing.Type[FuelCell] + GasTurbine: typing.Type[GasTurbine] + HRSG: typing.Type[HRSG] + OffshoreEnergySystem: typing.Type[OffshoreEnergySystem] + SolarPanel: typing.Type[SolarPanel] + SteamTurbine: typing.Type[SteamTurbine] + WindFarm: typing.Type[WindFarm] + WindTurbine: typing.Type[WindTurbine] + gasturbine: jneqsim.process.equipment.powergeneration.gasturbine.__module_protocol__ diff --git a/src/jneqsim/process/equipment/powergeneration/gasturbine/__init__.pyi b/src/jneqsim/process/equipment/powergeneration/gasturbine/__init__.pyi new file mode 100644 index 00000000..b465ee75 --- /dev/null +++ b/src/jneqsim/process/equipment/powergeneration/gasturbine/__init__.pyi @@ -0,0 +1,239 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.stream +import jneqsim.thermo.system +import typing + + + +class CO2TaxSchedule(java.io.Serializable): + def __init__(self, navigableMap: java.util.NavigableMap[int, float]): ... + def asMap(self) -> java.util.NavigableMap[int, float]: ... + def getTotalNOKPerTonne(self, int: int) -> float: ... + @staticmethod + def loadDefault() -> 'CO2TaxSchedule': ... + @staticmethod + def loadFromResource(string: typing.Union[java.lang.String, str]) -> 'CO2TaxSchedule': ... + +class GasTurbineCatalog(java.io.Serializable): + @staticmethod + def all() -> java.util.Map[java.lang.String, 'GasTurbineSpec']: ... + @typing.overload + @staticmethod + def findBestFit(double: float, double2: float) -> 'GasTurbineSpec': ... + @typing.overload + @staticmethod + def findBestFit(double: float, double2: float, boolean: bool) -> 'GasTurbineSpec': ... + @staticmethod + def get(string: typing.Union[java.lang.String, str]) -> 'GasTurbineSpec': ... + @staticmethod + def sortedByPower() -> java.util.List['GasTurbineSpec']: ... + +class GasTurbineDegradation(java.io.Serializable): + def __init__(self): ... + def addFiredHours(self, double: float) -> None: ... + def getHoursSinceOverhaul(self) -> float: ... + def getHoursSinceWash(self) -> float: ... + def getNonRecoverablePenalty(self) -> float: ... + def getPowerDerateFactor(self) -> float: ... + def getRecoverablePenalty(self) -> float: ... + def getTotalHeatRatePenalty(self) -> float: ... + def majorOverhaul(self) -> None: ... + def offlineWash(self) -> None: ... + def setHoursSinceOverhaul(self, double: float) -> None: ... + def setHoursSinceWash(self, double: float) -> None: ... + def setNonRecoverableRates(self, double: float, double2: float) -> None: ... + def setRecoverableRates(self, double: float, double2: float) -> None: ... + +class GasTurbineEmissions(java.io.Serializable): + MW_CO2: typing.ClassVar[float] = ... + MW_NO2: typing.ClassVar[float] = ... + MW_CH4: typing.ClassVar[float] = ... + def __init__(self): ... + def computeCO2KgPerS(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> float: ... + def computeMethaneSlipKgPerS(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> float: ... + def computeNOxKgPerS(self, double: float, double2: float, double3: float) -> float: ... + def getMethaneSlipFraction(self) -> float: ... + def setMethaneSlipFraction(self, double: float) -> None: ... + +class GasTurbinePerformanceMap(java.io.Serializable): + T_ISO_K: typing.ClassVar[float] = ... + P_ISO_BARA: typing.ClassVar[float] = ... + def __init__(self): ... + @staticmethod + def forIndustrial() -> 'GasTurbinePerformanceMap': ... + @staticmethod + def fromSpec(gasTurbineSpec: 'GasTurbineSpec') -> 'GasTurbinePerformanceMap': ... + def getAvailablePower(self, double: float, double2: float, double3: float) -> float: ... + def getEfficiency(self, double: float, double2: float, double3: float) -> float: ... + def getExhaustFlow(self, double: float, double2: float) -> float: ... + def getExhaustTemperature(self, double: float, double2: float) -> float: ... + def getHeatRate(self, double: float, double2: float, double3: float) -> float: ... + def getMinLoadFraction(self) -> float: ... + def setAmbientCorrection(self, double: float, double2: float) -> None: ... + def setHeatRatePolynomial(self, double: float, double2: float, double3: float) -> None: ... + def setMinLoadFraction(self, double: float) -> None: ... + +class GasTurbineSpec(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], turbineType: 'GasTurbineSpec.TurbineType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string2: typing.Union[java.lang.String, str]): ... + def getDescription(self) -> java.lang.String: ... + def getExhaustFlowKgPerS(self) -> float: ... + def getExhaustTemperatureK(self) -> float: ... + def getHeatRateKJPerKWh(self) -> float: ... + def getIsoEfficiency(self) -> float: ... + def getMassTonnes(self) -> float: ... + def getModel(self) -> java.lang.String: ... + def getNoxPpmDLE(self) -> float: ... + def getRatedPowerMW(self) -> float: ... + def getRatedPowerW(self) -> float: ... + def getType(self) -> 'GasTurbineSpec.TurbineType': ... + def toString(self) -> java.lang.String: ... + class TurbineType(java.lang.Enum['GasTurbineSpec.TurbineType']): + AERODERIVATIVE: typing.ClassVar['GasTurbineSpec.TurbineType'] = ... + INDUSTRIAL: typing.ClassVar['GasTurbineSpec.TurbineType'] = ... + _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]) -> 'GasTurbineSpec.TurbineType': ... + @staticmethod + def values() -> typing.MutableSequence['GasTurbineSpec.TurbineType']: ... + +class GasTurbineUnit(jneqsim.process.equipment.TwoPortEquipment): + @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, gasTurbineSpec: GasTurbineSpec): ... + @typing.overload + def addPowerConsumer(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... + @typing.overload + def addPowerConsumer(self, powerDemandConsumer: 'PowerDemandConsumer') -> None: ... + def clearDemandedPowerOverride(self) -> None: ... + def clearPowerConsumers(self) -> None: ... + def getAvailablePowerW(self) -> float: ... + def getCO2EmissionKgPerHr(self) -> float: ... + def getCO2EmissionKgPerS(self) -> float: ... + def getCO2IntensityKgPerMWh(self) -> float: ... + def getDegradation(self) -> GasTurbineDegradation: ... + def getDemandedPowerW(self) -> float: ... + def getEffectiveHeatRateKJPerKWh(self) -> float: ... + def getEmissions(self) -> GasTurbineEmissions: ... + def getExhaustMassFlowKgPerS(self) -> float: ... + def getExhaustTemperatureK(self) -> float: ... + def getFuelMassFlowKgPerHr(self) -> float: ... + def getFuelMassFlowKgPerS(self) -> float: ... + def getLoadFraction(self) -> float: ... + def getMethaneSlipKgPerS(self) -> float: ... + def getNOxEmissionKgPerS(self) -> float: ... + def getPerformanceMap(self) -> GasTurbinePerformanceMap: ... + def getPowerAllocationW(self) -> java.util.Map[java.lang.String, float]: ... + def getPowerConsumers(self) -> java.util.List['PowerDemandConsumer']: ... + def getPowerShortfallW(self) -> float: ... + def getSpec(self) -> GasTurbineSpec: ... + def getThermalEfficiency(self) -> float: ... + def isBelowMinLoad(self) -> bool: ... + def isEnforcePowerLimit(self) -> bool: ... + def isOverloaded(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAmbient(self, double: float, double2: float) -> None: ... + def setAmbientPressureBara(self, double: float) -> None: ... + def setAmbientTemperatureK(self, double: float) -> None: ... + def setDegradation(self, gasTurbineDegradation: GasTurbineDegradation) -> None: ... + def setDemandedPower(self, double: float) -> None: ... + def setEmissions(self, gasTurbineEmissions: GasTurbineEmissions) -> None: ... + def setEnforcePowerLimit(self, boolean: bool) -> None: ... + def setPerformanceMap(self, gasTurbinePerformanceMap: GasTurbinePerformanceMap) -> None: ... + def setSpec(self, gasTurbineSpec: GasTurbineSpec) -> None: ... + +class LateLifeRetrofitStudy(java.io.Serializable): + def __init__(self, list: java.util.List[GasTurbineUnit], list2: java.util.List[GasTurbineUnit], doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, cO2TaxSchedule: CO2TaxSchedule, double2: float): ... + def run(self) -> 'LateLifeRetrofitStudy.RetrofitResult': ... + def setAnnualOperatingHours(self, double: float) -> None: ... + def setDiscountRate(self, double: float) -> None: ... + def setRetrofitCapexMNOK(self, double: float) -> None: ... + class RetrofitResult(java.io.Serializable): + startYear: int = ... + discountRate: float = ... + retrofitCapexMNOK: float = ... + years: java.util.List = ... + totalCO2AvoidedTonne: float = ... + totalUndiscountedSavingsMNOK: float = ... + npvMNOK: float = ... + simplePaybackYear: int = ... + def __init__(self): ... + def toSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class YearResult(java.io.Serializable): + year: int = ... + demandedPowerMW: float = ... + co2CostNOKPerTonne: float = ... + baselineFeasible: bool = ... + retrofitFeasible: bool = ... + baselineFuelKgPerYr: float = ... + baselineCO2TonneYr: float = ... + baselineCostMNOK: float = ... + retrofitFuelKgPerYr: float = ... + retrofitCO2TonneYr: float = ... + retrofitCostMNOK: float = ... + savingsMNOK: float = ... + co2AvoidedTonne: float = ... + def __init__(self): ... + +class PowerDemandConsumer: + def getConsumerName(self) -> java.lang.String: ... + def getDemandedPowerW(self) -> float: ... + +class TurbineDispatchOptimizer(java.io.Serializable): + BRUTE_FORCE_LIMIT: typing.ClassVar[int] = ... + def __init__(self, double: float, double2: float): ... + def dispatch(self, list: java.util.List[GasTurbineUnit], double: float) -> 'TurbineDispatchOptimizer.DispatchResult': ... + def setCO2CostNOKPerTonne(self, double: float) -> None: ... + def setFuelPriceNOKPerKg(self, double: float) -> None: ... + def setRequireNplusOne(self, boolean: bool) -> None: ... + class DispatchResult(java.io.Serializable): + feasible: bool = ... + reason: java.lang.String = ... + demandedPowerW: float = ... + totalAvailablePowerW: float = ... + loadFraction: float = ... + totalFuelKgPerHr: float = ... + totalCO2KgPerHr: float = ... + fuelCostNOKPerHr: float = ... + co2CostNOKPerHr: float = ... + totalCostNOKPerHr: float = ... + runningUnits: java.util.List = ... + spareUnits: java.util.List = ... + def __init__(self): ... + @staticmethod + def infeasible(string: typing.Union[java.lang.String, str]) -> 'TurbineDispatchOptimizer.DispatchResult': ... + def summary(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.powergeneration.gasturbine")``. + + CO2TaxSchedule: typing.Type[CO2TaxSchedule] + GasTurbineCatalog: typing.Type[GasTurbineCatalog] + GasTurbineDegradation: typing.Type[GasTurbineDegradation] + GasTurbineEmissions: typing.Type[GasTurbineEmissions] + GasTurbinePerformanceMap: typing.Type[GasTurbinePerformanceMap] + GasTurbineSpec: typing.Type[GasTurbineSpec] + GasTurbineUnit: typing.Type[GasTurbineUnit] + LateLifeRetrofitStudy: typing.Type[LateLifeRetrofitStudy] + PowerDemandConsumer: typing.Type[PowerDemandConsumer] + TurbineDispatchOptimizer: typing.Type[TurbineDispatchOptimizer] diff --git a/src/jneqsim/process/equipment/pump/__init__.pyi b/src/jneqsim/process/equipment/pump/__init__.pyi new file mode 100644 index 00000000..2f71a55e --- /dev/null +++ b/src/jneqsim/process/equipment/pump/__init__.pyi @@ -0,0 +1,324 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.design +import jneqsim.process.electricaldesign.pump +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.pump +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class PumpChartInterface(java.lang.Cloneable): + def addCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def getBestEfficiencyFlowRate(self) -> float: ... + def getCorrectedEfficiency(self, double: float, double2: float, double3: float) -> float: ... + def getCorrectedHead(self, double: float, double2: float, double3: float) -> float: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getEfficiencyCorrectionFactor(self) -> float: ... + def getFlowCorrectionFactor(self) -> float: ... + def getFullyCorrectedHead(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getHead(self, double: float, double2: float) -> float: ... + def getHeadCorrectionFactor(self) -> float: ... + def getHeadUnit(self) -> java.lang.String: ... + def getNPSHRequired(self, double: float, double2: float) -> float: ... + def getOperatingStatus(self, double: float, double2: float) -> java.lang.String: ... + def getReferenceDensity(self) -> float: ... + def getReferenceViscosity(self) -> float: ... + def getSpecificSpeed(self) -> float: ... + def getSpeed(self, double: float, double2: float) -> int: ... + def hasDensityCorrection(self) -> bool: ... + def hasNPSHCurve(self) -> bool: ... + def isUsePumpChart(self) -> bool: ... + def isUseViscosityCorrection(self) -> bool: ... + def plot(self) -> None: ... + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNPSHCurve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setReferenceDensity(self, double: float) -> None: ... + def setReferenceViscosity(self, double: float) -> None: ... + def setUsePumpChart(self, boolean: bool) -> None: ... + def setUseRealKappa(self, boolean: bool) -> None: ... + def setUseViscosityCorrection(self, boolean: bool) -> None: ... + def useRealKappa(self) -> bool: ... + +class PumpCurve(java.io.Serializable): + flow: typing.MutableSequence[float] = ... + head: typing.MutableSequence[float] = ... + efficiency: typing.MutableSequence[float] = ... + speed: float = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]): ... + +class PumpInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): + def equals(self, object: typing.Any) -> bool: ... + def getEnergy(self) -> float: ... + def getMinimumFlow(self) -> float: ... + def getNPSHAvailable(self) -> float: ... + def getNPSHRequired(self) -> float: ... + def getPower(self) -> float: ... + def hashCode(self) -> int: ... + def isCavitating(self) -> bool: ... + def setCheckNPSH(self, boolean: bool) -> None: ... + def setMinimumFlow(self, double: float) -> None: ... + def setPumpChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + isentropicEfficiency: float = ... + powerSet: bool = ... + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calculateAsCompressor(self, boolean: bool) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getDuty(self) -> float: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.pump.PumpElectricalDesign: ... + def getEnergy(self) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getIsentropicEfficiency(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pump.PumpMechanicalDesign: ... + def getMinimumFlow(self) -> float: ... + def getMolarFlow(self) -> float: ... + def getNPSHAvailable(self) -> float: ... + def getNPSHMargin(self) -> float: ... + def getNPSHRequired(self) -> float: ... + def getOutTemperature(self) -> float: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPumpChart(self) -> PumpChartInterface: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getSpeed(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def initElectricalDesign(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isCavitating(self) -> bool: ... + def isCheckNPSH(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def needRecalculation(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCheckNPSH(self, boolean: bool) -> None: ... + def setIsentropicEfficiency(self, double: float) -> None: ... + def setMinimumFlow(self, double: float) -> None: ... + def setMolarFlow(self, double: float) -> None: ... + def setNPSHMargin(self, double: float) -> None: ... + @typing.overload + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPumpChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSpeed(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class PumpChart(PumpChartInterface, java.io.Serializable): + def __init__(self): ... + def addCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def checkStoneWall(self, double: float, double2: float) -> bool: ... + def checkSurge1(self, double: float, double2: float) -> bool: ... + def checkSurge2(self, double: float, double2: float) -> bool: ... + def efficiency(self, double: float, double2: float) -> float: ... + def fitReducedCurve(self) -> None: ... + def getBestEfficiencyFlowRate(self) -> float: ... + def getCorrectedEfficiency(self, double: float, double2: float, double3: float) -> float: ... + def getCorrectedHead(self, double: float, double2: float, double3: float) -> float: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getEfficiencyCorrectionFactor(self) -> float: ... + def getFlowCorrectionFactor(self) -> float: ... + def getFullyCorrectedHead(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getHead(self, double: float, double2: float) -> float: ... + def getHeadCorrectionFactor(self) -> float: ... + def getHeadUnit(self) -> java.lang.String: ... + def getNPSHRequired(self, double: float, double2: float) -> float: ... + def getOperatingStatus(self, double: float, double2: float) -> java.lang.String: ... + def getReferenceDensity(self) -> float: ... + def getReferenceViscosity(self) -> float: ... + def getSpecificSpeed(self) -> float: ... + def getSpeed(self, double: float, double2: float) -> int: ... + def getViscosityCorrectedEfficiency(self, double: float) -> float: ... + def getViscosityCorrectedFlow(self, double: float) -> float: ... + def getViscosityCorrectedHead(self, double: float) -> float: ... + def hasDensityCorrection(self) -> bool: ... + def hasNPSHCurve(self) -> bool: ... + def isUsePumpChart(self) -> bool: ... + def isUseViscosityCorrection(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def plot(self) -> None: ... + def setCurves(self, doubleArray: typing.Union[typing.List[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[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNPSHCurve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setReferenceDensity(self, double: float) -> None: ... + def setReferenceViscosity(self, double: float) -> None: ... + def setUsePumpChart(self, boolean: bool) -> None: ... + def setUseRealKappa(self, boolean: bool) -> None: ... + def setUseViscosityCorrection(self, boolean: bool) -> None: ... + def useRealKappa(self) -> bool: ... + +class PumpChartAlternativeMapLookupExtrapolate(jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, PumpChartInterface): + def __init__(self): ... + def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def getBestEfficiencyFlowRate(self) -> float: ... + def getCorrectedEfficiency(self, double: float, double2: float, double3: float) -> float: ... + def getCorrectedHead(self, double: float, double2: float, double3: float) -> float: ... + def getEfficiency(self, double: float, double2: float) -> float: ... + def getEfficiencyCorrectionFactor(self) -> float: ... + def getFlowCorrectionFactor(self) -> float: ... + def getFullyCorrectedHead(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getHead(self, double: float, double2: float) -> float: ... + def getHeadCorrectionFactor(self) -> float: ... + def getNPSHRequired(self, double: float, double2: float) -> float: ... + def getOperatingStatus(self, double: float, double2: float) -> java.lang.String: ... + def getReferenceDensity(self) -> float: ... + def getReferenceViscosity(self) -> float: ... + def getSpecificSpeed(self) -> float: ... + def hasDensityCorrection(self) -> bool: ... + def hasNPSHCurve(self) -> bool: ... + def isUsePumpChart(self) -> bool: ... + def isUseViscosityCorrection(self) -> bool: ... + def setNPSHCurve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setReferenceDensity(self, double: float) -> None: ... + def setReferenceViscosity(self, double: float) -> None: ... + def setUsePumpChart(self, boolean: bool) -> None: ... + def setUseViscosityCorrection(self, boolean: bool) -> None: ... + +class ESPPump(Pump): + @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 getActualHead(self) -> float: ... + def getDesignHead(self) -> float: ... + def getGasSeparatorEfficiency(self) -> float: ... + def getGasVoidFraction(self) -> float: ... + def getHeadDegradationFactor(self) -> float: ... + def getHeadPerStage(self) -> float: ... + def getMaxGVF(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getSurgingGVF(self) -> float: ... + def hasGasSeparator(self) -> bool: ... + def isGasLocked(self) -> bool: ... + def isSurging(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDegradationCoefficients(self, double: float, double2: float) -> None: ... + def setGasSeparatorEfficiency(self, double: float) -> None: ... + def setHasGasSeparator(self, boolean: bool) -> None: ... + def setHeadPerStage(self, double: float) -> None: ... + def setMaxGVF(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setSurgingGVF(self, double: float) -> None: ... + +class JetPump(Pump): + @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 getDischargePressure(self) -> float: ... + def getEfficiency(self) -> float: ... + def getHeadRatio(self) -> float: ... + def getProducedRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def headRatioAt(self, double: float) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAreaRatio(self, double: float) -> None: ... + def setNozzleArea(self, double: float) -> None: ... + def setOperatingFlowRatio(self, double: float) -> None: ... + def setPowerFluidDensity(self, double: float) -> None: ... + def setPowerFluidPressure(self, double: float) -> None: ... + +class SuckerRodPump(Pump): + @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 getActualDisplacement(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPlungerArea(self) -> float: ... + def getPolishedRodLoad(self) -> float: ... + def getTheoreticalDisplacement(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: ... + def setDischargePressure(self, double: float) -> None: ... + def setFluidDensity(self, double: float) -> None: ... + def setPlungerDiameter(self, double: float) -> None: ... + def setPumpDepth(self, double: float) -> None: ... + def setRodWeightPerLength(self, double: float) -> None: ... + def setStrokeLength(self, double: float) -> None: ... + def setStrokesPerMinute(self, double: float) -> None: ... + def setVolumetricEfficiency(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pump")``. + + ESPPump: typing.Type[ESPPump] + JetPump: typing.Type[JetPump] + Pump: typing.Type[Pump] + PumpChart: typing.Type[PumpChart] + PumpChartAlternativeMapLookupExtrapolate: typing.Type[PumpChartAlternativeMapLookupExtrapolate] + PumpChartInterface: typing.Type[PumpChartInterface] + PumpCurve: typing.Type[PumpCurve] + PumpInterface: typing.Type[PumpInterface] + SuckerRodPump: typing.Type[SuckerRodPump] diff --git a/src/jneqsim/process/equipment/reactor/__init__.pyi b/src/jneqsim/process/equipment/reactor/__init__.pyi new file mode 100644 index 00000000..f2321ed9 --- /dev/null +++ b/src/jneqsim/process/equipment/reactor/__init__.pyi @@ -0,0 +1,1107 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.util.report +import jneqsim.thermo.characterization +import jneqsim.thermo.system +import typing + + + +class AmmoniaSynthesisReactor(jneqsim.process.equipment.TwoPortEquipment): + @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 getAmmoniaProductionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversion(self) -> float: ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getPerPassConversion(self) -> float: ... + def isIsothermal(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setIsothermal(self, boolean: bool) -> None: ... + def setPerPassConversion(self, double: float) -> None: ... + def setUseEquilibriumConversion(self, boolean: bool) -> None: ... + +class AutothermalReformer(jneqsim.process.equipment.TwoPortEquipment): + @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 getBurnerZone(self) -> 'SyngasBurnerZone': ... + def getDrySyngasLhvMjPerNm3(self) -> float: ... + def getMethaneConversion(self) -> float: ... + def getOxygenToCarbonRatio(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSootRiskIndex(self) -> float: ... + def getSteamToCarbonRatio(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setIsothermalReformingZone(self, boolean: bool) -> None: ... + def setOxygenToCarbonTarget(self, double: float) -> None: ... + def setRatioControlEnabled(self, boolean: bool) -> None: ... + def setReformingTemperature(self, double: float) -> None: ... + def setSteamToCarbonTarget(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 BiomassGasifier(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAgentType(self) -> 'BiomassGasifier.AgentType': ... + def getCarbonConversionEfficiency(self) -> float: ... + def getCharAshOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCharYieldFraction(self) -> float: ... + def getColdGasEfficiency(self) -> float: ... + def getEquivalenceRatio(self) -> float: ... + def getGasificationPressure(self) -> float: ... + def getGasificationTemperature(self) -> float: ... + def getGasifierType(self) -> 'BiomassGasifier.GasifierType': ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSteamToBiomassRatio(self) -> float: ... + def getSyngasLHVMjPerNm3(self) -> float: ... + def getSyngasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSyngasYieldNm3PerKg(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAgentInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setAgentType(self, agentType: 'BiomassGasifier.AgentType') -> None: ... + def setBiomass(self, biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, double: float) -> None: ... + def setCarbonConversionEfficiency(self, double: float) -> None: ... + def setEquivalenceRatio(self, double: float) -> None: ... + def setGasificationPressure(self, double: float) -> None: ... + @typing.overload + def setGasificationTemperature(self, double: float) -> None: ... + @typing.overload + def setGasificationTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGasifierType(self, gasifierType: 'BiomassGasifier.GasifierType') -> None: ... + def setSteamToBiomassRatio(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: ... + def toString(self) -> java.lang.String: ... + class AgentType(java.lang.Enum['BiomassGasifier.AgentType']): + AIR: typing.ClassVar['BiomassGasifier.AgentType'] = ... + OXYGEN: typing.ClassVar['BiomassGasifier.AgentType'] = ... + STEAM: typing.ClassVar['BiomassGasifier.AgentType'] = ... + AIR_STEAM: typing.ClassVar['BiomassGasifier.AgentType'] = ... + _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]) -> 'BiomassGasifier.AgentType': ... + @staticmethod + def values() -> typing.MutableSequence['BiomassGasifier.AgentType']: ... + class GasifierType(java.lang.Enum['BiomassGasifier.GasifierType']): + DOWNDRAFT: typing.ClassVar['BiomassGasifier.GasifierType'] = ... + UPDRAFT: typing.ClassVar['BiomassGasifier.GasifierType'] = ... + FLUIDIZED_BED: typing.ClassVar['BiomassGasifier.GasifierType'] = ... + _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]) -> 'BiomassGasifier.GasifierType': ... + @staticmethod + def values() -> typing.MutableSequence['BiomassGasifier.GasifierType']: ... + +class CatalystBed(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def calculateEffectivenessFactor(self, double: float) -> float: ... + def calculatePressureDrop(self, double: float, double2: float, double3: float) -> float: ... + def calculateReynoldsNumber(self, double: float, double2: float, double3: float) -> float: ... + def calculateThieleModulus(self, double: float, double2: float) -> float: ... + def calculateTotalPressureDrop(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getActivityFactor(self) -> float: ... + def getBulkDensity(self) -> float: ... + def getEffectiveDiffusivity(self, double: float) -> float: ... + def getParticleDensity(self) -> float: ... + def getParticleDiameter(self) -> float: ... + def getParticlePorosity(self) -> float: ... + def getSpecificSurfaceArea(self) -> float: ... + def getTortuosity(self) -> float: ... + def getVoidFraction(self) -> float: ... + def setActivityFactor(self, double: float) -> None: ... + def setBulkDensity(self, double: float) -> None: ... + def setParticleDensity(self, double: float) -> None: ... + def setParticleDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setParticlePorosity(self, double: float) -> None: ... + def setSpecificSurfaceArea(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTortuosity(self, double: float) -> None: ... + def setVoidFraction(self, double: float) -> None: ... + +class CatalystDeactivationKinetics(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, catalystFamily: 'CatalystDeactivationKinetics.CatalystFamily'): ... + def applyTo(self, catalystBed: CatalystBed) -> float: ... + def calculateActivity(self) -> float: ... + def estimateTimeToActivity(self, double: float) -> float: ... + def getCarbonPotential(self) -> float: ... + def getCatalystFamily(self) -> 'CatalystDeactivationKinetics.CatalystFamily': ... + def getChloridePoisoningRatePerHour(self) -> float: ... + def getChloridePpmv(self) -> float: ... + def getCokingRatePerHour(self) -> float: ... + def getDominantMechanism(self) -> java.lang.String: ... + def getOperationHours(self) -> float: ... + def getRateBreakdown(self) -> java.util.Map[java.lang.String, float]: ... + def getSteamToCarbonRatio(self) -> float: ... + def getSulfurPoisoningRatePerHour(self) -> float: ... + def getSulfurPpmv(self) -> float: ... + def getTemperatureK(self) -> float: ... + def getThermalSinteringRatePerHour(self) -> float: ... + def getTotalDeactivationRatePerHour(self) -> float: ... + def setCarbonPotential(self, double: float) -> 'CatalystDeactivationKinetics': ... + def setCatalystFamily(self, catalystFamily: 'CatalystDeactivationKinetics.CatalystFamily') -> 'CatalystDeactivationKinetics': ... + def setChloridePpmv(self, double: float) -> 'CatalystDeactivationKinetics': ... + def setOperationHours(self, double: float) -> 'CatalystDeactivationKinetics': ... + def setSteamToCarbonRatio(self, double: float) -> 'CatalystDeactivationKinetics': ... + def setSulfurPpmv(self, double: float) -> 'CatalystDeactivationKinetics': ... + def setTemperature(self, double: float) -> 'CatalystDeactivationKinetics': ... + def toJson(self) -> java.lang.String: ... + class CatalystFamily(java.lang.Enum['CatalystDeactivationKinetics.CatalystFamily']): + NICKEL_REFORMING: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... + IRON_CHROMIUM_HT_SHIFT: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... + COPPER_ZINC_LT_SHIFT: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... + RUTHENIUM_AMMONIA_CRACKING: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... + def getDisplayName(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]) -> 'CatalystDeactivationKinetics.CatalystFamily': ... + @staticmethod + def values() -> typing.MutableSequence['CatalystDeactivationKinetics.CatalystFamily']: ... + +class CatalyticTubeReformer(jneqsim.process.equipment.TwoPortEquipment): + @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 getCatalystBed(self) -> CatalystBed: ... + def getDrySyngasLhvMjPerNm3(self) -> float: ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHeatFluxKWPerM2(self) -> float: ... + def getMethaneConversion(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getReformingTemperature(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSteamToCarbonRatio(self) -> float: ... + def getTubeWallTemperature(self) -> float: ... + def isTubeWallTemperatureAcceptable(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCatalystBed(self, catalystBed: CatalystBed) -> None: ... + def setDeactivationKinetics(self, catalystDeactivationKinetics: CatalystDeactivationKinetics) -> None: ... + def setMaxTubeWallTemperature(self, double: float) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + @typing.overload + def setReformingTemperature(self, double: float) -> None: ... + @typing.overload + def setReformingTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeGeometry(self, double: float, double2: float, int: int) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + +class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAirFuelRatioMass(self) -> float: ... + def getAirInlet(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getEmissionRatesKgPerHr(self) -> java.util.Map[java.lang.String, float]: ... + def getFlameTemperature(self) -> float: ... + def getFuelInlet(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeatReleasekW(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAirFuelRatioMass(self, double: float) -> None: ... + def setAirInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setBurnerDesign(self, burnerDesign: 'FurnaceBurner.BurnerDesign') -> None: ... + def setCoolingFactor(self, double: float) -> None: ... + def setExcessAirFraction(self, double: float) -> None: ... + def setFuelInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSurroundingsTemperature(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + class BurnerDesign(java.lang.Enum['FurnaceBurner.BurnerDesign']): + ADIABATIC: typing.ClassVar['FurnaceBurner.BurnerDesign'] = ... + COOLED: typing.ClassVar['FurnaceBurner.BurnerDesign'] = ... + _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]) -> 'FurnaceBurner.BurnerDesign': ... + @staticmethod + def values() -> typing.MutableSequence['FurnaceBurner.BurnerDesign']: ... + +class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): + @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): ... + @typing.overload + def calculateMixtureEnthalpy(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']]) -> float: ... + @typing.overload + def calculateMixtureEnthalpy(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']], double: float) -> float: ... + def calculateMixtureEnthalpyStandard(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']]) -> float: ... + def calculateMixtureGibbsEnergy(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']], double: float) -> float: ... + def getActualIterations(self) -> int: ... + def getConditionNumberHistory(self) -> java.util.List[float]: ... + def getConvergenceTolerance(self) -> float: ... + def getDampingComposition(self) -> float: ... + def getDetailedMoleBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getElementBalanceErrorHistory(self) -> java.util.List[float]: ... + def getElementMoleBalanceDiff(self) -> typing.MutableSequence[float]: ... + def getElementMoleBalanceIn(self) -> typing.MutableSequence[float]: ... + def getElementMoleBalanceOut(self) -> typing.MutableSequence[float]: ... + def getElementNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getEnergyMode(self) -> 'GibbsReactor.EnergyMode': ... + def getEnthalpyOfReactions(self) -> float: ... + def getFinalConvergenceError(self) -> float: ... + def getFugacityCoefficient(self, object: typing.Any) -> typing.MutableSequence[float]: ... + def getGibbsEnergyHistory(self) -> java.util.List[float]: ... + def getInletMole(self) -> java.util.List[float]: ... + def getInletMoles(self) -> java.util.List[float]: ... + def getJacobianColLabels(self) -> java.util.List[java.lang.String]: ... + def getJacobianInverse(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getJacobianMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getJacobianRowLabels(self) -> java.util.List[java.lang.String]: ... + def getLagrangeContributions(self) -> java.util.Map[java.lang.String, float]: ... + def getLagrangeMultiplierContributions(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getLagrangianMultipliers(self) -> typing.MutableSequence[float]: ... + def getMassBalanceConverged(self) -> bool: ... + def getMassBalanceError(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getMethod(self) -> java.lang.String: ... + def getMinIterations(self) -> int: ... + def getMixtureEnthalpy(self) -> float: ... + def getMixtureGibbsEnergy(self) -> float: ... + def getObjectiveFunctionValues(self) -> java.util.Map[java.lang.String, float]: ... + def getObjectiveMinimizationVector(self) -> typing.MutableSequence[float]: ... + def getObjectiveMinimizationVectorLabels(self) -> java.util.List[java.lang.String]: ... + def getOutletMole(self) -> java.util.List[float]: ... + def getOutletMoles(self) -> java.util.List[float]: ... + @typing.overload + def getPower(self) -> float: ... + @typing.overload + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getStepSizeHistory(self) -> java.util.List[float]: ... + def getTemperatureChange(self) -> float: ... + def getUseAllDatabaseSpecies(self) -> bool: ... + def hasConverged(self) -> bool: ... + def isComponentExcludedByFeed(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isComponentInert(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isUseAdaptiveStepSize(self) -> bool: ... + def isUseArmijoLineSearch(self) -> bool: ... + def isUseConsistentOffDiagonal(self) -> bool: ... + def isUseRegularization(self) -> bool: ... + def performIterationUpdate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> bool: ... + def performNewtonRaphsonIteration(self) -> typing.MutableSequence[float]: ... + def printDatabaseComponents(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setArmijoC1(self, double: float) -> None: ... + def setArmijoMaxBacktracks(self, int: int) -> None: ... + def setArmijoRho(self, double: float) -> None: ... + @typing.overload + def setComponentAsInert(self, int: int) -> None: ... + @typing.overload + def setComponentAsInert(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConvergenceTolerance(self, double: float) -> None: ... + def setDampingComposition(self, double: float) -> None: ... + @typing.overload + def setEnergyMode(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setEnergyMode(self, energyMode: 'GibbsReactor.EnergyMode') -> None: ... + def setLagrangeMultiplier(self, int: int, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMinIterations(self, int: int) -> None: ... + def setRegularizationTau(self, double: float) -> None: ... + def setRegularizationThreshold(self, double: float) -> None: ... + def setUseAdaptiveStepSize(self, boolean: bool) -> None: ... + def setUseAllDatabaseSpecies(self, boolean: bool) -> None: ... + def setUseArmijoLineSearch(self, boolean: bool) -> None: ... + def setUseConsistentOffDiagonal(self, boolean: bool) -> None: ... + def setUseRegularization(self, boolean: bool) -> None: ... + @typing.overload + def solveGibbsEquilibrium(self) -> bool: ... + @typing.overload + def solveGibbsEquilibrium(self, double: float) -> bool: ... + def verifyJacobianInverse(self) -> bool: ... + class EnergyMode(java.lang.Enum['GibbsReactor.EnergyMode']): + ISOTHERMAL: typing.ClassVar['GibbsReactor.EnergyMode'] = ... + ADIABATIC: typing.ClassVar['GibbsReactor.EnergyMode'] = ... + _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]) -> 'GibbsReactor.EnergyMode': ... + @staticmethod + def values() -> typing.MutableSequence['GibbsReactor.EnergyMode']: ... + class GibbsComponent: + def __init__(self, gibbsReactor: 'GibbsReactor', string: typing.Union[java.lang.String, str], 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, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float): ... + def calculateCorrectedHeatCapacityCoeffs(self, int: int) -> typing.MutableSequence[float]: ... + def calculateEnthalpy(self, double: float, int: int) -> float: ... + def calculateEntropy(self, double: float, int: int) -> float: ... + def calculateGibbsEnergy(self, double: float, int: int) -> float: ... + def calculateHeatCapacity(self, double: float, int: int) -> float: ... + def calculateI(self, int: int) -> float: ... + def calculateJ(self, int: int) -> float: ... + def getDeltaGf298(self) -> float: ... + def getDeltaHf298(self) -> float: ... + def getDeltaSf298(self) -> float: ... + def getElements(self) -> typing.MutableSequence[float]: ... + def getHeatCapacityCoeffs(self) -> typing.MutableSequence[float]: ... + def getMolecule(self) -> java.lang.String: ... + +class GibbsReactorCO2(jneqsim.process.equipment.TwoPortEquipment): + @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): ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class KineticReaction(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAdsorptionTerm(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + @typing.overload + def addProduct(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addProduct(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addReactant(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def calculateEquilibriumConstant(self, double: float) -> float: ... + def calculateRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def calculateRateConstant(self, double: float) -> float: ... + def getActivationEnergy(self) -> float: ... + def getAdsorptionExponent(self) -> int: ... + def getHeatOfReaction(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPreExponentialFactor(self) -> float: ... + def getRateBasis(self) -> 'KineticReaction.RateBasis': ... + def getRateType(self) -> 'KineticReaction.RateType': ... + def getStoichiometricCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getStoichiometry(self) -> java.util.Map[java.lang.String, float]: ... + def getTemperatureExponent(self) -> float: ... + def isReversible(self) -> bool: ... + def setActivationEnergy(self, double: float) -> None: ... + def setAdsorptionActivationEnergy(self, double: float) -> None: ... + def setAdsorptionExponent(self, int: int) -> None: ... + def setAdsorptionPreExpFactor(self, double: float) -> None: ... + def setEquilibriumConstantCorrelation(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setHeatOfReaction(self, double: float) -> None: ... + def setPreExponentialFactor(self, double: float) -> None: ... + def setRateBasis(self, rateBasis: 'KineticReaction.RateBasis') -> None: ... + def setRateType(self, rateType: 'KineticReaction.RateType') -> None: ... + def setReversible(self, boolean: bool) -> None: ... + def setTemperatureExponent(self, double: float) -> None: ... + class RateBasis(java.lang.Enum['KineticReaction.RateBasis']): + VOLUME: typing.ClassVar['KineticReaction.RateBasis'] = ... + CATALYST_MASS: typing.ClassVar['KineticReaction.RateBasis'] = ... + CATALYST_AREA: typing.ClassVar['KineticReaction.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]) -> 'KineticReaction.RateBasis': ... + @staticmethod + def values() -> typing.MutableSequence['KineticReaction.RateBasis']: ... + class RateType(java.lang.Enum['KineticReaction.RateType']): + POWER_LAW: typing.ClassVar['KineticReaction.RateType'] = ... + LHHW: typing.ClassVar['KineticReaction.RateType'] = ... + EQUILIBRIUM: typing.ClassVar['KineticReaction.RateType'] = ... + _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]) -> 'KineticReaction.RateType': ... + @staticmethod + def values() -> typing.MutableSequence['KineticReaction.RateType']: ... + +class PartialOxidationReactor(jneqsim.process.equipment.TwoPortEquipment): + @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 getDrySyngasLhvMjPerNm3(self) -> float: ... + def getHydrogenToCarbonMonoxideRatio(self) -> float: ... + def getMethaneConversion(self) -> float: ... + def getOxygenToCarbonRatio(self) -> float: ... + def getQuenchSection(self) -> 'QuenchSection': ... + def getRefractoryTemperature(self) -> float: ... + def getRefractoryWarning(self) -> java.lang.String: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSootRiskIndex(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setOxygenToCarbonTarget(self, double: float) -> None: ... + def setQuenchEnabled(self, boolean: bool) -> None: ... + def setQuenchTemperature(self, double: float) -> None: ... + def setRatioControlEnabled(self, boolean: bool) -> None: ... + def setRefractoryHeatLossFraction(self, double: float) -> None: ... + def setRefractoryTemperatureLimit(self, double: float) -> None: ... + def setSteamToCarbonTarget(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 PlugFlowReactor(jneqsim.process.equipment.TwoPortEquipment): + @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 addReaction(self, kineticReaction: KineticReaction) -> None: ... + def getAxialProfile(self) -> 'ReactorAxialProfile': ... + def getCatalystBed(self) -> CatalystBed: ... + def getConversion(self) -> float: ... + def getCoolantTemperature(self) -> float: ... + def getDiameter(self) -> float: ... + def getEnergyMode(self) -> 'PlugFlowReactor.EnergyMode': ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getIntegrationMethod(self) -> 'PlugFlowReactor.IntegrationMethod': ... + def getKeyComponent(self) -> java.lang.String: ... + def getLength(self) -> float: ... + def getNumberOfSteps(self) -> int: ... + def getNumberOfTubes(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getPropertyUpdateFrequency(self) -> int: ... + def getReactions(self) -> java.util.List[KineticReaction]: ... + def getResidenceTime(self) -> float: ... + def getSpaceVelocity(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCatalystBed(self, catalystBed: CatalystBed) -> None: ... + def setCoolantTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setEnergyMode(self, energyMode: 'PlugFlowReactor.EnergyMode') -> None: ... + def setIntegrationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setKeyComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfSteps(self, int: int) -> None: ... + def setNumberOfTubes(self, int: int) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setPropertyUpdateFrequency(self, int: int) -> None: ... + class EnergyMode(java.lang.Enum['PlugFlowReactor.EnergyMode']): + ADIABATIC: typing.ClassVar['PlugFlowReactor.EnergyMode'] = ... + ISOTHERMAL: typing.ClassVar['PlugFlowReactor.EnergyMode'] = ... + COOLANT: typing.ClassVar['PlugFlowReactor.EnergyMode'] = ... + _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]) -> 'PlugFlowReactor.EnergyMode': ... + @staticmethod + def values() -> typing.MutableSequence['PlugFlowReactor.EnergyMode']: ... + class IntegrationMethod(java.lang.Enum['PlugFlowReactor.IntegrationMethod']): + EULER: typing.ClassVar['PlugFlowReactor.IntegrationMethod'] = ... + RK4: typing.ClassVar['PlugFlowReactor.IntegrationMethod'] = ... + _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]) -> 'PlugFlowReactor.IntegrationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['PlugFlowReactor.IntegrationMethod']: ... + +class PyrolysisReactor(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getActualBioOilYield(self) -> float: ... + def getActualCharYield(self) -> float: ... + def getActualGasYield(self) -> float: ... + def getBioOilHHV(self) -> float: ... + def getBioOilOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBiocharHHV(self) -> float: ... + def getBiocharOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getEnergyYield(self) -> float: ... + def getGasLHVMjPerNm3(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeatingRate(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPyrolysisMode(self) -> 'PyrolysisReactor.PyrolysisMode': ... + def getPyrolysisTemperature(self) -> float: ... + def getReactorPressure(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getVapourResidenceTime(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBiomass(self, biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, double: float) -> None: ... + def setHeatingRate(self, double: float) -> None: ... + def setProductYields(self, double: float, double2: float, double3: float) -> None: ... + def setPyrolysisMode(self, pyrolysisMode: 'PyrolysisReactor.PyrolysisMode') -> None: ... + @typing.overload + def setPyrolysisTemperature(self, double: float) -> None: ... + @typing.overload + def setPyrolysisTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReactorPressure(self, double: float) -> None: ... + def setVapourResidenceTime(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: ... + def toString(self) -> java.lang.String: ... + class PyrolysisMode(java.lang.Enum['PyrolysisReactor.PyrolysisMode']): + SLOW: typing.ClassVar['PyrolysisReactor.PyrolysisMode'] = ... + FAST: typing.ClassVar['PyrolysisReactor.PyrolysisMode'] = ... + FLASH: typing.ClassVar['PyrolysisReactor.PyrolysisMode'] = ... + _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]) -> 'PyrolysisReactor.PyrolysisMode': ... + @staticmethod + def values() -> typing.MutableSequence['PyrolysisReactor.PyrolysisMode']: ... + +class QuenchSection(jneqsim.process.equipment.TwoPortEquipment): + @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): ... + @typing.overload + def getHeatRemoved(self) -> float: ... + @typing.overload + def getHeatRemoved(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getQuenchSeverity(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTargetTemperature(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + @typing.overload + def setTargetTemperature(self, double: float) -> None: ... + @typing.overload + def setTargetTemperature(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 ReactorAxialProfile(java.io.Serializable): + def __init__(self, int: int, int2: int, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getConversionAt(self, double: float) -> float: ... + def getConversionProfile(self) -> typing.MutableSequence[float]: ... + def getMolarFlowProfiles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNumberOfSteps(self) -> int: ... + def getPositionProfile(self) -> typing.MutableSequence[float]: ... + def getPressureAt(self, double: float) -> float: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getReactionRateProfile(self) -> typing.MutableSequence[float]: ... + def getTemperatureAt(self, double: float) -> float: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def setData(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def toCSV(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + +class ReformerFurnace(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 getAvailableRadiantHeatKW(self) -> float: ... + def getEffectiveReformingTemperature(self) -> float: ... + def getFlueGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeatBalanceRatio(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSyngasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTubeHeatDemandKW(self) -> float: ... + def getTubeReformer(self) -> CatalyticTubeReformer: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAirInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setEnforceHeatBalance(self, boolean: bool) -> None: ... + def setExcessAirFraction(self, double: float) -> None: ... + def setFuelInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFurnaceEfficiencies(self, double: float, double2: float) -> None: ... + def setMaxTubeWallTemperature(self, double: float) -> None: ... + def setProcessInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setTargetReformingTemperature(self, double: float) -> None: ... + def setTubeGeometry(self, double: float, double2: float, int: int) -> None: ... + def setTubeHeatTransferCoefficient(self, double: float) -> None: ... + def setTubePressureDrop(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 StirredTankReactor(jneqsim.process.equipment.TwoPortEquipment): + @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 addReaction(self, stoichiometricReaction: 'StoichiometricReaction') -> None: ... + def clearReactions(self) -> None: ... + def getAgitatorPower(self) -> float: ... + def getAgitatorPowerPerVolume(self) -> float: ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureDrop(self) -> float: ... + def getReactions(self) -> java.util.List['StoichiometricReaction']: ... + def getReactorPressure(self) -> float: ... + def getReactorTemperature(self) -> float: ... + def getResidenceTime(self) -> float: ... + def getVesselVolume(self) -> float: ... + def isIsothermal(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAgitatorPowerPerVolume(self, double: float) -> None: ... + def setIsothermal(self, boolean: bool) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setReactorPressure(self, double: float) -> None: ... + @typing.overload + def setReactorTemperature(self, double: float) -> None: ... + @typing.overload + def setReactorTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setResidenceTime(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setVesselVolume(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 StoichiometricReaction(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addProduct(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addReactant(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getConversion(self) -> float: ... + def getLimitingReactant(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getStoichiometry(self) -> java.util.Map[java.lang.String, float]: ... + def isMolarBasis(self) -> bool: ... + def react(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def setConversion(self, double: float) -> None: ... + def setLimitingReactant(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMolarBasis(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + +class SulfurDepositionAnalyser(jneqsim.process.equipment.TwoPortEquipment): + @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 getBlockageRiskAssessment(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getCatalysisAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getCorrosionAssessment(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getEquilibriumComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getGasVsLiquidSolubility(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getKineticAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getReactionSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getResultsAsJson(self) -> java.lang.String: ... + def getSolidSulfurFraction(self) -> float: ... + def getSulfurDepositionOnsetTemperature(self) -> float: ... + def getSulfurSolubilityInGas(self) -> float: ... + def getSulfurSolubilityMgSm3(self) -> float: ... + def getSupersaturationAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTemperatureSweepResults(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def hasCorrosionRisk(self) -> bool: ... + def isSolidSulfurPresent(self) -> bool: ... + def printSummary(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAnalysisPressure(self, double: float) -> None: ... + def setFlowVelocity(self, double: float) -> None: ... + def setGasFlowRate(self, double: float) -> None: ... + def setGibbsDamping(self, double: float) -> None: ... + def setGibbsMaxIterations(self, int: int) -> None: ... + def setGibbsTolerance(self, double: float) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setPipeSegmentLength(self, double: float) -> None: ... + def setRunChemicalEquilibrium(self, boolean: bool) -> None: ... + def setRunCorrosionAssessment(self, boolean: bool) -> None: ... + def setRunSolidFlash(self, boolean: bool) -> None: ... + def setTemperatureSweepRange(self, double: float, double2: float, double3: float) -> None: ... + +class SyngasBurnerZone(jneqsim.process.equipment.TwoPortEquipment): + @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 getFlameTemperature(self) -> float: ... + def getHeatReleaseKW(self) -> float: ... + def getOxygenToCarbonRatio(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSafetyWarning(self) -> java.lang.String: ... + def isWithinOperatingEnvelope(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setMaximumFlameTemperature(self, double: float) -> None: ... + def setOxygenToCarbonEnvelope(self, double: float, double2: 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 WaterGasShiftReactor(jneqsim.process.equipment.TwoPortEquipment): + @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 getCarbonDioxideMoleFlowFormation(self) -> float: ... + def getCarbonMonoxideConversion(self) -> float: ... + def getHeatDutyKW(self) -> float: ... + def getHydrogenMoleFlowGain(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getShiftTemperature(self) -> float: ... + def getWgsEquilibriumRatio(self) -> float: ... + def hasConverged(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + @typing.overload + def setShiftTemperature(self, double: float) -> None: ... + @typing.overload + def setShiftTemperature(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 EnzymeTreatment(StirredTankReactor): + @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 getEnzymeConsumption(self) -> float: ... + def getEnzymeCostPerHour(self) -> float: ... + def getEnzymeCostPerKg(self) -> float: ... + def getEnzymeHalfLife(self) -> float: ... + def getEnzymeLoading(self) -> float: ... + def getEnzymeType(self) -> java.lang.String: ... + def getOptimalPH(self) -> float: ... + def getOptimalTemperature(self) -> float: ... + def getRelativeActivity(self) -> float: ... + def setEnzymeCostPerKg(self, double: float) -> None: ... + def setEnzymeHalfLife(self, double: float) -> None: ... + def setEnzymeLoading(self, double: float) -> None: ... + def setEnzymeType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOptimalPH(self, double: float) -> None: ... + def setOptimalTemperature(self, double: float) -> None: ... + +class Fermenter(StirredTankReactor): + @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 getAerationPower(self) -> float: ... + def getAerationRate(self) -> float: ... + def getCO2EvolutionRate(self) -> float: ... + def getCellYield(self) -> float: ... + def getKLa(self) -> float: ... + def getMaintenanceCoefficient(self) -> float: ... + def getTargetPH(self) -> float: ... + def getTotalPower(self) -> float: ... + def isAerobic(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAerationRate(self, double: float) -> None: ... + def setAerobic(self, boolean: bool) -> None: ... + def setCellYield(self, double: float) -> None: ... + def setKLa(self, double: float) -> None: ... + def setMaintenanceCoefficient(self, double: float) -> None: ... + def setTargetPH(self, double: float) -> None: ... + +class AnaerobicDigester(Fermenter): + @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 getActualVsDestruction(self) -> float: ... + def getBiogasFlowRateNm3PerDay(self) -> float: ... + def getBiogasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDigestateOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDigesterTemperature(self) -> float: ... + def getFeedRateKgPerHr(self) -> float: ... + def getHydraulicRetentionTimeDays(self) -> float: ... + def getMethaneContentPercent(self) -> float: ... + def getMethaneProductionNm3PerDay(self) -> float: ... + def getOrganicLoadingRate(self) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSubstrateType(self) -> 'AnaerobicDigester.SubstrateType': ... + def getTemperatureRegime(self) -> 'AnaerobicDigester.TemperatureRegime': ... + def getTotalSolidsFraction(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setDigesterTemperature(self, double: float) -> None: ... + @typing.overload + def setDigesterTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedRate(self, double: float, double2: float) -> None: ... + def setMethaneFraction(self, double: float) -> None: ... + def setSpecificMethaneYield(self, double: float) -> None: ... + def setSubstrateType(self, substrateType: 'AnaerobicDigester.SubstrateType') -> None: ... + def setVSDestruction(self, double: float) -> None: ... + def setVSTSRatio(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: ... + def toString(self) -> java.lang.String: ... + class SubstrateType(java.lang.Enum['AnaerobicDigester.SubstrateType']): + SEWAGE_SLUDGE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + FOOD_WASTE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + MANURE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + CROP_RESIDUE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + ENERGY_CROP: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + CUSTOM: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + def getSpecificMethaneYield(self) -> float: ... + def getVsDestruction(self) -> float: ... + def getVstsRatio(self) -> float: ... + _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]) -> 'AnaerobicDigester.SubstrateType': ... + @staticmethod + def values() -> typing.MutableSequence['AnaerobicDigester.SubstrateType']: ... + class TemperatureRegime(java.lang.Enum['AnaerobicDigester.TemperatureRegime']): + MESOPHILIC: typing.ClassVar['AnaerobicDigester.TemperatureRegime'] = ... + THERMOPHILIC: typing.ClassVar['AnaerobicDigester.TemperatureRegime'] = ... + _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]) -> 'AnaerobicDigester.TemperatureRegime': ... + @staticmethod + def values() -> typing.MutableSequence['AnaerobicDigester.TemperatureRegime']: ... + +class FermentationReactor(Fermenter): + @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 computeGrowthRate(self, double: float, double2: float, double3: float) -> float: ... + def getBatchTime(self) -> float: ... + def getBiomassConcentration(self) -> float: ... + def getContoisConstant(self) -> float: ... + def getFinalBiomassConcentration(self) -> float: ... + def getFinalSubstrateConcentration(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getKineticModel(self) -> 'FermentationReactor.KineticModel': ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMaintenanceCoefficient(self) -> float: ... + def getMaxSpecificGrowthRate(self) -> float: ... + def getMonodConstant(self) -> float: ... + def getOperationMode(self) -> 'FermentationReactor.OperationMode': ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getProductComponentName(self) -> java.lang.String: ... + def getProductConcentrationGPerL(self) -> float: ... + def getProductFormedKgPerHr(self) -> float: ... + def getProductInhibitionConcentration(self) -> float: ... + def getProductInhibitionExponent(self) -> float: ... + def getProductivity(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSpecificGrowthRate(self) -> float: ... + def getSubstrateComponentName(self) -> java.lang.String: ... + def getSubstrateConcentration(self) -> float: ... + def getSubstrateConsumedKgPerHr(self) -> float: ... + def getSubstrateConversion(self) -> float: ... + def getSubstrateInhibitionConstant(self) -> float: ... + def getYieldBiomass(self) -> float: ... + def getYieldProduct(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBatchTime(self, double: float) -> None: ... + def setBiomassConcentration(self, double: float) -> None: ... + def setContoisConstant(self, double: float) -> None: ... + def setFeedSubstrateConcentration(self, double: float) -> None: ... + def setFeedingRate(self, double: float) -> None: ... + def setGasProductName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGasYieldMolPerMol(self, double: float) -> None: ... + def setInitialProductConcentration(self, double: float) -> None: ... + def setKineticModel(self, kineticModel: 'FermentationReactor.KineticModel') -> None: ... + def setMaintenanceCoefficient(self, double: float) -> None: ... + def setMaxSpecificGrowthRate(self, double: float) -> None: ... + def setMonodConstant(self, double: float) -> None: ... + def setOperationMode(self, operationMode: 'FermentationReactor.OperationMode') -> None: ... + def setProductComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProductInhibitionConcentration(self, double: float) -> None: ... + def setProductInhibitionExponent(self, double: float) -> None: ... + def setSubstrateComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSubstrateConcentration(self, double: float) -> None: ... + def setSubstrateInhibitionConstant(self, double: float) -> None: ... + def setYieldBiomass(self, double: float) -> None: ... + def setYieldProduct(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 KineticModel(java.lang.Enum['FermentationReactor.KineticModel']): + MONOD: typing.ClassVar['FermentationReactor.KineticModel'] = ... + CONTOIS: typing.ClassVar['FermentationReactor.KineticModel'] = ... + SUBSTRATE_INHIBITED: typing.ClassVar['FermentationReactor.KineticModel'] = ... + PRODUCT_INHIBITED: typing.ClassVar['FermentationReactor.KineticModel'] = ... + _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]) -> 'FermentationReactor.KineticModel': ... + @staticmethod + def values() -> typing.MutableSequence['FermentationReactor.KineticModel']: ... + class OperationMode(java.lang.Enum['FermentationReactor.OperationMode']): + CONTINUOUS: typing.ClassVar['FermentationReactor.OperationMode'] = ... + BATCH: typing.ClassVar['FermentationReactor.OperationMode'] = ... + FED_BATCH: typing.ClassVar['FermentationReactor.OperationMode'] = ... + _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]) -> 'FermentationReactor.OperationMode': ... + @staticmethod + def values() -> typing.MutableSequence['FermentationReactor.OperationMode']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reactor")``. + + AmmoniaSynthesisReactor: typing.Type[AmmoniaSynthesisReactor] + AnaerobicDigester: typing.Type[AnaerobicDigester] + AutothermalReformer: typing.Type[AutothermalReformer] + BiomassGasifier: typing.Type[BiomassGasifier] + CatalystBed: typing.Type[CatalystBed] + CatalystDeactivationKinetics: typing.Type[CatalystDeactivationKinetics] + CatalyticTubeReformer: typing.Type[CatalyticTubeReformer] + EnzymeTreatment: typing.Type[EnzymeTreatment] + FermentationReactor: typing.Type[FermentationReactor] + Fermenter: typing.Type[Fermenter] + FurnaceBurner: typing.Type[FurnaceBurner] + GibbsReactor: typing.Type[GibbsReactor] + GibbsReactorCO2: typing.Type[GibbsReactorCO2] + KineticReaction: typing.Type[KineticReaction] + PartialOxidationReactor: typing.Type[PartialOxidationReactor] + PlugFlowReactor: typing.Type[PlugFlowReactor] + PyrolysisReactor: typing.Type[PyrolysisReactor] + QuenchSection: typing.Type[QuenchSection] + ReactorAxialProfile: typing.Type[ReactorAxialProfile] + ReformerFurnace: typing.Type[ReformerFurnace] + StirredTankReactor: typing.Type[StirredTankReactor] + StoichiometricReaction: typing.Type[StoichiometricReaction] + SulfurDepositionAnalyser: typing.Type[SulfurDepositionAnalyser] + SyngasBurnerZone: typing.Type[SyngasBurnerZone] + WaterGasShiftReactor: typing.Type[WaterGasShiftReactor] diff --git a/src/jneqsim/process/equipment/reservoir/__init__.pyi b/src/jneqsim/process/equipment/reservoir/__init__.pyi new file mode 100644 index 00000000..52b69f25 --- /dev/null +++ b/src/jneqsim/process/equipment/reservoir/__init__.pyi @@ -0,0 +1,526 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import java.util +import jpype +import jpype.protocol +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.thermo.system +import jneqsim.util +import typing + + + +class AnnularLeakagePath(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calculate(self, double: float, double2: float) -> None: ... + def calculateMAASP(self) -> float: ... + def getCementLeakageRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getChannelLeakageRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDominantMechanism(self) -> java.lang.String: ... + def getMAASP(self) -> float: ... + def getMAASPLimitingCriterion(self) -> java.lang.String: ... + def getPathLength(self) -> float: ... + def getTotalLeakageRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isAnnularPressureExceeded(self, double: float) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCementCrossSectionArea(self, double: float) -> None: ... + def setCementPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFluidDensity(self, double: float) -> None: ... + def setFluidViscosity(self, double: float) -> None: ... + def setLeakageMechanism(self, leakageMechanism: 'AnnularLeakagePath.LeakageMechanism') -> None: ... + def setMAASPParameters(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setMAASPSafetyFactors(self, double: float, double2: float) -> None: ... + def setPathGeometry(self, double: float, double2: float, double3: float, double4: float) -> None: ... + class LeakageMechanism(java.lang.Enum['AnnularLeakagePath.LeakageMechanism']): + CHANNEL_FLOW: typing.ClassVar['AnnularLeakagePath.LeakageMechanism'] = ... + POROUS_CEMENT: typing.ClassVar['AnnularLeakagePath.LeakageMechanism'] = ... + COMBINED: typing.ClassVar['AnnularLeakagePath.LeakageMechanism'] = ... + _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]) -> 'AnnularLeakagePath.LeakageMechanism': ... + @staticmethod + def values() -> typing.MutableSequence['AnnularLeakagePath.LeakageMechanism']: ... + +class CementDegradationModel(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getCementThickness(self) -> float: ... + def getCementType(self) -> 'CementDegradationModel.CementType': ... + def getDegradationDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getPermeabilityAtTime(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getTimeToFullCarbonation(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isCementCompromised(self, double: float) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCO2Conditions(self, double: float, double2: float) -> None: ... + def setCementThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCementType(self, cementType: 'CementDegradationModel.CementType') -> None: ... + def setDegradedPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setEffectiveDiffusivity(self, double: float) -> None: ... + def setInitialPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + class CementType(java.lang.Enum['CementDegradationModel.CementType']): + PORTLAND: typing.ClassVar['CementDegradationModel.CementType'] = ... + SILICA_PORTLAND: typing.ClassVar['CementDegradationModel.CementType'] = ... + CO2_RESISTANT: typing.ClassVar['CementDegradationModel.CementType'] = ... + _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]) -> 'CementDegradationModel.CementType': ... + @staticmethod + def values() -> typing.MutableSequence['CementDegradationModel.CementType']: ... + +class InjectionConformanceMonitor(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addZoneProfile(self, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> None: ... + def calculateHallPlot(self) -> None: ... + def detectSlopeChange(self, double: float) -> bool: ... + def getConformanceDiagnosis(self) -> 'InjectionConformanceMonitor.ConformanceDiagnosis': ... + def getCurrentHallSlope(self) -> float: ... + def getDataPointCount(self) -> int: ... + def getDataPoints(self) -> java.util.List['InjectionConformanceMonitor.InjectionDataPoint']: ... + def getDiagnosis(self) -> java.lang.String: ... + def getHallCumulativePressureTime(self) -> java.util.List[float]: ... + def getHallCumulativeVolume(self) -> java.util.List[float]: ... + def getInitialHallSlope(self) -> float: ... + def getInjectionEfficiency(self) -> float: ... + def getInjectionProfile(self) -> java.util.List['InjectionConformanceMonitor.ZoneProfilePoint']: ... + def getOutOfZoneFraction(self) -> float: ... + def recordInjectionData(self, double: float, double2: float, double3: float) -> None: ... + def reset(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + class ConformanceDiagnosis(java.lang.Enum['InjectionConformanceMonitor.ConformanceDiagnosis']): + NORMAL: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... + FRACTURE_GROWTH: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... + PLUGGING: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... + INSUFFICIENT_DATA: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... + OUT_OF_ZONE_SUSPECTED: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... + _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]) -> 'InjectionConformanceMonitor.ConformanceDiagnosis': ... + @staticmethod + def values() -> typing.MutableSequence['InjectionConformanceMonitor.ConformanceDiagnosis']: ... + class InjectionDataPoint(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + def getInjectionRateM3perDay(self) -> float: ... + def getTimeDays(self) -> float: ... + def getWellheadPressureBar(self) -> float: ... + class ZoneProfilePoint(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... + def getAllocationFraction(self) -> float: ... + def getDepthM(self) -> float: ... + def getZoneName(self) -> java.lang.String: ... + def isTargetZone(self) -> bool: ... + +class MultiCompartmentReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addCompartment(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> None: ... + def addInjectionRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def addProductionRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def getCompartmentFluid(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def getCompartmentPressure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getInterZoneFlowRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfCompartments(self) -> int: ... + def getSimulationTime(self, string: typing.Union[java.lang.String, str]) -> float: ... + def reset(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runTimeStep(self, double: float) -> None: ... + def setCompressibility(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setInjectionRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setProductionRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTransmissibility(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + class Compartment(java.io.Serializable): + name: java.lang.String = ... + fluid: jneqsim.thermo.system.SystemInterface = ... + poreVolume: float = ... + pressure: float = ... + initialPressure: float = ... + totalCompressibility: float = ... + netInjectionRate: float = ... + netProductionRate: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + class TransmissibilityConnection(java.io.Serializable): + compartment1: java.lang.String = ... + compartment2: java.lang.String = ... + transmissibility: float = ... + currentFlowRate: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + +class ReservoirCVDsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class ReservoirDiffLibsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class ReservoirTPsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProdPhaseName(self) -> java.lang.String: ... + def getReserervourFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setProdPhaseName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class SimpleReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def GORprodution(self) -> float: ... + def addGasInjector(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addGasProducer(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addOilProducer(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addWaterInjector(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addWaterProducer(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def displayResult(self) -> None: ... + def getGasInPlace(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasInjector(self, int: int) -> 'Well': ... + def getGasProducer(self, int: int) -> 'Well': ... + def getGasProductionTotal(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasProdution(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLowPressureLimit(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOGIP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOOIP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilInPlace(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOilProducer(self, int: int) -> 'Well': ... + @typing.overload + def getOilProducer(self, string: typing.Union[java.lang.String, str]) -> 'Well': ... + def getOilProductionTotal(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilProdution(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProductionTotal(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReservoirFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTime(self) -> float: ... + def getWaterInjector(self, int: int) -> 'Well': ... + def getWaterProducer(self, int: int) -> 'Well': ... + def getWaterProdution(self, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 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 setLowPressureLimit(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReservoirFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float) -> None: ... + +class TubingPerformance(jneqsim.process.equipment.TwoPortEquipment): + @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 disableTableVLP(self) -> None: ... + def findOperatingPoint(self, wellFlow: 'WellFlow', double: float, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @typing.overload + def generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def generateVLPFamily(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> java.util.List[typing.MutableSequence[typing.MutableSequence[float]]]: ... + def getBottomHolePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDepthProfile(self) -> typing.MutableSequence[float]: ... + def getHoldupProfile(self) -> typing.MutableSequence[float]: ... + def getPressureProfile(self) -> typing.MutableSequence[float]: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTotalPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVLPCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getVLPTableBHP(self) -> typing.MutableSequence[float]: ... + def getVLPTableFlowRates(self) -> typing.MutableSequence[float]: ... + def getVLPTableWellheadPressure(self) -> float: ... + def getWellheadPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def interpolateBHPFromTable(self, double: float) -> float: ... + def isUsingTableVLP(self) -> bool: ... + @typing.overload + def loadVLPFromFile(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def loadVLPFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], double: float) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBottomHoleTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGeothermalGradient(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInclination(self, double: float) -> None: ... + def setNumberOfSegments(self, int: int) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setPressureDropCorrelation(self, pressureDropCorrelation: 'TubingPerformance.PressureDropCorrelation') -> None: ... + def setProductionTime(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTableVLP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> None: ... + def setTemperatureModel(self, temperatureModel: 'TubingPerformance.TemperatureModel') -> None: ... + def setTubingDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubingLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWallRoughness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWellheadTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + class PressureDropCorrelation(java.lang.Enum['TubingPerformance.PressureDropCorrelation']): + BEGGS_BRILL: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... + HAGEDORN_BROWN: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... + GRAY: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... + HASAN_KABIR: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... + DUNS_ROS: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... + _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]) -> 'TubingPerformance.PressureDropCorrelation': ... + @staticmethod + def values() -> typing.MutableSequence['TubingPerformance.PressureDropCorrelation']: ... + class TemperatureModel(java.lang.Enum['TubingPerformance.TemperatureModel']): + ISOTHERMAL: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + LINEAR_GRADIENT: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + RAMEY: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + HASAN_KABIR_ENERGY: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... + _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]) -> 'TubingPerformance.TemperatureModel': ... + @staticmethod + def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... + +class Well(jneqsim.util.NamedBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getGOR(self) -> float: ... + def getStdGasProduction(self) -> float: ... + def getStdOilProduction(self) -> float: ... + def getStdWaterProduction(self) -> float: ... + def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class WellFlow(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInjectionZone(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float) -> None: ... + def addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> None: ... + def getBottomHolePressure(self) -> float: ... + def getDrawdown(self) -> float: ... + def getFlowMode(self) -> 'WellFlow.FlowMode': ... + def getIPRTablePressures(self) -> typing.MutableSequence[float]: ... + def getIPRTableRates(self) -> typing.MutableSequence[float]: ... + def getInjectionEfficiency(self) -> float: ... + def getLayer(self, int: int) -> 'WellFlow.ReservoirLayer': ... + def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMaxDrawdown(self) -> float: ... + def getMinBottomHolePressure(self) -> float: ... + def getNumberOfLayers(self) -> int: ... + def getOutOfZoneRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWellProductionIndex(self) -> float: ... + def getZoneAllocationFractions(self) -> typing.MutableSequence[float]: ... + def getZoneFractureRisk(self) -> typing.MutableSequence[bool]: ... + def isCalculatingOutletPressure(self) -> bool: ... + def isWellConstraintsEnabled(self) -> bool: ... + @typing.overload + def loadIPRFromFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def loadIPRFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 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 setBackpressureParameters(self, double: float, double2: float, double3: float) -> None: ... + def setDarcyLawParameters(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def setFetkovichParameters(self, double: float, double2: float, double3: float) -> None: ... + def setFlowMode(self, flowMode: 'WellFlow.FlowMode') -> None: ... + def setMaxDrawdown(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMinBottomHolePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTableInflow(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTargetZone(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... + def setWellProductionIndex(self, double: float) -> None: ... + def solveFlowFromOutletPressure(self, boolean: bool) -> None: ... + def useWellConstraints(self) -> 'WellFlow': ... + class FlowMode(java.lang.Enum['WellFlow.FlowMode']): + PRODUCTION: typing.ClassVar['WellFlow.FlowMode'] = ... + INJECTION: typing.ClassVar['WellFlow.FlowMode'] = ... + _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]) -> 'WellFlow.FlowMode': ... + @staticmethod + def values() -> typing.MutableSequence['WellFlow.FlowMode']: ... + class InflowPerformanceModel(java.lang.Enum['WellFlow.InflowPerformanceModel']): + PRODUCTION_INDEX: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... + VOGEL: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... + FETKOVICH: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... + BACKPRESSURE: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... + TABLE: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... + _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]) -> 'WellFlow.InflowPerformanceModel': ... + @staticmethod + def values() -> typing.MutableSequence['WellFlow.InflowPerformanceModel']: ... + class ReservoirLayer: + name: java.lang.String = ... + stream: jneqsim.process.equipment.stream.StreamInterface = ... + reservoirPressure: float = ... + productivityIndex: float = ... + calculatedRate: float = ... + fracturePressure: float = ... + barrierStressContrast: float = ... + 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 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: ... + +class WellSystem(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 addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float) -> None: ... + def generateIPRCurve(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBottomHolePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDrawdown(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEffectiveProductivityIndex(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getOperatingFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getReservoirPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTubingVLP(self) -> TubingPerformance: ... + def getVLPSolverMode(self) -> 'WellSystem.VLPSolverMode': ... + def getWellFlowIPR(self) -> WellFlow: ... + def getWellheadPressure(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: ... + def setBackpressureParameters(self, double: float, double2: float, double3: float) -> None: ... + def setBottomHoleTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setChokeOpening(self, double: float) -> None: ... + def setFetkovichParameters(self, double: float, double2: float, double3: float) -> None: ... + def setIPRModel(self, iPRModel: 'WellSystem.IPRModel') -> None: ... + def setInclination(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setPressureDropCorrelation(self, pressureDropCorrelation: TubingPerformance.PressureDropCorrelation) -> None: ... + def setProductionIndex(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReservoirStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setTemperatureModel(self, temperatureModel: TubingPerformance.TemperatureModel) -> None: ... + def setTubingDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubingLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubingRoughness(self, double: float) -> None: ... + def setVLPSolverMode(self, vLPSolverMode: 'WellSystem.VLPSolverMode') -> None: ... + def setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... + def setWellheadPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWellheadTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + class IPRModel(java.lang.Enum['WellSystem.IPRModel']): + PRODUCTION_INDEX: typing.ClassVar['WellSystem.IPRModel'] = ... + VOGEL: typing.ClassVar['WellSystem.IPRModel'] = ... + FETKOVICH: typing.ClassVar['WellSystem.IPRModel'] = ... + BACKPRESSURE: typing.ClassVar['WellSystem.IPRModel'] = ... + JONES_BLOUNT_GLAZE: typing.ClassVar['WellSystem.IPRModel'] = ... + TABLE: typing.ClassVar['WellSystem.IPRModel'] = ... + _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]) -> 'WellSystem.IPRModel': ... + @staticmethod + def values() -> typing.MutableSequence['WellSystem.IPRModel']: ... + class ReservoirLayer: + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float): ... + class VLPSolverMode(java.lang.Enum['WellSystem.VLPSolverMode']): + SIMPLIFIED: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + BEGGS_BRILL: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + HAGEDORN_BROWN: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + GRAY: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + HASAN_KABIR: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + DUNS_ROS: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + DRIFT_FLUX: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + TWO_FLUID: typing.ClassVar['WellSystem.VLPSolverMode'] = ... + _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]) -> 'WellSystem.VLPSolverMode': ... + @staticmethod + def values() -> typing.MutableSequence['WellSystem.VLPSolverMode']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reservoir")``. + + AnnularLeakagePath: typing.Type[AnnularLeakagePath] + CementDegradationModel: typing.Type[CementDegradationModel] + InjectionConformanceMonitor: typing.Type[InjectionConformanceMonitor] + MultiCompartmentReservoir: typing.Type[MultiCompartmentReservoir] + ReservoirCVDsim: typing.Type[ReservoirCVDsim] + ReservoirDiffLibsim: typing.Type[ReservoirDiffLibsim] + ReservoirTPsim: typing.Type[ReservoirTPsim] + SimpleReservoir: typing.Type[SimpleReservoir] + TubingPerformance: typing.Type[TubingPerformance] + Well: typing.Type[Well] + WellFlow: typing.Type[WellFlow] + WellSystem: typing.Type[WellSystem] diff --git a/src/jneqsim/process/equipment/separator/__init__.pyi b/src/jneqsim/process/equipment/separator/__init__.pyi new file mode 100644 index 00000000..1673dcf7 --- /dev/null +++ b/src/jneqsim/process/equipment/separator/__init__.pyi @@ -0,0 +1,628 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process +import jneqsim.process.design +import jneqsim.process.electricaldesign.separator +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.flare +import jneqsim.process.equipment.separator.entrainment +import jneqsim.process.equipment.separator.sectiontype +import jneqsim.process.equipment.stream +import jneqsim.process.instrumentdesign.separator +import jneqsim.process.mechanicaldesign.separator +import jneqsim.process.ml +import jneqsim.process.util.fire +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class Crystallizer(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 getCrystalPurity(self) -> float: ... + def getCrystalStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCrystallizationType(self) -> java.lang.String: ... + def getHeatDuty(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getMotherLiquorStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getResidenceTime(self) -> float: ... + def getSolidRecovery(self) -> float: ... + def getTargetSolute(self) -> java.lang.String: ... + def getVesselVolume(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCrystalPurity(self, double: float) -> None: ... + def setCrystallizationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setResidenceTime(self, double: float) -> None: ... + def setSolidRecovery(self, double: float) -> None: ... + def setTargetSolute(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVesselVolume(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 LiquidLiquidExtractor(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, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def getExtractStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getNumberOfStages(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPressureDrop(self) -> float: ... + def getRaffinateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getResidenceTimePerStage(self) -> float: ... + def getSolventStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStageEfficiency(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setResidenceTimePerStage(self, double: float) -> None: ... + def setSolventStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setStageEfficiency(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 SeparatorInterface(jneqsim.process.SimulationInterface): + @typing.overload + def getHeatInput(self) -> float: ... + @typing.overload + def getHeatInput(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def isSetHeatInput(self) -> bool: ... + @typing.overload + def setHeatInput(self, double: float) -> None: ... + @typing.overload + def setHeatInput(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInternalDiameter(self, double: float) -> None: ... + def setLiquidLevel(self, double: float) -> None: ... + +class SolidsSeparator(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 getDefaultSolidsSplit(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMoistureContent(self) -> float: ... + def getPowerConsumption(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getSolidsOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolidsSplitFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSpecificEnergy(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDefaultSolidsSplit(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMoistureContent(self, double: float) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setSolidsSplitFraction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecificEnergy(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 PressureFilter(SolidsSeparator): + @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 getFilterArea(self) -> float: ... + def getOperatingPressure(self) -> float: ... + def setFilterArea(self, double: float) -> None: ... + def setOperatingPressure(self, double: float) -> None: ... + +class RotaryVacuumFilter(SolidsSeparator): + @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 getFilterArea(self) -> float: ... + def getSpecificCakeResistance(self) -> float: ... + def getVacuumPressure(self) -> float: ... + def setFilterArea(self, double: float) -> None: ... + def setSpecificCakeResistance(self, double: float) -> None: ... + def setVacuumPressure(self, double: float) -> None: ... + +class ScrewPress(SolidsSeparator): + @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 getCompressionRatio(self) -> float: ... + def getScrewSpeed(self) -> float: ... + def setCompressionRatio(self, double: float) -> None: ... + def setScrewSpeed(self, double: float) -> None: ... + +class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorInterface, jneqsim.process.ml.StateVectorProvider, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + numberOfInputStreams: int = ... + DEFAULT_LIQUID_DENSITY_FOR_SIZING: typing.ClassVar[float] = ... + DEFAULT_K_VALUE_LIMIT: typing.ClassVar[float] = ... + DEFAULT_DROPLET_CUTSIZE_LIMIT: typing.ClassVar[float] = ... + DEFAULT_INLET_MOMENTUM_LIMIT: typing.ClassVar[float] = ... + DEFAULT_MIN_OIL_RETENTION_TIME: typing.ClassVar[float] = ... + DEFAULT_MIN_WATER_RETENTION_TIME: typing.ClassVar[float] = ... + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addSeparatorSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def calcDropletCutSize(self, double: float, double2: float) -> float: ... + def calcDropletCutSizeAtHLL(self) -> float: ... + def calcGasAreaAboveLevel(self, double: float) -> float: ... + def calcGasVelocityAboveLevel(self, double: float) -> float: ... + @typing.overload + def calcInletMomentumFlux(self) -> float: ... + @typing.overload + def calcInletMomentumFlux(self, double: float) -> float: ... + def calcKValue(self, double: float) -> float: ... + def calcKValueAtHLL(self) -> float: ... + def calcLiquidVolume(self) -> float: ... + def calcOilRetentionTime(self) -> float: ... + @staticmethod + def calcSegmentArea(double: float, double2: float) -> float: ... + def calcWaterRetentionTime(self) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def disableConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def disableConstraints(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def displayResult(self) -> None: ... + def enableConstraints(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + @typing.overload + def evaluateFireExposure(self, fireScenarioConfig: jneqsim.process.util.fire.SeparatorFireExposure.FireScenarioConfig) -> jneqsim.process.util.fire.SeparatorFireExposure.FireExposureResult: ... + @typing.overload + def evaluateFireExposure(self, fireScenarioConfig: jneqsim.process.util.fire.SeparatorFireExposure.FireScenarioConfig, flare: jneqsim.process.equipment.flare.Flare, double: float) -> jneqsim.process.util.fire.SeparatorFireExposure.FireExposureResult: ... + def getBootVolume(self) -> float: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getCapacityUtilization(self) -> float: ... + def getConstraintSummary(self) -> java.lang.String: ... + @typing.overload + def getDeRatedGasLoadFactor(self) -> float: ... + @typing.overload + def getDeRatedGasLoadFactor(self, int: int) -> float: ... + def getDesignGasLoadFactor(self) -> float: ... + def getDesignLiquidLevelFraction(self) -> float: ... + def getEfficiency(self) -> float: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.separator.SeparatorElectricalDesign: ... + def getEnabledConstraintNames(self) -> java.util.List[java.lang.String]: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasCarryunderFraction(self) -> float: ... + @typing.overload + def getGasLoadFactor(self) -> float: ... + @typing.overload + def getGasLoadFactor(self, int: int) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasSuperficialVelocity(self) -> float: ... + @typing.overload + def getHeatDuty(self) -> float: ... + @typing.overload + def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getHeatInput(self) -> float: ... + @typing.overload + def getHeatInput(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInletFlowRegime(self) -> jneqsim.process.equipment.separator.entrainment.MultiphaseFlowRegime.FlowRegime: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInnerSurfaceArea(self) -> float: ... + def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.separator.SeparatorInstrumentDesign: ... + def getInternalDiameter(self) -> float: ... + def getKFactor(self) -> float: ... + def getKFactorUtilization(self) -> float: ... + def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidCarryoverFraction(self) -> float: ... + def getLiquidLevel(self) -> float: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxAllowableGasFlowRate(self) -> float: ... + def getMaxAllowableGasVelocity(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... + def getMistEliminatorDpCoeff(self) -> float: ... + def getMistEliminatorPressureDrop(self) -> float: ... + def getMistEliminatorThickness(self) -> float: ... + def getOperatingEnvelopeViolation(self) -> java.lang.String: ... + def getOrientation(self) -> java.lang.String: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPerformanceCalculator(self) -> jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator: ... + def getPerformanceSummary(self) -> java.lang.String: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSeparatorLength(self) -> float: ... + @typing.overload + def getSeparatorSection(self, int: int) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + @typing.overload + def getSeparatorSection(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + def getSeparatorSections(self) -> java.util.ArrayList[jneqsim.process.equipment.separator.sectiontype.SeparatorSection]: ... + def getSimulationValidationErrors(self) -> java.util.List[java.lang.String]: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getStateVector(self) -> jneqsim.process.ml.StateVector: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUnwettedArea(self) -> float: ... + def getWeirHeight(self) -> float: ... + def getWeirLength(self) -> float: ... + def getWeirOverflowRate(self) -> float: ... + def getWettedArea(self) -> float: ... + def hasGeometry(self) -> bool: ... + def hashCode(self) -> int: ... + def initDesignFromFlow(self) -> None: ... + def initElectricalDesign(self) -> None: ... + def initInstrumentDesign(self) -> None: ... + def initMechanicalDesign(self) -> None: ... + def initializeTransientCalculation(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isConstraintEnabled(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isDetailedEntrainmentCalculation(self) -> bool: ... + @typing.overload + def isDropletCutSizeWithinLimit(self) -> bool: ... + @typing.overload + def isDropletCutSizeWithinLimit(self, double: float) -> bool: ... + def isEnforceCapacityLimits(self) -> bool: ... + def isEnhancedEntrainmentCalculation(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + @typing.overload + def isInletMomentumWithinLimit(self) -> bool: ... + @typing.overload + def isInletMomentumWithinLimit(self, double: float) -> bool: ... + @typing.overload + def isKValueWithinLimit(self) -> bool: ... + @typing.overload + def isKValueWithinLimit(self, double: float) -> bool: ... + def isMistEliminatorFlooded(self) -> bool: ... + @typing.overload + def isOilRetentionTimeAboveMinimum(self) -> bool: ... + @typing.overload + def isOilRetentionTimeAboveMinimum(self, double: float) -> bool: ... + def isOverloaded(self) -> bool: ... + def isSetHeatInput(self) -> bool: ... + def isSimulationValid(self) -> bool: ... + def isSinglePhase(self) -> bool: ... + @typing.overload + def isWaterRetentionTimeAboveMinimum(self) -> bool: ... + @typing.overload + def isWaterRetentionTimeAboveMinimum(self, double: float) -> bool: ... + def isWithinAllLimits(self) -> bool: ... + def isWithinOperatingEnvelope(self) -> bool: ... + def levelFromVolume(self, double: float) -> float: ... + def liquidArea(self, double: float) -> float: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @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 setBootVolume(self, double: float) -> None: ... + def setDesignGasLoadFactor(self, double: float) -> None: ... + def setDesignLiquidLevelFraction(self, double: float) -> None: ... + def setDetailedEntrainmentCalculation(self, boolean: bool) -> None: ... + def setDropletCutSizeLimit(self, double: float) -> None: ... + @typing.overload + def setDuty(self, double: float) -> None: ... + @typing.overload + def setDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setEnforceCapacityLimits(self, boolean: bool) -> None: ... + def setEnhancedEntrainmentCalculation(self, boolean: bool) -> None: ... + def setEntrainment(self, double: float, 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]) -> None: ... + def setGasCarryunderFraction(self, double: float) -> None: ... + def setGasLiquidSurfaceTension(self, double: float) -> None: ... + @typing.overload + def setHeatDuty(self, double: float) -> None: ... + @typing.overload + def setHeatDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setHeatInput(self, double: float) -> None: ... + @typing.overload + def setHeatInput(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletDeviceType(self, inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType) -> None: ... + def setInletMomentumLimit(self, double: float) -> None: ... + def setInletPipeDiameter(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInternalDiameter(self, double: float) -> None: ... + def setKValueLimit(self, double: float) -> None: ... + def setLiquidCarryoverFraction(self, double: float) -> None: ... + def setLiquidLevel(self, double: float) -> None: ... + def setMinOilRetentionTime(self, double: float) -> None: ... + def setMinWaterRetentionTime(self, double: float) -> None: ... + def setMistEliminatorDpCoeff(self, double: float) -> None: ... + def setMistEliminatorThickness(self, double: float) -> None: ... + def setOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPerformanceCalculator(self, separatorPerformanceCalculator: jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setSeparatorLength(self, double: float) -> None: ... + def setTempPres(self, double: float, double2: float) -> None: ... + def setWeirHeight(self, double: float) -> None: ... + def setWeirLength(self, double: float) -> None: ... + def sizeFromFlow(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def useAPIConstraints(self) -> None: ... + def useAllConstraints(self) -> None: ... + def useConstraints(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def useEquinorConstraints(self) -> None: ... + def useGasCapacityConstraints(self) -> None: ... + def useGasScrubberConstraints(self) -> None: ... + def useLiquidCapacityConstraints(self) -> None: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class Builder: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def build(self) -> 'Separator': ... + def designLiquidLevelFraction(self, double: float) -> 'Separator.Builder': ... + def diameter(self, double: float) -> 'Separator.Builder': ... + def efficiency(self, double: float) -> 'Separator.Builder': ... + def gasCarryunder(self, double: float) -> 'Separator.Builder': ... + def gasInLiquid(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def heatInput(self, double: float) -> 'Separator.Builder': ... + def horizontal(self) -> 'Separator.Builder': ... + def inletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'Separator.Builder': ... + def length(self, double: float) -> 'Separator.Builder': ... + def liquidCarryover(self, double: float) -> 'Separator.Builder': ... + def liquidLevel(self, double: float) -> 'Separator.Builder': ... + def oilInGas(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def orientation(self, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def pressureDrop(self, double: float) -> 'Separator.Builder': ... + def specifiedStream(self, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def steadyStateMode(self) -> 'Separator.Builder': ... + def transientMode(self) -> 'Separator.Builder': ... + def vertical(self) -> 'Separator.Builder': ... + def waterInGas(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + +class SolidsCentrifuge(SolidsSeparator): + @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 getGForce(self) -> float: ... + def setGForce(self, double: float) -> None: ... + +class CryogenicSeparator(Separator): + @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 getCO2MolFrac(self) -> float: ... + def getMaxCO2MolFrac(self) -> float: ... + def getMaxWaterPpm(self) -> float: ... + def hasCO2FreezeOutRisk(self) -> bool: ... + def hasHeavyHCFreezeOutRisk(self) -> bool: ... + def hasWaterIceRisk(self) -> bool: ... + def isSolidPhaseDetected(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setMaxCO2MolFrac(self, double: float) -> None: ... + def setMaxWaterPpm(self, double: float) -> None: ... + +class EndFlash(Separator): + @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 getFlashGasRatio(self) -> float: ... + def getMaxN2InLNG(self) -> float: ... + def getMethaneInLNGMolFrac(self) -> float: ... + def getN2InFlashGasMolFrac(self) -> float: ... + def getN2InLNGMolFrac(self) -> float: ... + def isLNGSpecMet(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setMaxN2InLNG(self, double: float) -> None: ... + +class GasScrubber(Separator): + @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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... + def initMechanicalDesign(self) -> None: ... + +class GasScrubberSimple(Separator): + @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 calcLiquidCarryoverFraction(self) -> float: ... + def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class Hydrocyclone(Separator): + @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 displayResult(self) -> None: ... + def getOilOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getWaterOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class NeqGasScrubber(Separator): + @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 addScrubberSection(self, string: typing.Union[java.lang.String, str]) -> None: ... + def displayResult(self) -> None: ... + def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class ThreePhaseSeparator(Separator): + @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 calcInterfaceSettlingTime(self) -> float: ... + def calcOilRetentionTime(self) -> float: ... + def calcWaterRetentionTime(self) -> float: ... + def displayResult(self) -> None: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getGasOutletFlowFraction(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilLevel(self) -> float: ... + def getOilOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOilOutletFlowFraction(self) -> float: ... + def getOilThickness(self) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPerformanceSummary(self) -> java.lang.String: ... + def getWaterLevel(self) -> float: ... + def getWaterOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getWaterOutletFlowFraction(self) -> float: ... + def initializeTransientCalculation(self) -> None: ... + def isWithinAllLimits(self) -> bool: ... + @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 setEntrainment(self, double: float, 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]) -> None: ... + def setGasOutletFlowFraction(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOilLevel(self, double: float) -> None: ... + def setOilOutletFlowFraction(self, double: float) -> None: ... + def setTempPres(self, double: float, double2: float) -> None: ... + def setWaterLevel(self, double: float) -> None: ... + def setWaterOutletFlowFraction(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class TwoPhaseSeparator(Separator): + @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): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.separator")``. + + CryogenicSeparator: typing.Type[CryogenicSeparator] + Crystallizer: typing.Type[Crystallizer] + EndFlash: typing.Type[EndFlash] + GasScrubber: typing.Type[GasScrubber] + GasScrubberSimple: typing.Type[GasScrubberSimple] + Hydrocyclone: typing.Type[Hydrocyclone] + LiquidLiquidExtractor: typing.Type[LiquidLiquidExtractor] + NeqGasScrubber: typing.Type[NeqGasScrubber] + PressureFilter: typing.Type[PressureFilter] + RotaryVacuumFilter: typing.Type[RotaryVacuumFilter] + ScrewPress: typing.Type[ScrewPress] + Separator: typing.Type[Separator] + SeparatorInterface: typing.Type[SeparatorInterface] + SolidsCentrifuge: typing.Type[SolidsCentrifuge] + SolidsSeparator: typing.Type[SolidsSeparator] + ThreePhaseSeparator: typing.Type[ThreePhaseSeparator] + TwoPhaseSeparator: typing.Type[TwoPhaseSeparator] + entrainment: jneqsim.process.equipment.separator.entrainment.__module_protocol__ + sectiontype: jneqsim.process.equipment.separator.sectiontype.__module_protocol__ diff --git a/src/jneqsim/process/equipment/separator/entrainment/__init__.pyi b/src/jneqsim/process/equipment/separator/entrainment/__init__.pyi new file mode 100644 index 00000000..8745c7ab --- /dev/null +++ b/src/jneqsim/process/equipment/separator/entrainment/__init__.pyi @@ -0,0 +1,416 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import neqsim +import typing + + + +class DropletSettlingCalculator(java.io.Serializable): + def __init__(self): ... + @staticmethod + def calcCriticalDiameter(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def calcDragCoefficient(double: float) -> float: ... + @staticmethod + def calcReynolds(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcTerminalVelocity(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcTurbulenceCorrectedCutDiameter(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + @staticmethod + def checkApi12JCompliance(double: float, double2: float, boolean: bool, double3: float, string: typing.Union[java.lang.String, str], boolean2: bool) -> 'DropletSettlingCalculator.ApiComplianceResult': ... + class ApiComplianceResult(java.io.Serializable): + gasLiquidSectionCompliant: bool = ... + liquidSectionCompliant: bool = ... + gasLiquidComment: java.lang.String = ... + liquidComment: java.lang.String = ... + gravityCutDiameter_um: float = ... + kFactorUtilization: float = ... + def __init__(self, boolean: bool, boolean2: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def isFullyCompliant(self) -> bool: ... + +class DropletSizeDistribution(java.io.Serializable): + def __init__(self): ... + def cumulativeFraction(self, double: float) -> float: ... + @staticmethod + def fromHinzeCorrelation(double: float, double2: float, double3: float, double4: float, double5: float) -> 'DropletSizeDistribution': ... + def getCharacteristicDiameter(self) -> float: ... + def getD50(self) -> float: ... + def getDiscreteClasses(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNumberOfClasses(self) -> int: ... + def getSauterMeanDiameter(self) -> float: ... + def getSpreadParameter(self) -> float: ... + def getType(self) -> 'DropletSizeDistribution.DistributionType': ... + def inverseCDF(self, double: float) -> float: ... + @staticmethod + def logNormal(double: float, double2: float) -> 'DropletSizeDistribution': ... + @staticmethod + def rosinRammler(double: float, double2: float) -> 'DropletSizeDistribution': ... + def setCharacteristicDiameter(self, double: float) -> None: ... + def setNumberOfClasses(self, int: int) -> None: ... + def setSpreadParameter(self, double: float) -> None: ... + def volumePDF(self, double: float) -> float: ... + class DistributionType(java.lang.Enum['DropletSizeDistribution.DistributionType']): + ROSIN_RAMMLER: typing.ClassVar['DropletSizeDistribution.DistributionType'] = ... + LOG_NORMAL: typing.ClassVar['DropletSizeDistribution.DistributionType'] = ... + _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]) -> 'DropletSizeDistribution.DistributionType': ... + @staticmethod + def values() -> typing.MutableSequence['DropletSizeDistribution.DistributionType']: ... + +class GradeEfficiencyCurve(java.io.Serializable): + def __init__(self): ... + @staticmethod + def axialCyclone(double: float, double2: float, double3: float) -> 'GradeEfficiencyCurve': ... + @staticmethod + def axialCycloneDefault() -> 'GradeEfficiencyCurve': ... + def calcOverallEfficiency(self, dropletSizeDistribution: DropletSizeDistribution) -> float: ... + @staticmethod + def custom(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'GradeEfficiencyCurve': ... + def getCutDiameter(self) -> float: ... + def getEfficiency(self, double: float) -> float: ... + def getMaxEfficiency(self) -> float: ... + def getMinEfficiency(self) -> float: ... + def getSharpness(self) -> float: ... + def getType(self) -> 'GradeEfficiencyCurve.InternalsType': ... + @staticmethod + def gravity(double: float) -> 'GradeEfficiencyCurve': ... + @staticmethod + def platePack(double: float, double2: float) -> 'GradeEfficiencyCurve': ... + def setCutDiameter(self, double: float) -> None: ... + def setMaxEfficiency(self, double: float) -> None: ... + def setMinEfficiency(self, double: float) -> None: ... + def setSharpness(self, double: float) -> None: ... + @staticmethod + def vanePack(double: float, double2: float, double3: float) -> 'GradeEfficiencyCurve': ... + @staticmethod + def vanePackDefault() -> 'GradeEfficiencyCurve': ... + @staticmethod + def wireMesh(double: float, double2: float, double3: float) -> 'GradeEfficiencyCurve': ... + @staticmethod + def wireMeshDefault() -> 'GradeEfficiencyCurve': ... + class InternalsType(java.lang.Enum['GradeEfficiencyCurve.InternalsType']): + GRAVITY: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... + WIRE_MESH: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... + VANE_PACK: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... + AXIAL_CYCLONE: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... + PLATE_PACK: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... + CUSTOM: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... + _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]) -> 'GradeEfficiencyCurve.InternalsType': ... + @staticmethod + def values() -> typing.MutableSequence['GradeEfficiencyCurve.InternalsType']: ... + +class InletDeviceModel(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, inletDeviceType: 'InletDeviceModel.InletDeviceType'): ... + def calculate(self, dropletSizeDistribution: DropletSizeDistribution, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def getBulkSeparationEfficiency(self) -> float: ... + def getDeviceType(self) -> 'InletDeviceModel.InletDeviceType': ... + def getDownstreamDSD(self) -> DropletSizeDistribution: ... + def getInletNozzleDiameter(self) -> float: ... + def getMomentumFlux(self) -> float: ... + def getNozzleVelocity(self) -> float: ... + def getPressureDrop(self) -> float: ... + def setDeviceType(self, inletDeviceType: 'InletDeviceModel.InletDeviceType') -> None: ... + def setInletNozzleDiameter(self, double: float) -> None: ... + def setOverrideBulkEfficiency(self, double: float) -> None: ... + def setOverrideDsdMultiplier(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class InletDeviceType(java.lang.Enum['InletDeviceModel.InletDeviceType']): + NONE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + DEFLECTOR_PLATE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + HALF_PIPE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + INLET_VANE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + INLET_CYCLONE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + SCHOEPENTOETER: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + IMPINGEMENT_PLATE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getDsdMultiplier(self) -> float: ... + def getPressureDropCoefficient(self) -> float: ... + def getTypicalBulkEfficiency(self) -> float: ... + _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]) -> 'InletDeviceModel.InletDeviceType': ... + @staticmethod + def values() -> typing.MutableSequence['InletDeviceModel.InletDeviceType']: ... + +class MultiphaseFlowRegime(java.io.Serializable): + def __init__(self): ... + def calcEntrainedLiquidFraction(self) -> float: ... + def getGasDensity(self) -> float: ... + def getGasSuperficialVelocity(self) -> float: ... + def getGasViscosity(self) -> float: ... + def getGeneratedDSD(self) -> DropletSizeDistribution: ... + def getLiquidDensity(self) -> float: ... + def getLiquidSuperficialVelocity(self) -> float: ... + def getLiquidViscosity(self) -> float: ... + def getPipeDiameter(self) -> float: ... + def getPipeOrientation(self) -> java.lang.String: ... + def getPredictedRegime(self) -> 'MultiphaseFlowRegime.FlowRegime': ... + def getSurfaceTension(self) -> float: ... + def predict(self) -> None: ... + def setGasDensity(self, double: float) -> None: ... + def setGasSuperficialVelocity(self, double: float) -> None: ... + def setGasViscosity(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidSuperficialVelocity(self, double: float) -> None: ... + def setLiquidViscosity(self, double: float) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setPipeOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSurfaceTension(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class FlowRegime(java.lang.Enum['MultiphaseFlowRegime.FlowRegime']): + STRATIFIED_SMOOTH: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + STRATIFIED_WAVY: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + SLUG: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + PLUG: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + ANNULAR: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + ANNULAR_MIST: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + DISPERSED_BUBBLE: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + CHURN: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + BUBBLE: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(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]) -> 'MultiphaseFlowRegime.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['MultiphaseFlowRegime.FlowRegime']: ... + +class SeparatorGeometryCalculator(java.io.Serializable): + def __init__(self): ... + @staticmethod + def calcKFactor(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calcSegmentArea(double: float, double2: float) -> float: ... + def calculate(self, double: float, double2: float) -> None: ... + def calculateThreePhase(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def getEffectiveGasSettlingHeight(self) -> float: ... + def getEffectiveLiquidSettlingHeight(self) -> float: ... + def getGasArea(self) -> float: ... + def getGasResidenceTime(self) -> float: ... + def getGasVolume(self) -> float: ... + def getGravitySectionLength(self) -> float: ... + def getInletNozzleDiameter(self) -> float: ... + def getInternalDiameter(self) -> float: ... + def getLiquidArea(self) -> float: ... + def getLiquidResidenceTime(self) -> float: ... + def getLiquidVolume(self) -> float: ... + def getNormalLiquidLevel(self) -> float: ... + def getOilPadThickness(self) -> float: ... + def getOrientation(self) -> java.lang.String: ... + def getTangentToTangentLength(self) -> float: ... + def getWaterLayerHeight(self) -> float: ... + def setHighLiquidLevel(self, double: float) -> None: ... + def setInletNozzleDiameter(self, double: float) -> None: ... + def setInternalDiameter(self, double: float) -> None: ... + def setLowLiquidLevel(self, double: float) -> None: ... + def setMistEliminatorPosition(self, double: float) -> None: ... + def setNormalLiquidLevel(self, double: float) -> None: ... + def setOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTangentToTangentLength(self, double: float) -> None: ... + def setWeirPosition(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class SeparatorInternalsDatabase(java.io.Serializable): + def findByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.InternalsRecord']: ... + def findByTypeAndSubType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SeparatorInternalsDatabase.InternalsRecord': ... + def findInletDeviceByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.InletDeviceRecord']: ... + def findVendorCurveById(self, string: typing.Union[java.lang.String, str]) -> 'SeparatorInternalsDatabase.VendorCurveRecord': ... + def findVendorCurvesByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... + def findVendorCurvesByTypeAndVendor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... + def findVendorCurvesByVendor(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... + def getAllInletDevices(self) -> java.util.List['SeparatorInternalsDatabase.InletDeviceRecord']: ... + def getAllInternals(self) -> java.util.List['SeparatorInternalsDatabase.InternalsRecord']: ... + def getAllVendorCurves(self) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... + @staticmethod + def getInstance() -> 'SeparatorInternalsDatabase': ... + def toCatalogJson(self) -> java.lang.String: ... + class InletDeviceRecord(java.io.Serializable): + deviceType: java.lang.String = ... + subType: java.lang.String = ... + minMomentum_Pa: float = ... + maxMomentum_Pa: float = ... + typicalBulkEfficiency: float = ... + dsdMultiplier: float = ... + pressureDropCoeff: float = ... + maxCapacity: float = ... + material: java.lang.String = ... + reference: java.lang.String = ... + def __init__(self): ... + class InternalsRecord(java.io.Serializable): + internalsType: java.lang.String = ... + subType: java.lang.String = ... + manufacturer: java.lang.String = ... + d50_um: float = ... + sharpness: float = ... + maxEfficiency: float = ... + maxKFactor: float = ... + minKFactor: float = ... + pressureDrop_mbar: float = ... + designStandard: java.lang.String = ... + material: java.lang.String = ... + maxTemperature_C: float = ... + minThickness_mm: float = ... + weight_kg_m2: float = ... + reference: java.lang.String = ... + def __init__(self): ... + def toGradeEfficiencyCurve(self) -> GradeEfficiencyCurve: ... + class VendorCurveRecord(java.io.Serializable): + curveId: java.lang.String = ... + internalsType: java.lang.String = ... + vendorName: java.lang.String = ... + productFamily: java.lang.String = ... + testStandard: java.lang.String = ... + testFluid: java.lang.String = ... + testPressure_bar: float = ... + testTemperature_C: float = ... + diameterPoints_um: typing.MutableSequence[float] = ... + efficiencyPoints: typing.MutableSequence[float] = ... + maxKFactor: float = ... + testDate: java.lang.String = ... + certificateRef: java.lang.String = ... + notes: java.lang.String = ... + def __init__(self): ... + def toGradeEfficiencyCurve(self) -> GradeEfficiencyCurve: ... + +class SeparatorPerformanceCalculator(java.io.Serializable): + def __init__(self): ... + def buildBatchCalibrationReportJson(self, list: java.util.List['SeparatorPerformanceCalculator.CalibrationCase'], batchCalibrationSummary: 'SeparatorPerformanceCalculator.BatchCalibrationSummary', double: float) -> java.lang.String: ... + def calculate(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, string: typing.Union[java.lang.String, str], double10: float) -> None: ... + def calibrateFromCaseLibrary(self, list: java.util.List['SeparatorPerformanceCalculator.CalibrationCase'], double: float) -> 'SeparatorPerformanceCalculator.BatchCalibrationSummary': ... + def calibrateFromGroupedMeasurements(self, double: float, double2: float, double3: float, double4: float) -> 'SeparatorPerformanceCalculator.CalibrationSummary': ... + def calibrateFromMeasuredFractions(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'SeparatorPerformanceCalculator.CalibrationSummary': ... + @staticmethod + def generateLiquidLiquidDSD(double: float, double2: float, double3: float, double4: float) -> DropletSizeDistribution: ... + def getApiComplianceResult(self) -> DropletSettlingCalculator.ApiComplianceResult: ... + def getFlowRegimeCalculator(self) -> MultiphaseFlowRegime: ... + def getGasCarryUnderCalibrationFactor(self) -> float: ... + def getGasInOilFraction(self) -> float: ... + def getGasInWaterFraction(self) -> float: ... + def getGasLiquidDSD(self) -> DropletSizeDistribution: ... + def getGeometryCalculator(self) -> SeparatorGeometryCalculator: ... + def getGravityCutDiameter(self) -> float: ... + def getGravitySectionEfficiency(self) -> float: ... + def getInletDeviceBulkEfficiency(self) -> float: ... + def getInletDeviceModel(self) -> InletDeviceModel: ... + def getInletFlowRegime(self) -> MultiphaseFlowRegime.FlowRegime: ... + def getInletPipeDiameter(self) -> float: ... + def getKFactor(self) -> float: ... + def getKFactorUtilization(self) -> float: ... + def getLiquidInGasCalibrationFactor(self) -> float: ... + def getLiquidLiquidCalibrationFactor(self) -> float: ... + def getLiquidLiquidGravityEfficiency(self) -> float: ... + def getMistEliminatorCurve(self) -> GradeEfficiencyCurve: ... + def getMistEliminatorEfficiency(self) -> float: ... + def getOilInGasFraction(self) -> float: ... + def getOilInWaterFraction(self) -> float: ... + def getOilVolumeFraction(self) -> float: ... + def getOilWaterInterfacialTension(self) -> float: ... + def getOverallGasLiquidEfficiency(self) -> float: ... + def getPostInletDeviceDSD(self) -> DropletSizeDistribution: ... + def getSurfaceTension(self) -> float: ... + def getWaterInGasFraction(self) -> float: ... + def getWaterInOilFraction(self) -> float: ... + def isApplyTurbulenceCorrection(self) -> bool: ... + def isIncludeGravitySection(self) -> bool: ... + def isMistEliminatorFlooded(self) -> bool: ... + def isUseEnhancedCalculation(self) -> bool: ... + @staticmethod + def loadCalibrationCasesFromCsv(string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorPerformanceCalculator.CalibrationCase']: ... + def saveBatchCalibrationReportJson(self, string: typing.Union[java.lang.String, str], list: java.util.List['SeparatorPerformanceCalculator.CalibrationCase'], batchCalibrationSummary: 'SeparatorPerformanceCalculator.BatchCalibrationSummary', double: float) -> None: ... + def setApplyTurbulenceCorrection(self, boolean: bool) -> None: ... + def setFlowRegimeCalculator(self, multiphaseFlowRegime: MultiphaseFlowRegime) -> None: ... + def setGasBubbleDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def setGasCarryUnderCalibrationFactor(self, double: float) -> None: ... + def setGasLiquidDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def setGeometryCalculator(self, separatorGeometryCalculator: SeparatorGeometryCalculator) -> None: ... + def setIncludeGravitySection(self, boolean: bool) -> None: ... + def setInletDeviceModel(self, inletDeviceModel: InletDeviceModel) -> None: ... + def setInletPipeDiameter(self, double: float) -> None: ... + def setLiquidInGasCalibrationFactor(self, double: float) -> None: ... + def setLiquidLiquidCalibrationFactor(self, double: float) -> None: ... + def setLiquidLiquidResidenceTime(self, double: float) -> None: ... + def setMistEliminatorCurve(self, gradeEfficiencyCurve: GradeEfficiencyCurve) -> None: ... + def setOilInWaterDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def setOilVolumeFraction(self, double: float) -> None: ... + def setOilWaterCoalescerCurve(self, gradeEfficiencyCurve: GradeEfficiencyCurve) -> None: ... + def setOilWaterInterfacialTension(self, double: float) -> None: ... + def setSurfaceTension(self, double: float) -> None: ... + def setUseEnhancedCalculation(self, boolean: bool) -> None: ... + def setWaterInOilDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def toJson(self) -> java.lang.String: ... + class BatchCalibrationSummary(jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator.CalibrationSummary): + casesProcessed: int = ... + mapeBefore: float = ... + mapeAfter: float = ... + def __init__(self, calibrationSummary: 'SeparatorPerformanceCalculator.CalibrationSummary', int: int, double: float, double2: float): ... + class CalibrationCase(java.io.Serializable): + caseId: java.lang.String = ... + modeledOilInGas: float = ... + modeledWaterInGas: float = ... + modeledGasInOil: float = ... + modeledGasInWater: float = ... + modeledOilInWater: float = ... + modeledWaterInOil: float = ... + measuredOilInGas: float = ... + measuredWaterInGas: float = ... + measuredGasInOil: float = ... + measuredGasInWater: float = ... + measuredOilInWater: float = ... + measuredWaterInOil: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float): ... + class CalibrationSummary(java.io.Serializable): + previousLiquidInGasFactor: float = ... + previousGasCarryUnderFactor: float = ... + previousLiquidLiquidFactor: float = ... + newLiquidInGasFactor: float = ... + newGasCarryUnderFactor: float = ... + newLiquidLiquidFactor: float = ... + liquidInGasPointsUsed: int = ... + gasCarryUnderPointsUsed: int = ... + liquidLiquidPointsUsed: int = ... + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, int: int, int2: int, int3: int): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.separator.entrainment")``. + + DropletSettlingCalculator: typing.Type[DropletSettlingCalculator] + DropletSizeDistribution: typing.Type[DropletSizeDistribution] + GradeEfficiencyCurve: typing.Type[GradeEfficiencyCurve] + InletDeviceModel: typing.Type[InletDeviceModel] + MultiphaseFlowRegime: typing.Type[MultiphaseFlowRegime] + SeparatorGeometryCalculator: typing.Type[SeparatorGeometryCalculator] + SeparatorInternalsDatabase: typing.Type[SeparatorInternalsDatabase] + SeparatorPerformanceCalculator: typing.Type[SeparatorPerformanceCalculator] diff --git a/src/jneqsim/process/equipment/separator/sectiontype/__init__.pyi b/src/jneqsim/process/equipment/separator/sectiontype/__init__.pyi new file mode 100644 index 00000000..b43c0620 --- /dev/null +++ b/src/jneqsim/process/equipment/separator/sectiontype/__init__.pyi @@ -0,0 +1,73 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment.separator +import jneqsim.process.mechanicaldesign.separator.sectiontype +import jneqsim.util +import typing + + + +class SeparatorSection(jneqsim.util.NamedBaseClass): + separator: jneqsim.process.equipment.separator.Separator = ... + outerDiameter: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + def getEfficiency(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.SepDesignSection: ... + def getMinimumLiquidSealHeight(self) -> float: ... + def getOuterDiameter(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... + def isCalcEfficiency(self) -> bool: ... + def setCalcEfficiency(self, boolean: bool) -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setSeparator(self, separator: jneqsim.process.equipment.separator.Separator) -> None: ... + +class ManwaySection(SeparatorSection): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechManwaySection: ... + +class MeshSection(SeparatorSection): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MecMeshSection: ... + +class NozzleSection(SeparatorSection): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechNozzleSection: ... + +class PackedSection(SeparatorSection): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + +class ValveSection(SeparatorSection): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.DistillationTraySection: ... + +class VaneSection(SeparatorSection): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def calcEfficiency(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechVaneSection: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.separator.sectiontype")``. + + ManwaySection: typing.Type[ManwaySection] + MeshSection: typing.Type[MeshSection] + NozzleSection: typing.Type[NozzleSection] + PackedSection: typing.Type[PackedSection] + SeparatorSection: typing.Type[SeparatorSection] + ValveSection: typing.Type[ValveSection] + VaneSection: typing.Type[VaneSection] diff --git a/src/jneqsim/process/equipment/splitter/__init__.pyi b/src/jneqsim/process/equipment/splitter/__init__.pyi new file mode 100644 index 00000000..c07a36af --- /dev/null +++ b/src/jneqsim/process/equipment/splitter/__init__.pyi @@ -0,0 +1,206 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign +import jneqsim.process.util.report +import jneqsim.util.validation +import typing + + + +class BiogasUpgrader(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 getBiomethaneCO2Percent(self) -> float: ... + def getBiomethaneFlowNm3PerHr(self) -> float: ... + def getBiomethaneMethanePercent(self) -> float: ... + def getBiomethaneOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getEnergyConsumptionKW(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getMethaneSlipPercent(self) -> float: ... + def getOffgasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getRawBiogasFlowNm3PerHr(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTechnology(self) -> 'BiogasUpgrader.UpgradingTechnology': ... + def getWobbeIndex(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCO2RemovalEfficiency(self, double: float) -> None: ... + def setH2SRemovalEfficiency(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMethaneRecovery(self, double: float) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setSpecificEnergy(self, double: float) -> None: ... + def setTechnology(self, upgradingTechnology: 'BiogasUpgrader.UpgradingTechnology') -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class UpgradingTechnology(java.lang.Enum['BiogasUpgrader.UpgradingTechnology']): + WATER_SCRUBBING: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... + AMINE_SCRUBBING: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... + MEMBRANE: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... + PSA: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... + def getCo2RemovalEfficiency(self) -> float: ... + def getH2sRemovalEfficiency(self) -> float: ... + def getMethaneRecovery(self) -> float: ... + def getSpecificEnergyKWhPerNm3(self) -> float: ... + _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]) -> 'BiogasUpgrader.UpgradingTechnology': ... + @staticmethod + def values() -> typing.MutableSequence['BiogasUpgrader.UpgradingTechnology']: ... + +class ComponentCaptureUnit(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 getActualCaptureFraction(self) -> float: ... + def getCaptureFraction(self) -> float: ... + def getCapturedComponentMoleFlow(self) -> float: ... + def getCapturedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getComponentName(self) -> java.lang.String: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTreatedComponentMoleFlow(self) -> float: ... + def getTreatedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCaptureFraction(self, double: float) -> None: ... + def setComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + +class ComponentSplitter(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 displayResult(self) -> None: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSplitFactors(self) -> typing.MutableSequence[float]: ... + def getSplitNumber(self) -> int: ... + def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class SplitterInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def equals(self, object: typing.Any) -> bool: ... + def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def hashCode(self) -> int: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSplitNumber(self, int: int) -> None: ... + +class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + @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): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def calcSplitFactors(self) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getDesignPressureDrop(self) -> float: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getFlowUnit(self) -> java.lang.String: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxDesignVelocity(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSplitFactor(self, int: int) -> float: ... + def getSplitFactors(self) -> typing.MutableSequence[float]: ... + def getSplitNumber(self) -> int: ... + def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initMechanicalDesign(self) -> None: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def needRecalculation(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @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 setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setDesignPressureDrop(self, double: float) -> None: ... + def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMaxDesignVelocity(self, double: float) -> None: ... + def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSplitNumber(self, int: int) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.splitter")``. + + BiogasUpgrader: typing.Type[BiogasUpgrader] + ComponentCaptureUnit: typing.Type[ComponentCaptureUnit] + ComponentSplitter: typing.Type[ComponentSplitter] + Splitter: typing.Type[Splitter] + SplitterInterface: typing.Type[SplitterInterface] diff --git a/src/jneqsim/process/equipment/stream/__init__.pyi b/src/jneqsim/process/equipment/stream/__init__.pyi new file mode 100644 index 00000000..48d2c1bd --- /dev/null +++ b/src/jneqsim/process/equipment/stream/__init__.pyi @@ -0,0 +1,261 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.util.report +import jneqsim.standards.gasquality +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class EnergyStream(java.io.Serializable, java.lang.Cloneable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def clone(self) -> 'EnergyStream': ... + def equals(self, object: typing.Any) -> bool: ... + def getDuty(self) -> float: ... + def getName(self) -> java.lang.String: ... + def hashCode(self) -> int: ... + def setDuty(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class StreamInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def CCB(self, string: typing.Union[java.lang.String, str]) -> float: ... + def CCT(self, string: typing.Union[java.lang.String, str]) -> float: ... + def GCV(self) -> float: ... + def LCV(self) -> float: ... + def TVP(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def clone(self) -> 'StreamInterface': ... + @typing.overload + def clone(self, string: typing.Union[java.lang.String, str]) -> 'StreamInterface': ... + def equals(self, object: typing.Any) -> bool: ... + def flashStream(self) -> None: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGCV(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getHydrateEquilibriumTemperature(self) -> float: ... + def getHydrocarbonDewPoint(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> float: ... + def getISO6976(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.standards.gasquality.Standard_ISO6976: ... + def getMolarRate(self) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def getTVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getWI(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def hashCode(self) -> int: ... + def runTPflash(self) -> None: ... + def setEmptyThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setThermoSystemFromPhase(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + +class VirtualStream(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: StreamInterface): ... + def getOutStream(self) -> StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceStream(self, streamInterface: StreamInterface) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def solved(self) -> bool: ... + +class Stream(jneqsim.process.equipment.ProcessEquipmentBaseClass, StreamInterface, java.lang.Cloneable): + @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: StreamInterface): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def CCB(self, string: typing.Union[java.lang.String, str]) -> float: ... + def CCT(self, string: typing.Union[java.lang.String, str]) -> float: ... + def GCV(self) -> float: ... + def LCV(self) -> float: ... + def TVP(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def clone(self) -> 'Stream': ... + @typing.overload + def clone(self, string: typing.Union[java.lang.String, str]) -> 'Stream': ... + def displayResult(self) -> None: ... + def flashStream(self) -> None: ... + def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getGCV(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getGasQuality(self) -> float: ... + def getHydrateEquilibriumTemperature(self) -> float: ... + def getHydrocarbonDewPoint(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> float: ... + def getISO6976(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.standards.gasquality.Standard_ISO6976: ... + def getMolarRate(self) -> float: ... + def getOutletStream(self) -> StreamInterface: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + @typing.overload + def getProperty(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.Any: ... + @typing.overload + def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def getReport(self) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSolidFormationTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getWI(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def needRecalculation(self) -> bool: ... + def phaseEnvelope(self) -> None: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runController(self, double: float, uUID: java.util.UUID) -> None: ... + def runTPflash(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setEmptyThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setGasQuality(self, double: float) -> None: ... + def setInletStream(self, streamInterface: StreamInterface) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setStream(self, streamInterface: StreamInterface) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setThermoSystemFromPhase(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class EquilibriumStream(Stream): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def clone(self) -> 'EquilibriumStream': ... + @typing.overload + def clone(self, string: typing.Union[java.lang.String, str]) -> 'EquilibriumStream': ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class IronIonSaturationStream(Stream): + @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: StreamInterface): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def clone(self) -> 'IronIonSaturationStream': ... + @typing.overload + def clone(self, string: typing.Union[java.lang.String, str]) -> 'IronIonSaturationStream': ... + def displayResult(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class NeqStream(Stream): + @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: StreamInterface): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def clone(self) -> 'NeqStream': ... + @typing.overload + def clone(self, string: typing.Union[java.lang.String, str]) -> 'NeqStream': ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class ScalePotentialCheckStream(Stream): + @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: StreamInterface): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def clone(self) -> 'ScalePotentialCheckStream': ... + @typing.overload + def clone(self, string: typing.Union[java.lang.String, str]) -> 'ScalePotentialCheckStream': ... + def displayResult(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.stream")``. + + EnergyStream: typing.Type[EnergyStream] + EquilibriumStream: typing.Type[EquilibriumStream] + IronIonSaturationStream: typing.Type[IronIonSaturationStream] + NeqStream: typing.Type[NeqStream] + ScalePotentialCheckStream: typing.Type[ScalePotentialCheckStream] + Stream: typing.Type[Stream] + StreamInterface: typing.Type[StreamInterface] + VirtualStream: typing.Type[VirtualStream] diff --git a/src/jneqsim/process/equipment/subsea/__init__.pyi b/src/jneqsim/process/equipment/subsea/__init__.pyi new file mode 100644 index 00000000..82da83ca --- /dev/null +++ b/src/jneqsim/process/equipment/subsea/__init__.pyi @@ -0,0 +1,1190 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.valve +import jneqsim.process.mechanicaldesign +import jneqsim.process.mechanicaldesign.subsea +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class FlexiblePipe(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @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): ... + @staticmethod + def createDynamicRiser(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, riserConfiguration: 'FlexiblePipe.RiserConfiguration') -> 'FlexiblePipe': ... + @staticmethod + def createStaticFlowline(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'FlexiblePipe': ... + def getApplication(self) -> 'FlexiblePipe.Application': ... + def getBendStiffenerLength(self) -> float: ... + def getBurstPressure(self) -> float: ... + def getCarcassMaterial(self) -> java.lang.String: ... + def getCo2ContentPercent(self) -> float: ... + def getCollapsePressure(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDryWeightPerMeter(self) -> float: ... + def getEndFittingFlangeRating(self) -> java.lang.String: ... + def getEndFittingType(self) -> java.lang.String: ... + def getH2sContentPercent(self) -> float: ... + def getInnerDiameterInches(self) -> float: ... + def getInternalSheathMaterial(self) -> java.lang.String: ... + def getLength(self) -> float: ... + def getMaxTensionKN(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.FlexiblePipeMechanicalDesign: ... + def getMinDesignTemperature(self) -> float: ... + def getMinimumBendRadius(self) -> float: ... + def getOuterDiameterMm(self) -> float: ... + def getPipeType(self) -> 'FlexiblePipe.PipeType': ... + def getRiserConfiguration(self) -> 'FlexiblePipe.RiserConfiguration': ... + def getServiceType(self) -> 'FlexiblePipe.ServiceType': ... + def getSubmergedWeightPerMeter(self) -> float: ... + def getTensileArmorLayers(self) -> int: ... + def getWaterDepth(self) -> float: ... + def hasBendStiffener(self) -> bool: ... + def hasCarcass(self) -> bool: ... + def hasPressureArmor(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def isSourService(self) -> bool: ... + def isSuitableForSourService(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setApplication(self, application: 'FlexiblePipe.Application') -> None: ... + def setBendStiffenerLength(self, double: float) -> None: ... + def setBurstPressure(self, double: float) -> None: ... + def setCO2Content(self, double: float) -> None: ... + def setCarcassMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCollapsePressure(self, double: float) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDryWeightPerMeter(self, double: float) -> None: ... + def setEndFittingFlangeRating(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEndFittingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setH2SContent(self, double: float) -> None: ... + def setHasBendStiffener(self, boolean: bool) -> None: ... + def setHasCarcass(self, boolean: bool) -> None: ... + def setHasPressureArmor(self, boolean: bool) -> None: ... + def setInnerDiameterInches(self, double: float) -> None: ... + def setInternalSheathMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength(self, double: float) -> None: ... + def setMaxTensionKN(self, double: float) -> None: ... + def setMinDesignTemperature(self, double: float) -> None: ... + def setMinimumBendRadius(self, double: float) -> None: ... + def setOuterDiameterMm(self, double: float) -> None: ... + def setPipeType(self, pipeType: 'FlexiblePipe.PipeType') -> None: ... + def setRiserConfiguration(self, riserConfiguration: 'FlexiblePipe.RiserConfiguration') -> None: ... + def setServiceType(self, serviceType: 'FlexiblePipe.ServiceType') -> None: ... + def setSubmergedWeightPerMeter(self, double: float) -> None: ... + def setTensileArmorLayers(self, int: int) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class Application(java.lang.Enum['FlexiblePipe.Application']): + DYNAMIC_RISER: typing.ClassVar['FlexiblePipe.Application'] = ... + STATIC_RISER: typing.ClassVar['FlexiblePipe.Application'] = ... + FLOWLINE: typing.ClassVar['FlexiblePipe.Application'] = ... + JUMPER: typing.ClassVar['FlexiblePipe.Application'] = ... + EXPORT: typing.ClassVar['FlexiblePipe.Application'] = ... + INJECTION: typing.ClassVar['FlexiblePipe.Application'] = ... + def getDisplayName(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]) -> 'FlexiblePipe.Application': ... + @staticmethod + def values() -> typing.MutableSequence['FlexiblePipe.Application']: ... + class PipeType(java.lang.Enum['FlexiblePipe.PipeType']): + UNBONDED: typing.ClassVar['FlexiblePipe.PipeType'] = ... + BONDED: typing.ClassVar['FlexiblePipe.PipeType'] = ... + HYBRID_COMPOSITE: typing.ClassVar['FlexiblePipe.PipeType'] = ... + def getDisplayName(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]) -> 'FlexiblePipe.PipeType': ... + @staticmethod + def values() -> typing.MutableSequence['FlexiblePipe.PipeType']: ... + class RiserConfiguration(java.lang.Enum['FlexiblePipe.RiserConfiguration']): + FREE_HANGING: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + LAZY_WAVE: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + STEEP_WAVE: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + LAZY_S: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + STEEP_S: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + PLIANT_WAVE: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + def getDisplayName(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]) -> 'FlexiblePipe.RiserConfiguration': ... + @staticmethod + def values() -> typing.MutableSequence['FlexiblePipe.RiserConfiguration']: ... + class ServiceType(java.lang.Enum['FlexiblePipe.ServiceType']): + OIL: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + GAS: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + MULTIPHASE: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + WATER_INJECTION: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + GAS_INJECTION: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + GAS_LIFT: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + CHEMICAL: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + def getDisplayName(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]) -> 'FlexiblePipe.ServiceType': ... + @staticmethod + def values() -> typing.MutableSequence['FlexiblePipe.ServiceType']: ... + +class FloatingSubstructure(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getBallastMass(self) -> float: ... + def getCenterOfBuoyancy(self) -> float: ... + def getCenterOfGravity(self) -> float: ... + def getConceptType(self) -> 'FloatingSubstructure.ConceptType': ... + def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDisplacedVolume(self) -> float: ... + def getDisplacement(self) -> float: ... + def getDraft(self) -> float: ... + def getEstimatedCost(self) -> float: ... + def getExcessBuoyancy(self) -> float: ... + def getFreeboard(self) -> float: ... + def getHeaveNaturalPeriod(self) -> float: ... + def getMetacentricHeight(self) -> float: ... + def getMetacentricRadius(self) -> float: ... + def getPitchNaturalPeriod(self) -> float: ... + def getStaticTiltAngle(self) -> float: ... + def getSteelWeight(self) -> float: ... + def getTotalMass(self) -> float: ... + def getWaterplaneArea(self) -> float: ... + def getWaterplaneSecondMoment(self) -> float: ... + def isStabilityAdequate(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBallastCogAboveKeel(self, double: float) -> None: ... + def setBallastMass(self, double: float) -> None: ... + def setBargeDepth(self, double: float) -> None: ... + def setBargeLength(self, double: float) -> None: ... + def setBargeWidth(self, double: float) -> None: ... + def setColumnDiameter(self, double: float) -> None: ... + def setColumnHeight(self, double: float) -> None: ... + def setColumnSpacing(self, double: float) -> None: ... + def setConceptType(self, conceptType: 'FloatingSubstructure.ConceptType') -> None: ... + def setDesignWindThrust(self, double: float) -> None: ... + def setHubHeight(self, double: float) -> None: ... + def setNumberOfColumns(self, int: int) -> None: ... + def setPeakSpectralPeriod(self, double: float) -> None: ... + def setPontoonHeight(self, double: float) -> None: ... + def setPontoonWidth(self, double: float) -> None: ... + def setSeawaterDensity(self, double: float) -> None: ... + def setSignificantWaveHeight(self, double: float) -> None: ... + def setSparHeight(self, double: float) -> None: ... + def setTowerMass(self, double: float) -> None: ... + def setTurbineMass(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class ConceptType(java.lang.Enum['FloatingSubstructure.ConceptType']): + SEMI_SUBMERSIBLE: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... + SPAR: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... + BARGE: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... + TLP: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... + def getDisplayName(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]) -> 'FloatingSubstructure.ConceptType': ... + @staticmethod + def values() -> typing.MutableSequence['FloatingSubstructure.ConceptType']: ... + +class MooringSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAnchorTension(self) -> float: ... + def getBreakingStrengthSafetyFactor(self) -> float: ... + def getCatenaryProfile(self, int: int) -> java.util.List[typing.MutableSequence[float]]: ... + def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getEstimatedCost(self) -> float: ... + def getFairleadAngle(self) -> float: ... + def getFairleadTension(self) -> float: ... + def getLineLength(self) -> float: ... + def getLineWeightPerMeter(self) -> float: ... + def getMaxLineTension(self) -> float: ... + def getMaxOffset(self) -> float: ... + def getMinimumBreakingLoad(self) -> float: ... + def getRequiredAnchorCapacity(self) -> float: ... + def getRestoringStiffness(self) -> float: ... + def getTotalWeight(self) -> float: ... + def getTouchdownLength(self) -> float: ... + def isSafetyFactorAdequate(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAnchorRadius(self, double: float) -> None: ... + def setAnchorType(self, anchorType: 'MooringSystem.AnchorType') -> None: ... + def setChainDiameter(self, double: float) -> None: ... + def setChainGrade(self, int: int) -> None: ... + def setDesignHorizontalForce(self, double: float) -> None: ... + def setDesignVerticalForce(self, double: float) -> None: ... + def setFairleadDepth(self, double: float) -> None: ... + def setLineType(self, lineType: 'MooringSystem.LineType') -> None: ... + def setNumberOfLines(self, int: int) -> None: ... + def setPolyesterDiameter(self, double: float) -> None: ... + def setRequiredSafetyFactor(self, double: float) -> None: ... + def setSeawaterDensity(self, double: float) -> None: ... + def setSoilType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class AnchorType(java.lang.Enum['MooringSystem.AnchorType']): + DRAG_EMBEDMENT: typing.ClassVar['MooringSystem.AnchorType'] = ... + SUCTION_PILE: typing.ClassVar['MooringSystem.AnchorType'] = ... + DRIVEN_PILE: typing.ClassVar['MooringSystem.AnchorType'] = ... + GRAVITY: typing.ClassVar['MooringSystem.AnchorType'] = ... + def getDisplayName(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]) -> 'MooringSystem.AnchorType': ... + @staticmethod + def values() -> typing.MutableSequence['MooringSystem.AnchorType']: ... + class LineType(java.lang.Enum['MooringSystem.LineType']): + CHAIN: typing.ClassVar['MooringSystem.LineType'] = ... + WIRE_ROPE: typing.ClassVar['MooringSystem.LineType'] = ... + POLYESTER: typing.ClassVar['MooringSystem.LineType'] = ... + CHAIN_POLYESTER_CHAIN: typing.ClassVar['MooringSystem.LineType'] = ... + def getDisplayName(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]) -> 'MooringSystem.LineType': ... + @staticmethod + def values() -> typing.MutableSequence['MooringSystem.LineType']: ... + +class PLEM(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + def addInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def closeBranch(self, int: int) -> None: ... + def getBranchSizeInches(self) -> float: ... + def getBranchValves(self) -> java.util.List[jneqsim.process.equipment.valve.ThrottlingValve]: ... + def getConfigurationType(self) -> 'PLEM.ConfigurationType': ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDryWeight(self) -> float: ... + def getFoundationType(self) -> java.lang.String: ... + def getHeaderSizeInches(self) -> float: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.PLEMMechanicalDesign: ... + def getNumberOfSlots(self) -> int: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStructureHeight(self) -> float: ... + def getStructureLength(self) -> float: ... + def getStructureWidth(self) -> float: ... + def getSubmergedWeight(self) -> float: ... + def getWaterDepth(self) -> float: ... + def hasBranchIsolationValves(self) -> bool: ... + def hasHeaderIsolationValves(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def openBranch(self, int: int) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBranchIsolationValves(self, boolean: bool) -> None: ... + def setBranchSizeInches(self, double: float) -> None: ... + def setBranchValveOpening(self, int: int, double: float) -> None: ... + def setConfigurationType(self, configurationType: 'PLEM.ConfigurationType') -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDryWeight(self, double: float) -> None: ... + def setFoundationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeaderIsolationValves(self, boolean: bool) -> None: ... + def setHeaderSizeInches(self, double: float) -> None: ... + def setNumberOfSlots(self, int: int) -> None: ... + def setStructureHeight(self, double: float) -> None: ... + def setStructureLength(self, double: float) -> None: ... + def setStructureWidth(self, double: float) -> None: ... + def setSubmergedWeight(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class ConfigurationType(java.lang.Enum['PLEM.ConfigurationType']): + THROUGH_FLOW: typing.ClassVar['PLEM.ConfigurationType'] = ... + COMMINGLING: typing.ClassVar['PLEM.ConfigurationType'] = ... + DISTRIBUTION: typing.ClassVar['PLEM.ConfigurationType'] = ... + CROSSOVER: typing.ClassVar['PLEM.ConfigurationType'] = ... + def getDisplayName(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]) -> 'PLEM.ConfigurationType': ... + @staticmethod + def values() -> typing.MutableSequence['PLEM.ConfigurationType']: ... + +class PLET(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @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 closeIsolationValve(self) -> None: ... + def getActuatorType(self) -> java.lang.String: ... + def getConnectionType(self) -> 'PLET.ConnectionType': ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDryWeight(self) -> float: ... + def getIsolationValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getIsolationValveOpening(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.PLETMechanicalDesign: ... + def getNominalBoreInches(self) -> float: ... + def getNumberOfHubs(self) -> int: ... + def getPiggingType(self) -> java.lang.String: ... + def getSpareHubs(self) -> int: ... + def getStructureHeight(self) -> float: ... + def getStructureLength(self) -> float: ... + def getStructureType(self) -> 'PLET.StructureType': ... + def getStructureWidth(self) -> float: ... + def getSubmergedWeight(self) -> float: ... + def getValveType(self) -> java.lang.String: ... + def getWaterDepth(self) -> float: ... + def hasFutureTieIn(self) -> bool: ... + def hasIsolationValve(self) -> bool: ... + def hasPiggingFacility(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def openIsolationValve(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setActuatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConnectionType(self, connectionType: 'PLET.ConnectionType') -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDryWeight(self, double: float) -> None: ... + def setHasFutureTieIn(self, boolean: bool) -> None: ... + def setHasIsolationValve(self, boolean: bool) -> None: ... + def setHasPiggingFacility(self, boolean: bool) -> None: ... + def setIsolationValveOpening(self, double: float) -> None: ... + def setNominalBoreInches(self, double: float) -> None: ... + def setNumberOfHubs(self, int: int) -> None: ... + def setPiggingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSpareHubs(self, int: int) -> None: ... + def setStructureHeight(self, double: float) -> None: ... + def setStructureLength(self, double: float) -> None: ... + def setStructureType(self, structureType: 'PLET.StructureType') -> None: ... + def setStructureWidth(self, double: float) -> None: ... + def setSubmergedWeight(self, double: float) -> None: ... + def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class ConnectionType(java.lang.Enum['PLET.ConnectionType']): + VERTICAL_HUB: typing.ClassVar['PLET.ConnectionType'] = ... + HORIZONTAL_HUB: typing.ClassVar['PLET.ConnectionType'] = ... + CLAMP_CONNECTOR: typing.ClassVar['PLET.ConnectionType'] = ... + COLLET_CONNECTOR: typing.ClassVar['PLET.ConnectionType'] = ... + DIVER_FLANGE: typing.ClassVar['PLET.ConnectionType'] = ... + def getDisplayName(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]) -> 'PLET.ConnectionType': ... + @staticmethod + def values() -> typing.MutableSequence['PLET.ConnectionType']: ... + class StructureType(java.lang.Enum['PLET.StructureType']): + GRAVITY_BASE: typing.ClassVar['PLET.StructureType'] = ... + PILED: typing.ClassVar['PLET.StructureType'] = ... + SUCTION_ANCHOR: typing.ClassVar['PLET.StructureType'] = ... + MUDMAT: typing.ClassVar['PLET.StructureType'] = ... + def getDisplayName(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]) -> 'PLET.StructureType': ... + @staticmethod + def values() -> typing.MutableSequence['PLET.StructureType']: ... + +class SimpleFlowLine(jneqsim.process.equipment.TwoPortEquipment): + length: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getHeight(self) -> float: ... + def getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setHeight(self, double: float) -> None: ... + +class SubseaBooster(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @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 calculateRequiredPower(self) -> float: ... + @staticmethod + def createMultiphasePump(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaBooster': ... + @staticmethod + def createWetGasCompressor(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaBooster': ... + def getBoosterType(self) -> 'SubseaBooster.BoosterType': ... + def getCompressorType(self) -> 'SubseaBooster.CompressorType': ... + def getDesignFlowRate(self) -> float: ... + def getDesignGVF(self) -> float: ... + def getDesignInletPressure(self) -> float: ... + def getDesignLifeYears(self) -> int: ... + def getDesignTemperature(self) -> float: ... + def getDifferentialPressure(self) -> float: ... + def getDriveType(self) -> 'SubseaBooster.DriveType': ... + def getEfficiency(self) -> float: ... + def getInletConnectionInches(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaBoosterMechanicalDesign: ... + def getModuleDryWeight(self) -> float: ... + def getMtbfHours(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getOperatingVoltage(self) -> float: ... + def getOutletConnectionInches(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getPowerRatingMW(self) -> float: ... + def getPressureRatio(self) -> float: ... + def getPumpType(self) -> 'SubseaBooster.PumpType': ... + def getSpeedRPM(self) -> float: ... + def getWaterDepth(self) -> float: ... + def hasRedundantMotor(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def isCompressor(self) -> bool: ... + def isRetrievable(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBoosterType(self, boosterType: 'SubseaBooster.BoosterType') -> None: ... + def setCompressorType(self, compressorType: 'SubseaBooster.CompressorType') -> None: ... + def setDesignFlowRate(self, double: float) -> None: ... + def setDesignGVF(self, double: float) -> None: ... + def setDesignInletPressure(self, double: float) -> None: ... + def setDesignLifeYears(self, int: int) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDifferentialPressure(self, double: float) -> None: ... + def setDriveType(self, driveType: 'SubseaBooster.DriveType') -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setInletConnectionInches(self, double: float) -> None: ... + def setModuleDryWeight(self, double: float) -> None: ... + def setMtbfHours(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setOperatingVoltage(self, double: float) -> None: ... + def setOutletConnectionInches(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + def setPowerRatingMW(self, double: float) -> None: ... + def setPressureRatio(self, double: float) -> None: ... + def setPumpType(self, pumpType: 'SubseaBooster.PumpType') -> None: ... + def setRedundantMotor(self, boolean: bool) -> None: ... + def setRetrievable(self, boolean: bool) -> None: ... + def setSpeedRPM(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class BoosterType(java.lang.Enum['SubseaBooster.BoosterType']): + MULTIPHASE_PUMP: typing.ClassVar['SubseaBooster.BoosterType'] = ... + LIQUID_PUMP: typing.ClassVar['SubseaBooster.BoosterType'] = ... + WET_GAS_COMPRESSOR: typing.ClassVar['SubseaBooster.BoosterType'] = ... + DRY_GAS_COMPRESSOR: typing.ClassVar['SubseaBooster.BoosterType'] = ... + SEPARATOR_BOOSTER: typing.ClassVar['SubseaBooster.BoosterType'] = ... + def getDisplayName(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]) -> 'SubseaBooster.BoosterType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaBooster.BoosterType']: ... + class CompressorType(java.lang.Enum['SubseaBooster.CompressorType']): + CENTRIFUGAL: typing.ClassVar['SubseaBooster.CompressorType'] = ... + AXIAL: typing.ClassVar['SubseaBooster.CompressorType'] = ... + SCREW: typing.ClassVar['SubseaBooster.CompressorType'] = ... + def getDisplayName(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]) -> 'SubseaBooster.CompressorType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaBooster.CompressorType']: ... + class DriveType(java.lang.Enum['SubseaBooster.DriveType']): + PERMANENT_MAGNET: typing.ClassVar['SubseaBooster.DriveType'] = ... + INDUCTION: typing.ClassVar['SubseaBooster.DriveType'] = ... + HIGH_SPEED_PM: typing.ClassVar['SubseaBooster.DriveType'] = ... + def getDisplayName(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]) -> 'SubseaBooster.DriveType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaBooster.DriveType']: ... + class PumpType(java.lang.Enum['SubseaBooster.PumpType']): + HELICO_AXIAL: typing.ClassVar['SubseaBooster.PumpType'] = ... + TWIN_SCREW: typing.ClassVar['SubseaBooster.PumpType'] = ... + COUNTER_ROTATING_AXIAL: typing.ClassVar['SubseaBooster.PumpType'] = ... + ESP: typing.ClassVar['SubseaBooster.PumpType'] = ... + CENTRIFUGAL_SINGLE: typing.ClassVar['SubseaBooster.PumpType'] = ... + CENTRIFUGAL_MULTI: typing.ClassVar['SubseaBooster.PumpType'] = ... + def getDisplayName(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]) -> 'SubseaBooster.PumpType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaBooster.PumpType']: ... + +class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @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): ... + @staticmethod + def createFlexibleStatic(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaJumper': ... + @staticmethod + def createRigidMShape(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaJumper': ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDryWeight(self) -> float: ... + def getFlexibleMinBendRadius(self) -> float: ... + def getFlexibleStructure(self) -> java.lang.String: ... + def getHorizontalSpan(self) -> float: ... + def getInletHubSizeInches(self) -> float: ... + def getInletHubType(self) -> 'SubseaJumper.HubType': ... + def getInstallationMethod(self) -> java.lang.String: ... + def getJumperType(self) -> 'SubseaJumper.JumperType': ... + def getLength(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaJumperMechanicalDesign: ... + def getMinimumBendRadius(self) -> float: ... + def getNominalBoreInches(self) -> float: ... + def getNumberOfBends(self) -> int: ... + def getOuterDiameterInches(self) -> float: ... + def getOutletHubSizeInches(self) -> float: ... + def getOutletHubType(self) -> 'SubseaJumper.HubType': ... + def getSubmergedWeight(self) -> float: ... + def getVerticalRise(self) -> float: ... + def getWallThicknessMm(self) -> float: ... + def getWaterDepth(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isFlexible(self) -> bool: ... + def isRetrievable(self) -> bool: ... + def isRigid(self) -> bool: ... + def isRovInstalled(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDryWeight(self, double: float) -> None: ... + def setFlexibleMinBendRadius(self, double: float) -> None: ... + def setFlexibleStructure(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHorizontalSpan(self, double: float) -> None: ... + def setInletHubSizeInches(self, double: float) -> None: ... + def setInletHubType(self, hubType: 'SubseaJumper.HubType') -> None: ... + def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setJumperType(self, jumperType: 'SubseaJumper.JumperType') -> None: ... + def setLength(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMinimumBendRadius(self, double: float) -> None: ... + def setNominalBoreInches(self, double: float) -> None: ... + def setNumberOfBends(self, int: int) -> None: ... + def setOuterDiameterInches(self, double: float) -> None: ... + def setOutletHubSizeInches(self, double: float) -> None: ... + def setOutletHubType(self, hubType: 'SubseaJumper.HubType') -> None: ... + def setRetrievable(self, boolean: bool) -> None: ... + def setRovInstalled(self, boolean: bool) -> None: ... + def setSubmergedWeight(self, double: float) -> None: ... + def setVerticalRise(self, double: float) -> None: ... + def setWallThicknessMm(self, double: float) -> None: ... + def setWaterDepth(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 HubType(java.lang.Enum['SubseaJumper.HubType']): + VERTICAL: typing.ClassVar['SubseaJumper.HubType'] = ... + HORIZONTAL: typing.ClassVar['SubseaJumper.HubType'] = ... + CLAMP: typing.ClassVar['SubseaJumper.HubType'] = ... + COLLET: typing.ClassVar['SubseaJumper.HubType'] = ... + def getDisplayName(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]) -> 'SubseaJumper.HubType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaJumper.HubType']: ... + class JumperType(java.lang.Enum['SubseaJumper.JumperType']): + RIGID_M_SHAPE: typing.ClassVar['SubseaJumper.JumperType'] = ... + RIGID_INVERTED_U: typing.ClassVar['SubseaJumper.JumperType'] = ... + RIGID_Z_SHAPE: typing.ClassVar['SubseaJumper.JumperType'] = ... + RIGID_STRAIGHT: typing.ClassVar['SubseaJumper.JumperType'] = ... + FLEXIBLE_STATIC: typing.ClassVar['SubseaJumper.JumperType'] = ... + FLEXIBLE_DYNAMIC: typing.ClassVar['SubseaJumper.JumperType'] = ... + HYBRID: typing.ClassVar['SubseaJumper.JumperType'] = ... + def getDisplayName(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]) -> 'SubseaJumper.JumperType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaJumper.JumperType']: ... + +class SubseaManifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + @typing.overload + def addWellStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... + @typing.overload + def addWellStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str]) -> int: ... + def getActiveWellCount(self) -> int: ... + def getBranchSizeInches(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDryWeight(self) -> float: ... + def getFoundationType(self) -> java.lang.String: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getManifoldType(self) -> 'SubseaManifold.ManifoldType': ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaManifoldMechanicalDesign: ... + def getNumberOfSlots(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getProductionHeaderSizeInches(self) -> float: ... + def getProductionStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStructureHeight(self) -> float: ... + def getStructureLength(self) -> float: ... + def getStructureWidth(self) -> float: ... + def getSubmergedWeight(self) -> float: ... + def getTestHeaderSizeInches(self) -> float: ... + def getTestStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getValveSkids(self) -> java.util.List['SubseaManifold.ValveSkid']: ... + def getWaterDepth(self) -> float: ... + def hasInjectionHeader(self) -> bool: ... + def hasServiceHeader(self) -> bool: ... + def hasTestHeader(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def routeToProduction(self, string: typing.Union[java.lang.String, str]) -> None: ... + def routeToTest(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBranchSizeInches(self, double: float) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDryWeight(self, double: float) -> None: ... + def setFoundationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHasInjectionHeader(self, boolean: bool) -> None: ... + def setHasServiceHeader(self, boolean: bool) -> None: ... + def setHasTestHeader(self, boolean: bool) -> None: ... + def setManifoldType(self, manifoldType: 'SubseaManifold.ManifoldType') -> None: ... + def setNumberOfSlots(self, int: int) -> None: ... + def setProductionHeaderSizeInches(self, double: float) -> None: ... + def setStructureHeight(self, double: float) -> None: ... + def setStructureLength(self, double: float) -> None: ... + def setStructureWidth(self, double: float) -> None: ... + def setSubmergedWeight(self, double: float) -> None: ... + def setTestHeaderSizeInches(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def shutInWell(self, string: typing.Union[java.lang.String, str]) -> None: ... + class ManifoldType(java.lang.Enum['SubseaManifold.ManifoldType']): + PRODUCTION_ONLY: typing.ClassVar['SubseaManifold.ManifoldType'] = ... + PRODUCTION_TEST: typing.ClassVar['SubseaManifold.ManifoldType'] = ... + FULL_SERVICE: typing.ClassVar['SubseaManifold.ManifoldType'] = ... + INJECTION: typing.ClassVar['SubseaManifold.ManifoldType'] = ... + def getDisplayName(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]) -> 'SubseaManifold.ManifoldType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaManifold.ManifoldType']: ... + class ValveSkid: + def __init__(self, int: int): ... + def getConnectedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProductionValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getRouting(self) -> java.lang.String: ... + def getSlotNumber(self) -> int: ... + def getTestValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getWellName(self) -> java.lang.String: ... + def isActive(self) -> bool: ... + def setActive(self, boolean: bool) -> None: ... + def setConnectedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setProductionValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setRouting(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTestValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setWellName(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class SubseaPowerCable(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAmpacity(self) -> float: ... + def getCableCost(self) -> float: ... + def getCableType(self) -> 'SubseaPowerCable.CableType': ... + def getConductorArea(self) -> float: ... + def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDielectricLoss(self) -> float: ... + def getEfficiency(self) -> float: ... + def getLength(self) -> float: ... + def getOperatingCurrent(self) -> float: ... + def getPowerRating(self) -> float: ... + def getReactivePower(self) -> float: ... + def getResistiveLoss(self) -> float: ... + def getTotalPowerLoss(self) -> float: ... + def getVoltage(self) -> float: ... + def getVoltageDrop(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBurialDepth(self, double: float) -> None: ... + def setCableType(self, cableType: 'SubseaPowerCable.CableType') -> None: ... + def setConductorArea(self, double: float) -> None: ... + def setConductorResistivity(self, double: float) -> None: ... + def setConductorTemperature(self, double: float) -> None: ... + def setFrequency(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setNumberOfCables(self, int: int) -> None: ... + def setPowerFactor(self, double: float) -> None: ... + def setPowerRating(self, double: float) -> None: ... + def setSeawaterTemperature(self, double: float) -> None: ... + def setVoltage(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class CableType(java.lang.Enum['SubseaPowerCable.CableType']): + XLPE_AC: typing.ClassVar['SubseaPowerCable.CableType'] = ... + XLPE_HVDC: typing.ClassVar['SubseaPowerCable.CableType'] = ... + MI_HVDC: typing.ClassVar['SubseaPowerCable.CableType'] = ... + def getDisplayName(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]) -> 'SubseaPowerCable.CableType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaPowerCable.CableType']: ... + +class SubseaTree(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @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 emergencyShutdown(self) -> None: ... + def getActuatorType(self) -> java.lang.String: ... + def getBoreSizeInches(self) -> float: ... + def getChemicalInjectionPoints(self) -> int: ... + def getChokeOpening(self) -> float: ... + def getConnectorType(self) -> java.lang.String: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDryWeight(self) -> float: ... + def getFlowlineConnectionSizeInches(self) -> float: ... + def getFlowlineConnectionType(self) -> java.lang.String: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaTreeMechanicalDesign: ... + def getPressureRating(self) -> 'SubseaTree.PressureRating': ... + def getProductionChoke(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getSubmergedWeight(self) -> float: ... + def getTreeDiameter(self) -> float: ... + def getTreeHeight(self) -> float: ... + def getTreeType(self) -> 'SubseaTree.TreeType': ... + def getWaterDepth(self) -> float: ... + def hasDownholePressure(self) -> bool: ... + def hasDownholeTemperature(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def isAnnulusMasterValveOpen(self) -> bool: ... + def isAnnulusWingValveOpen(self) -> bool: ... + def isCrossoverValveOpen(self) -> bool: ... + def isFailSafeClose(self) -> bool: ... + def isProductionMasterValveOpen(self) -> bool: ... + def isProductionWingValveOpen(self) -> bool: ... + def openForProduction(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setActuatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAnnulusMasterValveOpen(self, boolean: bool) -> None: ... + def setAnnulusWingValveOpen(self, boolean: bool) -> None: ... + def setBoreSizeInches(self, double: float) -> None: ... + def setChemicalInjectionPoints(self, int: int) -> None: ... + def setChokeOpening(self, double: float) -> None: ... + def setConnectorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCrossoverValveOpen(self, boolean: bool) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDryWeight(self, double: float) -> None: ... + def setFailSafeClose(self, boolean: bool) -> None: ... + def setFlowlineConnectionSizeInches(self, double: float) -> None: ... + def setFlowlineConnectionType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHasDownholePressure(self, boolean: bool) -> None: ... + def setHasDownholeTemperature(self, boolean: bool) -> None: ... + def setPressureRating(self, pressureRating: 'SubseaTree.PressureRating') -> None: ... + def setProductionMasterValveOpen(self, boolean: bool) -> None: ... + def setProductionWingValveOpen(self, boolean: bool) -> None: ... + def setSubmergedWeight(self, double: float) -> None: ... + def setTreeDiameter(self, double: float) -> None: ... + def setTreeHeight(self, double: float) -> None: ... + def setTreeType(self, treeType: 'SubseaTree.TreeType') -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class PressureRating(java.lang.Enum['SubseaTree.PressureRating']): + PR5000: typing.ClassVar['SubseaTree.PressureRating'] = ... + PR10000: typing.ClassVar['SubseaTree.PressureRating'] = ... + PR15000: typing.ClassVar['SubseaTree.PressureRating'] = ... + PR20000: typing.ClassVar['SubseaTree.PressureRating'] = ... + def getBar(self) -> int: ... + def getPsi(self) -> int: ... + _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]) -> 'SubseaTree.PressureRating': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaTree.PressureRating']: ... + class TreeType(java.lang.Enum['SubseaTree.TreeType']): + VERTICAL: typing.ClassVar['SubseaTree.TreeType'] = ... + HORIZONTAL: typing.ClassVar['SubseaTree.TreeType'] = ... + DUAL_BORE: typing.ClassVar['SubseaTree.TreeType'] = ... + MUDLINE: typing.ClassVar['SubseaTree.TreeType'] = ... + SPOOL: typing.ClassVar['SubseaTree.TreeType'] = ... + def getDisplayName(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]) -> 'SubseaTree.TreeType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaTree.TreeType']: ... + +class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): + height: float = ... + length: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getCompletionDays(self) -> float: ... + def getCompletionType(self) -> 'SubseaWell.CompletionType': ... + def getConductorDepth(self) -> float: ... + def getConductorOD(self) -> float: ... + def getDrillingDays(self) -> float: ... + def getIntermediateCasingDepth(self) -> float: ... + def getIntermediateCasingOD(self) -> float: ... + def getKickOffPoint(self) -> float: ... + def getMaxBottomholeTemperature(self) -> float: ... + def getMaxInclination(self) -> float: ... + def getMaxWellheadPressure(self) -> float: ... + def getMeasuredDepth(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getNumberOfCasingStrings(self) -> int: ... + def getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... + def getPrimaryBarrierElements(self) -> int: ... + def getProductionCasingDepth(self) -> float: ... + def getProductionCasingOD(self) -> float: ... + def getProductionLinerDepth(self) -> float: ... + def getProductionLinerOD(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def getRigDayRate(self) -> float: ... + def getRigType(self) -> 'SubseaWell.RigType': ... + def getSecondaryBarrierElements(self) -> int: ... + def getSurfaceCasingDepth(self) -> float: ... + def getSurfaceCasingOD(self) -> float: ... + def getTrueVerticalDepth(self) -> float: ... + def getTubingGrade(self) -> java.lang.String: ... + def getTubingOD(self) -> float: ... + def getTubingWeight(self) -> float: ... + def getWaterDepth(self) -> float: ... + def getWellType(self) -> 'SubseaWell.WellType': ... + def hasDHSV(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + def isInjector(self) -> bool: ... + def isProducer(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCompletionDays(self, double: float) -> None: ... + def setCompletionType(self, completionType: 'SubseaWell.CompletionType') -> None: ... + def setConductorDepth(self, double: float) -> None: ... + def setConductorOD(self, double: float) -> None: ... + def setDrillingDays(self, double: float) -> None: ... + def setHasDHSV(self, boolean: bool) -> None: ... + def setIntermediateCasingDepth(self, double: float) -> None: ... + def setIntermediateCasingOD(self, double: float) -> None: ... + def setKickOffPoint(self, double: float) -> None: ... + def setMaxBottomholeTemperature(self, double: float) -> None: ... + def setMaxInclination(self, double: float) -> None: ... + def setMaxWellheadPressure(self, double: float) -> None: ... + def setMeasuredDepth(self, double: float) -> None: ... + def setPrimaryBarrierElements(self, int: int) -> None: ... + def setProductionCasingDepth(self, double: float) -> None: ... + def setProductionCasingOD(self, double: float) -> None: ... + def setProductionLinerDepth(self, double: float) -> None: ... + def setProductionLinerOD(self, double: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setRigDayRate(self, double: float) -> None: ... + def setRigType(self, rigType: 'SubseaWell.RigType') -> None: ... + def setSecondaryBarrierElements(self, int: int) -> None: ... + def setSurfaceCasingDepth(self, double: float) -> None: ... + def setSurfaceCasingOD(self, double: float) -> None: ... + def setTrueVerticalDepth(self, double: float) -> None: ... + def setTubingDiameter(self, double: float) -> None: ... + def setTubingGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubingOD(self, double: float) -> None: ... + def setTubingWeight(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def setWellType(self, wellType: 'SubseaWell.WellType') -> None: ... + class CompletionType(java.lang.Enum['SubseaWell.CompletionType']): + CASED_PERFORATED: typing.ClassVar['SubseaWell.CompletionType'] = ... + OPEN_HOLE: typing.ClassVar['SubseaWell.CompletionType'] = ... + GRAVEL_PACK: typing.ClassVar['SubseaWell.CompletionType'] = ... + ICD: typing.ClassVar['SubseaWell.CompletionType'] = ... + AICD: typing.ClassVar['SubseaWell.CompletionType'] = ... + MULTI_ZONE: typing.ClassVar['SubseaWell.CompletionType'] = ... + def getDisplayName(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]) -> 'SubseaWell.CompletionType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaWell.CompletionType']: ... + class RigType(java.lang.Enum['SubseaWell.RigType']): + SEMI_SUBMERSIBLE: typing.ClassVar['SubseaWell.RigType'] = ... + DRILLSHIP: typing.ClassVar['SubseaWell.RigType'] = ... + JACK_UP: typing.ClassVar['SubseaWell.RigType'] = ... + PLATFORM_RIG: typing.ClassVar['SubseaWell.RigType'] = ... + def getDisplayName(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]) -> 'SubseaWell.RigType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaWell.RigType']: ... + class WellType(java.lang.Enum['SubseaWell.WellType']): + OIL_PRODUCER: typing.ClassVar['SubseaWell.WellType'] = ... + GAS_PRODUCER: typing.ClassVar['SubseaWell.WellType'] = ... + WATER_INJECTOR: typing.ClassVar['SubseaWell.WellType'] = ... + GAS_INJECTOR: typing.ClassVar['SubseaWell.WellType'] = ... + OBSERVATION: typing.ClassVar['SubseaWell.WellType'] = ... + def getDisplayName(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]) -> 'SubseaWell.WellType': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaWell.WellType']: ... + +class Umbilical(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addChemicalLine(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addElectricalCable(self, string: typing.Union[java.lang.String, str], int: int, double: float) -> None: ... + def addFiberOptic(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def addHydraulicLine(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def calculateTotalCrossSection(self) -> float: ... + def estimateOverallDiameter(self) -> float: ... + def getArmorWireMaterial(self) -> java.lang.String: ... + def getChemicalLineCount(self) -> int: ... + def getCrossSectionType(self) -> 'Umbilical.CrossSectionType': ... + def getDryWeightPerMeter(self) -> float: ... + def getElectricalCableCount(self) -> int: ... + def getElements(self) -> java.util.List['Umbilical.UmbilicalElement']: ... + def getFiberOpticCount(self) -> int: ... + def getHydraulicLineCount(self) -> int: ... + def getInstallationMethod(self) -> java.lang.String: ... + def getLength(self) -> float: ... + def getMaxInstallationTensionKN(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.UmbilicalMechanicalDesign: ... + def getMinimumBendRadius(self) -> float: ... + def getOuterSheathMaterial(self) -> java.lang.String: ... + def getOuterSheathThicknessMm(self) -> float: ... + def getOverallDiameterMm(self) -> float: ... + def getSubmergedWeightPerMeter(self) -> float: ... + def getTotalElementCount(self) -> int: ... + def getUmbilicalType(self) -> 'Umbilical.UmbilicalType': ... + def getWaterDepth(self) -> float: ... + def hasArmorWires(self) -> bool: ... + def initMechanicalDesign(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setArmorWireMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCrossSectionType(self, crossSectionType: 'Umbilical.CrossSectionType') -> None: ... + def setHasArmorWires(self, boolean: bool) -> None: ... + def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength(self, double: float) -> None: ... + def setMaxInstallationTensionKN(self, double: float) -> None: ... + def setMinimumBendRadius(self, double: float) -> None: ... + def setOuterSheathMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOuterSheathThicknessMm(self, double: float) -> None: ... + def setOverallDiameterMm(self, double: float) -> None: ... + def setUmbilicalType(self, umbilicalType: 'Umbilical.UmbilicalType') -> None: ... + def setWaterDepth(self, double: float) -> None: ... + class CrossSectionType(java.lang.Enum['Umbilical.CrossSectionType']): + CIRCULAR: typing.ClassVar['Umbilical.CrossSectionType'] = ... + FLAT: typing.ClassVar['Umbilical.CrossSectionType'] = ... + BUNDLED: typing.ClassVar['Umbilical.CrossSectionType'] = ... + def getDisplayName(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]) -> 'Umbilical.CrossSectionType': ... + @staticmethod + def values() -> typing.MutableSequence['Umbilical.CrossSectionType']: ... + class UmbilicalElement: + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def getDesignPressureBar(self) -> float: ... + def getElementType(self) -> java.lang.String: ... + def getInnerDiameterMm(self) -> float: ... + def getMaterial(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getNumberOfCores(self) -> int: ... + def getNumberOfFibers(self) -> int: ... + def getOuterDiameterMm(self) -> float: ... + def getVoltageRating(self) -> float: ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfFibers(self, int: int) -> None: ... + def setOuterDiameterMm(self, double: float) -> None: ... + class UmbilicalType(java.lang.Enum['Umbilical.UmbilicalType']): + STEEL_TUBE: typing.ClassVar['Umbilical.UmbilicalType'] = ... + THERMOPLASTIC: typing.ClassVar['Umbilical.UmbilicalType'] = ... + INTEGRATED_PRODUCTION: typing.ClassVar['Umbilical.UmbilicalType'] = ... + ELECTRO_HYDRAULIC: typing.ClassVar['Umbilical.UmbilicalType'] = ... + ELECTRIC_ONLY: typing.ClassVar['Umbilical.UmbilicalType'] = ... + def getDisplayName(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]) -> 'Umbilical.UmbilicalType': ... + @staticmethod + def values() -> typing.MutableSequence['Umbilical.UmbilicalType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.subsea")``. + + FlexiblePipe: typing.Type[FlexiblePipe] + FloatingSubstructure: typing.Type[FloatingSubstructure] + MooringSystem: typing.Type[MooringSystem] + PLEM: typing.Type[PLEM] + PLET: typing.Type[PLET] + SimpleFlowLine: typing.Type[SimpleFlowLine] + SubseaBooster: typing.Type[SubseaBooster] + SubseaJumper: typing.Type[SubseaJumper] + SubseaManifold: typing.Type[SubseaManifold] + SubseaPowerCable: typing.Type[SubseaPowerCable] + SubseaTree: typing.Type[SubseaTree] + SubseaWell: typing.Type[SubseaWell] + Umbilical: typing.Type[Umbilical] diff --git a/src/jneqsim/process/equipment/tank/__init__.pyi b/src/jneqsim/process/equipment/tank/__init__.pyi new file mode 100644 index 00000000..dd35bc36 --- /dev/null +++ b/src/jneqsim/process/equipment/tank/__init__.pyi @@ -0,0 +1,423 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.design +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.tank +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getDesignLiquidLevel(self) -> float: ... + def getDesignResidenceTime(self) -> float: ... + def getEfficiency(self) -> float: ... + def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasCarryunderFraction(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidCarryoverFraction(self) -> float: ... + def getLiquidLevel(self) -> float: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxLiquidLevel(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign: ... + def getMinLiquidLevel(self) -> float: ... + def getMinResidenceTime(self) -> float: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getVolume(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isAutoSized(self) -> bool: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @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 setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setDesignLiquidLevel(self, double: float) -> None: ... + def setDesignResidenceTime(self, double: float) -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setGasCarryunderFraction(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLiquidCarryoverFraction(self, double: float) -> None: ... + def setMaxLiquidLevel(self, double: float) -> None: ... + def setMinLiquidLevel(self, double: float) -> None: ... + def setMinResidenceTime(self, double: float) -> None: ... + def setOutComposition(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTempPres(self, double: float, double2: float) -> None: ... + def setVolume(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class VesselDepressurization(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 assessFlowAssuranceRisks(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def calculateRequiredOrificeDiameter(self, double: float, double2: float) -> float: ... + def calculateSBFireFlux(self, double: float) -> float: ... + def clearFixedFlowRate(self) -> None: ... + def clearHistory(self) -> None: ... + @staticmethod + def createTwoPhaseFluid(string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def createTwoPhaseFluidAtPressure(string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + def exportToCSV(self) -> java.lang.String: ... + def exportToJSON(self) -> java.lang.String: ... + def getCO2FreezingSubcooling(self) -> float: ... + @typing.overload + def getCO2FreezingTemperature(self) -> float: ... + @typing.overload + def getCO2FreezingTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity(self) -> float: ... + def getDischargeRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEnthalpy(self) -> float: ... + def getEntropy(self) -> float: ... + def getFireHeatInput(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFireModelType(self) -> 'VesselDepressurization.FireModelType': ... + def getFireType(self) -> 'VesselDepressurization.FireType': ... + def getFlameTemperature(self) -> float: ... + def getFlareHeaderMach(self, double: float) -> float: ... + def getFlareHeaderVelocity(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasWallTemperature(self) -> float: ... + def getGasWallTemperatureHistory(self) -> java.util.List[float]: ... + @typing.overload + def getHydrateFormationTemperature(self) -> float: ... + @typing.overload + def getHydrateFormationTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHydrateSubcooling(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy(self) -> float: ... + def getLiquidLevel(self) -> float: ... + def getLiquidLevelHistory(self) -> java.util.List[float]: ... + def getLiquidWallTemperature(self) -> float: ... + def getLiquidWallTemperatureHistory(self) -> java.util.List[float]: ... + def getMass(self) -> float: ... + def getMassHistory(self) -> java.util.List[float]: ... + def getMaxHydrateSubcoolingDuringBlowdown(self) -> float: ... + def getMinimumTemperatureReached(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMinimumWallTemperatureReached(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletLiquidFraction(self) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getPeakDischargeRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPeakOutletLiquidFraction(self) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureHistory(self) -> java.util.List[float]: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTemperatureHistory(self) -> java.util.List[float]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTimeHistory(self) -> java.util.List[float]: ... + def getTimeToReachPressure(self, double: float) -> float: ... + def getTotalMassDischarged(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVaporFraction(self) -> float: ... + def getVentTemperature(self) -> float: ... + def getVolume(self) -> float: ... + def getWallTemperature(self) -> float: ... + def hasCO2FreezingRisk(self) -> bool: ... + def hasHydrateRisk(self) -> bool: ... + def hasLiquidRainout(self) -> bool: ... + def isFireCase(self) -> bool: ... + def isTargetPressureReached(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runOrificeSensitivity(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> typing.MutableSequence[float]: ... + @typing.overload + def runSimulation(self, double: float, double2: float) -> 'VesselDepressurization.SimulationResult': ... + @typing.overload + def runSimulation(self, double: float, double2: float, int: int) -> 'VesselDepressurization.SimulationResult': ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setBackPressure(self, double: float) -> None: ... + def setCalculateExternalHTC(self, boolean: bool) -> None: ... + def setCalculationType(self, calculationType: 'VesselDepressurization.CalculationType') -> None: ... + def setDischargeCoefficient(self, double: float) -> None: ... + def setExternalHeatTransferCoefficient(self, double: float) -> None: ... + def setFireCase(self, boolean: bool) -> None: ... + @typing.overload + def setFireHeatFlux(self, double: float) -> None: ... + @typing.overload + def setFireHeatFlux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFireModelType(self, fireModelType: 'VesselDepressurization.FireModelType') -> None: ... + def setFireType(self, fireType: 'VesselDepressurization.FireType') -> None: ... + def setFixedInternalHTC(self, double: float) -> None: ... + def setFixedMassFlowRate(self, double: float) -> None: ... + def setFixedQ(self, double: float) -> None: ... + def setFixedU(self, double: float) -> None: ... + def setFixedVolumetricFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlameTemperature(self, double: float) -> None: ... + def setFlowDirection(self, flowDirection: 'VesselDepressurization.FlowDirection') -> None: ... + def setHeatTransferType(self, heatTransferType: 'VesselDepressurization.HeatTransferType') -> None: ... + @typing.overload + def setIncidentHeatFlux(self, double: float) -> None: ... + @typing.overload + def setIncidentHeatFlux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialLiquidLevel(self, double: float) -> None: ... + def setInitialWallTemperature(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setInletTemperature(self, double: float) -> None: ... + @typing.overload + def setInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setLinerMaterial(self, double: float, linerMaterial: 'VesselDepressurization.LinerMaterial') -> None: ... + def setLinerProperties(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setOrificeDiameter(self, double: float) -> None: ... + def setSBFireParameters(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setTargetPressure(self, double: float) -> None: ... + def setTwoPhaseHeatTransfer(self, boolean: bool) -> None: ... + def setValveOpeningTime(self, double: float) -> None: ... + def setVesselGeometry(self, double: float, double2: float, vesselOrientation: 'VesselDepressurization.VesselOrientation') -> None: ... + def setVesselMaterial(self, double: float, vesselMaterial: 'VesselDepressurization.VesselMaterial') -> None: ... + def setVesselProperties(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setVolume(self, double: float) -> None: ... + def setWettedSurfaceFraction(self, double: float) -> None: ... + def validate(self) -> None: ... + def validateWithWarnings(self) -> java.util.List[java.lang.String]: ... + class CalculationType(java.lang.Enum['VesselDepressurization.CalculationType']): + ISOTHERMAL: typing.ClassVar['VesselDepressurization.CalculationType'] = ... + ISENTHALPIC: typing.ClassVar['VesselDepressurization.CalculationType'] = ... + ISENTROPIC: typing.ClassVar['VesselDepressurization.CalculationType'] = ... + ISENERGETIC: typing.ClassVar['VesselDepressurization.CalculationType'] = ... + ENERGY_BALANCE: typing.ClassVar['VesselDepressurization.CalculationType'] = ... + _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]) -> 'VesselDepressurization.CalculationType': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.CalculationType']: ... + class FireModelType(java.lang.Enum['VesselDepressurization.FireModelType']): + NONE: typing.ClassVar['VesselDepressurization.FireModelType'] = ... + CONSTANT_FLUX: typing.ClassVar['VesselDepressurization.FireModelType'] = ... + STEFAN_BOLTZMANN: typing.ClassVar['VesselDepressurization.FireModelType'] = ... + _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]) -> 'VesselDepressurization.FireModelType': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.FireModelType']: ... + class FireType(java.lang.Enum['VesselDepressurization.FireType']): + SCANDPOWER_JET: typing.ClassVar['VesselDepressurization.FireType'] = ... + SCANDPOWER_POOL: typing.ClassVar['VesselDepressurization.FireType'] = ... + API_JET: typing.ClassVar['VesselDepressurization.FireType'] = ... + API_POOL: typing.ClassVar['VesselDepressurization.FireType'] = ... + CUSTOM: typing.ClassVar['VesselDepressurization.FireType'] = ... + def getAbsorptivity(self) -> float: ... + def getConvectionCoeff(self) -> float: ... + def getFlameEmissivity(self) -> float: ... + def getIncidentFlux(self) -> float: ... + def getSurfaceEmissivity(self) -> float: ... + _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]) -> 'VesselDepressurization.FireType': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.FireType']: ... + class FlowDirection(java.lang.Enum['VesselDepressurization.FlowDirection']): + DISCHARGE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... + FILLING: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... + IDLE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... + _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]) -> 'VesselDepressurization.FlowDirection': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.FlowDirection']: ... + class HeatTransferType(java.lang.Enum['VesselDepressurization.HeatTransferType']): + ADIABATIC: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... + FIXED_U: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... + FIXED_Q: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... + CALCULATED: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... + TRANSIENT_WALL: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... + _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]) -> 'VesselDepressurization.HeatTransferType': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.HeatTransferType']: ... + class LinerMaterial(java.lang.Enum['VesselDepressurization.LinerMaterial']): + HDPE: typing.ClassVar['VesselDepressurization.LinerMaterial'] = ... + NYLON: typing.ClassVar['VesselDepressurization.LinerMaterial'] = ... + ALUMINUM: typing.ClassVar['VesselDepressurization.LinerMaterial'] = ... + def getDensity(self) -> float: ... + def getHeatCapacity(self) -> float: ... + def getThermalConductivity(self) -> float: ... + _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]) -> 'VesselDepressurization.LinerMaterial': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.LinerMaterial']: ... + class SimulationResult: + def getEndTime(self) -> float: ... + def getFinalPressure(self) -> float: ... + def getFinalTemperature(self) -> float: ... + def getGasWallTemperature(self) -> java.util.List[float]: ... + def getInitialPressure(self) -> float: ... + def getInitialTemperature(self) -> float: ... + def getLiquidLevel(self) -> java.util.List[float]: ... + def getLiquidWallTemperature(self) -> java.util.List[float]: ... + def getMass(self) -> java.util.List[float]: ... + def getMassDischarged(self) -> float: ... + def getMassDischargedFraction(self) -> float: ... + def getMassFlowRate(self) -> java.util.List[float]: ... + def getMinTemperature(self) -> float: ... + def getMinWallTemperature(self) -> float: ... + def getPressure(self) -> java.util.List[float]: ... + def getTemperature(self) -> java.util.List[float]: ... + def getTime(self) -> java.util.List[float]: ... + def getTimeStep(self) -> float: ... + def getWallTemperature(self) -> java.util.List[float]: ... + def size(self) -> int: ... + class VesselMaterial(java.lang.Enum['VesselDepressurization.VesselMaterial']): + CARBON_STEEL: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + STAINLESS_304: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + STAINLESS_316: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + DUPLEX_22CR: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + ALUMINUM_6061: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + TITANIUM_GR2: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + CFRP: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + FIBERGLASS: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + def getDensity(self) -> float: ... + def getHeatCapacity(self) -> float: ... + def getThermalConductivity(self) -> float: ... + _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]) -> 'VesselDepressurization.VesselMaterial': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.VesselMaterial']: ... + class VesselOrientation(java.lang.Enum['VesselDepressurization.VesselOrientation']): + VERTICAL: typing.ClassVar['VesselDepressurization.VesselOrientation'] = ... + HORIZONTAL: typing.ClassVar['VesselDepressurization.VesselOrientation'] = ... + _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]) -> 'VesselDepressurization.VesselOrientation': ... + @staticmethod + def values() -> typing.MutableSequence['VesselDepressurization.VesselOrientation']: ... + +class LNGTank(Tank): + @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 getAmbientTemperature(self) -> float: ... + def getBOGMassFlowRate(self) -> float: ... + def getBOGStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBoilOffRatePctPerDay(self) -> float: ... + def getHeatIngress(self) -> float: ... + def getInsulationType(self) -> 'LNGTank.InsulationType': ... + def getLNGInventory(self) -> float: ... + def getLNGProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getStoragePressure(self) -> float: ... + def getTankSurfaceArea(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationType(self, insulationType: 'LNGTank.InsulationType') -> None: ... + def setLNGInventory(self, double: float) -> None: ... + def setOverallHeatTransferCoefficient(self, double: float) -> None: ... + def setStoragePressure(self, double: float) -> None: ... + def setTankSurfaceArea(self, double: float) -> None: ... + class InsulationType(java.lang.Enum['LNGTank.InsulationType']): + MEMBRANE: typing.ClassVar['LNGTank.InsulationType'] = ... + MOSS: typing.ClassVar['LNGTank.InsulationType'] = ... + PRISMATIC: typing.ClassVar['LNGTank.InsulationType'] = ... + _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]) -> 'LNGTank.InsulationType': ... + @staticmethod + def values() -> typing.MutableSequence['LNGTank.InsulationType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.tank")``. + + LNGTank: typing.Type[LNGTank] + Tank: typing.Type[Tank] + VesselDepressurization: typing.Type[VesselDepressurization] diff --git a/src/jneqsim/process/equipment/util/__init__.pyi b/src/jneqsim/process/equipment/util/__init__.pyi new file mode 100644 index 00000000..f936cbdf --- /dev/null +++ b/src/jneqsim/process/equipment/util/__init__.pyi @@ -0,0 +1,930 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import java.util.function +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.mixer +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.valve +import jneqsim.process.processmodel +import jneqsim.process.util.report +import jneqsim.process.util.uncertainty +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class AccelerationMethod(java.lang.Enum['AccelerationMethod']): + DIRECT_SUBSTITUTION: typing.ClassVar['AccelerationMethod'] = ... + WEGSTEIN: typing.ClassVar['AccelerationMethod'] = ... + BROYDEN: typing.ClassVar['AccelerationMethod'] = ... + _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]) -> 'AccelerationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['AccelerationMethod']: ... + +class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def displayResult(self) -> None: ... + def getAdjustedEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getAdjustedVariable(self) -> java.lang.String: ... + def getAdjustedVariableUnit(self) -> java.lang.String: ... + def getError(self) -> float: ... + def getMaxAdjustedValue(self) -> float: ... + def getMinAdjustedValue(self) -> float: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getTargetVariable(self) -> java.lang.String: ... + def getTolerance(self) -> float: ... + def isActivateWhenLess(self) -> bool: ... + @typing.overload + def isActive(self) -> bool: ... + @typing.overload + def isActive(self, boolean: bool) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setActivateWhenLess(self, boolean: bool) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setAdjustedEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def setAdjustedValueGetter(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... + @typing.overload + def setAdjustedValueGetter(self, supplier: typing.Union[java.util.function.Supplier[float], typing.Callable[[], float]]) -> None: ... + @typing.overload + def setAdjustedValueSetter(self, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface, float], None]]) -> None: ... + @typing.overload + def setAdjustedValueSetter(self, consumer: typing.Union[java.util.function.Consumer[float], typing.Callable[[float], None]]) -> None: ... + @typing.overload + def setAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def setAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setError(self, double: float) -> None: ... + def setMaxAdjustedValue(self, double: float) -> None: ... + def setMinAdjustedValue(self, double: float) -> None: ... + def setTargetEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setTargetValue(self, double: float) -> None: ... + @typing.overload + def setTargetValueCalculator(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... + @typing.overload + def setTargetValueCalculator(self, supplier: typing.Union[java.util.function.Supplier[float], typing.Callable[[], float]]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, 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]) -> None: ... + def setTolerance(self, double: float) -> None: ... + def solved(self) -> bool: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class BroydenAccelerator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + def accelerate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getDelayIterations(self) -> int: ... + def getDimension(self) -> int: ... + def getInverseJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getIterationCount(self) -> int: ... + def getMaxStepSize(self) -> float: ... + def getRelaxationFactor(self) -> float: ... + def getResidualNorm(self) -> float: ... + def initialize(self, int: int) -> None: ... + def reset(self) -> None: ... + def setDelayIterations(self, int: int) -> None: ... + def setMaxStepSize(self, double: float) -> None: ... + def setRelaxationFactor(self, double: float) -> None: ... + +class Calculator(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addInputVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def addInputVariable(self, *processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def getInputVariable(self) -> java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getOutputVariable(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runAntiSurgeCalc(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setCalculationMethod(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + @typing.overload + def setCalculationMethod(self, biConsumer: typing.Union[java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> None: ... + def setOutputVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + +class CalculatorLibrary: + @typing.overload + @staticmethod + def antiSurge() -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @typing.overload + @staticmethod + def antiSurge(double: float) -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @staticmethod + def byName(string: typing.Union[java.lang.String, str]) -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @typing.overload + @staticmethod + def dewPointTargeting() -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @typing.overload + @staticmethod + def dewPointTargeting(double: float) -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @staticmethod + def energyBalance() -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @staticmethod + def preset(preset: 'CalculatorLibrary.Preset') -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + class Preset(java.lang.Enum['CalculatorLibrary.Preset']): + ENERGY_BALANCE: typing.ClassVar['CalculatorLibrary.Preset'] = ... + DEW_POINT_TARGETING: typing.ClassVar['CalculatorLibrary.Preset'] = ... + ANTI_SURGE: typing.ClassVar['CalculatorLibrary.Preset'] = ... + _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]) -> 'CalculatorLibrary.Preset': ... + @staticmethod + def values() -> typing.MutableSequence['CalculatorLibrary.Preset']: ... + +class ConvergenceDiagnostics(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def analyze(self) -> 'ConvergenceDiagnostics.DiagnosticReport': ... + class AdjusterStatus(java.io.Serializable): + name: java.lang.String = ... + converged: bool = ... + error: float = ... + tolerance: float = ... + iterations: int = ... + class DiagnosticReport(java.io.Serializable): + def getAdjusterStatuses(self) -> java.util.List['ConvergenceDiagnostics.AdjusterStatus']: ... + def getRecycleStatuses(self) -> java.util.List['ConvergenceDiagnostics.RecycleStatus']: ... + def getSuggestions(self) -> java.util.List[java.lang.String]: ... + def isConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class RecycleStatus(java.io.Serializable): + name: java.lang.String = ... + converged: bool = ... + flowError: float = ... + tempError: float = ... + pressError: float = ... + compError: float = ... + iterations: int = ... + dominantError: java.lang.String = ... + flowTolerance: float = ... + tempTolerance: float = ... + +class EmissionsCalculator(java.io.Serializable): + GWP_METHANE: typing.ClassVar[float] = ... + GWP_NMVOC: typing.ClassVar[float] = ... + GWP_CO2: typing.ClassVar[float] = ... + HANDBOOK_F_CH4: typing.ClassVar[float] = ... + HANDBOOK_F_NMVOC: typing.ClassVar[float] = ... + @typing.overload + def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def calculate(self) -> None: ... + @staticmethod + def calculateConventionalCH4(double: float, double2: float) -> float: ... + @staticmethod + def calculateConventionalEmissions(double: float, double2: float) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def calculateConventionalNMVOC(double: float, double2: float) -> float: ... + def calculateGWMF(self, double: float, double2: float) -> float: ... + @typing.overload + def calculateGWR(self, double: float) -> float: ... + @typing.overload + @staticmethod + def calculateGWR(double: float, double2: float) -> float: ... + def calculateMethaneFactor(self, double: float, double2: float) -> float: ... + def calculateNMVOCFactor(self, double: float, double2: float) -> float: ... + def compareWithConventionalMethod(self, double: float, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def generateReport(self) -> java.lang.String: ... + def getCO2EmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCO2Equivalents(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeCO2(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeCO2Equivalents(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeMethane(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeNMVOC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasCompositionMass(self) -> java.util.Map[java.lang.String, float]: ... + def getGasCompositionMole(self) -> java.util.Map[java.lang.String, float]: ... + def getMethaneEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNMVOCEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNitrogenEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalGasRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalRunTime(self) -> float: ... + def resetCumulative(self) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def updateCumulative(self, double: float) -> None: ... + +class FlowRateAdjuster(jneqsim.process.equipment.TwoPortEquipment): + desiredGasFlow: float = ... + desiredOilFlow: float = ... + desiredWaterFlow: float = ... + @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): ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def setAdjustedFlowRates(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setAdjustedFlowRates(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class FlowSetter(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def createReferenceProcess(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.processmodel.ProcessSystem: ... + def getGasFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReferenceProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getWaterFlowRate(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: ... + def setGasFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOilFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSeparationPT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... + def setWaterFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class FuelGasSystem(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): ... + @typing.overload + def addConsumer(self, string: typing.Union[java.lang.String, str], consumerType: 'FuelGasSystem.ConsumerType', double: float) -> None: ... + @typing.overload + def addConsumer(self, fuelGasConsumer: 'FuelGasSystem.FuelGasConsumer') -> None: ... + def getAnnualConsumptionTonnes(self, double: float) -> float: ... + def getConsumers(self) -> java.util.List['FuelGasSystem.FuelGasConsumer']: ... + def getDewPoint(self) -> float: ... + def getHeaterDutyKW(self) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getJTCooling(self) -> float: ... + def getLowerHeatingValue(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + def getSuperheat(self) -> float: ... + def getThermalPowerMW(self) -> float: ... + def getTotalDemand(self) -> float: ... + def getWobbeIndex(self) -> float: ... + def isSuperheatAdequate(self, double: float) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setOutletTemperature(self, double: float) -> None: ... + def setTotalDemand(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 ConsumerType(java.lang.Enum['FuelGasSystem.ConsumerType']): + GAS_TURBINE: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + FIRED_HEATER: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + FLARE_PILOT: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + HOT_OIL_HEATER: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + REGEN_HEATER: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + INCINERATOR: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + def getDescription(self) -> java.lang.String: ... + def getMaxH2Sppmv(self) -> float: ... + def getMinSuperheatC(self) -> float: ... + def getTypicalPressureBarg(self) -> float: ... + _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]) -> 'FuelGasSystem.ConsumerType': ... + @staticmethod + def values() -> typing.MutableSequence['FuelGasSystem.ConsumerType']: ... + class FuelGasConsumer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], consumerType: 'FuelGasSystem.ConsumerType', double: float): ... + def getDemandKgh(self) -> float: ... + def getEfficiencyPercent(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getType(self) -> 'FuelGasSystem.ConsumerType': ... + def getUsefulThermalPowerKW(self, double: float) -> float: ... + def isRunning(self) -> bool: ... + def setDemandKgh(self, double: float) -> None: ... + def setEfficiencyPercent(self, double: float) -> None: ... + def setRunning(self, boolean: bool) -> None: ... + +class GORfitter(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getGFV(self) -> float: ... + def getGOR(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + def getReferenceConditions(self) -> java.lang.String: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + def isFitAsGVF(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFitAsGVF(self, boolean: bool) -> None: ... + def setGOR(self, double: float) -> None: ... + def setGVF(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceConditions(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class MPFMfitter(jneqsim.process.equipment.TwoPortEquipment): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getGFV(self) -> float: ... + def getGOR(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPressure(self) -> float: ... + def getReferenceConditions(self) -> java.lang.String: ... + def getReferenceFluidPackage(self) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + def isFitAsGVF(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFitAsGVF(self, boolean: bool) -> None: ... + def setGOR(self, double: float) -> None: ... + def setGVF(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceConditions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceFluidPackage(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class MoleFractionControllerUtil(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + def getMolesChange(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setComponentRate(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMoleFraction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setRelativeMoleFractionReduction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class MultiVariableAdjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addTargetSpecification(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addTargetSpecification(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, 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]) -> None: ... + def getIterations(self) -> int: ... + def getMaxResidual(self) -> float: ... + def getNumberOfVariables(self) -> int: ... + def isConverged(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setVariableBounds(self, int: int, double: float, double2: float) -> None: ... + def solved(self) -> bool: ... + +class NeqSimUnit(jneqsim.process.equipment.TwoPortEquipment): + numberOfNodes: int = ... + interfacialArea: float = ... + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getEquipment(self) -> java.lang.String: ... + def getID(self) -> float: ... + def getInterfacialArea(self) -> float: ... + def getLength(self) -> float: ... + def getNumberOfNodes(self) -> int: ... + def getOuterTemperature(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runAnnular(self) -> None: ... + def runDroplet(self) -> None: ... + def runStratified(self) -> None: ... + def setEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setID(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLength(self, double: float) -> None: ... + def setNumberOfNodes(self, int: int) -> None: ... + def setOuterTemperature(self, double: float) -> None: ... + +class PressureDrop(jneqsim.process.equipment.valve.ThrottlingValve): + @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): ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setPressureDrop(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class ProducedWaterDegassingSystem(java.io.Serializable): + KIJ_WATER_CO2_BASE: typing.ClassVar[float] = ... + KIJ_WATER_CO2_TEMP: typing.ClassVar[float] = ... + KIJ_WATER_CH4_BASE: typing.ClassVar[float] = ... + KIJ_WATER_CH4_TEMP: typing.ClassVar[float] = ... + KIJ_WATER_C2H6: typing.ClassVar[float] = ... + KIJ_WATER_C3H8: typing.ClassVar[float] = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def build(self) -> None: ... + def getCFUEmissions(self) -> EmissionsCalculator: ... + def getCaissonEmissions(self) -> EmissionsCalculator: ... + def getDegasserEmissions(self) -> EmissionsCalculator: ... + def getEmissionsReport(self) -> java.lang.String: ... + def getMethodComparisonReport(self) -> java.lang.String: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getTotalCO2EmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalCO2Equivalents(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalMethaneEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalNMVOCEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getValidationResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCFUPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCaissonPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDegasserPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDissolvedGasComposition(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setDissolvedGasComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setInletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setLabGWR(self, double: float) -> None: ... + def setLabGasComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTunedInteractionParameters(self, boolean: bool) -> None: ... + def setWaterFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.equipment.mixer.MixerInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcMixStreamEnthalpy(self) -> float: ... + def compositionBalanceCheck(self) -> float: ... + def displayResult(self) -> None: ... + def flowBalanceCheck(self) -> float: ... + def getAccelerationMethod(self) -> AccelerationMethod: ... + def getBroydenAccelerator(self) -> BroydenAccelerator: ... + def getCompositionTolerance(self) -> float: ... + def getDownstreamProperty(self) -> java.util.ArrayList[java.lang.String]: ... + def getErrorComposition(self) -> float: ... + def getErrorFlow(self) -> float: ... + def getErrorPressure(self) -> float: ... + def getErrorTemperature(self) -> float: ... + def getFlowTolerance(self) -> float: ... + def getIterations(self) -> int: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxIterations(self) -> int: ... + def getMinimumFlow(self) -> float: ... + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getPressureTolerance(self) -> float: ... + def getPriority(self) -> int: ... + def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTemperatureTolerance(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getWegsteinDelayIterations(self) -> int: ... + def getWegsteinQFactors(self) -> typing.MutableSequence[float]: ... + def getWegsteinQMax(self) -> float: ... + def getWegsteinQMin(self) -> float: ... + def guessTemperature(self) -> float: ... + def initiateDownstreamProperties(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def mixStream(self) -> None: ... + def pressureBalanceCheck(self) -> float: ... + def removeInputStream(self, int: int) -> None: ... + def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def resetAccelerationState(self) -> None: ... + def resetIterations(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAccelerationMethod(self, accelerationMethod: AccelerationMethod) -> None: ... + def setCompositionTolerance(self, double: float) -> None: ... + def setDownstreamProperties(self) -> None: ... + @typing.overload + def setDownstreamProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDownstreamProperty(self, arrayList: java.util.ArrayList[typing.Union[java.lang.String, str]]) -> None: ... + def setErrorCompositon(self, double: float) -> None: ... + def setErrorFlow(self, double: float) -> None: ... + def setErrorPressure(self, double: float) -> None: ... + def setErrorTemperature(self, double: float) -> None: ... + def setFlowTolerance(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMinimumFlow(self, double: float) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setPressure(self, double: float) -> None: ... + def setPressureTolerance(self, double: float) -> None: ... + def setPriority(self, int: int) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setTemperatureTolerance(self, double: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setWegsteinDelayIterations(self, int: int) -> None: ... + def setWegsteinQMax(self, double: float) -> None: ... + def setWegsteinQMin(self, double: float) -> None: ... + def solved(self) -> bool: ... + def temperatureBalanceCheck(self) -> float: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class RecycleController(java.io.Serializable): + def __init__(self): ... + def addRecycle(self, recycle: Recycle) -> None: ... + def clear(self) -> None: ... + def doSolveRecycle(self, recycle: Recycle) -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + def getConvergenceDiagnostics(self) -> java.lang.String: ... + def getConvergenceJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCoordinatedAccelerator(self) -> BroydenAccelerator: ... + def getCurrentPriorityLevel(self) -> int: ... + def getMaxResidualError(self) -> float: ... + def getRecycleCount(self) -> int: ... + def getRecycles(self) -> java.util.List[Recycle]: ... + def getRecyclesAtCurrentPriority(self) -> java.util.List[Recycle]: ... + def getTearStreamSensitivityMatrix(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def getTearStreamVariableNames(self) -> java.util.List[java.lang.String]: ... + def getTotalIterations(self) -> int: ... + def hasHigherPriorityLevel(self) -> bool: ... + def hasLoverPriorityLevel(self) -> bool: ... + def hasSensitivityData(self) -> bool: ... + def hashCode(self) -> int: ... + def init(self) -> None: ... + def isHighestPriority(self, recycle: Recycle) -> bool: ... + def isUseCoordinatedAcceleration(self) -> bool: ... + def nextPriorityLevel(self) -> None: ... + def resetAll(self) -> None: ... + def resetPriorityLevel(self) -> None: ... + def runSimultaneousAcceleration(self) -> bool: ... + @typing.overload + def setAccelerationMethod(self, accelerationMethod: AccelerationMethod) -> None: ... + @typing.overload + def setAccelerationMethod(self, accelerationMethod: AccelerationMethod, int: int) -> None: ... + def setCurrentPriorityLevel(self, int: int) -> None: ... + def setUseCoordinatedAcceleration(self, boolean: bool) -> None: ... + def solvedAll(self) -> bool: ... + def solvedCurrentPriorityLevel(self) -> bool: ... + +class SetPoint(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def displayResult(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setSourceValueCalculator(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... + @typing.overload + def setSourceVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def setSourceVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, 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]) -> None: ... + +class Setter(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addTargetEquipment(self, list: java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]) -> None: ... + @typing.overload + def addTargetEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def getParameters(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class SpreadsheetBlock(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addConstantCell(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addExportCell(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, exportWriter: typing.Union['SpreadsheetBlock.ExportWriter', typing.Callable]) -> None: ... + def addFormulaCell(self, string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], float], typing.Callable[[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], float]]) -> None: ... + def addImportCell(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... + def addStreamImportCell(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.stream.StreamInterface, float], typing.Callable[[jneqsim.process.equipment.stream.StreamInterface], float]]) -> None: ... + def getAllCellValues(self) -> java.util.Map[java.lang.String, float]: ... + def getCellNames(self) -> java.util.List[java.lang.String]: ... + def getCellValue(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: ... + class ExportWriter(java.io.Serializable): + def apply(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float) -> None: ... + +class StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): + @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 isMultiPhase(self) -> bool: ... + def needRecalculation(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setApprachToSaturation(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMultiPhase(self, boolean: bool) -> None: ... + +class StreamTransition(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class UnisimCalculator(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 addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def getCalculationMode(self) -> java.lang.String: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSourceOperationType(self) -> java.lang.String: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCalculationMode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMolarComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float) -> None: ... + @typing.overload + def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourceOperationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class UtilityAirSystem(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], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, airQualityClass: 'UtilityAirSystem.AirQualityClass'): ... + @typing.overload + def addConsumer(self, string: typing.Union[java.lang.String, str], double: float, airQualityClass: 'UtilityAirSystem.AirQualityClass') -> None: ... + @typing.overload + def addConsumer(self, airConsumer: 'UtilityAirSystem.AirConsumer') -> None: ... + def autoSize(self) -> None: ... + def calculateAnnualOperatingCost(self, double: float, double2: float) -> float: ... + def getActualDewPoint(self) -> float: ... + def getCompressorPowerKW(self) -> float: ... + def getCompressorType(self) -> 'UtilityAirSystem.CompressorType': ... + def getCondensateVolume(self) -> float: ... + def getDischargePressure(self) -> float: ... + def getDryerPurgeLoss(self) -> float: ... + def getDryerType(self) -> 'UtilityAirSystem.DryerType': ... + def getInletRelativeHumidity(self) -> float: ... + def getInletTemperature(self) -> float: ... + def getNumberOfCompressors(self) -> int: ... + def getReceiverHoldupMinutes(self) -> float: ... + def getReceiverVolume(self) -> float: ... + def getSpecificEnergy(self) -> float: ... + def getTargetQuality(self) -> 'UtilityAirSystem.AirQualityClass': ... + def getTotalAirDemand(self) -> float: ... + def isQualityTargetMet(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCompressorType(self, compressorType: 'UtilityAirSystem.CompressorType') -> None: ... + def setDischargePressure(self, double: float) -> None: ... + def setDryerType(self, dryerType: 'UtilityAirSystem.DryerType') -> None: ... + def setInletRelativeHumidity(self, double: float) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setNumberOfCompressors(self, int: int) -> None: ... + def setReceiverVolume(self, double: float) -> None: ... + def setTargetQuality(self, airQualityClass: 'UtilityAirSystem.AirQualityClass') -> None: ... + def setTotalAirDemand(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 AirConsumer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, airQualityClass: 'UtilityAirSystem.AirQualityClass'): ... + def getDemandNm3h(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRequiredQuality(self) -> 'UtilityAirSystem.AirQualityClass': ... + def isCritical(self) -> bool: ... + def setCritical(self, boolean: bool) -> None: ... + def setDemandNm3h(self, double: float) -> None: ... + def setRequiredQuality(self, airQualityClass: 'UtilityAirSystem.AirQualityClass') -> None: ... + class AirQualityClass(java.lang.Enum['UtilityAirSystem.AirQualityClass']): + CLASS_1: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... + CLASS_2: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... + CLASS_3: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... + CLASS_4: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... + CLASS_5: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... + def getMaxDewPointC(self) -> float: ... + def getMaxOilMgM3(self) -> float: ... + def getMaxParticleSizeMicron(self) -> float: ... + def getTypicalUse(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]) -> 'UtilityAirSystem.AirQualityClass': ... + @staticmethod + def values() -> typing.MutableSequence['UtilityAirSystem.AirQualityClass']: ... + class CompressorType(java.lang.Enum['UtilityAirSystem.CompressorType']): + ROTARY_SCREW: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... + RECIPROCATING: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... + CENTRIFUGAL: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... + SCROLL: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... + _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]) -> 'UtilityAirSystem.CompressorType': ... + @staticmethod + def values() -> typing.MutableSequence['UtilityAirSystem.CompressorType']: ... + class DryerType(java.lang.Enum['UtilityAirSystem.DryerType']): + REFRIGERATED: typing.ClassVar['UtilityAirSystem.DryerType'] = ... + DESICCANT_HEATLESS: typing.ClassVar['UtilityAirSystem.DryerType'] = ... + DESICCANT_HEATED: typing.ClassVar['UtilityAirSystem.DryerType'] = ... + MEMBRANE: typing.ClassVar['UtilityAirSystem.DryerType'] = ... + HYBRID: typing.ClassVar['UtilityAirSystem.DryerType'] = ... + def getAchievableDewPointC(self) -> float: ... + def getAirYieldFraction(self) -> float: ... + _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]) -> 'UtilityAirSystem.DryerType': ... + @staticmethod + def values() -> typing.MutableSequence['UtilityAirSystem.DryerType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.util")``. + + AccelerationMethod: typing.Type[AccelerationMethod] + Adjuster: typing.Type[Adjuster] + BroydenAccelerator: typing.Type[BroydenAccelerator] + Calculator: typing.Type[Calculator] + CalculatorLibrary: typing.Type[CalculatorLibrary] + ConvergenceDiagnostics: typing.Type[ConvergenceDiagnostics] + EmissionsCalculator: typing.Type[EmissionsCalculator] + FlowRateAdjuster: typing.Type[FlowRateAdjuster] + FlowSetter: typing.Type[FlowSetter] + FuelGasSystem: typing.Type[FuelGasSystem] + GORfitter: typing.Type[GORfitter] + MPFMfitter: typing.Type[MPFMfitter] + MoleFractionControllerUtil: typing.Type[MoleFractionControllerUtil] + MultiVariableAdjuster: typing.Type[MultiVariableAdjuster] + NeqSimUnit: typing.Type[NeqSimUnit] + PressureDrop: typing.Type[PressureDrop] + ProducedWaterDegassingSystem: typing.Type[ProducedWaterDegassingSystem] + Recycle: typing.Type[Recycle] + RecycleController: typing.Type[RecycleController] + SetPoint: typing.Type[SetPoint] + Setter: typing.Type[Setter] + SpreadsheetBlock: typing.Type[SpreadsheetBlock] + StreamSaturatorUtil: typing.Type[StreamSaturatorUtil] + StreamTransition: typing.Type[StreamTransition] + UnisimCalculator: typing.Type[UnisimCalculator] + UtilityAirSystem: typing.Type[UtilityAirSystem] diff --git a/src/jneqsim/process/equipment/valve/__init__.pyi b/src/jneqsim/process/equipment/valve/__init__.pyi new file mode 100644 index 00000000..628fe113 --- /dev/null +++ b/src/jneqsim/process/equipment/valve/__init__.pyi @@ -0,0 +1,761 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.design +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.stream +import jneqsim.process.measurementdevice +import jneqsim.process.mechanicaldesign.valve +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class ChokeCollapseAnalyzer(java.io.Serializable): + DEFAULT_MARGIN_THRESHOLD: typing.ClassVar[float] = ... + DEFAULT_CAVITATION_THRESHOLD: typing.ClassVar[float] = ... + def __init__(self, throttlingValve: 'ThrottlingValve'): ... + def analyze(self) -> 'ChokeCollapseResult': ... + @staticmethod + def criticalPressureRatio(double: float) -> float: ... + def findCollapsePressureRatio(self) -> float: ... + def setCavitationThreshold(self, double: float) -> None: ... + def setCriticalMarginThreshold(self, double: float) -> None: ... + def setDownstreamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class ChokeCollapseResult(java.io.Serializable): + def __init__(self): ... + def getCavitationIndex(self) -> float: ... + def getCollapseMode(self) -> 'ChokeCollapseResult.CollapseMode': ... + def getCriticalPressureRatio(self) -> float: ... + def getFlowRegime(self) -> 'ChokeCollapseResult.FlowRegime': ... + def getFluidPhase(self) -> java.lang.String: ... + def getGamma(self) -> float: ... + def getInletPressureBara(self) -> float: ... + def getInletTemperatureK(self) -> float: ... + def getMachNumber(self) -> float: ... + def getMarginToCollapse(self) -> float: ... + def getMassFlowKgPerSec(self) -> float: ... + def getOutletPressureBara(self) -> float: ... + def getPressureRatio(self) -> float: ... + def getRecommendations(self) -> java.util.List[java.lang.String]: ... + def isFlashing(self) -> bool: ... + def setCavitationIndex(self, double: float) -> None: ... + def setCollapseMode(self, collapseMode: 'ChokeCollapseResult.CollapseMode') -> None: ... + def setCriticalPressureRatio(self, double: float) -> None: ... + def setFlashing(self, boolean: bool) -> None: ... + def setFlowRegime(self, flowRegime: 'ChokeCollapseResult.FlowRegime') -> None: ... + def setFluidPhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGamma(self, double: float) -> None: ... + def setInletPressureBara(self, double: float) -> None: ... + def setInletTemperatureK(self, double: float) -> None: ... + def setMachNumber(self, double: float) -> None: ... + def setMarginToCollapse(self, double: float) -> None: ... + def setMassFlowKgPerSec(self, double: float) -> None: ... + def setOutletPressureBara(self, double: float) -> None: ... + def setPressureRatio(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class CollapseMode(java.lang.Enum['ChokeCollapseResult.CollapseMode']): + NONE: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... + NEAR_COLLAPSE: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... + COLLAPSED: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... + FLASHING: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... + CAVITATION: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... + _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]) -> 'ChokeCollapseResult.CollapseMode': ... + @staticmethod + def values() -> typing.MutableSequence['ChokeCollapseResult.CollapseMode']: ... + class FlowRegime(java.lang.Enum['ChokeCollapseResult.FlowRegime']): + CRITICAL: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... + SUBCRITICAL: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... + TRANSITION: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... + REVERSE: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... + _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]) -> 'ChokeCollapseResult.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['ChokeCollapseResult.FlowRegime']: ... + +class InadvertentValveOperationAnalyzer: + DEFAULT_SPURIOUS_FREQUENCY_PER_YEAR: typing.ClassVar[float] = ... + DEFAULT_STUCK_FREQUENCY_PER_YEAR: typing.ClassVar[float] = ... + API521_MAX_ACCUMULATION_FACTOR: typing.ClassVar[float] = ... + API521_FIRE_ACCUMULATION_FACTOR: typing.ClassVar[float] = ... + def __init__(self, valveInterface: 'ValveInterface'): ... + def analyze(self) -> 'InadvertentValveOperationResult': ... + def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InadvertentValveOperationAnalyzer': ... + def setDownstreamDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InadvertentValveOperationAnalyzer': ... + def setFrequencyPerYear(self, double: float) -> 'InadvertentValveOperationAnalyzer': ... + def setMode(self, ivoMode: 'InadvertentValveOperationResult.IvoMode') -> 'InadvertentValveOperationAnalyzer': ... + def setRole(self, valveRole: 'InadvertentValveOperationResult.ValveRole') -> 'InadvertentValveOperationAnalyzer': ... + def setUpstreamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InadvertentValveOperationAnalyzer': ... + +class InadvertentValveOperationResult(java.io.Serializable): + def __init__(self): ... + def addRecommendation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getDesignPressureBara(self) -> float: ... + def getDownstreamPressureBara(self) -> float: ... + def getFrequencyPerYear(self) -> float: ... + def getMode(self) -> 'InadvertentValveOperationResult.IvoMode': ... + def getOverpressureFactor(self) -> float: ... + def getRecommendations(self) -> java.util.List[java.lang.String]: ... + def getRole(self) -> 'InadvertentValveOperationResult.ValveRole': ... + def getSeverity(self) -> 'InadvertentValveOperationResult.ConsequenceSeverity': ... + def getUpstreamPressureBara(self) -> float: ... + def getValveName(self) -> java.lang.String: ... + def isBlockedOutlet(self) -> bool: ... + def isFailureToIsolateOnDemand(self) -> bool: ... + def isLossOfReliefPath(self) -> bool: ... + def isReverseFlowRisk(self) -> bool: ... + def setBlockedOutlet(self, boolean: bool) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignPressureBara(self, double: float) -> None: ... + def setDownstreamPressureBara(self, double: float) -> None: ... + def setFailureToIsolateOnDemand(self, boolean: bool) -> None: ... + def setFrequencyPerYear(self, double: float) -> None: ... + def setLossOfReliefPath(self, boolean: bool) -> None: ... + def setMode(self, ivoMode: 'InadvertentValveOperationResult.IvoMode') -> None: ... + def setOverpressureFactor(self, double: float) -> None: ... + def setReverseFlowRisk(self, boolean: bool) -> None: ... + def setRole(self, valveRole: 'InadvertentValveOperationResult.ValveRole') -> None: ... + def setSeverity(self, consequenceSeverity: 'InadvertentValveOperationResult.ConsequenceSeverity') -> None: ... + def setUpstreamPressureBara(self, double: float) -> None: ... + def setValveName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + class ConsequenceSeverity(java.lang.Enum['InadvertentValveOperationResult.ConsequenceSeverity']): + NONE: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... + MINOR: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... + MAJOR: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... + SAFETY_CRITICAL: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... + _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]) -> 'InadvertentValveOperationResult.ConsequenceSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['InadvertentValveOperationResult.ConsequenceSeverity']: ... + class IvoMode(java.lang.Enum['InadvertentValveOperationResult.IvoMode']): + SPURIOUS_OPEN: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... + SPURIOUS_CLOSE: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... + STUCK_OPEN: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... + STUCK_CLOSED: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... + PARTIAL_STROKE: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... + _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]) -> 'InadvertentValveOperationResult.IvoMode': ... + @staticmethod + def values() -> typing.MutableSequence['InadvertentValveOperationResult.IvoMode']: ... + class ValveRole(java.lang.Enum['InadvertentValveOperationResult.ValveRole']): + BLOCK: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + CONTROL: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + BYPASS: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + CHECK: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + PSV_ISOLATION: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + ESD: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + BLOWDOWN: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... + _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]) -> 'InadvertentValveOperationResult.ValveRole': ... + @staticmethod + def values() -> typing.MutableSequence['InadvertentValveOperationResult.ValveRole']: ... + +class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): + def equals(self, object: typing.Any) -> bool: ... + def getCg(self) -> float: ... + def getClosingTravelTime(self) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKv(self) -> float: ... + def getOpeningTravelTime(self) -> float: ... + def getPercentValveOpening(self) -> float: ... + def getTargetPercentValveOpening(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTravelModel(self) -> 'ValveTravelModel': ... + def getTravelTime(self) -> float: ... + def getTravelTimeConstant(self) -> float: ... + def hashCode(self) -> int: ... + def isIsoThermal(self) -> bool: ... + def setClosingTravelTime(self, double: float) -> None: ... + @typing.overload + def setCv(self, double: float) -> None: ... + @typing.overload + def setCv(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setIsoThermal(self, boolean: bool) -> None: ... + def setKv(self, double: float) -> None: ... + def setOpeningTravelTime(self, double: float) -> None: ... + def setPercentValveOpening(self, double: float) -> None: ... + def setTargetPercentValveOpening(self, double: float) -> None: ... + def setTravelModel(self, valveTravelModel: 'ValveTravelModel') -> None: ... + def setTravelTime(self, double: float) -> None: ... + def setTravelTimeConstant(self, double: float) -> None: ... + +class ValveTravelModel(java.lang.Enum['ValveTravelModel']): + NONE: typing.ClassVar['ValveTravelModel'] = ... + LINEAR_RATE_LIMIT: typing.ClassVar['ValveTravelModel'] = ... + FIRST_ORDER_LAG: typing.ClassVar['ValveTravelModel'] = ... + _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]) -> 'ValveTravelModel': ... + @staticmethod + def values() -> typing.MutableSequence['ValveTravelModel']: ... + +class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): + @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def analyseChokeCollapse(self) -> ChokeCollapseResult: ... + def analyseInadvertentOperation(self, valveRole: InadvertentValveOperationResult.ValveRole, ivoMode: InadvertentValveOperationResult.IvoMode, double: float) -> InadvertentValveOperationResult: ... + @typing.overload + def autoSize(self) -> None: ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, double: float, double2: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calcKv(self) -> None: ... + def calculateAIV(self) -> float: ... + def calculateAIVLikelihoodOfFailure(self, double: float, double2: float) -> float: ... + def calculateMolarFlow(self) -> float: ... + def calculateOutletPressure(self, double: float) -> float: ... + def clearCapacityConstraints(self) -> None: ... + def displayResult(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getCg(self) -> float: ... + def getClosingTravelTime(self) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDeltaPressure(self) -> float: ... + @typing.overload + def getDeltaPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getFp(self) -> float: ... + def getInletPressure(self) -> float: ... + def getKv(self) -> float: ... + def getMaxDesignAIV(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMaximumValveOpening(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... + def getMinimumValveOpening(self) -> float: ... + def getOpeningTravelTime(self) -> float: ... + @typing.overload + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getOutletPressure(self) -> float: ... + def getPercentValveOpening(self) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSizingReport(self) -> java.lang.String: ... + def getSizingReportJson(self) -> java.lang.String: ... + def getTargetPercentValveOpening(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTravelModel(self) -> ValveTravelModel: ... + def getTravelTime(self) -> float: ... + def getTravelTimeConstant(self) -> float: ... + def getValveDeadband(self) -> float: ... + def getValveHysteresis(self) -> float: ... + def getValveStiction(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isAcceptNegativeDP(self) -> bool: ... + def isAllowChoked(self) -> bool: ... + def isAllowLaminar(self) -> bool: ... + def isAutoSized(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isGasValve(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def isIsoThermal(self) -> bool: ... + def isValveKvSet(self) -> bool: ... + def needRecalculation(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runController(self, double: float, 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 setAcceptNegativeDP(self, boolean: bool) -> None: ... + def setAllowChoked(self, boolean: bool) -> None: ... + def setAllowLaminar(self, boolean: bool) -> None: ... + def setClosingTravelTime(self, double: float) -> None: ... + @typing.overload + def setCv(self, double: float) -> None: ... + @typing.overload + def setCv(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDeltaPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFp(self, double: float) -> None: ... + def setGasValve(self, boolean: bool) -> None: ... + def setIsCalcOutPressure(self, boolean: bool) -> None: ... + def setIsoThermal(self, boolean: bool) -> None: ... + def setKv(self, double: float) -> None: ... + def setMaxDesignAIV(self, double: float) -> None: ... + def setMaximumValveOpening(self, double: float) -> None: ... + def setMinimumValveOpening(self, double: float) -> None: ... + def setOpeningTravelTime(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float) -> None: ... + @typing.overload + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPercentValveOpening(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetPercentValveOpening(self, double: float) -> None: ... + def setTravelModel(self, valveTravelModel: ValveTravelModel) -> None: ... + def setTravelTime(self, double: float) -> None: ... + def setTravelTimeConstant(self, double: float) -> None: ... + def setValveDeadband(self, double: float) -> None: ... + def setValveHysteresis(self, double: float) -> None: ... + def setValveKvSet(self, boolean: bool) -> None: ... + def setValveStiction(self, double: float) -> None: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + +class BlowdownValve(ThrottlingValve): + @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 activate(self) -> None: ... + def close(self) -> None: ... + def getOpeningTime(self) -> float: ... + def getTimeElapsed(self) -> float: ... + def isActivated(self) -> bool: ... + def isOpening(self) -> bool: ... + def reset(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setOpeningTime(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class CheckValve(ThrottlingValve): + @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 getCrackingPressure(self) -> float: ... + def isOpen(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCrackingPressure(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class ControlValve(ThrottlingValve): + @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 toString(self) -> java.lang.String: ... + +class ESDValve(ThrottlingValve): + @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 completePartialStrokeTest(self) -> None: ... + def deEnergize(self) -> None: ... + def energize(self) -> None: ... + def getFailSafePosition(self) -> float: ... + def getStrokeTime(self) -> float: ... + def getTimeElapsedSinceTrip(self) -> float: ... + def hasTripCompleted(self) -> bool: ... + def isClosing(self) -> bool: ... + def isEnergized(self) -> bool: ... + def isPartialStrokeTestActive(self) -> bool: ... + def reset(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setFailSafePosition(self, double: float) -> None: ... + def setStrokeTime(self, double: float) -> None: ... + def startPartialStrokeTest(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + def trip(self) -> None: ... + +class HIPPSValve(ThrottlingValve): + @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 addPressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def getActiveTransmitterCount(self) -> int: ... + def getClosureTime(self) -> float: ... + def getDiagnostics(self) -> java.lang.String: ... + def getLastTripTime(self) -> float: ... + def getPressureTransmitters(self) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getProofTestInterval(self) -> float: ... + def getSILRating(self) -> int: ... + def getSpuriousTripCount(self) -> int: ... + def getTimeSinceProofTest(self) -> float: ... + def getVotingLogic(self) -> 'HIPPSValve.VotingLogic': ... + def hasTripped(self) -> bool: ... + def isPartialStrokeTestActive(self) -> bool: ... + def isProofTestDue(self) -> bool: ... + def isTripEnabled(self) -> bool: ... + def performPartialStrokeTest(self, double: float) -> None: ... + def performProofTest(self) -> None: ... + def recordSpuriousTrip(self) -> None: ... + def removePressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def reset(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setClosureTime(self, double: float) -> None: ... + def setPercentValveOpening(self, double: float) -> None: ... + def setProofTestInterval(self, double: float) -> None: ... + def setSILRating(self, int: int) -> None: ... + def setTripEnabled(self, boolean: bool) -> None: ... + def setVotingLogic(self, votingLogic: 'HIPPSValve.VotingLogic') -> None: ... + def toString(self) -> java.lang.String: ... + class VotingLogic(java.lang.Enum['HIPPSValve.VotingLogic']): + ONE_OUT_OF_ONE: typing.ClassVar['HIPPSValve.VotingLogic'] = ... + ONE_OUT_OF_TWO: typing.ClassVar['HIPPSValve.VotingLogic'] = ... + TWO_OUT_OF_TWO: typing.ClassVar['HIPPSValve.VotingLogic'] = ... + TWO_OUT_OF_THREE: typing.ClassVar['HIPPSValve.VotingLogic'] = ... + TWO_OUT_OF_FOUR: typing.ClassVar['HIPPSValve.VotingLogic'] = ... + def getNotation(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]) -> 'HIPPSValve.VotingLogic': ... + @staticmethod + def values() -> typing.MutableSequence['HIPPSValve.VotingLogic']: ... + +class PSDValve(ThrottlingValve): + @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 getClosureTime(self) -> float: ... + def getPressureTransmitter(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def hasTripped(self) -> bool: ... + def isTripEnabled(self) -> bool: ... + def linkToPressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def reset(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setClosureTime(self, double: float) -> None: ... + def setPercentValveOpening(self, double: float) -> None: ... + def setTripEnabled(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + +class RuptureDisk(ThrottlingValve): + @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 getBurstPressure(self) -> float: ... + def getFullOpenPressure(self) -> float: ... + def hasRuptured(self) -> bool: ... + def reset(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 setBurstPressure(self, double: float) -> None: ... + def setFullOpenPressure(self, double: float) -> None: ... + +class SafetyReliefValve(ThrottlingValve): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def configureBalancedModulating(self, double: float, double2: float, double3: float, double4: float) -> 'SafetyReliefValve': ... + def configureConventionalSnap(self, double: float, double2: float, double3: float, double4: float) -> 'SafetyReliefValve': ... + def getBackpressureSensitivity(self) -> float: ... + def getBlowdownFrac(self) -> float: ... + def getKbMax(self) -> float: ... + def getKd(self) -> float: ... + def getMinStableOpenFrac(self) -> float: ... + def getOpenFraction(self) -> float: ... + def getOpeningLaw(self) -> 'SafetyReliefValve.OpeningLaw': ... + def getOverpressureFrac(self) -> float: ... + def getRatedCv(self) -> float: ... + def getRelievingPressureBar(self) -> float: ... + def getReseatPressureBar(self) -> float: ... + def getSetPressureBar(self) -> float: ... + def getValveType(self) -> 'SafetyReliefValve.ValveType': ... + def initMechanicalDesign(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 setBackpressureSensitivity(self, double: float) -> None: ... + def setBlowdownFrac(self, double: float) -> None: ... + def setKbMax(self, double: float) -> None: ... + def setKd(self, double: float) -> None: ... + def setMaxLiftRatePerSec(self, double: float) -> None: ... + def setMinCloseTimeSec(self, double: float) -> None: ... + def setMinOpenTimeSec(self, double: float) -> None: ... + def setMinStableOpenFrac(self, double: float) -> None: ... + def setOpeningLaw(self, openingLaw: 'SafetyReliefValve.OpeningLaw') -> None: ... + def setOverpressureFrac(self, double: float) -> None: ... + def setRatedCv(self, double: float) -> None: ... + def setSetPressureBar(self, double: float) -> None: ... + def setTauCloseSec(self, double: float) -> None: ... + def setTauOpenSec(self, double: float) -> None: ... + def setValveType(self, valveType: 'SafetyReliefValve.ValveType') -> None: ... + class OpeningLaw(java.lang.Enum['SafetyReliefValve.OpeningLaw']): + SNAP: typing.ClassVar['SafetyReliefValve.OpeningLaw'] = ... + MODULATING: typing.ClassVar['SafetyReliefValve.OpeningLaw'] = ... + _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]) -> 'SafetyReliefValve.OpeningLaw': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyReliefValve.OpeningLaw']: ... + class ValveType(java.lang.Enum['SafetyReliefValve.ValveType']): + CONVENTIONAL: typing.ClassVar['SafetyReliefValve.ValveType'] = ... + BALANCED_BELLOWS: typing.ClassVar['SafetyReliefValve.ValveType'] = ... + PILOT_MODULATING: typing.ClassVar['SafetyReliefValve.ValveType'] = ... + _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]) -> 'SafetyReliefValve.ValveType': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyReliefValve.ValveType']: ... + +class SafetyValve(ThrottlingValve): + @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 addScenario(self, relievingScenario: 'SafetyValve.RelievingScenario') -> 'SafetyValve': ... + def clearRelievingScenarios(self) -> None: ... + def ensureDefaultScenario(self) -> None: ... + def getActiveScenario(self) -> java.util.Optional['SafetyValve.RelievingScenario']: ... + def getActiveScenarioName(self) -> java.util.Optional[java.lang.String]: ... + def getBlowdownPressure(self) -> float: ... + def getFullOpenPressure(self) -> float: ... + def getPressureSpec(self) -> float: ... + def getRelievingScenarios(self) -> java.util.List['SafetyValve.RelievingScenario']: ... + def initMechanicalDesign(self) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setActiveScenario(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBlowdown(self, double: float) -> None: ... + def setBlowdownPressure(self, double: float) -> None: ... + def setFullOpenPressure(self, double: float) -> None: ... + def setPressureSpec(self, double: float) -> None: ... + def setRelievingScenarios(self, list: java.util.List['SafetyValve.RelievingScenario']) -> None: ... + class FluidService(java.lang.Enum['SafetyValve.FluidService']): + GAS: typing.ClassVar['SafetyValve.FluidService'] = ... + LIQUID: typing.ClassVar['SafetyValve.FluidService'] = ... + MULTIPHASE: typing.ClassVar['SafetyValve.FluidService'] = ... + FIRE: typing.ClassVar['SafetyValve.FluidService'] = ... + _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]) -> 'SafetyValve.FluidService': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyValve.FluidService']: ... + class RelievingScenario(java.io.Serializable): + def getBackPressure(self) -> float: ... + def getBackPressureCorrection(self) -> java.util.Optional[float]: ... + def getDischargeCoefficient(self) -> java.util.Optional[float]: ... + def getFluidService(self) -> 'SafetyValve.FluidService': ... + def getInstallationCorrection(self) -> java.util.Optional[float]: ... + def getName(self) -> java.lang.String: ... + def getOverpressureFraction(self) -> float: ... + def getRelievingStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSetPressure(self) -> java.util.Optional[float]: ... + def getSizingStandard(self) -> 'SafetyValve.SizingStandard': ... + class Builder: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def backPressure(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... + def backPressureCorrection(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... + def build(self) -> 'SafetyValve.RelievingScenario': ... + def dischargeCoefficient(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... + def fluidService(self, fluidService: 'SafetyValve.FluidService') -> 'SafetyValve.RelievingScenario.Builder': ... + def installationCorrection(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... + def overpressureFraction(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... + def relievingStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'SafetyValve.RelievingScenario.Builder': ... + def setPressure(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... + def sizingStandard(self, sizingStandard: 'SafetyValve.SizingStandard') -> 'SafetyValve.RelievingScenario.Builder': ... + class SizingStandard(java.lang.Enum['SafetyValve.SizingStandard']): + API_520: typing.ClassVar['SafetyValve.SizingStandard'] = ... + ISO_4126: typing.ClassVar['SafetyValve.SizingStandard'] = ... + _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]) -> 'SafetyValve.SizingStandard': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyValve.SizingStandard']: ... + +class LevelControlValve(ControlValve): + @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 getControlAction(self) -> 'LevelControlValve.ControlAction': ... + def getControlError(self) -> float: ... + def getControllerGain(self) -> float: ... + def getFailSafePosition(self) -> float: ... + def getLevelSetpoint(self) -> float: ... + def getMeasuredLevel(self) -> float: ... + def isAutoMode(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAutoMode(self, boolean: bool) -> None: ... + def setControlAction(self, controlAction: 'LevelControlValve.ControlAction') -> None: ... + def setControllerGain(self, double: float) -> None: ... + def setFailSafePosition(self, double: float) -> None: ... + def setLevelSetpoint(self, double: float) -> None: ... + def setMeasuredLevel(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class ControlAction(java.lang.Enum['LevelControlValve.ControlAction']): + DIRECT: typing.ClassVar['LevelControlValve.ControlAction'] = ... + REVERSE: typing.ClassVar['LevelControlValve.ControlAction'] = ... + _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]) -> 'LevelControlValve.ControlAction': ... + @staticmethod + def values() -> typing.MutableSequence['LevelControlValve.ControlAction']: ... + +class PressureControlValve(ControlValve): + @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 getControlError(self) -> float: ... + def getControlMode(self) -> 'PressureControlValve.ControlMode': ... + def getControllerGain(self) -> float: ... + def getPressureSetpoint(self) -> float: ... + def getProcessVariable(self) -> float: ... + def isAutoMode(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAutoMode(self, boolean: bool) -> None: ... + def setControlMode(self, controlMode: 'PressureControlValve.ControlMode') -> None: ... + def setControllerGain(self, double: float) -> None: ... + def setPressureSetpoint(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class ControlMode(java.lang.Enum['PressureControlValve.ControlMode']): + DOWNSTREAM: typing.ClassVar['PressureControlValve.ControlMode'] = ... + UPSTREAM: typing.ClassVar['PressureControlValve.ControlMode'] = ... + DIFFERENTIAL: typing.ClassVar['PressureControlValve.ControlMode'] = ... + _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]) -> 'PressureControlValve.ControlMode': ... + @staticmethod + def values() -> typing.MutableSequence['PressureControlValve.ControlMode']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.valve")``. + + BlowdownValve: typing.Type[BlowdownValve] + CheckValve: typing.Type[CheckValve] + ChokeCollapseAnalyzer: typing.Type[ChokeCollapseAnalyzer] + ChokeCollapseResult: typing.Type[ChokeCollapseResult] + ControlValve: typing.Type[ControlValve] + ESDValve: typing.Type[ESDValve] + HIPPSValve: typing.Type[HIPPSValve] + InadvertentValveOperationAnalyzer: typing.Type[InadvertentValveOperationAnalyzer] + InadvertentValveOperationResult: typing.Type[InadvertentValveOperationResult] + LevelControlValve: typing.Type[LevelControlValve] + PSDValve: typing.Type[PSDValve] + PressureControlValve: typing.Type[PressureControlValve] + RuptureDisk: typing.Type[RuptureDisk] + SafetyReliefValve: typing.Type[SafetyReliefValve] + SafetyValve: typing.Type[SafetyValve] + ThrottlingValve: typing.Type[ThrottlingValve] + ValveInterface: typing.Type[ValveInterface] + ValveTravelModel: typing.Type[ValveTravelModel] diff --git a/src/jneqsim/process/equipment/watertreatment/__init__.pyi b/src/jneqsim/process/equipment/watertreatment/__init__.pyi new file mode 100644 index 00000000..3a06d9fd --- /dev/null +++ b/src/jneqsim/process/equipment/watertreatment/__init__.pyi @@ -0,0 +1,343 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.mechanicaldesign.watertreatment +import typing + + + +class ChemicalDoseLagModel(java.io.Serializable): + def __init__(self): ... + def copy(self) -> 'ChemicalDoseLagModel': ... + def getChemicalMassKg(self) -> float: ... + def getDecayHalfLifeHours(self) -> float: ... + def getEffectiveDosePpm(self) -> float: ... + def getHoldUpVolumeM3(self) -> float: ... + def getLastInputMassFlowKgH(self) -> float: ... + def getLastOutletMassFlowKgH(self) -> float: ... + def getResidenceTimeHours(self, double: float) -> float: ... + def getWaterDensityKgm3(self) -> float: ... + def resetToSteadyState(self, double: float, double2: float) -> None: ... + def setDecayHalfLifeHours(self, double: float) -> None: ... + def setHoldUpVolumeM3(self, double: float) -> None: ... + def setWaterDensityKgm3(self, double: float) -> None: ... + def step(self, double: float, double2: float, double3: float) -> float: ... + def toJson(self) -> java.lang.String: ... + +class DemulsifierDoseResponseModel(java.io.Serializable): + def __init__(self): ... + def calculateRemovalFraction(self, double: float) -> float: ... + def calibrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> float: ... + def getHalfEffectDosePpm(self) -> float: ... + def getHillCoefficient(self) -> float: ... + def getLastEffectiveRemovalFraction(self) -> float: ... + def getLastPredictedOilInWaterMgL(self) -> float: ... + def getLastRootMeanSquareError(self) -> float: ... + def getMaxRemovalFraction(self) -> float: ... + def getMinimumOilInWaterMgL(self) -> float: ... + def getModelParameters(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getOptimumDosePpm(self) -> float: ... + def getOverdoseSensitivity(self) -> float: ... + def predictOilInWater(self, double: float, double2: float) -> float: ... + def setHalfEffectDosePpm(self, double: float) -> None: ... + def setHillCoefficient(self, double: float) -> None: ... + def setMaxRemovalFraction(self, double: float) -> None: ... + def setMinimumOilInWaterMgL(self, double: float) -> None: ... + def setOptimumDosePpm(self, double: float) -> None: ... + def setOverdoseSensitivity(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class GasFlotationUnit(jneqsim.process.equipment.separator.Separator): + @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 calcMinimumGasFlowRate(self) -> float: ... + def calcPerStageEfficiency(self) -> float: ... + def calcRejectFlowPerStage(self) -> float: ... + def getDesignValidationSummary(self) -> java.lang.String: ... + def getFlotationGasFlowRate(self) -> float: ... + def getFlotationGasType(self) -> java.lang.String: ... + def getInletOilConcentration(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getOilRemovalEfficiency(self) -> float: ... + def getOutletOilMgL(self) -> float: ... + def getPerStageEfficiency(self) -> float: ... + def getRejectFlowPerStage(self) -> float: ... + def getTotalRejectFlow(self) -> float: ... + def getWaterFlowRate(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setFlotationGasType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletOilConcentration(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setOilRemovalEfficiency(self, double: float) -> None: ... + def setWaterFlowRate(self, double: float) -> None: ... + +class Hydrocyclone(jneqsim.process.equipment.separator.Separator): + OSPAR_OIW_LIMIT_MGL: typing.ClassVar[float] = ... + MIN_DESIGN_DP_BAR: typing.ClassVar[float] = ... + RECOMMENDED_DP_BAR: typing.ClassVar[float] = ... + STANDARD_LINER_SIZES_MM: typing.ClassVar[typing.MutableSequence[float]] = ... + @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): ... + @typing.overload + def autoSize(self, double: float) -> None: ... + @typing.overload + def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def autoSize(self) -> None: ... + def calcD50FromConditions(self) -> float: ... + def calcEfficiencyFromDSD(self) -> float: ... + def calcNumberOfLiners(self, double: float) -> int: ... + def calcNumberOfVessels(self) -> int: ... + def calcRejectRatioFromPDR(self) -> float: ... + def calcRequiredInletPressure(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateEfficiencyFromConditions(self, double: float, double2: float) -> float: ... + def getCalculatedD50(self) -> float: ... + def getCalculatedEfficiency(self) -> float: ... + def getD50Microns(self) -> float: ... + def getDesignFlowPerLinerM3h(self) -> float: ... + def getDesignValidationSummary(self) -> java.lang.String: ... + def getDv50Microns(self) -> float: ... + def getEfficiencyForDropletSize(self, double: float) -> float: ... + def getFeedFlowM3h(self) -> float: ... + def getFlowPerLinerM3h(self) -> float: ... + def getGeometricStdDev(self) -> float: ... + def getHydrocycloneCapacityUtilization(self) -> float: ... + def getInletOilConcentration(self) -> float: ... + def getLinerDiameterMm(self) -> float: ... + def getLinersPerVessel(self) -> int: ... + def getMaxDesignCapacityM3h(self) -> float: ... + def getMaxFlowPerLinerM3h(self) -> float: ... + def getMaxOperatingFlowM3h(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.watertreatment.HydrocycloneMechanicalDesign: ... + def getMinFlowPerLinerM3h(self) -> float: ... + def getMinOperatingFlowM3h(self) -> float: ... + def getNumberOfLiners(self) -> int: ... + def getNumberOfSpareLiners(self) -> int: ... + def getNumberOfVessels(self) -> int: ... + def getOilRemovalEfficiency(self) -> float: ... + def getOutletOilMgL(self) -> float: ... + def getOverflowFlowM3h(self) -> float: ... + def getPDR(self) -> float: ... + def getPDREfficiencyFactor(self) -> float: ... + def getPressureDropBar(self) -> float: ... + def getRejectFlowM3h(self) -> float: ... + def getRejectRatio(self) -> float: ... + def getRemovedOilKgPerHour(self) -> float: ... + def getSharpnessIndex(self) -> float: ... + def getSizingResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTurndownRatio(self) -> float: ... + def initMechanicalDesign(self) -> None: ... + def isDifferentialPressureAdequate(self) -> bool: ... + def isOSPARCompliant(self) -> bool: ... + def isOverloaded(self) -> bool: ... + def isWithinOperatingRange(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setD50Microns(self, double: float) -> None: ... + def setDv50Microns(self, double: float) -> None: ... + def setGeometricStdDev(self, double: float) -> None: ... + def setInletOilConcentration(self, double: float) -> None: ... + def setLinerDiameterMm(self, double: float) -> None: ... + def setLinersPerVessel(self, int: int) -> None: ... + def setNumberOfLiners(self, int: int) -> None: ... + def setNumberOfSpareLiners(self, int: int) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setOilRemovalEfficiency(self, double: float) -> None: ... + def setPDR(self, double: float) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setPressureDropBar(self, double: float) -> None: ... + def setRejectRatio(self, double: float) -> None: ... + def setSharpnessIndex(self, double: float) -> None: ... + def setWaterDensity(self, double: float) -> None: ... + def setWaterViscosity(self, double: float) -> None: ... + +class OilInWaterAnalyzerDriftModel(java.io.Serializable): + def __init__(self): ... + def calibrate(self, double: float, double2: float, double3: float) -> None: ... + def correctMeasuredValue(self, double: float, double2: float) -> float: ... + def getCalibrationIntervalDays(self) -> float: ... + def getLastMeasuredOilInWaterMgL(self) -> float: ... + def getNoiseStandardDeviationMgL(self) -> float: ... + def getSpanDriftFractionPerDay(self) -> float: ... + def getSpanFactor(self) -> float: ... + def getZeroDriftMgLPerDay(self) -> float: ... + def getZeroOffsetMgL(self) -> float: ... + def isCalibrationDue(self, double: float) -> bool: ... + def measure(self, double: float, double2: float) -> float: ... + def measureConservative(self, double: float, double2: float, double3: float) -> float: ... + def setCalibrationIntervalDays(self, double: float) -> None: ... + def setNoiseStandardDeviationMgL(self, double: float) -> None: ... + def setSpanDriftFractionPerDay(self, double: float) -> None: ... + def setSpanFactor(self, double: float) -> None: ... + def setZeroDriftMgLPerDay(self, double: float) -> None: ... + def setZeroOffsetMgL(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class OilInWaterDoseOptimizer(java.io.Serializable): + def __init__(self): ... + def addMonthlySample(self, double: float, double2: float) -> None: ... + def getAnalyzerDriftModel(self) -> OilInWaterAnalyzerDriftModel: ... + def getChemicalLagModel(self) -> ChemicalDoseLagModel: ... + def getDoseResponseModel(self) -> DemulsifierDoseResponseModel: ... + def getLastRecommendation(self) -> 'OilInWaterDoseOptimizer.DoseRecommendation': ... + def getMonthlyMonitor(self) -> 'OilInWaterMonthlyComplianceMonitor': ... + def getOptimizationHorizonHours(self) -> float: ... + def getSafetyMarginMgL(self) -> float: ... + @typing.overload + def recommendDose(self, double: float, double2: float, double3: float, int: int) -> 'OilInWaterDoseOptimizer.DoseRecommendation': ... + @typing.overload + def recommendDose(self, double: float, double2: float, int: int) -> 'OilInWaterDoseOptimizer.DoseRecommendation': ... + def setAnalyzerConfidenceMultiplier(self, double: float) -> None: ... + def setAnalyzerDriftModel(self, oilInWaterAnalyzerDriftModel: OilInWaterAnalyzerDriftModel) -> None: ... + def setChemicalLagModel(self, chemicalDoseLagModel: ChemicalDoseLagModel) -> None: ... + def setDoseRange(self, double: float, double2: float, double3: float) -> None: ... + def setDoseResponseModel(self, demulsifierDoseResponseModel: DemulsifierDoseResponseModel) -> None: ... + def setMonthlyMonitor(self, oilInWaterMonthlyComplianceMonitor: 'OilInWaterMonthlyComplianceMonitor') -> None: ... + def setOptimizationHorizonHours(self, double: float) -> None: ... + def setSafetyMarginMgL(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class DoseRecommendation(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getEffectiveDosePpm(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getPredictedMeasuredOilInWaterMgL(self) -> float: ... + def getPredictedOilInWaterMgL(self) -> float: ... + def getSetpointDosePpm(self) -> float: ... + def getStatus(self) -> java.lang.String: ... + def getTargetOilInWaterMgL(self) -> float: ... + def isFeasible(self) -> bool: ... + +class OilInWaterMonthlyComplianceMonitor(java.io.Serializable): + def __init__(self): ... + def addSample(self, double: float, double2: float) -> None: ... + def calculateStatus(self, int: int) -> 'OilInWaterMonthlyComplianceMonitor.MonthlyStatus': ... + def getCumulativeOilMassKg(self) -> float: ... + def getCumulativeWaterVolumeM3(self) -> float: ... + def getDaysInMonth(self) -> int: ... + def getMonthlyLimitMgL(self) -> float: ... + def getProjectedDailyWaterVolumeM3(self) -> float: ... + def getSampleCount(self) -> int: ... + def getWeightedAverageMgL(self) -> float: ... + def reset(self) -> None: ... + def setDaysInMonth(self, int: int) -> None: ... + def setMonthlyLimitMgL(self, double: float) -> None: ... + def setProjectedDailyWaterVolumeM3(self, double: float) -> None: ... + def setWarningFraction(self, double: float) -> None: ... + def setWatchFraction(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class ComplianceStatus(java.lang.Enum['OilInWaterMonthlyComplianceMonitor.ComplianceStatus']): + NORMAL: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... + WATCH: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... + WARNING: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... + EXCEEDED: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... + _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]) -> 'OilInWaterMonthlyComplianceMonitor.ComplianceStatus': ... + @staticmethod + def values() -> typing.MutableSequence['OilInWaterMonthlyComplianceMonitor.ComplianceStatus']: ... + class MonthlyStatus(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, complianceStatus: 'OilInWaterMonthlyComplianceMonitor.ComplianceStatus', string: typing.Union[java.lang.String, str]): ... + def getProjectedMonthlyWaterVolumeM3(self) -> float: ... + def getRecommendation(self) -> java.lang.String: ... + def getRemainingAllowedAverageMgL(self) -> float: ... + def getRemainingWaterVolumeM3(self) -> float: ... + def getStatus(self) -> 'OilInWaterMonthlyComplianceMonitor.ComplianceStatus': ... + def getWeightedAverageMgL(self) -> float: ... + +class ProducedWaterTreatmentTrain(jneqsim.process.equipment.ProcessEquipmentBaseClass): + NCS_OIW_LIMIT_MGL: typing.ClassVar[float] = ... + OSPAR_OIW_LIMIT_MGL: typing.ClassVar[float] = ... + @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 addStage(self, waterTreatmentStage: 'ProducedWaterTreatmentTrain.WaterTreatmentStage') -> None: ... + def clearStages(self) -> None: ... + def generateReport(self) -> java.lang.String: ... + def getAnnualOilDischargeTonnes(self, double: float) -> float: ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOilInWaterDoseOptimizer(self) -> OilInWaterDoseOptimizer: ... + def getOilInWaterMgL(self) -> float: ... + def getOilInWaterPpm(self) -> float: ... + def getOverallEfficiency(self) -> float: ... + def getRecoveredOilM3h(self) -> float: ... + def getRecoveredOilStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStages(self) -> java.util.List['ProducedWaterTreatmentTrain.WaterTreatmentStage']: ... + def getTreatedWaterStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def isCompliantWith(self, double: float) -> bool: ... + def isDischargeCompliant(self) -> bool: ... + def recommendDemulsifierDose(self, double: float, double2: float, int: int) -> OilInWaterDoseOptimizer.DoseRecommendation: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setInletOilConcentration(self, double: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOilInWaterDoseOptimizer(self, oilInWaterDoseOptimizer: OilInWaterDoseOptimizer) -> None: ... + def setStageEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setWaterFlowRate(self, double: float) -> None: ... + class StageType(java.lang.Enum['ProducedWaterTreatmentTrain.StageType']): + HYDROCYCLONE: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... + FLOTATION: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... + SKIM_TANK: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... + COALESCER: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... + FILTER: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... + MEMBRANE: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... + _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]) -> 'ProducedWaterTreatmentTrain.StageType': ... + @staticmethod + def values() -> typing.MutableSequence['ProducedWaterTreatmentTrain.StageType']: ... + class WaterTreatmentStage(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], stageType: 'ProducedWaterTreatmentTrain.StageType', double: float): ... + def getEfficiency(self) -> float: ... + def getInletOIW(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getOutletOIW(self) -> float: ... + def getRecoveredOilM3h(self) -> float: ... + def getType(self) -> 'ProducedWaterTreatmentTrain.StageType': ... + def setEfficiency(self, double: float) -> None: ... + def setInletOIW(self, double: float) -> None: ... + def setOutletOIW(self, double: float) -> None: ... + def setRecoveredOilM3h(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.watertreatment")``. + + ChemicalDoseLagModel: typing.Type[ChemicalDoseLagModel] + DemulsifierDoseResponseModel: typing.Type[DemulsifierDoseResponseModel] + GasFlotationUnit: typing.Type[GasFlotationUnit] + Hydrocyclone: typing.Type[Hydrocyclone] + OilInWaterAnalyzerDriftModel: typing.Type[OilInWaterAnalyzerDriftModel] + OilInWaterDoseOptimizer: typing.Type[OilInWaterDoseOptimizer] + OilInWaterMonthlyComplianceMonitor: typing.Type[OilInWaterMonthlyComplianceMonitor] + ProducedWaterTreatmentTrain: typing.Type[ProducedWaterTreatmentTrain] diff --git a/src/jneqsim/process/equipment/well/__init__.pyi b/src/jneqsim/process/equipment/well/__init__.pyi new file mode 100644 index 00000000..c94eaa47 --- /dev/null +++ b/src/jneqsim/process/equipment/well/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment.well.allocation +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.well")``. + + allocation: jneqsim.process.equipment.well.allocation.__module_protocol__ diff --git a/src/jneqsim/process/equipment/well/allocation/__init__.pyi b/src/jneqsim/process/equipment/well/allocation/__init__.pyi new file mode 100644 index 00000000..c126383c --- /dev/null +++ b/src/jneqsim/process/equipment/well/allocation/__init__.pyi @@ -0,0 +1,89 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.equipment.stream +import typing + + + +class AllocationResult(java.io.Serializable): + def __init__(self, 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]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map4: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float): ... + def getAllGasRates(self) -> java.util.Map[java.lang.String, float]: ... + def getAllOilRates(self) -> java.util.Map[java.lang.String, float]: ... + def getAllWaterRates(self) -> java.util.Map[java.lang.String, float]: ... + def getAllocationError(self) -> float: ... + def getGOR(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + def getTotalGasRate(self) -> float: ... + def getTotalOilRate(self) -> float: ... + def getTotalWaterRate(self) -> float: ... + def getUncertainty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterCut(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWellAllocation(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getWellNames(self) -> typing.MutableSequence[java.lang.String]: ... + def isBalanced(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class WellProductionAllocator(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addWell(self, string: typing.Union[java.lang.String, str]) -> 'WellProductionAllocator.WellData': ... + def allocate(self, double: float, double2: float, double3: float) -> AllocationResult: ... + def getName(self) -> java.lang.String: ... + def getWell(self, string: typing.Union[java.lang.String, str]) -> 'WellProductionAllocator.WellData': ... + def getWellCount(self) -> int: ... + def getWellNames(self) -> java.util.List[java.lang.String]: ... + def setAllocationMethod(self, allocationMethod: 'WellProductionAllocator.AllocationMethod') -> None: ... + def setReconciliationTolerance(self, double: float) -> None: ... + class AllocationMethod(java.lang.Enum['WellProductionAllocator.AllocationMethod']): + WELL_TEST: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... + VFM_BASED: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... + CHOKE_MODEL: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... + COMBINED: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... + _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]) -> 'WellProductionAllocator.AllocationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['WellProductionAllocator.AllocationMethod']: ... + class WellData(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getChokePosition(self) -> float: ... + def getProductivityIndex(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def getTestGasRate(self) -> float: ... + def getTestOilRate(self) -> float: ... + def getTestWaterRate(self) -> float: ... + def getVfmGasRate(self) -> float: ... + def getVfmOilRate(self) -> float: ... + def getVfmWaterRate(self) -> float: ... + def getWeight(self) -> float: ... + def getWellName(self) -> java.lang.String: ... + def getWellStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def setChokePosition(self, double: float) -> None: ... + def setProductivityIndex(self, double: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setTestRates(self, double: float, double2: float, double3: float) -> None: ... + def setVFMRates(self, double: float, double2: float, double3: float) -> None: ... + def setWeight(self, double: float) -> None: ... + def setWellStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.well.allocation")``. + + AllocationResult: typing.Type[AllocationResult] + WellProductionAllocator: typing.Type[WellProductionAllocator] diff --git a/src/jneqsim/process/examples/__init__.pyi b/src/jneqsim/process/examples/__init__.pyi new file mode 100644 index 00000000..d8d8183f --- /dev/null +++ b/src/jneqsim/process/examples/__init__.pyi @@ -0,0 +1,162 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class OilGasProcessSimulationOptimization: + def __init__(self): ... + def configureCompressorCharts(self, double: float, double2: float) -> None: ... + def createProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getInputParameters(self) -> 'OilGasProcessSimulationOptimization.ProcessInputParameters': ... + def getOilProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getOutput(self) -> 'OilGasProcessSimulationOptimization.ProcessOutputResults': ... + def getWellFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def optimizeMaxProduction(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> 'OilGasProcessSimulationOptimization.MaxProductionResult': ... + def optimizePowerConsumption(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> 'OilGasProcessSimulationOptimization.ProcessInputParameters': ... + @typing.overload + def runSimulation(self) -> 'OilGasProcessSimulationOptimization.ProcessOutputResults': ... + @typing.overload + def runSimulation(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> 'OilGasProcessSimulationOptimization.ProcessOutputResults': ... + def setInputParameters(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... + def updateInput(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... + class MaxProductionResult: + def __init__(self): ... + def getBottleneckSeparator(self) -> java.lang.String: ... + def getBottleneckUtilization(self) -> float: ... + def getCompressorSpeedUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getLimitingFeedRate(self) -> float: ... + def getLimitingSeparator(self) -> java.lang.String: ... + def getLimitingUtilization(self) -> float: ... + def getMaxFeedRate(self) -> float: ... + def getMaxGasExportRate(self) -> float: ... + def getMaxOilExportRate(self) -> float: ... + def getOptimalParams(self) -> 'OilGasProcessSimulationOptimization.ProcessInputParameters': ... + def getSeparatorCapacities(self) -> java.util.Map[java.lang.String, float]: ... + def getSuccessfulIterations(self) -> int: ... + def getTotalFailures(self) -> int: ... + def setBottleneckSeparator(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckUtilization(self, double: float) -> None: ... + def setCompressorSpeedUtilization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setLimitingFeedRate(self, double: float) -> None: ... + def setLimitingSeparator(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLimitingUtilization(self, double: float) -> None: ... + def setMaxFeedRate(self, double: float) -> None: ... + def setMaxGasExportRate(self, double: float) -> None: ... + def setMaxOilExportRate(self, double: float) -> None: ... + def setOptimalParams(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... + def setSeparatorCapacities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setSuccessfulIterations(self, int: int) -> None: ... + def setTotalFailures(self, int: int) -> None: ... + def toString(self) -> java.lang.String: ... + class ProcessInputParameters: + def __init__(self): ... + def copyFrom(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... + def getFeedRate(self) -> float: ... + def getP_gas_export(self) -> float: ... + def getP_oil_export(self) -> float: ... + def getPcomp1(self) -> float: ... + def getPsep1(self) -> float: ... + def getPsep2(self) -> float: ... + def getPsep3(self) -> float: ... + def getT_gas_export(self) -> float: ... + def getT_oil_export(self) -> float: ... + def getTrefrig(self) -> float: ... + def getTscrub1(self) -> float: ... + def getTscrub2(self) -> float: ... + def getTscrub3(self) -> float: ... + def getTscrub4(self) -> float: ... + def getTsep1(self) -> float: ... + def getTsep2(self) -> float: ... + def getTsep3(self) -> float: ... + def getdP_20_HA_01(self) -> float: ... + def getdP_20_HA_02(self) -> float: ... + def getdP_20_HA_03(self) -> float: ... + def getdP_21_HA_01(self) -> float: ... + def getdP_23_HA_01(self) -> float: ... + def getdP_23_HA_02(self) -> float: ... + def getdP_23_HA_03(self) -> float: ... + def getdP_24_HA_01(self) -> float: ... + def getdP_25_HA_01(self) -> float: ... + def getdP_25_HA_02(self) -> float: ... + def getdP_27_HA_01(self) -> float: ... + def setFeedRate(self, double: float) -> None: ... + def setP_gas_export(self, double: float) -> None: ... + def setP_oil_export(self, double: float) -> None: ... + def setPcomp1(self, double: float) -> None: ... + def setPsep1(self, double: float) -> None: ... + def setPsep2(self, double: float) -> None: ... + def setPsep3(self, double: float) -> None: ... + def setT_gas_export(self, double: float) -> None: ... + def setT_oil_export(self, double: float) -> None: ... + def setTrefrig(self, double: float) -> None: ... + def setTscrub1(self, double: float) -> None: ... + def setTscrub2(self, double: float) -> None: ... + def setTscrub3(self, double: float) -> None: ... + def setTscrub4(self, double: float) -> None: ... + def setTsep1(self, double: float) -> None: ... + def setTsep2(self, double: float) -> None: ... + def setTsep3(self, double: float) -> None: ... + def setdP_20_HA_01(self, double: float) -> None: ... + def setdP_20_HA_02(self, double: float) -> None: ... + def setdP_20_HA_03(self, double: float) -> None: ... + def setdP_21_HA_01(self, double: float) -> None: ... + def setdP_23_HA_01(self, double: float) -> None: ... + def setdP_23_HA_02(self, double: float) -> None: ... + def setdP_23_HA_03(self, double: float) -> None: ... + def setdP_24_HA_01(self, double: float) -> None: ... + def setdP_25_HA_01(self, double: float) -> None: ... + def setdP_25_HA_02(self, double: float) -> None: ... + def setdP_27_HA_01(self, double: float) -> None: ... + class ProcessOutputResults: + def __init__(self): ... + def getCompressorMaxSpeeds(self) -> java.util.Map[java.lang.String, float]: ... + def getCompressorPowers(self) -> java.util.Map[java.lang.String, float]: ... + def getCompressorSpeedUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getCompressorSpeeds(self) -> java.util.Map[java.lang.String, float]: ... + def getFuelGasRate(self) -> float: ... + def getGasExportRate(self) -> float: ... + def getMassBalance(self) -> float: ... + def getOilExportRate(self) -> float: ... + def getSeparatorCapacityUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getSeparatorLoadFactors(self) -> java.util.Map[java.lang.String, float]: ... + def getStreamFlowRates(self) -> java.util.Map[java.lang.String, float]: ... + def getTotalCompressorPower(self) -> float: ... + def getTotalPowerConsumption(self) -> float: ... + def getTotalPumpPower(self) -> float: ... + def isAnyCompressorOverspeed(self) -> bool: ... + def isAnySeparatorOverloaded(self) -> bool: ... + def setAnyCompressorOverspeed(self, boolean: bool) -> None: ... + def setAnySeparatorOverloaded(self, boolean: bool) -> None: ... + def setCompressorMaxSpeeds(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setCompressorPowers(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setCompressorSpeedUtilization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setCompressorSpeeds(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setFuelGasRate(self, double: float) -> None: ... + def setGasExportRate(self, double: float) -> None: ... + def setMassBalance(self, double: float) -> None: ... + def setOilExportRate(self, double: float) -> None: ... + def setSeparatorCapacityUtilization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setSeparatorLoadFactors(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setStreamFlowRates(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setTotalCompressorPower(self, double: float) -> None: ... + def setTotalPumpPower(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.examples")``. + + OilGasProcessSimulationOptimization: typing.Type[OilGasProcessSimulationOptimization] diff --git a/src/jneqsim/process/fielddevelopment/__init__.pyi b/src/jneqsim/process/fielddevelopment/__init__.pyi new file mode 100644 index 00000000..89b1f263 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.fielddevelopment.economics +import jneqsim.process.fielddevelopment.evaluation +import jneqsim.process.fielddevelopment.facility +import jneqsim.process.fielddevelopment.integrated +import jneqsim.process.fielddevelopment.network +import jneqsim.process.fielddevelopment.reporting +import jneqsim.process.fielddevelopment.reservoir +import jneqsim.process.fielddevelopment.screening +import jneqsim.process.fielddevelopment.subsea +import jneqsim.process.fielddevelopment.tieback +import jneqsim.process.fielddevelopment.workflow +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment")``. + + concept: jneqsim.process.fielddevelopment.concept.__module_protocol__ + economics: jneqsim.process.fielddevelopment.economics.__module_protocol__ + evaluation: jneqsim.process.fielddevelopment.evaluation.__module_protocol__ + facility: jneqsim.process.fielddevelopment.facility.__module_protocol__ + integrated: jneqsim.process.fielddevelopment.integrated.__module_protocol__ + network: jneqsim.process.fielddevelopment.network.__module_protocol__ + reporting: jneqsim.process.fielddevelopment.reporting.__module_protocol__ + reservoir: jneqsim.process.fielddevelopment.reservoir.__module_protocol__ + screening: jneqsim.process.fielddevelopment.screening.__module_protocol__ + subsea: jneqsim.process.fielddevelopment.subsea.__module_protocol__ + tieback: jneqsim.process.fielddevelopment.tieback.__module_protocol__ + workflow: jneqsim.process.fielddevelopment.workflow.__module_protocol__ diff --git a/src/jneqsim/process/fielddevelopment/concept/__init__.pyi b/src/jneqsim/process/fielddevelopment/concept/__init__.pyi new file mode 100644 index 00000000..96dc4b22 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/concept/__init__.pyi @@ -0,0 +1,378 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.fielddevelopment.economics +import jneqsim.process.fielddevelopment.facility +import jneqsim.process.fielddevelopment.screening +import typing + + + +class DevelopmentCaseTemplate(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], fieldConcept: 'FieldConcept', facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, 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[int, float], typing.Mapping[int, float]], double: float, double2: float, double3: float, int: int, int2: int, cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult, string3: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], fieldConcept: 'FieldConcept', facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, 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[int, float], typing.Mapping[int, float]], double: float, double2: float, double3: float, int: int, int2: int, cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult, string3: typing.Union[java.lang.String, str], developmentCaseUncertainty: 'DevelopmentCaseUncertainty', lifecycleEmissionsProfile: jneqsim.process.fielddevelopment.screening.LifecycleEmissionsProfile): ... + def getAnnualEmissionsTonnes(self) -> float: ... + def getAnnualOpexMusd(self) -> float: ... + def getAssumptionsSummary(self) -> java.lang.String: ... + def getCapexBreakdownMusd(self) -> java.util.Map[java.lang.String, float]: ... + def getCaseName(self) -> java.lang.String: ... + def getCaseType(self) -> java.lang.String: ... + def getConcept(self) -> 'FieldConcept': ... + def getDevelopmentDurationMonths(self) -> int: ... + def getEconomics(self) -> jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult: ... + def getFacilityConfig(self) -> jneqsim.process.fielddevelopment.facility.FacilityConfig: ... + def getFirstProductionYear(self) -> int: ... + def getLifecycleEmissionsProfile(self) -> jneqsim.process.fielddevelopment.screening.LifecycleEmissionsProfile: ... + def getName(self) -> java.lang.String: ... + def getPowerMw(self) -> float: ... + def getProductionProfile(self) -> java.util.Map[int, float]: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCapexMusd(self) -> float: ... + def getUncertainty(self) -> 'DevelopmentCaseUncertainty': ... + def toString(self) -> java.lang.String: ... + +class DevelopmentCaseUncertainty(java.io.Serializable): + @staticmethod + def builder() -> 'DevelopmentCaseUncertainty.Builder': ... + @staticmethod + def empty() -> 'DevelopmentCaseUncertainty': ... + def getCapex(self) -> 'UncertaintyRange': ... + def getPrice(self) -> 'UncertaintyRange': ... + def getProductionFactor(self) -> 'UncertaintyRange': ... + def getResource(self) -> 'UncertaintyRange': ... + def getScheduleMonths(self) -> 'UncertaintyRange': ... + def getSummary(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'DevelopmentCaseUncertainty': ... + def capex(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... + def price(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... + def productionFactor(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... + def resource(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... + def scheduleMonths(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... + +class FieldConcept(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... + def equals(self, object: typing.Any) -> bool: ... + @typing.overload + @staticmethod + def gasTieback(string: typing.Union[java.lang.String, str]) -> 'FieldConcept': ... + @typing.overload + @staticmethod + def gasTieback(string: typing.Union[java.lang.String, str], double: float, int: int, double2: float) -> 'FieldConcept': ... + def getDescription(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getInfrastructure(self) -> 'InfrastructureInput': ... + def getName(self) -> java.lang.String: ... + def getProductionRateUnit(self) -> java.lang.String: ... + def getReservoir(self) -> 'ReservoirInput': ... + def getSummary(self) -> java.lang.String: ... + def getTiebackLength(self) -> float: ... + def getTotalProductionRate(self) -> float: ... + def getWaterDepth(self) -> float: ... + def getWells(self) -> 'WellsInput': ... + def hasWaterInjection(self) -> bool: ... + def hashCode(self) -> int: ... + def isSubseaTieback(self) -> bool: ... + def needsCO2Removal(self) -> bool: ... + def needsDehydration(self) -> bool: ... + def needsH2SRemoval(self) -> bool: ... + def needsH2STreatment(self) -> bool: ... + @typing.overload + @staticmethod + def oilDevelopment(string: typing.Union[java.lang.String, str]) -> 'FieldConcept': ... + @typing.overload + @staticmethod + def oilDevelopment(string: typing.Union[java.lang.String, str], int: int, double: float, double2: float) -> 'FieldConcept': ... + def toString(self) -> java.lang.String: ... + class Builder: + def build(self) -> 'FieldConcept': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... + def id(self, string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... + def infrastructure(self, infrastructureInput: 'InfrastructureInput') -> 'FieldConcept.Builder': ... + def reservoir(self, reservoirInput: 'ReservoirInput') -> 'FieldConcept.Builder': ... + def wells(self, wellsInput: 'WellsInput') -> 'FieldConcept.Builder': ... + +class GreenfieldConceptFactory: + @staticmethod + def fixedPlatform(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + @staticmethod + def onshoreTerminal(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + @staticmethod + def phasedBrownfieldExpansion(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + @staticmethod + def standaloneFpso(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + @staticmethod + def subseaTieback(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + @staticmethod + def subseaToShore(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + +class InfrastructureInput(java.io.Serializable): + @staticmethod + def builder() -> 'InfrastructureInput.Builder': ... + def getAmbientAirTemperature(self) -> float: ... + def getAmbientSeaTemperature(self) -> float: ... + def getEstimatedSeabedTemperature(self) -> float: ... + def getExportPipelineDiameter(self) -> float: ... + def getExportPipelineLength(self) -> float: ... + def getExportPressure(self) -> float: ... + def getExportType(self) -> 'InfrastructureInput.ExportType': ... + def getHostCapacityAvailable(self) -> float: ... + def getPowerSupply(self) -> 'InfrastructureInput.PowerSupply': ... + def getProcessingLocation(self) -> 'InfrastructureInput.ProcessingLocation': ... + def getTiebackLength(self) -> float: ... + def getTiebackLengthKm(self) -> float: ... + def getWaterDepth(self) -> float: ... + def getWaterDepthM(self) -> float: ... + def hasElectricHeating(self) -> bool: ... + def isDeepWater(self) -> bool: ... + def isElectrified(self) -> bool: ... + def isInsulatedFlowline(self) -> bool: ... + def isLongTieback(self) -> bool: ... + @staticmethod + def subseaTieback() -> 'InfrastructureInput.Builder': ... + def toString(self) -> java.lang.String: ... + class Builder: + def ambientTemperatures(self, double: float, double2: float) -> 'InfrastructureInput.Builder': ... + def build(self) -> 'InfrastructureInput': ... + def electricHeating(self, boolean: bool) -> 'InfrastructureInput.Builder': ... + def exportPipeline(self, double: float, double2: float) -> 'InfrastructureInput.Builder': ... + def exportPressure(self, double: float) -> 'InfrastructureInput.Builder': ... + def exportType(self, exportType: 'InfrastructureInput.ExportType') -> 'InfrastructureInput.Builder': ... + def hostCapacityAvailable(self, double: float) -> 'InfrastructureInput.Builder': ... + def insulatedFlowline(self, boolean: bool) -> 'InfrastructureInput.Builder': ... + def powerSupply(self, powerSupply: 'InfrastructureInput.PowerSupply') -> 'InfrastructureInput.Builder': ... + def processingLocation(self, processingLocation: 'InfrastructureInput.ProcessingLocation') -> 'InfrastructureInput.Builder': ... + def tiebackLength(self, double: float) -> 'InfrastructureInput.Builder': ... + def waterDepth(self, double: float) -> 'InfrastructureInput.Builder': ... + class ExportType(java.lang.Enum['InfrastructureInput.ExportType']): + WET_GAS: typing.ClassVar['InfrastructureInput.ExportType'] = ... + DRY_GAS: typing.ClassVar['InfrastructureInput.ExportType'] = ... + STABILIZED_OIL: typing.ClassVar['InfrastructureInput.ExportType'] = ... + RICH_GAS_CONDENSATE: typing.ClassVar['InfrastructureInput.ExportType'] = ... + LNG: typing.ClassVar['InfrastructureInput.ExportType'] = ... + _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]) -> 'InfrastructureInput.ExportType': ... + @staticmethod + def values() -> typing.MutableSequence['InfrastructureInput.ExportType']: ... + class PowerSupply(java.lang.Enum['InfrastructureInput.PowerSupply']): + GAS_TURBINE: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... + POWER_FROM_SHORE: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... + POWER_FROM_HOST: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... + HYBRID: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... + COMBINED_CYCLE: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... + DIESEL: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... + _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]) -> 'InfrastructureInput.PowerSupply': ... + @staticmethod + def values() -> typing.MutableSequence['InfrastructureInput.PowerSupply']: ... + class ProcessingLocation(java.lang.Enum['InfrastructureInput.ProcessingLocation']): + HOST_PLATFORM: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... + NEW_PLATFORM: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... + PLATFORM: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... + SUBSEA: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... + ONSHORE: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... + FPSO: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... + _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]) -> 'InfrastructureInput.ProcessingLocation': ... + @staticmethod + def values() -> typing.MutableSequence['InfrastructureInput.ProcessingLocation']: ... + +class ReservoirInput(java.io.Serializable): + @staticmethod + def blackOil() -> 'ReservoirInput.Builder': ... + @staticmethod + def builder() -> 'ReservoirInput.Builder': ... + @staticmethod + def gasCondensate() -> 'ReservoirInput.Builder': ... + def getApiGravity(self) -> float: ... + def getCo2Percent(self) -> float: ... + def getCustomComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getFluidType(self) -> 'ReservoirInput.FluidType': ... + def getGasGravity(self) -> float: ... + def getGor(self) -> float: ... + def getGorUnit(self) -> java.lang.String: ... + def getH2SPercent(self) -> float: ... + def getH2sPercent(self) -> float: ... + def getN2Percent(self) -> float: ... + def getRecoverableResourceEstimate(self) -> float: ... + def getRecoverableResourceP10(self) -> float: ... + def getRecoverableResourceP50(self) -> float: ... + def getRecoverableResourceP90(self) -> float: ... + def getRecoveryFactor(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def getResourceEstimate(self) -> float: ... + def getResourceP10(self) -> float: ... + def getResourceP50(self) -> float: ... + def getResourceP90(self) -> float: ... + def getResourceUnit(self) -> java.lang.String: ... + def getWaterCut(self) -> float: ... + def getWaterCutPercent(self) -> float: ... + def getWaterSalinity(self) -> float: ... + def hasLiquidProduction(self) -> bool: ... + def hasResourceUncertainty(self) -> bool: ... + def hasSignificantWater(self) -> bool: ... + def isHighCO2(self) -> bool: ... + def isSour(self) -> bool: ... + @staticmethod + def leanGas() -> 'ReservoirInput.Builder': ... + @staticmethod + def richGas() -> 'ReservoirInput.Builder': ... + def toString(self) -> java.lang.String: ... + class Builder: + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'ReservoirInput.Builder': ... + def apiGravity(self, double: float) -> 'ReservoirInput.Builder': ... + def build(self) -> 'ReservoirInput': ... + def co2Percent(self, double: float) -> 'ReservoirInput.Builder': ... + def fluidType(self, fluidType: 'ReservoirInput.FluidType') -> 'ReservoirInput.Builder': ... + def gasGravity(self, double: float) -> 'ReservoirInput.Builder': ... + @typing.overload + def gor(self, double: float) -> 'ReservoirInput.Builder': ... + @typing.overload + def gor(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.Builder': ... + def h2sPercent(self, double: float) -> 'ReservoirInput.Builder': ... + def n2Percent(self, double: float) -> 'ReservoirInput.Builder': ... + def recoveryFactor(self, double: float) -> 'ReservoirInput.Builder': ... + def reservoirPressure(self, double: float) -> 'ReservoirInput.Builder': ... + def reservoirTemperature(self, double: float) -> 'ReservoirInput.Builder': ... + def resourceEstimate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.Builder': ... + @typing.overload + def resourceUncertainty(self, double: float, double2: float, double3: float) -> 'ReservoirInput.Builder': ... + @typing.overload + def resourceUncertainty(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.Builder': ... + def waterCut(self, double: float) -> 'ReservoirInput.Builder': ... + def waterSalinity(self, double: float) -> 'ReservoirInput.Builder': ... + class FluidType(java.lang.Enum['ReservoirInput.FluidType']): + LEAN_GAS: typing.ClassVar['ReservoirInput.FluidType'] = ... + RICH_GAS: typing.ClassVar['ReservoirInput.FluidType'] = ... + GAS_CONDENSATE: typing.ClassVar['ReservoirInput.FluidType'] = ... + VOLATILE_OIL: typing.ClassVar['ReservoirInput.FluidType'] = ... + BLACK_OIL: typing.ClassVar['ReservoirInput.FluidType'] = ... + HEAVY_OIL: typing.ClassVar['ReservoirInput.FluidType'] = ... + CUSTOM: typing.ClassVar['ReservoirInput.FluidType'] = ... + _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]) -> 'ReservoirInput.FluidType': ... + @staticmethod + def values() -> typing.MutableSequence['ReservoirInput.FluidType']: ... + +class UncertaintyRange(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + @staticmethod + def deterministic(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'UncertaintyRange': ... + def getName(self) -> java.lang.String: ... + def getP10(self) -> float: ... + def getP50(self) -> float: ... + def getP90(self) -> float: ... + def getSpan(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def isDeterministic(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class WellsInput(java.io.Serializable): + @staticmethod + def builder() -> 'WellsInput.Builder': ... + def getCompletionType(self) -> 'WellsInput.CompletionType': ... + def getGasLiftRate(self) -> float: ... + def getGasLiftUnit(self) -> java.lang.String: ... + def getInjectorCount(self) -> int: ... + def getProducerCount(self) -> int: ... + def getProducerType(self) -> 'WellsInput.WellType': ... + def getProductivityIndex(self) -> float: ... + def getRatePerWell(self) -> float: ... + def getRatePerWellSm3d(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getShutInPressure(self) -> float: ... + def getThp(self) -> float: ... + def getTotalRate(self) -> float: ... + def getTotalWellCount(self) -> int: ... + def getTubeheadPressure(self) -> float: ... + def getWaterInjectionRate(self) -> float: ... + def getWaterInjectionUnit(self) -> java.lang.String: ... + def isSubsea(self) -> bool: ... + def needsArtificialLift(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def build(self) -> 'WellsInput': ... + def completionType(self, completionType: 'WellsInput.CompletionType') -> 'WellsInput.Builder': ... + def gasLift(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellsInput.Builder': ... + def injectorCount(self, int: int) -> 'WellsInput.Builder': ... + def producerCount(self, int: int) -> 'WellsInput.Builder': ... + def producerType(self, wellType: 'WellsInput.WellType') -> 'WellsInput.Builder': ... + def productivityIndex(self, double: float) -> 'WellsInput.Builder': ... + def ratePerWell(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellsInput.Builder': ... + def shutInPressure(self, double: float) -> 'WellsInput.Builder': ... + def thp(self, double: float) -> 'WellsInput.Builder': ... + def tubeheadPressure(self, double: float) -> 'WellsInput.Builder': ... + def waterInjection(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellsInput.Builder': ... + class CompletionType(java.lang.Enum['WellsInput.CompletionType']): + SUBSEA: typing.ClassVar['WellsInput.CompletionType'] = ... + PLATFORM: typing.ClassVar['WellsInput.CompletionType'] = ... + ONSHORE: typing.ClassVar['WellsInput.CompletionType'] = ... + _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]) -> 'WellsInput.CompletionType': ... + @staticmethod + def values() -> typing.MutableSequence['WellsInput.CompletionType']: ... + class WellType(java.lang.Enum['WellsInput.WellType']): + NATURAL_FLOW: typing.ClassVar['WellsInput.WellType'] = ... + GAS_LIFT: typing.ClassVar['WellsInput.WellType'] = ... + ESP: typing.ClassVar['WellsInput.WellType'] = ... + WATER_INJECTOR: typing.ClassVar['WellsInput.WellType'] = ... + GAS_INJECTOR: typing.ClassVar['WellsInput.WellType'] = ... + _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]) -> 'WellsInput.WellType': ... + @staticmethod + def values() -> typing.MutableSequence['WellsInput.WellType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.concept")``. + + DevelopmentCaseTemplate: typing.Type[DevelopmentCaseTemplate] + DevelopmentCaseUncertainty: typing.Type[DevelopmentCaseUncertainty] + FieldConcept: typing.Type[FieldConcept] + GreenfieldConceptFactory: typing.Type[GreenfieldConceptFactory] + InfrastructureInput: typing.Type[InfrastructureInput] + ReservoirInput: typing.Type[ReservoirInput] + UncertaintyRange: typing.Type[UncertaintyRange] + WellsInput: typing.Type[WellsInput] diff --git a/src/jneqsim/process/fielddevelopment/economics/__init__.pyi b/src/jneqsim/process/fielddevelopment/economics/__init__.pyi new file mode 100644 index 00000000..91327c21 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/economics/__init__.pyi @@ -0,0 +1,558 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.reservoir +import jneqsim.process.fielddevelopment.concept +import typing + + + +class CashFlowEngine(java.io.Serializable): + DEFAULT_DISCOUNT_RATE: typing.ClassVar[float] = ... + DEFAULT_OPEX_PERCENT: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, norwegianTaxModel: 'NorwegianTaxModel'): ... + @typing.overload + def __init__(self, taxModel: 'TaxModel'): ... + def addAnnualProduction(self, int: int, double: float, double2: float, double3: float) -> None: ... + def addCapex(self, double: float, int: int) -> None: ... + def calculate(self, double: float) -> 'CashFlowEngine.CashFlowResult': ... + def calculateBreakevenGasPrice(self, double: float) -> float: ... + def calculateBreakevenOilPrice(self, double: float) -> float: ... + def calculateNPV(self, double: float) -> float: ... + def copy(self) -> 'CashFlowEngine': ... + def getCapexSchedule(self) -> java.util.Map[int, float]: ... + def getCountryCode(self) -> java.lang.String: ... + def getCountryName(self) -> java.lang.String: ... + def getFirstYear(self) -> int: ... + def getFixedOpexPerYear(self) -> float: ... + def getGasPrice(self) -> float: ... + def getGasProductionProfile(self) -> java.util.Map[int, float]: ... + def getGasTariff(self) -> float: ... + def getLastYear(self) -> int: ... + def getNglPrice(self) -> float: ... + def getNglProductionProfile(self) -> java.util.Map[int, float]: ... + def getOilPrice(self) -> float: ... + def getOilProductionProfile(self) -> java.util.Map[int, float]: ... + def getOilTariff(self) -> float: ... + def getOpexPercentOfCapex(self) -> float: ... + def getTaxModel(self) -> 'TaxModel': ... + def getTotalCapex(self) -> float: ... + def getVariableOpexPerBoe(self) -> float: ... + def setCapex(self, double: float, int: int) -> None: ... + def setCapexSchedule(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> None: ... + def setFixedOpexPerYear(self, double: float) -> None: ... + def setGasPrice(self, double: float) -> None: ... + def setGasTariff(self, double: float) -> None: ... + def setNglPrice(self, double: float) -> None: ... + def setOilPrice(self, double: float) -> None: ... + def setOilTariff(self, double: float) -> None: ... + def setOpexPercentOfCapex(self, double: float) -> None: ... + def setProductionProfile(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], map2: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], map3: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> None: ... + @typing.overload + def setTaxModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTaxModel(self, taxModel: 'TaxModel') -> None: ... + def setVariableOpexPerBoe(self, double: float) -> None: ... + class AnnualCashFlow(java.io.Serializable): + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float): ... + def getAfterTaxCashFlow(self) -> float: ... + def getCapex(self) -> float: ... + def getCorporateTax(self) -> float: ... + def getCumulativeCashFlow(self) -> float: ... + def getDepreciation(self) -> float: ... + def getDiscountedCashFlow(self) -> float: ... + def getGrossRevenue(self) -> float: ... + def getNetRevenue(self) -> float: ... + def getOpex(self) -> float: ... + def getPetroleumTax(self) -> float: ... + def getPreTaxCashFlow(self) -> float: ... + def getTariff(self) -> float: ... + def getTotalTax(self) -> float: ... + def getUplift(self) -> float: ... + def getYear(self) -> int: ... + class CashFlowResult(java.io.Serializable): + def __init__(self, list: java.util.List['CashFlowEngine.AnnualCashFlow'], double: float, double2: float, double3: float, double4: float, double5: float, int: int, int2: int): ... + def getAnnualCashFlows(self) -> java.util.List['CashFlowEngine.AnnualCashFlow']: ... + def getDiscountRate(self) -> float: ... + def getIrr(self) -> float: ... + def getNpv(self) -> float: ... + def getPaybackYears(self) -> float: ... + def getProjectDuration(self) -> int: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCapex(self) -> float: ... + def getTotalRevenue(self) -> float: ... + def getTotalTax(self) -> float: ... + def toMarkdownTable(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class FiscalParameters(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... + def getCorporateTaxRate(self) -> float: ... + def getCostRecoveryLimit(self) -> float: ... + def getCountryCode(self) -> java.lang.String: ... + def getCountryName(self) -> java.lang.String: ... + def getDecliningBalanceRate(self) -> float: ... + def getDepreciationMethod(self) -> 'FiscalParameters.DepreciationMethod': ... + def getDepreciationYears(self) -> int: ... + def getDescription(self) -> java.lang.String: ... + def getFiscalSystemType(self) -> 'FiscalParameters.FiscalSystemType': ... + def getInvestmentTaxCredit(self) -> float: ... + def getLossCarryBackYears(self) -> int: ... + def getLossCarryForwardInterest(self) -> float: ... + def getLossCarryForwardYears(self) -> int: ... + def getProfitShareContractor(self) -> float: ... + def getProfitShareGovernment(self) -> float: ... + def getRdEnhancementFactor(self) -> float: ... + def getResourceTaxRate(self) -> float: ... + def getRingFenceLevel(self) -> 'FiscalParameters.RingFenceLevel': ... + def getRoyaltyRate(self) -> float: ... + def getStateParticipation(self) -> float: ... + def getTotalMarginalTaxRate(self) -> float: ... + def getTotalUpliftPercentage(self) -> float: ... + def getUpliftRate(self) -> float: ... + def getUpliftYears(self) -> int: ... + def getValidFromYear(self) -> int: ... + def getWindfallTaxRate(self) -> float: ... + def getWindfallTaxThreshold(self) -> float: ... + def hasInvestmentIncentives(self) -> bool: ... + def isDecommissioningDeductible(self) -> bool: ... + def isDecommissioningFundDeductible(self) -> bool: ... + def isEnhancedRdDeduction(self) -> bool: ... + def isLossCarryBack(self) -> bool: ... + def isLossCarryForward(self) -> bool: ... + def isPscSystem(self) -> bool: ... + def isRingFenced(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def build(self) -> 'FiscalParameters': ... + def corporateTaxRate(self, double: float) -> 'FiscalParameters.Builder': ... + def costRecoveryLimit(self, double: float) -> 'FiscalParameters.Builder': ... + def countryName(self, string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... + def decliningBalanceRate(self, double: float) -> 'FiscalParameters.Builder': ... + def decommissioning(self, boolean: bool, boolean2: bool) -> 'FiscalParameters.Builder': ... + def depreciation(self, depreciationMethod: 'FiscalParameters.DepreciationMethod', int: int) -> 'FiscalParameters.Builder': ... + def depreciationYears(self, int: int) -> 'FiscalParameters.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... + def enhancedRdDeduction(self, double: float) -> 'FiscalParameters.Builder': ... + def fiscalSystemType(self, fiscalSystemType: 'FiscalParameters.FiscalSystemType') -> 'FiscalParameters.Builder': ... + def investmentTaxCredit(self, double: float) -> 'FiscalParameters.Builder': ... + def lossCarryBack(self, int: int) -> 'FiscalParameters.Builder': ... + def lossCarryForward(self, int: int, double: float) -> 'FiscalParameters.Builder': ... + def profitSharing(self, double: float, double2: float) -> 'FiscalParameters.Builder': ... + def resourceTaxRate(self, double: float) -> 'FiscalParameters.Builder': ... + def ringFenced(self, ringFenceLevel: 'FiscalParameters.RingFenceLevel') -> 'FiscalParameters.Builder': ... + def royaltyRate(self, double: float) -> 'FiscalParameters.Builder': ... + def stateParticipation(self, double: float) -> 'FiscalParameters.Builder': ... + def uplift(self, double: float, int: int) -> 'FiscalParameters.Builder': ... + def validFromYear(self, int: int) -> 'FiscalParameters.Builder': ... + def windfallTax(self, double: float, double2: float) -> 'FiscalParameters.Builder': ... + class DepreciationMethod(java.lang.Enum['FiscalParameters.DepreciationMethod']): + STRAIGHT_LINE: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... + DECLINING_BALANCE: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... + UNIT_OF_PRODUCTION: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... + IMMEDIATE: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... + _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]) -> 'FiscalParameters.DepreciationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['FiscalParameters.DepreciationMethod']: ... + class FiscalSystemType(java.lang.Enum['FiscalParameters.FiscalSystemType']): + CONCESSIONARY: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... + PSC: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... + SERVICE_CONTRACT: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... + RISK_SERVICE_CONTRACT: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... + _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]) -> 'FiscalParameters.FiscalSystemType': ... + @staticmethod + def values() -> typing.MutableSequence['FiscalParameters.FiscalSystemType']: ... + class RingFenceLevel(java.lang.Enum['FiscalParameters.RingFenceLevel']): + FIELD: typing.ClassVar['FiscalParameters.RingFenceLevel'] = ... + LICENSE: typing.ClassVar['FiscalParameters.RingFenceLevel'] = ... + COMPANY: typing.ClassVar['FiscalParameters.RingFenceLevel'] = ... + _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]) -> 'FiscalParameters.RingFenceLevel': ... + @staticmethod + def values() -> typing.MutableSequence['FiscalParameters.RingFenceLevel']: ... + +class PortfolioOptimizer(java.io.Serializable): + def __init__(self): ... + @typing.overload + def addProject(self, string: typing.Union[java.lang.String, str], double: float, double2: float, projectType: 'PortfolioOptimizer.ProjectType', double3: float) -> 'PortfolioOptimizer.Project': ... + @typing.overload + def addProject(self, string: typing.Union[java.lang.String, str], double: float, projectType: 'PortfolioOptimizer.ProjectType', double2: float, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> 'PortfolioOptimizer.Project': ... + @typing.overload + def addProject(self, project: 'PortfolioOptimizer.Project') -> None: ... + def clearProjects(self) -> None: ... + def compareStrategies(self) -> java.util.Map['PortfolioOptimizer.OptimizationStrategy', 'PortfolioOptimizer.PortfolioResult']: ... + def generateComparisonReport(self) -> java.lang.String: ... + def getProjects(self) -> java.util.List['PortfolioOptimizer.Project']: ... + def optimize(self, optimizationStrategy: 'PortfolioOptimizer.OptimizationStrategy') -> 'PortfolioOptimizer.PortfolioResult': ... + def setAnnualBudget(self, int: int, double: float) -> None: ... + def setMaxAllocation(self, projectType: 'PortfolioOptimizer.ProjectType', double: float) -> None: ... + def setMinAllocation(self, projectType: 'PortfolioOptimizer.ProjectType', double: float) -> None: ... + def setTotalBudget(self, double: float) -> None: ... + class OptimizationStrategy(java.lang.Enum['PortfolioOptimizer.OptimizationStrategy']): + GREEDY_NPV_RATIO: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... + GREEDY_ABSOLUTE_NPV: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... + RISK_WEIGHTED: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... + BALANCED: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... + EMV_MAXIMIZATION: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... + _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]) -> 'PortfolioOptimizer.OptimizationStrategy': ... + @staticmethod + def values() -> typing.MutableSequence['PortfolioOptimizer.OptimizationStrategy']: ... + class PortfolioResult(java.io.Serializable): + def __init__(self): ... + def generateReport(self) -> java.lang.String: ... + def getAnnualBudgetRemaining(self) -> java.util.Map[int, float]: ... + def getAnnualCapexUsed(self) -> java.util.Map[int, float]: ... + def getCapitalEfficiency(self) -> float: ... + def getDeferredProjects(self) -> java.util.List['PortfolioOptimizer.Project']: ... + def getProjectCount(self) -> int: ... + def getSelectedProjects(self) -> java.util.List['PortfolioOptimizer.Project']: ... + def getStrategy(self) -> 'PortfolioOptimizer.OptimizationStrategy': ... + def getTotalCapex(self) -> float: ... + def getTotalEmv(self) -> float: ... + def getTotalNpv(self) -> float: ... + def setStrategy(self, optimizationStrategy: 'PortfolioOptimizer.OptimizationStrategy') -> None: ... + def setTotalCapex(self, double: float) -> None: ... + def setTotalEmv(self, double: float) -> None: ... + def setTotalNpv(self, double: float) -> None: ... + class Project(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, projectType: 'PortfolioOptimizer.ProjectType', double3: float): ... + def addDependency(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getCapexForYear(self, int: int) -> float: ... + def getCapexMusd(self) -> float: ... + def getCapexProfile(self) -> java.util.Map[int, float]: ... + def getDependencies(self) -> java.util.List[java.lang.String]: ... + def getEmv(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNpvCapexRatio(self) -> float: ... + def getNpvMusd(self) -> float: ... + def getProbabilityOfSuccess(self) -> float: ... + def getRiskWeightedRatio(self) -> float: ... + def getStartYear(self) -> int: ... + def getType(self) -> 'PortfolioOptimizer.ProjectType': ... + def isMandatory(self) -> bool: ... + def setCapexProfile(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> None: ... + def setMandatory(self, boolean: bool) -> None: ... + def setStartYear(self, int: int) -> None: ... + class ProjectType(java.lang.Enum['PortfolioOptimizer.ProjectType']): + DEVELOPMENT: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... + IOR: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... + EXPLORATION: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... + TIEBACK: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... + INFRASTRUCTURE: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... + _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]) -> 'PortfolioOptimizer.ProjectType': ... + @staticmethod + def values() -> typing.MutableSequence['PortfolioOptimizer.ProjectType']: ... + +class ProductionProfileGenerator(java.io.Serializable): + def __init__(self): ... + @staticmethod + def calculateCumulativeProduction(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> float: ... + @staticmethod + def calculateEUR(double: float, double2: float, declineType: 'ProductionProfileGenerator.DeclineType', double3: float) -> float: ... + @staticmethod + def capProfileToCumulativeLimit(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], double: float) -> java.util.Map[int, float]: ... + @staticmethod + def combineProfiles(*map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> java.util.Map[int, float]: ... + def fitHistoryMatchedDecline(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> 'ProductionProfileGenerator.HistoryMatchedDeclineCase': ... + @typing.overload + def generateExponentialDecline(self, double: float, double2: float, int: int, int2: int) -> java.util.Map[int, float]: ... + @typing.overload + def generateExponentialDecline(self, double: float, double2: float, int: int, int2: int, double3: float) -> java.util.Map[int, float]: ... + def generateFromReservoirInput(self, reservoirInput: jneqsim.process.fielddevelopment.concept.ReservoirInput, double: float, boolean: bool, int: int, int2: int) -> java.util.Map[int, float]: ... + def generateFromSimpleReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, boolean: bool, double: float, double2: float, int: int, int2: int) -> java.util.Map[int, float]: ... + @typing.overload + def generateFullProfile(self, double: float, int: int, int2: int, double2: float, double3: float, declineType: 'ProductionProfileGenerator.DeclineType', int3: int, int4: int, double4: float) -> java.util.Map[int, float]: ... + @typing.overload + def generateFullProfile(self, double: float, int: int, int2: int, double2: float, declineType: 'ProductionProfileGenerator.DeclineType', int3: int, int4: int) -> java.util.Map[int, float]: ... + @typing.overload + def generateHarmonicDecline(self, double: float, double2: float, int: int, int2: int) -> java.util.Map[int, float]: ... + @typing.overload + def generateHarmonicDecline(self, double: float, double2: float, int: int, int2: int, double3: float) -> java.util.Map[int, float]: ... + def generateHistoryMatchedProfile(self, historyMatchedDeclineCase: 'ProductionProfileGenerator.HistoryMatchedDeclineCase', int: int, int2: int, double: float) -> java.util.Map[int, float]: ... + @typing.overload + def generateHyperbolicDecline(self, double: float, double2: float, double3: float, int: int, int2: int) -> java.util.Map[int, float]: ... + @typing.overload + def generateHyperbolicDecline(self, double: float, double2: float, double3: float, int: int, int2: int, double4: float) -> java.util.Map[int, float]: ... + @typing.overload + def generateWithPlateau(self, double: float, int: int, double2: float, double3: float, declineType: 'ProductionProfileGenerator.DeclineType', int2: int, int3: int, double4: float) -> java.util.Map[int, float]: ... + @typing.overload + def generateWithPlateau(self, double: float, int: int, double2: float, declineType: 'ProductionProfileGenerator.DeclineType', int2: int, int3: int) -> java.util.Map[int, float]: ... + @staticmethod + def getProfileSummary(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> java.lang.String: ... + @staticmethod + def scaleProfile(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], double: float) -> java.util.Map[int, float]: ... + @staticmethod + def shiftProfile(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], int: int) -> java.util.Map[int, float]: ... + @staticmethod + def toVfpRateTableCsv(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... + class DeclineType(java.lang.Enum['ProductionProfileGenerator.DeclineType']): + EXPONENTIAL: typing.ClassVar['ProductionProfileGenerator.DeclineType'] = ... + HYPERBOLIC: typing.ClassVar['ProductionProfileGenerator.DeclineType'] = ... + HARMONIC: typing.ClassVar['ProductionProfileGenerator.DeclineType'] = ... + _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]) -> 'ProductionProfileGenerator.DeclineType': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionProfileGenerator.DeclineType']: ... + class HistoryMatchedDeclineCase(java.io.Serializable): + def __init__(self, int: int, int2: int, double: float, double2: float, double3: float): ... + def getAnnualDeclineRate(self) -> float: ... + def getFirstHistoryYear(self) -> int: ... + def getFitQuality(self) -> float: ... + def getInitialRatePerDay(self) -> float: ... + def getLastHistoryYear(self) -> int: ... + +class SensitivityAnalyzer(java.io.Serializable): + def __init__(self, cashFlowEngine: CashFlowEngine, double: float): ... + def breakevenAnalysis(self) -> 'SensitivityAnalyzer.BreakevenResult': ... + def monteCarloAnalysis(self, int: int) -> 'SensitivityAnalyzer.MonteCarloResult': ... + def scenarioAnalysis(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'SensitivityAnalyzer.ScenarioResult': ... + def setCapexDistribution(self, double: float, double2: float) -> None: ... + def setGasPriceDistribution(self, double: float, double2: float) -> None: ... + def setOilPriceDistribution(self, double: float, double2: float) -> None: ... + def setOpexFactorDistribution(self, double: float, double2: float) -> None: ... + def setProductionFactorDistribution(self, double: float, double2: float) -> None: ... + def setRandomSeed(self, long: int) -> None: ... + def tornadoAnalysis(self, double: float) -> 'SensitivityAnalyzer.TornadoResult': ... + class BreakevenResult(java.io.Serializable): + def getBreakevenGasPrice(self) -> float: ... + def getBreakevenOilPrice(self) -> float: ... + def getDiscountRate(self) -> float: ... + def toString(self) -> java.lang.String: ... + class MonteCarloResult(java.io.Serializable): + def getCoefficientOfVariation(self) -> float: ... + def getIrrMean(self) -> float: ... + def getIrrP10(self) -> float: ... + def getIrrP50(self) -> float: ... + def getIrrP90(self) -> float: ... + def getIterations(self) -> int: ... + def getNpvDistribution(self) -> typing.MutableSequence[float]: ... + def getNpvMean(self) -> float: ... + def getNpvP10(self) -> float: ... + def getNpvP50(self) -> float: ... + def getNpvP90(self) -> float: ... + def getNpvStdDev(self) -> float: ... + def getProbabilityPositiveNpv(self) -> float: ... + def toString(self) -> java.lang.String: ... + class ScenarioResult(java.io.Serializable): + def getBaseIrr(self) -> float: ... + def getBaseNpv(self) -> float: ... + def getHighIrr(self) -> float: ... + def getHighNpv(self) -> float: ... + def getLowIrr(self) -> float: ... + def getLowNpv(self) -> float: ... + def getNpvRange(self) -> float: ... + def toString(self) -> java.lang.String: ... + class TornadoItem(java.io.Serializable): + def getBaseCaseNpv(self) -> float: ... + def getHighNpv(self) -> float: ... + def getImpactLevel(self) -> java.lang.String: ... + def getLowNpv(self) -> float: ... + def getParameterName(self) -> java.lang.String: ... + def getSwing(self) -> float: ... + class TornadoResult(java.io.Serializable): + def getBaseCaseNpv(self) -> float: ... + def getItems(self) -> java.util.List['SensitivityAnalyzer.TornadoItem']: ... + def getMostSensitiveParameter(self) -> 'SensitivityAnalyzer.TornadoItem': ... + def getVariationPercent(self) -> float: ... + def toMarkdownTable(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class TaxModel(java.io.Serializable): + def calculateDepreciation(self, double: float, int: int) -> float: ... + def calculateEffectiveTaxRate(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateRoyalty(self, double: float) -> float: ... + def calculateTax(self, double: float, double2: float, double3: float, double4: float) -> 'TaxModel.TaxResult': ... + def calculateUplift(self, double: float, int: int) -> float: ... + def getCountryCode(self) -> java.lang.String: ... + def getCountryName(self) -> java.lang.String: ... + def getLossCarryForward(self) -> float: ... + def getParameters(self) -> FiscalParameters: ... + def getTotalMarginalTaxRate(self) -> float: ... + def reset(self) -> None: ... + class TaxResult(java.io.Serializable): + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float): ... + def getAfterTaxIncome(self) -> float: ... + def getCorporateTax(self) -> float: ... + def getCorporateTaxBase(self) -> float: ... + def getDepreciation(self) -> float: ... + def getEffectiveTaxRate(self) -> float: ... + def getGovernmentTake(self) -> float: ... + def getGovernmentTakePercentage(self) -> float: ... + def getGrossRevenue(self) -> float: ... + def getOpex(self) -> float: ... + def getPetroleumTax(self) -> float: ... + def getPetroleumTaxBase(self) -> float: ... + def getResourceTax(self) -> float: ... + def getResourceTaxBase(self) -> float: ... + def getRoyalty(self) -> float: ... + def getTotalTax(self) -> float: ... + def getUplift(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class TaxModelRegistry: + @staticmethod + def createModel(string: typing.Union[java.lang.String, str]) -> TaxModel: ... + @staticmethod + def getAllParameters() -> java.util.Map[java.lang.String, FiscalParameters]: ... + @staticmethod + def getAvailableCountries() -> java.util.List[java.lang.String]: ... + @staticmethod + def getParameters(string: typing.Union[java.lang.String, str]) -> FiscalParameters: ... + @staticmethod + def getParametersOrDefault(string: typing.Union[java.lang.String, str], fiscalParameters: FiscalParameters) -> FiscalParameters: ... + @staticmethod + def getRegisteredCount() -> int: ... + @staticmethod + def getSummaryTable() -> java.lang.String: ... + @staticmethod + def isRegistered(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def loadFromJson(inputStream: java.io.InputStream) -> int: ... + @staticmethod + def register(fiscalParameters: FiscalParameters) -> None: ... + @staticmethod + def reload() -> bool: ... + +class GenericTaxModel(TaxModel): + def __init__(self, fiscalParameters: FiscalParameters): ... + def calculateDepreciation(self, double: float, int: int) -> float: ... + def calculateEffectiveTaxRate(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateProfitSharing(self, double: float, double2: float) -> typing.MutableSequence[float]: ... + def calculateRoyalty(self, double: float) -> float: ... + def calculateStateParticipation(self, double: float) -> float: ... + def calculateTax(self, double: float, double2: float, double3: float, double4: float) -> TaxModel.TaxResult: ... + def calculateUplift(self, double: float, int: int) -> float: ... + @staticmethod + def forCountry(string: typing.Union[java.lang.String, str]) -> 'GenericTaxModel': ... + def getCorporateTaxLossCarryForward(self) -> float: ... + def getCountryCode(self) -> java.lang.String: ... + def getCountryName(self) -> java.lang.String: ... + def getLossCarryForward(self) -> float: ... + def getParameters(self) -> FiscalParameters: ... + def getResourceTaxLossCarryForward(self) -> float: ... + def getTotalMarginalTaxRate(self) -> float: ... + def reset(self) -> None: ... + def setCorporateTaxLossCarryForward(self, double: float) -> None: ... + def setResourceTaxLossCarryForward(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class NorwegianTaxModel(TaxModel): + DEFAULT_CORPORATE_TAX_RATE: typing.ClassVar[float] = ... + DEFAULT_PETROLEUM_TAX_RATE: typing.ClassVar[float] = ... + TOTAL_MARGINAL_RATE: typing.ClassVar[float] = ... + DEFAULT_UPLIFT_RATE: typing.ClassVar[float] = ... + DEFAULT_UPLIFT_YEARS: typing.ClassVar[int] = ... + TOTAL_UPLIFT_PERCENTAGE: typing.ClassVar[float] = ... + DEFAULT_DEPRECIATION_YEARS: typing.ClassVar[int] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def calculateDepreciation(self, double: float, int: int) -> float: ... + def calculateEffectiveTaxRate(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateGovernmentTake(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateRoyalty(self, double: float) -> float: ... + def calculateTax(self, double: float, double2: float, double3: float, double4: float) -> TaxModel.TaxResult: ... + def calculateUplift(self, double: float, int: int) -> float: ... + @staticmethod + def createTaxModel() -> TaxModel: ... + def getCorporateTaxLossCarryForward(self) -> float: ... + def getCorporateTaxRate(self) -> float: ... + def getCountryCode(self) -> java.lang.String: ... + def getCountryName(self) -> java.lang.String: ... + def getDepreciationYears(self) -> int: ... + @staticmethod + def getFiscalParameters() -> FiscalParameters: ... + def getLossCarryForward(self) -> float: ... + def getParameters(self) -> FiscalParameters: ... + def getPetroleumTaxLossCarryForward(self) -> float: ... + def getPetroleumTaxRate(self) -> float: ... + def getTotalMarginalRate(self) -> float: ... + def getTotalMarginalTaxRate(self) -> float: ... + def getUpliftRate(self) -> float: ... + def getUpliftYears(self) -> int: ... + def reset(self) -> None: ... + def resetLossCarryForward(self) -> None: ... + def setCorporateTaxRate(self, double: float) -> None: ... + def setDepreciationYears(self, int: int) -> None: ... + def setPetroleumTaxRate(self, double: float) -> None: ... + def setUpliftRate(self, double: float) -> None: ... + def setUpliftYears(self, int: int) -> None: ... + class TaxResult(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def getAfterTaxIncome(self) -> float: ... + def getCorporateTax(self) -> float: ... + def getCorporateTaxBase(self) -> float: ... + def getDepreciation(self) -> float: ... + def getEffectiveTaxRate(self) -> float: ... + def getGrossRevenue(self) -> float: ... + def getOpex(self) -> float: ... + def getPetroleumTax(self) -> float: ... + def getPetroleumTaxBase(self) -> float: ... + def getTotalTax(self) -> float: ... + def getUplift(self) -> float: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.economics")``. + + CashFlowEngine: typing.Type[CashFlowEngine] + FiscalParameters: typing.Type[FiscalParameters] + GenericTaxModel: typing.Type[GenericTaxModel] + NorwegianTaxModel: typing.Type[NorwegianTaxModel] + PortfolioOptimizer: typing.Type[PortfolioOptimizer] + ProductionProfileGenerator: typing.Type[ProductionProfileGenerator] + SensitivityAnalyzer: typing.Type[SensitivityAnalyzer] + TaxModel: typing.Type[TaxModel] + TaxModelRegistry: typing.Type[TaxModelRegistry] diff --git a/src/jneqsim/process/fielddevelopment/evaluation/__init__.pyi b/src/jneqsim/process/fielddevelopment/evaluation/__init__.pyi new file mode 100644 index 00000000..8a714210 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/evaluation/__init__.pyi @@ -0,0 +1,611 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.watertreatment +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.fielddevelopment.economics +import jneqsim.process.fielddevelopment.facility +import jneqsim.process.fielddevelopment.screening +import jneqsim.process.processmodel +import typing + + + +class BatchConceptRunner: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, conceptEvaluator: 'ConceptEvaluator'): ... + def addConcept(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'BatchConceptRunner': ... + def addConcepts(self, list: java.util.List[jneqsim.process.fielddevelopment.concept.FieldConcept]) -> 'BatchConceptRunner': ... + def clear(self) -> 'BatchConceptRunner': ... + def getConceptCount(self) -> int: ... + def onProgress(self, progressListener: typing.Union['BatchConceptRunner.ProgressListener', typing.Callable]) -> 'BatchConceptRunner': ... + def parallelism(self, int: int) -> 'BatchConceptRunner': ... + def quickScreenAll(self) -> 'BatchConceptRunner.BatchResults': ... + def runAll(self) -> 'BatchConceptRunner.BatchResults': ... + class BatchResults: + def getBestConcept(self) -> 'ConceptKPIs': ... + def getBestEconomicConcept(self) -> 'ConceptKPIs': ... + def getBestEnvironmentalConcept(self) -> 'ConceptKPIs': ... + def getComparisonSummary(self) -> java.lang.String: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getFailureCount(self) -> int: ... + def getLowestCapexConcept(self) -> 'ConceptKPIs': ... + def getLowestEmissionsConcept(self) -> 'ConceptKPIs': ... + def getRankedResults(self) -> java.util.List['ConceptKPIs']: ... + def getResults(self) -> java.util.List['ConceptKPIs']: ... + def getSuccessCount(self) -> int: ... + def getViableConcepts(self) -> java.util.List['ConceptKPIs']: ... + def toString(self) -> java.lang.String: ... + class ProgressListener: + def onProgress(self, int: int, int2: int) -> None: ... + +class BottleneckAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def evaluateDebottleneckOptions(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.List['BottleneckAnalyzer.DebottleneckOption']: ... + def generateReport(self) -> java.lang.String: ... + def getActiveBottlenecks(self) -> java.util.List['BottleneckAnalyzer.BottleneckResult']: ... + def getPrimaryBottleneck(self) -> 'BottleneckAnalyzer.BottleneckResult': ... + def identifyBottlenecks(self) -> java.util.List['BottleneckAnalyzer.BottleneckResult']: ... + def setUtilizationThreshold(self, double: float) -> 'BottleneckAnalyzer': ... + class BottleneckResult(java.io.Serializable): + def __init__(self): ... + def getConstraintDescription(self) -> java.lang.String: ... + def getConstraintType(self) -> 'BottleneckAnalyzer.ConstraintType': ... + def getCurrentValue(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> 'BottleneckAnalyzer.EquipmentType': ... + def getMaxValue(self) -> float: ... + def getRemainingCapacity(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def toString(self) -> java.lang.String: ... + class ConstraintType(java.lang.Enum['BottleneckAnalyzer.ConstraintType']): + GAS_VELOCITY: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + LIQUID_RETENTION: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + POWER: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + SURGE: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + STONEWALL: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + HEAD: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + NPSH: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + THERMAL: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + VALVE_CV: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + PRESSURE_DROP: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + VELOCITY: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... + _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]) -> 'BottleneckAnalyzer.ConstraintType': ... + @staticmethod + def values() -> typing.MutableSequence['BottleneckAnalyzer.ConstraintType']: ... + class DebottleneckOption(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def getCapacityIncrease(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getEstimatedCostMUSD(self) -> float: ... + def getImplementationMonths(self) -> int: ... + def getName(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class EquipmentType(java.lang.Enum['BottleneckAnalyzer.EquipmentType']): + SEPARATOR: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + COMPRESSOR: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + PUMP: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + HEAT_EXCHANGER: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + VALVE: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + PIPELINE: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + OTHER: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... + _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]) -> 'BottleneckAnalyzer.EquipmentType': ... + @staticmethod + def values() -> typing.MutableSequence['BottleneckAnalyzer.EquipmentType']: ... + +class ConceptEvaluator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, flowAssuranceScreener: jneqsim.process.fielddevelopment.screening.FlowAssuranceScreener, safetyScreener: jneqsim.process.fielddevelopment.screening.SafetyScreener, emissionsTracker: jneqsim.process.fielddevelopment.screening.EmissionsTracker, economicsEstimator: jneqsim.process.fielddevelopment.screening.EconomicsEstimator): ... + @typing.overload + def evaluate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'ConceptKPIs': ... + @typing.overload + def evaluate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'ConceptKPIs': ... + def quickScreen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'ConceptKPIs': ... + +class ConceptKPIs(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... + def getAnnualEmissionsTonnes(self) -> float: ... + def getAnnualOpexMUSD(self) -> float: ... + def getBlowdownTimeMinutes(self) -> float: ... + def getBreakEvenOilPriceUSD(self) -> float: ... + def getCo2IntensityKgPerBoe(self) -> float: ... + def getConceptName(self) -> java.lang.String: ... + def getEconomicScore(self) -> float: ... + def getEconomicsReport(self) -> jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport: ... + def getEmissionsClass(self) -> java.lang.String: ... + def getEmissionsReport(self) -> jneqsim.process.fielddevelopment.screening.EmissionsTracker.EmissionsReport: ... + def getEnvironmentalScore(self) -> float: ... + def getEstimatedRecoveryPercent(self) -> float: ... + def getEvaluationTime(self) -> java.time.LocalDateTime: ... + def getFieldLifeYears(self) -> float: ... + def getFlowAssuranceOverall(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getFlowAssuranceReport(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceReport: ... + def getHydrateMarginC(self) -> float: ... + def getMinMetalTempC(self) -> float: ... + def getNotes(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getNpv10MUSD(self) -> float: ... + def getOneLiner(self) -> java.lang.String: ... + def getOverallScore(self) -> float: ... + def getPlateauRateMsm3d(self) -> float: ... + def getSafetyLevel(self) -> jneqsim.process.fielddevelopment.screening.SafetyReport.SafetyLevel: ... + def getSafetyReport(self) -> jneqsim.process.fielddevelopment.screening.SafetyReport: ... + def getSummary(self) -> java.lang.String: ... + def getTechnicalScore(self) -> float: ... + def getTotalCapexMUSD(self) -> float: ... + def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getWaxMarginC(self) -> float: ... + def hasBlockingIssues(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addNote(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... + def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... + def annualEmissions(self, double: float) -> 'ConceptKPIs.Builder': ... + def annualOpex(self, double: float) -> 'ConceptKPIs.Builder': ... + def blowdownTime(self, double: float) -> 'ConceptKPIs.Builder': ... + def breakEvenPrice(self, double: float) -> 'ConceptKPIs.Builder': ... + def build(self) -> 'ConceptKPIs': ... + def co2Intensity(self, double: float) -> 'ConceptKPIs.Builder': ... + def economicScore(self, double: float) -> 'ConceptKPIs.Builder': ... + def economicsReport(self, economicsReport: jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport) -> 'ConceptKPIs.Builder': ... + def emissionsClass(self, string: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... + def emissionsReport(self, emissionsReport: jneqsim.process.fielddevelopment.screening.EmissionsTracker.EmissionsReport) -> 'ConceptKPIs.Builder': ... + def environmentalScore(self, double: float) -> 'ConceptKPIs.Builder': ... + def estimatedRecovery(self, double: float) -> 'ConceptKPIs.Builder': ... + def evaluationTime(self, localDateTime: java.time.LocalDateTime) -> 'ConceptKPIs.Builder': ... + def fieldLife(self, double: float) -> 'ConceptKPIs.Builder': ... + def flowAssuranceOverall(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> 'ConceptKPIs.Builder': ... + def flowAssuranceReport(self, flowAssuranceReport: jneqsim.process.fielddevelopment.screening.FlowAssuranceReport) -> 'ConceptKPIs.Builder': ... + def hydrateMargin(self, double: float) -> 'ConceptKPIs.Builder': ... + def minMetalTemp(self, double: float) -> 'ConceptKPIs.Builder': ... + def npv10(self, double: float) -> 'ConceptKPIs.Builder': ... + def overallScore(self, double: float) -> 'ConceptKPIs.Builder': ... + def plateauRate(self, double: float) -> 'ConceptKPIs.Builder': ... + def safetyLevel(self, safetyLevel: jneqsim.process.fielddevelopment.screening.SafetyReport.SafetyLevel) -> 'ConceptKPIs.Builder': ... + def safetyReport(self, safetyReport: jneqsim.process.fielddevelopment.screening.SafetyReport) -> 'ConceptKPIs.Builder': ... + def technicalScore(self, double: float) -> 'ConceptKPIs.Builder': ... + def totalCapex(self, double: float) -> 'ConceptKPIs.Builder': ... + def waxMargin(self, double: float) -> 'ConceptKPIs.Builder': ... + +class DecommissioningEstimator(java.io.Serializable): + def __init__(self): ... + def generateReport(self) -> java.lang.String: ... + def getCostBreakdown(self) -> java.util.List['DecommissioningEstimator.CostItem']: ... + def getEstimatedDurationMonths(self) -> int: ... + @typing.overload + def getPipelineDecomCostMUSD(self) -> float: ... + @typing.overload + def getPipelineDecomCostMUSD(self, pipelineStrategy: 'DecommissioningEstimator.PipelineStrategy') -> float: ... + def getSiteRemediationCostMUSD(self) -> float: ... + def getSubstructureRemovalCostMUSD(self) -> float: ... + def getTopsideRemovalCostMUSD(self) -> float: ... + @typing.overload + def getTotalCostMUSD(self) -> float: ... + @typing.overload + def getTotalCostMUSD(self, pipelineStrategy: 'DecommissioningEstimator.PipelineStrategy') -> float: ... + def getWellPACostMUSD(self) -> float: ... + def setAverageWellDepth(self, double: float) -> 'DecommissioningEstimator': ... + def setFacilityType(self, facilityType: 'DecommissioningEstimator.FacilityType') -> 'DecommissioningEstimator': ... + def setNumberOfRisers(self, int: int) -> 'DecommissioningEstimator': ... + def setNumberOfSubseaStructures(self, int: int) -> 'DecommissioningEstimator': ... + def setNumberOfWells(self, int: int) -> 'DecommissioningEstimator': ... + def setPipelineDiameter(self, double: float) -> 'DecommissioningEstimator': ... + def setPipelineLength(self, double: float) -> 'DecommissioningEstimator': ... + def setSubstructureWeight(self, double: float) -> 'DecommissioningEstimator': ... + def setTopsideWeight(self, double: float) -> 'DecommissioningEstimator': ... + def setWaterDepth(self, double: float) -> 'DecommissioningEstimator': ... + class CostItem(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> java.lang.String: ... + def getCostMUSD(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + class FacilityType(java.lang.Enum['DecommissioningEstimator.FacilityType']): + FIXED_JACKET: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + GRAVITY_BASED: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + FPSO: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + SEMI_SUBMERSIBLE: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + TLP: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + SPAR: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + SUBSEA_TIEBACK: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + WELLHEAD_PLATFORM: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + COMPLIANT_TOWER: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + def getCostFactor(self) -> float: ... + def getDisplayName(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]) -> 'DecommissioningEstimator.FacilityType': ... + @staticmethod + def values() -> typing.MutableSequence['DecommissioningEstimator.FacilityType']: ... + class PipelineStrategy(java.lang.Enum['DecommissioningEstimator.PipelineStrategy']): + LEAVE_IN_PLACE: typing.ClassVar['DecommissioningEstimator.PipelineStrategy'] = ... + TRENCH_BURY: typing.ClassVar['DecommissioningEstimator.PipelineStrategy'] = ... + FULL_REMOVAL: typing.ClassVar['DecommissioningEstimator.PipelineStrategy'] = ... + def getCostFactor(self) -> float: ... + def getDisplayName(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]) -> 'DecommissioningEstimator.PipelineStrategy': ... + @staticmethod + def values() -> typing.MutableSequence['DecommissioningEstimator.PipelineStrategy']: ... + +class DevelopmentOptionRanker(java.io.Serializable): + def __init__(self): ... + @typing.overload + def addOption(self, string: typing.Union[java.lang.String, str]) -> 'DevelopmentOptionRanker.DevelopmentOption': ... + @typing.overload + def addOption(self, developmentOption: 'DevelopmentOptionRanker.DevelopmentOption') -> None: ... + def clearOptions(self) -> None: ... + def getOptions(self) -> java.util.List['DevelopmentOptionRanker.DevelopmentOption']: ... + def getWeight(self, criterion: 'DevelopmentOptionRanker.Criterion') -> float: ... + def normalizeWeights(self) -> None: ... + def rank(self) -> 'DevelopmentOptionRanker.RankingResult': ... + def rankByCriterion(self, criterion: 'DevelopmentOptionRanker.Criterion') -> java.util.List['DevelopmentOptionRanker.DevelopmentOption']: ... + def setWeight(self, criterion: 'DevelopmentOptionRanker.Criterion', double: float) -> None: ... + def setWeightProfile(self, string: typing.Union[java.lang.String, str]) -> None: ... + class Criterion(java.lang.Enum['DevelopmentOptionRanker.Criterion']): + NPV: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + IRR: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + PAYBACK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + CAPITAL_EFFICIENCY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + BREAKEVEN_PRICE: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + TECHNICAL_COMPLEXITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + TECHNICAL_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + RESERVOIR_UNCERTAINTY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + RECOVERY_FACTOR: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + CO2_INTENSITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + TOTAL_EMISSIONS: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + ENVIRONMENTAL_IMPACT: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + STRATEGIC_FIT: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + INFRASTRUCTURE_SYNERGY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + OPTIONALITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + SCHEDULE_FLEXIBILITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + HSE_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + EXECUTION_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + COMMERCIAL_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + REGULATORY_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def isHigherBetter(self) -> bool: ... + _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]) -> 'DevelopmentOptionRanker.Criterion': ... + @staticmethod + def values() -> typing.MutableSequence['DevelopmentOptionRanker.Criterion']: ... + class DevelopmentOption(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getNormalizedScore(self, criterion: 'DevelopmentOptionRanker.Criterion') -> float: ... + def getRank(self) -> int: ... + def getScore(self, criterion: 'DevelopmentOptionRanker.Criterion') -> float: ... + def getScores(self) -> java.util.Map['DevelopmentOptionRanker.Criterion', float]: ... + def getWeightedScore(self) -> float: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setScore(self, criterion: 'DevelopmentOptionRanker.Criterion', double: float) -> None: ... + class RankingResult(java.io.Serializable): + def __init__(self): ... + def generateReport(self) -> java.lang.String: ... + def getBestOption(self) -> 'DevelopmentOptionRanker.DevelopmentOption': ... + def getRankedOptions(self) -> java.util.List['DevelopmentOptionRanker.DevelopmentOption']: ... + def getWeights(self) -> java.util.Map['DevelopmentOptionRanker.Criterion', float]: ... + def sensitivityAnalysis(self, criterion: 'DevelopmentOptionRanker.Criterion') -> java.util.Map[float, java.lang.String]: ... + +class EnvironmentalReporter(java.io.Serializable): + CO2_GAS_TURBINE: typing.ClassVar[float] = ... + CO2_DIESEL: typing.ClassVar[float] = ... + CO2_COMBINED_CYCLE: typing.ClassVar[float] = ... + CO2_POWER_FROM_SHORE: typing.ClassVar[float] = ... + CO2_FLARE_PER_SM3: typing.ClassVar[float] = ... + NCS_OIW_LIMIT: typing.ClassVar[float] = ... + BBL_TO_SM3: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, powerSupplyType: 'EnvironmentalReporter.PowerSupplyType'): ... + @typing.overload + def generateReport(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'EnvironmentalReporter.EnvironmentalReport': ... + @typing.overload + def generateReport(self, processSystem: jneqsim.process.processmodel.ProcessSystem, producedWaterTreatmentTrain: jneqsim.process.equipment.watertreatment.ProducedWaterTreatmentTrain) -> 'EnvironmentalReporter.EnvironmentalReport': ... + def getCO2FromFlaring(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getCO2FromPower(self, double: float) -> float: ... + def getCO2Intensity(self, double: float) -> float: ... + def getOilDischarge(self, producedWaterTreatmentTrain: jneqsim.process.equipment.watertreatment.ProducedWaterTreatmentTrain) -> float: ... + def getTotalPowerConsumption(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def setOperatingHours(self, double: float) -> 'EnvironmentalReporter': ... + def setPowerSupplyType(self, powerSupplyType: 'EnvironmentalReporter.PowerSupplyType') -> 'EnvironmentalReporter': ... + def setProduction(self, double: float, double2: float, double3: float) -> 'EnvironmentalReporter': ... + class EnvironmentalReport(java.io.Serializable): + totalPowerKW: float = ... + powerSupplyType: 'EnvironmentalReporter.PowerSupplyType' = ... + co2FromPowerTonnesYear: float = ... + co2FromFlaringTonnesYear: float = ... + totalCO2TonnesYear: float = ... + co2IntensityKgBoe: float = ... + oilProductionSm3Year: float = ... + gasProductionSm3Year: float = ... + waterProductionM3Year: float = ... + oiwMgL: float = ... + oilDischargeTonnesYear: float = ... + isOIWCompliant: bool = ... + co2TaxNOK: float = ... + isLowEmitter: bool = ... + def __init__(self): ... + def toMarkdown(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class PowerSupplyType(java.lang.Enum['EnvironmentalReporter.PowerSupplyType']): + GAS_TURBINE: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... + DIESEL: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... + COMBINED_CYCLE: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... + POWER_FROM_SHORE: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... + def getEmissionFactor(self) -> float: ... + _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]) -> 'EnvironmentalReporter.PowerSupplyType': ... + @staticmethod + def values() -> typing.MutableSequence['EnvironmentalReporter.PowerSupplyType']: ... + +class MonteCarloRunner(java.io.Serializable): + @typing.overload + def __init__(self, cashFlowEngine: jneqsim.process.fielddevelopment.economics.CashFlowEngine): ... + @typing.overload + def __init__(self, cashFlowEngine: jneqsim.process.fielddevelopment.economics.CashFlowEngine, long: int): ... + def addLognormal(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addNormal(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addTriangular(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addUniform(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addVariable(self, string: typing.Union[java.lang.String, str], distributionType: 'MonteCarloRunner.DistributionType', double: float, double2: float, double3: float) -> None: ... + def generateReport(self) -> java.lang.String: ... + def getConvergedCount(self) -> int: ... + def getDiscountRate(self) -> float: ... + def getIterations(self) -> int: ... + def getMean(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getP10(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getP50(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getP90(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPercentile(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getProbabilityNpvExceeds(self, double: float) -> float: ... + def getProbabilityPositiveNpv(self) -> float: ... + def getResults(self) -> java.util.List['MonteCarloRunner.IterationResult']: ... + def getStdDev(self, string: typing.Union[java.lang.String, str]) -> float: ... + def run(self) -> bool: ... + def setDiscountRate(self, double: float) -> None: ... + def setIterations(self, int: int) -> None: ... + def setSeed(self, long: int) -> None: ... + class DistributionType(java.lang.Enum['MonteCarloRunner.DistributionType']): + TRIANGULAR: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... + NORMAL: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... + LOGNORMAL: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... + UNIFORM: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... + FIXED: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... + _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]) -> 'MonteCarloRunner.DistributionType': ... + @staticmethod + def values() -> typing.MutableSequence['MonteCarloRunner.DistributionType']: ... + class IterationResult(java.io.Serializable): + def __init__(self): ... + def getInputs(self) -> java.util.Map[java.lang.String, float]: ... + def getIrr(self) -> float: ... + def getNpv(self) -> float: ... + def getPaybackYears(self) -> float: ... + def getProfitabilityIndex(self) -> float: ... + def isConverged(self) -> bool: ... + def setConverged(self, boolean: bool) -> None: ... + def setInput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setIrr(self, double: float) -> None: ... + def setNpv(self, double: float) -> None: ... + def setPaybackYears(self, double: float) -> None: ... + def setProfitabilityIndex(self, double: float) -> None: ... + class UncertainVariable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], distributionType: 'MonteCarloRunner.DistributionType', double: float, double2: float, double3: float): ... + def getDistribution(self) -> 'MonteCarloRunner.DistributionType': ... + def getName(self) -> java.lang.String: ... + def getParam1(self) -> float: ... + def getParam2(self) -> float: ... + def getParam3(self) -> float: ... + +class ProductionAllocator(java.io.Serializable): + def __init__(self): ... + @typing.overload + def addSource(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProductionAllocator': ... + @typing.overload + def addSource(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, meteringType: 'ProductionAllocator.MeteringType') -> 'ProductionAllocator': ... + def allocateByEnergy(self) -> java.util.Map[java.lang.String, float]: ... + def allocateByGas(self) -> java.util.Map[java.lang.String, float]: ... + def allocateByMass(self) -> java.util.Map[java.lang.String, float]: ... + def allocateByOil(self) -> java.util.Map[java.lang.String, float]: ... + def generateReport(self) -> java.lang.String: ... + def getAllocatedGasVolumes(self, double: float) -> java.util.Map[java.lang.String, float]: ... + def getAllocatedOilVolumes(self, double: float) -> java.util.Map[java.lang.String, float]: ... + def getAllocatedWithUncertainty(self, string: typing.Union[java.lang.String, str], double: float) -> typing.MutableSequence[float]: ... + def getMassImbalance(self) -> float: ... + def getOverallUncertainty(self) -> float: ... + def getSourceUncertainty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isBalanceAcceptable(self, double: float) -> bool: ... + def setExportMeter(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, meteringType: 'ProductionAllocator.MeteringType') -> 'ProductionAllocator': ... + class MeteringType(java.lang.Enum['ProductionAllocator.MeteringType']): + ULTRASONIC: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + CORIOLIS: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + DIFFERENTIAL_PRESSURE: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + VORTEX: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + TURBINE: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + MULTIPHASE: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + TEST_SEPARATOR: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + ESTIMATED: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getUncertainty(self) -> float: ... + _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]) -> 'ProductionAllocator.MeteringType': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionAllocator.MeteringType']: ... + +class ScenarioAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addScenario(self, string: typing.Union[java.lang.String, str], scenarioParameters: 'ScenarioAnalyzer.ScenarioParameters') -> 'ScenarioAnalyzer': ... + def clearScenarios(self) -> 'ScenarioAnalyzer': ... + def generateReport(self) -> java.lang.String: ... + def getResult(self, string: typing.Union[java.lang.String, str]) -> 'ScenarioAnalyzer.ScenarioResult': ... + def getResults(self) -> java.util.List['ScenarioAnalyzer.ScenarioResult']: ... + def runAll(self) -> java.util.List['ScenarioAnalyzer.ScenarioResult']: ... + def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ScenarioAnalyzer': ... + class ScenarioParameters(java.io.Serializable): + def __init__(self): ... + def getGOR(self) -> float: ... + def getGasRate(self) -> float: ... + def getOilRate(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getTotalMassRate(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterRate(self) -> float: ... + def setGOR(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setGasRate(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setOilRate(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setPressure(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setTemperature(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setWaterCut(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setWaterRate(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + class ScenarioResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getCO2TonnesPerDay(self) -> float: ... + def getCoolingDutyMW(self) -> float: ... + def getErrorMessage(self) -> java.lang.String: ... + def getHeatingDutyMW(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getParameters(self) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def getPowerMW(self) -> float: ... + def isConverged(self) -> bool: ... + def setCO2TonnesPerDay(self, double: float) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setCoolingDutyMW(self, double: float) -> None: ... + def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatingDutyMW(self, double: float) -> None: ... + def setParameters(self, scenarioParameters: 'ScenarioAnalyzer.ScenarioParameters') -> None: ... + def setPowerMW(self, double: float) -> None: ... + +class SeparatorSizingCalculator(java.io.Serializable): + def __init__(self): ... + def createSeparator(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, separatorSizingResult: 'SeparatorSizingCalculator.SeparatorSizingResult') -> jneqsim.process.equipment.separator.Separator: ... + def gasBubbleRiseInLiquid(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getAPI12JRetentionTime(self, double: float) -> float: ... + def getAPI12JRetentionTimeFromAPI(self, double: float) -> float: ... + def getRecommendedKFactor(self, separatorType: 'SeparatorSizingCalculator.SeparatorType', boolean: bool) -> float: ... + def oilDropletSettlingInGas(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def separationTime(self, double: float, double2: float) -> float: ... + def sizeSeparator(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, separatorType: 'SeparatorSizingCalculator.SeparatorType', designStandard: 'SeparatorSizingCalculator.DesignStandard') -> 'SeparatorSizingCalculator.SeparatorSizingResult': ... + def sizeUsingNeqSimDesign(self, separator: jneqsim.process.equipment.separator.Separator) -> 'SeparatorSizingCalculator.SeparatorSizingResult': ... + def soudersbrownGasVelocity(self, double: float, double2: float, double3: float) -> float: ... + def stokesSettlingVelocity(self, double: float, double2: float, double3: float, double4: float) -> float: ... + class DesignStandard(java.lang.Enum['SeparatorSizingCalculator.DesignStandard']): + API_12J: typing.ClassVar['SeparatorSizingCalculator.DesignStandard'] = ... + GPSA: typing.ClassVar['SeparatorSizingCalculator.DesignStandard'] = ... + SHELL_DEP: typing.ClassVar['SeparatorSizingCalculator.DesignStandard'] = ... + _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]) -> 'SeparatorSizingCalculator.DesignStandard': ... + @staticmethod + def values() -> typing.MutableSequence['SeparatorSizingCalculator.DesignStandard']: ... + class SeparatorSizingResult(java.io.Serializable): + separatorType: 'SeparatorSizingCalculator.SeparatorType' = ... + designStandard: 'SeparatorSizingCalculator.DesignStandard' = ... + internalDiameter: float = ... + tanTanLength: float = ... + slendernessRatio: float = ... + kFactor: float = ... + maxGasVelocity: float = ... + requiredRetentionTime: float = ... + actualRetentionTime: float = ... + liquidDensity: float = ... + gasDensity: float = ... + gasCapacityUtilization: float = ... + liquidCapacityUtilization: float = ... + def __init__(self): ... + def getLiquidVolume(self) -> float: ... + def getVolume(self) -> float: ... + def toString(self) -> java.lang.String: ... + class SeparatorType(java.lang.Enum['SeparatorSizingCalculator.SeparatorType']): + HORIZONTAL: typing.ClassVar['SeparatorSizingCalculator.SeparatorType'] = ... + VERTICAL: typing.ClassVar['SeparatorSizingCalculator.SeparatorType'] = ... + SPHERICAL: typing.ClassVar['SeparatorSizingCalculator.SeparatorType'] = ... + _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]) -> 'SeparatorSizingCalculator.SeparatorType': ... + @staticmethod + def values() -> typing.MutableSequence['SeparatorSizingCalculator.SeparatorType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.evaluation")``. + + BatchConceptRunner: typing.Type[BatchConceptRunner] + BottleneckAnalyzer: typing.Type[BottleneckAnalyzer] + ConceptEvaluator: typing.Type[ConceptEvaluator] + ConceptKPIs: typing.Type[ConceptKPIs] + DecommissioningEstimator: typing.Type[DecommissioningEstimator] + DevelopmentOptionRanker: typing.Type[DevelopmentOptionRanker] + EnvironmentalReporter: typing.Type[EnvironmentalReporter] + MonteCarloRunner: typing.Type[MonteCarloRunner] + ProductionAllocator: typing.Type[ProductionAllocator] + ScenarioAnalyzer: typing.Type[ScenarioAnalyzer] + SeparatorSizingCalculator: typing.Type[SeparatorSizingCalculator] diff --git a/src/jneqsim/process/fielddevelopment/facility/__init__.pyi b/src/jneqsim/process/fielddevelopment/facility/__init__.pyi new file mode 100644 index 00000000..2d4ce67b --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/facility/__init__.pyi @@ -0,0 +1,177 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.processmodel +import typing + + + +class BlockConfig(java.io.Serializable): + @staticmethod + def co2Amine(double: float) -> 'BlockConfig': ... + @staticmethod + def co2Membrane(double: float) -> 'BlockConfig': ... + @typing.overload + @staticmethod + def compression(int: int) -> 'BlockConfig': ... + @typing.overload + @staticmethod + def compression(int: int, double: float) -> 'BlockConfig': ... + def getDoubleParameter(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getIntParameter(self, string: typing.Union[java.lang.String, str], int: int) -> int: ... + def getName(self) -> java.lang.String: ... + _getParameter__T = typing.TypeVar('_getParameter__T') # + def getParameter(self, string: typing.Union[java.lang.String, str], t: _getParameter__T) -> _getParameter__T: ... + def getParameters(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getType(self) -> 'BlockType': ... + @staticmethod + def inletSeparation(double: float, double2: float) -> 'BlockConfig': ... + @typing.overload + @staticmethod + def of(blockType: 'BlockType') -> 'BlockConfig': ... + @typing.overload + @staticmethod + def of(blockType: 'BlockType', string: typing.Union[java.lang.String, str]) -> 'BlockConfig': ... + @typing.overload + @staticmethod + def of(blockType: 'BlockType', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'BlockConfig': ... + @staticmethod + def oilStabilization(int: int, double: float) -> 'BlockConfig': ... + @staticmethod + def tegDehydration(double: float) -> 'BlockConfig': ... + def toString(self) -> java.lang.String: ... + +class BlockType(java.lang.Enum['BlockType']): + INLET_SEPARATION: typing.ClassVar['BlockType'] = ... + TWO_PHASE_SEPARATOR: typing.ClassVar['BlockType'] = ... + THREE_PHASE_SEPARATOR: typing.ClassVar['BlockType'] = ... + COMPRESSION: typing.ClassVar['BlockType'] = ... + TEG_DEHYDRATION: typing.ClassVar['BlockType'] = ... + MEG_REGENERATION: typing.ClassVar['BlockType'] = ... + CO2_REMOVAL_MEMBRANE: typing.ClassVar['BlockType'] = ... + CO2_REMOVAL_AMINE: typing.ClassVar['BlockType'] = ... + H2S_REMOVAL: typing.ClassVar['BlockType'] = ... + NGL_RECOVERY: typing.ClassVar['BlockType'] = ... + DEW_POINT_CONTROL: typing.ClassVar['BlockType'] = ... + EXPORT_CONDITIONING: typing.ClassVar['BlockType'] = ... + OIL_STABILIZATION: typing.ClassVar['BlockType'] = ... + WATER_TREATMENT: typing.ClassVar['BlockType'] = ... + SUBSEA_BOOSTING: typing.ClassVar['BlockType'] = ... + GAS_COOLING: typing.ClassVar['BlockType'] = ... + HEAT_EXCHANGE: typing.ClassVar['BlockType'] = ... + FLARE_SYSTEM: typing.ClassVar['BlockType'] = ... + POWER_GENERATION: typing.ClassVar['BlockType'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def isEmissionSource(self) -> bool: ... + def isHighCapex(self) -> bool: ... + def isPowerConsumer(self) -> bool: ... + _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]) -> 'BlockType': ... + @staticmethod + def values() -> typing.MutableSequence['BlockType']: ... + +class ConceptToProcessLinker(java.io.Serializable): + def __init__(self): ... + def generateProcessSystem(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, fidelityLevel: 'ConceptToProcessLinker.FidelityLevel') -> jneqsim.process.processmodel.ProcessSystem: ... + def getTotalCoolingMW(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getTotalHeatingMW(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getTotalPowerMW(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getUtilitySummary(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.lang.String: ... + def setCompressionEfficiency(self, double: float) -> None: ... + def setExportGasPressure(self, double: float) -> None: ... + def setHpSeparatorPressure(self, double: float) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setLpSeparatorPressure(self, double: float) -> None: ... + class FidelityLevel(java.lang.Enum['ConceptToProcessLinker.FidelityLevel']): + SCREENING: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... + CONCEPT: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... + PRE_FEED: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... + FEED: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... + _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]) -> 'ConceptToProcessLinker.FidelityLevel': ... + @staticmethod + def values() -> typing.MutableSequence['ConceptToProcessLinker.FidelityLevel']: ... + class ProcessTemplate(java.lang.Enum['ConceptToProcessLinker.ProcessTemplate']): + OIL_PROCESSING: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... + GAS_PROCESSING: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... + GAS_CONDENSATE: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... + HEAVY_OIL: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... + TIEBACK_PROCESSING: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... + _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]) -> 'ConceptToProcessLinker.ProcessTemplate': ... + @staticmethod + def values() -> typing.MutableSequence['ConceptToProcessLinker.ProcessTemplate']: ... + +class FacilityBuilder(java.io.Serializable): + @typing.overload + def addBlock(self, blockConfig: BlockConfig) -> 'FacilityBuilder': ... + @typing.overload + def addBlock(self, blockType: BlockType) -> 'FacilityBuilder': ... + def addCo2Amine(self, double: float) -> 'FacilityBuilder': ... + def addCo2Membrane(self, double: float) -> 'FacilityBuilder': ... + @typing.overload + def addCompression(self, int: int) -> 'FacilityBuilder': ... + @typing.overload + def addCompression(self, int: int, double: float) -> 'FacilityBuilder': ... + def addTegDehydration(self, double: float) -> 'FacilityBuilder': ... + @staticmethod + def autoGenerate(fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'FacilityBuilder': ... + def build(self) -> 'FacilityConfig': ... + def designMargin(self, double: float) -> 'FacilityBuilder': ... + @staticmethod + def forConcept(fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'FacilityBuilder': ... + def includeFlare(self, boolean: bool) -> 'FacilityBuilder': ... + def includePowerGeneration(self, boolean: bool) -> 'FacilityBuilder': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'FacilityBuilder': ... + def withRedundancy(self, string: typing.Union[java.lang.String, str], int: int) -> 'FacilityBuilder': ... + +class FacilityConfig(java.io.Serializable): + def getBlockCount(self) -> int: ... + def getBlocks(self) -> java.util.List[BlockConfig]: ... + def getBlocksOfType(self, blockType: BlockType) -> java.util.List[BlockConfig]: ... + def getConcept(self) -> jneqsim.process.fielddevelopment.concept.FieldConcept: ... + def getDesignMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRedundancyRequirements(self) -> java.util.List[java.lang.String]: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCompressionStages(self) -> int: ... + def hasBlock(self, blockType: BlockType) -> bool: ... + def hasCo2Removal(self) -> bool: ... + def hasCompression(self) -> bool: ... + def hasDehydration(self) -> bool: ... + def isComplex(self) -> bool: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.facility")``. + + BlockConfig: typing.Type[BlockConfig] + BlockType: typing.Type[BlockType] + ConceptToProcessLinker: typing.Type[ConceptToProcessLinker] + FacilityBuilder: typing.Type[FacilityBuilder] + FacilityConfig: typing.Type[FacilityConfig] diff --git a/src/jneqsim/process/fielddevelopment/integrated/__init__.pyi b/src/jneqsim/process/fielddevelopment/integrated/__init__.pyi new file mode 100644 index 00000000..b4955bc1 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/integrated/__init__.pyi @@ -0,0 +1,282 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.reservoir +import typing + + + +class GasLiftNetworkOptimizer(java.io.Serializable): + def __init__(self): ... + def addWell(self, string: typing.Union[java.lang.String, str], gasLiftPerformanceCurve: 'GasLiftPerformanceCurve') -> 'GasLiftNetworkOptimizer': ... + def allocate(self, double: float) -> 'GasLiftNetworkOptimizer.AllocationResult': ... + class AllocationResult(java.io.Serializable): + def __init__(self, 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]], double: float, double2: float): ... + def getLiftRates(self) -> java.util.Map[java.lang.String, float]: ... + def getOilRates(self) -> java.util.Map[java.lang.String, float]: ... + def getTotalLift(self) -> float: ... + def getTotalOil(self) -> float: ... + +class GasLiftPerformanceCurve(java.io.Serializable): + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def getBaseOilRate(self) -> float: ... + def getMaxLiftRate(self) -> float: ... + def incrementalSlope(self, double: float) -> float: ... + def oilRateAt(self, double: float) -> float: ... + def optimalLiftRate(self) -> float: ... + +class IntegratedProductionModel(java.io.Serializable): + EXPORT_NODE: typing.ClassVar[java.lang.String] = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addWell(self, string: typing.Union[java.lang.String, str], reservoirDrive: 'ReservoirDrive', wellDeliverabilityCurve: 'WellDeliverabilityCurve') -> 'IntegratedProductionModel.WellUnit': ... + @typing.overload + def addWell(self, string: typing.Union[java.lang.String, str], reservoirDrive: 'ReservoirDrive', wellDeliverabilityCurve: 'WellDeliverabilityCurve', flowlineBranch: 'FlowlineBranch') -> 'IntegratedProductionModel.WellUnit': ... + def getName(self) -> java.lang.String: ... + def getWells(self) -> java.util.List['IntegratedProductionModel.WellUnit']: ... + def runProfile(self, double: float, double2: float) -> 'ProductionProfile': ... + def setEmissionIntensity(self, double: float) -> 'IntegratedProductionModel': ... + def setEnergyIntensity(self, double: float) -> 'IntegratedProductionModel': ... + def setExportPressure(self, double: float) -> 'IntegratedProductionModel': ... + def setHydrocarbonPrice(self, double: float) -> 'IntegratedProductionModel': ... + def solve(self) -> 'IntegratedSolveResult': ... + def toJson(self) -> java.lang.String: ... + class WellUnit(java.io.Serializable): + def getDrive(self) -> 'ReservoirDrive': ... + def getFlowlineBranch(self) -> 'FlowlineBranch': ... + def getLastRate(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getWellBranch(self) -> 'WellBranch': ... + +class IntegratedSolveResult(java.io.Serializable): + def __init__(self, boolean: bool, int: int, double: float, 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]], double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]): ... + def getEmissionsKgPerDay(self) -> float: ... + def getEnergyKWhPerDay(self) -> float: ... + def getFieldRate(self) -> float: ... + def getIterations(self) -> int: ... + def getMethod(self) -> java.lang.String: ... + def getNodePressures(self) -> java.util.Map[java.lang.String, float]: ... + def getRevenue(self) -> float: ... + def getWellRates(self) -> java.util.Map[java.lang.String, float]: ... + def isConverged(self) -> bool: ... + +class NetworkBranch(java.io.Serializable): + def flow(self, double: float, double2: float) -> float: ... + def getFromNode(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getToNode(self) -> java.lang.String: ... + +class NetworkNewtonSolver(java.io.Serializable): + def __init__(self): ... + def addBranch(self, networkBranch: NetworkBranch) -> 'NetworkNewtonSolver': ... + def addNode(self, networkNode: 'NetworkNode') -> 'NetworkNewtonSolver': ... + def getBranches(self) -> java.util.List[NetworkBranch]: ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> 'NetworkNode': ... + def setMaxIterations(self, int: int) -> None: ... + def setMinPressure(self, double: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + def solve(self) -> 'NetworkNewtonSolver.NetworkSolutionResult': ... + class NetworkSolutionResult(java.io.Serializable): + def __init__(self, boolean: bool, int: int, double: float, 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]], string: typing.Union[java.lang.String, str]): ... + def getBranchFlows(self) -> java.util.Map[java.lang.String, float]: ... + def getIterations(self) -> int: ... + def getMaxResidual(self) -> float: ... + def getMethod(self) -> java.lang.String: ... + def getNodePressures(self) -> java.util.Map[java.lang.String, float]: ... + def isConverged(self) -> bool: ... + +class NetworkNode(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], nodeType: 'NetworkNode.NodeType', double: float, boolean: bool): ... + def getExternalRate(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPressure(self) -> float: ... + def getType(self) -> 'NetworkNode.NodeType': ... + def isPressureFixed(self) -> bool: ... + @staticmethod + def manifold(string: typing.Union[java.lang.String, str], double: float) -> 'NetworkNode': ... + @staticmethod + def reservoir(string: typing.Union[java.lang.String, str], double: float) -> 'NetworkNode': ... + def setExternalRate(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setPressureFixed(self, boolean: bool) -> None: ... + @staticmethod + def sink(string: typing.Union[java.lang.String, str], double: float) -> 'NetworkNode': ... + class NodeType(java.lang.Enum['NetworkNode.NodeType']): + RESERVOIR: typing.ClassVar['NetworkNode.NodeType'] = ... + JUNCTION: typing.ClassVar['NetworkNode.NodeType'] = ... + MANIFOLD: typing.ClassVar['NetworkNode.NodeType'] = ... + SINK: typing.ClassVar['NetworkNode.NodeType'] = ... + SOURCE: typing.ClassVar['NetworkNode.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]) -> 'NetworkNode.NodeType': ... + @staticmethod + def values() -> typing.MutableSequence['NetworkNode.NodeType']: ... + +class ProductionProfile(java.io.Serializable): + def __init__(self): ... + def add(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def getCumulativeProduction(self) -> float: ... + def getCumulativeRevenue(self) -> float: ... + def getPeakRate(self) -> float: ... + def getPoints(self) -> java.util.List['ProductionProfile.Point']: ... + def setCumulativeProduction(self, double: float) -> None: ... + def setCumulativeRevenue(self, double: float) -> None: ... + class Point(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getEmissionsKgPerDay(self) -> float: ... + def getEnergyKWhPerDay(self) -> float: ... + def getRateSm3PerDay(self) -> float: ... + def getReservoirPressureBara(self) -> float: ... + def getRevenuePerDay(self) -> float: ... + def getTimeYears(self) -> float: ... + +class ReservoirDrive(java.io.Serializable): + def getCumulativeProduction(self) -> float: ... + def getInPlaceVolume(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def produce(self, double: float, double2: float) -> None: ... + +class ReservoirToMarketOptimizer(java.io.Serializable): + def __init__(self, integratedProductionModel: IntegratedProductionModel): ... + def optimize(self) -> 'ReservoirToMarketOptimizer.OptimizationResult': ... + def setFacilityCapacity(self, double: float) -> 'ReservoirToMarketOptimizer': ... + def setMaxIterations(self, int: int) -> 'ReservoirToMarketOptimizer': ... + def setObjective(self, objective: 'ReservoirToMarketOptimizer.Objective') -> 'ReservoirToMarketOptimizer': ... + class Objective(java.lang.Enum['ReservoirToMarketOptimizer.Objective']): + REVENUE: typing.ClassVar['ReservoirToMarketOptimizer.Objective'] = ... + RATE: typing.ClassVar['ReservoirToMarketOptimizer.Objective'] = ... + _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]) -> 'ReservoirToMarketOptimizer.Objective': ... + @staticmethod + def values() -> typing.MutableSequence['ReservoirToMarketOptimizer.Objective']: ... + class OptimizationResult(java.io.Serializable): + def __init__(self, boolean: bool, double: float, double2: float, double3: float, 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]], int: int): ... + def getChokeSettings(self) -> java.util.Map[java.lang.String, float]: ... + def getEvaluations(self) -> int: ... + def getFieldRate(self) -> float: ... + def getObjectiveValue(self) -> float: ... + def getRevenue(self) -> float: ... + def getWellRates(self) -> java.util.Map[java.lang.String, float]: ... + def isFeasible(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class WellDeliverabilityCurve(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + @staticmethod + def fromArrays(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'WellDeliverabilityCurve': ... + @staticmethod + def fromVogel(double: float, double2: float) -> 'WellDeliverabilityCurve': ... + @staticmethod + def fromWellSystem(wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float, double2: float, int: int) -> 'WellDeliverabilityCurve': ... + def getAbsoluteOpenFlowPotential(self) -> float: ... + def getShutInPressure(self) -> float: ... + def rateAt(self, double: float) -> float: ... + def slopeAt(self, double: float) -> float: ... + +class WellTestMatcher(java.io.Serializable): + def __init__(self): ... + def addTestPoint(self, double: float, double2: float) -> 'WellTestMatcher': ... + def fitProductivityIndex(self) -> 'WellTestMatcher.MatchResult': ... + def fitVogel(self) -> 'WellTestMatcher.MatchResult': ... + class MatchResult(java.io.Serializable): + def __init__(self, wellDeliverabilityCurve: WellDeliverabilityCurve, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]): ... + def getCurve(self) -> WellDeliverabilityCurve: ... + def getDeliverabilityParameter(self) -> float: ... + def getModel(self) -> java.lang.String: ... + def getReservoirPressure(self) -> float: ... + def getRmsError(self) -> float: ... + +class AquiferDrive(ReservoirDrive): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def getCumulativeInflux(self) -> float: ... + def getCumulativeProduction(self) -> float: ... + def getInPlaceVolume(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def produce(self, double: float, double2: float) -> None: ... + +class FlowlineBranch(NetworkBranch): + def __init__(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): ... + def flow(self, double: float, double2: float) -> float: ... + @staticmethod + def fromBeggsBrillSample(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'FlowlineBranch': ... + @staticmethod + def fromReferencePoint(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) -> 'FlowlineBranch': ... + def getFromNode(self) -> java.lang.String: ... + def getLastRate(self) -> float: ... + def getLinearCoeff(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getQuadraticCoeff(self) -> float: ... + def getStaticHead(self) -> float: ... + def getToNode(self) -> java.lang.String: ... + +class MaterialBalanceGasDrive(ReservoirDrive): + def __init__(self, double: float, double2: float, double3: float): ... + def getCumulativeProduction(self) -> float: ... + def getInPlaceVolume(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def produce(self, double: float, double2: float) -> None: ... + +class OilTankDrive(ReservoirDrive): + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def getCumulativeProduction(self) -> float: ... + def getInPlaceVolume(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def produce(self, double: float, double2: float) -> None: ... + +class WellBranch(NetworkBranch): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], wellDeliverabilityCurve: WellDeliverabilityCurve, double: float): ... + def flow(self, double: float, double2: float) -> float: ... + def getChokeFactor(self) -> float: ... + def getCurve(self) -> WellDeliverabilityCurve: ... + def getFromNode(self) -> java.lang.String: ... + def getLastRate(self) -> float: ... + def getLiftFactor(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getToNode(self) -> java.lang.String: ... + def setChokeFactor(self, double: float) -> None: ... + def setLiftFactor(self, double: float) -> None: ... + def setReferenceReservoirPressure(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.integrated")``. + + AquiferDrive: typing.Type[AquiferDrive] + FlowlineBranch: typing.Type[FlowlineBranch] + GasLiftNetworkOptimizer: typing.Type[GasLiftNetworkOptimizer] + GasLiftPerformanceCurve: typing.Type[GasLiftPerformanceCurve] + IntegratedProductionModel: typing.Type[IntegratedProductionModel] + IntegratedSolveResult: typing.Type[IntegratedSolveResult] + MaterialBalanceGasDrive: typing.Type[MaterialBalanceGasDrive] + NetworkBranch: typing.Type[NetworkBranch] + NetworkNewtonSolver: typing.Type[NetworkNewtonSolver] + NetworkNode: typing.Type[NetworkNode] + OilTankDrive: typing.Type[OilTankDrive] + ProductionProfile: typing.Type[ProductionProfile] + ReservoirDrive: typing.Type[ReservoirDrive] + ReservoirToMarketOptimizer: typing.Type[ReservoirToMarketOptimizer] + WellBranch: typing.Type[WellBranch] + WellDeliverabilityCurve: typing.Type[WellDeliverabilityCurve] + WellTestMatcher: typing.Type[WellTestMatcher] diff --git a/src/jneqsim/process/fielddevelopment/network/__init__.pyi b/src/jneqsim/process/fielddevelopment/network/__init__.pyi new file mode 100644 index 00000000..fef06dc5 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/network/__init__.pyi @@ -0,0 +1,200 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.reservoir +import jneqsim.process.equipment.stream +import jneqsim.thermo.system +import typing + + + +class MultiphaseFlowIntegrator(java.io.Serializable): + def __init__(self): ... + def calculateHydraulics(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'MultiphaseFlowIntegrator.PipelineResult': ... + def calculateHydraulicsCurve(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.List['MultiphaseFlowIntegrator.PipelineResult']: ... + def getPipelineDiameterM(self) -> float: ... + def getPipelineLengthKm(self) -> float: ... + def setElevationChange(self, double: float) -> None: ... + def setErosionalConstant(self, double: float) -> None: ... + def setMinArrivalPressure(self, double: float) -> None: ... + def setNumberOfSegments(self, int: int) -> None: ... + def setOverallHeatTransferCoeff(self, double: float) -> None: ... + def setPipelineDiameter(self, double: float) -> None: ... + def setPipelineLength(self, double: float) -> None: ... + def setPipelineRoughness(self, double: float) -> None: ... + def setSeabedTemperature(self, double: float) -> None: ... + def sizePipeline(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> float: ... + class FlowRegime(java.lang.Enum['MultiphaseFlowIntegrator.FlowRegime']): + STRATIFIED_SMOOTH: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... + STRATIFIED_WAVY: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... + INTERMITTENT: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... + ANNULAR: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... + DISPERSED_BUBBLE: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... + UNKNOWN: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... + _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]) -> 'MultiphaseFlowIntegrator.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['MultiphaseFlowIntegrator.FlowRegime']: ... + class PipelineResult(java.io.Serializable): + def __init__(self): ... + def generateReport(self) -> java.lang.String: ... + def getArrivalPressureBar(self) -> float: ... + def getArrivalTemperatureC(self) -> float: ... + def getErosionalVelocityMs(self) -> float: ... + def getErosionalVelocityRatio(self) -> float: ... + def getFlowRegime(self) -> 'MultiphaseFlowIntegrator.FlowRegime': ... + def getGasVelocityMs(self) -> float: ... + def getInfeasibilityReason(self) -> java.lang.String: ... + def getInletPressureBar(self) -> float: ... + def getInletTemperatureC(self) -> float: ... + def getLiquidHoldup(self) -> float: ... + def getLiquidVelocityMs(self) -> float: ... + def getMixtureVelocityMs(self) -> float: ... + def getPressureDropBar(self) -> float: ... + def getSlugFrequencyPerMin(self) -> float: ... + def isFeasible(self) -> bool: ... + def setArrivalPressureBar(self, double: float) -> None: ... + def setArrivalTemperatureC(self, double: float) -> None: ... + def setErosionalVelocityMs(self, double: float) -> None: ... + def setErosionalVelocityRatio(self, double: float) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setFlowRegime(self, flowRegime: 'MultiphaseFlowIntegrator.FlowRegime') -> None: ... + def setGasVelocityMs(self, double: float) -> None: ... + def setInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressureBar(self, double: float) -> None: ... + def setInletTemperatureC(self, double: float) -> None: ... + def setLiquidHoldup(self, double: float) -> None: ... + def setLiquidVelocityMs(self, double: float) -> None: ... + def setMixtureVelocityMs(self, double: float) -> None: ... + def setPressureDropBar(self, double: float) -> None: ... + def setSlugFrequencyPerMin(self, double: float) -> None: ... + +class NetworkResult(java.io.Serializable): + networkName: java.lang.String = ... + solutionMode: 'NetworkSolver.SolutionMode' = ... + manifoldPressure: float = ... + totalRate: float = ... + wellRates: java.util.Map = ... + wellheadPressures: java.util.Map = ... + flowlinePressureDrops: java.util.Map = ... + wellEnabled: java.util.Map = ... + converged: bool = ... + iterations: int = ... + residual: float = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getFlowlinePressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProducingWellCount(self) -> int: ... + def getSummaryTable(self) -> java.lang.String: ... + def getTotalRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWellRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getWellheadPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isWellEnabled(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def toString(self) -> java.lang.String: ... + +class NetworkSolver(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addWell(self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float) -> 'NetworkSolver': ... + @typing.overload + def addWell(self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float, double2: float) -> 'NetworkSolver': ... + def getCombinedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getEnabledWellCount(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getWellCount(self) -> int: ... + def isSolved(self) -> bool: ... + def setChokeOpening(self, string: typing.Union[java.lang.String, str], double: float) -> 'NetworkSolver': ... + def setManifoldPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkSolver': ... + def setMaxTotalRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkSolver': ... + def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'NetworkSolver': ... + def setSolutionMode(self, solutionMode: 'NetworkSolver.SolutionMode') -> 'NetworkSolver': ... + def setSolverParameters(self, double: float, int: int, double2: float) -> 'NetworkSolver': ... + def setTargetTotalRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkSolver': ... + def setWellEnabled(self, string: typing.Union[java.lang.String, str], boolean: bool) -> 'NetworkSolver': ... + def solve(self) -> NetworkResult: ... + class SolutionMode(java.lang.Enum['NetworkSolver.SolutionMode']): + FIXED_MANIFOLD_PRESSURE: typing.ClassVar['NetworkSolver.SolutionMode'] = ... + FIXED_TOTAL_RATE: typing.ClassVar['NetworkSolver.SolutionMode'] = ... + OPTIMIZE_ALLOCATION: typing.ClassVar['NetworkSolver.SolutionMode'] = ... + _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]) -> 'NetworkSolver.SolutionMode': ... + @staticmethod + def values() -> typing.MutableSequence['NetworkSolver.SolutionMode']: ... + class WellNode(java.io.Serializable): ... + +class TiebackRouteNetwork(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'TiebackRouteNetwork.Builder': ... + def getBranchCount(self) -> int: ... + def getEquivalentDiameterInches(self) -> float: ... + def getEquivalentHeatTransferCoefficientWm2K(self) -> float: ... + def getEquivalentSeabedTemperatureC(self) -> float: ... + def getHostHubName(self) -> java.lang.String: ... + def getInstalledLengthKm(self) -> float: ... + def getMaxWaterDepthM(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNetElevationChangeM(self) -> float: ... + def getRiserCount(self) -> int: ... + def getScreeningLengthKm(self) -> float: ... + def getSegments(self) -> java.util.List['TiebackRouteNetwork.RouteSegment']: ... + def getSharedCorridorLengthKm(self) -> float: ... + def getSummary(self) -> java.lang.String: ... + class Builder: + def addBranch(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... + def addFlowline(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... + def addRiser(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... + def addSegment(self, string: typing.Union[java.lang.String, str], segmentType: 'TiebackRouteNetwork.SegmentType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, boolean: bool) -> 'TiebackRouteNetwork.Builder': ... + def addSharedCorridor(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... + def build(self) -> 'TiebackRouteNetwork': ... + def hostHub(self, string: typing.Union[java.lang.String, str]) -> 'TiebackRouteNetwork.Builder': ... + class RouteSegment(java.io.Serializable): + def getDiameterInches(self) -> float: ... + def getHeatTransferCoefficientWm2K(self) -> float: ... + def getInletWaterDepthM(self) -> float: ... + def getLengthKm(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getOutletWaterDepthM(self) -> float: ... + def getSeabedTemperatureC(self) -> float: ... + def getType(self) -> 'TiebackRouteNetwork.SegmentType': ... + def isShared(self) -> bool: ... + class SegmentType(java.lang.Enum['TiebackRouteNetwork.SegmentType']): + FLOWLINE: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... + RISER: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... + SHARED_CORRIDOR: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... + BRANCH: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... + HUB_TIE_IN: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... + _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]) -> 'TiebackRouteNetwork.SegmentType': ... + @staticmethod + def values() -> typing.MutableSequence['TiebackRouteNetwork.SegmentType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.network")``. + + MultiphaseFlowIntegrator: typing.Type[MultiphaseFlowIntegrator] + NetworkResult: typing.Type[NetworkResult] + NetworkSolver: typing.Type[NetworkSolver] + TiebackRouteNetwork: typing.Type[TiebackRouteNetwork] diff --git a/src/jneqsim/process/fielddevelopment/reporting/__init__.pyi b/src/jneqsim/process/fielddevelopment/reporting/__init__.pyi new file mode 100644 index 00000000..8b5c3d26 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/reporting/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.fielddevelopment.economics +import jneqsim.process.fielddevelopment.evaluation +import jneqsim.process.fielddevelopment.tieback +import typing + + + +class FieldDevelopmentReportExporter: + def __init__(self): ... + def exportConceptKpisMarkdown(self, list: java.util.List[jneqsim.process.fielddevelopment.evaluation.ConceptKPIs]) -> java.lang.String: ... + def exportTemplateComparisonMarkdown(self, list: java.util.List[jneqsim.process.fielddevelopment.concept.DevelopmentCaseTemplate]) -> java.lang.String: ... + def exportTemplateNpvFigureData(self, list: java.util.List[jneqsim.process.fielddevelopment.concept.DevelopmentCaseTemplate]) -> java.util.List[typing.MutableSequence[java.lang.String]]: ... + def exportTiebackOptionsMarkdown(self, tiebackReport: jneqsim.process.fielddevelopment.tieback.TiebackReport) -> java.lang.String: ... + def exportTornadoMarkdown(self, tornadoResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.TornadoResult) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.reporting")``. + + FieldDevelopmentReportExporter: typing.Type[FieldDevelopmentReportExporter] diff --git a/src/jneqsim/process/fielddevelopment/reservoir/__init__.pyi b/src/jneqsim/process/fielddevelopment/reservoir/__init__.pyi new file mode 100644 index 00000000..3ed97fb3 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/reservoir/__init__.pyi @@ -0,0 +1,332 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.reservoir +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class InjectionStrategy(java.io.Serializable): + def __init__(self, strategyType: 'InjectionStrategy.StrategyType'): ... + def calculateInjection(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, double: float, double2: float, double3: float) -> 'InjectionStrategy.InjectionResult': ... + @staticmethod + def gasInjection(double: float) -> 'InjectionStrategy': ... + def getStrategyType(self) -> 'InjectionStrategy.StrategyType': ... + def getTargetVRR(self) -> float: ... + @staticmethod + def pressureMaintenance(double: float) -> 'InjectionStrategy': ... + def setInjectionTemperature(self, double: float) -> 'InjectionStrategy': ... + def setMaxGasRate(self, double: float) -> 'InjectionStrategy': ... + def setMaxWaterRate(self, double: float) -> 'InjectionStrategy': ... + def setTargetVRR(self, double: float) -> 'InjectionStrategy': ... + @staticmethod + def wag(double: float, double2: float) -> 'InjectionStrategy': ... + @staticmethod + def waterInjection(double: float) -> 'InjectionStrategy': ... + class InjectionResult(java.io.Serializable): + strategyType: 'InjectionStrategy.StrategyType' = ... + waterInjectionRate: float = ... + gasInjectionRate: float = ... + productionVoidage: float = ... + achievedVRR: float = ... + def __init__(self): ... + def toString(self) -> java.lang.String: ... + class StrategyType(java.lang.Enum['InjectionStrategy.StrategyType']): + NATURAL_DEPLETION: typing.ClassVar['InjectionStrategy.StrategyType'] = ... + WATER_INJECTION: typing.ClassVar['InjectionStrategy.StrategyType'] = ... + GAS_INJECTION: typing.ClassVar['InjectionStrategy.StrategyType'] = ... + WAG: typing.ClassVar['InjectionStrategy.StrategyType'] = ... + PRESSURE_MAINTENANCE: typing.ClassVar['InjectionStrategy.StrategyType'] = ... + _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]) -> 'InjectionStrategy.StrategyType': ... + @staticmethod + def values() -> typing.MutableSequence['InjectionStrategy.StrategyType']: ... + +class InjectionWellModel(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, injectionType: 'InjectionWellModel.InjectionType'): ... + def addZone(self, injectionZone: 'InjectionWellModel.InjectionZone') -> None: ... + def calculate(self, double: float) -> 'InjectionWellModel.InjectionWellResult': ... + def calculateMaximumRate(self) -> 'InjectionWellModel.InjectionWellResult': ... + def calculateMultiZone(self, double: float) -> 'InjectionWellModel.MultiZoneInjectionResult': ... + def calculateWithInterference(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'InjectionWellModel.InjectionWellResult': ... + def getEffectiveFracturePressure(self) -> float: ... + def getThermalStressReduction(self) -> float: ... + def getZoneResults(self) -> java.util.List['InjectionWellModel.InjectionZoneResult']: ... + def getZones(self) -> java.util.List['InjectionWellModel.InjectionZone']: ... + def isThermalStressEnabled(self) -> bool: ... + def setDrainageRadius(self, double: float) -> 'InjectionWellModel': ... + def setFormationPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setFormationThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setFracturePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setMaxBHP(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setPoissonsRatio(self, double: float) -> None: ... + def setPumpEfficiency(self, double: float) -> 'InjectionWellModel': ... + def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setReservoirTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setSkinFactor(self, double: float) -> 'InjectionWellModel': ... + def setSurfaceInjectionPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setThermalStressReduction(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setTubingID(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setWaterViscosity(self, double: float) -> 'InjectionWellModel': ... + def setWellDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setWellType(self, injectionType: 'InjectionWellModel.InjectionType') -> 'InjectionWellModel': ... + def setWellboreRadius(self, double: float) -> 'InjectionWellModel': ... + class InjectionPattern(java.io.Serializable): + def __init__(self, patternType: 'InjectionWellModel.InjectionPattern.PatternType'): ... + def getArealSweepEfficiency(self, double: float) -> float: ... + def getWellSpacing(self) -> float: ... + def setWellSpacing(self, double: float) -> 'InjectionWellModel.InjectionPattern': ... + class PatternType(java.lang.Enum['InjectionWellModel.InjectionPattern.PatternType']): + FIVE_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + INVERTED_FIVE_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + LINE_DRIVE: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + STAGGERED_LINE_DRIVE: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + SEVEN_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + NINE_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + PERIPHERAL: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... + _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]) -> 'InjectionWellModel.InjectionPattern.PatternType': ... + @staticmethod + def values() -> typing.MutableSequence['InjectionWellModel.InjectionPattern.PatternType']: ... + class InjectionType(java.lang.Enum['InjectionWellModel.InjectionType']): + WATER_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... + GAS_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... + CO2_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... + WAG_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... + _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]) -> 'InjectionWellModel.InjectionType': ... + @staticmethod + def values() -> typing.MutableSequence['InjectionWellModel.InjectionType']: ... + class InjectionWellResult(java.io.Serializable): + injectionType: 'InjectionWellModel.InjectionType' = ... + targetRate: float = ... + achievableRate: float = ... + injectivityIndex: float = ... + requiredBHP: float = ... + bottomholePressure: float = ... + wellheadPressure: float = ... + limitedByPressure: bool = ... + needsPump: bool = ... + requiredPumpDeltaP: float = ... + pumpPower: float = ... + hallSlope: float = ... + expectedHallSlope: float = ... + skinContribution: float = ... + interferencePressure: float = ... + effectiveReservoirPressure: float = ... + achievableRateWithInterference: float = ... + def __init__(self): ... + def getAchievableRate(self) -> float: ... + def getBottomholePressure(self) -> float: ... + def getInjectivityIndex(self) -> float: ... + def getPumpPower(self) -> float: ... + def getWellheadPressure(self) -> float: ... + def toString(self) -> java.lang.String: ... + class InjectionZone(java.io.Serializable): + name: java.lang.String = ... + depth: float = ... + reservoirPressure: float = ... + permeability: float = ... + thickness: float = ... + skinFactor: float = ... + fracturePressure: float = ... + isTargetZone: bool = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + class InjectionZoneResult(java.io.Serializable): + zoneName: java.lang.String = ... + rate: float = ... + injectivityIndex: float = ... + allocationFraction: float = ... + fractureRisk: bool = ... + isTargetZone: bool = ... + hallSlope: float = ... + def __init__(self): ... + class MultiZoneInjectionResult(java.io.Serializable): + zoneResults: java.util.List = ... + totalRate: float = ... + injectionEfficiency: float = ... + outOfZoneRate: float = ... + commonBHP: float = ... + def __init__(self): ... + def getInjectionEfficiency(self) -> float: ... + def getOutOfZoneRate(self) -> float: ... + def getTotalRate(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class ReservoirCouplingExporter(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addGroupConstraint(self, date: java.util.Date, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addVfpReference(self, date: java.util.Date, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def addWellControl(self, date: java.util.Date, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def clear(self) -> None: ... + def exportProductionForecastCsv(self, intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> java.lang.String: ... + def exportSeparatorEfficiency(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.lang.String: ... + def exportToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def generateVfpInj(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> 'ReservoirCouplingExporter.VfpTable': ... + def generateVfpProd(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> 'ReservoirCouplingExporter.VfpTable': ... + def getEclipseKeywords(self) -> java.lang.String: ... + def getVfpTables(self) -> java.util.List['ReservoirCouplingExporter.VfpTable']: ... + def setDatumDepth(self, double: float) -> None: ... + def setFormat(self, exportFormat: 'ReservoirCouplingExporter.ExportFormat') -> None: ... + def setGorRange(self, double: float, double2: float, int: int) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setRateRange(self, double: float, double2: float, int: int) -> None: ... + def setWctRange(self, double: float, double2: float, int: int) -> None: ... + class ExportFormat(java.lang.Enum['ReservoirCouplingExporter.ExportFormat']): + ECLIPSE_100: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... + E300_COMPOSITIONAL: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... + INTERSECT: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... + CSV: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... + _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]) -> 'ReservoirCouplingExporter.ExportFormat': ... + @staticmethod + def values() -> typing.MutableSequence['ReservoirCouplingExporter.ExportFormat']: ... + class ScheduleEntry(java.io.Serializable): + def __init__(self, date: java.util.Date, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getContent(self) -> java.lang.String: ... + def getDate(self) -> java.util.Date: ... + def getKeyword(self) -> java.lang.String: ... + class VfpTable(java.io.Serializable): + def __init__(self): ... + def getBhpValues(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]]: ... + def getDatumDepth(self) -> float: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getGorValues(self) -> typing.MutableSequence[float]: ... + def getTableNumber(self) -> int: ... + def getThpValues(self) -> typing.MutableSequence[float]: ... + def getWctValues(self) -> typing.MutableSequence[float]: ... + def getWellName(self) -> java.lang.String: ... + def setDatumDepth(self, double: float) -> None: ... + def setTableNumber(self, int: int) -> None: ... + def setWellName(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class TransientWellModel(java.io.Serializable): + def __init__(self): ... + def addRateChange(self, double: float, double2: float) -> 'TransientWellModel': ... + def calculateBuildup(self, double: float) -> 'TransientWellModel.BuildupResult': ... + def calculateDrawdown(self, double: float, double2: float) -> 'TransientWellModel.DrawdownResult': ... + def calculatePressureWithSuperposition(self, double: float) -> float: ... + def clearRateHistory(self) -> 'TransientWellModel': ... + def generateLogTimePoints(self, double: float, double2: float, int: int) -> typing.MutableSequence[float]: ... + def generatePressureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.List['TransientWellModel.PressurePoint']: ... + def getHydraulicDiffusivity(self) -> float: ... + def getInitialPressure(self) -> float: ... + def getRateHistory(self) -> java.util.List['TransientWellModel.RateChange']: ... + def getTransmissibility(self) -> float: ... + def setBoundaryType(self, boundaryType: 'TransientWellModel.BoundaryType') -> 'TransientWellModel': ... + def setDrainageRadius(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + def setFluidViscosity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + def setFormationThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + def setFormationVolumeFactor(self, double: float) -> 'TransientWellModel': ... + def setPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + def setPorosity(self, double: float) -> 'TransientWellModel': ... + def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + def setSkinFactor(self, double: float) -> 'TransientWellModel': ... + def setTotalCompressibility(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + def setWellType(self, wellType: 'TransientWellModel.WellType') -> 'TransientWellModel': ... + def setWellboreRadius(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... + class BoundaryType(java.lang.Enum['TransientWellModel.BoundaryType']): + INFINITE: typing.ClassVar['TransientWellModel.BoundaryType'] = ... + NO_FLOW: typing.ClassVar['TransientWellModel.BoundaryType'] = ... + CONSTANT_PRESSURE: typing.ClassVar['TransientWellModel.BoundaryType'] = ... + _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]) -> 'TransientWellModel.BoundaryType': ... + @staticmethod + def values() -> typing.MutableSequence['TransientWellModel.BoundaryType']: ... + class BuildupResult(java.io.Serializable): + shutInTime: float = ... + producingTime: float = ... + rateBeforeShutIn: float = ... + shutInPressure: float = ... + initialPressure: float = ... + pressureRecovery: float = ... + permeabilityFromSlope: float = ... + skinFromIntercept: float = ... + extrapolatedPressure: float = ... + hornerSlope: float = ... + def __init__(self): ... + def toString(self) -> java.lang.String: ... + class DrawdownResult(java.io.Serializable): + time: float = ... + flowRate: float = ... + initialPressure: float = ... + flowingPressure: float = ... + drawdown: float = ... + radiusOfInvestigation: float = ... + infiniteActing: bool = ... + productivityIndex: float = ... + def __init__(self): ... + def toString(self) -> java.lang.String: ... + class PressurePoint(java.io.Serializable): + time: float = ... + pressure: float = ... + rate: float = ... + def __init__(self, double: float, double2: float, double3: float): ... + class RateChange(java.io.Serializable): + time: float = ... + rate: float = ... + def __init__(self, double: float, double2: float): ... + class WellType(java.lang.Enum['TransientWellModel.WellType']): + OIL_PRODUCER: typing.ClassVar['TransientWellModel.WellType'] = ... + GAS_PRODUCER: typing.ClassVar['TransientWellModel.WellType'] = ... + WATER_INJECTOR: typing.ClassVar['TransientWellModel.WellType'] = ... + GAS_INJECTOR: typing.ClassVar['TransientWellModel.WellType'] = ... + _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]) -> 'TransientWellModel.WellType': ... + @staticmethod + def values() -> typing.MutableSequence['TransientWellModel.WellType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.reservoir")``. + + InjectionStrategy: typing.Type[InjectionStrategy] + InjectionWellModel: typing.Type[InjectionWellModel] + ReservoirCouplingExporter: typing.Type[ReservoirCouplingExporter] + TransientWellModel: typing.Type[TransientWellModel] diff --git a/src/jneqsim/process/fielddevelopment/screening/__init__.pyi b/src/jneqsim/process/fielddevelopment/screening/__init__.pyi new file mode 100644 index 00000000..10941356 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/screening/__init__.pyi @@ -0,0 +1,597 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.fielddevelopment.facility +import typing + + + +class ArtificialLiftScreener(java.io.Serializable): + def __init__(self): ... + def screen(self) -> 'ArtificialLiftScreener.ScreeningResult': ... + def setBubblePointPressure(self, double: float) -> 'ArtificialLiftScreener': ... + def setElectricityAvailable(self, boolean: bool) -> 'ArtificialLiftScreener': ... + def setElectricityPower(self, double: float) -> 'ArtificialLiftScreener': ... + def setFormationGOR(self, double: float) -> 'ArtificialLiftScreener': ... + def setGasLiftAvailable(self, boolean: bool) -> 'ArtificialLiftScreener': ... + def setGasLiftPressure(self, double: float) -> 'ArtificialLiftScreener': ... + def setOilGravity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... + def setOilPrice(self, double: float) -> 'ArtificialLiftScreener': ... + def setOilViscosity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... + def setProductivityIndex(self, double: float) -> 'ArtificialLiftScreener': ... + def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... + def setReservoirTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... + def setTubingID(self, double: float) -> 'ArtificialLiftScreener': ... + def setWaterCut(self, double: float) -> 'ArtificialLiftScreener': ... + def setWellDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... + def setWellheadPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... + class LiftMethod(java.lang.Enum['ArtificialLiftScreener.LiftMethod']): + NATURAL_FLOW: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + GAS_LIFT: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + ESP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + ROD_PUMP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + PCP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + JET_PUMP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getTypicalCapex(self) -> float: ... + def getTypicalOpex(self) -> float: ... + _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]) -> 'ArtificialLiftScreener.LiftMethod': ... + @staticmethod + def values() -> typing.MutableSequence['ArtificialLiftScreener.LiftMethod']: ... + class MethodResult(java.io.Serializable): + method: 'ArtificialLiftScreener.LiftMethod' = ... + feasible: bool = ... + infeasibilityReason: java.lang.String = ... + productionRate: float = ... + powerConsumption: float = ... + liftIncrease: float = ... + capex: float = ... + opex: float = ... + npv: float = ... + rank: int = ... + additionalInfo: java.lang.String = ... + def __init__(self, liftMethod: 'ArtificialLiftScreener.LiftMethod'): ... + def calculateEconomics(self, double: float, double2: float, int: int) -> None: ... + def getMethodName(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class ScreeningResult(java.io.Serializable): + wellDepth: float = ... + reservoirPressure: float = ... + reservoirTemperature: float = ... + productivityIndex: float = ... + waterCut: float = ... + naturalFlowRate: float = ... + def __init__(self): ... + def addMethod(self, methodResult: 'ArtificialLiftScreener.MethodResult') -> None: ... + def getAllMethods(self) -> java.util.List['ArtificialLiftScreener.MethodResult']: ... + def getFeasibleMethods(self) -> java.util.List['ArtificialLiftScreener.MethodResult']: ... + def getRecommendedMethod(self) -> 'ArtificialLiftScreener.LiftMethod': ... + def getRecommendedMethodResult(self) -> 'ArtificialLiftScreener.MethodResult': ... + def rankMethods(self) -> None: ... + def toString(self) -> java.lang.String: ... + +class DetailedEmissionsCalculator(java.io.Serializable): + def __init__(self): ... + def addCombinedCycleTurbine(self, string: typing.Union[java.lang.String, str], double: float) -> 'DetailedEmissionsCalculator': ... + def addDieselEngine(self, string: typing.Union[java.lang.String, str], double: float) -> 'DetailedEmissionsCalculator': ... + def addGasTurbine(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... + def addHeater(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... + def calculate(self) -> 'DetailedEmissionsCalculator.DetailedEmissionsReport': ... + def setColdVentingRate(self, double: float) -> 'DetailedEmissionsCalculator': ... + def setComponentCounts(self, int: int, int2: int, int3: int, int4: int) -> 'DetailedEmissionsCalculator': ... + def setFlareEfficiency(self, double: float) -> 'DetailedEmissionsCalculator': ... + def setFlaringRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... + def setFugitiveRate(self, double: float) -> 'DetailedEmissionsCalculator': ... + def setGasProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... + def setOilProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... + def setOperatingHours(self, double: float) -> 'DetailedEmissionsCalculator': ... + def setProducedCO2(self, double: float, boolean: bool) -> 'DetailedEmissionsCalculator': ... + def setPurchasedElectricity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... + def setTankBreathingRate(self, double: float) -> 'DetailedEmissionsCalculator': ... + class CombustionType(java.lang.Enum['DetailedEmissionsCalculator.CombustionType']): + GAS_TURBINE_SIMPLE: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... + GAS_TURBINE_COMBINED: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... + FIRED_HEATER: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... + DIESEL_ENGINE: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... + _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]) -> 'DetailedEmissionsCalculator.CombustionType': ... + @staticmethod + def values() -> typing.MutableSequence['DetailedEmissionsCalculator.CombustionType']: ... + class DetailedEmissionsReport(java.io.Serializable): + totalProductionBoePerYear: float = ... + oilProductionBblPerYear: float = ... + gasProductionMSm3PerYear: float = ... + scope1Total: float = ... + scope2Total: float = ... + totalEmissions: float = ... + intensityKgCO2PerBoe: float = ... + rating: java.lang.String = ... + scope1Breakdown: java.util.Map = ... + scope2Breakdown: java.util.Map = ... + emissionsBySource: java.util.Map = ... + def __init__(self): ... + def getEmissionsBySource(self) -> java.util.Map[java.lang.String, float]: ... + def getIntensity(self) -> float: ... + def getScope1Emissions(self) -> float: ... + def getScope2Emissions(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class EconomicsEstimator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, regionalCostFactors: 'RegionalCostFactors'): ... + def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EconomicsEstimator.EconomicsReport': ... + def getRegionCode(self) -> java.lang.String: ... + def getRegionName(self) -> java.lang.String: ... + def getRegionalFactors(self) -> 'RegionalCostFactors': ... + def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EconomicsEstimator.EconomicsReport': ... + def setRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRegionalFactors(self, regionalCostFactors: 'RegionalCostFactors') -> None: ... + class EconomicsReport(java.io.Serializable): + @staticmethod + def builder() -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def getAccuracyRangePercent(self) -> float: ... + def getAnnualOpexMUSD(self) -> float: ... + def getCapexBreakdown(self) -> java.util.Map[java.lang.String, float]: ... + def getCapexHighMUSD(self) -> float: ... + def getCapexLowMUSD(self) -> float: ... + def getCapexPerBoeUSD(self) -> float: ... + def getEquipmentCapexMUSD(self) -> float: ... + def getFacilityCapexMUSD(self) -> float: ... + def getInfrastructureCapexMUSD(self) -> float: ... + def getOpexBreakdown(self) -> java.util.Map[java.lang.String, float]: ... + def getOpexPerBoeUSD(self) -> float: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCapexMUSD(self) -> float: ... + def getWellCapexMUSD(self) -> float: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def accuracyRangePercent(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def addCapexItem(self, string: typing.Union[java.lang.String, str], double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def addOpexItem(self, string: typing.Union[java.lang.String, str], double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def annualOpexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def build(self) -> 'EconomicsEstimator.EconomicsReport': ... + def capexPerBoeUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def equipmentCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def facilityCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def infrastructureCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def opexPerBoeUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def totalCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def wellCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + +class EmissionsTracker: + def __init__(self): ... + def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EmissionsTracker.EmissionsReport': ... + def estimateLifecycle(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> 'LifecycleEmissionsProfile': ... + def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EmissionsTracker.EmissionsReport': ... + class EmissionsReport(java.io.Serializable): + @staticmethod + def builder() -> 'EmissionsTracker.EmissionsReport.Builder': ... + def getEmissionSources(self) -> java.util.Map[java.lang.String, float]: ... + def getFlaringEmissionsTonnesPerYear(self) -> float: ... + def getFugitiveEmissionsTonnesPerYear(self) -> float: ... + def getIntensityClass(self) -> java.lang.String: ... + def getIntensityKgCO2PerBoe(self) -> float: ... + def getPowerEmissionsTonnesPerYear(self) -> float: ... + def getPowerSource(self) -> java.lang.String: ... + def getSummary(self) -> java.lang.String: ... + def getTotalEmissionsTonnesPerYear(self) -> float: ... + def getTotalPowerMW(self) -> float: ... + def getVentedCO2TonnesPerYear(self) -> float: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addEmissionSource(self, string: typing.Union[java.lang.String, str], double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def build(self) -> 'EmissionsTracker.EmissionsReport': ... + def flaringEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def fugitiveEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def intensityKgCO2PerBoe(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def powerEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def powerSource(self, string: typing.Union[java.lang.String, str]) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def totalEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def totalPowerMW(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def ventedCO2TonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + +class EnergyEfficiencyCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> 'EnergyEfficiencyCalculator.EnergyReport': ... + def calculateFromConcept(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EnergyEfficiencyCalculator.EnergyReport': ... + def setCompressorEfficiency(self, double: float) -> 'EnergyEfficiencyCalculator': ... + def setCompressorPower(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... + def setCoolingDuty(self, double: float) -> 'EnergyEfficiencyCalculator': ... + def setDriverType(self, driverType: 'EnergyEfficiencyCalculator.DriverType') -> 'EnergyEfficiencyCalculator': ... + def setElectricalLoad(self, double: float) -> 'EnergyEfficiencyCalculator': ... + def setFacilityType(self, facilityType: 'EnergyEfficiencyCalculator.FacilityType') -> 'EnergyEfficiencyCalculator': ... + def setFlaringRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... + def setGasProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... + def setHasWasteHeatRecovery(self, boolean: bool) -> 'EnergyEfficiencyCalculator': ... + def setHeaterEfficiency(self, double: float) -> 'EnergyEfficiencyCalculator': ... + def setHeatingDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... + def setOilProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... + def setPumpEfficiency(self, double: float) -> 'EnergyEfficiencyCalculator': ... + def setPumpPower(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... + class DriverType(java.lang.Enum['EnergyEfficiencyCalculator.DriverType']): + GAS_TURBINE: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... + COMBINED_CYCLE: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... + POWER_FROM_SHORE: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... + DIESEL: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... + _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]) -> 'EnergyEfficiencyCalculator.DriverType': ... + @staticmethod + def values() -> typing.MutableSequence['EnergyEfficiencyCalculator.DriverType']: ... + class EnergyReport(java.io.Serializable): + totalProductionBoePerDay: float = ... + totalElectricPowerKW: float = ... + totalHeatingDutyKW: float = ... + totalCoolingDutyKW: float = ... + specificEnergyConsumption: float = ... + referenceSEC: float = ... + energyEfficiencyIndex: float = ... + flaringIntensity: float = ... + fuelGasConsumption: float = ... + totalEnergyLossKW: float = ... + totalAvailableWasteHeatKW: float = ... + totalHeatDemandKW: float = ... + potentialHeatRecoveryKW: float = ... + totalPotentialSavingsKW: float = ... + powerBreakdown: java.util.Map = ... + energyLosses: java.util.Map = ... + wasteHeatSources: java.util.Map = ... + heatSinks: java.util.Map = ... + recommendations: java.util.List = ... + def __init__(self): ... + def getEfficiencyRating(self) -> java.lang.String: ... + def getEnergyEfficiencyIndex(self) -> float: ... + def getPotentialSavings(self) -> float: ... + def getSpecificEnergyConsumption(self) -> float: ... + def toString(self) -> java.lang.String: ... + class FacilityType(java.lang.Enum['EnergyEfficiencyCalculator.FacilityType']): + PLATFORM: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... + FPSO: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... + SUBSEA: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... + ONSHORE: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... + _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]) -> 'EnergyEfficiencyCalculator.FacilityType': ... + @staticmethod + def values() -> typing.MutableSequence['EnergyEfficiencyCalculator.FacilityType']: ... + class Recommendation(java.io.Serializable): + category: java.lang.String = ... + description: java.lang.String = ... + potentialSavingsKW: float = ... + estimatedCapex: float = ... + paybackYears: float = ... + def __init__(self): ... + +class FlowAssuranceReport(java.io.Serializable): + def allPass(self) -> bool: ... + def anyFail(self) -> bool: ... + @staticmethod + def builder() -> 'FlowAssuranceReport.Builder': ... + def getAsphalteneResult(self) -> 'FlowAssuranceResult': ... + def getCorrosionResult(self) -> 'FlowAssuranceResult': ... + def getErosionResult(self) -> 'FlowAssuranceResult': ... + def getHydrateFormationTempC(self) -> float: ... + def getHydrateMarginC(self) -> float: ... + def getHydrateResult(self) -> 'FlowAssuranceResult': ... + def getMinOperatingTempC(self) -> float: ... + def getMitigationOptions(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getOverallResult(self) -> 'FlowAssuranceResult': ... + def getRecommendations(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getScalingResult(self) -> 'FlowAssuranceResult': ... + def getSummary(self) -> java.lang.String: ... + def getWaxAppearanceTempC(self) -> float: ... + def getWaxMarginC(self) -> float: ... + def getWaxResult(self) -> 'FlowAssuranceResult': ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addMitigationOption(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'FlowAssuranceReport.Builder': ... + def addRecommendation(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'FlowAssuranceReport.Builder': ... + def asphalteneResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... + def build(self) -> 'FlowAssuranceReport': ... + def corrosionResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... + def erosionResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... + def hydrateFormationTemp(self, double: float) -> 'FlowAssuranceReport.Builder': ... + def hydrateMargin(self, double: float) -> 'FlowAssuranceReport.Builder': ... + def hydrateResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... + def minOperatingTemp(self, double: float) -> 'FlowAssuranceReport.Builder': ... + def scalingResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... + def waxAppearanceTemp(self, double: float) -> 'FlowAssuranceReport.Builder': ... + def waxMargin(self, double: float) -> 'FlowAssuranceReport.Builder': ... + def waxResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... + +class FlowAssuranceResult(java.lang.Enum['FlowAssuranceResult']): + PASS: typing.ClassVar['FlowAssuranceResult'] = ... + MARGINAL: typing.ClassVar['FlowAssuranceResult'] = ... + FAIL: typing.ClassVar['FlowAssuranceResult'] = ... + def combine(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceResult': ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def isBlocking(self) -> bool: ... + def isSafe(self) -> bool: ... + def needsAttention(self) -> bool: ... + _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]) -> 'FlowAssuranceResult': ... + @staticmethod + def values() -> typing.MutableSequence['FlowAssuranceResult']: ... + +class FlowAssuranceScreener: + def __init__(self): ... + def quickScreen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> FlowAssuranceReport: ... + def screen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, double: float, double2: float) -> FlowAssuranceReport: ... + +class GasLiftCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> 'GasLiftCalculator.GasLiftResult': ... + def setBubblePointPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setCompressorEfficiency(self, double: float) -> 'GasLiftCalculator': ... + def setFormationGOR(self, double: float) -> 'GasLiftCalculator': ... + def setInjectionPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setOilGravity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setProductivityIndex(self, double: float) -> 'GasLiftCalculator': ... + def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setReservoirTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setTubingID(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setWaterCut(self, double: float) -> 'GasLiftCalculator': ... + def setWellDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def setWellheadPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + class GasLiftResult(java.io.Serializable): + naturalFlowRate: float = ... + optimalGLR: float = ... + oilRateAtOptimal: float = ... + injectionRateAtOptimal: float = ... + compressionPower: float = ... + liftIncrease: float = ... + feasible: bool = ... + valvePositions: java.util.List = ... + performanceCurve: java.util.List = ... + def __init__(self): ... + def getCompressionPower(self) -> float: ... + def getInjectionRate(self) -> float: ... + def getOilRate(self) -> float: ... + def getOptimalGLR(self) -> float: ... + def getValveCount(self) -> int: ... + def toString(self) -> java.lang.String: ... + class PerformancePoint(java.io.Serializable): + totalGLR: float = ... + injectionGLR: float = ... + productionRate: float = ... + injectionRate: float = ... + def __init__(self): ... + class ValvePosition(java.io.Serializable): + valveNumber: int = ... + depth: float = ... + openingPressure: float = ... + closingPressure: float = ... + isOperatingValve: bool = ... + def __init__(self): ... + def toString(self) -> java.lang.String: ... + +class GasLiftOptimizer(java.io.Serializable): + def __init__(self): ... + @typing.overload + def addWell(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'GasLiftOptimizer': ... + @typing.overload + def addWell(self, string: typing.Union[java.lang.String, str], performanceCurve: 'GasLiftOptimizer.PerformanceCurve', double: float) -> 'GasLiftOptimizer': ... + def getWellCount(self) -> int: ... + def optimize(self) -> 'GasLiftOptimizer.AllocationResult': ... + def setAvailableGas(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftOptimizer': ... + def setCompressionEfficiency(self, double: float) -> 'GasLiftOptimizer': ... + def setCompressionPressures(self, double: float, double2: float) -> 'GasLiftOptimizer': ... + def setMaxCompressionPower(self, double: float) -> 'GasLiftOptimizer': ... + def setOptimizationMethod(self, optimizationMethod: 'GasLiftOptimizer.OptimizationMethod') -> 'GasLiftOptimizer': ... + def setWellEnabled(self, string: typing.Union[java.lang.String, str], boolean: bool) -> 'GasLiftOptimizer': ... + def setWellPriority(self, string: typing.Union[java.lang.String, str], double: float) -> 'GasLiftOptimizer': ... + class AllocationResult(java.io.Serializable): + allocations: java.util.List = ... + totalOilRate: float = ... + totalNaturalFlow: float = ... + totalIncrementalOil: float = ... + totalGasAllocated: float = ... + availableGas: float = ... + gasUtilization: float = ... + fieldGasEfficiency: float = ... + compressionPower: float = ... + method: 'GasLiftOptimizer.OptimizationMethod' = ... + iterations: int = ... + converged: bool = ... + def __init__(self): ... + def getAllocation(self, string: typing.Union[java.lang.String, str]) -> 'GasLiftOptimizer.WellAllocation': ... + def toString(self) -> java.lang.String: ... + class OptimizationMethod(java.lang.Enum['GasLiftOptimizer.OptimizationMethod']): + EQUAL_SLOPE: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... + PROPORTIONAL: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... + SEQUENTIAL: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... + GRADIENT: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... + _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]) -> 'GasLiftOptimizer.OptimizationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['GasLiftOptimizer.OptimizationMethod']: ... + class PerformanceCurve(java.io.Serializable): + gasRates: typing.MutableSequence[float] = ... + oilRates: typing.MutableSequence[float] = ... + naturalFlowRate: float = ... + optimalGLR: float = ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def getMarginalResponse(self, double: float) -> float: ... + def getOilRate(self, double: float) -> float: ... + class WellAllocation(java.io.Serializable): + wellName: java.lang.String = ... + gasRate: float = ... + oilRate: float = ... + naturalFlowRate: float = ... + incrementalOil: float = ... + marginalResponse: float = ... + gasEfficiency: float = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + class WellData(java.io.Serializable): ... + +class LifecycleEmissionsProfile(java.io.Serializable): + def __init__(self, list: java.util.List['LifecycleEmissionsProfile.AnnualEmissions']): ... + @staticmethod + def empty() -> 'LifecycleEmissionsProfile': ... + def getAnnualEmissions(self) -> java.util.List['LifecycleEmissionsProfile.AnnualEmissions']: ... + def getAverageIntensityKgCO2PerBoe(self) -> float: ... + def getPeakAnnualEmissionsTonnes(self) -> float: ... + def getTotalLifecycleEmissionsTonnes(self) -> float: ... + def hasData(self) -> bool: ... + class AnnualEmissions(java.io.Serializable): + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str], double5: float, double6: float, double7: float, double8: float): ... + def getFlaringEmissionsTonnes(self) -> float: ... + def getFugitiveEmissionsTonnes(self) -> float: ... + def getIntensityKgCO2PerBoe(self) -> float: ... + def getLoadFactor(self) -> float: ... + def getPowerEmissionsTonnes(self) -> float: ... + def getPowerMw(self) -> float: ... + def getPowerSource(self) -> java.lang.String: ... + def getProduction(self) -> float: ... + def getProductionBoe(self) -> float: ... + def getTotalEmissionsTonnes(self) -> float: ... + def getVentedCo2Tonnes(self) -> float: ... + def getYear(self) -> int: ... + +class RegionalCostFactors(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, string3: typing.Union[java.lang.String, str]): ... + def adjustCapex(self, double: float) -> float: ... + def adjustOpex(self, double: float) -> float: ... + def adjustWellCost(self, double: float) -> float: ... + @staticmethod + def forRegion(string: typing.Union[java.lang.String, str]) -> 'RegionalCostFactors': ... + @staticmethod + def forRegionOrDefault(string: typing.Union[java.lang.String, str]) -> 'RegionalCostFactors': ... + @staticmethod + def getAllRegions() -> java.util.Map[java.lang.String, 'RegionalCostFactors']: ... + def getCapexFactor(self) -> float: ... + def getLaborFactor(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + def getOpexFactor(self) -> float: ... + def getOverallFactor(self) -> float: ... + def getRegionCode(self) -> java.lang.String: ... + def getRegionName(self) -> java.lang.String: ... + @staticmethod + def getSummaryTable() -> java.lang.String: ... + def getWellCostFactor(self) -> float: ... + @staticmethod + def isRegistered(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def register(regionalCostFactors: 'RegionalCostFactors') -> None: ... + def toString(self) -> java.lang.String: ... + +class SafetyReport(java.io.Serializable): + @staticmethod + def builder() -> 'SafetyReport.Builder': ... + def getEstimatedBlowdownTimeMinutes(self) -> float: ... + def getInventoryTonnes(self) -> float: ... + def getMinimumMetalTempC(self) -> float: ... + def getOverallLevel(self) -> 'SafetyReport.SafetyLevel': ... + def getPsvRequiredCapacityKgPerHr(self) -> float: ... + def getRequirements(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getScenarios(self) -> java.util.Map[java.lang.String, float]: ... + def getSummary(self) -> java.lang.String: ... + def isH2sPresent(self) -> bool: ... + def isHighPressure(self) -> bool: ... + def isMannedFacility(self) -> bool: ... + def meetsBlowdownTarget(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addRequirement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SafetyReport.Builder': ... + def addScenario(self, string: typing.Union[java.lang.String, str], double: float) -> 'SafetyReport.Builder': ... + def blowdownTime(self, double: float) -> 'SafetyReport.Builder': ... + def build(self) -> 'SafetyReport': ... + def h2sPresent(self, boolean: bool) -> 'SafetyReport.Builder': ... + def highPressure(self, boolean: bool) -> 'SafetyReport.Builder': ... + def inventory(self, double: float) -> 'SafetyReport.Builder': ... + def mannedFacility(self, boolean: bool) -> 'SafetyReport.Builder': ... + def minimumMetalTemp(self, double: float) -> 'SafetyReport.Builder': ... + def overallLevel(self, safetyLevel: 'SafetyReport.SafetyLevel') -> 'SafetyReport.Builder': ... + def psvCapacity(self, double: float) -> 'SafetyReport.Builder': ... + class SafetyLevel(java.lang.Enum['SafetyReport.SafetyLevel']): + STANDARD: typing.ClassVar['SafetyReport.SafetyLevel'] = ... + ENHANCED: typing.ClassVar['SafetyReport.SafetyLevel'] = ... + HIGH: typing.ClassVar['SafetyReport.SafetyLevel'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(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]) -> 'SafetyReport.SafetyLevel': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyReport.SafetyLevel']: ... + +class SafetyScreener: + def __init__(self): ... + def quickScreen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> SafetyReport: ... + def screen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> SafetyReport: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.screening")``. + + ArtificialLiftScreener: typing.Type[ArtificialLiftScreener] + DetailedEmissionsCalculator: typing.Type[DetailedEmissionsCalculator] + EconomicsEstimator: typing.Type[EconomicsEstimator] + EmissionsTracker: typing.Type[EmissionsTracker] + EnergyEfficiencyCalculator: typing.Type[EnergyEfficiencyCalculator] + FlowAssuranceReport: typing.Type[FlowAssuranceReport] + FlowAssuranceResult: typing.Type[FlowAssuranceResult] + FlowAssuranceScreener: typing.Type[FlowAssuranceScreener] + GasLiftCalculator: typing.Type[GasLiftCalculator] + GasLiftOptimizer: typing.Type[GasLiftOptimizer] + LifecycleEmissionsProfile: typing.Type[LifecycleEmissionsProfile] + RegionalCostFactors: typing.Type[RegionalCostFactors] + SafetyReport: typing.Type[SafetyReport] + SafetyScreener: typing.Type[SafetyScreener] diff --git a/src/jneqsim/process/fielddevelopment/subsea/__init__.pyi b/src/jneqsim/process/fielddevelopment/subsea/__init__.pyi new file mode 100644 index 00000000..1c111a4c --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/subsea/__init__.pyi @@ -0,0 +1,87 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.subsea +import jneqsim.process.fielddevelopment.tieback +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class SubseaProductionSystem(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def build(self) -> 'SubseaProductionSystem': ... + def getArchitecture(self) -> 'SubseaProductionSystem.SubseaArchitecture': ... + def getArrivalPressureBara(self) -> float: ... + def getArrivalTemperatureC(self) -> float: ... + def getFlowlineDiameterInches(self) -> float: ... + def getFlowlines(self) -> java.util.List[jneqsim.process.equipment.subsea.SimpleFlowLine]: ... + def getName(self) -> java.lang.String: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getResult(self) -> 'SubseaProductionSystem.SubseaSystemResult': ... + def getTiebackDistanceKm(self) -> float: ... + def getTiebackOption(self) -> jneqsim.process.fielddevelopment.tieback.TiebackOption: ... + def getWaterDepthM(self) -> float: ... + def getWellCount(self) -> int: ... + def getWells(self) -> java.util.List[jneqsim.process.equipment.subsea.SubseaWell]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setArchitecture(self, subseaArchitecture: 'SubseaProductionSystem.SubseaArchitecture') -> 'SubseaProductionSystem': ... + def setDiscoveryLocation(self, double: float, double2: float) -> 'SubseaProductionSystem': ... + def setFlowlineDiameterInches(self, double: float) -> 'SubseaProductionSystem': ... + def setFlowlineMaterial(self, string: typing.Union[java.lang.String, str]) -> 'SubseaProductionSystem': ... + def setFlowlineWallThicknessMm(self, double: float) -> 'SubseaProductionSystem': ... + def setHostFacility(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility) -> 'SubseaProductionSystem': ... + def setManifoldCount(self, int: int) -> 'SubseaProductionSystem': ... + def setRatePerWell(self, double: float) -> 'SubseaProductionSystem': ... + def setReservoirConditions(self, double: float, double2: float) -> 'SubseaProductionSystem': ... + def setReservoirFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SubseaProductionSystem': ... + def setSeabedTemperatureC(self, double: float) -> 'SubseaProductionSystem': ... + def setTiebackDistanceKm(self, double: float) -> 'SubseaProductionSystem': ... + def setTubingDiameterInches(self, double: float) -> 'SubseaProductionSystem': ... + def setWaterDepthM(self, double: float) -> 'SubseaProductionSystem': ... + def setWellCount(self, int: int) -> 'SubseaProductionSystem': ... + def setWellDepthM(self, double: float) -> 'SubseaProductionSystem': ... + def setWellheadConditions(self, double: float, double2: float) -> 'SubseaProductionSystem': ... + class SubseaArchitecture(java.lang.Enum['SubseaProductionSystem.SubseaArchitecture']): + DIRECT_TIEBACK: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... + MANIFOLD_CLUSTER: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... + DAISY_CHAIN: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... + TEMPLATE: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... + _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]) -> 'SubseaProductionSystem.SubseaArchitecture': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaProductionSystem.SubseaArchitecture']: ... + class SubseaSystemResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getArrivalPressureBara(self) -> float: ... + def getArrivalTemperatureC(self) -> float: ... + def getManifoldCostMusd(self) -> float: ... + def getPipelineCostMusd(self) -> float: ... + def getSubseaTreeCostMusd(self) -> float: ... + def getSummary(self) -> java.lang.String: ... + def getTotalPressureDropBara(self) -> float: ... + def getTotalProductionSm3d(self) -> float: ... + def getTotalSubseaCapexMusd(self) -> float: ... + def getUmbilicalCostMusd(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.subsea")``. + + SubseaProductionSystem: typing.Type[SubseaProductionSystem] diff --git a/src/jneqsim/process/fielddevelopment/tieback/__init__.pyi b/src/jneqsim/process/fielddevelopment/tieback/__init__.pyi new file mode 100644 index 00000000..cb8eddc2 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/tieback/__init__.pyi @@ -0,0 +1,305 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.fielddevelopment.economics +import jneqsim.process.fielddevelopment.network +import jneqsim.process.fielddevelopment.screening +import jneqsim.process.fielddevelopment.tieback.capacity +import jneqsim.process.processmodel +import typing + + + +class HostFacility(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def assessCapacity(self, double: float, double2: float, double3: float, double4: float) -> 'HostFacility.HostCapacityReport': ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'HostFacility.Builder': ... + def canAcceptGasRate(self, double: float) -> bool: ... + def canAcceptOilRate(self, double: float) -> bool: ... + def distanceToKm(self, double: float, double2: float) -> float: ... + def getGasCapacityMSm3d(self) -> float: ... + def getGasUtilization(self) -> float: ... + def getLatitude(self) -> float: ... + def getLiquidCapacityM3d(self) -> float: ... + def getLiquidUtilization(self) -> float: ... + def getLongitude(self) -> float: ... + def getMaxTieInPressureBara(self) -> float: ... + def getMinTieInPressureBara(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getOilCapacityBopd(self) -> float: ... + def getOilUtilization(self) -> float: ... + def getOperator(self) -> java.lang.String: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSpareGasCapacity(self) -> float: ... + def getSpareLiquidCapacity(self) -> float: ... + def getSpareOilCapacity(self) -> float: ... + def getSpareWaterCapacity(self) -> float: ... + def getType(self) -> 'HostFacility.FacilityType': ... + def getWaterCapacityM3d(self) -> float: ... + def getWaterDepthM(self) -> float: ... + def getWaterUtilization(self) -> float: ... + def isPressureAcceptable(self, double: float) -> bool: ... + def setGasCapacityMSm3d(self, double: float) -> None: ... + def setGasUtilization(self, double: float) -> None: ... + def setLatitude(self, double: float) -> None: ... + def setLiquidCapacityM3d(self, double: float) -> None: ... + def setLiquidUtilization(self, double: float) -> None: ... + def setLongitude(self, double: float) -> None: ... + def setMaxTieInPressureBara(self, double: float) -> None: ... + def setMinTieInPressureBara(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOilCapacityBopd(self, double: float) -> None: ... + def setOilUtilization(self, double: float) -> None: ... + def setOperator(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setType(self, facilityType: 'HostFacility.FacilityType') -> None: ... + def setWaterCapacityM3d(self, double: float) -> None: ... + def setWaterDepthM(self, double: float) -> None: ... + def setWaterUtilization(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class Builder: + def build(self) -> 'HostFacility': ... + def gasCapacity(self, double: float) -> 'HostFacility.Builder': ... + def gasUtilization(self, double: float) -> 'HostFacility.Builder': ... + def liquidCapacity(self, double: float) -> 'HostFacility.Builder': ... + def location(self, double: float, double2: float) -> 'HostFacility.Builder': ... + def maxTieInPressure(self, double: float) -> 'HostFacility.Builder': ... + def minTieInPressure(self, double: float) -> 'HostFacility.Builder': ... + def oilCapacity(self, double: float) -> 'HostFacility.Builder': ... + def oilUtilization(self, double: float) -> 'HostFacility.Builder': ... + def operator(self, string: typing.Union[java.lang.String, str]) -> 'HostFacility.Builder': ... + def processSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'HostFacility.Builder': ... + def spareGasCapacity(self, double: float) -> 'HostFacility.Builder': ... + def spareOilCapacity(self, double: float) -> 'HostFacility.Builder': ... + def type(self, facilityType: 'HostFacility.FacilityType') -> 'HostFacility.Builder': ... + def waterCapacity(self, double: float) -> 'HostFacility.Builder': ... + def waterDepth(self, double: float) -> 'HostFacility.Builder': ... + class FacilityType(java.lang.Enum['HostFacility.FacilityType']): + PLATFORM: typing.ClassVar['HostFacility.FacilityType'] = ... + FPSO: typing.ClassVar['HostFacility.FacilityType'] = ... + TLP: typing.ClassVar['HostFacility.FacilityType'] = ... + SEMI_SUB: typing.ClassVar['HostFacility.FacilityType'] = ... + ONSHORE_TERMINAL: typing.ClassVar['HostFacility.FacilityType'] = ... + SUBSEA_HUB: typing.ClassVar['HostFacility.FacilityType'] = ... + _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]) -> 'HostFacility.FacilityType': ... + @staticmethod + def values() -> typing.MutableSequence['HostFacility.FacilityType']: ... + class HostCapacityReport(java.io.Serializable): + def getActiveBottleneckCount(self) -> int: ... + def getHostName(self) -> java.lang.String: ... + def getPrimaryBottleneckName(self) -> java.lang.String: ... + def getPrimaryBottleneckUtilization(self) -> float: ... + def getRequiredGasMSm3d(self) -> float: ... + def getRequiredLiquidM3d(self) -> float: ... + def getRequiredOilBopd(self) -> float: ... + def getRequiredWaterM3d(self) -> float: ... + def getSpareGasMSm3d(self) -> float: ... + def getSpareLiquidM3d(self) -> float: ... + def getSpareOilBopd(self) -> float: ... + def getSpareWaterM3d(self) -> float: ... + def getSummary(self) -> java.lang.String: ... + def isCapacityAvailable(self) -> bool: ... + def isGasCapacityAvailable(self) -> bool: ... + def isLiquidCapacityAvailable(self) -> bool: ... + def isOilCapacityAvailable(self) -> bool: ... + def isProcessCapacityAvailable(self) -> bool: ... + def isProcessModelUsed(self) -> bool: ... + def isWaterCapacityAvailable(self) -> bool: ... + +class TiebackAnalyzer(java.io.Serializable): + def __init__(self): ... + @typing.overload + def analyze(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, list: java.util.List[HostFacility]) -> 'TiebackReport': ... + @typing.overload + def analyze(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, list: java.util.List[HostFacility], double: float, double2: float) -> 'TiebackReport': ... + @typing.overload + def analyze(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, list: java.util.List[HostFacility], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.fielddevelopment.network.TiebackRouteNetwork], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.fielddevelopment.network.TiebackRouteNetwork]], double: float, double2: float) -> 'TiebackReport': ... + @typing.overload + def evaluateSingleTieback(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, hostFacility: HostFacility, double: float, double2: float) -> 'TiebackOption': ... + @typing.overload + def evaluateSingleTieback(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, hostFacility: HostFacility, tiebackRouteNetwork: jneqsim.process.fielddevelopment.network.TiebackRouteNetwork, double: float, double2: float) -> 'TiebackOption': ... + def getDiscountRate(self) -> float: ... + def getGasPriceUsdPerSm3(self) -> float: ... + def getMaxTiebackDistanceKm(self) -> float: ... + def getOilPriceUsdPerBbl(self) -> float: ... + def getPipelineCostPerKmMusd(self) -> float: ... + def getSubseaTreeCostMusd(self) -> float: ... + def getTaxModel(self) -> jneqsim.process.fielddevelopment.economics.NorwegianTaxModel: ... + def quickScreen(self, double: float, double2: float, double3: float, double4: float, hostFacility: HostFacility) -> 'TiebackAnalyzer.TiebackScreeningResult': ... + def screenAllHosts(self, double: float, double2: float, double3: float, double4: float, list: java.util.List[HostFacility]) -> java.util.List['TiebackAnalyzer.TiebackScreeningResult']: ... + def setDiscountRate(self, double: float) -> None: ... + def setGasPriceUsdPerSm3(self, double: float) -> None: ... + def setMaxTiebackDistanceKm(self, double: float) -> None: ... + def setOilPriceUsdPerBbl(self, double: float) -> None: ... + def setPipelineCostPerKmMusd(self, double: float) -> None: ... + def setSubseaTreeCostMusd(self, double: float) -> None: ... + def setTaxModel(self, norwegianTaxModel: jneqsim.process.fielddevelopment.economics.NorwegianTaxModel) -> None: ... + class TiebackScreeningResult(java.io.Serializable): + def __init__(self): ... + def getDistanceKm(self) -> float: ... + def getEstimatedCapexMusd(self) -> float: ... + def getEstimatedNpvMusd(self) -> float: ... + def getFailureReason(self) -> java.lang.String: ... + def getHostName(self) -> java.lang.String: ... + def isPassed(self) -> bool: ... + def setDistanceKm(self, double: float) -> None: ... + def setEstimatedCapexMusd(self, double: float) -> None: ... + def setEstimatedNpvMusd(self, double: float) -> None: ... + def setFailureReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHostName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPassed(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + +class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def calculateTotalCapex(self) -> float: ... + def compareTo(self, tiebackOption: 'TiebackOption') -> int: ... + def estimatePipelineCapex(self, double: float) -> float: ... + def getArrivalPressureBara(self) -> float: ... + def getArrivalTemperatureC(self) -> float: ... + def getBreakevenPrice(self) -> float: ... + def getCapexPerKm(self) -> float: ... + def getCapexPerReserveUnit(self) -> float: ... + def getCorrosionResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getDiscoveryName(self) -> java.lang.String: ... + def getDistanceKm(self) -> float: ... + def getDrillingCapexMusd(self) -> float: ... + def getErosionalVelocityRatio(self) -> float: ... + def getFieldLifeYears(self) -> float: ... + def getFlowAssuranceNotes(self) -> java.lang.String: ... + def getFlowRegime(self) -> java.lang.String: ... + def getHostCapacitySummary(self) -> java.lang.String: ... + def getHostModificationCapexMusd(self) -> float: ... + def getHostName(self) -> java.lang.String: ... + def getHydrateFormationTemperatureC(self) -> float: ... + def getHydrateMarginC(self) -> float: ... + def getHydrateResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getHydraulicInfeasibilityReason(self) -> java.lang.String: ... + def getInfeasibilityReason(self) -> java.lang.String: ... + def getIrr(self) -> float: ... + def getMaxProductionRate(self) -> float: ... + def getMaxWaterDepthM(self) -> float: ... + def getNpvMusd(self) -> float: ... + def getOptionId(self) -> java.lang.String: ... + def getOverallFlowAssuranceResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getPaybackYears(self) -> float: ... + def getPipelineCapexMusd(self) -> float: ... + def getPipelineDiameterInches(self) -> float: ... + def getPipelineHeatTransferCoefficientWm2K(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getRecoverableReserves(self) -> float: ... + def getReservesUnit(self) -> java.lang.String: ... + def getRouteBranchCount(self) -> int: ... + def getRouteInstalledLengthKm(self) -> float: ... + def getRouteNetworkName(self) -> java.lang.String: ... + def getRouteRiserCount(self) -> int: ... + def getRouteSharedCorridorLengthKm(self) -> float: ... + def getRouteSummary(self) -> java.lang.String: ... + def getShutdownCooldownRiskScore(self) -> float: ... + def getShutdownCooldownTimeToHydrateHours(self) -> float: ... + def getSubseaCapexMusd(self) -> float: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCapexMusd(self) -> float: ... + def getUmbilicalCapexMusd(self) -> float: ... + def getWatMarginC(self) -> float: ... + def getWaxResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getWellCount(self) -> int: ... + def hasFlowAssuranceIssues(self) -> bool: ... + def isFeasible(self) -> bool: ... + def isHydraulicFeasible(self) -> bool: ... + def setArrivalPressureBara(self, double: float) -> None: ... + def setArrivalTemperatureC(self, double: float) -> None: ... + def setBreakevenPrice(self, double: float) -> None: ... + def setCorrosionResult(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> None: ... + def setDistanceKm(self, double: float) -> None: ... + def setDrillingCapexMusd(self, double: float) -> None: ... + def setErosionalVelocityRatio(self, double: float) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setFieldLifeYears(self, double: float) -> None: ... + def setFlowAssuranceNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRegime(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHostCapacitySummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHostModificationCapexMusd(self, double: float) -> None: ... + def setHydrateFormationTemperatureC(self, double: float) -> None: ... + def setHydrateMarginC(self, double: float) -> None: ... + def setHydrateResult(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> None: ... + def setHydraulicFeasible(self, boolean: bool) -> None: ... + def setHydraulicInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIrr(self, double: float) -> None: ... + def setMaxProductionRate(self, double: float) -> None: ... + def setMaxWaterDepthM(self, double: float) -> None: ... + def setNpvMusd(self, double: float) -> None: ... + def setPaybackYears(self, double: float) -> None: ... + def setPipelineCapexMusd(self, double: float) -> None: ... + def setPipelineDiameterInches(self, double: float) -> None: ... + def setPipelineHeatTransferCoefficientWm2K(self, double: float) -> None: ... + def setRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRecoverableReserves(self, double: float) -> None: ... + def setReservesUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRouteBranchCount(self, int: int) -> None: ... + def setRouteInstalledLengthKm(self, double: float) -> None: ... + def setRouteNetworkName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRouteRiserCount(self, int: int) -> None: ... + def setRouteSharedCorridorLengthKm(self, double: float) -> None: ... + def setRouteSummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShutdownCooldownRiskScore(self, double: float) -> None: ... + def setShutdownCooldownTimeToHydrateHours(self, double: float) -> None: ... + def setSubseaCapexMusd(self, double: float) -> None: ... + def setTotalCapexMusd(self, double: float) -> None: ... + def setUmbilicalCapexMusd(self, double: float) -> None: ... + def setWatMarginC(self, double: float) -> None: ... + def setWaxResult(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> None: ... + def setWellCount(self, int: int) -> None: ... + def toString(self) -> java.lang.String: ... + +class TiebackReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[TiebackOption], double: float, double2: float): ... + def compareOptions(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getBestFeasibleOption(self) -> TiebackOption: ... + def getBestOption(self) -> TiebackOption: ... + def getCapexRange(self) -> typing.MutableSequence[float]: ... + def getDiscoveryLatitude(self) -> float: ... + def getDiscoveryLongitude(self) -> float: ... + def getDiscoveryName(self) -> java.lang.String: ... + def getFeasibleOptionCount(self) -> int: ... + def getFeasibleOptions(self) -> java.util.List[TiebackOption]: ... + def getNpvRange(self) -> typing.MutableSequence[float]: ... + def getOptionByHost(self, string: typing.Union[java.lang.String, str]) -> TiebackOption: ... + def getOptionCount(self) -> int: ... + def getOptions(self) -> java.util.List[TiebackOption]: ... + def getProfitableOptionCount(self) -> int: ... + def getProfitableOptions(self) -> java.util.List[TiebackOption]: ... + def getRecommendation(self) -> java.lang.String: ... + def getShortSummary(self) -> java.lang.String: ... + def getSummary(self) -> java.lang.String: ... + def hasFeasibleOption(self) -> bool: ... + def hasProfitableOption(self) -> bool: ... + def toCsv(self) -> java.lang.String: ... + def toMarkdownTable(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.tieback")``. + + HostFacility: typing.Type[HostFacility] + TiebackAnalyzer: typing.Type[TiebackAnalyzer] + TiebackOption: typing.Type[TiebackOption] + TiebackReport: typing.Type[TiebackReport] + capacity: jneqsim.process.fielddevelopment.tieback.capacity.__module_protocol__ diff --git a/src/jneqsim/process/fielddevelopment/tieback/capacity/__init__.pyi b/src/jneqsim/process/fielddevelopment/tieback/capacity/__init__.pyi new file mode 100644 index 00000000..6ad52052 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/tieback/capacity/__init__.pyi @@ -0,0 +1,194 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.fielddevelopment.tieback +import typing + + + +class CapacityAllocationPolicy(java.lang.Enum['CapacityAllocationPolicy']): + BASE_FIRST: typing.ClassVar['CapacityAllocationPolicy'] = ... + SATELLITE_FIRST: typing.ClassVar['CapacityAllocationPolicy'] = ... + PRO_RATA: typing.ClassVar['CapacityAllocationPolicy'] = ... + VALUE_WEIGHTED: typing.ClassVar['CapacityAllocationPolicy'] = ... + _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]) -> 'CapacityAllocationPolicy': ... + @staticmethod + def values() -> typing.MutableSequence['CapacityAllocationPolicy']: ... + +class DebottleneckDecision(java.io.Serializable, java.lang.Comparable['DebottleneckDecision']): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, boolean: bool): ... + def compareTo(self, debottleneckDecision: 'DebottleneckDecision') -> int: ... + def getBottleneckName(self) -> java.lang.String: ... + def getCapexMusd(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getNpvMusd(self) -> float: ... + def getPaybackYears(self) -> float: ... + def getRecoveredValueMusd(self) -> float: ... + def isRecommended(self) -> bool: ... + +class HoldbackPolicy(java.lang.Enum['HoldbackPolicy']): + CURTAIL: typing.ClassVar['HoldbackPolicy'] = ... + DEFER_TO_LATER_YEARS: typing.ClassVar['HoldbackPolicy'] = ... + _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]) -> 'HoldbackPolicy': ... + @staticmethod + def values() -> typing.MutableSequence['HoldbackPolicy']: ... + +class HostTieInPoint(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getBaseProcessRate(self) -> float: ... + def getProcessRateUnit(self) -> java.lang.String: ... + def getProcessStreamReference(self) -> java.lang.String: ... + def setBaseProcessRate(self, double: float) -> 'HostTieInPoint': ... + def setGasToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... + def setLiquidToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... + def setOilToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... + def setWaterToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... + def toProcessRate(self, productionLoad: 'ProductionLoad') -> float: ... + +class ProductionLoad(java.io.Serializable): + BARREL_TO_M3: typing.ClassVar[float] = ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + def getDailyValueUsd(self) -> float: ... + def getGasRateMSm3d(self) -> float: ... + def getGasValueUsdPerMSm3(self) -> float: ... + def getGasVolumeMSm3(self) -> float: ... + def getLiquidRateM3d(self) -> float: ... + def getLiquidValueUsdPerM3(self) -> float: ... + def getLiquidVolumeM3(self) -> float: ... + def getOilRateBopd(self) -> float: ... + def getOilValueUsdPerBbl(self) -> float: ... + def getOilVolumeBbl(self) -> float: ... + def getPeriodLengthDays(self) -> float: ... + def getPeriodName(self) -> java.lang.String: ... + def getPeriodValueUsd(self) -> float: ... + def getTotalLiquidRateM3d(self) -> float: ... + def getWaterRateM3d(self) -> float: ... + def getWaterValueUsdPerM3(self) -> float: ... + def getWaterVolumeM3(self) -> float: ... + def getYear(self) -> int: ... + def isZero(self) -> bool: ... + def plus(self, productionLoad: 'ProductionLoad') -> 'ProductionLoad': ... + def scale(self, double: float) -> 'ProductionLoad': ... + def subtractNonNegative(self, productionLoad: 'ProductionLoad') -> 'ProductionLoad': ... + def toString(self) -> java.lang.String: ... + def withCommodityValues(self, double: float, double2: float, double3: float, double4: float) -> 'ProductionLoad': ... + def withPeriod(self, string: typing.Union[java.lang.String, str], int: int) -> 'ProductionLoad': ... + def withPeriodLengthDays(self, double: float) -> 'ProductionLoad': ... + @staticmethod + def zero(int: int, string: typing.Union[java.lang.String, str]) -> 'ProductionLoad': ... + +class ProductionProfileSeries(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def add(self, productionLoad: ProductionLoad) -> 'ProductionProfileSeries': ... + @typing.overload + def addPeriod(self, int: int, double: float, double2: float, double3: float, double4: float) -> 'ProductionProfileSeries': ... + @typing.overload + def addPeriod(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float) -> 'ProductionProfileSeries': ... + @staticmethod + def fromGasRates(string: typing.Union[java.lang.String, str], int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProductionProfileSeries': ... + @staticmethod + def fromOilRates(string: typing.Union[java.lang.String, str], int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProductionProfileSeries': ... + def getLoad(self, int: int) -> ProductionLoad: ... + def getLoadByYear(self, int: int) -> ProductionLoad: ... + def getLoadByYearOrIndex(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> ProductionLoad: ... + def getLoads(self) -> java.util.List[ProductionLoad]: ... + def getName(self) -> java.lang.String: ... + def isEmpty(self) -> bool: ... + def size(self) -> int: ... + +class TieInCapacityPlanner(java.io.Serializable): + def __init__(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility): ... + def run(self) -> 'TieInCapacityResult': ... + def setAllocationPolicy(self, capacityAllocationPolicy: CapacityAllocationPolicy) -> 'TieInCapacityPlanner': ... + def setDefaultCommodityValues(self, double: float, double2: float, double3: float, double4: float) -> 'TieInCapacityPlanner': ... + def setDefaultDebottleneckCapexMusd(self, double: float) -> 'TieInCapacityPlanner': ... + def setDiscountRate(self, double: float) -> 'TieInCapacityPlanner': ... + def setHoldbackPolicy(self, holdbackPolicy: HoldbackPolicy) -> 'TieInCapacityPlanner': ... + def setHostProductionProfile(self, productionProfileSeries: ProductionProfileSeries) -> 'TieInCapacityPlanner': ... + def setProcessUtilizationLimit(self, double: float) -> 'TieInCapacityPlanner': ... + def setSatelliteProductionProfile(self, productionProfileSeries: ProductionProfileSeries) -> 'TieInCapacityPlanner': ... + def setTieInPoint(self, hostTieInPoint: HostTieInPoint) -> 'TieInCapacityPlanner': ... + +class TieInCapacityResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], capacityAllocationPolicy: CapacityAllocationPolicy, holdbackPolicy: HoldbackPolicy, list: java.util.List['TieInPeriodResult'], list2: java.util.List[DebottleneckDecision], string2: typing.Union[java.lang.String, str]): ... + def getAllocationPolicy(self) -> CapacityAllocationPolicy: ... + def getDebottleneckDecisions(self) -> java.util.List[DebottleneckDecision]: ... + def getHoldbackPolicy(self) -> HoldbackPolicy: ... + def getHostName(self) -> java.lang.String: ... + def getPeriodResults(self) -> java.util.List['TieInPeriodResult']: ... + def getPrimaryBottleneck(self) -> java.lang.String: ... + def getSummary(self) -> java.lang.String: ... + def getTotalAcceptedGasMSm3(self) -> float: ... + def getTotalAcceptedOilBbl(self) -> float: ... + def getTotalDeferredValueMusd(self) -> float: ... + def getTotalDeferredValueNpvMusd(self) -> float: ... + def getTotalHeldBackGasMSm3(self) -> float: ... + def getTotalHeldBackLiquidM3(self) -> float: ... + def getTotalHeldBackOilBbl(self) -> float: ... + def getTotalHeldBackWaterM3(self) -> float: ... + def hasHoldback(self) -> bool: ... + def toCsv(self) -> java.lang.String: ... + def toMarkdownTable(self) -> java.lang.String: ... + +class TieInPeriodResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, productionLoad: ProductionLoad, productionLoad2: ProductionLoad, productionLoad3: ProductionLoad, productionLoad4: ProductionLoad, productionLoad5: ProductionLoad, productionLoad6: ProductionLoad, productionLoad7: ProductionLoad, productionLoad8: ProductionLoad, double: float, string2: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool, string3: typing.Union[java.lang.String, str], double2: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double3: float, double4: float, string4: typing.Union[java.lang.String, str]): ... + def getAcceptedBase(self) -> ProductionLoad: ... + def getAcceptedSatellite(self) -> ProductionLoad: ... + def getBaseRequest(self) -> ProductionLoad: ... + def getDeferredIntoPeriod(self) -> ProductionLoad: ... + def getDeferredToNextPeriod(self) -> ProductionLoad: ... + def getDeferredValueMusd(self) -> float: ... + def getDeferredValueNpvMusd(self) -> float: ... + def getHeldBackSatellite(self) -> ProductionLoad: ... + def getNameplateBottleneck(self) -> java.lang.String: ... + def getPeriodName(self) -> java.lang.String: ... + def getPrimaryBottleneck(self) -> java.lang.String: ... + def getProcessBottleneck(self) -> java.lang.String: ... + def getProcessBottleneckUtilization(self) -> float: ... + def getProcessUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def getSatelliteAllocationScale(self) -> float: ... + def getSatelliteRequest(self) -> ProductionLoad: ... + def getScheduledSatellite(self) -> ProductionLoad: ... + def getSummary(self) -> java.lang.String: ... + def getYear(self) -> int: ... + def isProcessCapacityAvailable(self) -> bool: ... + def isProcessModelUsed(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.tieback.capacity")``. + + CapacityAllocationPolicy: typing.Type[CapacityAllocationPolicy] + DebottleneckDecision: typing.Type[DebottleneckDecision] + HoldbackPolicy: typing.Type[HoldbackPolicy] + HostTieInPoint: typing.Type[HostTieInPoint] + ProductionLoad: typing.Type[ProductionLoad] + ProductionProfileSeries: typing.Type[ProductionProfileSeries] + TieInCapacityPlanner: typing.Type[TieInCapacityPlanner] + TieInCapacityResult: typing.Type[TieInCapacityResult] + TieInPeriodResult: typing.Type[TieInPeriodResult] diff --git a/src/jneqsim/process/fielddevelopment/workflow/__init__.pyi b/src/jneqsim/process/fielddevelopment/workflow/__init__.pyi new file mode 100644 index 00000000..906d5552 --- /dev/null +++ b/src/jneqsim/process/fielddevelopment/workflow/__init__.pyi @@ -0,0 +1,147 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.reservoir +import jneqsim.process.fielddevelopment.concept +import jneqsim.process.fielddevelopment.economics +import jneqsim.process.fielddevelopment.evaluation +import jneqsim.process.fielddevelopment.facility +import jneqsim.process.fielddevelopment.screening +import jneqsim.process.fielddevelopment.subsea +import jneqsim.process.fielddevelopment.tieback +import jneqsim.process.mechanicaldesign +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class FieldDevelopmentWorkflow(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept): ... + def addHostFacility(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility) -> 'FieldDevelopmentWorkflow': ... + def addWell(self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem) -> 'FieldDevelopmentWorkflow': ... + def configureSubseaFromConcept(self) -> 'FieldDevelopmentWorkflow': ... + @staticmethod + def generateComparisonReport(list: java.util.List['FieldDevelopmentWorkflow']) -> java.lang.String: ... + def getFidelityLevel(self) -> 'FieldDevelopmentWorkflow.FidelityLevel': ... + def getLastResult(self) -> 'WorkflowResult': ... + def getProjectName(self) -> java.lang.String: ... + def getStudyPhase(self) -> 'FieldDevelopmentWorkflow.StudyPhase': ... + @staticmethod + def quickGasTieback(string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, double3: float, string2: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... + @staticmethod + def quickOilDevelopment(string: typing.Union[java.lang.String, str], double: float, int: int, double2: float, string2: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... + def run(self) -> 'WorkflowResult': ... + def setCalculateEmissions(self, boolean: bool) -> 'FieldDevelopmentWorkflow': ... + def setConcept(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'FieldDevelopmentWorkflow': ... + def setCountryCode(self, string: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... + def setDesignStandard(self, string: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... + def setDiscountRate(self, double: float) -> 'FieldDevelopmentWorkflow': ... + def setFacilityConfig(self, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'FieldDevelopmentWorkflow': ... + def setFidelityLevel(self, fidelityLevel: 'FieldDevelopmentWorkflow.FidelityLevel') -> 'FieldDevelopmentWorkflow': ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FieldDevelopmentWorkflow': ... + def setGridEmissionFactor(self, double: float) -> 'FieldDevelopmentWorkflow': ... + def setMonteCarloIterations(self, int: int) -> 'FieldDevelopmentWorkflow': ... + def setPowerSupplyType(self, string: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... + def setPrices(self, double: float, double2: float, double3: float) -> 'FieldDevelopmentWorkflow': ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'FieldDevelopmentWorkflow': ... + def setProductionTiming(self, int: int, int2: int, double: float, double2: float) -> 'FieldDevelopmentWorkflow': ... + def setReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir) -> 'FieldDevelopmentWorkflow': ... + def setRunMechanicalDesign(self, boolean: bool) -> 'FieldDevelopmentWorkflow': ... + def setRunSubseaAnalysis(self, boolean: bool) -> 'FieldDevelopmentWorkflow': ... + def setStudyPhase(self, studyPhase: 'FieldDevelopmentWorkflow.StudyPhase') -> 'FieldDevelopmentWorkflow': ... + def setSubseaArchitecture(self, subseaArchitecture: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem.SubseaArchitecture) -> 'FieldDevelopmentWorkflow': ... + def setSubseaSystem(self, subseaProductionSystem: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem) -> 'FieldDevelopmentWorkflow': ... + def setTiebackAnalyzer(self, tiebackAnalyzer: jneqsim.process.fielddevelopment.tieback.TiebackAnalyzer) -> 'FieldDevelopmentWorkflow': ... + def setTiebackDistanceKm(self, double: float) -> 'FieldDevelopmentWorkflow': ... + def setWaterDepthM(self, double: float) -> 'FieldDevelopmentWorkflow': ... + class FidelityLevel(java.lang.Enum['FieldDevelopmentWorkflow.FidelityLevel']): + SCREENING: typing.ClassVar['FieldDevelopmentWorkflow.FidelityLevel'] = ... + CONCEPTUAL: typing.ClassVar['FieldDevelopmentWorkflow.FidelityLevel'] = ... + DETAILED: typing.ClassVar['FieldDevelopmentWorkflow.FidelityLevel'] = ... + _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]) -> 'FieldDevelopmentWorkflow.FidelityLevel': ... + @staticmethod + def values() -> typing.MutableSequence['FieldDevelopmentWorkflow.FidelityLevel']: ... + class StudyPhase(java.lang.Enum['FieldDevelopmentWorkflow.StudyPhase']): + DISCOVERY: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... + FEASIBILITY: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... + CONCEPT_SELECT: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... + FEED: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... + OPERATIONS: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... + _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]) -> 'FieldDevelopmentWorkflow.StudyPhase': ... + @staticmethod + def values() -> typing.MutableSequence['FieldDevelopmentWorkflow.StudyPhase']: ... + +class WorkflowResult(java.io.Serializable): + projectName: java.lang.String = ... + fidelityLevel: FieldDevelopmentWorkflow.FidelityLevel = ... + flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceReport = ... + economicsReport: jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport = ... + gasProfile: java.util.Map = ... + oilProfile: java.util.Map = ... + waterProfile: java.util.Map = ... + cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult = ... + npv: float = ... + npvP10: float = ... + npvP50: float = ... + npvP90: float = ... + irr: float = ... + paybackYears: float = ... + breakevenGasPrice: float = ... + breakevenOilPrice: float = ... + monteCarloResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.MonteCarloResult = ... + tornadoResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.TornadoResult = ... + conceptKPIs: jneqsim.process.fielddevelopment.evaluation.ConceptKPIs = ... + mechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign = ... + totalEquipmentWeightTonnes: float = ... + totalFootprintM2: float = ... + totalPowerMW: float = ... + powerBreakdownMW: java.util.Map = ... + annualCO2eKtonnes: float = ... + co2IntensityKgPerBoe: float = ... + emissionBreakdown: java.util.Map = ... + powerSupplyType: java.lang.String = ... + gridEmissionFactor: float = ... + subseaSystemResult: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem.SubseaSystemResult = ... + tiebackReport: jneqsim.process.fielddevelopment.tieback.TiebackReport = ... + selectedTiebackOption: jneqsim.process.fielddevelopment.tieback.TiebackOption = ... + subseaCapexMusd: float = ... + arrivalPressureBara: float = ... + arrivalTemperatureC: float = ... + subseaSimulationError: java.lang.String = ... + def __init__(self, string: typing.Union[java.lang.String, str], fidelityLevel: FieldDevelopmentWorkflow.FidelityLevel): ... + def getCashFlowTable(self) -> java.lang.String: ... + def getProductionTable(self) -> java.lang.String: ... + def getSummary(self) -> java.lang.String: ... + def isViable(self) -> bool: ... + def isViableWithConfidence(self, double: float) -> bool: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.workflow")``. + + FieldDevelopmentWorkflow: typing.Type[FieldDevelopmentWorkflow] + WorkflowResult: typing.Type[WorkflowResult] diff --git a/src/jneqsim/process/hydrogen/__init__.pyi b/src/jneqsim/process/hydrogen/__init__.pyi new file mode 100644 index 00000000..a838b6cc --- /dev/null +++ b/src/jneqsim/process/hydrogen/__init__.pyi @@ -0,0 +1,106 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import neqsim +import jneqsim.process.equipment.adsorber +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.reactor +import jneqsim.process.equipment.splitter +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class ATRHydrogenPlantBuilder(jneqsim.process.hydrogen.HydrogenPlantBuilderBase): + def __init__(self): ... + def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def setFeedTemperature(self, double: float) -> 'ATRHydrogenPlantBuilder': ... + def setIncludePsa(self, boolean: bool) -> 'ATRHydrogenPlantBuilder': ... + def setMethaneFeedMolePerSec(self, double: float) -> 'ATRHydrogenPlantBuilder': ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'ATRHydrogenPlantBuilder': ... + def setOxygenToCarbonRatio(self, double: float) -> 'ATRHydrogenPlantBuilder': ... + def setPressure(self, double: float) -> 'ATRHydrogenPlantBuilder': ... + def setSteamToCarbonRatio(self, double: float) -> 'ATRHydrogenPlantBuilder': ... + +class BlueHydrogenPlantBuilder(jneqsim.process.hydrogen.SMRHydrogenPlantBuilder): + def __init__(self): ... + def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getCaptureReadinessSummary(self) -> java.lang.String: ... + def getCapturedCo2MassFlowKgPerHour(self) -> float: ... + def getCarbonIntensityKgCO2PerKgH2(self) -> float: ... + def getCo2CaptureFraction(self) -> float: ... + def getCo2CaptureUnit(self) -> jneqsim.process.equipment.splitter.ComponentCaptureUnit: ... + def getCo2ExportCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def getCo2ExportStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGrossCarbonIntensityKgCO2PerKgH2(self) -> float: ... + def getGrossCo2EquivalentKgPerHour(self) -> float: ... + def getH2Dryer(self) -> jneqsim.process.equipment.splitter.ComponentCaptureUnit: ... + def getH2ExportCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def getH2ProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHighTemperatureShiftReactor(self) -> jneqsim.process.equipment.reactor.WaterGasShiftReactor: ... + def getHydrogenProductMassFlowKgPerHour(self) -> float: ... + def getLowTemperatureShiftReactor(self) -> jneqsim.process.equipment.reactor.WaterGasShiftReactor: ... + def getPsaCascade(self) -> jneqsim.process.equipment.adsorber.PSACascade: ... + def getReformerFurnace(self) -> jneqsim.process.equipment.reactor.ReformerFurnace: ... + def getResidualCo2EquivalentKgPerHour(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def setCo2CaptureFraction(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setCo2ExportPressure(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setFeedTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setFuelToFeedMethaneRatio(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setH2DryerWaterRemovalFraction(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setH2ExportPressure(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setHighTemperatureShiftTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setIncludePsa(self, boolean: bool) -> 'BlueHydrogenPlantBuilder': ... + def setLowTemperatureShiftTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setMethaneFeedMolePerSec(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'BlueHydrogenPlantBuilder': ... + def setPressure(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setPsaConfiguration(self, cascadeConfiguration: jneqsim.process.equipment.adsorber.PSACascade.CascadeConfiguration) -> 'BlueHydrogenPlantBuilder': ... + def setPsaPerBedRecoveryTarget(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setReformingTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setShiftedGasCoolerOutletTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setSteamToCarbonRatio(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def toJson(self) -> java.lang.String: ... + +class POXHydrogenPlantBuilder(jneqsim.process.hydrogen.HydrogenPlantBuilderBase): + def __init__(self): ... + def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def setIncludePsa(self, boolean: bool) -> 'POXHydrogenPlantBuilder': ... + def setMethaneFeedMolePerSec(self, double: float) -> 'POXHydrogenPlantBuilder': ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'POXHydrogenPlantBuilder': ... + def setOxygenToCarbonRatio(self, double: float) -> 'POXHydrogenPlantBuilder': ... + def setSteamToCarbonRatio(self, double: float) -> 'POXHydrogenPlantBuilder': ... + +class SMRHydrogenPlantBuilder(jneqsim.process.hydrogen.HydrogenPlantBuilderBase): + def __init__(self): ... + def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def setFeedTemperature(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setFuelToFeedMethaneRatio(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setIncludePsa(self, boolean: bool) -> 'SMRHydrogenPlantBuilder': ... + def setMethaneFeedMolePerSec(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'SMRHydrogenPlantBuilder': ... + def setPressure(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setPsaConfiguration(self, cascadeConfiguration: jneqsim.process.equipment.adsorber.PSACascade.CascadeConfiguration) -> 'SMRHydrogenPlantBuilder': ... + def setPsaPerBedRecoveryTarget(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setReformingTemperature(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setSteamToCarbonRatio(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + +class HydrogenPlantBuilderBase: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.hydrogen")``. + + ATRHydrogenPlantBuilder: typing.Type[ATRHydrogenPlantBuilder] + BlueHydrogenPlantBuilder: typing.Type[BlueHydrogenPlantBuilder] + HydrogenPlantBuilderBase: typing.Type[HydrogenPlantBuilderBase] + POXHydrogenPlantBuilder: typing.Type[POXHydrogenPlantBuilder] + SMRHydrogenPlantBuilder: typing.Type[SMRHydrogenPlantBuilder] diff --git a/src/jneqsim/process/instrumentdesign/__init__.pyi b/src/jneqsim/process/instrumentdesign/__init__.pyi new file mode 100644 index 00000000..1b48539e --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/__init__.pyi @@ -0,0 +1,120 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.instrumentdesign.compressor +import jneqsim.process.instrumentdesign.heatexchanger +import jneqsim.process.instrumentdesign.pipeline +import jneqsim.process.instrumentdesign.separator +import jneqsim.process.instrumentdesign.system +import jneqsim.process.instrumentdesign.valve +import typing + + + +class InstrumentDesign(java.io.Serializable): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getDefaultSilLevel(self) -> int: ... + def getEstimatedCostUSD(self) -> float: ... + def getHazardousAreaZone(self) -> java.lang.String: ... + def getInstrumentList(self) -> 'InstrumentList': ... + def getInstrumentStandard(self) -> java.lang.String: ... + def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getProtectionConcept(self) -> java.lang.String: ... + def getTotalIOCount(self) -> int: ... + def isIncludeSafetyInstruments(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setDefaultSilLevel(self, int: int) -> None: ... + def setHazardousAreaZone(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncludeSafetyInstruments(self, boolean: bool) -> None: ... + def setInstrumentStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProtectionConcept(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + +class InstrumentDesignResponse(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, instrumentDesign: InstrumentDesign): ... + def populateFromDesign(self, instrumentDesign: InstrumentDesign) -> None: ... + def toJson(self) -> java.lang.String: ... + +class InstrumentList(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def add(self, instrumentSpecification: 'InstrumentSpecification') -> None: ... + def getAll(self) -> java.util.List['InstrumentSpecification']: ... + def getAnalogInputCount(self) -> int: ... + def getAnalogOutputCount(self) -> int: ... + def getDigitalInputCount(self) -> int: ... + def getDigitalOutputCount(self) -> int: ... + def getEquipmentTag(self) -> java.lang.String: ... + def getSafetyInstrumentCount(self) -> int: ... + def getTotalCostUSD(self) -> float: ... + def getTotalIOCount(self) -> int: ... + def setEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> None: ... + def size(self) -> int: ... + +class InstrumentSpecification(java.io.Serializable): + @typing.overload + def __init__(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]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], int: int): ... + def getConnectionSize(self) -> java.lang.String: ... + def getDeviceClassName(self) -> java.lang.String: ... + def getEstimatedCostUSD(self) -> float: ... + def getExProtection(self) -> java.lang.String: ... + def getHazardousAreaZone(self) -> java.lang.String: ... + def getInstrumentType(self) -> java.lang.String: ... + def getIoType(self) -> java.lang.String: ... + def getIsaSymbol(self) -> java.lang.String: ... + def getMaterial(self) -> java.lang.String: ... + def getOutputSignal(self) -> java.lang.String: ... + def getRangeMax(self) -> float: ... + def getRangeMin(self) -> float: ... + def getRangeUnit(self) -> java.lang.String: ... + def getService(self) -> java.lang.String: ... + def getSilRating(self) -> int: ... + def getTagNumber(self) -> java.lang.String: ... + def isAnalog(self) -> bool: ... + def isDigital(self) -> bool: ... + def isSafetyRelated(self) -> bool: ... + def setConnectionSize(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDeviceClassName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEstimatedCostUSD(self, double: float) -> None: ... + def setExProtection(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHazardousAreaZone(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInstrumentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIoType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setIsaSymbol(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutputSignal(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRangeMax(self, double: float) -> None: ... + def setRangeMin(self, double: float) -> None: ... + def setRangeUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSafetyRelated(self, boolean: bool) -> None: ... + def setService(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSilRating(self, int: int) -> None: ... + def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign")``. + + InstrumentDesign: typing.Type[InstrumentDesign] + InstrumentDesignResponse: typing.Type[InstrumentDesignResponse] + InstrumentList: typing.Type[InstrumentList] + InstrumentSpecification: typing.Type[InstrumentSpecification] + compressor: jneqsim.process.instrumentdesign.compressor.__module_protocol__ + heatexchanger: jneqsim.process.instrumentdesign.heatexchanger.__module_protocol__ + pipeline: jneqsim.process.instrumentdesign.pipeline.__module_protocol__ + separator: jneqsim.process.instrumentdesign.separator.__module_protocol__ + system: jneqsim.process.instrumentdesign.system.__module_protocol__ + valve: jneqsim.process.instrumentdesign.valve.__module_protocol__ diff --git a/src/jneqsim/process/instrumentdesign/compressor/__init__.pyi b/src/jneqsim/process/instrumentdesign/compressor/__init__.pyi new file mode 100644 index 00000000..2acbcd00 --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/compressor/__init__.pyi @@ -0,0 +1,26 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment +import jneqsim.process.instrumentdesign +import typing + + + +class CompressorInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getNumberOfBearings(self) -> int: ... + def isIncludeAntiSurge(self) -> bool: ... + def setIncludeAntiSurge(self, boolean: bool) -> None: ... + def setNumberOfBearings(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.compressor")``. + + CompressorInstrumentDesign: typing.Type[CompressorInstrumentDesign] diff --git a/src/jneqsim/process/instrumentdesign/heatexchanger/__init__.pyi b/src/jneqsim/process/instrumentdesign/heatexchanger/__init__.pyi new file mode 100644 index 00000000..b1c76a1a --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/heatexchanger/__init__.pyi @@ -0,0 +1,38 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.instrumentdesign +import typing + + + +class HeatExchangerInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getHeatExchangerType(self) -> 'HeatExchangerInstrumentDesign.HeatExchangerType': ... + def setHeatExchangerType(self, heatExchangerType: 'HeatExchangerInstrumentDesign.HeatExchangerType') -> None: ... + class HeatExchangerType(java.lang.Enum['HeatExchangerInstrumentDesign.HeatExchangerType']): + SHELL_AND_TUBE: typing.ClassVar['HeatExchangerInstrumentDesign.HeatExchangerType'] = ... + AIR_COOLER: typing.ClassVar['HeatExchangerInstrumentDesign.HeatExchangerType'] = ... + ELECTRIC_HEATER: typing.ClassVar['HeatExchangerInstrumentDesign.HeatExchangerType'] = ... + _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]) -> 'HeatExchangerInstrumentDesign.HeatExchangerType': ... + @staticmethod + def values() -> typing.MutableSequence['HeatExchangerInstrumentDesign.HeatExchangerType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.heatexchanger")``. + + HeatExchangerInstrumentDesign: typing.Type[HeatExchangerInstrumentDesign] diff --git a/src/jneqsim/process/instrumentdesign/pipeline/__init__.pyi b/src/jneqsim/process/instrumentdesign/pipeline/__init__.pyi new file mode 100644 index 00000000..6b3fee10 --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/pipeline/__init__.pyi @@ -0,0 +1,26 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment +import jneqsim.process.instrumentdesign +import typing + + + +class PipelineInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def isIncludeLeakDetection(self) -> bool: ... + def isIncludePigDetection(self) -> bool: ... + def setIncludeLeakDetection(self, boolean: bool) -> None: ... + def setIncludePigDetection(self, boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.pipeline")``. + + PipelineInstrumentDesign: typing.Type[PipelineInstrumentDesign] diff --git a/src/jneqsim/process/instrumentdesign/separator/__init__.pyi b/src/jneqsim/process/instrumentdesign/separator/__init__.pyi new file mode 100644 index 00000000..b6dfed65 --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/separator/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment +import jneqsim.process.instrumentdesign +import typing + + + +class SeparatorInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def isThreePhase(self) -> bool: ... + def setThreePhase(self, boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.separator")``. + + SeparatorInstrumentDesign: typing.Type[SeparatorInstrumentDesign] diff --git a/src/jneqsim/process/instrumentdesign/system/__init__.pyi b/src/jneqsim/process/instrumentdesign/system/__init__.pyi new file mode 100644 index 00000000..0552ca69 --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/system/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import typing + + + +class SystemInstrumentDesign(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def calcDesign(self) -> None: ... + def getDcsCabinets(self) -> int: ... + def getDcsCostUSD(self) -> float: ... + def getEquipmentSummaries(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getMarshallingCabinets(self) -> int: ... + def getSisCabinets(self) -> int: ... + def getSisCostUSD(self) -> float: ... + def getTotalAI(self) -> int: ... + def getTotalAO(self) -> int: ... + def getTotalDI(self) -> int: ... + def getTotalDO(self) -> int: ... + def getTotalIO(self) -> int: ... + def getTotalInstrumentCostUSD(self) -> float: ... + def getTotalInstruments(self) -> int: ... + def getTotalSafetyIO(self) -> int: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.system")``. + + SystemInstrumentDesign: typing.Type[SystemInstrumentDesign] diff --git a/src/jneqsim/process/instrumentdesign/valve/__init__.pyi b/src/jneqsim/process/instrumentdesign/valve/__init__.pyi new file mode 100644 index 00000000..b8abd995 --- /dev/null +++ b/src/jneqsim/process/instrumentdesign/valve/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment +import jneqsim.process.instrumentdesign +import typing + + + +class ValveInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def isSafetyValve(self) -> bool: ... + def setSafetyValve(self, boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.valve")``. + + ValveInstrumentDesign: typing.Type[ValveInstrumentDesign] diff --git a/src/jneqsim/process/integration/__init__.pyi b/src/jneqsim/process/integration/__init__.pyi new file mode 100644 index 00000000..84794a8a --- /dev/null +++ b/src/jneqsim/process/integration/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.integration.ml +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration")``. + + ml: jneqsim.process.integration.ml.__module_protocol__ diff --git a/src/jneqsim/process/integration/ml/__init__.pyi b/src/jneqsim/process/integration/ml/__init__.pyi new file mode 100644 index 00000000..6a2b3479 --- /dev/null +++ b/src/jneqsim/process/integration/ml/__init__.pyi @@ -0,0 +1,85 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.process.equipment.stream +import typing + + + +class FeatureExtractor: + STANDARD_STREAM_FEATURES: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + MINIMAL_STREAM_FEATURES: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + @staticmethod + def extractFeature(streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def extractFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def extractMinimalFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[float]: ... + @staticmethod + def extractStandardFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[float]: ... + @staticmethod + def normalizeMinMax(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def normalizeZScore(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + +class MLCorrectionInterface: + def correct(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def correctBatch(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getConfidence(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getFeatureCount(self) -> int: ... + def getFeatureNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getModelVersion(self) -> java.lang.String: ... + def getUncertainty(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def isReady(self) -> bool: ... + def onModelUpdate(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> None: ... + +class HybridModelAdapter(MLCorrectionInterface, java.io.Serializable): + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], combinationStrategy: 'HybridModelAdapter.CombinationStrategy'): ... + @staticmethod + def additive(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'HybridModelAdapter': ... + def correct(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getBias(self) -> float: ... + def getConfidence(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getFeatureCount(self) -> int: ... + def getFeatureNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getModelVersion(self) -> java.lang.String: ... + def getStrategy(self) -> 'HybridModelAdapter.CombinationStrategy': ... + def getUncertainty(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getWeights(self) -> typing.MutableSequence[float]: ... + def isReady(self) -> bool: ... + @staticmethod + def multiplicative(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'HybridModelAdapter': ... + def onModelUpdate(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> None: ... + def setConfidenceThreshold(self, double: float) -> None: ... + def setLinearModel(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... + def setStrategy(self, combinationStrategy: 'HybridModelAdapter.CombinationStrategy') -> None: ... + def trainLinear(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + class CombinationStrategy(java.lang.Enum['HybridModelAdapter.CombinationStrategy']): + ADDITIVE: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... + MULTIPLICATIVE: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... + REPLACEMENT: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... + WEIGHTED_AVERAGE: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... + _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]) -> 'HybridModelAdapter.CombinationStrategy': ... + @staticmethod + def values() -> typing.MutableSequence['HybridModelAdapter.CombinationStrategy']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration.ml")``. + + FeatureExtractor: typing.Type[FeatureExtractor] + HybridModelAdapter: typing.Type[HybridModelAdapter] + MLCorrectionInterface: typing.Type[MLCorrectionInterface] diff --git a/src/jneqsim/process/logic/__init__.pyi b/src/jneqsim/process/logic/__init__.pyi new file mode 100644 index 00000000..ef50fcff --- /dev/null +++ b/src/jneqsim/process/logic/__init__.pyi @@ -0,0 +1,83 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.logic.action +import jneqsim.process.logic.condition +import jneqsim.process.logic.control +import jneqsim.process.logic.esd +import jneqsim.process.logic.hipps +import jneqsim.process.logic.shutdown +import jneqsim.process.logic.sis +import jneqsim.process.logic.startup +import jneqsim.process.logic.voting +import typing + + + +class LogicAction: + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + +class LogicCondition: + def evaluate(self) -> bool: ... + def getCurrentValue(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedValue(self) -> java.lang.String: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + +class LogicState(java.lang.Enum['LogicState']): + IDLE: typing.ClassVar['LogicState'] = ... + RUNNING: typing.ClassVar['LogicState'] = ... + PAUSED: typing.ClassVar['LogicState'] = ... + COMPLETED: typing.ClassVar['LogicState'] = ... + FAILED: typing.ClassVar['LogicState'] = ... + WAITING_PERMISSIVES: typing.ClassVar['LogicState'] = ... + _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]) -> 'LogicState': ... + @staticmethod + def values() -> typing.MutableSequence['LogicState']: ... + +class ProcessLogic(java.io.Serializable): + def activate(self) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getName(self) -> java.lang.String: ... + def getState(self) -> LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def reset(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic")``. + + LogicAction: typing.Type[LogicAction] + LogicCondition: typing.Type[LogicCondition] + LogicState: typing.Type[LogicState] + ProcessLogic: typing.Type[ProcessLogic] + action: jneqsim.process.logic.action.__module_protocol__ + condition: jneqsim.process.logic.condition.__module_protocol__ + control: jneqsim.process.logic.control.__module_protocol__ + esd: jneqsim.process.logic.esd.__module_protocol__ + hipps: jneqsim.process.logic.hipps.__module_protocol__ + shutdown: jneqsim.process.logic.shutdown.__module_protocol__ + sis: jneqsim.process.logic.sis.__module_protocol__ + startup: jneqsim.process.logic.startup.__module_protocol__ + voting: jneqsim.process.logic.voting.__module_protocol__ diff --git a/src/jneqsim/process/logic/action/__init__.pyi b/src/jneqsim/process/logic/action/__init__.pyi new file mode 100644 index 00000000..7a84e6ab --- /dev/null +++ b/src/jneqsim/process/logic/action/__init__.pyi @@ -0,0 +1,122 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.splitter +import jneqsim.process.equipment.valve +import jneqsim.process.logic +import typing + + + +class ActivateBlowdownAction(jneqsim.process.logic.LogicAction): + def __init__(self, blowdownValve: jneqsim.process.equipment.valve.BlowdownValve): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + +class CloseValveAction(jneqsim.process.logic.LogicAction): + def __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + +class ConditionalAction(jneqsim.process.logic.LogicAction): + @typing.overload + def __init__(self, logicCondition: jneqsim.process.logic.LogicCondition, logicAction: jneqsim.process.logic.LogicAction, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, logicCondition: jneqsim.process.logic.LogicCondition, logicAction: jneqsim.process.logic.LogicAction, logicAction2: jneqsim.process.logic.LogicAction, string: typing.Union[java.lang.String, str]): ... + def execute(self) -> None: ... + def getAlternativeAction(self) -> jneqsim.process.logic.LogicAction: ... + def getCondition(self) -> jneqsim.process.logic.LogicCondition: ... + def getDescription(self) -> java.lang.String: ... + def getPrimaryAction(self) -> jneqsim.process.logic.LogicAction: ... + def getSelectedAction(self) -> jneqsim.process.logic.LogicAction: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + def isEvaluated(self) -> bool: ... + def reset(self) -> None: ... + +class EnergizeESDValveAction(jneqsim.process.logic.LogicAction): + @typing.overload + def __init__(self, eSDValve: jneqsim.process.equipment.valve.ESDValve): ... + @typing.overload + def __init__(self, eSDValve: jneqsim.process.equipment.valve.ESDValve, double: float): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + +class OpenValveAction(jneqsim.process.logic.LogicAction): + def __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + +class ParallelActionGroup(jneqsim.process.logic.LogicAction): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAction(self, logicAction: jneqsim.process.logic.LogicAction) -> None: ... + def execute(self) -> None: ... + def getActions(self) -> java.util.List[jneqsim.process.logic.LogicAction]: ... + def getCompletedCount(self) -> int: ... + def getCompletionPercentage(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def getTotalCount(self) -> int: ... + def isComplete(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): + def __init__(self, separator: jneqsim.process.equipment.separator.Separator, boolean: bool): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + def isSteadyState(self) -> bool: ... + +class SetSplitterAction(jneqsim.process.logic.LogicAction): + def __init__(self, splitter: jneqsim.process.equipment.splitter.Splitter, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + +class SetValveOpeningAction(jneqsim.process.logic.LogicAction): + def __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, double: float): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def getTargetOpening(self) -> float: ... + def isComplete(self) -> bool: ... + +class TripValveAction(jneqsim.process.logic.LogicAction): + def __init__(self, eSDValve: jneqsim.process.equipment.valve.ESDValve): ... + def execute(self) -> None: ... + def getDescription(self) -> java.lang.String: ... + def getTargetName(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.action")``. + + ActivateBlowdownAction: typing.Type[ActivateBlowdownAction] + CloseValveAction: typing.Type[CloseValveAction] + ConditionalAction: typing.Type[ConditionalAction] + EnergizeESDValveAction: typing.Type[EnergizeESDValveAction] + OpenValveAction: typing.Type[OpenValveAction] + ParallelActionGroup: typing.Type[ParallelActionGroup] + SetSeparatorModeAction: typing.Type[SetSeparatorModeAction] + SetSplitterAction: typing.Type[SetSplitterAction] + SetValveOpeningAction: typing.Type[SetValveOpeningAction] + TripValveAction: typing.Type[TripValveAction] diff --git a/src/jneqsim/process/logic/condition/__init__.pyi b/src/jneqsim/process/logic/condition/__init__.pyi new file mode 100644 index 00000000..dca059fb --- /dev/null +++ b/src/jneqsim/process/logic/condition/__init__.pyi @@ -0,0 +1,69 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.equipment.valve +import jneqsim.process.logic +import typing + + + +class PressureCondition(jneqsim.process.logic.LogicCondition): + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str], double2: float): ... + def evaluate(self) -> bool: ... + def getCurrentValue(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedValue(self) -> java.lang.String: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + +class TemperatureCondition(jneqsim.process.logic.LogicCondition): + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str], double2: float): ... + def evaluate(self) -> bool: ... + def getCurrentValue(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedValue(self) -> java.lang.String: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + +class TimerCondition(jneqsim.process.logic.LogicCondition): + def __init__(self, double: float): ... + def evaluate(self) -> bool: ... + def getCurrentValue(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getElapsed(self) -> float: ... + def getExpectedValue(self) -> java.lang.String: ... + def getRemaining(self) -> float: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def reset(self) -> None: ... + def start(self) -> None: ... + def update(self, double: float) -> None: ... + +class ValvePositionCondition(jneqsim.process.logic.LogicCondition): + @typing.overload + def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface, string: typing.Union[java.lang.String, str], double: float): ... + @typing.overload + def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def evaluate(self) -> bool: ... + def getCurrentValue(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedValue(self) -> java.lang.String: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.condition")``. + + PressureCondition: typing.Type[PressureCondition] + TemperatureCondition: typing.Type[TemperatureCondition] + TimerCondition: typing.Type[TimerCondition] + ValvePositionCondition: typing.Type[ValvePositionCondition] diff --git a/src/jneqsim/process/logic/control/__init__.pyi b/src/jneqsim/process/logic/control/__init__.pyi new file mode 100644 index 00000000..ae104c9f --- /dev/null +++ b/src/jneqsim/process/logic/control/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.valve +import jneqsim.process.logic +import jneqsim.process.processmodel +import typing + + + +class PressureControlLogic(jneqsim.process.logic.ProcessLogic): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], controlValve: jneqsim.process.equipment.valve.ControlValve, double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], controlValve: jneqsim.process.equipment.valve.ControlValve, double: float, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def activate(self) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getControlValve(self) -> jneqsim.process.equipment.valve.ControlValve: ... + def getName(self) -> java.lang.String: ... + def getState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetOpening(self) -> float: ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def reset(self) -> bool: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.control")``. + + PressureControlLogic: typing.Type[PressureControlLogic] diff --git a/src/jneqsim/process/logic/esd/__init__.pyi b/src/jneqsim/process/logic/esd/__init__.pyi new file mode 100644 index 00000000..7fa79b3f --- /dev/null +++ b/src/jneqsim/process/logic/esd/__init__.pyi @@ -0,0 +1,37 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.logic +import typing + + + +class ESDLogic(jneqsim.process.logic.ProcessLogic): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def activate(self) -> None: ... + def addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getActionCount(self) -> int: ... + def getCurrentActionIndex(self) -> int: ... + def getElapsedTime(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def reset(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.esd")``. + + ESDLogic: typing.Type[ESDLogic] diff --git a/src/jneqsim/process/logic/hipps/__init__.pyi b/src/jneqsim/process/logic/hipps/__init__.pyi new file mode 100644 index 00000000..d50527b0 --- /dev/null +++ b/src/jneqsim/process/logic/hipps/__init__.pyi @@ -0,0 +1,46 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.valve +import jneqsim.process.logic +import jneqsim.process.logic.sis +import typing + + + +class HIPPSLogic(jneqsim.process.logic.ProcessLogic): + def __init__(self, string: typing.Union[java.lang.String, str], votingLogic: jneqsim.process.logic.sis.VotingLogic): ... + def activate(self) -> None: ... + def addPressureSensor(self, detector: jneqsim.process.logic.sis.Detector) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getName(self) -> java.lang.String: ... + def getPressureSensor(self, int: int) -> jneqsim.process.logic.sis.Detector: ... + def getState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTimeSinceTrip(self) -> float: ... + def hasEscalated(self) -> bool: ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def isTripped(self) -> bool: ... + def linkToEscalationLogic(self, processLogic: jneqsim.process.logic.ProcessLogic, double: float) -> None: ... + def reset(self) -> bool: ... + def setIsolationValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setOverride(self, boolean: bool) -> None: ... + def setValveClosureTime(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + def update(self, *double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.hipps")``. + + HIPPSLogic: typing.Type[HIPPSLogic] diff --git a/src/jneqsim/process/logic/shutdown/__init__.pyi b/src/jneqsim/process/logic/shutdown/__init__.pyi new file mode 100644 index 00000000..94e4628f --- /dev/null +++ b/src/jneqsim/process/logic/shutdown/__init__.pyi @@ -0,0 +1,44 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.logic +import typing + + + +class ShutdownLogic(jneqsim.process.logic.ProcessLogic): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def activate(self) -> None: ... + def addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getActionCount(self) -> int: ... + def getCompletedActionCount(self) -> int: ... + def getEffectiveShutdownTime(self) -> float: ... + def getEmergencyShutdownTime(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getProgress(self) -> float: ... + def getRampDownTime(self) -> float: ... + def getState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def isEmergencyMode(self) -> bool: ... + def reset(self) -> bool: ... + def setEmergencyMode(self, boolean: bool) -> None: ... + def setEmergencyShutdownTime(self, double: float) -> None: ... + def setRampDownTime(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.shutdown")``. + + ShutdownLogic: typing.Type[ShutdownLogic] diff --git a/src/jneqsim/process/logic/sis/__init__.pyi b/src/jneqsim/process/logic/sis/__init__.pyi new file mode 100644 index 00000000..a443ae77 --- /dev/null +++ b/src/jneqsim/process/logic/sis/__init__.pyi @@ -0,0 +1,119 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.logic +import typing + + + +class Detector: + def __init__(self, string: typing.Union[java.lang.String, str], detectorType: 'Detector.DetectorType', alarmLevel: 'Detector.AlarmLevel', double: float, string2: typing.Union[java.lang.String, str]): ... + def getAlarmLevel(self) -> 'Detector.AlarmLevel': ... + def getMeasuredValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSetpoint(self) -> float: ... + def getTripTime(self) -> int: ... + def getType(self) -> 'Detector.DetectorType': ... + def isBypassed(self) -> bool: ... + def isFaulty(self) -> bool: ... + def isTripped(self) -> bool: ... + def reset(self) -> None: ... + def setBypass(self, boolean: bool) -> None: ... + def setFaulty(self, boolean: bool) -> None: ... + def setSetpoint(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + def trip(self) -> None: ... + def update(self, double: float) -> None: ... + class AlarmLevel(java.lang.Enum['Detector.AlarmLevel']): + LOW_LOW: typing.ClassVar['Detector.AlarmLevel'] = ... + LOW: typing.ClassVar['Detector.AlarmLevel'] = ... + HIGH: typing.ClassVar['Detector.AlarmLevel'] = ... + HIGH_HIGH: typing.ClassVar['Detector.AlarmLevel'] = ... + def getNotation(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]) -> 'Detector.AlarmLevel': ... + @staticmethod + def values() -> typing.MutableSequence['Detector.AlarmLevel']: ... + class DetectorType(java.lang.Enum['Detector.DetectorType']): + FIRE: typing.ClassVar['Detector.DetectorType'] = ... + GAS: typing.ClassVar['Detector.DetectorType'] = ... + PRESSURE: typing.ClassVar['Detector.DetectorType'] = ... + TEMPERATURE: typing.ClassVar['Detector.DetectorType'] = ... + LEVEL: typing.ClassVar['Detector.DetectorType'] = ... + FLOW: typing.ClassVar['Detector.DetectorType'] = ... + def getDescription(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]) -> 'Detector.DetectorType': ... + @staticmethod + def values() -> typing.MutableSequence['Detector.DetectorType']: ... + +class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): + def __init__(self, string: typing.Union[java.lang.String, str], votingLogic: 'VotingLogic'): ... + def activate(self) -> None: ... + def addDetector(self, detector: Detector) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getDetector(self, int: int) -> Detector: ... + def getDetectors(self) -> java.util.List[Detector]: ... + def getName(self) -> java.lang.String: ... + def getState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getVotingLogic(self) -> 'VotingLogic': ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def isOverridden(self) -> bool: ... + def isTripped(self) -> bool: ... + def linkToLogic(self, processLogic: jneqsim.process.logic.ProcessLogic) -> None: ... + def reset(self) -> bool: ... + def setMaxBypassedDetectors(self, int: int) -> None: ... + def setOverride(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + def update(self, *double: float) -> None: ... + +class VotingLogic(java.lang.Enum['VotingLogic']): + ONE_OUT_OF_ONE: typing.ClassVar['VotingLogic'] = ... + ONE_OUT_OF_TWO: typing.ClassVar['VotingLogic'] = ... + TWO_OUT_OF_TWO: typing.ClassVar['VotingLogic'] = ... + TWO_OUT_OF_THREE: typing.ClassVar['VotingLogic'] = ... + TWO_OUT_OF_FOUR: typing.ClassVar['VotingLogic'] = ... + THREE_OUT_OF_FOUR: typing.ClassVar['VotingLogic'] = ... + def evaluate(self, int: int) -> bool: ... + def getNotation(self) -> java.lang.String: ... + def getRequiredTrips(self) -> int: ... + def getTotalSensors(self) -> int: ... + def toString(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]) -> 'VotingLogic': ... + @staticmethod + def values() -> typing.MutableSequence['VotingLogic']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.sis")``. + + Detector: typing.Type[Detector] + SafetyInstrumentedFunction: typing.Type[SafetyInstrumentedFunction] + VotingLogic: typing.Type[VotingLogic] diff --git a/src/jneqsim/process/logic/startup/__init__.pyi b/src/jneqsim/process/logic/startup/__init__.pyi new file mode 100644 index 00000000..ecd33252 --- /dev/null +++ b/src/jneqsim/process/logic/startup/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.logic +import typing + + + +class StartupLogic(jneqsim.process.logic.ProcessLogic): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def activate(self) -> None: ... + def addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... + def addPermissive(self, logicCondition: jneqsim.process.logic.LogicCondition) -> None: ... + def deactivate(self) -> None: ... + def execute(self, double: float) -> None: ... + def getAbortReason(self) -> java.lang.String: ... + def getActionCount(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getPermissiveWaitTime(self) -> float: ... + def getPermissives(self) -> java.util.List[jneqsim.process.logic.LogicCondition]: ... + def getState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def isAborted(self) -> bool: ... + def isActive(self) -> bool: ... + def isComplete(self) -> bool: ... + def reset(self) -> bool: ... + def setPermissiveTimeout(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.startup")``. + + StartupLogic: typing.Type[StartupLogic] diff --git a/src/jneqsim/process/logic/voting/__init__.pyi b/src/jneqsim/process/logic/voting/__init__.pyi new file mode 100644 index 00000000..507ad254 --- /dev/null +++ b/src/jneqsim/process/logic/voting/__init__.pyi @@ -0,0 +1,54 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import typing + + + +_VotingEvaluator__T = typing.TypeVar('_VotingEvaluator__T') # +class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): + def __init__(self, votingPattern: 'VotingPattern'): ... + def addInput(self, t: _VotingEvaluator__T, boolean: bool) -> None: ... + def clearInputs(self) -> None: ... + def evaluateAverage(self) -> float: ... + def evaluateDigital(self) -> bool: ... + def evaluateMedian(self) -> float: ... + def evaluateMidValue(self) -> float: ... + def getFaultyInputCount(self) -> int: ... + def getPattern(self) -> 'VotingPattern': ... + def getTotalInputCount(self) -> int: ... + def getValidInputCount(self) -> int: ... + +class VotingPattern(java.lang.Enum['VotingPattern']): + ONE_OUT_OF_ONE: typing.ClassVar['VotingPattern'] = ... + ONE_OUT_OF_TWO: typing.ClassVar['VotingPattern'] = ... + TWO_OUT_OF_TWO: typing.ClassVar['VotingPattern'] = ... + TWO_OUT_OF_THREE: typing.ClassVar['VotingPattern'] = ... + TWO_OUT_OF_FOUR: typing.ClassVar['VotingPattern'] = ... + THREE_OUT_OF_FOUR: typing.ClassVar['VotingPattern'] = ... + def evaluate(self, int: int) -> bool: ... + def getNotation(self) -> java.lang.String: ... + def getRequiredTrue(self) -> int: ... + def getTotalSensors(self) -> int: ... + def toString(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]) -> 'VotingPattern': ... + @staticmethod + def values() -> typing.MutableSequence['VotingPattern']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.voting")``. + + VotingEvaluator: typing.Type[VotingEvaluator] + VotingPattern: typing.Type[VotingPattern] diff --git a/src/jneqsim/process/materials/__init__.pyi b/src/jneqsim/process/materials/__init__.pyi new file mode 100644 index 00000000..8795785b --- /dev/null +++ b/src/jneqsim/process/materials/__init__.pyi @@ -0,0 +1,164 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import typing + + + +class DamageMechanismAssessment(java.io.Serializable): + 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], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def addDetail(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'DamageMechanismAssessment': ... + @staticmethod + def fail(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], string5: typing.Union[java.lang.String, str]) -> 'DamageMechanismAssessment': ... + def getMechanism(self) -> java.lang.String: ... + def getStandard(self) -> java.lang.String: ... + def getStatus(self) -> java.lang.String: ... + @staticmethod + def info(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]) -> 'DamageMechanismAssessment': ... + def isFailing(self) -> bool: ... + def isWarning(self) -> bool: ... + @staticmethod + def pass_(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]) -> 'DamageMechanismAssessment': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + @staticmethod + def warning(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], string5: typing.Union[java.lang.String, str]) -> 'DamageMechanismAssessment': ... + +class IntegrityLifeAssessment(java.io.Serializable): + def __init__(self): ... + def addNote(self, string: typing.Union[java.lang.String, str]) -> 'IntegrityLifeAssessment': ... + @staticmethod + def fromWallThickness(double: float, double2: float, double3: float, double4: float) -> 'IntegrityLifeAssessment': ... + def getInspectionIntervalYears(self) -> int: ... + def getRemainingLifeYears(self) -> float: ... + def getVerdict(self) -> java.lang.String: ... + def setVerdict(self, string: typing.Union[java.lang.String, str]) -> 'IntegrityLifeAssessment': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MaterialRecommendation(java.io.Serializable): + def __init__(self): ... + def addAction(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def addAlternativeMaterial(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def addStandard(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def getRecommendedCorrosionAllowanceMm(self) -> float: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def setRationale(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def setRecommendedCorrosionAllowanceMm(self, double: float) -> 'MaterialRecommendation': ... + def setRecommendedMaterial(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MaterialReviewItem(java.io.Serializable): + def __init__(self): ... + def addSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... + @staticmethod + def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'MaterialReviewItem': ... + def getEquipmentType(self) -> java.lang.String: ... + def getExistingMaterial(self) -> java.lang.String: ... + def getMetadata(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getServiceEnvelope(self) -> 'MaterialServiceEnvelope': ... + def getSourceReferences(self) -> java.util.List[java.lang.String]: ... + def getTag(self) -> java.lang.String: ... + def mergeFrom(self, materialReviewItem: 'MaterialReviewItem') -> None: ... + def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'MaterialReviewItem': ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... + def setExistingMaterial(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... + def setServiceEnvelope(self, materialServiceEnvelope: 'MaterialServiceEnvelope') -> 'MaterialReviewItem': ... + def setTag(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MaterialReviewResult(java.io.Serializable): + def __init__(self, materialReviewItem: MaterialReviewItem): ... + def addAssessment(self, damageMechanismAssessment: DamageMechanismAssessment) -> 'MaterialReviewResult': ... + def finalizeVerdict(self) -> None: ... + def getRecommendation(self) -> MaterialRecommendation: ... + def getStandardsApplied(self) -> java.util.Set[java.lang.String]: ... + def getVerdict(self) -> java.lang.String: ... + def setConfidence(self, double: float) -> 'MaterialReviewResult': ... + def setIntegrityLifeAssessment(self, integrityLifeAssessment: IntegrityLifeAssessment) -> 'MaterialReviewResult': ... + def setRecommendation(self, materialRecommendation: MaterialRecommendation) -> 'MaterialReviewResult': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MaterialServiceEnvelope(java.io.Serializable): + def __init__(self): ... + @staticmethod + def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'MaterialServiceEnvelope': ... + def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getBoolean(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + def getDouble(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getString(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getStringList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getValues(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def set(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'MaterialServiceEnvelope': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MaterialsReviewDataSource: + def read(self) -> 'MaterialsReviewInput': ... + +class MaterialsReviewEngine: + def __init__(self): ... + @typing.overload + def evaluate(self, materialsReviewInput: 'MaterialsReviewInput') -> 'MaterialsReviewReport': ... + @typing.overload + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem, materialsReviewInput: 'MaterialsReviewInput') -> 'MaterialsReviewReport': ... + +class MaterialsReviewInput(java.io.Serializable): + def __init__(self): ... + def addItem(self, materialReviewItem: MaterialReviewItem) -> 'MaterialsReviewInput': ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewInput': ... + @staticmethod + def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'MaterialsReviewInput': ... + @staticmethod + def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'MaterialsReviewInput': ... + def getDesignLifeYears(self) -> float: ... + def getItems(self) -> java.util.List[MaterialReviewItem]: ... + def getProjectName(self) -> java.lang.String: ... + def mergeFrom(self, materialsReviewInput: 'MaterialsReviewInput') -> None: ... + def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'MaterialsReviewInput': ... + def setDesignLifeYears(self, double: float) -> 'MaterialsReviewInput': ... + def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewInput': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class MaterialsReviewReport(java.io.Serializable): + def __init__(self): ... + def addLimitation(self, string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewReport': ... + def addResult(self, materialReviewResult: MaterialReviewResult) -> 'MaterialsReviewReport': ... + def finalizeVerdict(self) -> None: ... + def getOverallVerdict(self) -> java.lang.String: ... + def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewReport': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class StidMaterialsDataSource(MaterialsReviewDataSource): + @typing.overload + def __init__(self, jsonObject: com.google.gson.JsonObject): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'StidMaterialsDataSource': ... + def read(self) -> MaterialsReviewInput: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.materials")``. + + DamageMechanismAssessment: typing.Type[DamageMechanismAssessment] + IntegrityLifeAssessment: typing.Type[IntegrityLifeAssessment] + MaterialRecommendation: typing.Type[MaterialRecommendation] + MaterialReviewItem: typing.Type[MaterialReviewItem] + MaterialReviewResult: typing.Type[MaterialReviewResult] + MaterialServiceEnvelope: typing.Type[MaterialServiceEnvelope] + MaterialsReviewDataSource: typing.Type[MaterialsReviewDataSource] + MaterialsReviewEngine: typing.Type[MaterialsReviewEngine] + MaterialsReviewInput: typing.Type[MaterialsReviewInput] + MaterialsReviewReport: typing.Type[MaterialsReviewReport] + StidMaterialsDataSource: typing.Type[StidMaterialsDataSource] diff --git a/src/jneqsim/process/measurementdevice/__init__.pyi b/src/jneqsim/process/measurementdevice/__init__.pyi new file mode 100644 index 00000000..d2d50e78 --- /dev/null +++ b/src/jneqsim/process/measurementdevice/__init__.pyi @@ -0,0 +1,613 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process +import jneqsim.process.alarm +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.valve +import jneqsim.process.logic +import jneqsim.process.measurementdevice.online +import jneqsim.process.measurementdevice.simpleflowregime +import jneqsim.process.measurementdevice.vfm +import jneqsim.util +import typing + + + +class InstrumentTagRole(java.lang.Enum['InstrumentTagRole']): + INPUT: typing.ClassVar['InstrumentTagRole'] = ... + BENCHMARK: typing.ClassVar['InstrumentTagRole'] = ... + VIRTUAL: typing.ClassVar['InstrumentTagRole'] = ... + _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]) -> 'InstrumentTagRole': ... + @staticmethod + def values() -> typing.MutableSequence['InstrumentTagRole']: ... + +class MeasurementDeviceInterface(jneqsim.process.ProcessElementInterface): + def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... + def applyFieldValue(self) -> None: ... + def displayResult(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def evaluateAlarm(self, double: float, double2: float, double3: float) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... + def getAlarmConfig(self) -> jneqsim.process.alarm.AlarmConfig: ... + def getAlarmState(self) -> jneqsim.process.alarm.AlarmState: ... + def getDeviation(self) -> float: ... + def getFieldValue(self) -> float: ... + def getMaximumValue(self) -> float: ... + def getMeasuredPercentValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + def getMinimumValue(self) -> float: ... + def getOnlineSignal(self) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... + def getOnlineValue(self) -> float: ... + def getRelativeDeviation(self) -> float: ... + def getTag(self) -> java.lang.String: ... + def getTagRole(self) -> InstrumentTagRole: ... + def getUnit(self) -> java.lang.String: ... + def hasFieldValue(self) -> bool: ... + def hashCode(self) -> int: ... + def isLogging(self) -> bool: ... + def isOnlineSignal(self) -> bool: ... + def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... + def setFieldValue(self, double: float) -> None: ... + def setLogging(self, boolean: bool) -> None: ... + def setMaximumValue(self, double: float) -> None: ... + def setMinimumValue(self, double: float) -> None: ... + def setTag(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTagRole(self, instrumentTagRole: InstrumentTagRole) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class SensorFaultType(java.lang.Enum['SensorFaultType']): + NONE: typing.ClassVar['SensorFaultType'] = ... + STUCK_AT_VALUE: typing.ClassVar['SensorFaultType'] = ... + LINEAR_DRIFT: typing.ClassVar['SensorFaultType'] = ... + BIAS: typing.ClassVar['SensorFaultType'] = ... + NOISE_BURST: typing.ClassVar['SensorFaultType'] = ... + SATURATION: typing.ClassVar['SensorFaultType'] = ... + _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]) -> 'SensorFaultType': ... + @staticmethod + def values() -> typing.MutableSequence['SensorFaultType']: ... + +class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceInterface): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... + def clearFault(self) -> None: ... + def displayResult(self) -> None: ... + def doConditionAnalysis(self) -> bool: ... + def evaluateAlarm(self, double: float, double2: float, double3: float) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... + def getAlarmConfig(self) -> jneqsim.process.alarm.AlarmConfig: ... + def getAlarmState(self) -> jneqsim.process.alarm.AlarmState: ... + def getConditionAnalysisMaxDeviation(self) -> float: ... + def getConditionAnalysisMessage(self) -> java.lang.String: ... + def getDelaySteps(self) -> int: ... + def getFaultParameter(self) -> float: ... + def getFaultType(self) -> SensorFaultType: ... + def getFieldValue(self) -> float: ... + def getFirstOrderTimeConstant(self) -> float: ... + def getMaximumValue(self) -> float: ... + def getMeasuredPercentValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMinimumValue(self) -> float: ... + def getNoiseStdDev(self) -> float: ... + def getOnlineMeasurementValue(self) -> float: ... + def getOnlineSignal(self) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... + def getTag(self) -> java.lang.String: ... + def getTagRole(self) -> InstrumentTagRole: ... + def getUnit(self) -> java.lang.String: ... + def hasFieldValue(self) -> bool: ... + def isAlarmShelved(self) -> bool: ... + def isLogging(self) -> bool: ... + def isOnlineSignal(self) -> bool: ... + def runConditionAnalysis(self) -> None: ... + def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... + def setConditionAnalysis(self, boolean: bool) -> None: ... + def setConditionAnalysisMaxDeviation(self, double: float) -> None: ... + def setDelaySteps(self, int: int) -> None: ... + def setFault(self, sensorFaultType: SensorFaultType, double: float) -> None: ... + def setFieldValue(self, double: float) -> None: ... + def setFirstOrderTimeConstant(self, double: float) -> None: ... + def setIsOnlineSignal(self, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setLogging(self, boolean: bool) -> None: ... + def setMaximumValue(self, double: float) -> None: ... + def setMinimumValue(self, double: float) -> None: ... + def setNoiseStdDev(self, double: float) -> None: ... + def setOnlineMeasurementValue(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOnlineSignal(self, onlineSignal: jneqsim.process.measurementdevice.online.OnlineSignal) -> None: ... + def setQualityCheckMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRandomSeed(self, long: int) -> None: ... + def setTag(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTagRole(self, instrumentTagRole: InstrumentTagRole) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def shelveAlarm(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def shelveAlarm(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def unshelveAlarm(self) -> None: ... + +class CompressorMonitor(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor): ... + @typing.overload + def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class DifferentialPressureTransmitter(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + def getHighPressureStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLowPressureStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class FireDetector(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def detectFire(self) -> None: ... + def displayResult(self) -> None: ... + def getDetectionDelay(self) -> float: ... + def getDetectionThreshold(self) -> float: ... + def getLocation(self) -> java.lang.String: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSignalLevel(self) -> float: ... + def isFireDetected(self) -> bool: ... + def reset(self) -> None: ... + def setDetectionDelay(self, double: float) -> None: ... + def setDetectionThreshold(self, double: float) -> None: ... + def setLocation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSignalLevel(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class FlowInducedVibrationAnalyser(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + @typing.overload + def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMethod(self) -> java.lang.String: ... + def setFRMSConstant(self, double: float) -> None: ... + def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSegment(self, int: int) -> None: ... + def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSupportDistance(self, double: float) -> None: ... + +class FlowRatioMeter(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, flowBasis: 'FlowRatioMeter.FlowBasis'): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, flowBasis: 'FlowRatioMeter.FlowBasis'): ... + def displayResult(self) -> None: ... + def getDenominatorStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFlowBasis(self) -> 'FlowRatioMeter.FlowBasis': ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumeratorStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + class FlowBasis(java.lang.Enum['FlowRatioMeter.FlowBasis']): + MASS: typing.ClassVar['FlowRatioMeter.FlowBasis'] = ... + MOLE: typing.ClassVar['FlowRatioMeter.FlowBasis'] = ... + VOLUME: typing.ClassVar['FlowRatioMeter.FlowBasis'] = ... + _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]) -> 'FlowRatioMeter.FlowBasis': ... + @staticmethod + def values() -> typing.MutableSequence['FlowRatioMeter.FlowBasis']: ... + +class GasDetector(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], gasType: 'GasDetector.GasType'): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], gasType: 'GasDetector.GasType', string2: typing.Union[java.lang.String, str]): ... + def convertPercentLELToPpm(self, double: float) -> float: ... + def convertPpmToPercentLEL(self, double: float) -> float: ... + def displayResult(self) -> None: ... + def getGasConcentration(self) -> float: ... + def getGasSpecies(self) -> java.lang.String: ... + def getGasType(self) -> 'GasDetector.GasType': ... + def getLocation(self) -> java.lang.String: ... + def getLowerExplosiveLimit(self) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getResponseTime(self) -> float: ... + def isGasDetected(self, double: float) -> bool: ... + def isHighAlarm(self, double: float) -> bool: ... + def reset(self) -> None: ... + def setGasConcentration(self, double: float) -> None: ... + def setGasSpecies(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLowerExplosiveLimit(self, double: float) -> None: ... + def setResponseTime(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class GasType(java.lang.Enum['GasDetector.GasType']): + COMBUSTIBLE: typing.ClassVar['GasDetector.GasType'] = ... + TOXIC: typing.ClassVar['GasDetector.GasType'] = ... + OXYGEN: typing.ClassVar['GasDetector.GasType'] = ... + def getDefaultUnit(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]) -> 'GasDetector.GasType': ... + @staticmethod + def values() -> typing.MutableSequence['GasDetector.GasType']: ... + +class LevelTransmitter(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + @typing.overload + def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class OilLevelTransmitter(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + @typing.overload + def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilThickness(self) -> float: ... + +class PushButton(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], blowdownValve: jneqsim.process.equipment.valve.BlowdownValve): ... + def displayResult(self) -> None: ... + def getLinkedBlowdownValve(self) -> jneqsim.process.equipment.valve.BlowdownValve: ... + def getLinkedLogics(self) -> java.util.List[jneqsim.process.logic.ProcessLogic]: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isAutoActivateValve(self) -> bool: ... + def isPushed(self) -> bool: ... + def linkToBlowdownValve(self, blowdownValve: jneqsim.process.equipment.valve.BlowdownValve) -> None: ... + def linkToLogic(self, processLogic: jneqsim.process.logic.ProcessLogic) -> None: ... + def push(self) -> None: ... + def reset(self) -> None: ... + def setAutoActivateValve(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + +class StreamMeasurementDeviceBaseClass(MeasurementDeviceBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class WaterLevelTransmitter(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + @typing.overload + def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class CombustionEmissionsCalculator(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @staticmethod + def calculateCO2Emissions(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]]) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def setComponents(self) -> None: ... + +class CompositionAnalyzer(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, string2: typing.Union[java.lang.String, str], analyzerPhase: 'CompositionAnalyzer.AnalyzerPhase'): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], analyzerPhase: 'CompositionAnalyzer.AnalyzerPhase'): ... + def displayResult(self) -> None: ... + def getAnalyzerPhase(self) -> 'CompositionAnalyzer.AnalyzerPhase': ... + def getComponentName(self) -> java.lang.String: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + class AnalyzerPhase(java.lang.Enum['CompositionAnalyzer.AnalyzerPhase']): + OVERALL: typing.ClassVar['CompositionAnalyzer.AnalyzerPhase'] = ... + GAS: typing.ClassVar['CompositionAnalyzer.AnalyzerPhase'] = ... + LIQUID: typing.ClassVar['CompositionAnalyzer.AnalyzerPhase'] = ... + _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]) -> 'CompositionAnalyzer.AnalyzerPhase': ... + @staticmethod + def values() -> typing.MutableSequence['CompositionAnalyzer.AnalyzerPhase']: ... + +class CricondenbarAnalyser(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue2(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + +class HydrateEquilibriumTemperatureAnalyser(StreamMeasurementDeviceBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReferencePressure(self) -> float: ... + def setReferencePressure(self, double: float) -> None: ... + +class HydrocarbonDewPointAnalyser(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMethod(self) -> java.lang.String: ... + def getReferencePressure(self) -> float: ... + def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferencePressure(self, double: float) -> None: ... + +class ImpurityMonitor(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def addTrackedComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addTrackedComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def displayResult(self) -> None: ... + def getBulkMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEnrichmentFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFullReport(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getGasPhaseFraction(self) -> float: ... + def getGasPhaseMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLiquidPhaseMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfPhases(self) -> int: ... + def isAlarmExceeded(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setPrimaryComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class MolarMassAnalyser(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class MultiPhaseMeter(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class NMVOCAnalyser(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getnmVOCFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class PressureTransmitter(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def applyFieldValue(self) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class TemperatureTransmitter(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def applyFieldValue(self) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class VolumeFlowTransmitter(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def applyFieldValue(self) -> None: ... + def displayResult(self) -> None: ... + def getMeasuredPhaseNumber(self) -> int: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def setMeasuredPhaseNumber(self, int: int) -> None: ... + +class WaterContentAnalyser(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class WaterDewPointAnalyser(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMethod(self) -> java.lang.String: ... + def getReferencePressure(self) -> float: ... + def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferencePressure(self, double: float) -> None: ... + +class WellAllocator(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def setExportGasStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setExportOilStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + +class pHProbe(StreamMeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getAlkalinity(self) -> float: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def run(self) -> None: ... + def setAlkalinity(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice")``. + + CombustionEmissionsCalculator: typing.Type[CombustionEmissionsCalculator] + CompositionAnalyzer: typing.Type[CompositionAnalyzer] + CompressorMonitor: typing.Type[CompressorMonitor] + CricondenbarAnalyser: typing.Type[CricondenbarAnalyser] + DifferentialPressureTransmitter: typing.Type[DifferentialPressureTransmitter] + FireDetector: typing.Type[FireDetector] + FlowInducedVibrationAnalyser: typing.Type[FlowInducedVibrationAnalyser] + FlowRatioMeter: typing.Type[FlowRatioMeter] + GasDetector: typing.Type[GasDetector] + HydrateEquilibriumTemperatureAnalyser: typing.Type[HydrateEquilibriumTemperatureAnalyser] + HydrocarbonDewPointAnalyser: typing.Type[HydrocarbonDewPointAnalyser] + ImpurityMonitor: typing.Type[ImpurityMonitor] + InstrumentTagRole: typing.Type[InstrumentTagRole] + LevelTransmitter: typing.Type[LevelTransmitter] + MeasurementDeviceBaseClass: typing.Type[MeasurementDeviceBaseClass] + MeasurementDeviceInterface: typing.Type[MeasurementDeviceInterface] + MolarMassAnalyser: typing.Type[MolarMassAnalyser] + MultiPhaseMeter: typing.Type[MultiPhaseMeter] + NMVOCAnalyser: typing.Type[NMVOCAnalyser] + OilLevelTransmitter: typing.Type[OilLevelTransmitter] + PressureTransmitter: typing.Type[PressureTransmitter] + PushButton: typing.Type[PushButton] + SensorFaultType: typing.Type[SensorFaultType] + StreamMeasurementDeviceBaseClass: typing.Type[StreamMeasurementDeviceBaseClass] + TemperatureTransmitter: typing.Type[TemperatureTransmitter] + VolumeFlowTransmitter: typing.Type[VolumeFlowTransmitter] + WaterContentAnalyser: typing.Type[WaterContentAnalyser] + WaterDewPointAnalyser: typing.Type[WaterDewPointAnalyser] + WaterLevelTransmitter: typing.Type[WaterLevelTransmitter] + WellAllocator: typing.Type[WellAllocator] + pHProbe: typing.Type[pHProbe] + online: jneqsim.process.measurementdevice.online.__module_protocol__ + simpleflowregime: jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ + vfm: jneqsim.process.measurementdevice.vfm.__module_protocol__ diff --git a/src/jneqsim/process/measurementdevice/online/__init__.pyi b/src/jneqsim/process/measurementdevice/online/__init__.pyi new file mode 100644 index 00000000..70182b12 --- /dev/null +++ b/src/jneqsim/process/measurementdevice/online/__init__.pyi @@ -0,0 +1,27 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class OnlineSignal(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def connect(self) -> bool: ... + def getTimeStamp(self) -> java.util.Date: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice.online")``. + + OnlineSignal: typing.Type[OnlineSignal] diff --git a/src/jneqsim/process/measurementdevice/simpleflowregime/__init__.pyi b/src/jneqsim/process/measurementdevice/simpleflowregime/__init__.pyi new file mode 100644 index 00000000..be5923a5 --- /dev/null +++ b/src/jneqsim/process/measurementdevice/simpleflowregime/__init__.pyi @@ -0,0 +1,92 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.process.equipment.stream +import jneqsim.process.measurementdevice +import jneqsim.thermo.system +import typing + + + +class FluidSevereSlug: + def getGasConstant(self) -> float: ... + def getLiqDensity(self) -> float: ... + def getMolecularWeight(self) -> float: ... + def getliqVisc(self) -> float: ... + def setLiqDensity(self, double: float) -> None: ... + def setLiqVisc(self, double: float) -> None: ... + def setMolecularWeight(self, double: float) -> None: ... + +class Pipe: + def getAngle(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getArea(self) -> float: ... + def getInternalDiameter(self) -> float: ... + def getLeftLength(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRightLength(self) -> float: ... + def setAngle(self, double: float) -> None: ... + def setInternalDiameter(self, double: float) -> None: ... + def setLeftLength(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRightLength(self, double: float) -> None: ... + +class SevereSlugAnalyser(jneqsim.process.measurementdevice.MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, int: int): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], stream: jneqsim.process.equipment.stream.Stream, double: float, double2: float, double3: float, double4: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], stream: jneqsim.process.equipment.stream.Stream, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, int: int): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], stream: jneqsim.process.equipment.stream.Stream, double: float, double2: float, double3: float, double4: float, double5: float, int: int): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, pipe: Pipe, double: float, double2: float, double3: float, int: int): ... + def checkFlowRegime(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> java.lang.String: ... + def gasConst(self, fluidSevereSlug: FluidSevereSlug) -> float: ... + def getFlowPattern(self) -> java.lang.String: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeasuredValue(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... + def getNumberOfTimeSteps(self) -> int: ... + def getOutletPressure(self) -> float: ... + @typing.overload + def getPredictedFlowRegime(self) -> java.lang.String: ... + @typing.overload + def getPredictedFlowRegime(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> java.lang.String: ... + def getSimulationTime(self) -> float: ... + def getSlugValue(self) -> float: ... + def getSuperficialGasVelocity(self) -> float: ... + def getSuperficialLiquidVelocity(self) -> float: ... + def getTemperature(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runSevereSlug(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> None: ... + def setNumberOfTimeSteps(self, int: int) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setSimulationTime(self, double: float) -> None: ... + def setSuperficialGasVelocity(self, double: float) -> None: ... + def setSuperficialLiquidVelocity(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def slugHoldUp(self, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... + def stratifiedHoldUp(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice.simpleflowregime")``. + + FluidSevereSlug: typing.Type[FluidSevereSlug] + Pipe: typing.Type[Pipe] + SevereSlugAnalyser: typing.Type[SevereSlugAnalyser] diff --git a/src/jneqsim/process/measurementdevice/vfm/__init__.pyi b/src/jneqsim/process/measurementdevice/vfm/__init__.pyi new file mode 100644 index 00000000..3d206d84 --- /dev/null +++ b/src/jneqsim/process/measurementdevice/vfm/__init__.pyi @@ -0,0 +1,169 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.equipment.stream +import jneqsim.process.measurementdevice +import typing + + + +class SoftSensor(jneqsim.process.measurementdevice.StreamMeasurementDeviceBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, propertyType: 'SoftSensor.PropertyType'): ... + @typing.overload + def estimate(self) -> float: ... + @typing.overload + def estimate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + def getLastSensitivity(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPropertyType(self) -> 'SoftSensor.PropertyType': ... + def getSensitivity(self) -> typing.MutableSequence[float]: ... + def getUncertaintyBounds(self, double: float, double2: float) -> 'UncertaintyBounds': ... + def setInput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setInputs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setPropertyType(self, propertyType: 'SoftSensor.PropertyType') -> None: ... + class PropertyType(java.lang.Enum['SoftSensor.PropertyType']): + GOR: typing.ClassVar['SoftSensor.PropertyType'] = ... + WATER_CUT: typing.ClassVar['SoftSensor.PropertyType'] = ... + DENSITY: typing.ClassVar['SoftSensor.PropertyType'] = ... + OIL_VISCOSITY: typing.ClassVar['SoftSensor.PropertyType'] = ... + GAS_VISCOSITY: typing.ClassVar['SoftSensor.PropertyType'] = ... + Z_FACTOR: typing.ClassVar['SoftSensor.PropertyType'] = ... + HEATING_VALUE: typing.ClassVar['SoftSensor.PropertyType'] = ... + BUBBLE_POINT: typing.ClassVar['SoftSensor.PropertyType'] = ... + DEW_POINT: typing.ClassVar['SoftSensor.PropertyType'] = ... + OIL_FVF: typing.ClassVar['SoftSensor.PropertyType'] = ... + GAS_FVF: typing.ClassVar['SoftSensor.PropertyType'] = ... + SOLUTION_GOR: typing.ClassVar['SoftSensor.PropertyType'] = ... + _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]) -> 'SoftSensor.PropertyType': ... + @staticmethod + def values() -> typing.MutableSequence['SoftSensor.PropertyType']: ... + +class UncertaintyBounds(java.io.Serializable): + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def add(self, uncertaintyBounds: 'UncertaintyBounds') -> 'UncertaintyBounds': ... + def getCoefficientOfVariation(self) -> float: ... + def getLower95(self) -> float: ... + def getLower99(self) -> float: ... + def getMean(self) -> float: ... + def getRelativeUncertaintyPercent(self) -> float: ... + def getStandardDeviation(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getUpper95(self) -> float: ... + def getUpper99(self) -> float: ... + def isWithin95CI(self, double: float) -> bool: ... + def isWithin99CI(self, double: float) -> bool: ... + def scale(self, double: float) -> 'UncertaintyBounds': ... + def toString(self) -> java.lang.String: ... + +class VFMResult(java.io.Serializable): + @staticmethod + def builder() -> 'VFMResult.Builder': ... + def getAdditionalProperties(self) -> java.util.Map[java.lang.String, float]: ... + def getGasFlowRate(self) -> float: ... + def getGasOilRatio(self) -> float: ... + def getGasUncertainty(self) -> UncertaintyBounds: ... + def getOilFlowRate(self) -> float: ... + def getOilUncertainty(self) -> UncertaintyBounds: ... + def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getQuality(self) -> 'VFMResult.Quality': ... + def getTimestamp(self) -> java.time.Instant: ... + def getTotalLiquidFlowRate(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterFlowRate(self) -> float: ... + def getWaterUncertainty(self) -> UncertaintyBounds: ... + def isUsable(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addProperty(self, string: typing.Union[java.lang.String, str], double: float) -> 'VFMResult.Builder': ... + def build(self) -> 'VFMResult': ... + @typing.overload + def gasFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + @typing.overload + def gasFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + @typing.overload + def oilFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + @typing.overload + def oilFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + def quality(self, quality: 'VFMResult.Quality') -> 'VFMResult.Builder': ... + def timestamp(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> 'VFMResult.Builder': ... + @typing.overload + def waterFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + @typing.overload + def waterFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + class Quality(java.lang.Enum['VFMResult.Quality']): + HIGH: typing.ClassVar['VFMResult.Quality'] = ... + NORMAL: typing.ClassVar['VFMResult.Quality'] = ... + LOW: typing.ClassVar['VFMResult.Quality'] = ... + EXTRAPOLATED: typing.ClassVar['VFMResult.Quality'] = ... + INVALID: typing.ClassVar['VFMResult.Quality'] = ... + _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]) -> 'VFMResult.Quality': ... + @staticmethod + def values() -> typing.MutableSequence['VFMResult.Quality']: ... + +class VirtualFlowMeter(jneqsim.process.measurementdevice.StreamMeasurementDeviceBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def calculateFlowRates(self) -> VFMResult: ... + @typing.overload + def calculateFlowRates(self, double: float, double2: float, double3: float) -> VFMResult: ... + def calibrate(self, list: java.util.List['VirtualFlowMeter.WellTestData']) -> None: ... + def getCalibrationFactor(self) -> float: ... + def getLastCalibrationTime(self) -> java.time.Instant: ... + def getLastResult(self) -> VFMResult: ... + @typing.overload + def getMeasuredValue(self) -> float: ... + @typing.overload + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getUncertaintyBounds(self) -> UncertaintyBounds: ... + def setChokeOpening(self, double: float) -> None: ... + def setDownstreamPressure(self, double: float) -> None: ... + def setFlowCoefficient(self, double: float) -> None: ... + def setMeasurementUncertainties(self, double: float, double2: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setUpstreamPressure(self, double: float) -> None: ... + class WellTestData: + def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getChokeOpening(self) -> float: ... + def getGasRate(self) -> float: ... + def getOilRate(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + def getWaterRate(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice.vfm")``. + + SoftSensor: typing.Type[SoftSensor] + UncertaintyBounds: typing.Type[UncertaintyBounds] + VFMResult: typing.Type[VFMResult] + VirtualFlowMeter: typing.Type[VirtualFlowMeter] diff --git a/src/jneqsim/process/mechanicaldesign/__init__.pyi b/src/jneqsim/process/mechanicaldesign/__init__.pyi new file mode 100644 index 00000000..644d88da --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/__init__.pyi @@ -0,0 +1,954 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jneqsim.process.costestimation +import jneqsim.process.electricaldesign +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.iec81346 +import jneqsim.process.measurementdevice +import jneqsim.process.mechanicaldesign.absorber +import jneqsim.process.mechanicaldesign.adsorber +import jneqsim.process.mechanicaldesign.compressor +import jneqsim.process.mechanicaldesign.data +import jneqsim.process.mechanicaldesign.designstandards +import jneqsim.process.mechanicaldesign.distillation +import jneqsim.process.mechanicaldesign.ejector +import jneqsim.process.mechanicaldesign.electrolyzer +import jneqsim.process.mechanicaldesign.expander +import jneqsim.process.mechanicaldesign.filter +import jneqsim.process.mechanicaldesign.flare +import jneqsim.process.mechanicaldesign.heatexchanger +import jneqsim.process.mechanicaldesign.manifold +import jneqsim.process.mechanicaldesign.membrane +import jneqsim.process.mechanicaldesign.mixer +import jneqsim.process.mechanicaldesign.motor +import jneqsim.process.mechanicaldesign.pipeline +import jneqsim.process.mechanicaldesign.powergeneration +import jneqsim.process.mechanicaldesign.pump +import jneqsim.process.mechanicaldesign.reactor +import jneqsim.process.mechanicaldesign.separator +import jneqsim.process.mechanicaldesign.splitter +import jneqsim.process.mechanicaldesign.subsea +import jneqsim.process.mechanicaldesign.tank +import jneqsim.process.mechanicaldesign.torg +import jneqsim.process.mechanicaldesign.valve +import jneqsim.process.mechanicaldesign.watertreatment +import jneqsim.process.processmodel +import typing + + + +class AlarmTripScheduleGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def generate(self) -> None: ... + def getEntries(self) -> java.util.List['AlarmTripScheduleGenerator.AlarmTripEntry']: ... + def getEntriesForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['AlarmTripScheduleGenerator.AlarmTripEntry']: ... + def getEntryCount(self) -> int: ... + def toJson(self) -> java.lang.String: ... + class AlarmPriority(java.lang.Enum['AlarmTripScheduleGenerator.AlarmPriority']): + LOW: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... + MEDIUM: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... + HIGH: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... + EMERGENCY: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... + _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]) -> 'AlarmTripScheduleGenerator.AlarmPriority': ... + @staticmethod + def values() -> typing.MutableSequence['AlarmTripScheduleGenerator.AlarmPriority']: ... + class AlarmTripEntry(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], serviceType: 'AlarmTripScheduleGenerator.ServiceType', string3: typing.Union[java.lang.String, str], double: float, string4: typing.Union[java.lang.String, str], alarmPriority: 'AlarmTripScheduleGenerator.AlarmPriority', string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def getActionType(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentTag(self) -> java.lang.String: ... + def getInstrumentTag(self) -> java.lang.String: ... + def getPriority(self) -> 'AlarmTripScheduleGenerator.AlarmPriority': ... + def getServiceType(self) -> 'AlarmTripScheduleGenerator.ServiceType': ... + def getSetpointType(self) -> java.lang.String: ... + def getSetpointValue(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + class ServiceType(java.lang.Enum['AlarmTripScheduleGenerator.ServiceType']): + PRESSURE: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... + TEMPERATURE: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... + LEVEL: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... + FLOW: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... + _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]) -> 'AlarmTripScheduleGenerator.ServiceType': ... + @staticmethod + def values() -> typing.MutableSequence['AlarmTripScheduleGenerator.ServiceType']: ... + +class DesignCase(java.lang.Enum['DesignCase']): + NORMAL: typing.ClassVar['DesignCase'] = ... + MAXIMUM: typing.ClassVar['DesignCase'] = ... + MINIMUM: typing.ClassVar['DesignCase'] = ... + STARTUP: typing.ClassVar['DesignCase'] = ... + SHUTDOWN: typing.ClassVar['DesignCase'] = ... + UPSET: typing.ClassVar['DesignCase'] = ... + EMERGENCY: typing.ClassVar['DesignCase'] = ... + WINTER: typing.ClassVar['DesignCase'] = ... + SUMMER: typing.ClassVar['DesignCase'] = ... + EARLY_LIFE: typing.ClassVar['DesignCase'] = ... + LATE_LIFE: typing.ClassVar['DesignCase'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getTypicalLoadFactor(self) -> float: ... + def isSizingCritical(self) -> bool: ... + def isTurndownCase(self) -> bool: ... + def requiresReliefSizing(self) -> bool: ... + def toString(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]) -> 'DesignCase': ... + @staticmethod + def values() -> typing.MutableSequence['DesignCase']: ... + +class DesignLimitData(java.io.Serializable): + EMPTY: typing.ClassVar['DesignLimitData'] = ... + @staticmethod + def builder() -> 'DesignLimitData.Builder': ... + def equals(self, object: typing.Any) -> bool: ... + def getCorrosionAllowance(self) -> float: ... + def getJointEfficiency(self) -> float: ... + def getMaxPressure(self) -> float: ... + def getMaxTemperature(self) -> float: ... + def getMinPressure(self) -> float: ... + def getMinTemperature(self) -> float: ... + def hashCode(self) -> int: ... + def toString(self) -> java.lang.String: ... + class Builder: + def build(self) -> 'DesignLimitData': ... + def corrosionAllowance(self, double: float) -> 'DesignLimitData.Builder': ... + def jointEfficiency(self, double: float) -> 'DesignLimitData.Builder': ... + def maxPressure(self, double: float) -> 'DesignLimitData.Builder': ... + def maxTemperature(self, double: float) -> 'DesignLimitData.Builder': ... + def minPressure(self, double: float) -> 'DesignLimitData.Builder': ... + def minTemperature(self, double: float) -> 'DesignLimitData.Builder': ... + +class DesignPhase(java.lang.Enum['DesignPhase']): + SCREENING: typing.ClassVar['DesignPhase'] = ... + CONCEPT_SELECT: typing.ClassVar['DesignPhase'] = ... + PRE_FEED: typing.ClassVar['DesignPhase'] = ... + FEED: typing.ClassVar['DesignPhase'] = ... + DETAIL_DESIGN: typing.ClassVar['DesignPhase'] = ... + AS_BUILT: typing.ClassVar['DesignPhase'] = ... + def getAccuracyRange(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getMaxAccuracy(self) -> float: ... + def getMinAccuracy(self) -> float: ... + def requiresDetailedCompliance(self) -> bool: ... + def requiresFullMechanicalDesign(self) -> bool: ... + def toString(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]) -> 'DesignPhase': ... + @staticmethod + def values() -> typing.MutableSequence['DesignPhase']: ... + +class DesignValidationResult(java.io.Serializable): + def __init__(self): ... + def addCritical(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]) -> 'DesignValidationResult': ... + def addError(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]) -> 'DesignValidationResult': ... + def addInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'DesignValidationResult': ... + def addMessage(self, severity: 'DesignValidationResult.Severity', 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]) -> 'DesignValidationResult': ... + def addMetric(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'DesignValidationResult': ... + def addWarning(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]) -> 'DesignValidationResult': ... + def getCount(self, severity: 'DesignValidationResult.Severity') -> int: ... + @typing.overload + def getMessages(self) -> java.util.List['DesignValidationResult.ValidationMessage']: ... + @typing.overload + def getMessages(self, severity: 'DesignValidationResult.Severity') -> java.util.List['DesignValidationResult.ValidationMessage']: ... + def getMetrics(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSummary(self) -> java.lang.String: ... + def getSummaryCounts(self) -> java.util.Map['DesignValidationResult.Severity', int]: ... + def hasErrors(self) -> bool: ... + def hasRun(self) -> bool: ... + def hasWarnings(self) -> bool: ... + def isValid(self) -> bool: ... + def merge(self, designValidationResult: 'DesignValidationResult') -> 'DesignValidationResult': ... + def toString(self) -> java.lang.String: ... + class Severity(java.lang.Enum['DesignValidationResult.Severity']): + INFO: typing.ClassVar['DesignValidationResult.Severity'] = ... + WARNING: typing.ClassVar['DesignValidationResult.Severity'] = ... + ERROR: typing.ClassVar['DesignValidationResult.Severity'] = ... + CRITICAL: typing.ClassVar['DesignValidationResult.Severity'] = ... + _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]) -> 'DesignValidationResult.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['DesignValidationResult.Severity']: ... + class ValidationMessage(java.io.Serializable): + def __init__(self, severity: 'DesignValidationResult.Severity', 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]): ... + def getCategory(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getSeverity(self) -> 'DesignValidationResult.Severity': ... + def toString(self) -> java.lang.String: ... + +class EngineeringDeliverablesPackage(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, studyClass: 'StudyClass'): ... + def generate(self) -> None: ... + def getAlarmTripSchedule(self) -> AlarmTripScheduleGenerator: ... + def getFailedDeliverables(self) -> java.util.List['StudyClass.DeliverableType']: ... + def getFireScenarioJson(self) -> java.lang.String: ... + def getInstrumentSchedule(self) -> 'InstrumentScheduleGenerator': ... + def getNoiseAssessmentJson(self) -> java.lang.String: ... + def getPfdDot(self) -> java.lang.String: ... + def getReferenceDesignationGenerator(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + def getSparePartsInventory(self) -> 'SparePartsInventory': ... + def getStatusMap(self) -> java.util.Map['StudyClass.DeliverableType', 'EngineeringDeliverablesPackage.DeliverableStatus']: ... + def getStudyClass(self) -> 'StudyClass': ... + def getSuccessCount(self) -> int: ... + def getThermalUtilities(self) -> 'ThermalUtilitySummary': ... + def isComplete(self) -> bool: ... + def isGenerated(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class DeliverableStatus(java.io.Serializable): + def __init__(self, deliverableType: 'StudyClass.DeliverableType'): ... + def getDurationMs(self) -> int: ... + def getMessage(self) -> java.lang.String: ... + def getType(self) -> 'StudyClass.DeliverableType': ... + def isSuccess(self) -> bool: ... + +class EquipmentDatasheetGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def generateAllDatasheets(self) -> java.lang.String: ... + def generateDatasheet(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, int: int) -> com.google.gson.JsonObject: ... + def setDocumentPrefix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProjectName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRevision(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class EquipmentDesignReport(java.io.Serializable): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def generateReport(self) -> None: ... + def getElectricalDesign(self) -> jneqsim.process.electricaldesign.ElectricalDesign: ... + def getHazardousZone(self) -> int: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def getMechanicalDesign(self) -> 'MechanicalDesign': ... + def getMotorMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.motor.MotorMechanicalDesign: ... + def getRatedVoltageV(self) -> float: ... + def getVerdict(self) -> java.lang.String: ... + def isReportGenerated(self) -> bool: ... + def isUseVFD(self) -> bool: ... + def setAltitudeM(self, double: float) -> None: ... + def setAmbientTemperatureC(self, double: float) -> None: ... + def setCableLengthM(self, double: float) -> None: ... + def setFrequencyHz(self, double: float) -> None: ... + def setGasGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHazardousZone(self, int: int) -> None: ... + def setMotorPoles(self, int: int) -> None: ... + def setMotorSizingMargin(self, double: float) -> None: ... + def setMotorStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedVoltageV(self, double: float) -> None: ... + def setUseVFD(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + def toLoadListEntry(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class FieldDevelopmentDesignOrchestrator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]): ... + def addDesignCase(self, designCase: DesignCase) -> 'FieldDevelopmentDesignOrchestrator': ... + def addTorgDataSource(self, torgDataSource: jneqsim.process.mechanicaldesign.torg.TorgDataSource) -> 'FieldDevelopmentDesignOrchestrator': ... + def generateDesignReport(self) -> java.lang.String: ... + def getActiveTorg(self) -> jneqsim.process.mechanicaldesign.torg.TechnicalRequirementsDocument: ... + def getCaseResults(self) -> java.util.Map[DesignCase, 'FieldDevelopmentDesignOrchestrator.DesignCaseResult']: ... + def getDesignCases(self) -> java.util.List[DesignCase]: ... + def getDesignPhase(self) -> DesignPhase: ... + def getEngineeringDeliverables(self) -> EngineeringDeliverablesPackage: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getProjectId(self) -> java.lang.String: ... + def getRunId(self) -> java.util.UUID: ... + def getStudyClass(self) -> 'StudyClass': ... + def getSystemMechanicalDesign(self) -> 'SystemMechanicalDesign': ... + def getTorgManager(self) -> jneqsim.process.mechanicaldesign.torg.TorgManager: ... + def getValidationResult(self) -> DesignValidationResult: ... + def getWorkflowHistory(self) -> java.util.List['FieldDevelopmentDesignOrchestrator.WorkflowStep']: ... + @typing.overload + def loadTorg(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def loadTorg(self, string: typing.Union[java.lang.String, str], torgDataSource: jneqsim.process.mechanicaldesign.torg.TorgDataSource) -> bool: ... + def runCompleteDesignWorkflow(self) -> bool: ... + def setDesignCases(self, list: java.util.List[DesignCase]) -> 'FieldDevelopmentDesignOrchestrator': ... + def setDesignPhase(self, designPhase: DesignPhase) -> 'FieldDevelopmentDesignOrchestrator': ... + def setStudyClass(self, studyClass: 'StudyClass') -> 'FieldDevelopmentDesignOrchestrator': ... + class DesignCaseResult(java.io.Serializable): + def __init__(self, designCase: DesignCase): ... + def getDesignCase(self) -> DesignCase: ... + def getTotalVolume(self) -> float: ... + def getTotalWeight(self) -> float: ... + def getValidation(self) -> DesignValidationResult: ... + def isConverged(self) -> bool: ... + def setConverged(self, boolean: bool) -> None: ... + def setTotalVolume(self, double: float) -> None: ... + def setTotalWeight(self, double: float) -> None: ... + def setValidation(self, designValidationResult: DesignValidationResult) -> None: ... + class WorkflowStep(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def complete(self, boolean: bool, string: typing.Union[java.lang.String, str]) -> None: ... + def getDurationMs(self) -> int: ... + def getMessage(self) -> java.lang.String: ... + def getStepName(self) -> java.lang.String: ... + def isSuccess(self) -> bool: ... + +class InstrumentScheduleGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def generate(self) -> None: ... + def getCountByType(self, measuredVariable: 'InstrumentScheduleGenerator.MeasuredVariable') -> int: ... + def getCreatedDevices(self) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getEntries(self) -> java.util.List['InstrumentScheduleGenerator.InstrumentEntry']: ... + def getEntriesByType(self, measuredVariable: 'InstrumentScheduleGenerator.MeasuredVariable') -> java.util.List['InstrumentScheduleGenerator.InstrumentEntry']: ... + def getEntriesForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['InstrumentScheduleGenerator.InstrumentEntry']: ... + def getISAToIEC81346Map(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getInstrumentCount(self) -> int: ... + def isGenerated(self) -> bool: ... + def isRegisterOnProcess(self) -> bool: ... + def setRegisterOnProcess(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + class InstrumentEntry(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], measuredVariable: 'InstrumentScheduleGenerator.MeasuredVariable', string4: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, silRating: 'InstrumentScheduleGenerator.SilRating', measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def getAlarmHigh(self) -> float: ... + def getAlarmLow(self) -> float: ... + def getDevice(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getEquipmentTag(self) -> java.lang.String: ... + def getMeasuredVariable(self) -> 'InstrumentScheduleGenerator.MeasuredVariable': ... + def getNormalValue(self) -> float: ... + def getRangeMax(self) -> float: ... + def getRangeMin(self) -> float: ... + def getServiceDescription(self) -> java.lang.String: ... + def getSilRating(self) -> 'InstrumentScheduleGenerator.SilRating': ... + def getTagNumber(self) -> java.lang.String: ... + def getTripHigh(self) -> float: ... + def getTripLow(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + class MeasuredVariable(java.lang.Enum['InstrumentScheduleGenerator.MeasuredVariable']): + PRESSURE: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... + TEMPERATURE: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... + LEVEL: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... + FLOW: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... + def getInstrumentType(self) -> java.lang.String: ... + def getIoType(self) -> java.lang.String: ... + def getTagPrefix(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]) -> 'InstrumentScheduleGenerator.MeasuredVariable': ... + @staticmethod + def values() -> typing.MutableSequence['InstrumentScheduleGenerator.MeasuredVariable']: ... + class SilRating(java.lang.Enum['InstrumentScheduleGenerator.SilRating']): + NONE: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... + SIL_1: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... + SIL_2: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... + SIL_3: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... + def getDisplayName(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]) -> 'InstrumentScheduleGenerator.SilRating': ... + @staticmethod + def values() -> typing.MutableSequence['InstrumentScheduleGenerator.SilRating']: ... + +class MechanicalDesign(java.io.Serializable): + maxDesignVolumeFlow: float = ... + minDesignVolumeFLow: float = ... + maxDesignGassVolumeFlow: float = ... + minDesignGassVolumeFLow: float = ... + maxDesignOilVolumeFlow: float = ... + minDesignOilFLow: float = ... + maxDesignWaterVolumeFlow: float = ... + minDesignWaterVolumeFLow: float = ... + maxDesignPower: float = ... + minDesignPower: float = ... + maxDesignDuty: float = ... + minDesignDuty: float = ... + maxDesignCv: float = ... + maxDesignVelocity: float = ... + maxDesignPressureDrop: float = ... + innerDiameter: float = ... + outerDiameter: float = ... + wallThickness: float = ... + tantanLength: float = ... + weigthInternals: float = ... + weightNozzle: float = ... + weightPiping: float = ... + weightElectroInstrument: float = ... + weightStructualSteel: float = ... + weightVessel: float = ... + weigthVesselShell: float = ... + moduleHeight: float = ... + moduleWidth: float = ... + moduleLength: float = ... + designStandard: java.util.Hashtable = ... + costEstimate: jneqsim.process.costestimation.UnitCostEstimateBaseClass = ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def addDesignDataSource(self, mechanicalDesignDataSource: typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]) -> None: ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def costEstimateToJson(self) -> java.lang.String: ... + def displayResults(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getApplicableStandards(self) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def getBareModuleCost(self) -> float: ... + def getCompanySpecificDesignStandards(self) -> java.lang.String: ... + def getConstrutionMaterial(self) -> java.lang.String: ... + def getCorrosionAllowance(self) -> float: ... + def getCostEstimate(self) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... + def getDefaultLiquidDensity(self) -> float: ... + def getDefaultLiquidViscosity(self) -> float: ... + def getDesignCapacityConstraints(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getDesignCorrosionAllowance(self) -> float: ... + def getDesignDataSources(self) -> java.util.List[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource]: ... + def getDesignJointEfficiency(self) -> float: ... + def getDesignLimitData(self) -> DesignLimitData: ... + def getDesignMaxPressureLimit(self) -> float: ... + def getDesignMaxTemperatureLimit(self) -> float: ... + def getDesignMinPressureLimit(self) -> float: ... + def getDesignMinTemperatureLimit(self) -> float: ... + def getDesignStandard(self) -> java.util.Hashtable[java.lang.String, jneqsim.process.mechanicaldesign.designstandards.DesignStandard]: ... + def getDesignUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getDuty(self) -> float: ... + def getGrassRootsCost(self) -> float: ... + def getHeatTransferArea(self) -> float: ... + def getInnerDiameter(self) -> float: ... + def getInstallationManHours(self) -> float: ... + def getJointEfficiency(self) -> float: ... + def getLastMarginResult(self) -> 'MechanicalDesignMarginResult': ... + def getMaterialDesignStandard(self) -> jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard: ... + def getMaterialPipeDesignStandard(self) -> jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard: ... + def getMaxAllowableStress(self) -> float: ... + def getMaxDesignCv(self) -> float: ... + def getMaxDesignGassVolumeFlow(self) -> float: ... + def getMaxDesignOilVolumeFlow(self) -> float: ... + def getMaxDesignPressure(self) -> float: ... + def getMaxDesignPressureDrop(self) -> float: ... + def getMaxDesignUtilization(self) -> float: ... + def getMaxDesignVelocity(self) -> float: ... + def getMaxDesignVolumeFlow(self) -> float: ... + def getMaxDesignWaterVolumeFlow(self) -> float: ... + def getMaxOperationPressure(self) -> float: ... + def getMaxOperationTemperature(self) -> float: ... + def getMinDesignGassVolumeFLow(self) -> float: ... + def getMinDesignOilFLow(self) -> float: ... + def getMinDesignPressure(self) -> float: ... + def getMinDesignVolumeFLow(self) -> float: ... + def getMinDesignWaterVolumeFLow(self) -> float: ... + def getMinOperationPressure(self) -> float: ... + def getMinOperationTemperature(self) -> float: ... + def getModuleHeight(self) -> float: ... + def getModuleLength(self) -> float: ... + def getModuleWidth(self) -> float: ... + def getOuterDiameter(self) -> float: ... + def getPower(self) -> float: ... + def getPressureMarginFactor(self) -> float: ... + 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]]: ... + def getResponse(self) -> 'MechanicalDesignResponse': ... + def getTantanLength(self) -> float: ... + def getTensileStrength(self) -> float: ... + def getTotalModuleCost(self) -> float: ... + def getVolumeTotal(self) -> float: ... + def getWallThickness(self) -> float: ... + def getWeightElectroInstrument(self) -> float: ... + def getWeightNozzle(self) -> float: ... + def getWeightPiping(self) -> float: ... + def getWeightStructualSteel(self) -> float: ... + def getWeightTotal(self) -> float: ... + def getWeightVessel(self) -> float: ... + def getWeigthInternals(self) -> float: ... + def getWeigthVesselShell(self) -> float: ... + def hasDesignStandard(self) -> bool: ... + def hashCode(self) -> int: ... + def initMechanicalDesign(self) -> None: ... + def isHasSetCompanySpecificDesignStandards(self) -> 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: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setCostEstimateCepci(self, double: float) -> None: ... + def setCostEstimateLocationFactor(self, double: float) -> None: ... + def setCostEstimateMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDefaultLiquidDensity(self, double: float) -> None: ... + def setDefaultLiquidViscosity(self, double: float) -> None: ... + def setDesign(self) -> None: ... + def setDesignDataSource(self, mechanicalDesignDataSource: typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]) -> None: ... + def setDesignDataSources(self, list: java.util.List[typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]]) -> None: ... + @typing.overload + def setDesignStandard(self, string: typing.Union[java.lang.String, str], designStandard: jneqsim.process.mechanicaldesign.designstandards.DesignStandard) -> None: ... + @typing.overload + def setDesignStandard(self, hashtable: java.util.Hashtable[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.designstandards.DesignStandard]) -> None: ... + @typing.overload + def setDesignStandard(self, standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType) -> None: ... + @typing.overload + def setDesignStandard(self, standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandards(self, list: java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]) -> None: ... + def setHasSetCompanySpecificDesignStandards(self, boolean: bool) -> None: ... + def setInnerDiameter(self, double: float) -> None: ... + def setJointEfficiency(self, double: float) -> None: ... + def setMaterialDesignStandard(self, materialPlateDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard) -> None: ... + def setMaterialPipeDesignStandard(self, materialPipeDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard) -> None: ... + def setMaxDesignCv(self, double: float) -> None: ... + def setMaxDesignDuty(self, double: float) -> None: ... + def setMaxDesignGassVolumeFlow(self, double: float) -> None: ... + def setMaxDesignOilVolumeFlow(self, double: float) -> None: ... + def setMaxDesignPower(self, double: float) -> None: ... + def setMaxDesignPressureDrop(self, double: float) -> None: ... + def setMaxDesignVelocity(self, double: float) -> None: ... + def setMaxDesignVolumeFlow(self, double: float) -> None: ... + def setMaxDesignWaterVolumeFlow(self, double: float) -> None: ... + def setMaxOperationPressure(self, double: float) -> None: ... + def setMaxOperationTemperature(self, double: float) -> None: ... + def setMinDesignDuty(self, double: float) -> None: ... + def setMinDesignGassVolumeFLow(self, double: float) -> None: ... + def setMinDesignOilFLow(self, double: float) -> None: ... + def setMinDesignPower(self, double: float) -> None: ... + def setMinDesignVolumeFLow(self, double: float) -> None: ... + def setMinDesignWaterVolumeFLow(self, double: float) -> None: ... + def setMinOperationPressure(self, double: float) -> None: ... + def setMinOperationTemperature(self, double: float) -> None: ... + def setModuleHeight(self, double: float) -> None: ... + def setModuleLength(self, double: float) -> None: ... + def setModuleWidth(self, double: float) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setPressureMarginFactor(self, double: float) -> None: ... + def setProcessEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setTantanLength(self, double: float) -> None: ... + def setTensileStrength(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def setWeightElectroInstrument(self, double: float) -> None: ... + def setWeightNozzle(self, double: float) -> None: ... + def setWeightPiping(self, double: float) -> None: ... + def setWeightStructualSteel(self, double: float) -> None: ... + def setWeightTotal(self, double: float) -> None: ... + def setWeightVessel(self, double: float) -> None: ... + def setWeigthInternals(self, double: float) -> None: ... + def setWeigthVesselShell(self, double: float) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + @typing.overload + def validateOperatingEnvelope(self) -> 'MechanicalDesignMarginResult': ... + @typing.overload + def validateOperatingEnvelope(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'MechanicalDesignMarginResult': ... + +class MechanicalDesignMarginResult(java.io.Serializable): + EMPTY: typing.ClassVar['MechanicalDesignMarginResult'] = ... + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def equals(self, object: typing.Any) -> bool: ... + def getCorrosionAllowanceMargin(self) -> float: ... + def getJointEfficiencyMargin(self) -> float: ... + def getMaxPressureMargin(self) -> float: ... + def getMaxTemperatureMargin(self) -> float: ... + def getMinPressureMargin(self) -> float: ... + def getMinTemperatureMargin(self) -> float: ... + def hashCode(self) -> int: ... + def isWithinDesignEnvelope(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class MechanicalDesignReport(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def generateCompleteReport(self) -> java.lang.String: ... + def generateEquipmentDataSheets(self) -> java.lang.String: ... + def generateEquipmentListCSV(self) -> java.lang.String: ... + def generatePipingLineListCSV(self) -> java.lang.String: ... + def generateWeightReport(self) -> java.lang.String: ... + def getPipingDesign(self) -> 'ProcessInterconnectionDesign': ... + def getSystemDesign(self) -> 'SystemMechanicalDesign': ... + def runDesignCalculations(self) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def writeEquipmentListCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeJsonReport(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writePipingLineListCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeWeightReport(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class MechanicalDesignResponse(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, mechanicalDesign: MechanicalDesign): ... + @typing.overload + def __init__(self, systemMechanicalDesign: 'SystemMechanicalDesign'): ... + def addSpecificParameter(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'MechanicalDesignResponse': ... + def getCorrosionAllowance(self) -> float: ... + def getCountByType(self) -> java.util.Map[java.lang.String, int]: ... + def getDesignStandard(self) -> java.lang.String: ... + def getDuty(self) -> float: ... + def getEiWeight(self) -> float: ... + def getEquipmentClass(self) -> java.lang.String: ... + def getEquipmentCount(self) -> int: ... + def getEquipmentList(self) -> java.util.List['MechanicalDesignResponse.EquipmentSummary']: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFootprintLength(self) -> float: ... + def getFootprintWidth(self) -> float: ... + def getHeadMaterial(self) -> java.lang.String: ... + def getInnerDiameter(self) -> float: ... + def getInternalsWeight(self) -> float: ... + def getMaxDesignPressure(self) -> float: ... + def getMaxDesignTemperature(self) -> float: ... + def getMaxHeight(self) -> float: ... + def getMaxOperatingPressure(self) -> float: ... + def getMaxOperatingTemperature(self) -> float: ... + def getMinDesignPressure(self) -> float: ... + def getMinDesignTemperature(self) -> float: ... + def getModuleHeight(self) -> float: ... + def getModuleLength(self) -> float: ... + def getModuleWidth(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNetPower(self) -> float: ... + def getNozzlesWeight(self) -> float: ... + def getOperatingWeight(self) -> float: ... + def getOuterDiameter(self) -> float: ... + def getPipingWeight(self) -> float: ... + def getPower(self) -> float: ... + def getProcessName(self) -> java.lang.String: ... + def getShellMaterial(self) -> java.lang.String: ... + def getSpecificParameters(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getStructuralWeight(self) -> float: ... + def getTangentLength(self) -> float: ... + def getTotalCoolingDuty(self) -> float: ... + def getTotalHeatingDuty(self) -> float: ... + def getTotalPlotSpace(self) -> float: ... + def getTotalPowerRecovered(self) -> float: ... + def getTotalPowerRequired(self) -> float: ... + def getTotalVolume(self) -> float: ... + def getTotalWeight(self) -> float: ... + def getVesselWeight(self) -> float: ... + def getWallThickness(self) -> float: ... + def getWeightByDiscipline(self) -> java.util.Map[java.lang.String, float]: ... + def getWeightByType(self) -> java.util.Map[java.lang.String, float]: ... + def isSystemLevel(self) -> bool: ... + def mergeWithEquipmentJson(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def populateFromMechanicalDesign(self, mechanicalDesign: MechanicalDesign) -> None: ... + def populateFromSystemMechanicalDesign(self, systemMechanicalDesign: 'SystemMechanicalDesign') -> None: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setCountByType(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], int], typing.Mapping[typing.Union[java.lang.String, str], int]]) -> None: ... + def setDesignStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDuty(self, double: float) -> None: ... + def setEiWeight(self, double: float) -> None: ... + def setEquipmentClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentCount(self, int: int) -> None: ... + def setEquipmentList(self, list: java.util.List['MechanicalDesignResponse.EquipmentSummary']) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFootprintLength(self, double: float) -> None: ... + def setFootprintWidth(self, double: float) -> None: ... + def setHeadMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInnerDiameter(self, double: float) -> None: ... + def setInternalsWeight(self, double: float) -> None: ... + def setMaxDesignPressure(self, double: float) -> None: ... + def setMaxDesignTemperature(self, double: float) -> None: ... + def setMaxHeight(self, double: float) -> None: ... + def setMaxOperatingPressure(self, double: float) -> None: ... + def setMaxOperatingTemperature(self, double: float) -> None: ... + def setMinDesignPressure(self, double: float) -> None: ... + def setMinDesignTemperature(self, double: float) -> None: ... + def setModuleHeight(self, double: float) -> None: ... + def setModuleLength(self, double: float) -> None: ... + def setModuleWidth(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNetPower(self, double: float) -> None: ... + def setNozzlesWeight(self, double: float) -> None: ... + def setOperatingWeight(self, double: float) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setPipingWeight(self, double: float) -> None: ... + def setPower(self, double: float) -> None: ... + def setProcessName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSpecificParameters(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> None: ... + def setStructuralWeight(self, double: float) -> None: ... + def setSystemLevel(self, boolean: bool) -> None: ... + def setTangentLength(self, double: float) -> None: ... + def setTotalCoolingDuty(self, double: float) -> None: ... + def setTotalHeatingDuty(self, double: float) -> None: ... + def setTotalPlotSpace(self, double: float) -> None: ... + def setTotalPowerRecovered(self, double: float) -> None: ... + def setTotalPowerRequired(self, double: float) -> None: ... + def setTotalVolume(self, double: float) -> None: ... + def setTotalWeight(self, double: float) -> None: ... + def setVesselWeight(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def setWeightByDiscipline(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setWeightByType(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + class EquipmentSummary(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDimensions(self) -> java.lang.String: ... + def getDuty(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPower(self) -> float: ... + def getType(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDimensions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDuty(self, double: float) -> None: ... + def setPower(self, double: float) -> None: ... + def setWeight(self, double: float) -> None: ... + +class ProcessInterconnectionDesign(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def calculatePipingEstimates(self) -> None: ... + def generatePipingReport(self) -> java.lang.String: ... + def getFittingWeight(self) -> float: ... + def getFlangeWeight(self) -> float: ... + def getLengthBySize(self) -> java.util.Map[java.lang.String, float]: ... + def getPipeSegments(self) -> java.util.List['ProcessInterconnectionDesign.PipeSegment']: ... + def getTotalElbowCount(self) -> int: ... + def getTotalFlangeCount(self) -> int: ... + def getTotalPipingLength(self) -> float: ... + def getTotalPipingWeight(self) -> float: ... + def getTotalTeeCount(self) -> int: ... + def getTotalValveCount(self) -> int: ... + def getValveWeight(self) -> float: ... + def getWeightBySize(self) -> java.util.Map[java.lang.String, float]: ... + class PipeSegment(java.io.Serializable): + def __init__(self): ... + def getDesignPressureBara(self) -> float: ... + def getDesignTemperatureC(self) -> float: ... + def getFromEquipment(self) -> java.lang.String: ... + def getLengthM(self) -> float: ... + def getMaterial(self) -> java.lang.String: ... + def getNominalSizeInch(self) -> float: ... + def getOutsideDiameterMm(self) -> float: ... + def getSchedule(self) -> java.lang.String: ... + def getStreamName(self) -> java.lang.String: ... + def getToEquipment(self) -> java.lang.String: ... + def getWallThicknessMm(self) -> float: ... + def getWeightKg(self) -> float: ... + def isGasService(self) -> bool: ... + def setDesignPressureBara(self, double: float) -> None: ... + def setDesignTemperatureC(self, double: float) -> None: ... + def setFromEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGasService(self, boolean: bool) -> None: ... + def setLengthM(self, double: float) -> None: ... + def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNominalSizeInch(self, double: float) -> None: ... + def setOutsideDiameterMm(self, double: float) -> None: ... + def setSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStreamName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setToEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWallThicknessMm(self, double: float) -> None: ... + def setWeightKg(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class SparePartsInventory(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def generateInventory(self) -> None: ... + def getEntries(self) -> java.util.List['SparePartsInventory.SparePartEntry']: ... + def getEntriesByCriticality(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SparePartsInventory.SparePartEntry']: ... + def toJson(self) -> java.lang.String: ... + class SparePartEntry(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], int: int, string4: typing.Union[java.lang.String, str], int2: int): ... + def getCriticality(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getLeadTimeWeeks(self) -> int: ... + def getPartName(self) -> java.lang.String: ... + def getQuantity(self) -> int: ... + +class StudyClass(java.lang.Enum['StudyClass']): + CLASS_A: typing.ClassVar['StudyClass'] = ... + CLASS_B: typing.ClassVar['StudyClass'] = ... + CLASS_C: typing.ClassVar['StudyClass'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getRequiredDeliverables(self) -> java.util.Set['StudyClass.DeliverableType']: ... + def requires(self, deliverableType: 'StudyClass.DeliverableType') -> bool: ... + def toString(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]) -> 'StudyClass': ... + @staticmethod + def values() -> typing.MutableSequence['StudyClass']: ... + class DeliverableType(java.lang.Enum['StudyClass.DeliverableType']): + PFD: typing.ClassVar['StudyClass.DeliverableType'] = ... + THERMAL_UTILITIES: typing.ClassVar['StudyClass.DeliverableType'] = ... + ALARM_TRIP_SCHEDULE: typing.ClassVar['StudyClass.DeliverableType'] = ... + SPARE_PARTS: typing.ClassVar['StudyClass.DeliverableType'] = ... + FIRE_SCENARIOS: typing.ClassVar['StudyClass.DeliverableType'] = ... + NOISE_ASSESSMENT: typing.ClassVar['StudyClass.DeliverableType'] = ... + INSTRUMENT_SCHEDULE: typing.ClassVar['StudyClass.DeliverableType'] = ... + REFERENCE_DESIGNATION_SCHEDULE: typing.ClassVar['StudyClass.DeliverableType'] = ... + def getDisplayName(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]) -> 'StudyClass.DeliverableType': ... + @staticmethod + def values() -> typing.MutableSequence['StudyClass.DeliverableType']: ... + +class SystemMechanicalDesign(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def equals(self, object: typing.Any) -> bool: ... + def generateJsonSummary(self) -> java.lang.String: ... + def generateSummaryReport(self) -> java.lang.String: ... + def getCostEstimate(self) -> jneqsim.process.costestimation.ProcessCostEstimate: ... + def getEquipmentCountByType(self) -> java.util.Map[java.lang.String, int]: ... + def getEquipmentList(self) -> java.util.List['SystemMechanicalDesign.EquipmentDesignSummary']: ... + def getMaxEquipmentHeight(self) -> float: ... + def getMechanicalWeight(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNetPowerRequirement(self) -> float: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getResponse(self) -> MechanicalDesignResponse: ... + def getTotalCoolingDuty(self) -> float: ... + def getTotalFootprintLength(self) -> float: ... + def getTotalFootprintWidth(self) -> float: ... + def getTotalHeatingDuty(self) -> float: ... + def getTotalNumberOfModules(self) -> int: ... + def getTotalPlotSpace(self) -> float: ... + def getTotalPowerRecovered(self) -> float: ... + def getTotalPowerRequired(self) -> float: ... + def getTotalVolume(self) -> float: ... + def getTotalWeight(self) -> float: ... + def getWeightByDiscipline(self) -> java.util.Map[java.lang.String, float]: ... + def getWeightByEquipmentType(self) -> java.util.Map[java.lang.String, float]: ... + def hashCode(self) -> int: ... + def runDesignCalculation(self) -> None: ... + def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesign(self) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toJsonWithCosts(self) -> java.lang.String: ... + class EquipmentDesignSummary(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDimensions(self) -> java.lang.String: ... + def getDuty(self) -> float: ... + def getHeight(self) -> float: ... + def getLength(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPower(self) -> float: ... + def getType(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def getWidth(self) -> float: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setDimensions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDuty(self, double: float) -> None: ... + def setHeight(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setPower(self, double: float) -> None: ... + def setWeight(self, double: float) -> None: ... + def setWidth(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class ThermalUtilitySummary(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def calcUtilities(self) -> None: ... + def getConsumers(self) -> java.util.List['ThermalUtilitySummary.UtilityConsumer']: ... + def getCoolingWaterFlowM3hr(self) -> float: ... + def getHpSteamFlowKghr(self) -> float: ... + def getInstrumentAirNm3hr(self) -> float: ... + def getLpSteamFlowKghr(self) -> float: ... + def getMpSteamFlowKghr(self) -> float: ... + def getTotalCoolingDutyKW(self) -> float: ... + def getTotalHeatingDutyKW(self) -> float: ... + def setCwReturnTempC(self, double: float) -> None: ... + def setCwSupplyTempC(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class UtilityConsumer(java.io.Serializable): + def __init__(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]): ... + def getDutyKW(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFlow(self) -> float: ... + def getFlowUnit(self) -> java.lang.String: ... + def getUtilityType(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign")``. + + AlarmTripScheduleGenerator: typing.Type[AlarmTripScheduleGenerator] + DesignCase: typing.Type[DesignCase] + DesignLimitData: typing.Type[DesignLimitData] + DesignPhase: typing.Type[DesignPhase] + DesignValidationResult: typing.Type[DesignValidationResult] + EngineeringDeliverablesPackage: typing.Type[EngineeringDeliverablesPackage] + EquipmentDatasheetGenerator: typing.Type[EquipmentDatasheetGenerator] + EquipmentDesignReport: typing.Type[EquipmentDesignReport] + FieldDevelopmentDesignOrchestrator: typing.Type[FieldDevelopmentDesignOrchestrator] + InstrumentScheduleGenerator: typing.Type[InstrumentScheduleGenerator] + MechanicalDesign: typing.Type[MechanicalDesign] + MechanicalDesignMarginResult: typing.Type[MechanicalDesignMarginResult] + MechanicalDesignReport: typing.Type[MechanicalDesignReport] + MechanicalDesignResponse: typing.Type[MechanicalDesignResponse] + ProcessInterconnectionDesign: typing.Type[ProcessInterconnectionDesign] + SparePartsInventory: typing.Type[SparePartsInventory] + StudyClass: typing.Type[StudyClass] + SystemMechanicalDesign: typing.Type[SystemMechanicalDesign] + ThermalUtilitySummary: typing.Type[ThermalUtilitySummary] + absorber: jneqsim.process.mechanicaldesign.absorber.__module_protocol__ + adsorber: jneqsim.process.mechanicaldesign.adsorber.__module_protocol__ + compressor: jneqsim.process.mechanicaldesign.compressor.__module_protocol__ + data: jneqsim.process.mechanicaldesign.data.__module_protocol__ + designstandards: jneqsim.process.mechanicaldesign.designstandards.__module_protocol__ + distillation: jneqsim.process.mechanicaldesign.distillation.__module_protocol__ + ejector: jneqsim.process.mechanicaldesign.ejector.__module_protocol__ + electrolyzer: jneqsim.process.mechanicaldesign.electrolyzer.__module_protocol__ + expander: jneqsim.process.mechanicaldesign.expander.__module_protocol__ + filter: jneqsim.process.mechanicaldesign.filter.__module_protocol__ + flare: jneqsim.process.mechanicaldesign.flare.__module_protocol__ + heatexchanger: jneqsim.process.mechanicaldesign.heatexchanger.__module_protocol__ + manifold: jneqsim.process.mechanicaldesign.manifold.__module_protocol__ + membrane: jneqsim.process.mechanicaldesign.membrane.__module_protocol__ + mixer: jneqsim.process.mechanicaldesign.mixer.__module_protocol__ + motor: jneqsim.process.mechanicaldesign.motor.__module_protocol__ + pipeline: jneqsim.process.mechanicaldesign.pipeline.__module_protocol__ + powergeneration: jneqsim.process.mechanicaldesign.powergeneration.__module_protocol__ + pump: jneqsim.process.mechanicaldesign.pump.__module_protocol__ + reactor: jneqsim.process.mechanicaldesign.reactor.__module_protocol__ + separator: jneqsim.process.mechanicaldesign.separator.__module_protocol__ + splitter: jneqsim.process.mechanicaldesign.splitter.__module_protocol__ + subsea: jneqsim.process.mechanicaldesign.subsea.__module_protocol__ + tank: jneqsim.process.mechanicaldesign.tank.__module_protocol__ + torg: jneqsim.process.mechanicaldesign.torg.__module_protocol__ + valve: jneqsim.process.mechanicaldesign.valve.__module_protocol__ + watertreatment: jneqsim.process.mechanicaldesign.watertreatment.__module_protocol__ diff --git a/src/jneqsim/process/mechanicaldesign/absorber/__init__.pyi b/src/jneqsim/process/mechanicaldesign/absorber/__init__.pyi new file mode 100644 index 00000000..79c9eb65 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/absorber/__init__.pyi @@ -0,0 +1,28 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign.separator +import typing + + + +class AbsorberMechanicalDesign(jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getOuterDiameter(self) -> float: ... + def getWallThickness(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesign(self) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.absorber")``. + + AbsorberMechanicalDesign: typing.Type[AbsorberMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/adsorber/__init__.pyi b/src/jneqsim/process/mechanicaldesign/adsorber/__init__.pyi new file mode 100644 index 00000000..5dd004c5 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/adsorber/__init__.pyi @@ -0,0 +1,50 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.costestimation.adsorber +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class AdsorberMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getOuterDiameter(self) -> float: ... + def getWallThickness(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesign(self) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + +class MercuryRemovalMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostEstimate(self) -> jneqsim.process.costestimation.adsorber.MercuryRemovalCostEstimate: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getInternalsWeight(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getOuterDiameter(self) -> float: ... + def getSorbentChargeWeight(self) -> float: ... + def getWallThickness(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 setOuterDiameter(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.adsorber")``. + + AdsorberMechanicalDesign: typing.Type[AdsorberMechanicalDesign] + MercuryRemovalMechanicalDesign: typing.Type[MercuryRemovalMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/compressor/__init__.pyi b/src/jneqsim/process/mechanicaldesign/compressor/__init__.pyi new file mode 100644 index 00000000..5cbee694 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/compressor/__init__.pyi @@ -0,0 +1,352 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.costestimation.compressor +import jneqsim.process.equipment +import jneqsim.process.equipment.compressor +import jneqsim.process.mechanicaldesign +import typing + + + +class CompressorCasingDesignCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getAllowableStressMPa(self) -> float: ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def getBarrelEndCoverBoltCount(self) -> int: ... + def getBarrelEndCoverThicknessMm(self) -> float: ... + def getBarrelOuterODMm(self) -> float: ... + def getCasingAxialGrowthMm(self) -> float: ... + def getCasingInnerDiameterMm(self) -> float: ... + def getCasingLengthMm(self) -> float: ... + def getCasingType(self) -> 'CompressorMechanicalDesign.CasingType': ... + def getCorrosionAllowanceMm(self) -> float: ... + def getDesignIssues(self) -> java.util.List[java.lang.String]: ... + def getDesignPressureMPa(self) -> float: ... + def getDesignTemperatureC(self) -> float: ... + def getDifferentialExpansionMm(self) -> float: ... + def getDischargeNozzleAllowableForceN(self) -> float: ... + def getDischargeNozzleAllowableMomentNm(self) -> float: ... + def getDischargeNozzleSizeMm(self) -> float: ... + def getFlangeClass(self) -> int: ... + def getFlangeRatingBarg(self) -> float: ... + def getFlangeStandard(self) -> java.lang.String: ... + def getH2sPartialPressureKPa(self) -> float: ... + def getHoopStressMPa(self) -> float: ... + def getHydroTestPressureBarg(self) -> float: ... + def getHydroTestPressureMPa(self) -> float: ... + def getJointEfficiency(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMaterialType(self) -> java.lang.String: ... + def getMawpBarg(self) -> float: ... + def getMawpMPa(self) -> float: ... + def getMaxOperatingPressureMPa(self) -> float: ... + def getMaxOperatingTemperatureC(self) -> float: ... + def getMinOperatingTemperatureC(self) -> float: ... + def getMinimumWallThicknessMm(self) -> float: ... + def getNaceComplianceStatus(self) -> java.lang.String: ... + def getNaceIssues(self) -> java.util.List[java.lang.String]: ... + def getNaceRegion(self) -> java.lang.String: ... + def getRequiredWallThicknessMm(self) -> float: ... + def getSelectedWallThicknessMm(self) -> float: ... + def getSmtsMPa(self) -> float: ... + def getSmysMPa(self) -> float: ... + def getSplitLineBoltCount(self) -> int: ... + def getSplitLineBoltDiameterMm(self) -> float: ... + def getStressRatio(self) -> float: ... + def getSuctionNozzleAllowableForceN(self) -> float: ... + def getSuctionNozzleAllowableMomentNm(self) -> float: ... + def getSuctionNozzleSizeMm(self) -> float: ... + def isFlangeRatingAdequate(self) -> bool: ... + def isHydroTestAcceptable(self) -> bool: ... + def isMaterialNaceCompliant(self) -> bool: ... + def isSourService(self) -> bool: ... + def isSplitLineBoltsAdequate(self) -> bool: ... + def isThermalGrowthAcceptable(self) -> bool: ... + def recommendMaterial(self) -> java.lang.String: ... + def setAmbientTemperatureC(self, double: float) -> None: ... + def setCasingInnerDiameterMm(self, double: float) -> None: ... + def setCasingLengthMm(self, double: float) -> None: ... + def setCasingType(self, casingType: 'CompressorMechanicalDesign.CasingType') -> None: ... + def setCorrosionAllowanceMm(self, double: float) -> None: ... + def setDesignPressureBara(self, double: float) -> None: ... + def setDesignPressureMPa(self, double: float) -> None: ... + def setDesignTemperatureC(self, double: float) -> None: ... + def setDischargeNozzleSizeMm(self, double: float) -> None: ... + def setH2sPartialPressureKPa(self, double: float) -> None: ... + def setImpellerDiameterMm(self, double: float) -> None: ... + def setJointEfficiency(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxOperatingPressureMPa(self, double: float) -> None: ... + def setMaxOperatingTemperatureC(self, double: float) -> None: ... + def setMinOperatingTemperatureC(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setSourService(self, boolean: bool) -> None: ... + def setSuctionNozzleSizeMm(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class CompressorDesignFeasibilityReport: + def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... + def applyChartToCompressor(self) -> None: ... + def generateReport(self) -> None: ... + def getCostEstimate(self) -> jneqsim.process.costestimation.compressor.CompressorCostEstimate: ... + def getGeneratedChart(self) -> jneqsim.process.equipment.compressor.CompressorChartInterface: ... + def getIssues(self) -> java.util.List['CompressorDesignFeasibilityReport.FeasibilityIssue']: ... + def getMatchingSuppliers(self) -> java.util.List['CompressorDesignFeasibilityReport.SupplierMatch']: ... + def getMechanicalDesign(self) -> 'CompressorMechanicalDesign': ... + def getVerdict(self) -> java.lang.String: ... + def isFeasible(self) -> bool: ... + def setAnnualOperatingHours(self, double: float) -> 'CompressorDesignFeasibilityReport': ... + def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> 'CompressorDesignFeasibilityReport': ... + def setCurveTemplate(self, string: typing.Union[java.lang.String, str]) -> 'CompressorDesignFeasibilityReport': ... + def setDriverType(self, string: typing.Union[java.lang.String, str]) -> 'CompressorDesignFeasibilityReport': ... + def setElectricityRate(self, double: float) -> 'CompressorDesignFeasibilityReport': ... + def setFuelRate(self, double: float) -> 'CompressorDesignFeasibilityReport': ... + def setGenerateCurves(self, boolean: bool) -> 'CompressorDesignFeasibilityReport': ... + def setNumberOfSpeedCurves(self, int: int) -> 'CompressorDesignFeasibilityReport': ... + def toJson(self) -> java.lang.String: ... + class FeasibilityIssue: + def __init__(self, issueSeverity: 'CompressorDesignFeasibilityReport.IssueSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'CompressorDesignFeasibilityReport.IssueSeverity': ... + def toString(self) -> java.lang.String: ... + class IssueSeverity(java.lang.Enum['CompressorDesignFeasibilityReport.IssueSeverity']): + INFO: typing.ClassVar['CompressorDesignFeasibilityReport.IssueSeverity'] = ... + WARNING: typing.ClassVar['CompressorDesignFeasibilityReport.IssueSeverity'] = ... + BLOCKER: typing.ClassVar['CompressorDesignFeasibilityReport.IssueSeverity'] = ... + _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]) -> 'CompressorDesignFeasibilityReport.IssueSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorDesignFeasibilityReport.IssueSeverity']: ... + class SupplierMatch: + def __init__(self): ... + def getApplications(self) -> java.lang.String: ... + def getCompressorType(self) -> java.lang.String: ... + def getManufacturer(self) -> java.lang.String: ... + def getMaxDischargePressureBara(self) -> float: ... + def getMaxFlowM3hr(self) -> float: ... + def getMaxImpellerDiameterMM(self) -> float: ... + def getMaxPowerKW(self) -> float: ... + def getMaxPressureRatioPerStage(self) -> float: ... + def getMaxSpeedRPM(self) -> float: ... + def getMaxStages(self) -> int: ... + def getMinFlowM3hr(self) -> float: ... + def getMinImpellerDiameterMM(self) -> float: ... + def getMinPowerKW(self) -> float: ... + def getMinPressureRatioPerStage(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + def getTypicalEfficiencyPct(self) -> float: ... + def getWebsite(self) -> java.lang.String: ... + def setApplications(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setManufacturer(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxDischargePressureBara(self, double: float) -> None: ... + def setMaxFlowM3hr(self, double: float) -> None: ... + def setMaxImpellerDiameterMM(self, double: float) -> None: ... + def setMaxPowerKW(self, double: float) -> None: ... + def setMaxPressureRatioPerStage(self, double: float) -> None: ... + def setMaxSpeedRPM(self, double: float) -> None: ... + def setMaxStages(self, int: int) -> None: ... + def setMinFlowM3hr(self, double: float) -> None: ... + def setMinImpellerDiameterMM(self, double: float) -> None: ... + def setMinPowerKW(self, double: float) -> None: ... + def setMinPressureRatioPerStage(self, double: float) -> None: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTypicalEfficiencyPct(self, double: float) -> None: ... + def setWebsite(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toString(self) -> java.lang.String: ... + +class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateStonewallFlow(self, double: float) -> float: ... + def calculateSurgeFlow(self, double: float) -> float: ... + def calculateTurndownFlow(self, double: float) -> float: ... + def displayResults(self) -> None: ... + def getBearingSpan(self) -> float: ... + def getBearingType(self) -> java.lang.String: ... + def getBundleWeight(self) -> float: ... + def getCasingCorrosionAllowanceMm(self) -> float: ... + def getCasingDesignCalculator(self) -> CompressorCasingDesignCalculator: ... + def getCasingMaterialGrade(self) -> java.lang.String: ... + def getCasingType(self) -> 'CompressorMechanicalDesign.CasingType': ... + def getCasingWeight(self) -> float: ... + def getDesignFlowMargin(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDriverMargin(self) -> float: ... + def getDriverPower(self) -> float: ... + def getFirstCriticalSpeed(self) -> float: ... + def getH2sPartialPressureKPa(self) -> float: ... + def getHeadPerStage(self) -> float: ... + def getImpellerDiameter(self) -> float: ... + def getMaterialClass(self) -> java.lang.String: ... + def getMaxContinuousSpeed(self) -> float: ... + def getMaxDischargeTemperatureC(self) -> float: ... + def getMaxPressureRatioPerStage(self) -> float: ... + def getMaxStagesPerCasing(self) -> int: ... + def getMaxVibrationMmPerSec(self) -> float: ... + def getMinPolytropicEfficiency(self) -> float: ... + def getMinSealGasDifferentialPressureBar(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getOuterDiameter(self) -> float: ... + def getResponse(self) -> 'CompressorMechanicalDesignResponse': ... + def getRotorWeight(self) -> float: ... + def getSealType(self) -> java.lang.String: ... + def getShaftDiameter(self) -> float: ... + def getStonewallMarginPercent(self) -> float: ... + def getSurgeMarginPercent(self) -> float: ... + def getTargetPolytropicEfficiency(self) -> float: ... + def getTipSpeed(self) -> float: ... + def getTripSpeed(self) -> float: ... + def getTurndownPercent(self) -> float: ... + def getWallThickness(self) -> float: ... + def isNaceCompliance(self) -> bool: ... + def loadProcessDesignParameters(self) -> None: ... + def readDesignSpecifications(self) -> None: ... + def setBearingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCasingCorrosionAllowanceMm(self, double: float) -> None: ... + def setCasingMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCasingType(self, casingType: 'CompressorMechanicalDesign.CasingType') -> None: ... + def setDesign(self) -> None: ... + def setDesignFlowMargin(self, double: float) -> None: ... + def setH2sPartialPressureKPa(self, double: float) -> None: ... + def setImpellerDiameter(self, double: float) -> None: ... + def setMaterialClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxDischargeTemperatureC(self, double: float) -> None: ... + def setMaxPressureRatioPerStage(self, double: float) -> None: ... + def setMaxStagesPerCasing(self, int: int) -> None: ... + def setMaxVibrationMmPerSec(self, double: float) -> None: ... + def setMinPolytropicEfficiency(self, double: float) -> None: ... + def setMinSealGasDifferentialPressureBar(self, double: float) -> None: ... + def setNaceCompliance(self, boolean: bool) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShaftDiameter(self, double: float) -> None: ... + def setStonewallMarginPercent(self, double: float) -> None: ... + def setSurgeMarginPercent(self, double: float) -> None: ... + def setTargetPolytropicEfficiency(self, double: float) -> None: ... + def setTurndownPercent(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def validateDesign(self) -> 'CompressorMechanicalDesign.CompressorValidationResult': ... + def validateDischargeTemperature(self, double: float) -> bool: ... + def validateEfficiency(self, double: float) -> bool: ... + def validateOperatingPoint(self, double: float, double2: float, double3: float) -> bool: ... + def validatePressureRatioPerStage(self, double: float) -> bool: ... + def validateVibration(self, double: float) -> bool: ... + class CasingType(java.lang.Enum['CompressorMechanicalDesign.CasingType']): + HORIZONTALLY_SPLIT: typing.ClassVar['CompressorMechanicalDesign.CasingType'] = ... + VERTICALLY_SPLIT: typing.ClassVar['CompressorMechanicalDesign.CasingType'] = ... + BARREL: typing.ClassVar['CompressorMechanicalDesign.CasingType'] = ... + _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]) -> 'CompressorMechanicalDesign.CasingType': ... + @staticmethod + def values() -> typing.MutableSequence['CompressorMechanicalDesign.CasingType']: ... + class CompressorValidationResult: + def __init__(self): ... + def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def setValid(self, boolean: bool) -> None: ... + +class CompressorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, compressorMechanicalDesign: CompressorMechanicalDesign): ... + def getBearingSpan(self) -> float: ... + def getBearingType(self) -> java.lang.String: ... + def getBundleWeight(self) -> float: ... + def getCasingType(self) -> java.lang.String: ... + def getCasingWeight(self) -> float: ... + def getCompressorType(self) -> java.lang.String: ... + def getDriverMargin(self) -> float: ... + def getDriverPower(self) -> float: ... + def getFirstCriticalSpeed(self) -> float: ... + def getHeadPerStage(self) -> float: ... + def getImpellerDiameter(self) -> float: ... + def getInletPressure(self) -> float: ... + def getIsentropicEfficiency(self) -> float: ... + def getMaxContinuousSpeed(self) -> float: ... + def getMaxDischargeTemperature(self) -> float: ... + def getMaxPressureRatioPerStage(self) -> float: ... + def getMaxVibrationUnfiltered(self) -> float: ... + def getMinTurndownPercent(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getOutletPressure(self) -> float: ... + def getPolytropicEfficiency(self) -> float: ... + def getPressureRatio(self) -> float: ... + def getRotorWeight(self) -> float: ... + def getSealType(self) -> java.lang.String: ... + def getShaftDiameter(self) -> float: ... + def getStonewallMarginPercent(self) -> float: ... + def getSurgeMarginPercent(self) -> float: ... + def getTargetPolytropicEfficiency(self) -> float: ... + def getTipSpeed(self) -> float: ... + def getTotalHead(self) -> float: ... + def getTripSpeed(self) -> float: ... + def isNaceCompliance(self) -> bool: ... + def populateFromCompressorDesign(self, compressorMechanicalDesign: CompressorMechanicalDesign) -> None: ... + def setBearingSpan(self, double: float) -> None: ... + def setBearingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBundleWeight(self, double: float) -> None: ... + def setCasingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCasingWeight(self, double: float) -> None: ... + def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDriverMargin(self, double: float) -> None: ... + def setDriverPower(self, double: float) -> None: ... + def setFirstCriticalSpeed(self, double: float) -> None: ... + def setHeadPerStage(self, double: float) -> None: ... + def setImpellerDiameter(self, double: float) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setIsentropicEfficiency(self, double: float) -> None: ... + def setMaxContinuousSpeed(self, double: float) -> None: ... + def setMaxDischargeTemperature(self, double: float) -> None: ... + def setMaxPressureRatioPerStage(self, double: float) -> None: ... + def setMaxVibrationUnfiltered(self, double: float) -> None: ... + def setMinTurndownPercent(self, double: float) -> None: ... + def setNaceCompliance(self, boolean: bool) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setPolytropicEfficiency(self, double: float) -> None: ... + def setPressureRatio(self, double: float) -> None: ... + def setRotorWeight(self, double: float) -> None: ... + def setSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShaftDiameter(self, double: float) -> None: ... + def setStonewallMarginPercent(self, double: float) -> None: ... + def setSurgeMarginPercent(self, double: float) -> None: ... + def setTargetPolytropicEfficiency(self, double: float) -> None: ... + def setTipSpeed(self, double: float) -> None: ... + def setTotalHead(self, double: float) -> None: ... + def setTripSpeed(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.compressor")``. + + CompressorCasingDesignCalculator: typing.Type[CompressorCasingDesignCalculator] + CompressorDesignFeasibilityReport: typing.Type[CompressorDesignFeasibilityReport] + CompressorMechanicalDesign: typing.Type[CompressorMechanicalDesign] + CompressorMechanicalDesignResponse: typing.Type[CompressorMechanicalDesignResponse] diff --git a/src/jneqsim/process/mechanicaldesign/data/__init__.pyi b/src/jneqsim/process/mechanicaldesign/data/__init__.pyi new file mode 100644 index 00000000..5fc75a40 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/data/__init__.pyi @@ -0,0 +1,50 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.nio.file +import java.util +import jpype.protocol +import jneqsim.process.mechanicaldesign +import typing + + + +class MechanicalDesignDataSource: + def getAvailableStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getAvailableVersions(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + 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 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]: ... + +class DatabaseMechanicalDesignDataSource(MechanicalDesignDataSource): + def __init__(self): ... + def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + +class StandardBasedCsvDataSource(MechanicalDesignDataSource): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]): ... + def getAvailableStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getAvailableVersions(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + 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 getSpecificationValues(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.data")``. + + CsvMechanicalDesignDataSource: typing.Type[CsvMechanicalDesignDataSource] + DatabaseMechanicalDesignDataSource: typing.Type[DatabaseMechanicalDesignDataSource] + MechanicalDesignDataSource: typing.Type[MechanicalDesignDataSource] + StandardBasedCsvDataSource: typing.Type[StandardBasedCsvDataSource] diff --git a/src/jneqsim/process/mechanicaldesign/designstandards/__init__.pyi b/src/jneqsim/process/mechanicaldesign/designstandards/__init__.pyi new file mode 100644 index 00000000..6450098f --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/designstandards/__init__.pyi @@ -0,0 +1,494 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.mechanicaldesign +import typing + + + +class CUIRiskAssessment(java.io.Serializable): + def __init__(self): ... + @staticmethod + def assessRisk(double: float, boolean: bool, insulationType: 'CUIRiskAssessment.InsulationType', double2: float, boolean2: bool) -> 'CUIRiskAssessment.CUIRisk': ... + @staticmethod + def estimateRemainingLife(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def isInsulationSuitable(insulationType: 'CUIRiskAssessment.InsulationType', double: float) -> bool: ... + @staticmethod + def recommendedInspectionIntervalYears(cUIRisk: 'CUIRiskAssessment.CUIRisk') -> int: ... + @staticmethod + def recommendedInspectionMethods(cUIRisk: 'CUIRiskAssessment.CUIRisk') -> java.util.List[java.lang.String]: ... + @staticmethod + def temperatureRiskScore(double: float, boolean: bool) -> float: ... + class CUIRisk(java.lang.Enum['CUIRiskAssessment.CUIRisk']): + LOW: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... + MEDIUM: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... + HIGH: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... + VERY_HIGH: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... + _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]) -> 'CUIRiskAssessment.CUIRisk': ... + @staticmethod + def values() -> typing.MutableSequence['CUIRiskAssessment.CUIRisk']: ... + class InsulationType(java.lang.Enum['CUIRiskAssessment.InsulationType']): + MINERAL_WOOL: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + CALCIUM_SILICATE: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + CELLULAR_GLASS: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + PIR_FOAM: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + PERLITE: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + AEROGEL: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + def absorbsMoisture(self) -> bool: ... + def getCuiMultiplier(self) -> float: ... + _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]) -> 'CUIRiskAssessment.InsulationType': ... + @staticmethod + def values() -> typing.MutableSequence['CUIRiskAssessment.InsulationType']: ... + +class DesignStandard(java.io.Serializable): + equipment: jneqsim.process.mechanicaldesign.MechanicalDesign = ... + standardName: java.lang.String = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def computeSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + def equals(self, object: typing.Any) -> bool: ... + def getEquipment(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getStandardName(self) -> java.lang.String: ... + def hashCode(self) -> int: ... + 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: ... + +class FireProtectionDesign(java.io.Serializable): + def __init__(self): ... + @staticmethod + def assessFireScenarios(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'FireProtectionDesign.FireScenarioResult': ... + @staticmethod + def bleveFireballDiameter(double: float) -> float: ... + @staticmethod + def bleveFireballDuration(double: float) -> float: ... + @staticmethod + def bleveOverpressure(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def blowdownTime(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def fireScenarioReport(list: java.util.List['FireProtectionDesign.FireScenarioResult']) -> java.lang.String: ... + @staticmethod + def firewaterDemand(double: float, double2: float, int: int, double3: float) -> float: ... + @staticmethod + def jetFireFlameLength(double: float, double2: float) -> float: ... + @staticmethod + def meetsBlowdownRequirement(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> bool: ... + @staticmethod + def pfpThickness(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def pointSourceRadiation(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def poolFireHeatRelease(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def safeDistance(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def vesselPfpThickness(double: float, double2: float, double3: float, double4: float) -> float: ... + class FireScenarioResult(java.io.Serializable): + equipmentName: java.lang.String = ... + poolFireHeatReleaseKW: float = ... + poolFireSafeDistanceM: float = ... + jetFireFlameLengthM: float = ... + jetFireSafeDistanceM: float = ... + bleveFireballDiameterM: float = ... + bleveFireballDurationS: float = ... + bleveOverpressureAt50mKPa: float = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def toJson(self) -> java.lang.String: ... + +class InsulationDesign(java.io.Serializable): + MAX_PERSONNEL_PROTECTION_TEMP_C: typing.ClassVar[float] = ... + def __init__(self): ... + @staticmethod + def flatSurfaceThickness(double: float, double2: float, insulationMaterial: 'InsulationDesign.InsulationMaterial', insulationPurpose: 'InsulationDesign.InsulationPurpose', double3: float) -> float: ... + @staticmethod + def pipeHeatLossPerMeter(double: float, double2: float, double3: float, double4: float, insulationMaterial: 'InsulationDesign.InsulationMaterial', double5: float) -> float: ... + @staticmethod + def pipeInsulationWeightPerMeter(double: float, double2: float, insulationMaterial: 'InsulationDesign.InsulationMaterial') -> float: ... + @staticmethod + def pipeThickness(double: float, double2: float, double3: float, insulationMaterial: 'InsulationDesign.InsulationMaterial', insulationPurpose: 'InsulationDesign.InsulationPurpose', double4: float) -> float: ... + @staticmethod + def selectMaterial(double: float, insulationPurpose: 'InsulationDesign.InsulationPurpose') -> 'InsulationDesign.InsulationMaterial': ... + class InsulationMaterial(java.lang.Enum['InsulationDesign.InsulationMaterial']): + MINERAL_WOOL: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + CALCIUM_SILICATE: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + PIR_FOAM: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + AEROGEL: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + CELLULAR_GLASS: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + EXPANDED_PERLITE: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + def getConductivity(self, double: float) -> float: ... + def getMaxTempC(self) -> float: ... + def getTypicalDensityKgM3(self) -> float: ... + _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]) -> 'InsulationDesign.InsulationMaterial': ... + @staticmethod + def values() -> typing.MutableSequence['InsulationDesign.InsulationMaterial']: ... + class InsulationPurpose(java.lang.Enum['InsulationDesign.InsulationPurpose']): + HEAT_CONSERVATION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... + PERSONNEL_PROTECTION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... + PROCESS_MAINTENANCE: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... + FROST_PROTECTION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... + FIRE_PROTECTION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... + _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]) -> 'InsulationDesign.InsulationPurpose': ... + @staticmethod + def values() -> typing.MutableSequence['InsulationDesign.InsulationPurpose']: ... + +class NoiseAssessment(java.io.Serializable): + NORSOK_MAX_CONTINUOUS_DBA: typing.ClassVar[float] = ... + NORSOK_MAX_EQUIPMENT_AREA_DBA: typing.ClassVar[float] = ... + def __init__(self): ... + @staticmethod + def aggregateNoise(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @staticmethod + def atmosphericAbsorption(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def compressorNoise(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def exceedsNorsokLimit(double: float) -> bool: ... + @staticmethod + def flareNoise(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def pumpNoise(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def splAtDistance(double: float, double2: float) -> float: ... + @staticmethod + def splAtDistanceOctaveBand(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def splAtDistanceWithAttenuation(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def valveNoise(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + +class PipingStressAnalysis(java.io.Serializable): + def __init__(self): ... + @staticmethod + def allowableExpansionStressRange(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def codeStressCheck(double: float, double2: float, double3: float, double4: float) -> bool: ... + @staticmethod + def expansionLoopLength(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def maxSupportSpan(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def momentOfInertia(double: float, double2: float) -> float: ... + @staticmethod + def sectionModulus(double: float, double2: float) -> float: ... + @staticmethod + def sustainedStress(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @typing.overload + @staticmethod + def thermalExpansion(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def thermalExpansion(double: float, double2: float, double3: float, double4: float) -> float: ... + +class StandardRegistry: + @staticmethod + def clearVersionOverrides() -> None: ... + @typing.overload + @staticmethod + def createStandard(standardType: 'StandardType', string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> DesignStandard: ... + @typing.overload + @staticmethod + def createStandard(standardType: 'StandardType', mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> DesignStandard: ... + @staticmethod + def findByCode(string: typing.Union[java.lang.String, str]) -> 'StandardType': ... + @staticmethod + def getAllCategories() -> java.util.List[java.lang.String]: ... + @staticmethod + def getAllStandards() -> typing.MutableSequence['StandardType']: ... + @staticmethod + def getApplicableStandards(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + @staticmethod + def getEffectiveVersion(standardType: 'StandardType') -> java.lang.String: ... + @staticmethod + def getRecommendedStandards(string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.List['StandardType']]: ... + @staticmethod + def getStandardsByCategory(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + @staticmethod + def getStandardsByOrganization(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + @staticmethod + def getSummary() -> java.lang.String: ... + @staticmethod + def isApplicable(standardType: 'StandardType', string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def setVersionOverride(standardType: 'StandardType', string: typing.Union[java.lang.String, str]) -> None: ... + +class StandardType(java.lang.Enum['StandardType']): + NORSOK_L_001: typing.ClassVar['StandardType'] = ... + NORSOK_P_001: typing.ClassVar['StandardType'] = ... + NORSOK_P_002: typing.ClassVar['StandardType'] = ... + NORSOK_M_001: typing.ClassVar['StandardType'] = ... + NORSOK_M_630: typing.ClassVar['StandardType'] = ... + ASME_VIII_DIV1: typing.ClassVar['StandardType'] = ... + ASME_VIII_DIV2: typing.ClassVar['StandardType'] = ... + ASME_B31_3: typing.ClassVar['StandardType'] = ... + ASME_B31_4: typing.ClassVar['StandardType'] = ... + ASME_B31_8: typing.ClassVar['StandardType'] = ... + API_617: typing.ClassVar['StandardType'] = ... + API_610: typing.ClassVar['StandardType'] = ... + API_650: typing.ClassVar['StandardType'] = ... + API_620: typing.ClassVar['StandardType'] = ... + API_660: typing.ClassVar['StandardType'] = ... + API_661: typing.ClassVar['StandardType'] = ... + API_521: typing.ClassVar['StandardType'] = ... + API_526: typing.ClassVar['StandardType'] = ... + API_5L: typing.ClassVar['StandardType'] = ... + API_12J: typing.ClassVar['StandardType'] = ... + DNV_ST_F101: typing.ClassVar['StandardType'] = ... + DNV_OS_F101: typing.ClassVar['StandardType'] = ... + DNV_RP_F105: typing.ClassVar['StandardType'] = ... + ISO_13623: typing.ClassVar['StandardType'] = ... + ISO_15649: typing.ClassVar['StandardType'] = ... + ISO_16812: typing.ClassVar['StandardType'] = ... + ASTM_A106: typing.ClassVar['StandardType'] = ... + ASTM_A516: typing.ClassVar['StandardType'] = ... + ASTM_A333: typing.ClassVar['StandardType'] = ... + EN_13480: typing.ClassVar['StandardType'] = ... + EN_13445: typing.ClassVar['StandardType'] = ... + PD_5500: typing.ClassVar['StandardType'] = ... + def appliesTo(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def fromCode(string: typing.Union[java.lang.String, str]) -> 'StandardType': ... + @staticmethod + def getAllCategories() -> java.util.List[java.lang.String]: ... + @staticmethod + def getApiStandards() -> java.util.List['StandardType']: ... + def getApplicableEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + @staticmethod + def getApplicableStandards(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + @staticmethod + def getAsmeStandards() -> java.util.List['StandardType']: ... + @staticmethod + def getAstmStandards() -> java.util.List['StandardType']: ... + @staticmethod + def getByCategory(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + def getCode(self) -> java.lang.String: ... + def getDefaultVersion(self) -> java.lang.String: ... + def getDesignStandardCategory(self) -> java.lang.String: ... + @staticmethod + def getDnvStandards() -> java.util.List['StandardType']: ... + @staticmethod + def getEnStandards() -> java.util.List['StandardType']: ... + @staticmethod + def getIsoStandards() -> java.util.List['StandardType']: ... + def getName(self) -> java.lang.String: ... + @staticmethod + def getNorsokStandards() -> java.util.List['StandardType']: ... + def toString(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]) -> 'StandardType': ... + @staticmethod + def values() -> typing.MutableSequence['StandardType']: ... + +class VibrationAssessment(java.io.Serializable): + def __init__(self): ... + @staticmethod + def acousticPowerLevel(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def aivScreening(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'VibrationAssessment.VibrationRisk': ... + @staticmethod + def aivScreeningLimit(double: float, double2: float) -> float: ... + @staticmethod + def fivHeatExchangerScreening(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'VibrationAssessment.VibrationRisk': ... + @staticmethod + def reciprocatingPulsationScreening(double: float, double2: float, double3: float, double4: float) -> 'VibrationAssessment.VibrationRisk': ... + class VibrationRisk(java.lang.Enum['VibrationAssessment.VibrationRisk']): + LOW: typing.ClassVar['VibrationAssessment.VibrationRisk'] = ... + MEDIUM: typing.ClassVar['VibrationAssessment.VibrationRisk'] = ... + HIGH: typing.ClassVar['VibrationAssessment.VibrationRisk'] = ... + _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]) -> 'VibrationAssessment.VibrationRisk': ... + @staticmethod + def values() -> typing.MutableSequence['VibrationAssessment.VibrationRisk']: ... + +class AbsorptionColumnDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getMolecularSieveWaterCapacity(self) -> float: ... + def setMolecularSieveWaterCapacity(self, double: float) -> None: ... + +class AdsorptionDehydrationDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getMolecularSieveWaterCapacity(self) -> float: ... + def setMolecularSieveWaterCapacity(self, double: float) -> None: ... + +class CompressorDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getCompressorFactor(self) -> float: ... + def setCompressorFactor(self, double: float) -> None: ... + +class GasScrubberDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getGasLoadFactor(self) -> float: ... + def getVolumetricDesignFactor(self) -> float: ... + +class JointEfficiencyPipelineStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getJEFactor(self) -> float: ... + def readJointEfficiencyStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setJEFactor(self, double: float) -> None: ... + +class JointEfficiencyPlateStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getJEFactor(self) -> float: ... + def readJointEfficiencyStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setJEFactor(self, double: float) -> None: ... + +class MaterialPipeDesignStandard(DesignStandard): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getDesignFactor(self) -> float: ... + def getEfactor(self) -> float: ... + def getMinimumYeildStrength(self) -> float: ... + def getTemperatureDeratingFactor(self) -> float: ... + 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: ... + def setMinimumYeildStrength(self, double: float) -> None: ... + def setTemperatureDeratingFactor(self, double: float) -> None: ... + +class MaterialPlateDesignStandard(DesignStandard): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getDivisionClass(self) -> float: ... + def readMaterialDesignStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], int: int) -> None: ... + def setDivisionClass(self, double: float) -> None: ... + +class PipelineDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def calcPipelineWallThickness(self) -> float: ... + def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + +class PipingDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + +class PressureVesselDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def calcWallThickness(self) -> float: ... + def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + +class ProcessDesignStandard(DesignStandard): + DEFAULT_DESIGN_PRESSURE_MARGIN: typing.ClassVar[float] = ... + DEFAULT_DESIGN_TEMPERATURE_MARGIN_C: typing.ClassVar[float] = ... + DEFAULT_MIN_DESIGN_TEMPERATURE_C: typing.ClassVar[float] = ... + DEFAULT_FLOW_SAFETY_FACTOR: typing.ClassVar[float] = ... + DEFAULT_DUTY_MARGIN: typing.ClassVar[float] = ... + DEFAULT_AREA_MARGIN: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + @typing.overload + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def calculateDesignArea(self, double: float) -> float: ... + def calculateDesignDuty(self, double: float) -> float: ... + def calculateDesignFlowRate(self, double: float) -> float: ... + def calculateDesignPressure(self, double: float) -> float: ... + def calculateDesignTemperature(self, double: float) -> float: ... + def calculateMinDesignTemperature(self, double: float) -> float: ... + def getAreaMargin(self) -> float: ... + def getDesignPressureMargin(self) -> float: ... + def getDesignTemperatureMarginC(self) -> float: ... + def getDutyMargin(self) -> float: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFlowSafetyFactor(self) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMinDesignTemperatureC(self) -> float: ... + def getStandardName(self) -> java.lang.String: ... + def setAreaMargin(self, double: float) -> None: ... + def setDesignPressureMargin(self, double: float) -> None: ... + def setDesignTemperatureMarginC(self, double: float) -> None: ... + def setDutyMargin(self, double: float) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowSafetyFactor(self, double: float) -> None: ... + def setMinDesignTemperatureC(self, double: float) -> None: ... + +class SeparatorDesignStandard(DesignStandard): + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getFg(self) -> float: ... + def getGasLoadFactor(self) -> float: ... + 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 setFg(self, double: float) -> None: ... + def setVolumetricDesignFactor(self, double: float) -> None: ... + +class ValveDesignStandard(DesignStandard): + valveCvMax: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def getValveCvMax(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.designstandards")``. + + AbsorptionColumnDesignStandard: typing.Type[AbsorptionColumnDesignStandard] + AdsorptionDehydrationDesignStandard: typing.Type[AdsorptionDehydrationDesignStandard] + CUIRiskAssessment: typing.Type[CUIRiskAssessment] + CompressorDesignStandard: typing.Type[CompressorDesignStandard] + DesignStandard: typing.Type[DesignStandard] + FireProtectionDesign: typing.Type[FireProtectionDesign] + GasScrubberDesignStandard: typing.Type[GasScrubberDesignStandard] + InsulationDesign: typing.Type[InsulationDesign] + JointEfficiencyPipelineStandard: typing.Type[JointEfficiencyPipelineStandard] + JointEfficiencyPlateStandard: typing.Type[JointEfficiencyPlateStandard] + MaterialPipeDesignStandard: typing.Type[MaterialPipeDesignStandard] + MaterialPlateDesignStandard: typing.Type[MaterialPlateDesignStandard] + NoiseAssessment: typing.Type[NoiseAssessment] + PipelineDesignStandard: typing.Type[PipelineDesignStandard] + PipingDesignStandard: typing.Type[PipingDesignStandard] + PipingStressAnalysis: typing.Type[PipingStressAnalysis] + PressureVesselDesignStandard: typing.Type[PressureVesselDesignStandard] + ProcessDesignStandard: typing.Type[ProcessDesignStandard] + SeparatorDesignStandard: typing.Type[SeparatorDesignStandard] + StandardRegistry: typing.Type[StandardRegistry] + StandardType: typing.Type[StandardType] + ValveDesignStandard: typing.Type[ValveDesignStandard] + VibrationAssessment: typing.Type[VibrationAssessment] diff --git a/src/jneqsim/process/mechanicaldesign/distillation/__init__.pyi b/src/jneqsim/process/mechanicaldesign/distillation/__init__.pyi new file mode 100644 index 00000000..d27557de --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/distillation/__init__.pyi @@ -0,0 +1,61 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.distillation +import jneqsim.process.mechanicaldesign +import typing + + + +class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateColumnCost(self) -> float: ... + def calculateCondenserCost(self) -> float: ... + def calculateReboilerCost(self) -> float: ... + def calculateTotalSystemCost(self) -> float: ... + def calculateWeights(self) -> None: ... + def getActualTrays(self) -> int: ... + def getColumnDiameter(self) -> float: ... + def getColumnHeight(self) -> float: ... + def getColumnWallThickness(self) -> float: ... + def getCondenserDuty(self) -> float: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getFloodingFactor(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMaxFloodingFactor(self) -> float: ... + def getNumberOfTrays(self) -> int: ... + def getReboilerDuty(self) -> float: ... + def getTotalPressureDrop(self) -> float: ... + def getTrayEfficiency(self) -> float: ... + def getTrayPressureDrop(self) -> float: ... + def getTraySpacing(self) -> float: ... + def getTrayType(self) -> java.lang.String: ... + def getWeirLoading(self) -> float: ... + @typing.overload + def optimizeEconomicTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> jneqsim.process.equipment.distillation.DistillationColumn.EconomicTrayOptimizationResult: ... + @typing.overload + def optimizeEconomicTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float, double7: float) -> jneqsim.process.equipment.distillation.DistillationColumn.EconomicTrayOptimizationResult: ... + def readDesignSpecifications(self) -> None: ... + def setColumnDiameter(self, double: float) -> None: ... + def setColumnHeight(self, double: float) -> None: ... + def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxFloodingFactor(self, double: float) -> None: ... + def setTrayEfficiency(self, double: float) -> None: ... + def setTraySpacing(self, double: float) -> None: ... + def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.distillation")``. + + DistillationColumnMechanicalDesign: typing.Type[DistillationColumnMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/ejector/__init__.pyi b/src/jneqsim/process/mechanicaldesign/ejector/__init__.pyi new file mode 100644 index 00000000..19202819 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/ejector/__init__.pyi @@ -0,0 +1,46 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class EjectorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def getBodyVolume(self) -> float: ... + def getConnectedPipingVolume(self) -> float: ... + def getDiffuserOutletArea(self) -> float: ... + def getDiffuserOutletDiameter(self) -> float: ... + def getDiffuserOutletLength(self) -> float: ... + def getDiffuserOutletVelocity(self) -> float: ... + def getDischargeConnectionLength(self) -> float: ... + def getEntrainmentRatio(self) -> float: ... + def getMixingChamberArea(self) -> float: ... + def getMixingChamberDiameter(self) -> float: ... + def getMixingChamberLength(self) -> float: ... + def getMixingChamberVelocity(self) -> float: ... + def getMixingPressure(self) -> float: ... + def getMotiveNozzleDiameter(self) -> float: ... + def getMotiveNozzleEffectiveLength(self) -> float: ... + def getMotiveNozzleExitVelocity(self) -> float: ... + def getMotiveNozzleThroatArea(self) -> float: ... + def getSuctionConnectionLength(self) -> float: ... + def getSuctionInletArea(self) -> float: ... + def getSuctionInletDiameter(self) -> float: ... + def getSuctionInletLength(self) -> float: ... + def getSuctionInletVelocity(self) -> float: ... + def getTotalVolume(self) -> float: ... + def resetDesign(self) -> None: ... + def updateDesign(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.ejector")``. + + EjectorMechanicalDesign: typing.Type[EjectorMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/electrolyzer/__init__.pyi b/src/jneqsim/process/mechanicaldesign/electrolyzer/__init__.pyi new file mode 100644 index 00000000..377b4153 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/electrolyzer/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class ElectrolyzerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCellsPerStack(self) -> int: ... + def getCurrentDensity(self) -> float: ... + def getElectrolyzerType(self) -> java.lang.String: ... + def getH2ProductionRateKgHr(self) -> float: ... + def getModuleFootprintM2(self) -> float: ... + def getNumberOfStacks(self) -> int: ... + def getSpecificEnergyKWhPerKg(self) -> float: ... + def getStackEfficiency(self) -> float: ... + def getStackWeightKg(self) -> float: ... + def getTotalMembraneArea(self) -> float: ... + def getTotalPowerKW(self) -> float: ... + def getTotalSystemWeightKg(self) -> float: ... + def getWaterConsumptionKgHr(self) -> float: ... + def setCellActiveArea(self, double: float) -> None: ... + def setCurrentDensity(self, double: float) -> None: ... + def setElectrolyzerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setH2ProductionRateKgHr(self, double: float) -> None: ... + def setStackPressure(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.electrolyzer")``. + + ElectrolyzerMechanicalDesign: typing.Type[ElectrolyzerMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/expander/__init__.pyi b/src/jneqsim/process/mechanicaldesign/expander/__init__.pyi new file mode 100644 index 00000000..b02d7b80 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/expander/__init__.pyi @@ -0,0 +1,64 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class ExpanderMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def displayResults(self) -> None: ... + def getBearingType(self) -> java.lang.String: ... + def getCasingDesignPressure(self) -> float: ... + def getCasingDesignTemperature(self) -> float: ... + def getExpanderType(self) -> 'ExpanderMechanicalDesign.ExpanderType': ... + def getFirstCriticalSpeed(self) -> float: ... + def getIsentropicEfficiency(self) -> float: ... + def getLoadType(self) -> 'ExpanderMechanicalDesign.LoadType': ... + def getNumberOfStages(self) -> int: ... + def getRatedSpeed(self) -> float: ... + def getRecoveredPower(self) -> float: ... + def getSealType(self) -> java.lang.String: ... + def getShaftDiameter(self) -> float: ... + def getTipSpeed(self) -> float: ... + def getWheelDiameter(self) -> float: ... + class ExpanderType(java.lang.Enum['ExpanderMechanicalDesign.ExpanderType']): + RADIAL_INFLOW: typing.ClassVar['ExpanderMechanicalDesign.ExpanderType'] = ... + AXIAL: typing.ClassVar['ExpanderMechanicalDesign.ExpanderType'] = ... + MIXED_FLOW: typing.ClassVar['ExpanderMechanicalDesign.ExpanderType'] = ... + _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]) -> 'ExpanderMechanicalDesign.ExpanderType': ... + @staticmethod + def values() -> typing.MutableSequence['ExpanderMechanicalDesign.ExpanderType']: ... + class LoadType(java.lang.Enum['ExpanderMechanicalDesign.LoadType']): + GENERATOR: typing.ClassVar['ExpanderMechanicalDesign.LoadType'] = ... + COMPRESSOR: typing.ClassVar['ExpanderMechanicalDesign.LoadType'] = ... + BRAKE: typing.ClassVar['ExpanderMechanicalDesign.LoadType'] = ... + _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]) -> 'ExpanderMechanicalDesign.LoadType': ... + @staticmethod + def values() -> typing.MutableSequence['ExpanderMechanicalDesign.LoadType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.expander")``. + + ExpanderMechanicalDesign: typing.Type[ExpanderMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/filter/__init__.pyi b/src/jneqsim/process/mechanicaldesign/filter/__init__.pyi new file mode 100644 index 00000000..f0207e16 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/filter/__init__.pyi @@ -0,0 +1,59 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class FilterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getAnnualMaintenanceCostUSD(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperatureC(self) -> float: ... + def getElementArea(self) -> float: ... + def getEmptyVesselWeight(self) -> float: ... + def getEquipmentCostUSD(self) -> float: ... + def getHeadThickness(self) -> float: ... + def getInstalledCostUSD(self) -> float: ... + def getLifecycleCostUSD(self, double: float) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getRequiredElements(self) -> int: ... + def getShellThickness(self) -> float: ... + def getTotalEquippedWeight(self) -> float: ... + def getVesselLength(self) -> float: ... + def setAllowableStress(self, double: float) -> None: ... + def setCorrosionAllowanceMm(self, double: float) -> None: ... + def setDesignPressureMargin(self, double: float) -> None: ... + def setDesignTemperatureMarginC(self, double: float) -> None: ... + def setElementArea(self, double: float) -> None: ... + def setElementChangeHours(self, double: float) -> None: ... + def setElementCostUSD(self, double: float) -> None: ... + def setInstallationFactor(self, double: float) -> None: ... + def setJointEfficiency(self, double: float) -> None: ... + def setLabourRateUSD(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxFaceVelocity(self, double: float) -> None: ... + def setMaxLDRatio(self, double: float) -> None: ... + def setMinLDRatio(self, double: float) -> None: ... + def setSteelCostPerKg(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class SulfurFilterMechanicalDesign(FilterMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.filter")``. + + FilterMechanicalDesign: typing.Type[FilterMechanicalDesign] + SulfurFilterMechanicalDesign: typing.Type[SulfurFilterMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/flare/__init__.pyi b/src/jneqsim/process/mechanicaldesign/flare/__init__.pyi new file mode 100644 index 00000000..2ad370ad --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/flare/__init__.pyi @@ -0,0 +1,40 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class FlareMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getDesignHeatReleaseMW(self) -> float: ... + def getFlameLength(self) -> float: ... + def getFlameTiltAngle(self) -> float: ... + def getHeaderDiameter(self) -> float: ... + def getPilotGasConsumption(self) -> float: ... + def getRadiationDistanceAtGrade(self) -> float: ... + def getSmokeSuppressingSteamRate(self) -> float: ... + def getStackHeight(self) -> float: ... + def getStackMaterial(self) -> java.lang.String: ... + def getStackWallThickness(self) -> float: ... + def getStackWeight(self) -> float: ... + def getTipDiameter(self) -> float: ... + def setDesignWindSpeed(self, double: float) -> None: ... + def setMaxRadiationAtGrade(self, double: float) -> None: ... + def setMaxTipMachNumber(self, double: float) -> None: ... + def setRadiantFraction(self, double: float) -> None: ... + def setStackMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.flare")``. + + FlareMechanicalDesign: typing.Type[FlareMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/heatexchanger/__init__.pyi b/src/jneqsim/process/mechanicaldesign/heatexchanger/__init__.pyi new file mode 100644 index 00000000..41cebb25 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/heatexchanger/__init__.pyi @@ -0,0 +1,1034 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.heatexchanger +import jneqsim.process.mechanicaldesign +import typing + + + +class BellDelawareMethod: + @staticmethod + def calcBypassArea(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calcCorrectedHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def calcCrossflowArea(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcIdealCrossflowDP(int: int, double: float, double2: float, double3: float, boolean: bool) -> float: ... + @staticmethod + def calcIdealCrossflowHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calcJb(double: float, double2: float, boolean: bool, int: int, int2: int) -> float: ... + @staticmethod + def calcJc(double: float) -> float: ... + @staticmethod + def calcJl(double: float, double2: float, double3: float, int: int, double4: float, double5: float) -> float: ... + @staticmethod + def calcJr(double: float, int: int) -> float: ... + @staticmethod + def calcJs(double: float, double2: float, double3: float, int: int) -> float: ... + @staticmethod + def calcKernShellSideHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def calcKernShellSidePressureDrop(double: float, double2: float, double3: float, int: int, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def calcRb(double: float, double2: float, boolean: bool, int: int, int2: int) -> float: ... + @staticmethod + def calcRl(double: float, double2: float, double3: float, int: int, double4: float, double5: float) -> float: ... + @staticmethod + def calcShellEquivDiameter(double: float, double2: float, boolean: bool) -> float: ... + @staticmethod + def calcWindowDP(double: float, double2: float, double3: float, int: int) -> float: ... + @staticmethod + def estimateCrossflowFraction(double: float) -> float: ... + @staticmethod + def estimateTubeRowsCrossflow(double: float, double2: float, double3: float, boolean: bool) -> int: ... + +class BoilingHeatTransfer: + @staticmethod + def calcAverageHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, int: int) -> float: ... + @staticmethod + def calcChenEnhancementFactor(double: float) -> float: ... + @staticmethod + def calcChenHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float) -> float: ... + @staticmethod + def calcChenSuppressionFactor(double: float) -> float: ... + @staticmethod + def calcGungorWintertonCorrectedHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... + @staticmethod + def calcGungorWintertonHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float) -> float: ... + @staticmethod + def calcMartinelliParameter(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + +class FoulingModel(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, foulingModelType: 'FoulingModel.FoulingModelType'): ... + def advanceTime(self, double: float) -> None: ... + def calcEbertPanchalFoulingRate(self, double: float) -> float: ... + def calcEbertPanchalResistance(self, double: float) -> float: ... + def calcKernSeatonResistance(self, double: float) -> float: ... + def calcThresholdTemperature(self, double: float) -> float: ... + def calcThresholdVelocity(self) -> float: ... + @staticmethod + def createCoolingWaterModel(double: float, double2: float) -> 'FoulingModel': ... + @staticmethod + def createCrudeOilModel() -> 'FoulingModel': ... + @staticmethod + def createHeavyCrudeModel() -> 'FoulingModel': ... + def getAsymptoticFoulingResistance(self) -> float: ... + def getFixedFoulingResistance(self) -> float: ... + def getFoulingRate(self) -> float: ... + @typing.overload + def getFoulingResistance(self) -> float: ... + @typing.overload + def getFoulingResistance(self, double: float) -> float: ... + def getModelType(self) -> 'FoulingModel.FoulingModelType': ... + def getOperatingTimeHours(self) -> float: ... + def predictTimeToFouling(self, double: float) -> float: ... + def reset(self) -> None: ... + def setActivationEnergy(self, double: float) -> None: ... + def setAlpha(self, double: float) -> None: ... + def setBeta(self, double: float) -> None: ... + def setFixedFoulingResistance(self, double: float) -> None: ... + def setGamma(self, double: float) -> None: ... + def setModelType(self, foulingModelType: 'FoulingModel.FoulingModelType') -> None: ... + def setRfMax(self, double: float) -> None: ... + def setTimeConstant(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def updateConditions(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + class FoulingModelType(java.lang.Enum['FoulingModel.FoulingModelType']): + FIXED: typing.ClassVar['FoulingModel.FoulingModelType'] = ... + EBERT_PANCHAL: typing.ClassVar['FoulingModel.FoulingModelType'] = ... + KERN_SEATON: typing.ClassVar['FoulingModel.FoulingModelType'] = ... + _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]) -> 'FoulingModel.FoulingModelType': ... + @staticmethod + def values() -> typing.MutableSequence['FoulingModel.FoulingModelType']: ... + +class HeatExchangerDesignFeasibilityReport: + @typing.overload + def __init__(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger): ... + @typing.overload + def __init__(self, lNGHeatExchanger: jneqsim.process.equipment.heatexchanger.LNGHeatExchanger): ... + def generateReport(self) -> None: ... + def getInstalledCostUSD(self) -> float: ... + def getIssues(self) -> java.util.List['HeatExchangerDesignFeasibilityReport.FeasibilityIssue']: ... + def getMatchingSuppliers(self) -> java.util.List['HeatExchangerDesignFeasibilityReport.SupplierMatch']: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getNumberOfMatchingSuppliers(self) -> int: ... + def getPurchasedEquipmentCostUSD(self) -> float: ... + def getVerdict(self) -> java.lang.String: ... + def isFeasible(self) -> bool: ... + def setAnnualOperatingHours(self, int: int) -> 'HeatExchangerDesignFeasibilityReport': ... + def setDesignStandard(self, string: typing.Union[java.lang.String, str]) -> 'HeatExchangerDesignFeasibilityReport': ... + def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> 'HeatExchangerDesignFeasibilityReport': ... + def toJson(self) -> java.lang.String: ... + class FeasibilityIssue: + def __init__(self, issueSeverity: 'HeatExchangerDesignFeasibilityReport.IssueSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'HeatExchangerDesignFeasibilityReport.IssueSeverity': ... + def toString(self) -> java.lang.String: ... + class IssueSeverity(java.lang.Enum['HeatExchangerDesignFeasibilityReport.IssueSeverity']): + INFO: typing.ClassVar['HeatExchangerDesignFeasibilityReport.IssueSeverity'] = ... + WARNING: typing.ClassVar['HeatExchangerDesignFeasibilityReport.IssueSeverity'] = ... + BLOCKER: typing.ClassVar['HeatExchangerDesignFeasibilityReport.IssueSeverity'] = ... + _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]) -> 'HeatExchangerDesignFeasibilityReport.IssueSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['HeatExchangerDesignFeasibilityReport.IssueSeverity']: ... + class SupplierMatch: + def __init__(self): ... + def getApplications(self) -> java.lang.String: ... + def getExchangerType(self) -> java.lang.String: ... + def getManufacturer(self) -> java.lang.String: ... + def getMaterials(self) -> java.lang.String: ... + def getMaxAreaM2(self) -> float: ... + def getMaxDutyKW(self) -> float: ... + def getMaxPressureBara(self) -> float: ... + def getMaxTemperatureC(self) -> float: ... + def getMinAreaM2(self) -> float: ... + def getMinDutyKW(self) -> float: ... + def getMinPressureBara(self) -> float: ... + def getMinTemperatureC(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + def getTemaTypes(self) -> java.lang.String: ... + def getWebsite(self) -> java.lang.String: ... + def setApplications(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setManufacturer(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaterials(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxAreaM2(self, double: float) -> None: ... + def setMaxDutyKW(self, double: float) -> None: ... + def setMaxPressureBara(self, double: float) -> None: ... + def setMaxTemperatureC(self, double: float) -> None: ... + def setMinAreaM2(self, double: float) -> None: ... + def setMinDutyKW(self, double: float) -> None: ... + def setMinPressureBara(self, double: float) -> None: ... + def setMinTemperatureC(self, double: float) -> None: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaTypes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWebsite(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCleanU(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateFouledU(self, double: float, boolean: bool, boolean2: bool) -> float: ... + def calculateTotalFoulingResistance(self, boolean: bool, boolean2: bool) -> float: ... + def getApproachTemperature(self) -> float: ... + def getAreaMarginFactor(self) -> float: ... + def getBaffleCutPercent(self) -> float: ... + def getBaffleSpacingRatio(self) -> float: ... + def getCalculatedUA(self) -> float: ... + def getCandidateTypes(self) -> java.util.List['HeatExchangerType']: ... + def getDesignPressureMargin(self) -> float: ... + def getDesignTemperatureMarginC(self) -> float: ... + def getDutyMargin(self) -> float: ... + def getFoulingResistanceShellHC(self) -> float: ... + def getFoulingResistanceShellWater(self) -> float: ... + def getFoulingResistanceTubeHC(self) -> float: ... + def getFoulingResistanceTubeWater(self) -> float: ... + def getH2sPartialPressure(self) -> float: ... + def getLogMeanTemperatureDifference(self) -> float: ... + def getManualSelection(self) -> 'HeatExchangerType': ... + def getMaxShellVelocity(self) -> float: ... + def getMaxTubeLengthM(self) -> float: ... + def getMaxTubeVelocity(self) -> float: ... + def getMinApproachTemperatureC(self) -> float: ... + def getMinTubeVelocity(self) -> float: ... + def getSelectedSizingResult(self) -> 'HeatExchangerSizingResult': ... + def getSelectedType(self) -> 'HeatExchangerType': ... + def getSelectionCriterion(self) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... + def getShellAndTubeCalculator(self) -> 'ShellAndTubeDesignCalculator': ... + def getShellJointEfficiency(self) -> float: ... + def getShellMaterialGrade(self) -> java.lang.String: ... + def getShellPasses(self) -> int: ... + def getSizingResults(self) -> java.util.List['HeatExchangerSizingResult']: ... + def getSizingSummary(self) -> java.lang.String: ... + def getTemaClass(self) -> java.lang.String: ... + def getTemaDesignation(self) -> java.lang.String: ... + def getTemaFrontHeadType(self) -> java.lang.String: ... + def getTemaRearHeadType(self) -> java.lang.String: ... + def getTemaShellType(self) -> java.lang.String: ... + def getTubeLayoutPattern(self) -> java.lang.String: ... + def getTubeMaterialGrade(self) -> java.lang.String: ... + def getTubeOuterDiameterMm(self) -> float: ... + def getTubePasses(self) -> int: ... + def getTubePitchRatio(self) -> float: ... + def getTubeWallThicknessMm(self) -> float: ... + def getUsedOverallHeatTransferCoefficient(self) -> float: ... + def isSourServiceAssessment(self) -> bool: ... + def loadProcessDesignParameters(self) -> None: ... + def setAreaMarginFactor(self, double: float) -> None: ... + def setBaffleCutPercent(self, double: float) -> None: ... + def setBaffleSpacingRatio(self, double: float) -> None: ... + @typing.overload + def setCandidateTypes(self, list: java.util.List['HeatExchangerType']) -> None: ... + @typing.overload + def setCandidateTypes(self, *heatExchangerType: 'HeatExchangerType') -> None: ... + def setDesignPressureMargin(self, double: float) -> None: ... + def setDesignTemperatureMarginC(self, double: float) -> None: ... + def setDutyMargin(self, double: float) -> None: ... + def setFoulingResistanceShellHC(self, double: float) -> None: ... + def setFoulingResistanceShellWater(self, double: float) -> None: ... + def setFoulingResistanceTubeHC(self, double: float) -> None: ... + def setFoulingResistanceTubeWater(self, double: float) -> None: ... + def setH2sPartialPressure(self, double: float) -> None: ... + def setManualSelection(self, heatExchangerType: 'HeatExchangerType') -> None: ... + def setMaxShellVelocity(self, double: float) -> None: ... + def setMaxTubeLengthM(self, double: float) -> None: ... + def setMaxTubeVelocity(self, double: float) -> None: ... + def setMinApproachTemperatureC(self, double: float) -> None: ... + def setMinTubeVelocity(self, double: float) -> None: ... + def setSelectionCriterion(self, selectionCriterion: 'HeatExchangerMechanicalDesign.SelectionCriterion') -> None: ... + def setShellJointEfficiency(self, double: float) -> None: ... + def setShellMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellPasses(self, int: int) -> None: ... + def setSourServiceAssessment(self, boolean: bool) -> None: ... + def setTemaClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaFrontHeadType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaRearHeadType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaShellType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeLayoutPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeOuterDiameterMm(self, double: float) -> None: ... + def setTubePasses(self, int: int) -> None: ... + def setTubePitchRatio(self, double: float) -> None: ... + def setTubeWallThicknessMm(self, double: float) -> None: ... + def validateApproachTemperature(self, double: float) -> bool: ... + def validateDesign(self) -> 'HeatExchangerMechanicalDesign.HeatExchangerValidationResult': ... + def validateShellVelocity(self, double: float) -> bool: ... + def validateTubeLength(self, double: float) -> bool: ... + def validateTubeVelocity(self, double: float) -> bool: ... + class HeatExchangerValidationResult: + def __init__(self): ... + def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def setValid(self, boolean: bool) -> None: ... + class SelectionCriterion(java.lang.Enum['HeatExchangerMechanicalDesign.SelectionCriterion']): + MIN_AREA: typing.ClassVar['HeatExchangerMechanicalDesign.SelectionCriterion'] = ... + MIN_WEIGHT: typing.ClassVar['HeatExchangerMechanicalDesign.SelectionCriterion'] = ... + MIN_PRESSURE_DROP: typing.ClassVar['HeatExchangerMechanicalDesign.SelectionCriterion'] = ... + _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]) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... + @staticmethod + def values() -> typing.MutableSequence['HeatExchangerMechanicalDesign.SelectionCriterion']: ... + +class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, heatExchangerMechanicalDesign: HeatExchangerMechanicalDesign): ... + def getAreaMargin(self) -> float: ... + def getBaffleCut(self) -> float: ... + def getBaffleSpacing(self) -> float: ... + def getBaffleThickness(self) -> float: ... + def getBaffleType(self) -> java.lang.String: ... + def getBundleWeight(self) -> float: ... + def getChannelWeight(self) -> float: ... + def getCleanOverallHeatTransferCoeff(self) -> float: ... + def getDesignShellFoulingResistance(self) -> float: ... + def getDesignTubeFoulingResistance(self) -> float: ... + def getFouledOverallHeatTransferCoeff(self) -> float: ... + def getHeatDuty(self) -> float: ... + def getHeatExchangerType(self) -> java.lang.String: ... + def getHeatTransferArea(self) -> float: ... + def getHydroTestPressureShell(self) -> float: ... + def getHydroTestPressureTube(self) -> float: ... + def getLmtd(self) -> float: ... + def getLmtdCorrectionFactor(self) -> float: ... + def getMawpShellSide(self) -> float: ... + def getMawpTubeSide(self) -> float: ... + def getMaxShellVelocity(self) -> float: ... + def getMaxTubeLength(self) -> float: ... + def getMaxTubeVelocity(self) -> float: ... + def getMinApproachTemperature(self) -> float: ... + def getNumberOfBaffles(self) -> int: ... + def getNumberOfShellPasses(self) -> int: ... + def getNumberOfShells(self) -> int: ... + def getNumberOfTubePasses(self) -> int: ... + def getNumberOfTubes(self) -> int: ... + def getOverallHeatTransferCoeff(self) -> float: ... + def getRequiredArea(self) -> float: ... + def getShellDesignPressure(self) -> float: ... + def getShellDesignTemperature(self) -> float: ... + def getShellFoulingResistance(self) -> float: ... + def getShellInnerDiameter(self) -> float: ... + def getShellMaterial(self) -> java.lang.String: ... + def getShellMaterialGrade(self) -> java.lang.String: ... + def getShellPressureDrop(self) -> float: ... + def getShellWallThickness(self) -> float: ... + def getTemaClass(self) -> java.lang.String: ... + def getTemaType(self) -> java.lang.String: ... + def getTubeDesignPressure(self) -> float: ... + def getTubeDesignTemperature(self) -> float: ... + def getTubeFoulingResistance(self) -> float: ... + def getTubeLayoutAngle(self) -> int: ... + def getTubeLength(self) -> float: ... + def getTubeMaterial(self) -> java.lang.String: ... + def getTubeMaterialGrade(self) -> java.lang.String: ... + def getTubeOuterDiameter(self) -> float: ... + def getTubePitch(self) -> float: ... + def getTubePressureDrop(self) -> float: ... + def getTubeWallThickness(self) -> float: ... + def isShellNACECompliant(self) -> bool: ... + def isSourServiceRequired(self) -> bool: ... + def isTubeNACECompliant(self) -> bool: ... + def isVibrationAnalysisRequired(self) -> bool: ... + def populateFromHeatExchangerDesign(self, heatExchangerMechanicalDesign: HeatExchangerMechanicalDesign) -> None: ... + def setAreaMargin(self, double: float) -> None: ... + def setBaffleCut(self, double: float) -> None: ... + def setBaffleSpacing(self, double: float) -> None: ... + def setBaffleThickness(self, double: float) -> None: ... + def setBaffleType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBundleWeight(self, double: float) -> None: ... + def setChannelWeight(self, double: float) -> None: ... + def setCleanOverallHeatTransferCoeff(self, double: float) -> None: ... + def setDesignShellFoulingResistance(self, double: float) -> None: ... + def setDesignTubeFoulingResistance(self, double: float) -> None: ... + def setFouledOverallHeatTransferCoeff(self, double: float) -> None: ... + def setHeatDuty(self, double: float) -> None: ... + def setHeatExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatTransferArea(self, double: float) -> None: ... + def setHydroTestPressureShell(self, double: float) -> None: ... + def setHydroTestPressureTube(self, double: float) -> None: ... + def setLmtd(self, double: float) -> None: ... + def setLmtdCorrectionFactor(self, double: float) -> None: ... + def setMawpShellSide(self, double: float) -> None: ... + def setMawpTubeSide(self, double: float) -> None: ... + def setMaxShellVelocity(self, double: float) -> None: ... + def setMaxTubeLength(self, double: float) -> None: ... + def setMaxTubeVelocity(self, double: float) -> None: ... + def setMinApproachTemperature(self, double: float) -> None: ... + def setNumberOfBaffles(self, int: int) -> None: ... + def setNumberOfShellPasses(self, int: int) -> None: ... + def setNumberOfShells(self, int: int) -> None: ... + def setNumberOfTubePasses(self, int: int) -> None: ... + def setNumberOfTubes(self, int: int) -> None: ... + def setOverallHeatTransferCoeff(self, double: float) -> None: ... + def setRequiredArea(self, double: float) -> None: ... + def setShellDesignPressure(self, double: float) -> None: ... + def setShellDesignTemperature(self, double: float) -> None: ... + def setShellFoulingResistance(self, double: float) -> None: ... + def setShellInnerDiameter(self, double: float) -> None: ... + def setShellMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellNACECompliant(self, boolean: bool) -> None: ... + def setShellPressureDrop(self, double: float) -> None: ... + def setShellWallThickness(self, double: float) -> None: ... + def setSourServiceRequired(self, boolean: bool) -> None: ... + def setTemaClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeDesignPressure(self, double: float) -> None: ... + def setTubeDesignTemperature(self, double: float) -> None: ... + def setTubeFoulingResistance(self, double: float) -> None: ... + def setTubeLayoutAngle(self, int: int) -> None: ... + def setTubeLength(self, double: float) -> None: ... + def setTubeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeNACECompliant(self, boolean: bool) -> None: ... + def setTubeOuterDiameter(self, double: float) -> None: ... + def setTubePitch(self, double: float) -> None: ... + def setTubePressureDrop(self, double: float) -> None: ... + def setTubeWallThickness(self, double: float) -> None: ... + def setVibrationAnalysisRequired(self, boolean: bool) -> None: ... + +class HeatExchangerSizingResult: + @staticmethod + def builder() -> 'HeatExchangerSizingResult.Builder': ... + def getApproachTemperature(self) -> float: ... + def getEstimatedLength(self) -> float: ... + def getEstimatedPressureDrop(self) -> float: ... + def getEstimatedWeight(self) -> float: ... + def getFinSurfaceArea(self) -> float: ... + def getInnerDiameter(self) -> float: ... + def getMetric(self, selectionCriterion: HeatExchangerMechanicalDesign.SelectionCriterion) -> float: ... + def getModuleHeight(self) -> float: ... + def getModuleLength(self) -> float: ... + def getModuleWidth(self) -> float: ... + def getOuterDiameter(self) -> float: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getRequiredArea(self) -> float: ... + def getRequiredUA(self) -> float: ... + def getTubeCount(self) -> int: ... + def getTubePasses(self) -> int: ... + def getType(self) -> 'HeatExchangerType': ... + def getWallThickness(self) -> float: ... + def toString(self) -> java.lang.String: ... + class Builder: + def approachTemperature(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def build(self) -> 'HeatExchangerSizingResult': ... + def estimatedLength(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def estimatedPressureDrop(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def estimatedWeight(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def finSurfaceArea(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def innerDiameter(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def moduleHeight(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def moduleLength(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def moduleWidth(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def outerDiameter(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def overallHeatTransferCoefficient(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def requiredArea(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def requiredUA(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def tubeCount(self, int: int) -> 'HeatExchangerSizingResult.Builder': ... + def tubePasses(self, int: int) -> 'HeatExchangerSizingResult.Builder': ... + def type(self, heatExchangerType: 'HeatExchangerType') -> 'HeatExchangerSizingResult.Builder': ... + def wallThickness(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + +class HeatExchangerType(java.lang.Enum['HeatExchangerType']): + SHELL_AND_TUBE: typing.ClassVar['HeatExchangerType'] = ... + PLATE_AND_FRAME: typing.ClassVar['HeatExchangerType'] = ... + AIR_COOLER: typing.ClassVar['HeatExchangerType'] = ... + DOUBLE_PIPE: typing.ClassVar['HeatExchangerType'] = ... + PLATE_FIN: typing.ClassVar['HeatExchangerType'] = ... + def createSizingResult(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger, double: float, double2: float, double3: float) -> HeatExchangerSizingResult: ... + def getAllowableApproachTemperature(self) -> float: ... + def getDisplayName(self) -> java.lang.String: ... + def getTypicalOverallHeatTransferCoefficient(self) -> float: ... + _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]) -> 'HeatExchangerType': ... + @staticmethod + def values() -> typing.MutableSequence['HeatExchangerType']: ... + +class IncrementalZoneAnalysis(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + def addZone(self, incrementalZone: 'IncrementalZoneAnalysis.IncrementalZone') -> None: ... + def calculate(self) -> None: ... + def clearZones(self) -> None: ... + def getMinimumApproachTemperature(self) -> float: ... + def getTargetZoneCount(self) -> int: ... + def getTotalDuty(self) -> float: ... + def getTotalRequiredArea(self) -> float: ... + def getTotalShellSidePressureDrop(self) -> float: ... + def getTotalTubeSidePressureDrop(self) -> float: ... + def getWeightedAverageU(self) -> float: ... + def getZoneResults(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getZones(self) -> java.util.List['IncrementalZoneAnalysis.IncrementalZone']: ... + def setFouling(self, double: float, double2: float) -> None: ... + def setGeometry(self, double: float, double2: float, double3: float, int: int, int2: int) -> None: ... + def setShellGeometry(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def setTubeWallConductivity(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class IncrementalZone(java.io.Serializable): + zoneName: java.lang.String = ... + duty: float = ... + hotInletTemp: float = ... + hotOutletTemp: float = ... + coldInletTemp: float = ... + coldOutletTemp: float = ... + tubePhaseRegime: 'IncrementalZoneAnalysis.PhaseRegime' = ... + tubeDensity: float = ... + tubeViscosity: float = ... + tubeCp: float = ... + tubeConductivity: float = ... + tubeMassFlowRate: float = ... + tubeLiquidDensity: float = ... + tubeVaporDensity: float = ... + tubeLiquidViscosity: float = ... + tubeVaporViscosity: float = ... + tubeLiquidCp: float = ... + tubeLiquidConductivity: float = ... + tubeQualityIn: float = ... + tubeQualityOut: float = ... + tubeReducedPressure: float = ... + tubeSurfaceTension: float = ... + tubeHeatOfVaporization: float = ... + shellPhaseRegime: 'IncrementalZoneAnalysis.PhaseRegime' = ... + shellDensity: float = ... + shellViscosity: float = ... + shellCp: float = ... + shellConductivity: float = ... + shellMassFlowRate: float = ... + tubeSideHTC: float = ... + shellSideHTC: float = ... + overallU: float = ... + lmtd: float = ... + requiredArea: float = ... + tubeSidePressureDrop: float = ... + shellSidePressureDrop: float = ... + def __init__(self): ... + def setShellSideProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, phaseRegime: 'IncrementalZoneAnalysis.PhaseRegime') -> None: ... + def setTemperatures(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setTubeSideProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, phaseRegime: 'IncrementalZoneAnalysis.PhaseRegime') -> None: ... + class PhaseRegime(java.lang.Enum['IncrementalZoneAnalysis.PhaseRegime']): + VAPOR: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... + LIQUID: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... + CONDENSING: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... + EVAPORATING: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... + TWO_PHASE: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... + _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]) -> 'IncrementalZoneAnalysis.PhaseRegime': ... + @staticmethod + def values() -> typing.MutableSequence['IncrementalZoneAnalysis.PhaseRegime']: ... + +class LMTDcorrectionFactor: + MIN_ACCEPTABLE_FT: typing.ClassVar[float] = ... + @staticmethod + def calcFt(double: float, double2: float, double3: float, double4: float, int: int) -> float: ... + @staticmethod + def calcFt1ShellPass(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcFt2ShellPass(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcFtFromRP(double: float, double2: float, int: int) -> float: ... + @staticmethod + def calcP(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcR(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def requiredShellPasses(double: float, double2: float, double3: float, double4: float) -> int: ... + +class ShahCondensation: + @staticmethod + def calcAverageHTC(double: float, double2: float, double3: float, double4: float, int: int) -> float: ... + @staticmethod + def calcLiquidOnlyHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def calcLocalHTC(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calcVerticalTubeHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def isInValidRange(double: float, double2: float, double3: float) -> bool: ... + +class ShellAndTubeDesignCalculator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calculate(self) -> None: ... + def getActualArea(self) -> float: ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def getBaffleCount(self) -> int: ... + def getBaffleSpacing(self) -> float: ... + def getH2sPartialPressure(self) -> float: ... + def getHydroTestPressureShell(self) -> float: ... + def getHydroTestPressureTube(self) -> float: ... + def getMawpShellSide(self) -> float: ... + def getMawpTubeSide(self) -> float: ... + def getNaceIssues(self) -> java.util.List[java.lang.String]: ... + def getNozzleReinforcementArea(self) -> float: ... + def getOperatingWeight(self) -> float: ... + def getRequiredArea(self) -> float: ... + def getShellInsideDiameter(self) -> float: ... + def getShellJointEfficiency(self) -> float: ... + def getShellMaterialGrade(self) -> java.lang.String: ... + def getShellOutsideDiameter(self) -> float: ... + def getShellWallThickness(self) -> float: ... + def getTemaClass(self) -> 'TEMAStandard.TEMAClass': ... + def getTemaDesignation(self) -> java.lang.String: ... + def getThermalCalculator(self) -> 'ThermalDesignCalculator': ... + def getTotalCost(self) -> float: ... + def getTotalDryWeight(self) -> float: ... + def getTubeCount(self) -> int: ... + def getTubeMaterialGrade(self) -> java.lang.String: ... + def getTubeThermalConductivity(self) -> float: ... + def getTubesheetThicknessUHX(self) -> float: ... + def getVibrationResult(self) -> 'VibrationAnalysis.VibrationResult': ... + def hasThermalData(self) -> bool: ... + def isNozzleReinforcementAdequate(self) -> bool: ... + def isShellNACECompliant(self) -> bool: ... + def isSourServiceAssessment(self) -> bool: ... + def isSourServiceRequired(self) -> bool: ... + def isTubeNACECompliant(self) -> bool: ... + def setDesignTemperature(self, double: float) -> None: ... + def setFoulingShell(self, double: float) -> None: ... + def setFoulingTube(self, double: float) -> None: ... + def setH2sPartialPressure(self, double: float) -> None: ... + def setNozzleDiameter(self, double: float) -> None: ... + def setNozzleWallThickness(self, double: float) -> None: ... + def setRequiredArea(self, double: float) -> None: ... + def setShellJointEfficiency(self, double: float) -> None: ... + def setShellMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellSideFluidProperties(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setShellSideMethod(self, shellSideMethod: 'ThermalDesignCalculator.ShellSideMethod') -> None: ... + def setShellSidePressure(self, double: float) -> None: ... + def setSourServiceAssessment(self, boolean: bool) -> None: ... + def setTemaClass(self, tEMAClass: 'TEMAStandard.TEMAClass') -> None: ... + def setTemaDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeLength(self, double: float) -> None: ... + def setTubeMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubePasses(self, int: int) -> None: ... + def setTubeSideFluidProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... + def setTubeSidePressure(self, double: float) -> None: ... + def setTubeSize(self, standardTubeSize: 'TEMAStandard.StandardTubeSize') -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class TEMAStandard: + @staticmethod + def calculateMinTubePitch(double: float, tubePitchPattern: 'TEMAStandard.TubePitchPattern') -> float: ... + @staticmethod + def createConfiguration(char: str, char2: str, char3: str) -> 'TEMAStandard.TEMAConfiguration': ... + @staticmethod + def estimateTubeCount(double: float, double2: float, double3: float, tubePitchPattern: 'TEMAStandard.TubePitchPattern', int: int) -> int: ... + @staticmethod + def getCommonConfigurations() -> java.util.Map[java.lang.String, 'TEMAStandard.TEMAConfiguration']: ... + @staticmethod + def getConfiguration(string: typing.Union[java.lang.String, str]) -> 'TEMAStandard.TEMAConfiguration': ... + @staticmethod + def getMaxBaffleSpacing(double: float) -> float: ... + @staticmethod + def getMaxUnsupportedSpan(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getMinBaffleSpacing(double: float, tEMAClass: 'TEMAStandard.TEMAClass') -> float: ... + @staticmethod + def recommendConfiguration(boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool) -> java.lang.String: ... + class BaffleType(java.lang.Enum['TEMAStandard.BaffleType']): + SINGLE_SEGMENTAL: typing.ClassVar['TEMAStandard.BaffleType'] = ... + DOUBLE_SEGMENTAL: typing.ClassVar['TEMAStandard.BaffleType'] = ... + TRIPLE_SEGMENTAL: typing.ClassVar['TEMAStandard.BaffleType'] = ... + NO_TUBES_IN_WINDOW: typing.ClassVar['TEMAStandard.BaffleType'] = ... + DISC_AND_DOUGHNUT: typing.ClassVar['TEMAStandard.BaffleType'] = ... + ROD_BAFFLES: typing.ClassVar['TEMAStandard.BaffleType'] = ... + def getDescription(self) -> java.lang.String: ... + def getHeatTransferFactor(self) -> float: ... + def getPressureDropFactor(self) -> float: ... + _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]) -> 'TEMAStandard.BaffleType': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.BaffleType']: ... + class FrontHeadType(java.lang.Enum['TEMAStandard.FrontHeadType']): + A: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... + B: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... + C: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... + N: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... + D: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... + def getDescription(self) -> java.lang.String: ... + def getNotes(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]) -> 'TEMAStandard.FrontHeadType': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.FrontHeadType']: ... + class RearHeadType(java.lang.Enum['TEMAStandard.RearHeadType']): + L: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + M: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + N: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + P: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + S: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + T: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + U: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + W: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + def getDescription(self) -> java.lang.String: ... + def getNotes(self) -> java.lang.String: ... + def isFloating(self) -> bool: ... + _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]) -> 'TEMAStandard.RearHeadType': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.RearHeadType']: ... + class ShellType(java.lang.Enum['TEMAStandard.ShellType']): + E: typing.ClassVar['TEMAStandard.ShellType'] = ... + F: typing.ClassVar['TEMAStandard.ShellType'] = ... + G: typing.ClassVar['TEMAStandard.ShellType'] = ... + H: typing.ClassVar['TEMAStandard.ShellType'] = ... + J: typing.ClassVar['TEMAStandard.ShellType'] = ... + K: typing.ClassVar['TEMAStandard.ShellType'] = ... + X: typing.ClassVar['TEMAStandard.ShellType'] = ... + def getDescription(self) -> java.lang.String: ... + def getNotes(self) -> java.lang.String: ... + def getPressureDropFactor(self) -> float: ... + _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]) -> 'TEMAStandard.ShellType': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.ShellType']: ... + class StandardTubeSize(java.lang.Enum['TEMAStandard.StandardTubeSize']): + TUBE_3_8_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... + TUBE_1_2_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... + TUBE_5_8_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... + TUBE_3_4_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... + TUBE_1_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... + def getAvailableWallThicknessesMm(self) -> typing.MutableSequence[float]: ... + def getOuterDiameterInch(self) -> float: ... + def getOuterDiameterMm(self) -> float: ... + _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]) -> 'TEMAStandard.StandardTubeSize': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.StandardTubeSize']: ... + class TEMAClass(java.lang.Enum['TEMAStandard.TEMAClass']): + R: typing.ClassVar['TEMAStandard.TEMAClass'] = ... + C: typing.ClassVar['TEMAStandard.TEMAClass'] = ... + B: typing.ClassVar['TEMAStandard.TEMAClass'] = ... + def getCostFactor(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getMinCorrosionAllowanceMm(self) -> float: ... + def getMinTubeWallMm(self) -> float: ... + def getNotes(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]) -> 'TEMAStandard.TEMAClass': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.TEMAClass']: ... + class TEMAConfiguration: + def __init__(self, frontHeadType: 'TEMAStandard.FrontHeadType', shellType: 'TEMAStandard.ShellType', rearHeadType: 'TEMAStandard.RearHeadType', string: typing.Union[java.lang.String, str], set: java.util.Set['TEMAStandard.TEMAClass']): ... + def getApplicableClasses(self) -> java.util.Set['TEMAStandard.TEMAClass']: ... + def getCostFactor(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getDesignation(self) -> java.lang.String: ... + def getFrontHead(self) -> 'TEMAStandard.FrontHeadType': ... + def getRearHead(self) -> 'TEMAStandard.RearHeadType': ... + def getShell(self) -> 'TEMAStandard.ShellType': ... + def hasGoodThermalExpansion(self) -> bool: ... + def isBundleRemovable(self) -> bool: ... + class TubePitchPattern(java.lang.Enum['TEMAStandard.TubePitchPattern']): + TRIANGULAR_30: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... + TRIANGULAR_60: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... + SQUARE_90: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... + SQUARE_45: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... + def getDescription(self) -> java.lang.String: ... + def getHeatTransferFactor(self) -> float: ... + def getLayoutAngle(self) -> int: ... + def getMinPitchRatio(self) -> float: ... + _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]) -> 'TEMAStandard.TubePitchPattern': ... + @staticmethod + def values() -> typing.MutableSequence['TEMAStandard.TubePitchPattern']: ... + +class ThermalDesignCalculator: + def __init__(self): ... + def calculate(self) -> None: ... + def calculateZones(self, zoneDefinitionArray: typing.Union[typing.List['ThermalDesignCalculator.ZoneDefinition'], jpype.JArray]) -> typing.MutableSequence['ThermalDesignCalculator.ZoneResult']: ... + def getOverallU(self) -> float: ... + def getShellSideHTC(self) -> float: ... + def getShellSideMethod(self) -> 'ThermalDesignCalculator.ShellSideMethod': ... + def getShellSidePressureDrop(self) -> float: ... + def getShellSidePressureDropBar(self) -> float: ... + def getShellSideRe(self) -> float: ... + def getShellSideVelocity(self) -> float: ... + def getTubeSideHTC(self) -> float: ... + def getTubeSidePressureDrop(self) -> float: ... + def getTubeSidePressureDropBar(self) -> float: ... + def getTubeSideRe(self) -> float: ... + def getTubeSideVelocity(self) -> float: ... + def setBaffleCount(self, int: int) -> None: ... + def setBaffleCut(self, double: float) -> None: ... + def setBaffleSpacingm(self, double: float) -> None: ... + def setBypassArea(self, double: float) -> None: ... + def setFoulingShell(self, double: float) -> None: ... + def setFoulingTube(self, double: float) -> None: ... + def setHasSealing(self, boolean: bool) -> None: ... + def setSealingPairs(self, int: int) -> None: ... + def setShellIDm(self, double: float) -> None: ... + def setShellSideFluid(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setShellSideMethod(self, shellSideMethod: 'ThermalDesignCalculator.ShellSideMethod') -> None: ... + def setShellToBaffleClearance(self, double: float) -> None: ... + def setShellViscosityWall(self, double: float) -> None: ... + def setTriangularPitch(self, boolean: bool) -> None: ... + def setTubeCount(self, int: int) -> None: ... + def setTubeIDm(self, double: float) -> None: ... + def setTubeLengthm(self, double: float) -> None: ... + def setTubeODm(self, double: float) -> None: ... + def setTubePasses(self, int: int) -> None: ... + def setTubePitchm(self, double: float) -> None: ... + def setTubeSideFluid(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... + def setTubeToBaffleClearance(self, double: float) -> None: ... + def setTubeWallConductivity(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ShellSideMethod(java.lang.Enum['ThermalDesignCalculator.ShellSideMethod']): + KERN: typing.ClassVar['ThermalDesignCalculator.ShellSideMethod'] = ... + BELL_DELAWARE: typing.ClassVar['ThermalDesignCalculator.ShellSideMethod'] = ... + _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]) -> 'ThermalDesignCalculator.ShellSideMethod': ... + @staticmethod + def values() -> typing.MutableSequence['ThermalDesignCalculator.ShellSideMethod']: ... + class ZoneDefinition: + zoneName: java.lang.String = ... + dutyFraction: float = ... + totalDuty: float = ... + lmtd: float = ... + tubeDensity: float = ... + tubeViscosity: float = ... + tubeCp: float = ... + tubeConductivity: float = ... + shellDensity: float = ... + shellViscosity: float = ... + shellCp: float = ... + shellConductivity: float = ... + def __init__(self): ... + class ZoneResult: + zoneName: java.lang.String = ... + dutyFraction: float = ... + tubeSideHTC: float = ... + shellSideHTC: float = ... + overallU: float = ... + lmtd: float = ... + requiredArea: float = ... + def __init__(self): ... + +class TubeInsertModel(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, insertType: 'TubeInsertModel.InsertType'): ... + def applyEnhancement(self, double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + @staticmethod + def createCoiledWire(double: float, double2: float) -> 'TubeInsertModel': ... + @staticmethod + def createTwistedTape(double: float) -> 'TubeInsertModel': ... + @staticmethod + def createWireMatrix(double: float) -> 'TubeInsertModel': ... + def getHeatTransferEnhancementRatio(self, double: float, double2: float) -> float: ... + def getInsertType(self) -> 'TubeInsertModel.InsertType': ... + def getMatrixDensity(self) -> float: ... + def getPerformanceEvaluationCriteria(self, double: float, double2: float) -> float: ... + def getPressureDropPenaltyRatio(self, double: float) -> float: ... + def getTwistRatio(self) -> float: ... + def setHelixAngle(self, double: float) -> None: ... + def setInsertType(self, insertType: 'TubeInsertModel.InsertType') -> None: ... + def setMatrixDensity(self, double: float) -> None: ... + def setRoughnessRatio(self, double: float) -> None: ... + def setTapeThickness(self, double: float) -> None: ... + def setTwistRatio(self, double: float) -> None: ... + def setWireDiameter(self, double: float) -> None: ... + def toJson(self, double: float, double2: float) -> java.lang.String: ... + def toMap(self, double: float, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + class InsertType(java.lang.Enum['TubeInsertModel.InsertType']): + NONE: typing.ClassVar['TubeInsertModel.InsertType'] = ... + TWISTED_TAPE: typing.ClassVar['TubeInsertModel.InsertType'] = ... + WIRE_MATRIX: typing.ClassVar['TubeInsertModel.InsertType'] = ... + COILED_WIRE: typing.ClassVar['TubeInsertModel.InsertType'] = ... + _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]) -> 'TubeInsertModel.InsertType': ... + @staticmethod + def values() -> typing.MutableSequence['TubeInsertModel.InsertType']: ... + +class TwoPhasePressureDrop: + @staticmethod + def calcAccelerationPressureDrop(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def calcFriedelAveragePressureDrop(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, int: int) -> float: ... + @staticmethod + def calcFriedelGradient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + @staticmethod + def calcFriedelPressureDrop(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + @staticmethod + def calcGravitationalGradient(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calcMullerSteinhagenHeckGradient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + +class VibrationAnalysis: + @staticmethod + def calcAcousticFrequency(double: float, double2: float, int: int) -> float: ... + @staticmethod + def calcCriticalVelocityConnors(double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> float: ... + @staticmethod + def calcEffectiveAcousticVelocity(double: float, double2: float) -> float: ... + @staticmethod + def calcNaturalFrequency(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def calcVortexSheddingFrequency(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def performScreening(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, boolean: bool) -> 'VibrationAnalysis.VibrationResult': ... + class VibrationResult: + naturalFrequencyHz: float = ... + vortexSheddingFrequencyHz: float = ... + vortexSheddingRatio: float = ... + vortexSheddingCritical: bool = ... + criticalVelocityMs: float = ... + velocityRatio: float = ... + fluidElasticCritical: bool = ... + acousticFrequencyHz: float = ... + acousticRatio: float = ... + acousticCritical: bool = ... + passed: bool = ... + def __init__(self): ... + def getSummary(self) -> java.lang.String: ... + +class BAHXMechanicalDesign(HeatExchangerMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCoreHeightM(self) -> float: ... + def getCoreLengthM(self) -> float: ... + def getCoreMaterialGrade(self) -> java.lang.String: ... + def getCoreWeightKg(self) -> float: ... + def getCoreWidthM(self) -> float: ... + def getDesignCycles(self) -> int: ... + def getDesignLifeYears(self) -> int: ... + def getFatigueUtilisation(self) -> float: ... + def getHeaderMaterialGrade(self) -> java.lang.String: ... + def getHeatTransferAreaM2(self) -> float: ... + def getMaxThermalGradient(self) -> float: ... + def getModuleHeight(self) -> float: ... + def getModuleLength(self) -> float: ... + def getModuleWidth(self) -> float: ... + def getNozzleODMm(self) -> float: ... + def getRequiredHeaderThicknessMm(self) -> float: ... + def getRequiredNozzleThicknessMm(self) -> float: ... + def getRequiredPartingSheetThicknessMm(self) -> float: ... + def isFatiguePassed(self) -> bool: ... + def setCoreMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignCycles(self, int: int) -> None: ... + def setDesignLifeYears(self, int: int) -> None: ... + def setHeaderMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNozzleODMm(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.heatexchanger")``. + + BAHXMechanicalDesign: typing.Type[BAHXMechanicalDesign] + BellDelawareMethod: typing.Type[BellDelawareMethod] + BoilingHeatTransfer: typing.Type[BoilingHeatTransfer] + FoulingModel: typing.Type[FoulingModel] + HeatExchangerDesignFeasibilityReport: typing.Type[HeatExchangerDesignFeasibilityReport] + HeatExchangerMechanicalDesign: typing.Type[HeatExchangerMechanicalDesign] + HeatExchangerMechanicalDesignResponse: typing.Type[HeatExchangerMechanicalDesignResponse] + HeatExchangerSizingResult: typing.Type[HeatExchangerSizingResult] + HeatExchangerType: typing.Type[HeatExchangerType] + IncrementalZoneAnalysis: typing.Type[IncrementalZoneAnalysis] + LMTDcorrectionFactor: typing.Type[LMTDcorrectionFactor] + ShahCondensation: typing.Type[ShahCondensation] + ShellAndTubeDesignCalculator: typing.Type[ShellAndTubeDesignCalculator] + TEMAStandard: typing.Type[TEMAStandard] + ThermalDesignCalculator: typing.Type[ThermalDesignCalculator] + TubeInsertModel: typing.Type[TubeInsertModel] + TwoPhasePressureDrop: typing.Type[TwoPhasePressureDrop] + VibrationAnalysis: typing.Type[VibrationAnalysis] diff --git a/src/jneqsim/process/mechanicaldesign/manifold/__init__.pyi b/src/jneqsim/process/mechanicaldesign/manifold/__init__.pyi new file mode 100644 index 00000000..50c66f8d --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/manifold/__init__.pyi @@ -0,0 +1,182 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class ManifoldMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getBranchDiameter(self) -> float: ... + def getCalculator(self) -> 'ManifoldMechanicalDesignCalculator': ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getHeaderDiameter(self) -> float: ... + def getLocation(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldLocation': ... + def getManifoldType(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldType': ... + def getMaterialGrade(self) -> java.lang.String: ... + def getNumberOfInlets(self) -> int: ... + def getNumberOfOutlets(self) -> int: ... + def getWaterDepth(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setBranchDiameter(self, double: float) -> None: ... + def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeaderDiameter(self, double: float) -> None: ... + def setLocation(self, manifoldLocation: 'ManifoldMechanicalDesignCalculator.ManifoldLocation') -> None: ... + def setManifoldType(self, manifoldType: 'ManifoldMechanicalDesignCalculator.ManifoldType') -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfInlets(self, int: int) -> None: ... + def setNumberOfOutlets(self, int: int) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class ManifoldMechanicalDesignCalculator(java.io.Serializable): + ASME_B31_3: typing.ClassVar[java.lang.String] = ... + DNV_ST_F101: typing.ClassVar[java.lang.String] = ... + NORSOK_L002: typing.ClassVar[java.lang.String] = ... + API_RP_17A: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def calculateAcousticPowerLevel(self, double: float, double2: float) -> float: ... + def calculateAllowableStress(self) -> float: ... + def calculateBranchReinforcement(self) -> float: ... + def calculateBranchVelocity(self) -> float: ... + def calculateBranchWallThickness(self) -> float: ... + def calculateDryWeight(self) -> float: ... + def calculateErosionalVelocity(self) -> float: ... + def calculateHeaderVelocity(self) -> float: ... + def calculateHoopStress(self) -> float: ... + def calculateMinimumWallThickness(self) -> float: ... + def calculateNaturalFrequency(self) -> float: ... + def calculateSubmergedWeight(self) -> float: ... + def calculateSupportSpacing(self) -> float: ... + def calculateWallThicknessASME(self) -> float: ... + def calculateWallThicknessDNV(self) -> float: ... + def checkVelocityLimits(self) -> bool: ... + def getAllowableStress(self) -> float: ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def getBranchOuterDiameter(self) -> float: ... + def getBranchVelocity(self) -> float: ... + def getBranchWallThickness(self) -> float: ... + def getCorrosionAllowance(self) -> float: ... + def getDesignFactor(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getErosionalCFactor(self) -> float: ... + def getErosionalVelocity(self) -> float: ... + def getHeaderLength(self) -> float: ... + def getHeaderOuterDiameter(self) -> float: ... + def getHeaderVelocity(self) -> float: ... + def getHeaderWallThickness(self) -> float: ... + def getJointEfficiency(self) -> float: ... + def getLiquidFraction(self) -> float: ... + def getLocation(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldLocation': ... + def getManifoldType(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldType': ... + def getMassFlowRate(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMinBranchWallThickness(self) -> float: ... + def getMinHeaderWallThickness(self) -> float: ... + def getMixtureDensity(self) -> float: ... + def getNumberOfInlets(self) -> int: ... + def getNumberOfOutlets(self) -> int: ... + def getNumberOfSupports(self) -> int: ... + def getNumberOfValves(self) -> int: ... + def getOverallHeight(self) -> float: ... + def getOverallLength(self) -> float: ... + def getOverallWidth(self) -> float: ... + def getReinforcementPadThickness(self) -> float: ... + def getSafetyClassFactor(self) -> float: ... + def getSmts(self) -> float: ... + def getSmys(self) -> float: ... + def getSubmergedWeight(self) -> float: ... + def getSupportSpacing(self) -> float: ... + def getTotalDryWeight(self) -> float: ... + def getWaterDepth(self) -> float: ... + def isHasPigging(self) -> bool: ... + def isReinforcementCheckPassed(self) -> bool: ... + def isReinforcementRequired(self) -> bool: ... + def isVelocityCheckPassed(self) -> bool: ... + def isWallThicknessCheckPassed(self) -> bool: ... + def performDesignVerification(self) -> bool: ... + def setBranchOuterDiameter(self, double: float) -> None: ... + def setBranchWallThickness(self, double: float) -> None: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setDesignFactor(self, double: float) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setErosionalCFactor(self, double: float) -> None: ... + def setHasPigging(self, boolean: bool) -> None: ... + def setHeaderLength(self, double: float) -> None: ... + def setHeaderOuterDiameter(self, double: float) -> None: ... + def setHeaderWallThickness(self, double: float) -> None: ... + def setJointEfficiency(self, double: float) -> None: ... + def setLiquidFraction(self, double: float) -> None: ... + def setLocation(self, manifoldLocation: 'ManifoldMechanicalDesignCalculator.ManifoldLocation') -> None: ... + def setManifoldType(self, manifoldType: 'ManifoldMechanicalDesignCalculator.ManifoldType') -> None: ... + def setMassFlowRate(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixtureDensity(self, double: float) -> None: ... + def setNumberOfInlets(self, int: int) -> None: ... + def setNumberOfOutlets(self, int: int) -> None: ... + def setNumberOfValves(self, int: int) -> None: ... + def setOverallHeight(self, double: float) -> None: ... + def setOverallLength(self, double: float) -> None: ... + def setOverallWidth(self, double: float) -> None: ... + def setSafetyClassFactor(self, double: float) -> None: ... + def setSmts(self, double: float) -> None: ... + def setSmys(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ManifoldLocation(java.lang.Enum['ManifoldMechanicalDesignCalculator.ManifoldLocation']): + TOPSIDE: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldLocation'] = ... + ONSHORE: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldLocation'] = ... + SUBSEA: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldLocation'] = ... + _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]) -> 'ManifoldMechanicalDesignCalculator.ManifoldLocation': ... + @staticmethod + def values() -> typing.MutableSequence['ManifoldMechanicalDesignCalculator.ManifoldLocation']: ... + class ManifoldType(java.lang.Enum['ManifoldMechanicalDesignCalculator.ManifoldType']): + PRODUCTION: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... + INJECTION: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... + TEST: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... + PIGGING: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... + DISTRIBUTION: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... + _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]) -> 'ManifoldMechanicalDesignCalculator.ManifoldType': ... + @staticmethod + def values() -> typing.MutableSequence['ManifoldMechanicalDesignCalculator.ManifoldType']: ... + +class ManifoldMechanicalDesignDataSource(java.io.Serializable): + def __init__(self): ... + def loadASMEParameters(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str]) -> None: ... + def loadCompanyRequirements(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadDNVParameters(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str]) -> None: ... + def loadIntoCalculator(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def loadStandardsParameters(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.manifold")``. + + ManifoldMechanicalDesign: typing.Type[ManifoldMechanicalDesign] + ManifoldMechanicalDesignCalculator: typing.Type[ManifoldMechanicalDesignCalculator] + ManifoldMechanicalDesignDataSource: typing.Type[ManifoldMechanicalDesignDataSource] diff --git a/src/jneqsim/process/mechanicaldesign/membrane/__init__.pyi b/src/jneqsim/process/mechanicaldesign/membrane/__init__.pyi new file mode 100644 index 00000000..a321769c --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/membrane/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class MembraneMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getHousingWallThickness(self) -> float: ... + def getMembraneLifeMonths(self) -> int: ... + def getModuleType(self) -> java.lang.String: ... + def getNumberOfModules(self) -> int: ... + def getSkidFootprint(self) -> float: ... + def getStageCut(self) -> float: ... + def getTotalMembraneArea(self) -> float: ... + def getTotalModuleWeight(self) -> float: ... + def getTotalSkidWeight(self) -> float: ... + def setAreaPerModule(self, double: float) -> None: ... + def setMembraneLifeMonths(self, int: int) -> None: ... + def setModuleType(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.membrane")``. + + MembraneMechanicalDesign: typing.Type[MembraneMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/mixer/__init__.pyi b/src/jneqsim/process/mechanicaldesign/mixer/__init__.pyi new file mode 100644 index 00000000..b60fdb6c --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/mixer/__init__.pyi @@ -0,0 +1,47 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class MixerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateMixerCost(self) -> float: ... + def calculateWeights(self) -> None: ... + def getBranchDiameter(self) -> float: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getDesignVelocity(self) -> float: ... + def getHeaderDiameter(self) -> float: ... + def getHeaderLength(self) -> float: ... + def getHeaderWallThickness(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMaxAllowableVelocity(self) -> float: ... + def getMixerType(self) -> java.lang.String: ... + def getMixingChamberVolume(self) -> float: ... + def getNumberOfBranches(self) -> int: ... + def getTotalPressureDrop(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setBranchDiameter(self, double: float) -> None: ... + def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignVelocity(self, double: float) -> None: ... + def setHeaderDiameter(self, double: float) -> None: ... + def setHeaderLength(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxAllowableVelocity(self, double: float) -> None: ... + def setMixerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.mixer")``. + + MixerMechanicalDesign: typing.Type[MixerMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/motor/__init__.pyi b/src/jneqsim/process/mechanicaldesign/motor/__init__.pyi new file mode 100644 index 00000000..4c00e10f --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/motor/__init__.pyi @@ -0,0 +1,70 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.electricaldesign +import typing + + + +class MotorMechanicalDesign(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + @typing.overload + def __init__(self, electricalDesign: jneqsim.process.electricaldesign.ElectricalDesign): ... + def calcDesign(self) -> None: ... + def getAltitudeM(self) -> float: ... + def getAmbientTemperatureC(self) -> float: ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def getBearingL10LifeHours(self) -> float: ... + def getBearingType(self) -> java.lang.String: ... + def getCombinedDeratingFactor(self) -> float: ... + def getCoolingCode(self) -> java.lang.String: ... + def getCoolingDescription(self) -> java.lang.String: ... + def getDeratedPowerKW(self) -> float: ... + def getDesignNotes(self) -> java.util.List[java.lang.String]: ... + def getEnclosureType(self) -> java.lang.String: ... + def getExMarking(self) -> java.lang.String: ... + def getFoundationType(self) -> java.lang.String: ... + def getHeatDissipationKW(self) -> float: ... + def getIpRating(self) -> java.lang.String: ... + def getMaxVibrationMmS(self) -> float: ... + def getMotorStandard(self) -> java.lang.String: ... + def getMotorWeightKg(self) -> float: ... + def getPoles(self) -> int: ... + def getRatedSpeedRPM(self) -> float: ... + def getRequiredFoundationMassKg(self) -> float: ... + def getShaftPowerKW(self) -> float: ... + def getSoundPowerLevelDbA(self) -> float: ... + def getSoundPressureLevelAt1mDbA(self) -> float: ... + def getTotalFoundationLoadKN(self) -> float: ... + def getVibrationZone(self) -> java.lang.String: ... + def isHasVFD(self) -> bool: ... + def isNoiseWithinNorsokLimit(self) -> bool: ... + def setAltitudeM(self, double: float) -> None: ... + def setAmbientTemperatureC(self, double: float) -> None: ... + def setFoundationWeightRatio(self, double: float) -> None: ... + def setFrequencyHz(self, double: float) -> None: ... + def setGasGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHasVFD(self, boolean: bool) -> None: ... + def setHazardousZone(self, int: int) -> None: ... + def setMotorStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPoles(self, int: int) -> None: ... + def setRatedSpeedRPM(self, double: float) -> None: ... + def setShaftPowerKW(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.motor")``. + + MotorMechanicalDesign: typing.Type[MotorMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim/process/mechanicaldesign/pipeline/__init__.pyi new file mode 100644 index 00000000..63725ec0 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/pipeline/__init__.pyi @@ -0,0 +1,633 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.corrosion +import jneqsim.process.equipment +import jneqsim.process.equipment.pipeline +import jneqsim.process.mechanicaldesign +import typing + + + +class HydrogenPipelineDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getDesignFactor(self) -> float: ... + def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getHydrogenDeratingFactor(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getOuterDiameter(self) -> float: ... + def getPermeationRate(self) -> float: ... + def getPipelineLength(self) -> float: ... + def getRequiredWallThickness(self) -> float: ... + def getSmys(self) -> float: ... + def isMaterialCompatible(self) -> bool: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setDesignFactor(self, double: float) -> None: ... + def setDesignPressure(self, double: float) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setHydrogenMoleFraction(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOuterDiameter(self, double: float) -> None: ... + def setPipelineLength(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + +class NorsokP002LineSizingValidator(java.io.Serializable): + def __init__(self): ... + def setErosionalVelocityConstant(self, double: float) -> 'NorsokP002LineSizingValidator': ... + def setMaximumErosionalVelocityFraction(self, double: float) -> 'NorsokP002LineSizingValidator': ... + def setMaximumGasVelocityMPerS(self, double: float) -> 'NorsokP002LineSizingValidator': ... + def setMaximumLiquidVelocityMPerS(self, double: float) -> 'NorsokP002LineSizingValidator': ... + def setMaximumPressureGradientPaPerM(self, double: float) -> 'NorsokP002LineSizingValidator': ... + def setMinimumLiquidVelocityMPerS(self, double: float) -> 'NorsokP002LineSizingValidator': ... + def validate(self, pipeLineInterface: jneqsim.process.equipment.pipeline.PipeLineInterface) -> 'NorsokP002LineSizingValidator.LineSizingResult': ... + class LineSizingResult(java.io.Serializable): + def __init__(self, serviceType: 'NorsokP002LineSizingValidator.ServiceType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool): ... + def getAllowedErosionalVelocityMPerS(self) -> float: ... + def getPressureGradientPaPerM(self) -> float: ... + def getServiceType(self) -> 'NorsokP002LineSizingValidator.ServiceType': ... + def getVelocityMPerS(self) -> float: ... + def isAcceptable(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ServiceType(java.lang.Enum['NorsokP002LineSizingValidator.ServiceType']): + GAS: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... + LIQUID: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... + TWO_PHASE: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... + UNKNOWN: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... + _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]) -> 'NorsokP002LineSizingValidator.ServiceType': ... + @staticmethod + def values() -> typing.MutableSequence['NorsokP002LineSizingValidator.ServiceType']: ... + +class PipeDesign: + NPS5: typing.ClassVar[typing.MutableSequence[float]] = ... + S5i: typing.ClassVar[typing.MutableSequence[float]] = ... + S5o: typing.ClassVar[typing.MutableSequence[float]] = ... + S5t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS10: typing.ClassVar[typing.MutableSequence[float]] = ... + S10i: typing.ClassVar[typing.MutableSequence[float]] = ... + S10o: typing.ClassVar[typing.MutableSequence[float]] = ... + S10t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS20: typing.ClassVar[typing.MutableSequence[float]] = ... + S20i: typing.ClassVar[typing.MutableSequence[float]] = ... + S20o: typing.ClassVar[typing.MutableSequence[float]] = ... + S20t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS30: typing.ClassVar[typing.MutableSequence[float]] = ... + S30i: typing.ClassVar[typing.MutableSequence[float]] = ... + S30o: typing.ClassVar[typing.MutableSequence[float]] = ... + S30t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS40: typing.ClassVar[typing.MutableSequence[float]] = ... + S40i: typing.ClassVar[typing.MutableSequence[float]] = ... + S40o: typing.ClassVar[typing.MutableSequence[float]] = ... + S40t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS60: typing.ClassVar[typing.MutableSequence[float]] = ... + S60i: typing.ClassVar[typing.MutableSequence[float]] = ... + S60o: typing.ClassVar[typing.MutableSequence[float]] = ... + S60t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS80: typing.ClassVar[typing.MutableSequence[float]] = ... + S80i: typing.ClassVar[typing.MutableSequence[float]] = ... + S80o: typing.ClassVar[typing.MutableSequence[float]] = ... + S80t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS100: typing.ClassVar[typing.MutableSequence[float]] = ... + S100i: typing.ClassVar[typing.MutableSequence[float]] = ... + S100o: typing.ClassVar[typing.MutableSequence[float]] = ... + S100t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS120: typing.ClassVar[typing.MutableSequence[float]] = ... + S120i: typing.ClassVar[typing.MutableSequence[float]] = ... + S120o: typing.ClassVar[typing.MutableSequence[float]] = ... + S120t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS140: typing.ClassVar[typing.MutableSequence[float]] = ... + S140i: typing.ClassVar[typing.MutableSequence[float]] = ... + S140o: typing.ClassVar[typing.MutableSequence[float]] = ... + S140t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPS160: typing.ClassVar[typing.MutableSequence[float]] = ... + S160i: typing.ClassVar[typing.MutableSequence[float]] = ... + S160o: typing.ClassVar[typing.MutableSequence[float]] = ... + S160t: typing.ClassVar[typing.MutableSequence[float]] = ... + NPSSTD: typing.ClassVar[typing.MutableSequence[float]] = ... + STDi: typing.ClassVar[typing.MutableSequence[float]] = ... + STDo: typing.ClassVar[typing.MutableSequence[float]] = ... + STDt: typing.ClassVar[typing.MutableSequence[float]] = ... + NPSXS: typing.ClassVar[typing.MutableSequence[float]] = ... + XSi: typing.ClassVar[typing.MutableSequence[float]] = ... + XSo: typing.ClassVar[typing.MutableSequence[float]] = ... + XSt: typing.ClassVar[typing.MutableSequence[float]] = ... + NPSXXS: typing.ClassVar[typing.MutableSequence[float]] = ... + XXSi: typing.ClassVar[typing.MutableSequence[float]] = ... + XXSo: typing.ClassVar[typing.MutableSequence[float]] = ... + XXSt: typing.ClassVar[typing.MutableSequence[float]] = ... + NPSS5: typing.ClassVar[typing.MutableSequence[float]] = ... + SS5DN: typing.ClassVar[typing.MutableSequence[float]] = ... + SS5i: typing.ClassVar[typing.MutableSequence[float]] = ... + SS5o: typing.ClassVar[typing.MutableSequence[float]] = ... + SS5t: typing.ClassVar[typing.MutableSequence[float]] = ... + scheduleLookup: typing.ClassVar[java.util.Map] = ... + SSWG_integers: typing.ClassVar[typing.MutableSequence[float]] = ... + SSWG_inch: typing.ClassVar[typing.MutableSequence[float]] = ... + SSWG_SI: typing.ClassVar[typing.MutableSequence[float]] = ... + BWG_integers: typing.ClassVar[typing.MutableSequence[float]] = ... + BWG_inch: typing.ClassVar[typing.MutableSequence[float]] = ... + BWG_SI: typing.ClassVar[typing.MutableSequence[float]] = ... + wireSchedules: typing.ClassVar[java.util.Map] = ... + def __init__(self): ... + @staticmethod + def erosionalVelocity(double: float, double2: float) -> float: ... + @staticmethod + def gaugeFromThickness(double: float, boolean: bool, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @staticmethod + def nearestPipe(double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @staticmethod + def thicknessFromGauge(double: float, boolean: bool, string: typing.Union[java.lang.String, str]) -> float: ... + class ScheduleData: + nps: typing.MutableSequence[float] = ... + dis: typing.MutableSequence[float] = ... + dos: typing.MutableSequence[float] = ... + ts: typing.MutableSequence[float] = ... + def __init__(self, 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]): ... + class WireScheduleData: + gaugeNumbers: typing.MutableSequence[float] = ... + thicknessInch: typing.MutableSequence[float] = ... + thicknessM: typing.MutableSequence[float] = ... + something: bool = ... + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool): ... + +class PipeMechanicalDesignCalculator(java.io.Serializable): + ASME_B31_3: typing.ClassVar[java.lang.String] = ... + ASME_B31_4: typing.ClassVar[java.lang.String] = ... + ASME_B31_8: typing.ClassVar[java.lang.String] = ... + DNV_OS_F101: typing.ClassVar[java.lang.String] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def calculateAllowableSpanLength(self, double: float) -> float: ... + def calculateCollapsePressure(self) -> float: ... + def calculateExpansionLoopLength(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateExternalPressure(self) -> float: ... + def calculateHoopStress(self, double: float) -> float: ... + def calculateInsulationThickness(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateJointsAndWelds(self) -> None: ... + def calculateLaborManhours(self) -> float: ... + def calculateLongitudinalStress(self, double: float, double2: float, boolean: bool) -> float: ... + def calculateMAOP(self) -> float: ... + def calculateMinimumBendRadius(self) -> float: ... + def calculateMinimumWallThickness(self) -> float: ... + def calculateProjectCost(self) -> float: ... + def calculatePropagationBucklingPressure(self) -> float: ... + def calculateRequiredConcreteThickness(self, double: float, double2: float) -> float: ... + def calculateSafetyMargin(self) -> float: ... + def calculateSubmergedWeight(self, double: float) -> float: ... + def calculateSupportSpacing(self, double: float) -> float: ... + def calculateTestPressure(self) -> float: ... + def calculateVonMisesStress(self, double: float, double2: float, boolean: bool) -> float: ... + def calculateWeightsAndAreas(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: ... + def getAmbientTemperature(self) -> float: ... + def getAnchorSpacing(self) -> float: ... + def getBurialDepth(self) -> float: ... + def getCoatingPricePerM2(self) -> float: ... + def getCoatingThickness(self) -> float: ... + def getCoatingType(self) -> java.lang.String: ... + def getCollapsePressure(self) -> float: ... + def getConcreteCoatingThickness(self) -> float: ... + def getContingencyPercentage(self) -> float: ... + def getCorrosionAllowance(self) -> float: ... + def getDesignCode(self) -> java.lang.String: ... + def getDesignFactor(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getFabricationTolerance(self) -> float: ... + def getFatigueLife(self) -> float: ... + def getFieldWeldCost(self) -> float: ... + def getFlangeClass(self) -> int: ... + def getHoopStress(self) -> float: ... + def getInnerDiameter(self) -> float: ... + def getInstallationMethod(self) -> java.lang.String: ... + def getInsulationThickness(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getJointFactor(self) -> float: ... + def getLocationClass(self) -> int: ... + @typing.overload + def getMaop(self) -> float: ... + @typing.overload + def getMaop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMinimumWallThickness(self) -> float: ... + def getNominalWallThickness(self) -> float: ... + def getNumberOfFieldWelds(self) -> int: ... + def getNumberOfFlangePairs(self) -> int: ... + def getNumberOfJoints(self) -> int: ... + def getNumberOfSupports(self) -> int: ... + def getNumberOfValves(self) -> int: ... + def getOuterDiameter(self) -> float: ... + def getPipelineLength(self) -> float: ... + def getPoissonsRatio(self) -> float: ... + def getSmts(self) -> float: ... + def getSmys(self) -> float: ... + def getSteelDensity(self) -> float: ... + def getSteelPricePerKg(self) -> float: ... + def getSteelWeightPerMeter(self) -> float: ... + def getSubmergedWeightPerMeter(self) -> float: ... + def getSupportSpacing(self) -> float: ... + def getThermalExpansion(self) -> float: ... + def getTotalDirectCost(self) -> float: ... + def getTotalDryWeightPerMeter(self) -> float: ... + def getTotalExternalSurfaceArea(self) -> float: ... + def getTotalLaborManhours(self) -> float: ... + def getTotalPipelineWeight(self) -> float: ... + def getTotalProjectCost(self) -> float: ... + def getValveType(self) -> java.lang.String: ... + def getVonMisesStress(self) -> float: ... + def getWaterDepth(self) -> float: ... + def getWeldJointEfficiency(self) -> float: ... + def getYoungsModulus(self) -> float: ... + def isDesignSafe(self) -> bool: ... + def loadDesignFactorsFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadFromDatabase(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadMaterialFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def selectFlangeClass(self) -> int: ... + def selectStandardPipeSize(self) -> java.lang.String: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setAnchorSpacing(self, double: float) -> None: ... + def setBurialDepth(self, double: float) -> None: ... + def setCoatingPricePerM2(self, double: float) -> None: ... + def setCoatingThickness(self, double: float) -> None: ... + def setCoatingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConcreteCoatingThickness(self, double: float) -> None: ... + def setContingencyPercentage(self, double: float) -> None: ... + @typing.overload + def setCorrosionAllowance(self, double: float) -> None: ... + @typing.overload + def setCorrosionAllowance(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignFactor(self, double: float) -> None: ... + @typing.overload + def setDesignPressure(self, double: float) -> None: ... + @typing.overload + def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignTemperature(self, double: float) -> None: ... + def setFabricationTolerance(self, double: float) -> None: ... + def setFieldWeldCost(self, double: float) -> None: ... + def setFlangeClass(self, int: int) -> None: ... + def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setJointFactor(self, double: float) -> None: ... + def setLocationClass(self, int: int) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setNominalWallThickness(self, double: float) -> None: ... + @typing.overload + def setNominalWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setNumberOfFlangePairs(self, int: int) -> None: ... + def setNumberOfValves(self, int: int) -> None: ... + @typing.overload + def setOuterDiameter(self, double: float) -> None: ... + @typing.overload + def setOuterDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipelineLength(self, double: float) -> None: ... + def setPoissonsRatio(self, double: float) -> None: ... + def setSmts(self, double: float) -> None: ... + def setSmys(self, double: float) -> None: ... + def setSteelDensity(self, double: float) -> None: ... + def setSteelPricePerKg(self, double: float) -> None: ... + def setThermalExpansion(self, double: float) -> None: ... + def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def setWeldJointEfficiency(self, double: float) -> None: ... + def setYoungsModulus(self, double: float) -> None: ... + def toCompactJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCalculator(self) -> PipeMechanicalDesignCalculator: ... + def getCorrosionModel(self) -> jneqsim.process.corrosion.NorsokM506CorrosionRate: ... + def getCorrosionRate(self) -> float: ... + def getDataSource(self) -> 'PipelineMechanicalDesignDataSource': ... + def getDesignLifeYears(self) -> float: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getLocationClass(self) -> int: ... + def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMaterialSelector(self) -> jneqsim.process.corrosion.NorsokM001MaterialSelection: ... + def getPipelineLength(self) -> float: ... + def getRecommendedCorrosionAllowanceMm(self) -> float: ... + def getRecommendedMaterial(self) -> java.lang.String: ... + def getTestPressure(self) -> float: ... + def isDesignSafe(self) -> bool: ... + def loadDesignFactorsFromDatabase(self) -> None: ... + def loadFromDatabase(self) -> None: ... + def loadMaterialFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def readDesignSpecifications(self) -> None: ... + def runCorrosionAnalysis(self) -> None: ... + def setDesignLifeYears(self, double: float) -> None: ... + def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGlycolWeightFraction(self, double: float) -> None: ... + def setInhibitorEfficiency(self, double: float) -> None: ... + def setLocationClass(self, int: int) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipelineLength(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class PipelineMechanicalDesignDataSource: + def __init__(self): ... + def loadDesignFactors(self, string: typing.Union[java.lang.String, str]) -> 'PipelineMechanicalDesignDataSource.PipeDesignFactors': ... + def loadFromStandardsTable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], pipeDesignFactors: 'PipelineMechanicalDesignDataSource.PipeDesignFactors') -> None: ... + @typing.overload + def loadIntoCalculator(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], pipeMechanicalDesignCalculator: PipeMechanicalDesignCalculator) -> None: ... + @typing.overload + def loadIntoCalculator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], pipeMechanicalDesignCalculator: PipeMechanicalDesignCalculator) -> None: ... + def loadMaterialProperties(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional['PipelineMechanicalDesignDataSource.PipeMaterialData']: ... + class PipeDesignFactors: + designFactor: float = ... + jointFactor: float = ... + corrosionAllowance: float = ... + locationClass: int = ... + safetyFactor: float = ... + designCode: java.lang.String = ... + fabricationTolerance: float = ... + def __init__(self): ... + class PipeMaterialData: + grade: java.lang.String = ... + specificationNumber: java.lang.String = ... + smys: float = ... + smts: float = ... + designFactor: float = ... + jointFactor: float = ... + temperatureDerating: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + +class RiserMechanicalDesignDataSource: + def __init__(self): ... + def getAvailableStandards(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def loadDesignParameters(self, string: typing.Union[java.lang.String, str]) -> 'RiserMechanicalDesignDataSource.RiserDesignParameters': ... + def loadFatigueParameters(self, riserMechanicalDesignCalculator: 'RiserMechanicalDesignCalculator') -> None: ... + def loadFromStandard(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def loadIntoCalculator(self, riserMechanicalDesignCalculator: 'RiserMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadVIVParameters(self, riserMechanicalDesignCalculator: 'RiserMechanicalDesignCalculator') -> None: ... + class RiserDesignParameters: + designFactor: float = ... + usageFactor: float = ... + corrosionAllowance: float = ... + minWallThickness: float = ... + fatigueDesignFactor: float = ... + dynamicAmplificationFactor: float = ... + strouhalNumber: float = ... + dragCoefficient: float = ... + addedMassCoefficient: float = ... + liftCoefficient: float = ... + snParameterSeawater: float = ... + snSlopeParameter: float = ... + topTensionSafetyFactor: float = ... + maxUtilization: float = ... + stressConcentrationFactor: float = ... + seabedFrictionCoefficient: float = ... + designCode: java.lang.String = ... + company: java.lang.String = ... + def __init__(self): ... + +class TopsidePipingMechanicalDesignDataSource: + def __init__(self): ... + def loadAllowableStress(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def loadDesignParameters(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadFlangeRating(self, int: int, double: float) -> float: ... + def loadFromStandard(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadIntoCalculator(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def loadPipeScheduleThickness(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def loadVelocityLimits(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadVibrationParameters(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str]) -> None: ... + +class RiserMechanicalDesign(PipelineMechanicalDesign): + def __init__(self, riser: jneqsim.process.equipment.pipeline.Riser): ... + def calcDesign(self) -> None: ... + def getDesignLifeYears(self) -> float: ... + def getRiserCalculator(self) -> 'RiserMechanicalDesignCalculator': ... + def isDesignAcceptable(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def toJson(self) -> java.lang.String: ... + +class RiserMechanicalDesignCalculator(PipeMechanicalDesignCalculator): + def __init__(self): ... + def calculateCatenaryTopTension(self) -> float: ... + def calculateCollapseUtilization(self) -> float: ... + @typing.overload + def calculateExternalPressure(self) -> float: ... + @typing.overload + def calculateExternalPressure(self, double: float) -> float: ... + def calculateHeaveInducedStress(self) -> float: ... + def calculateRiserFatigueLife(self) -> float: ... + def calculateStrokeRequirement(self) -> float: ... + def calculateTTRTension(self) -> float: ... + def calculateTouchdownPointStress(self) -> float: ... + def calculateTouchdownZoneLength(self) -> float: ... + def calculateVIVFatigueDamage(self) -> float: ... + def calculateVIVResponse(self) -> float: ... + def calculateWaveInducedStress(self) -> float: ... + def getAddedMassCoefficient(self) -> float: ... + def getAppliedTopTension(self) -> float: ... + def getBottomTension(self) -> float: ... + def getBuoyancyModuleDepth(self) -> float: ... + def getBuoyancyModuleLength(self) -> float: ... + def getBuoyancyPerMeter(self) -> float: ... + def getCatenaryParameter(self) -> float: ... + def getCollapseUtilization(self) -> float: ... + def getCombinedDynamicStress(self) -> float: ... + def getCurrentVelocity(self) -> float: ... + def getDepartureAngle(self) -> float: ... + def getDragCoefficient(self) -> float: ... + def getDynamicAmplificationFactor(self) -> float: ... + def getFatigueDesignFactor(self) -> float: ... + def getHeaveInducedStress(self) -> float: ... + def getLiftCoefficient(self) -> float: ... + def getMaxStressUtilization(self) -> float: ... + def getMaxTopTension(self) -> float: ... + def getMinTopTension(self) -> float: ... + def getNaturalFrequency(self) -> float: ... + def getPeakWavePeriod(self) -> float: ... + def getPlatformHeaveAmplitude(self) -> float: ... + def getPlatformHeavePeriod(self) -> float: ... + def getRiserFatigueLife(self) -> float: ... + def getRiserType(self) -> java.lang.String: ... + def getSeabedCurrentVelocity(self) -> float: ... + def getSeabedFriction(self) -> float: ... + def getSignificantWaveHeight(self) -> float: ... + def getSnParameter(self) -> float: ... + def getSnSlope(self) -> float: ... + def getStressConcentrationFactor(self) -> float: ... + def getStrokeRequirement(self) -> float: ... + def getStrouhalNumber(self) -> float: ... + def getTensionVariationFactor(self) -> float: ... + def getTopAngle(self) -> float: ... + def getTopTension(self) -> float: ... + def getTotalFatigueDamageRate(self) -> float: ... + def getTouchdownBendingMoment(self) -> float: ... + def getTouchdownCurvatureRadius(self) -> float: ... + def getTouchdownPointStress(self) -> float: ... + def getTouchdownZoneLength(self) -> float: ... + def getVIVAmplitude(self) -> float: ... + def getVIVFatigueDamage(self) -> float: ... + def getVIVStressRange(self) -> float: ... + def getVortexSheddingFrequency(self) -> float: ... + def getWaterDepth(self) -> float: ... + def getWaveFatigueDamage(self) -> float: ... + def getWaveInducedStress(self) -> float: ... + def isVIVLockIn(self) -> bool: ... + def setAddedMassCoefficient(self, double: float) -> None: ... + def setAppliedTopTension(self, double: float) -> None: ... + def setBuoyancyModuleDepth(self, double: float) -> None: ... + def setBuoyancyModuleLength(self, double: float) -> None: ... + def setBuoyancyPerMeter(self, double: float) -> None: ... + def setCurrentVelocity(self, double: float) -> None: ... + def setDepartureAngle(self, double: float) -> None: ... + def setDragCoefficient(self, double: float) -> None: ... + def setDynamicAmplificationFactor(self, double: float) -> None: ... + def setFatigueDesignFactor(self, double: float) -> None: ... + def setLiftCoefficient(self, double: float) -> None: ... + def setPeakWavePeriod(self, double: float) -> None: ... + def setPlatformHeaveAmplitude(self, double: float) -> None: ... + def setPlatformHeavePeriod(self, double: float) -> None: ... + def setRiserType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSeabedCurrentVelocity(self, double: float) -> None: ... + def setSeabedFriction(self, double: float) -> None: ... + def setSignificantWaveHeight(self, double: float) -> None: ... + def setSnParameter(self, double: float) -> None: ... + def setSnSlope(self, double: float) -> None: ... + def setStressConcentrationFactor(self, double: float) -> None: ... + def setStrouhalNumber(self, double: float) -> None: ... + def setTensionVariationFactor(self, double: float) -> None: ... + def setTopAngle(self, double: float) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toRiserJson(self) -> java.lang.String: ... + def toRiserMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class TopsidePipingMechanicalDesign(PipelineMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCalculatedSupportSpacing(self) -> float: ... + def getInstallationTemperature(self) -> float: ... + def getMinOperationTemperature(self) -> float: ... + def getNumberOfElbows90(self) -> int: ... + def getNumberOfSupports(self) -> int: ... + def getNumberOfTees(self) -> int: ... + def getNumberOfValves(self) -> int: ... + def getPipeSchedule(self) -> java.lang.String: ... + def getServiceType(self) -> java.lang.String: ... + def getTopsideCalculator(self) -> 'TopsidePipingMechanicalDesignCalculator': ... + def readDesignSpecifications(self) -> None: ... + def setInstallationTemperature(self, double: float) -> None: ... + def setMinOperationTemperature(self, double: float) -> None: ... + def setNumberOfElbows90(self, int: int) -> None: ... + def setNumberOfTees(self, int: int) -> None: ... + def setNumberOfValves(self, int: int) -> None: ... + def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setServiceType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + +class TopsidePipingMechanicalDesignCalculator(PipeMechanicalDesignCalculator): + def __init__(self): ... + def calculateAIVLikelihoodOfFailure(self, double: float, double2: float) -> float: ... + def calculateAcousticPowerLevel(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateActualVelocity(self) -> float: ... + def calculateAllowableStress(self) -> float: ... + def calculateCombinedStress(self) -> float: ... + def calculateErosionalVelocity(self) -> float: ... + def calculateErosionalVelocityWithSand(self, double: float) -> float: ... + def calculateFIVScreening(self, double: float) -> float: ... + def calculateMinimumDiameter(self) -> float: ... + def calculateMomentOfInertia(self) -> float: ... + def calculateNumberOfSupports(self, double: float) -> int: ... + def calculateOccasionalStress(self, double: float, double2: float) -> float: ... + @typing.overload + def calculateSupportSpacing(self, double: float) -> float: ... + @typing.overload + def calculateSupportSpacing(self) -> float: ... + def calculateSupportSpacingASME(self) -> float: ... + def calculateSustainedStress(self, double: float) -> float: ... + def calculateThermalExpansionStress(self, double: float) -> float: ... + def calculateTotalWeight(self) -> float: ... + def calculateWindLoad(self, double: float) -> float: ... + def checkLockInRisk(self) -> bool: ... + def checkVelocityLimits(self) -> bool: ... + def getActualVelocity(self) -> float: ... + def getAllowableStress(self) -> float: ... + def getAnchorForce(self) -> float: ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def getErosionalCFactor(self) -> float: ... + def getErosionalVelocity(self) -> float: ... + def getFreeExpansion(self) -> float: ... + def getGasDensity(self) -> float: ... + def getInstallationTemperature(self) -> float: ... + def getInsulationDensity(self) -> float: ... + def getLiquidDensity(self) -> float: ... + def getLiquidFraction(self) -> float: ... + def getMassFlowRate(self) -> float: ... + def getMaxGasVelocity(self) -> float: ... + def getMaxLiquidVelocity(self) -> float: ... + def getMixtureDensity(self) -> float: ... + def getOperatingTemperature(self) -> float: ... + def getRequiredLoopLength(self) -> float: ... + def getServiceType(self) -> java.lang.String: ... + def getSupportSpacing(self) -> float: ... + def isCo2Service(self) -> bool: ... + def isSourService(self) -> bool: ... + def isStressCheckPassed(self) -> bool: ... + def isVelocityCheckPassed(self) -> bool: ... + def isVibrationCheckPassed(self) -> bool: ... + def performDesignVerification(self) -> bool: ... + def setCo2Service(self, boolean: bool) -> None: ... + def setErosionalCFactor(self, double: float) -> None: ... + def setGasDensity(self, double: float) -> None: ... + def setInstallationTemperature(self, double: float) -> None: ... + def setInsulationDensity(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidFraction(self, double: float) -> None: ... + def setMassFlowRate(self, double: float) -> None: ... + def setMaxGasVelocity(self, double: float) -> None: ... + def setMaxLiquidVelocity(self, double: float) -> None: ... + def setMixtureDensity(self, double: float) -> None: ... + def setOperatingTemperature(self, double: float) -> None: ... + def setServiceType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourService(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pipeline")``. + + HydrogenPipelineDesign: typing.Type[HydrogenPipelineDesign] + NorsokP002LineSizingValidator: typing.Type[NorsokP002LineSizingValidator] + PipeDesign: typing.Type[PipeDesign] + PipeMechanicalDesignCalculator: typing.Type[PipeMechanicalDesignCalculator] + PipelineMechanicalDesign: typing.Type[PipelineMechanicalDesign] + PipelineMechanicalDesignDataSource: typing.Type[PipelineMechanicalDesignDataSource] + RiserMechanicalDesign: typing.Type[RiserMechanicalDesign] + RiserMechanicalDesignCalculator: typing.Type[RiserMechanicalDesignCalculator] + RiserMechanicalDesignDataSource: typing.Type[RiserMechanicalDesignDataSource] + TopsidePipingMechanicalDesign: typing.Type[TopsidePipingMechanicalDesign] + TopsidePipingMechanicalDesignCalculator: typing.Type[TopsidePipingMechanicalDesignCalculator] + TopsidePipingMechanicalDesignDataSource: typing.Type[TopsidePipingMechanicalDesignDataSource] diff --git a/src/jneqsim/process/mechanicaldesign/powergeneration/__init__.pyi b/src/jneqsim/process/mechanicaldesign/powergeneration/__init__.pyi new file mode 100644 index 00000000..aefcbc07 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/powergeneration/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class PowerGenerationMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getCo2EmissionTonnesHr(self) -> float: ... + def getExhaustMassFlowKgS(self) -> float: ... + def getExhaustTemperatureC(self) -> float: ... + def getFuelConsumptionKgHr(self) -> float: ... + def getHeatRateKJkWh(self) -> float: ... + def getNoiseLevelDbA(self) -> float: ... + def getNoxPpm(self) -> float: ... + def getRatedPowerMW(self) -> float: ... + def getThermalEfficiency(self) -> float: ... + def getTotalSystemWeightTonnes(self) -> float: ... + def getTurbineClass(self) -> java.lang.String: ... + def getTurbinePackageWeightTonnes(self) -> float: ... + def getWhruDutyMW(self) -> float: ... + def setIncludeWHRU(self, boolean: bool) -> None: ... + def setNoxPpm(self, double: float) -> None: ... + def setWhruOutletTemperatureC(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.powergeneration")``. + + PowerGenerationMechanicalDesign: typing.Type[PowerGenerationMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/pump/__init__.pyi b/src/jneqsim/process/mechanicaldesign/pump/__init__.pyi new file mode 100644 index 00000000..5ea0afb5 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/pump/__init__.pyi @@ -0,0 +1,188 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class PumpMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def displayResults(self) -> None: ... + def getAorHighFraction(self) -> float: ... + def getAorLowFraction(self) -> float: ... + def getBaseplateWeight(self) -> float: ... + def getCasingWeight(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDischargeNozzleSize(self) -> float: ... + def getDriverPower(self) -> float: ... + def getHeadMarginFactor(self) -> float: ... + def getHydraulicPowerMargin(self) -> float: ... + def getImpellerDiameter(self) -> float: ... + def getMaxSuctionSpecificSpeed(self) -> float: ... + def getMaximumFlow(self) -> float: ... + def getMinimumFlow(self) -> float: ... + def getMotorWeight(self) -> float: ... + def getNpshMarginFactor(self) -> float: ... + def getNpshRequired(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getPorHighFraction(self) -> float: ... + def getPorLowFraction(self) -> float: ... + def getPumpType(self) -> 'PumpMechanicalDesign.PumpType': ... + def getRatedSpeed(self) -> float: ... + def getResponse(self) -> 'PumpMechanicalDesignResponse': ... + def getSealType(self) -> 'PumpMechanicalDesign.SealType': ... + def getShaftDiameter(self) -> float: ... + def getSpecificSpeed(self) -> float: ... + def getSuctionNozzleSize(self) -> float: ... + def getSuctionSpecificSpeed(self) -> float: ... + def loadProcessDesignParameters(self) -> None: ... + def setAorHighFraction(self, double: float) -> None: ... + def setAorLowFraction(self, double: float) -> None: ... + def setHeadMarginFactor(self, double: float) -> None: ... + def setHydraulicPowerMargin(self, double: float) -> None: ... + def setMaxSuctionSpecificSpeed(self, double: float) -> None: ... + def setNpshMarginFactor(self, double: float) -> None: ... + def setPorHighFraction(self, double: float) -> None: ... + def setPorLowFraction(self, double: float) -> None: ... + def setPumpType(self, pumpType: 'PumpMechanicalDesign.PumpType') -> None: ... + def setSealType(self, sealType: 'PumpMechanicalDesign.SealType') -> None: ... + def toJson(self) -> java.lang.String: ... + def validateDesign(self) -> 'PumpMechanicalDesign.PumpValidationResult': ... + def validateNpshMargin(self, double: float, double2: float) -> bool: ... + def validateOperatingInAOR(self, double: float, double2: float) -> bool: ... + def validateOperatingInPOR(self, double: float, double2: float) -> bool: ... + def validateSuctionSpecificSpeed(self, double: float) -> bool: ... + class PumpType(java.lang.Enum['PumpMechanicalDesign.PumpType']): + OVERHUNG: typing.ClassVar['PumpMechanicalDesign.PumpType'] = ... + BETWEEN_BEARINGS: typing.ClassVar['PumpMechanicalDesign.PumpType'] = ... + VERTICALLY_SUSPENDED: typing.ClassVar['PumpMechanicalDesign.PumpType'] = ... + _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]) -> 'PumpMechanicalDesign.PumpType': ... + @staticmethod + def values() -> typing.MutableSequence['PumpMechanicalDesign.PumpType']: ... + class PumpValidationResult: + def __init__(self): ... + def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def setValid(self, boolean: bool) -> None: ... + class SealType(java.lang.Enum['PumpMechanicalDesign.SealType']): + PACKED: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... + SINGLE_MECHANICAL: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... + DOUBLE_MECHANICAL: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... + MAGNETIC_DRIVE: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... + CANNED_MOTOR: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... + _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]) -> 'PumpMechanicalDesign.SealType': ... + @staticmethod + def values() -> typing.MutableSequence['PumpMechanicalDesign.SealType']: ... + +class PumpMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, pumpMechanicalDesign: PumpMechanicalDesign): ... + def getAorHighFraction(self) -> float: ... + def getAorLowFraction(self) -> float: ... + def getApi610TypeCode(self) -> java.lang.String: ... + def getBepFlow(self) -> float: ... + def getBepHead(self) -> float: ... + def getCasingWallThickness(self) -> float: ... + def getDifferentialPressure(self) -> float: ... + def getDischargeNozzleSize(self) -> float: ... + def getDischargePressure(self) -> float: ... + def getDriverMargin(self) -> float: ... + def getDriverPower(self) -> float: ... + def getEfficiency(self) -> float: ... + def getFluidDensity(self) -> float: ... + def getFluidTemperature(self) -> float: ... + def getFluidViscosity(self) -> float: ... + def getHeadMarginFactor(self) -> float: ... + def getHydraulicPowerMargin(self) -> float: ... + def getImpellerDiameter(self) -> float: ... + def getImpellerWidth(self) -> float: ... + def getMaxSuctionSpecificSpeed(self) -> float: ... + def getMinimumContinuousFlow(self) -> float: ... + def getNpshMargin(self) -> float: ... + def getNpshMarginFactor(self) -> float: ... + def getNpsha(self) -> float: ... + def getNpshr(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getPorHighFraction(self) -> float: ... + def getPorLowFraction(self) -> float: ... + def getPumpType(self) -> java.lang.String: ... + def getRatedFlow(self) -> float: ... + def getRatedHead(self) -> float: ... + def getRatedSpeed(self) -> float: ... + def getSealType(self) -> java.lang.String: ... + def getShaftDiameter(self) -> float: ... + def getSpecificSpeed(self) -> float: ... + def getSuctionNozzleSize(self) -> float: ... + def getSuctionPressure(self) -> float: ... + def getSuctionSpecificSpeed(self) -> float: ... + def populateFromPumpDesign(self, pumpMechanicalDesign: PumpMechanicalDesign) -> None: ... + def setAorHighFraction(self, double: float) -> None: ... + def setAorLowFraction(self, double: float) -> None: ... + def setApi610TypeCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBepFlow(self, double: float) -> None: ... + def setBepHead(self, double: float) -> None: ... + def setCasingWallThickness(self, double: float) -> None: ... + def setDifferentialPressure(self, double: float) -> None: ... + def setDischargeNozzleSize(self, double: float) -> None: ... + def setDischargePressure(self, double: float) -> None: ... + def setDriverMargin(self, double: float) -> None: ... + def setDriverPower(self, double: float) -> None: ... + def setEfficiency(self, double: float) -> None: ... + def setFluidDensity(self, double: float) -> None: ... + def setFluidTemperature(self, double: float) -> None: ... + def setFluidViscosity(self, double: float) -> None: ... + def setHeadMarginFactor(self, double: float) -> None: ... + def setHydraulicPowerMargin(self, double: float) -> None: ... + def setImpellerDiameter(self, double: float) -> None: ... + def setImpellerWidth(self, double: float) -> None: ... + def setMaxSuctionSpecificSpeed(self, double: float) -> None: ... + def setMinimumContinuousFlow(self, double: float) -> None: ... + def setNpshMargin(self, double: float) -> None: ... + def setNpshMarginFactor(self, double: float) -> None: ... + def setNpsha(self, double: float) -> None: ... + def setNpshr(self, double: float) -> None: ... + def setNumberOfStages(self, int: int) -> None: ... + def setPorHighFraction(self, double: float) -> None: ... + def setPorLowFraction(self, double: float) -> None: ... + def setPumpType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedFlow(self, double: float) -> None: ... + def setRatedHead(self, double: float) -> None: ... + def setRatedSpeed(self, double: float) -> None: ... + def setSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShaftDiameter(self, double: float) -> None: ... + def setSpecificSpeed(self, double: float) -> None: ... + def setSuctionNozzleSize(self, double: float) -> None: ... + def setSuctionPressure(self, double: float) -> None: ... + def setSuctionSpecificSpeed(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pump")``. + + PumpMechanicalDesign: typing.Type[PumpMechanicalDesign] + PumpMechanicalDesignResponse: typing.Type[PumpMechanicalDesignResponse] diff --git a/src/jneqsim/process/mechanicaldesign/reactor/__init__.pyi b/src/jneqsim/process/mechanicaldesign/reactor/__init__.pyi new file mode 100644 index 00000000..c55fa71e --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/reactor/__init__.pyi @@ -0,0 +1,43 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class ReactorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getBedPressureDrop(self) -> float: ... + def getCatalystMass(self) -> float: ... + def getCatalystVolume(self) -> float: ... + def getDesignPressureBara(self) -> float: ... + def getDesignTemperatureC(self) -> float: ... + def getEmptyVesselWeight(self) -> float: ... + def getHeadThickness(self) -> float: ... + def getNumberOfBeds(self) -> int: ... + def getReactorType(self) -> java.lang.String: ... + def getShellThickness(self) -> float: ... + def getTotalEquippedWeight(self) -> float: ... + def getVesselDiameter(self) -> float: ... + def getVesselLength(self) -> float: ... + def setBedVoidFraction(self, double: float) -> None: ... + def setCatalystBulkDensity(self, double: float) -> None: ... + def setCatalystParticleDiameter(self, double: float) -> None: ... + def setGHSV(self, double: float) -> None: ... + def setLHSV(self, double: float) -> None: ... + def setNumberOfBeds(self, int: int) -> None: ... + def setReactorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.reactor")``. + + ReactorMechanicalDesign: typing.Type[ReactorMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/separator/__init__.pyi b/src/jneqsim/process/mechanicaldesign/separator/__init__.pyi new file mode 100644 index 00000000..85027478 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/separator/__init__.pyi @@ -0,0 +1,368 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.separator.entrainment +import jneqsim.process.equipment.separator.sectiontype +import jneqsim.process.mechanicaldesign +import jneqsim.process.mechanicaldesign.separator.conformity +import jneqsim.process.mechanicaldesign.separator.internals +import jneqsim.process.mechanicaldesign.separator.primaryseparation +import jneqsim.process.mechanicaldesign.separator.sectiontype +import typing + + + +class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def addSeparatorSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def applyDemistingInternal(self, demistingInternal: jneqsim.process.mechanicaldesign.separator.internals.DemistingInternal) -> None: ... + def calcDesign(self) -> None: ... + def calcGasOutletNozzleID(self) -> float: ... + def calcInletNozzleID(self) -> float: ... + def calcLiquidRetentionTime(self) -> float: ... + def calcLiquidVolumeAtLevel(self, double: float) -> float: ... + def calcOilOutletNozzleID(self) -> float: ... + def calcSurgeTime(self) -> float: ... + def calcSurgeVolume(self) -> float: ... + def calculateDefaultLevelFractions(self) -> None: ... + def calculateDesignPressure(self) -> float: ... + def calculateDesignTemperature(self) -> float: ... + def calculateEffectiveLengthsFromInternals(self) -> None: ... + def calculateFoamAdjustedVolume(self, double: float) -> float: ... + def calculateMinDesignTemperature(self) -> float: ... + def calculateSoudersBrownVelocity(self, double: float, double2: float) -> float: ... + def calculateStokesVelocity(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def displayResults(self) -> None: ... + def getBootVolume(self) -> float: ... + def getDemisterPressureDrop(self) -> float: ... + def getDemisterThickness(self) -> float: ... + def getDemisterType(self) -> java.lang.String: ... + def getDemisterVoidFraction(self) -> float: ... + def getDemisterWireDiameter(self) -> float: ... + def getDesignPressureMargin(self) -> float: ... + def getDesignSummary(self) -> java.lang.String: ... + def getDesignTemperatureMarginC(self) -> float: ... + def getDropletDiameterGasLiquid(self) -> float: ... + def getDropletDiameterLiquidLiquid(self) -> float: ... + def getEffectiveLengthGas(self) -> float: ... + def getEffectiveLengthLiquid(self) -> float: ... + def getEntrainmentDetailJson(self) -> java.lang.String: ... + def getFg(self) -> float: ... + def getFoamAllowanceFactor(self) -> float: ... + def getGasCarryUnderCalibrationFactor(self) -> float: ... + def getGasInOilFraction(self) -> float: ... + def getGasInWaterFraction(self) -> float: ... + def getGasLoadFactor(self) -> float: ... + def getGasOutletNozzleID(self) -> float: ... + def getHHLL(self) -> float: ... + def getHHLLFraction(self) -> float: ... + def getHIL(self) -> float: ... + def getHILFraction(self) -> float: ... + def getHLL(self) -> float: ... + def getHLLFraction(self) -> float: ... + def getInletDeviceKFactor(self) -> float: ... + def getInletNozzleID(self) -> float: ... + def getInletPipeDiameter(self) -> float: ... + def getInletToGasDemister(self) -> float: ... + def getInletToPerforatedPlate(self) -> float: ... + def getKFactorUtilization(self) -> float: ... + def getLIL(self) -> float: ... + def getLILFraction(self) -> float: ... + def getLLL(self) -> float: ... + def getLLLFraction(self) -> float: ... + def getLLLL(self) -> float: ... + def getLLLLFraction(self) -> float: ... + def getLiquidInGasCalibrationFactor(self) -> float: ... + def getLiquidLiquidCalibrationFactor(self) -> float: ... + def getMaxGasVelocityLimit(self) -> float: ... + def getMaxLiquidVelocity(self) -> float: ... + def getMinDesignTemperatureC(self) -> float: ... + def getMinOilRetentionTime(self) -> float: ... + def getMinWaterRetentionTime(self) -> float: ... + def getMistEliminatorDpCoeff(self) -> float: ... + def getMistEliminatorEfficiency(self) -> float: ... + def getMistEliminatorThickness(self) -> float: ... + def getNIL(self) -> float: ... + def getNILFraction(self) -> float: ... + def getNLL(self) -> float: ... + def getNLLFraction(self) -> float: ... + def getOilInGasFraction(self) -> float: ... + def getOilInWaterFraction(self) -> float: ... + def getOilOutletNozzleID(self) -> float: ... + def getOverallGasLiquidEfficiency(self) -> float: ... + def getPerforatedPlateToWeir(self) -> float: ... + def getResponse(self) -> 'SeparatorMechanicalDesignResponse': ... + def getRetentionTime(self) -> float: ... + @typing.overload + def getSeparatorSection(self, int: int) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + @typing.overload + def getSeparatorSection(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + def getSeparatorSections(self) -> java.util.ArrayList[jneqsim.process.equipment.separator.sectiontype.SeparatorSection]: ... + def getVolumeSafetyFactor(self) -> float: ... + def getWaterInGasFraction(self) -> float: ... + def getWaterInOilFraction(self) -> float: ... + def getWaterOutletNozzleID(self) -> float: ... + def getWeirFraction(self) -> float: ... + def getWeirHeight(self) -> float: ... + def getWeirHeightAbsolute(self) -> float: ... + def getWeirLength(self) -> float: ... + def isDetailedEntrainmentUsed(self) -> bool: ... + def isMistEliminatorFlooded(self) -> bool: ... + def loadProcessDesignParameters(self) -> None: ... + def performSizingCalculations(self) -> None: ... + def readDesignSpecifications(self) -> None: ... + def setAllLiquidLevelsFromHeights(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setBootVolume(self, double: float) -> None: ... + def setDemisterPressureDrop(self, double: float) -> None: ... + def setDemisterThickness(self, double: float) -> None: ... + def setDemisterType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDemisterVoidFraction(self, double: float) -> None: ... + def setDemisterWireDiameter(self, double: float) -> None: ... + def setDesign(self) -> None: ... + def setDesignPressureMargin(self, double: float) -> None: ... + def setDesignTemperatureMarginC(self, double: float) -> None: ... + def setDropletDiameterGasLiquid(self, double: float) -> None: ... + def setDropletDiameterLiquidLiquid(self, double: float) -> None: ... + def setEffectiveLengthGas(self, double: float) -> None: ... + def setEffectiveLengthLiquid(self, double: float) -> None: ... + def setFg(self, double: float) -> None: ... + def setFoamAllowanceFactor(self, double: float) -> None: ... + def setFromDesignSpec(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float) -> None: ... + @typing.overload + def setFromExistingDesign(self, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setFromExistingDesign(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> None: ... + def setGasLiquidSurfaceTension(self, double: float) -> None: ... + def setGasLoadFactor(self, double: float) -> None: ... + def setGasOutletNozzleID(self, double: float) -> None: ... + def setHHLLFraction(self, double: float) -> None: ... + def setHILFraction(self, double: float) -> None: ... + def setHLLFraction(self, double: float) -> None: ... + def setInletDeviceKFactor(self, double: float) -> None: ... + def setInletDeviceType(self, inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType) -> None: ... + def setInletNozzleID(self, double: float) -> None: ... + def setInletPipeDiameter(self, double: float) -> None: ... + def setInletToGasDemister(self, double: float) -> None: ... + def setInletToPerforatedPlate(self, double: float) -> None: ... + def setInterfaceLevelsFromHeights(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setLILFraction(self, double: float) -> None: ... + def setLLLFraction(self, double: float) -> None: ... + def setLLLLFraction(self, double: float) -> None: ... + def setLiquidLevelsFromHeights(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setMaxGasVelocityLimit(self, double: float) -> None: ... + def setMaxLiquidVelocity(self, double: float) -> None: ... + def setMinDesignTemperatureC(self, double: float) -> None: ... + def setMinOilRetentionTime(self, double: float) -> None: ... + def setMinWaterRetentionTime(self, double: float) -> None: ... + def setMistEliminatorDpCoeff(self, double: float) -> None: ... + def setMistEliminatorThickness(self, double: float) -> None: ... + def setNILFraction(self, double: float) -> None: ... + def setNLLFraction(self, double: float) -> None: ... + def setOilOutletNozzleID(self, double: float) -> None: ... + def setPerforatedPlateToWeir(self, double: float) -> None: ... + def setRetentionTime(self, double: float) -> None: ... + def setVolumeSafetyFactor(self, double: float) -> None: ... + def setWaterOutletNozzleID(self, double: float) -> None: ... + def setWeirFraction(self, double: float) -> None: ... + def setWeirHeightAbsolute(self, double: float) -> None: ... + def setWeirLength(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def validateDesign(self) -> bool: ... + def validateDesignComprehensive(self) -> 'SeparatorMechanicalDesign.SeparatorValidationResult': ... + def validateDropletDiameter(self, double: float, boolean: bool) -> bool: ... + def validateGasVelocity(self, double: float) -> bool: ... + def validateLiquidVelocity(self, double: float) -> bool: ... + def validateRetentionTime(self, double: float, boolean: bool) -> bool: ... + class SeparatorValidationResult: + def __init__(self): ... + def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def setValid(self, boolean: bool) -> None: ... + +class SeparatorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, separatorMechanicalDesign: SeparatorMechanicalDesign): ... + def getActualGasVelocity(self) -> float: ... + def getAllowableGasVelocity(self) -> float: ... + def getDemisterEfficiency(self) -> float: ... + def getDemisterPressureDrop(self) -> float: ... + def getDemisterType(self) -> java.lang.String: ... + def getDemisterVoidFraction(self) -> float: ... + def getDesignCode(self) -> java.lang.String: ... + def getDesignGasFlow(self) -> float: ... + def getDesignLiquidFlow(self) -> float: ... + def getDesignPressureMarginFactor(self) -> float: ... + def getDesignTemperatureMarginC(self) -> float: ... + def getDesignWaterFlow(self) -> float: ... + def getDropletDiameterGasLiquid(self) -> float: ... + def getDropletDiameterLiquidLiquid(self) -> float: ... + def getEmptyVesselWeight(self) -> float: ... + def getEntrainmentDetailJson(self) -> java.lang.String: ... + def getFoamAllowanceFactor(self) -> float: ... + def getGasCarryUnderCalibrationFactor(self) -> float: ... + def getGasDensity(self) -> float: ... + def getGasDesignVelocity(self) -> float: ... + def getGasInOilFraction(self) -> float: ... + def getGasInWaterFraction(self) -> float: ... + def getGasLoadFactor(self) -> float: ... + def getGasOutletNozzleDiameter(self) -> float: ... + def getHeadThickness(self) -> float: ... + def getHeadType(self) -> java.lang.String: ... + def getHighLiquidLevel(self) -> float: ... + def getHoldupVolume(self) -> float: ... + def getInletNozzleDiameter(self) -> float: ... + def getInterfaceLevel(self) -> float: ... + def getKFactorUtilization(self) -> float: ... + def getLiquidDensity(self) -> float: ... + def getLiquidInGasCalibrationFactor(self) -> float: ... + def getLiquidLevelFraction(self) -> float: ... + def getLiquidLiquidCalibrationFactor(self) -> float: ... + def getLiquidOutletNozzleDiameter(self) -> float: ... + def getLowLiquidLevel(self) -> float: ... + def getMaxGasVelocity(self) -> float: ... + def getMaxLiquidVelocity(self) -> float: ... + def getMinOilRetentionTime(self) -> float: ... + def getMinWaterRetentionTime(self) -> float: ... + def getMistEliminatorEfficiency(self) -> float: ... + def getNormalLiquidLevel(self) -> float: ... + def getNumberOfInletNozzles(self) -> int: ... + def getOilInGasFraction(self) -> float: ... + def getOilInWaterFraction(self) -> float: ... + def getOperatingLiquidVolume(self) -> float: ... + def getOrientation(self) -> java.lang.String: ... + def getOverallGasLiquidEfficiency(self) -> float: ... + def getRetentionTime(self) -> float: ... + def getSeparatorType(self) -> java.lang.String: ... + def getShellThickness(self) -> float: ... + def getSurgeVolume(self) -> float: ... + def getVolumeSafetyFactor(self) -> float: ... + def getWaterInGasFraction(self) -> float: ... + def getWaterInOilFraction(self) -> float: ... + def getWaterOutletNozzleDiameter(self) -> float: ... + def isDetailedEntrainmentUsed(self) -> bool: ... + def isMistEliminatorFlooded(self) -> bool: ... + def populateFromSeparatorDesign(self, separatorMechanicalDesign: SeparatorMechanicalDesign) -> None: ... + def setActualGasVelocity(self, double: float) -> None: ... + def setAllowableGasVelocity(self, double: float) -> None: ... + def setDemisterEfficiency(self, double: float) -> None: ... + def setDemisterPressureDrop(self, double: float) -> None: ... + def setDemisterType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDemisterVoidFraction(self, double: float) -> None: ... + def setDesignCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignGasFlow(self, double: float) -> None: ... + def setDesignLiquidFlow(self, double: float) -> None: ... + def setDesignPressureMarginFactor(self, double: float) -> None: ... + def setDesignTemperatureMarginC(self, double: float) -> None: ... + def setDesignWaterFlow(self, double: float) -> None: ... + def setDropletDiameterGasLiquid(self, double: float) -> None: ... + def setDropletDiameterLiquidLiquid(self, double: float) -> None: ... + def setEmptyVesselWeight(self, double: float) -> None: ... + def setFoamAllowanceFactor(self, double: float) -> None: ... + def setGasDensity(self, double: float) -> None: ... + def setGasDesignVelocity(self, double: float) -> None: ... + def setGasLoadFactor(self, double: float) -> None: ... + def setGasOutletNozzleDiameter(self, double: float) -> None: ... + def setHeadThickness(self, double: float) -> None: ... + def setHeadType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHighLiquidLevel(self, double: float) -> None: ... + def setHoldupVolume(self, double: float) -> None: ... + def setInletNozzleDiameter(self, double: float) -> None: ... + def setInterfaceLevel(self, double: float) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidLevelFraction(self, double: float) -> None: ... + def setLiquidOutletNozzleDiameter(self, double: float) -> None: ... + def setLowLiquidLevel(self, double: float) -> None: ... + def setMaxGasVelocity(self, double: float) -> None: ... + def setMaxLiquidVelocity(self, double: float) -> None: ... + def setMinOilRetentionTime(self, double: float) -> None: ... + def setMinWaterRetentionTime(self, double: float) -> None: ... + def setNormalLiquidLevel(self, double: float) -> None: ... + def setNumberOfInletNozzles(self, int: int) -> None: ... + def setOperatingLiquidVolume(self, double: float) -> None: ... + def setOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRetentionTime(self, double: float) -> None: ... + def setSeparatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellThickness(self, double: float) -> None: ... + def setSurgeVolume(self, double: float) -> None: ... + def setVolumeSafetyFactor(self, double: float) -> None: ... + def setWaterOutletNozzleDiameter(self, double: float) -> None: ... + +class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def checkConformity(self) -> jneqsim.process.mechanicaldesign.separator.conformity.ConformityReport: ... + def getConformityStandard(self) -> java.lang.String: ... + def getCycloneDeckElevationM(self) -> float: ... + def getCycloneDpToDrainPct(self) -> float: ... + def getCycloneEulerNumber(self) -> float: ... + def getCycloneLengthM(self) -> float: ... + def getDemistingCycloneDiameterM(self) -> float: ... + def getDrainPipeDiameterM(self) -> float: ... + def getHhllElevationM(self) -> float: ... + def getInletCycloneDiameterM(self) -> float: ... + def getInletDeviceElevationM(self) -> float: ... + def getLaHElevationM(self) -> float: ... + def getLaHHElevationM(self) -> float: ... + def getLaLElevationM(self) -> float: ... + def getLaLLElevationM(self) -> float: ... + def getLiquidDesignMarginFraction(self) -> float: ... + def getLiquidEntrainmentLitresPerMSm3(self) -> float: ... + def getMeshPadAreaM2(self) -> float: ... + def getMeshPadElevationM(self) -> float: ... + def getMeshPadThicknessMm(self) -> float: ... + def getNumberOfDemistingCyclones(self) -> int: ... + def getNumberOfInletCyclones(self) -> int: ... + def getResponse(self) -> SeparatorMechanicalDesignResponse: ... + def getVanePackAreaM2(self) -> float: ... + def hasDemistingCyclones(self) -> bool: ... + def hasInletCyclones(self) -> bool: ... + def hasMeshPad(self) -> bool: ... + def hasVanePack(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setConformityRules(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCycloneDeckElevationM(self, double: float) -> None: ... + def setCycloneDpToDrainPct(self, double: float) -> None: ... + def setCycloneEulerNumber(self, double: float) -> None: ... + def setCycloneLengthM(self, double: float) -> None: ... + @typing.overload + def setDemistingCyclones(self, int: int, double: float, double2: float) -> None: ... + @typing.overload + def setDemistingCyclones(self, int: int, double: float, double2: float, double3: float) -> None: ... + def setDesign(self) -> None: ... + def setDrainPipeDiameterM(self, double: float) -> None: ... + def setHhllElevationM(self, double: float) -> None: ... + def setInletCyclones(self, int: int, double: float) -> None: ... + def setInletDevice(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletDeviceElevationM(self, double: float) -> None: ... + def setLaHElevationM(self, double: float) -> None: ... + def setLaHHElevationM(self, double: float) -> None: ... + def setLaLElevationM(self, double: float) -> None: ... + def setLaLLElevationM(self, double: float) -> None: ... + def setLiquidDesignMarginFraction(self, double: float) -> None: ... + def setLiquidEntrainmentLitresPerMSm3(self, double: float) -> None: ... + def setMeshPad(self, double: float, double2: float) -> None: ... + def setMeshPadElevationM(self, double: float) -> None: ... + def setVanePack(self, double: float) -> None: ... + def toTextReport(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator")``. + + GasScrubberMechanicalDesign: typing.Type[GasScrubberMechanicalDesign] + SeparatorMechanicalDesign: typing.Type[SeparatorMechanicalDesign] + SeparatorMechanicalDesignResponse: typing.Type[SeparatorMechanicalDesignResponse] + conformity: jneqsim.process.mechanicaldesign.separator.conformity.__module_protocol__ + internals: jneqsim.process.mechanicaldesign.separator.internals.__module_protocol__ + primaryseparation: jneqsim.process.mechanicaldesign.separator.primaryseparation.__module_protocol__ + sectiontype: jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ diff --git a/src/jneqsim/process/mechanicaldesign/separator/conformity/__init__.pyi b/src/jneqsim/process/mechanicaldesign/separator/conformity/__init__.pyi new file mode 100644 index 00000000..34d10218 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/separator/conformity/__init__.pyi @@ -0,0 +1,84 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.mechanicaldesign.separator +import typing + + + +class ConformityReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def addResult(self, conformityResult: 'ConformityResult') -> None: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFailCount(self) -> int: ... + def getPassCount(self) -> int: ... + def getResults(self) -> java.util.List['ConformityResult']: ... + def getStandard(self) -> java.lang.String: ... + def getWarningCount(self) -> int: ... + def isConforming(self) -> bool: ... + def toString(self) -> java.lang.String: ... + def toTextReport(self) -> java.lang.String: ... + +class ConformityResult(java.io.Serializable): + def __init__(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, string4: typing.Union[java.lang.String, str], limitDirection: 'ConformityResult.LimitDirection', string5: typing.Union[java.lang.String, str]): ... + def getActualValue(self) -> float: ... + def getCheckName(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getDirection(self) -> 'ConformityResult.LimitDirection': ... + def getInternalType(self) -> java.lang.String: ... + def getLimitValue(self) -> float: ... + def getStandard(self) -> java.lang.String: ... + def getStatus(self) -> 'ConformityResult.Status': ... + def getUnit(self) -> java.lang.String: ... + def isPassed(self) -> bool: ... + @staticmethod + def notApplicable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ConformityResult': ... + def toString(self) -> java.lang.String: ... + class LimitDirection(java.lang.Enum['ConformityResult.LimitDirection']): + MAXIMUM: typing.ClassVar['ConformityResult.LimitDirection'] = ... + MINIMUM: typing.ClassVar['ConformityResult.LimitDirection'] = ... + _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]) -> 'ConformityResult.LimitDirection': ... + @staticmethod + def values() -> typing.MutableSequence['ConformityResult.LimitDirection']: ... + class Status(java.lang.Enum['ConformityResult.Status']): + PASS: typing.ClassVar['ConformityResult.Status'] = ... + WARNING: typing.ClassVar['ConformityResult.Status'] = ... + FAIL: typing.ClassVar['ConformityResult.Status'] = ... + NOT_APPLICABLE: typing.ClassVar['ConformityResult.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]) -> 'ConformityResult.Status': ... + @staticmethod + def values() -> typing.MutableSequence['ConformityResult.Status']: ... + +class ConformityRuleSet(java.io.Serializable): + @staticmethod + def create(string: typing.Union[java.lang.String, str]) -> 'ConformityRuleSet': ... + def evaluate(self, gasScrubberMechanicalDesign: jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign) -> ConformityReport: ... + def getConstraintNames(self, gasScrubberMechanicalDesign: jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign) -> java.util.List[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.conformity")``. + + ConformityReport: typing.Type[ConformityReport] + ConformityResult: typing.Type[ConformityResult] + ConformityRuleSet: typing.Type[ConformityRuleSet] diff --git a/src/jneqsim/process/mechanicaldesign/separator/internals/__init__.pyi b/src/jneqsim/process/mechanicaldesign/separator/internals/__init__.pyi new file mode 100644 index 00000000..5dc81220 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/separator/internals/__init__.pyi @@ -0,0 +1,57 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import typing + + + +class DemistingInternal(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def calcGasVelocity(self, double: float, double2: float, double3: float) -> float: ... + def calcLiquidCarryOver(self, double: float, double2: float) -> float: ... + def calcPressureDrop(self, double: float, double2: float) -> float: ... + def getArea(self) -> float: ... + def getEuNumber(self) -> float: ... + def getKFactor(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getThickness(self) -> float: ... + def getType(self) -> java.lang.String: ... + def getVoidFraction(self) -> float: ... + def getWireDiameter(self) -> float: ... + def setArea(self, double: float) -> None: ... + def setEuNumber(self, double: float) -> None: ... + def setKFactor(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThickness(self, double: float) -> None: ... + def setType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVoidFraction(self, double: float) -> None: ... + def setWireDiameter(self, double: float) -> None: ... + +class DemistingInternalWithDrainage(DemistingInternal): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def calcLiquidCarryOver(self, double: float, double2: float) -> float: ... + def getDrainageEfficiency(self) -> float: ... + def setDrainageEfficiency(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.internals")``. + + DemistingInternal: typing.Type[DemistingInternal] + DemistingInternalWithDrainage: typing.Type[DemistingInternalWithDrainage] diff --git a/src/jneqsim/process/mechanicaldesign/separator/primaryseparation/__init__.pyi b/src/jneqsim/process/mechanicaldesign/separator/primaryseparation/__init__.pyi new file mode 100644 index 00000000..8239c703 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/separator/primaryseparation/__init__.pyi @@ -0,0 +1,63 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import typing + + + +class PrimarySeparation(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcInletMomentum(self, double: float, double2: float) -> float: ... + def calcLiquidCarryOver(self, double: float, double2: float) -> float: ... + def checkInletMomentum(self, double: float, double2: float) -> bool: ... + def getBulkSeparationEfficiency(self) -> float: ... + def getInletNozzleDiameter(self) -> float: ... + def getMaxInletMomentum(self) -> float: ... + def getName(self) -> java.lang.String: ... + def setBulkSeparationEfficiency(self, double: float) -> None: ... + def setInletNozzleDiameter(self, double: float) -> None: ... + def setMaxInletMomentum(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class InletCyclones(PrimarySeparation): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getCycloneDiameter(self) -> float: ... + def getNumberOfCyclones(self) -> int: ... + def setCycloneDiameter(self, double: float) -> None: ... + def setNumberOfCyclones(self, int: int) -> None: ... + +class InletVane(PrimarySeparation): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + +class InletVaneWithMeshpad(PrimarySeparation): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcLiquidCarryOver(self, double: float, double2: float) -> float: ... + def getMeshPadKFactor(self) -> float: ... + def setMeshPadKFactor(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.primaryseparation")``. + + InletCyclones: typing.Type[InletCyclones] + InletVane: typing.Type[InletVane] + InletVaneWithMeshpad: typing.Type[InletVaneWithMeshpad] + PrimarySeparation: typing.Type[PrimarySeparation] diff --git a/src/jneqsim/process/mechanicaldesign/separator/sectiontype/__init__.pyi b/src/jneqsim/process/mechanicaldesign/separator/sectiontype/__init__.pyi new file mode 100644 index 00000000..e976dd2c --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/separator/sectiontype/__init__.pyi @@ -0,0 +1,59 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment.separator.sectiontype +import typing + + + +class SepDesignSection: + totalWeight: float = ... + totalHeight: float = ... + ANSIclass: int = ... + nominalSize: java.lang.String = ... + def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def calcDesign(self) -> None: ... + def getANSIclass(self) -> int: ... + def getNominalSize(self) -> java.lang.String: ... + def getTotalHeight(self) -> float: ... + def getTotalWeight(self) -> float: ... + def setANSIclass(self, int: int) -> None: ... + def setNominalSize(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalHeight(self, double: float) -> None: ... + def setTotalWeight(self, double: float) -> None: ... + +class DistillationTraySection(SepDesignSection): + def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def calcDesign(self) -> None: ... + +class MecMeshSection(SepDesignSection): + def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def calcDesign(self) -> None: ... + +class MechManwaySection(SepDesignSection): + def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def calcDesign(self) -> None: ... + +class MechNozzleSection(SepDesignSection): + def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def calcDesign(self) -> None: ... + +class MechVaneSection(SepDesignSection): + def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def calcDesign(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.sectiontype")``. + + DistillationTraySection: typing.Type[DistillationTraySection] + MecMeshSection: typing.Type[MecMeshSection] + MechManwaySection: typing.Type[MechManwaySection] + MechNozzleSection: typing.Type[MechNozzleSection] + MechVaneSection: typing.Type[MechVaneSection] + SepDesignSection: typing.Type[SepDesignSection] diff --git a/src/jneqsim/process/mechanicaldesign/splitter/__init__.pyi b/src/jneqsim/process/mechanicaldesign/splitter/__init__.pyi new file mode 100644 index 00000000..0d40f32a --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/splitter/__init__.pyi @@ -0,0 +1,48 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class SplitterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateSplitterCost(self) -> float: ... + def calculateWeights(self) -> None: ... + def getBranchDiameter(self) -> float: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getDesignVelocity(self) -> float: ... + def getHeaderDiameter(self) -> float: ... + def getHeaderLength(self) -> float: ... + def getHeaderWallThickness(self) -> float: ... + def getManifoldVolume(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMaxAllowableVelocity(self) -> float: ... + def getNumberOfBranches(self) -> int: ... + def getSplitRatios(self) -> typing.MutableSequence[float]: ... + def getSplitterType(self) -> java.lang.String: ... + def getTotalPressureDrop(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setBranchDiameter(self, double: float) -> None: ... + def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignVelocity(self, double: float) -> None: ... + def setHeaderDiameter(self, double: float) -> None: ... + def setHeaderLength(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxAllowableVelocity(self, double: float) -> None: ... + def setSplitterType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.splitter")``. + + SplitterMechanicalDesign: typing.Type[SplitterMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/subsea/__init__.pyi b/src/jneqsim/process/mechanicaldesign/subsea/__init__.pyi new file mode 100644 index 00000000..d9c48a44 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/subsea/__init__.pyi @@ -0,0 +1,534 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.subsea +import jneqsim.process.mechanicaldesign +import typing + + + +class BarrierElement(java.io.Serializable): + @typing.overload + def __init__(self, elementType: 'BarrierElement.ElementType', string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, elementType: 'BarrierElement.ElementType', string: typing.Union[java.lang.String, str], double: float): ... + def getDepthMD(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getStatus(self) -> 'BarrierElement.Status': ... + def getType(self) -> 'BarrierElement.ElementType': ... + def isFunctional(self) -> bool: ... + def isVerified(self) -> bool: ... + def setDepthMD(self, double: float) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStatus(self, status: 'BarrierElement.Status') -> None: ... + def setVerified(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + class ElementType(java.lang.Enum['BarrierElement.ElementType']): + CASING: typing.ClassVar['BarrierElement.ElementType'] = ... + TUBING: typing.ClassVar['BarrierElement.ElementType'] = ... + PACKER: typing.ClassVar['BarrierElement.ElementType'] = ... + DHSV: typing.ClassVar['BarrierElement.ElementType'] = ... + ISV: typing.ClassVar['BarrierElement.ElementType'] = ... + WELLHEAD: typing.ClassVar['BarrierElement.ElementType'] = ... + XMAS_TREE: typing.ClassVar['BarrierElement.ElementType'] = ... + ASV: typing.ClassVar['BarrierElement.ElementType'] = ... + CEMENT: typing.ClassVar['BarrierElement.ElementType'] = ... + CASING_CEMENT: typing.ClassVar['BarrierElement.ElementType'] = ... + FORMATION: typing.ClassVar['BarrierElement.ElementType'] = ... + PLUG: typing.ClassVar['BarrierElement.ElementType'] = ... + WING_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... + SWAB_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... + CHEMICAL_INJECTION_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... + KILL_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... + GAUGE: typing.ClassVar['BarrierElement.ElementType'] = ... + ANNULUS_ACCESS_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... + _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]) -> 'BarrierElement.ElementType': ... + @staticmethod + def values() -> typing.MutableSequence['BarrierElement.ElementType']: ... + class Status(java.lang.Enum['BarrierElement.Status']): + INTACT: typing.ClassVar['BarrierElement.Status'] = ... + DEGRADED: typing.ClassVar['BarrierElement.Status'] = ... + FAILED: typing.ClassVar['BarrierElement.Status'] = ... + UNKNOWN: typing.ClassVar['BarrierElement.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]) -> 'BarrierElement.Status': ... + @staticmethod + def values() -> typing.MutableSequence['BarrierElement.Status']: ... + +class BarrierEnvelope(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addElement(self, barrierElement: BarrierElement) -> None: ... + def getElementCount(self) -> int: ... + def getElements(self) -> java.util.List[BarrierElement]: ... + def getElementsByType(self, elementType: BarrierElement.ElementType) -> java.util.List[BarrierElement]: ... + def getFailedElements(self) -> java.util.List[BarrierElement]: ... + def getFunctionalElementCount(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getVerifiedElementCount(self) -> int: ... + def hasElementType(self, elementType: BarrierElement.ElementType) -> bool: ... + def isIntact(self) -> bool: ... + def meetsMinimum(self, int: int) -> bool: ... + def toString(self) -> java.lang.String: ... + +class FlexiblePipeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCalculatedMBR(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getRequiredBurstPressure(self) -> float: ... + def getRequiredTensileCapacity(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class PLEMMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getHeaderWallThickness(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class PLETMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getHubWallThickness(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getRequiredFoundationWeight(self) -> float: ... + def getRequiredMudmatArea(self) -> float: ... + def getStructureMaterialGrade(self) -> java.lang.String: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class SURFCostEstimator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, double: float, region: 'SubseaCostEstimator.Region'): ... + def calculate(self) -> float: ... + def excludeExportPipeline(self, double: float) -> None: ... + def getCategoryLineItems(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getFlowlineCostUSD(self) -> float: ... + def getLineItems(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getRiserCostUSD(self) -> float: ... + def getSubseaCostUSD(self) -> float: ... + def getTotalCostInCurrency(self, double: float) -> float: ... + def getTotalSURFCostUSD(self) -> float: ... + def getUmbilicalCostUSD(self) -> float: ... + def setCoatingPricePerM2(self, double: float) -> None: ... + def setContingencyPct(self, double: float) -> None: ... + def setDualBoreTrees(self, boolean: bool) -> None: ... + def setExportPipelineDiameterInches(self, double: float) -> None: ... + def setExportPipelineLengthKm(self, double: float) -> None: ... + def setFlexibleRiser(self, boolean: bool) -> None: ... + def setHorizontalTrees(self, boolean: bool) -> None: ... + def setIncludeRisers(self, boolean: bool) -> None: ... + def setInfieldFlowlineDiameterInches(self, double: float) -> None: ... + def setInfieldFlowlineFlexible(self, boolean: bool) -> None: ... + def setInfieldFlowlineLengthKm(self, double: float) -> None: ... + def setJumperDiameterInches(self, double: float) -> None: ... + def setJumperLengthM(self, double: float) -> None: ... + def setManifoldHasTestHeader(self, boolean: bool) -> None: ... + def setManifoldSlots(self, int: int) -> None: ... + def setManifoldWeightTonnes(self, double: float) -> None: ... + def setNumberOfJumpers(self, int: int) -> None: ... + def setNumberOfPLETs(self, int: int) -> None: ... + def setNumberOfProductionRisers(self, int: int) -> None: ... + def setNumberOfWells(self, int: int) -> None: ... + def setPipelineDesignPressureBar(self, double: float) -> None: ... + 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 setPletHubSizeInches(self, double: float) -> None: ... + def setPletWeightTonnes(self, double: float) -> None: ... + def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def setRigidJumpers(self, boolean: bool) -> None: ... + def setRiserDiameterInches(self, double: float) -> None: ... + def setRiserHasBuoyancy(self, boolean: bool) -> None: ... + def setRiserLengthM(self, double: float) -> None: ... + def setSteelPricePerKg(self, double: float) -> None: ... + def setTreeBoreSizeInches(self, double: float) -> None: ... + def setTreePressureRatingPsi(self, double: float) -> None: ... + def setUmbilicalChemicalLines(self, int: int) -> None: ... + def setUmbilicalDynamic(self, boolean: bool) -> None: ... + def setUmbilicalElectricalCables(self, int: int) -> None: ... + def setUmbilicalHydraulicLines(self, int: int) -> None: ... + def setUmbilicalLengthKm(self, double: float) -> None: ... + def setWaterDepthM(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class SubseaBoosterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getBearingLife(self) -> float: ... + def getCalculatedHead(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getHousingWallThickness(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getRequiredMotorPower(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class SubseaCostEstimator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, region: 'SubseaCostEstimator.Region'): ... + def calculateBoosterCost(self, double: float, boolean: bool, double2: float, boolean2: bool) -> None: ... + 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 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: ... + def generateBOM(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials(self, string: typing.Union[java.lang.String, str], map: 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.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getCurrency(self) -> 'SubseaCostEstimator.Currency': ... + def getEquipmentCost(self) -> float: ... + def getFabricationCost(self) -> float: ... + def getInstallationCost(self) -> float: ... + def getRegion(self) -> 'SubseaCostEstimator.Region': ... + def getTotalCost(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def setContingencyPct(self, double: float) -> None: ... + def setCurrency(self, currency: 'SubseaCostEstimator.Currency') -> None: ... + def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def toJson(self) -> java.lang.String: ... + class Currency(java.lang.Enum['SubseaCostEstimator.Currency']): + USD: typing.ClassVar['SubseaCostEstimator.Currency'] = ... + EUR: typing.ClassVar['SubseaCostEstimator.Currency'] = ... + GBP: typing.ClassVar['SubseaCostEstimator.Currency'] = ... + NOK: typing.ClassVar['SubseaCostEstimator.Currency'] = ... + _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]) -> 'SubseaCostEstimator.Currency': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaCostEstimator.Currency']: ... + class Region(java.lang.Enum['SubseaCostEstimator.Region']): + NORWAY: typing.ClassVar['SubseaCostEstimator.Region'] = ... + UK: typing.ClassVar['SubseaCostEstimator.Region'] = ... + GOM: typing.ClassVar['SubseaCostEstimator.Region'] = ... + BRAZIL: typing.ClassVar['SubseaCostEstimator.Region'] = ... + WEST_AFRICA: typing.ClassVar['SubseaCostEstimator.Region'] = ... + _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]) -> 'SubseaCostEstimator.Region': ... + @staticmethod + def values() -> typing.MutableSequence['SubseaCostEstimator.Region']: ... + +class SubseaJumperMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getHoopStress(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getRequiredWallThickness(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getUnityCheck(self) -> float: ... + def getVesselDays(self) -> float: ... + def isBendRadiusOK(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class SubseaManifoldMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getProductionHeaderWallThickness(self) -> float: ... + def getTestHeaderWallThickness(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class SubseaTreeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getBoreWallThickness(self) -> float: ... + def getConnectorCapacity(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getTestPressure(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class UmbilicalMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getChemicalTubeWallThickness(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getEquipmentCostUSD(self) -> float: ... + def getHydraulicTubeWallThickness(self) -> float: ... + def getInstallationCostUSD(self) -> float: ... + def getMaxAllowableTension(self) -> float: ... + def getRequiredArmorLayers(self) -> int: ... + def getTotalCostUSD(self) -> float: ... + def getTotalManhours(self) -> float: ... + def getVesselDays(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class WellBarrierSchematic(java.io.Serializable): + def __init__(self): ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def getIssueCount(self) -> int: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def getPrimaryEnvelope(self) -> BarrierEnvelope: ... + def getSecondaryEnvelope(self) -> BarrierEnvelope: ... + def getWellType(self) -> java.lang.String: ... + def isPassed(self) -> bool: ... + def setAnnulusMonitoringRequired(self, boolean: bool) -> None: ... + def setDhsvRequired(self, boolean: bool) -> None: ... + def setIsvRequired(self, boolean: bool) -> None: ... + def setMinimumElements(self, int: int, int2: int) -> None: ... + def setPrimaryEnvelope(self, barrierEnvelope: BarrierEnvelope) -> None: ... + def setSecondaryEnvelope(self, barrierEnvelope: BarrierEnvelope) -> None: ... + def setWellType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def validate(self) -> bool: ... + +class WellCostEstimator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, region: SubseaCostEstimator.Region): ... + def calculateWellCost(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, double4: float, double5: float, boolean: bool, int: int) -> None: ... + def generateBillOfMaterials(self, subseaWell: jneqsim.process.equipment.subsea.SubseaWell) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getBitsCost(self) -> float: ... + def getCasingMaterialCost(self) -> float: ... + def getCementCost(self) -> float: ... + def getCompletionCost(self) -> float: ... + def getContingencyCost(self) -> float: ... + def getContingencyPct(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDrillingCost(self) -> float: ... + def getLoggingCost(self) -> float: ... + def getMudCost(self) -> float: ... + def getRegion(self) -> SubseaCostEstimator.Region: ... + def getRegionFactor(self) -> float: ... + def getSafetyValveCost(self) -> float: ... + def getTotalCost(self) -> float: ... + def getWellTestCost(self) -> float: ... + def getWellheadCost(self) -> float: ... + def setContingencyPct(self, double: float) -> None: ... + def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... + def setRigDayRate(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class WellDesignCalculator(java.io.Serializable): + def __init__(self): ... + def calculateCasingDesign(self) -> None: ... + def calculateCementVolumes(self) -> None: ... + def calculateTubingDesign(self) -> None: ... + def calculateWeights(self) -> None: ... + def getCasingGradeSMTS(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCasingGradeSMYS(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getIntermediateCasingWallThickness(self) -> float: ... + def getMinBurstDesignFactor(self) -> float: ... + def getMinCollapseDesignFactor(self) -> float: ... + def getMinTensionDesignFactor(self) -> float: ... + def getMinVmeDesignFactor(self) -> float: ... + def getProductionCasingBurstDF(self) -> float: ... + def getProductionCasingCollapseDF(self) -> float: ... + def getProductionCasingTensionDF(self) -> float: ... + def getProductionCasingVME_DF(self) -> float: ... + def getProductionCasingWallThickness(self) -> float: ... + def getSurfaceCasingWallThickness(self) -> float: ... + def getTemperatureDeratingFactor(self) -> float: ... + def getTotalCasingWeight(self) -> float: ... + def getTotalCementVolume(self) -> float: ... + def getTotalCuttingsVolume(self) -> float: ... + def getTotalTubingWeight(self) -> float: ... + def getTubingBurstDF(self) -> float: ... + def getTubingWallThickness(self) -> float: ... + def isInjectionWell(self) -> bool: ... + def setConductorCasing(self, double: float, double2: float) -> None: ... + def setInjectionWell(self, boolean: bool) -> None: ... + def setIntermediateCasing(self, double: float, double2: float) -> None: ... + def setMaxBottomholeTemperature(self, double: float) -> None: ... + def setMaxWellheadPressure(self, double: float) -> None: ... + def setMeasuredDepth(self, double: float) -> None: ... + def setMinBurstDesignFactor(self, double: float) -> None: ... + def setMinCollapseDesignFactor(self, double: float) -> None: ... + def setMinTensionDesignFactor(self, double: float) -> None: ... + def setMinVmeDesignFactor(self, double: float) -> None: ... + def setProductionCasing(self, double: float, double2: float) -> None: ... + def setProductionLiner(self, double: float, double2: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setSurfaceCasing(self, double: float, double2: float) -> None: ... + def setTrueVerticalDepth(self, double: float) -> None: ... + def setTubing(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterDepth(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class WellMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calculateCostEstimate(self) -> None: ... + def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getBarrierNotes(self) -> java.util.List[java.lang.String]: ... + def getBarrierSchematic(self) -> WellBarrierSchematic: ... + def getCalculator(self) -> WellDesignCalculator: ... + def getCompletionCostUSD(self) -> float: ... + def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getCostEstimator(self) -> WellCostEstimator: ... + def getDataSource(self) -> 'WellMechanicalDesignDataSource': ... + def getDesignStandardCode(self) -> java.lang.String: ... + def getDrillingCostUSD(self) -> float: ... + def getLoggingCostUSD(self) -> float: ... + def getMaterialCostUSD(self) -> float: ... + def getProductionCasingBurstDF(self) -> float: ... + def getProductionCasingCollapseDF(self) -> float: ... + def getProductionCasingTensionDF(self) -> float: ... + def getProductionCasingVME_DF(self) -> float: ... + def getProductionCasingWallThickness(self) -> float: ... + def getTemperatureDeratingFactor(self) -> float: ... + def getTotalCasingWeight(self) -> float: ... + def getTotalCementVolume(self) -> float: ... + def getTotalCostUSD(self) -> float: ... + def getTotalTubingWeight(self) -> float: ... + def getWellheadCostUSD(self) -> float: ... + def isBarrierVerificationPassed(self) -> bool: ... + def readDesignSpecifications(self) -> None: ... + def setDesignStandardCode(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]: ... + +class WellMechanicalDesignDataSource(java.io.Serializable): + def __init__(self): ... + def clearAppliedStandards(self) -> None: ... + def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... + def loadApiRp90Parameters(self) -> java.util.Map[java.lang.String, float]: ... + def loadBarrierRequirements(self) -> java.util.Map[java.lang.String, float]: ... + def loadIso16530Requirements(self) -> java.util.Map[java.lang.String, float]: ... + def loadNorskD010DesignFactors(self, wellDesignCalculator: WellDesignCalculator, boolean: bool) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.subsea")``. + + BarrierElement: typing.Type[BarrierElement] + BarrierEnvelope: typing.Type[BarrierEnvelope] + FlexiblePipeMechanicalDesign: typing.Type[FlexiblePipeMechanicalDesign] + PLEMMechanicalDesign: typing.Type[PLEMMechanicalDesign] + PLETMechanicalDesign: typing.Type[PLETMechanicalDesign] + SURFCostEstimator: typing.Type[SURFCostEstimator] + SubseaBoosterMechanicalDesign: typing.Type[SubseaBoosterMechanicalDesign] + SubseaCostEstimator: typing.Type[SubseaCostEstimator] + SubseaJumperMechanicalDesign: typing.Type[SubseaJumperMechanicalDesign] + SubseaManifoldMechanicalDesign: typing.Type[SubseaManifoldMechanicalDesign] + SubseaTreeMechanicalDesign: typing.Type[SubseaTreeMechanicalDesign] + UmbilicalMechanicalDesign: typing.Type[UmbilicalMechanicalDesign] + WellBarrierSchematic: typing.Type[WellBarrierSchematic] + WellCostEstimator: typing.Type[WellCostEstimator] + WellDesignCalculator: typing.Type[WellDesignCalculator] + WellMechanicalDesign: typing.Type[WellMechanicalDesign] + WellMechanicalDesignDataSource: typing.Type[WellMechanicalDesignDataSource] diff --git a/src/jneqsim/process/mechanicaldesign/tank/__init__.pyi b/src/jneqsim/process/mechanicaldesign/tank/__init__.pyi new file mode 100644 index 00000000..676cd870 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/tank/__init__.pyi @@ -0,0 +1,73 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign +import typing + + + +class TankMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def displayResults(self) -> None: ... + def getBottomThickness(self) -> float: ... + def getBottomWeight(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getFoundationLoad(self) -> float: ... + def getNominalCapacity(self) -> float: ... + def getNumberOfCourses(self) -> int: ... + def getRoofThickness(self) -> float: ... + def getRoofType(self) -> 'TankMechanicalDesign.RoofType': ... + def getRoofWeight(self) -> float: ... + def getShellThicknesses(self) -> typing.MutableSequence[float]: ... + def getShellWeight(self) -> float: ... + def getTankDiameter(self) -> float: ... + def getTankHeight(self) -> float: ... + def getTankType(self) -> 'TankMechanicalDesign.TankType': ... + def getWorkingCapacity(self) -> float: ... + def hasFloatingRoof(self) -> bool: ... + def setTankType(self, tankType: 'TankMechanicalDesign.TankType') -> None: ... + class RoofType(java.lang.Enum['TankMechanicalDesign.RoofType']): + SELF_SUPPORTING_CONE: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... + SUPPORTED_CONE: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... + DOME: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... + GEODESIC_DOME: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... + FLOATING: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... + _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]) -> 'TankMechanicalDesign.RoofType': ... + @staticmethod + def values() -> typing.MutableSequence['TankMechanicalDesign.RoofType']: ... + class TankType(java.lang.Enum['TankMechanicalDesign.TankType']): + FIXED_CONE_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... + FIXED_DOME_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... + EXTERNAL_FLOATING_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... + INTERNAL_FLOATING_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... + SPHERICAL: typing.ClassVar['TankMechanicalDesign.TankType'] = ... + HORIZONTAL_CYLINDRICAL: typing.ClassVar['TankMechanicalDesign.TankType'] = ... + _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]) -> 'TankMechanicalDesign.TankType': ... + @staticmethod + def values() -> typing.MutableSequence['TankMechanicalDesign.TankType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.tank")``. + + TankMechanicalDesign: typing.Type[TankMechanicalDesign] diff --git a/src/jneqsim/process/mechanicaldesign/torg/__init__.pyi b/src/jneqsim/process/mechanicaldesign/torg/__init__.pyi new file mode 100644 index 00000000..f28b0210 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/torg/__init__.pyi @@ -0,0 +1,143 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import java.util +import jpype.protocol +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign.designstandards +import jneqsim.process.processmodel +import typing + + + +class TechnicalRequirementsDocument(java.io.Serializable): + @staticmethod + def builder() -> 'TechnicalRequirementsDocument.Builder': ... + def getAllApplicableStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def getCompanyIdentifier(self) -> java.lang.String: ... + _getCustomParameter_1__T = typing.TypeVar('_getCustomParameter_1__T') # + @typing.overload + def getCustomParameter(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + @typing.overload + def getCustomParameter(self, string: typing.Union[java.lang.String, str], class_: typing.Type[_getCustomParameter_1__T]) -> _getCustomParameter_1__T: ... + def getDefinedCategories(self) -> java.util.Set[java.lang.String]: ... + def getEnvironmentalConditions(self) -> 'TechnicalRequirementsDocument.EnvironmentalConditions': ... + def getIssueDate(self) -> java.lang.String: ... + def getMaterialSpecifications(self) -> 'TechnicalRequirementsDocument.MaterialSpecifications': ... + def getProjectId(self) -> java.lang.String: ... + def getProjectName(self) -> java.lang.String: ... + def getRevision(self) -> java.lang.String: ... + def getSafetyFactors(self) -> 'TechnicalRequirementsDocument.SafetyFactors': ... + def getStandardsForCategory(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def getStandardsForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def hasStandardsForCategory(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addEquipmentStandard(self, string: typing.Union[java.lang.String, str], standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType) -> 'TechnicalRequirementsDocument.Builder': ... + def addStandard(self, string: typing.Union[java.lang.String, str], standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType) -> 'TechnicalRequirementsDocument.Builder': ... + def build(self) -> 'TechnicalRequirementsDocument': ... + def companyIdentifier(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... + def customParameter(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'TechnicalRequirementsDocument.Builder': ... + @typing.overload + def environmentalConditions(self, double: float, double2: float) -> 'TechnicalRequirementsDocument.Builder': ... + @typing.overload + def environmentalConditions(self, environmentalConditions: 'TechnicalRequirementsDocument.EnvironmentalConditions') -> 'TechnicalRequirementsDocument.Builder': ... + def issueDate(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... + def materialSpecifications(self, materialSpecifications: 'TechnicalRequirementsDocument.MaterialSpecifications') -> 'TechnicalRequirementsDocument.Builder': ... + def projectId(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... + def projectName(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... + def revision(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... + def safetyFactors(self, safetyFactors: 'TechnicalRequirementsDocument.SafetyFactors') -> 'TechnicalRequirementsDocument.Builder': ... + def setStandards(self, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]) -> 'TechnicalRequirementsDocument.Builder': ... + class EnvironmentalConditions(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float, double5: float, string2: typing.Union[java.lang.String, str]): ... + def getDesignSeawaterTemperature(self) -> float: ... + def getLocation(self) -> java.lang.String: ... + def getMaxAmbientTemperature(self) -> float: ... + def getMinAmbientTemperature(self) -> float: ... + def getSeismicZone(self) -> java.lang.String: ... + def getWaveHeight(self) -> float: ... + def getWindSpeed(self) -> float: ... + class MaterialSpecifications(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool, string3: typing.Union[java.lang.String, str]): ... + def getDefaultPipeMaterial(self) -> java.lang.String: ... + def getDefaultPlateMaterial(self) -> java.lang.String: ... + def getMaterialStandard(self) -> java.lang.String: ... + def getMaxDesignTemperature(self) -> float: ... + def getMinDesignTemperature(self) -> float: ... + def isImpactTestingRequired(self) -> bool: ... + class SafetyFactors(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def getCorrosionAllowance(self) -> float: ... + def getLoadFactor(self) -> float: ... + def getPressureSafetyFactor(self) -> float: ... + def getTemperatureSafetyMargin(self) -> float: ... + def getWallThicknessTolerance(self) -> float: ... + +class TorgDataSource: + def getAvailableCompanies(self) -> java.util.List[java.lang.String]: ... + def getAvailableProjectIds(self) -> java.util.List[java.lang.String]: ... + def hasProject(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isWritable(self) -> bool: ... + def loadByCompanyAndProject(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByProjectId(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def store(self, technicalRequirementsDocument: TechnicalRequirementsDocument) -> bool: ... + def update(self, technicalRequirementsDocument: TechnicalRequirementsDocument) -> bool: ... + +class TorgManager: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, torgDataSource: TorgDataSource): ... + def addDataSource(self, torgDataSource: TorgDataSource) -> 'TorgManager': ... + def apply(self, technicalRequirementsDocument: TechnicalRequirementsDocument, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def applyToEquipment(self, technicalRequirementsDocument: TechnicalRequirementsDocument, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def generateSummary(self) -> java.lang.String: ... + def getActiveTorg(self) -> TechnicalRequirementsDocument: ... + def getAllAppliedStandards(self) -> java.util.Map[java.lang.String, java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]]: ... + def getAppliedStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def getAvailableProjects(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def load(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + @typing.overload + def load(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadAndApply(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + def reset(self) -> None: ... + def setActiveTorg(self, technicalRequirementsDocument: TechnicalRequirementsDocument) -> None: ... + +class CsvTorgDataSource(TorgDataSource): + def __init__(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]): ... + @staticmethod + def fromResource(string: typing.Union[java.lang.String, str]) -> 'CsvTorgDataSource': ... + def getAvailableCompanies(self) -> java.util.List[java.lang.String]: ... + def getAvailableProjectIds(self) -> java.util.List[java.lang.String]: ... + def loadByCompanyAndProject(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByProjectId(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + +class DatabaseTorgDataSource(TorgDataSource): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, boolean: bool): ... + def getAvailableCompanies(self) -> java.util.List[java.lang.String]: ... + def getAvailableProjectIds(self) -> java.util.List[java.lang.String]: ... + def loadByCompanyAndProject(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByProjectId(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.torg")``. + + CsvTorgDataSource: typing.Type[CsvTorgDataSource] + DatabaseTorgDataSource: typing.Type[DatabaseTorgDataSource] + TechnicalRequirementsDocument: typing.Type[TechnicalRequirementsDocument] + TorgDataSource: typing.Type[TorgDataSource] + TorgManager: typing.Type[TorgManager] diff --git a/src/jneqsim/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim/process/mechanicaldesign/valve/__init__.pyi new file mode 100644 index 00000000..a4d0ab88 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/valve/__init__.pyi @@ -0,0 +1,363 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.valve +import jneqsim.process.mechanicaldesign +import jneqsim.process.mechanicaldesign.valve.choke +import typing + + + +class ControlValveSizingInterface: + def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def getxT(self) -> float: ... + def isAllowChoked(self) -> bool: ... + def setAllowChoked(self, boolean: bool) -> None: ... + def setxT(self, double: float) -> None: ... + +class ValveCharacteristic(java.io.Serializable): + def getActualKv(self, double: float, double2: float) -> float: ... + def getOpeningFactor(self, double: float) -> float: ... + +class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calcValveSize(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def displayResults(self) -> None: ... + def getActuatorWeight(self) -> float: ... + def getAnsiPressureClass(self) -> int: ... + def getBodyWallThickness(self) -> float: ... + def getBodyWeight(self) -> float: ... + def getChokeDiameter(self) -> float: ... + def getDesignPressure(self) -> float: ... + def getDesignTemperature(self) -> float: ... + def getDp(self) -> float: ... + def getFL(self) -> float: ... + def getFaceToFace(self) -> float: ... + def getFlangeType(self) -> java.lang.String: ... + def getInletPressure(self) -> float: ... + def getNominalSizeInches(self) -> float: ... + def getOutletPressure(self) -> float: ... + def getRequiredActuatorThrust(self) -> float: ... + def getResponse(self) -> 'ValveMechanicalDesignResponse': ... + def getStemDiameter(self) -> float: ... + def getValveCharacterization(self) -> java.lang.String: ... + def getValveCharacterizationMethod(self) -> ValveCharacteristic: ... + def getValveCvMax(self) -> float: ... + def getValveSizingMethod(self) -> ControlValveSizingInterface: ... + def getValveSizingStandard(self) -> java.lang.String: ... + def getValveType(self) -> java.lang.String: ... + def getxT(self) -> float: ... + def readDesignSpecifications(self) -> None: ... + def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setChokeDischargeCoefficient(self, double: float) -> None: ... + def setValveCharacterization(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setValveCharacterizationMethod(self, valveCharacteristic: ValveCharacteristic) -> None: ... + def setValveSizingStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + +class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... + def getActuatorType(self) -> java.lang.String: ... + def getActuatorWeight(self) -> float: ... + def getAnsiPressureClass(self) -> int: ... + def getBodyWallThickness(self) -> float: ... + def getBodyWeight(self) -> float: ... + def getCavitationIndex(self) -> float: ... + def getCvMax(self) -> float: ... + def getCvRequired(self) -> float: ... + def getFaceToFace(self) -> float: ... + def getFlFactor(self) -> float: ... + def getFlangeType(self) -> java.lang.String: ... + def getFlowRegime(self) -> java.lang.String: ... + def getInletPressure(self) -> float: ... + def getKv(self) -> float: ... + def getMassFlowRate(self) -> float: ... + def getNoiseLevel(self) -> float: ... + def getNominalSizeInches(self) -> float: ... + def getOutletPressure(self) -> float: ... + def getPressureDrop(self) -> float: ... + def getRequiredActuatorThrust(self) -> float: ... + def getStemDiameter(self) -> float: ... + def getValveCharacteristic(self) -> java.lang.String: ... + def getValveOpening(self) -> float: ... + def getValveType(self) -> java.lang.String: ... + def getVolumetricFlowRate(self) -> float: ... + def getXtFactor(self) -> float: ... + def isChoked(self) -> bool: ... + def populateFromValveDesign(self, valveMechanicalDesign: ValveMechanicalDesign) -> None: ... + def setActuatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setActuatorWeight(self, double: float) -> None: ... + def setAnsiPressureClass(self, int: int) -> None: ... + def setBodyWallThickness(self, double: float) -> None: ... + def setBodyWeight(self, double: float) -> None: ... + def setCavitationIndex(self, double: float) -> None: ... + def setChoked(self, boolean: bool) -> None: ... + def setCvMax(self, double: float) -> None: ... + def setCvRequired(self, double: float) -> None: ... + def setFaceToFace(self, double: float) -> None: ... + def setFlFactor(self, double: float) -> None: ... + def setFlangeType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRegime(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setKv(self, double: float) -> None: ... + def setMassFlowRate(self, double: float) -> None: ... + def setNoiseLevel(self, double: float) -> None: ... + def setNominalSizeInches(self, double: float) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setRequiredActuatorThrust(self, double: float) -> None: ... + def setStemDiameter(self, double: float) -> None: ... + def setValveCharacteristic(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setValveOpening(self, double: float) -> None: ... + def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVolumetricFlowRate(self, double: float) -> None: ... + def setXtFactor(self, double: float) -> None: ... + +class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... + def calcKv(self, double: float) -> float: ... + def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateMolarFlow(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateOutletPressure(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def getValveMechanicalDesign(self) -> ValveMechanicalDesign: ... + def getxT(self) -> float: ... + def isAllowChoked(self) -> bool: ... + def setAllowChoked(self, boolean: bool) -> None: ... + def setxT(self, double: float) -> None: ... + +class ControlValveSizing_MultiphaseChoke(ControlValveSizingInterface, java.io.Serializable): + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign, string: typing.Union[java.lang.String, str]): ... + def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def getChokeDiameter(self) -> float: ... + def getChokeModel(self) -> jneqsim.process.mechanicaldesign.valve.choke.MultiphaseChokeFlow: ... + def getChokeReport(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> java.lang.String: ... + def getDischargeCoefficient(self) -> float: ... + def getModelType(self) -> java.lang.String: ... + def getxT(self) -> float: ... + def isAllowChoked(self) -> bool: ... + def isAllowLaminar(self) -> bool: ... + def setAllowChoked(self, boolean: bool) -> None: ... + def setAllowLaminar(self, boolean: bool) -> None: ... + def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setChokeModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDischargeCoefficient(self, double: float) -> None: ... + def setxT(self, double: float) -> None: ... + +class EqualPercentageCharacteristic(ValveCharacteristic): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def getActualKv(self, double: float, double2: float) -> float: ... + def getOpeningFactor(self, double: float) -> float: ... + def getRangeability(self) -> float: ... + def setRangeability(self, double: float) -> None: ... + +class LinearCharacteristic(ValveCharacteristic): + def __init__(self): ... + def getActualKv(self, double: float, double2: float) -> float: ... + def getOpeningFactor(self, double: float) -> float: ... + +class ModifiedParabolicCharacteristic(ValveCharacteristic): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def getActualKv(self, double: float, double2: float) -> float: ... + def getExponent(self) -> float: ... + def getOpeningFactor(self, double: float) -> float: ... + def setExponent(self, double: float) -> None: ... + +class QuickOpeningCharacteristic(ValveCharacteristic): + def __init__(self): ... + def getActualKv(self, double: float, double2: float) -> float: ... + def getOpeningFactor(self, double: float) -> float: ... + +class SafetyValveMechanicalDesign(ValveMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def calcGasOrificeAreaAPI520(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + def getControllingOrificeArea(self) -> float: ... + def getControllingScenarioName(self) -> java.lang.String: ... + def getOrificeArea(self) -> float: ... + def getScenarioReports(self) -> java.util.Map[java.lang.String, 'SafetyValveMechanicalDesign.SafetyValveScenarioReport']: ... + def getScenarioResults(self) -> java.util.Map[java.lang.String, 'SafetyValveMechanicalDesign.SafetyValveScenarioResult']: ... + class SafetyValveScenarioReport: + def getBackPressureBar(self) -> float: ... + def getFluidService(self) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... + def getOverpressureMarginBar(self) -> float: ... + def getRelievingPressureBar(self) -> float: ... + def getRequiredOrificeArea(self) -> float: ... + def getScenarioName(self) -> java.lang.String: ... + def getSetPressureBar(self) -> float: ... + def getSizingStandard(self) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... + def isActiveScenario(self) -> bool: ... + def isControllingScenario(self) -> bool: ... + class SafetyValveScenarioResult: + def getBackPressureBar(self) -> float: ... + def getBackPressurePa(self) -> float: ... + def getFluidService(self) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... + def getOverpressureMarginBar(self) -> float: ... + def getOverpressureMarginPa(self) -> float: ... + def getRelievingPressureBar(self) -> float: ... + def getRelievingPressurePa(self) -> float: ... + def getRequiredOrificeArea(self) -> float: ... + def getScenarioName(self) -> java.lang.String: ... + def getSetPressureBar(self) -> float: ... + def getSetPressurePa(self) -> float: ... + def getSizingStandard(self) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... + def isActiveScenario(self) -> bool: ... + def isControllingScenario(self) -> bool: ... + +class ControlValveSizing_IEC_60534(ControlValveSizing): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... + def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... + @typing.overload + def calculateFlowRateFromKvAndValveOpeningGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... + @typing.overload + def calculateFlowRateFromKvAndValveOpeningGas(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateFlowRateFromValveOpeningGas(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpeningLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpeningLiquid(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, boolean: bool) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateGas(self, double: float, double2: float, double3: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateLiquid(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def findOutletPressureForFixedKvGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @typing.overload + def findOutletPressureForFixedKvGas(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def findOutletPressureForFixedKvLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool, boolean2: bool) -> float: ... + @typing.overload + def findOutletPressureForFixedKvLiquid(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def getD(self) -> float: ... + def getD1(self) -> float: ... + def getD2(self) -> float: ... + def getFL(self) -> float: ... + def getFd(self) -> float: ... + def getValve(self) -> jneqsim.process.equipment.valve.ValveInterface: ... + def isAllowChoked(self) -> bool: ... + def isAllowLaminar(self) -> bool: ... + def isFullOutput(self) -> bool: ... + def setAllowChoked(self, boolean: bool) -> None: ... + def setAllowLaminar(self, boolean: bool) -> None: ... + def setD(self, double: float) -> None: ... + def setD1(self, double: float) -> None: ... + def setD2(self, double: float) -> None: ... + def setFL(self, double: float) -> None: ... + def setFd(self, double: float) -> None: ... + def setFullOutput(self, boolean: bool) -> None: ... + def sizeControlValve(self, fluidType: 'ControlValveSizing_IEC_60534.FluidType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, boolean: bool, boolean2: bool, boolean3: bool, double15: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def sizeControlValveGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def sizeControlValveLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> java.util.Map[java.lang.String, typing.Any]: ... + class FluidType(java.lang.Enum['ControlValveSizing_IEC_60534.FluidType']): + LIQUID: typing.ClassVar['ControlValveSizing_IEC_60534.FluidType'] = ... + GAS: typing.ClassVar['ControlValveSizing_IEC_60534.FluidType'] = ... + _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]) -> 'ControlValveSizing_IEC_60534.FluidType': ... + @staticmethod + def values() -> typing.MutableSequence['ControlValveSizing_IEC_60534.FluidType']: ... + +class ControlValveSizing_simple(ControlValveSizing): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... + def calcKv(self, double: float) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpening(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateMolarFlow(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateOutletPressure(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, double3: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def findOutletPressureForFixedKv(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def getCd(self) -> float: ... + def setCd(self, double: float) -> None: ... + +class ControlValveSizing_IEC_60534_full(ControlValveSizing_IEC_60534): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... + def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, double3: float) -> float: ... + def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def isFullTrim(self) -> bool: ... + def setFullTrim(self, boolean: bool) -> None: ... + def sizeControlValveGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def sizeControlValveLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.valve")``. + + ControlValveSizing: typing.Type[ControlValveSizing] + ControlValveSizingInterface: typing.Type[ControlValveSizingInterface] + ControlValveSizing_IEC_60534: typing.Type[ControlValveSizing_IEC_60534] + ControlValveSizing_IEC_60534_full: typing.Type[ControlValveSizing_IEC_60534_full] + ControlValveSizing_MultiphaseChoke: typing.Type[ControlValveSizing_MultiphaseChoke] + ControlValveSizing_simple: typing.Type[ControlValveSizing_simple] + EqualPercentageCharacteristic: typing.Type[EqualPercentageCharacteristic] + LinearCharacteristic: typing.Type[LinearCharacteristic] + ModifiedParabolicCharacteristic: typing.Type[ModifiedParabolicCharacteristic] + QuickOpeningCharacteristic: typing.Type[QuickOpeningCharacteristic] + SafetyValveMechanicalDesign: typing.Type[SafetyValveMechanicalDesign] + ValveCharacteristic: typing.Type[ValveCharacteristic] + ValveMechanicalDesign: typing.Type[ValveMechanicalDesign] + ValveMechanicalDesignResponse: typing.Type[ValveMechanicalDesignResponse] + choke: jneqsim.process.mechanicaldesign.valve.choke.__module_protocol__ diff --git a/src/jneqsim/process/mechanicaldesign/valve/choke/__init__.pyi b/src/jneqsim/process/mechanicaldesign/valve/choke/__init__.pyi new file mode 100644 index 00000000..4ba40bb8 --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/valve/choke/__init__.pyi @@ -0,0 +1,139 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.thermo.system +import typing + + + +class MultiphaseChokeFlow(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def calculateCriticalPressureRatio(self, double: float, double2: float) -> float: ... + def calculateDownstreamPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateGLR(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateGasQuality(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateSizingResults(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def determineFlowRegime(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> 'MultiphaseChokeFlow.FlowRegime': ... + def getChokeArea(self) -> float: ... + def getChokeDiameter(self) -> float: ... + def getDischargeCoefficient(self) -> float: ... + def getModelName(self) -> java.lang.String: ... + def getPolytropicExponent(self) -> float: ... + def getUpstreamDiameter(self) -> float: ... + @typing.overload + def setChokeDiameter(self, double: float) -> None: ... + @typing.overload + def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDischargeCoefficient(self, double: float) -> None: ... + def setPolytropicExponent(self, double: float) -> None: ... + def setUpstreamDiameter(self, double: float) -> None: ... + class FlowRegime(java.lang.Enum['MultiphaseChokeFlow.FlowRegime']): + CRITICAL: typing.ClassVar['MultiphaseChokeFlow.FlowRegime'] = ... + SUBCRITICAL: typing.ClassVar['MultiphaseChokeFlow.FlowRegime'] = ... + UNKNOWN: typing.ClassVar['MultiphaseChokeFlow.FlowRegime'] = ... + _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]) -> 'MultiphaseChokeFlow.FlowRegime': ... + @staticmethod + def values() -> typing.MutableSequence['MultiphaseChokeFlow.FlowRegime']: ... + +class MultiphaseChokeFlowFactory: + @staticmethod + def createDefaultModel() -> MultiphaseChokeFlow: ... + @typing.overload + @staticmethod + def createModel(string: typing.Union[java.lang.String, str]) -> MultiphaseChokeFlow: ... + @typing.overload + @staticmethod + def createModel(modelType: 'MultiphaseChokeFlowFactory.ModelType') -> MultiphaseChokeFlow: ... + @typing.overload + @staticmethod + def createModel(modelType: 'MultiphaseChokeFlowFactory.ModelType', double: float) -> MultiphaseChokeFlow: ... + @staticmethod + def recommendModel(double: float, boolean: bool) -> 'MultiphaseChokeFlowFactory.ModelType': ... + class ModelType(java.lang.Enum['MultiphaseChokeFlowFactory.ModelType']): + SACHDEVA: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... + GILBERT: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... + BAXENDELL: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... + ROS: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... + ACHONG: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... + _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]) -> 'MultiphaseChokeFlowFactory.ModelType': ... + @staticmethod + def values() -> typing.MutableSequence['MultiphaseChokeFlowFactory.ModelType']: ... + +class GilbertChokeFlow(MultiphaseChokeFlow): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + @typing.overload + def __init__(self, correlationType: 'GilbertChokeFlow.CorrelationType'): ... + def calculateCriticalPressureRatio(self, double: float, double2: float) -> float: ... + def calculateDownstreamPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateRequiredChokeDiameter(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def getCorrelationConstant(self) -> float: ... + def getCorrelationType(self) -> 'GilbertChokeFlow.CorrelationType': ... + def getDiameterExponent(self) -> float: ... + def getGlrExponent(self) -> float: ... + def getModelName(self) -> java.lang.String: ... + def setCorrelationConstant(self, double: float) -> None: ... + def setCorrelationType(self, correlationType: 'GilbertChokeFlow.CorrelationType') -> None: ... + def setDiameterExponent(self, double: float) -> None: ... + def setGlrExponent(self, double: float) -> None: ... + class CorrelationType(java.lang.Enum['GilbertChokeFlow.CorrelationType']): + GILBERT: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... + BAXENDELL: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... + ROS: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... + ACHONG: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... + CUSTOM: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... + _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]) -> 'GilbertChokeFlow.CorrelationType': ... + @staticmethod + def values() -> typing.MutableSequence['GilbertChokeFlow.CorrelationType']: ... + +class SachdevaChokeFlow(MultiphaseChokeFlow): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def calculateCriticalPressureRatio(self, double: float, double2: float) -> float: ... + def calculateDownstreamPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateVariableDischargeCoefficient(self, double: float, double2: float) -> float: ... + def getModelName(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.valve.choke")``. + + GilbertChokeFlow: typing.Type[GilbertChokeFlow] + MultiphaseChokeFlow: typing.Type[MultiphaseChokeFlow] + MultiphaseChokeFlowFactory: typing.Type[MultiphaseChokeFlowFactory] + SachdevaChokeFlow: typing.Type[SachdevaChokeFlow] diff --git a/src/jneqsim/process/mechanicaldesign/watertreatment/__init__.pyi b/src/jneqsim/process/mechanicaldesign/watertreatment/__init__.pyi new file mode 100644 index 00000000..016dc37a --- /dev/null +++ b/src/jneqsim/process/mechanicaldesign/watertreatment/__init__.pyi @@ -0,0 +1,47 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.mechanicaldesign.separator +import typing + + + +class HydrocycloneMechanicalDesign(jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def calcDesign(self) -> None: ... + def getAllowableStressMPa(self) -> float: ... + def getCorrosionAllowanceMm(self) -> float: ... + def getDesignPressureBarg(self) -> float: ... + def getDesignTemperatureHighC(self) -> float: ... + def getDesignTemperatureLowC(self) -> float: ... + def getEmptyVesselWeightKg(self) -> float: ... + def getHeadThicknessMm(self) -> float: ... + def getHydrocycloneDesignSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getInletNozzleIdMm(self) -> float: ... + def getLinerWeightPerVesselKg(self) -> float: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getNumberOfVessels(self) -> int: ... + def getOverflowNozzleIdMm(self) -> float: ... + def getRejectNozzleIdMm(self) -> float: ... + def getResponse(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesignResponse: ... + def getVesselInnerDiameterM(self) -> float: ... + def getVesselLengthM(self) -> float: ... + def getVesselWallThicknessMm(self) -> float: ... + def setAllowableStressMPa(self, double: float) -> None: ... + def setCorrosionAllowanceMm(self, double: float) -> None: ... + def setDesignPressureMarginFactor(self, double: float) -> None: ... + def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.watertreatment")``. + + HydrocycloneMechanicalDesign: typing.Type[HydrocycloneMechanicalDesign] diff --git a/src/jneqsim/process/ml/__init__.pyi b/src/jneqsim/process/ml/__init__.pyi new file mode 100644 index 00000000..0635b913 --- /dev/null +++ b/src/jneqsim/process/ml/__init__.pyi @@ -0,0 +1,301 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import java.util.function +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.separator +import jneqsim.process.ml.controllers +import jneqsim.process.ml.examples +import jneqsim.process.ml.multiagent +import jneqsim.process.ml.surrogate +import jneqsim.process.processmodel +import typing + + + +class ActionVector(java.io.Serializable): + def __init__(self): ... + def define(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ActionVector': ... + def get(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getActionNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getLowerBounds(self) -> typing.MutableSequence[float]: ... + def getUpperBounds(self) -> typing.MutableSequence[float]: ... + def isAtBound(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def set(self, string: typing.Union[java.lang.String, str], double: float) -> 'ActionVector': ... + def setFromNormalizedArray(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ActionVector': ... + def setNormalized(self, string: typing.Union[java.lang.String, str], double: float) -> 'ActionVector': ... + def size(self) -> int: ... + def toArray(self) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + +class Constraint(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], type: 'Constraint.Type', category: 'Constraint.Category', string3: typing.Union[java.lang.String, str], double: float, double2: float, string4: typing.Union[java.lang.String, str]): ... + def evaluate(self, double: float) -> 'Constraint': ... + def getCategory(self) -> 'Constraint.Category': ... + def getCurrentValue(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getLowerBound(self) -> float: ... + def getMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNormalizedViolation(self) -> float: ... + def getType(self) -> 'Constraint.Type': ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def getVariableName(self) -> java.lang.String: ... + def getViolation(self) -> float: ... + def isHard(self) -> bool: ... + def isViolated(self) -> bool: ... + @staticmethod + def lowerBound(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], type: 'Constraint.Type') -> 'Constraint': ... + def project(self, double: float) -> float: ... + @staticmethod + def range(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], type: 'Constraint.Type') -> 'Constraint': ... + def toString(self) -> java.lang.String: ... + @staticmethod + def upperBound(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], type: 'Constraint.Type') -> 'Constraint': ... + class Category(java.lang.Enum['Constraint.Category']): + PHYSICAL: typing.ClassVar['Constraint.Category'] = ... + SAFETY: typing.ClassVar['Constraint.Category'] = ... + EQUIPMENT: typing.ClassVar['Constraint.Category'] = ... + OPERATIONAL: typing.ClassVar['Constraint.Category'] = ... + ECONOMIC: typing.ClassVar['Constraint.Category'] = ... + _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]) -> 'Constraint.Category': ... + @staticmethod + def values() -> typing.MutableSequence['Constraint.Category']: ... + class Type(java.lang.Enum['Constraint.Type']): + HARD: typing.ClassVar['Constraint.Type'] = ... + SOFT: typing.ClassVar['Constraint.Type'] = ... + INFO: typing.ClassVar['Constraint.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]) -> 'Constraint.Type': ... + @staticmethod + def values() -> typing.MutableSequence['Constraint.Type']: ... + +class ConstraintManager(java.io.Serializable): + def __init__(self): ... + def add(self, constraint: Constraint) -> 'ConstraintManager': ... + def addHardLowerBound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'ConstraintManager': ... + def addHardRange(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]) -> 'ConstraintManager': ... + def addHardUpperBound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'ConstraintManager': ... + def addSoftRange(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]) -> 'ConstraintManager': ... + def addViolationListener(self, constraintViolationListener: typing.Union['ConstraintManager.ConstraintViolationListener', typing.Callable]) -> None: ... + def clear(self) -> None: ... + def evaluate(self, stateVector: 'StateVector') -> java.util.List[Constraint]: ... + def explainViolations(self) -> java.lang.String: ... + def get(self, string: typing.Union[java.lang.String, str]) -> Constraint: ... + def getAll(self) -> java.util.List[Constraint]: ... + def getMinHardMargin(self) -> float: ... + def getTotalViolationPenalty(self) -> float: ... + def getViolations(self) -> java.util.List[Constraint]: ... + def getViolationsByCategory(self, category: Constraint.Category) -> java.util.List[Constraint]: ... + def hasHardViolation(self) -> bool: ... + def size(self) -> int: ... + def toString(self) -> java.lang.String: ... + class ConstraintViolationListener: + def onViolation(self, constraint: Constraint) -> None: ... + +class EpisodeRunner(java.io.Serializable): + def __init__(self, gymEnvironment: 'GymEnvironment'): ... + def benchmark(self, controller: jneqsim.process.ml.controllers.Controller, int: int, int2: int) -> 'EpisodeRunner.BenchmarkResult': ... + def compareControllers(self, list: java.util.List[jneqsim.process.ml.controllers.Controller], int: int, int2: int) -> java.util.List['EpisodeRunner.BenchmarkResult']: ... + @staticmethod + def printComparison(list: java.util.List['EpisodeRunner.BenchmarkResult']) -> None: ... + def runEpisode(self, controller: jneqsim.process.ml.controllers.Controller, int: int) -> 'EpisodeRunner.EpisodeResult': ... + def setPrintInterval(self, int: int) -> 'EpisodeRunner': ... + def setVerbose(self, boolean: bool) -> 'EpisodeRunner': ... + class BenchmarkResult(java.io.Serializable): + controllerName: java.lang.String = ... + numEpisodes: int = ... + meanReward: float = ... + stdReward: float = ... + meanLength: float = ... + successRate: float = ... + minReward: float = ... + maxReward: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def toString(self) -> java.lang.String: ... + class EpisodeResult(java.io.Serializable): + totalReward: float = ... + steps: int = ... + terminated: bool = ... + observations: java.util.List = ... + actions: java.util.List = ... + rewards: java.util.List = ... + finalObservation: typing.MutableSequence[float] = ... + def __init__(self, double: float, int: int, boolean: bool, list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], list2: java.util.List[typing.Union[typing.List[float], jpype.JArray]], list3: java.util.List[float], doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def getFeatureTrajectory(self, int: int) -> typing.MutableSequence[float]: ... + def getMeanReward(self) -> float: ... + def getObservation(self, int: int, int2: int) -> float: ... + +class EquipmentStateAdapter(java.io.Serializable): + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + @staticmethod + def forSeparator(separatorInterface: jneqsim.process.equipment.separator.SeparatorInterface) -> 'EquipmentStateAdapter': ... + def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getStateVector(self) -> 'StateVector': ... + def setCustomExtractor(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, 'StateVector'], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], 'StateVector']]) -> 'EquipmentStateAdapter': ... + +class GymEnvironment(java.io.Serializable): + def __init__(self): ... + def getActionDim(self) -> int: ... + def getActionHigh(self) -> typing.MutableSequence[float]: ... + def getActionLow(self) -> typing.MutableSequence[float]: ... + def getCurrentStep(self) -> int: ... + def getEnvId(self) -> java.lang.String: ... + def getEpisodeReward(self) -> float: ... + def getMaxEpisodeSteps(self) -> int: ... + def getObservationDim(self) -> int: ... + def getObservationHigh(self) -> typing.MutableSequence[float]: ... + def getObservationLow(self) -> typing.MutableSequence[float]: ... + def isDone(self) -> bool: ... + @typing.overload + def reset(self) -> 'GymEnvironment.ResetResult': ... + @typing.overload + def reset(self, long: int, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'GymEnvironment.ResetResult': ... + def setMaxEpisodeSteps(self, int: int) -> None: ... + def step(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'GymEnvironment.StepResult': ... + class ResetResult(java.io.Serializable): + observation: typing.MutableSequence[float] = ... + info: java.util.Map = ... + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]): ... + class StepResult(java.io.Serializable): + observation: typing.MutableSequence[float] = ... + reward: float = ... + terminated: bool = ... + truncated: bool = ... + info: java.util.Map = ... + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, boolean: bool, boolean2: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]): ... + +class ProcessRewardFunction(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addConstraintPenalty(self, double: float) -> 'ProcessRewardFunction': ... + def addEnergyMinimization(self, double: float) -> 'ProcessRewardFunction': ... + def addProductQualityTarget(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessRewardFunction': ... + def addSpecificEnergyMinimization(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessRewardFunction': ... + def addThroughputMaximization(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessRewardFunction': ... + def compute(self) -> float: ... + @staticmethod + def constraintSatisfaction(processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + @staticmethod + def energyEfficiency(processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getBreakdownJson(self) -> java.lang.String: ... + def getLastBreakdown(self) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def productQuality(processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def specificEnergy(processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def throughput(processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> float: ... + +class RLEnvironment(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addConstraint(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]) -> 'RLEnvironment': ... + def defineAction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'RLEnvironment': ... + def getActionSpace(self) -> ActionVector: ... + def getConstraintManager(self) -> ConstraintManager: ... + def getCurrentTime(self) -> float: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getStepCount(self) -> int: ... + def isDone(self) -> bool: ... + def reset(self) -> 'StateVector': ... + def setMaxEpisodeTime(self, double: float) -> 'RLEnvironment': ... + def setRewardWeights(self, double: float, double2: float, double3: float, double4: float) -> 'RLEnvironment': ... + def setTimeStep(self, double: float) -> 'RLEnvironment': ... + def step(self, actionVector: ActionVector) -> 'RLEnvironment.StepResult': ... + class StepInfo(java.io.Serializable): + constraintPenalty: float = ... + energyConsumption: float = ... + throughput: float = ... + simulationTime: float = ... + hardViolation: bool = ... + violationExplanation: java.lang.String = ... + def __init__(self): ... + class StepResult(java.io.Serializable): + observation: 'StateVector' = ... + reward: float = ... + done: bool = ... + truncated: bool = ... + info: 'RLEnvironment.StepInfo' = ... + def __init__(self, stateVector: 'StateVector', double: float, boolean: bool, boolean2: bool, stepInfo: 'RLEnvironment.StepInfo'): ... + +class StateVector(java.io.Serializable): + def __init__(self): ... + @typing.overload + def add(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str]) -> 'StateVector': ... + @typing.overload + def add(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'StateVector': ... + def getFeatureNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getLowerBounds(self) -> typing.MutableSequence[float]: ... + def getNormalized(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTimestampMs(self) -> int: ... + def getUpperBounds(self) -> typing.MutableSequence[float]: ... + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def size(self) -> int: ... + def toArray(self) -> typing.MutableSequence[float]: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toNormalizedArray(self) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + +class StateVectorProvider: + def getStateDimension(self) -> int: ... + def getStateNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getStateVector(self) -> StateVector: ... + +class TrainingDataCollector(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def clear(self) -> None: ... + def defineInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'TrainingDataCollector': ... + def defineOutput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'TrainingDataCollector': ... + def endSample(self) -> None: ... + def exportCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getInputStatistics(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getName(self) -> java.lang.String: ... + def getOutputStatistics(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getSampleCount(self) -> int: ... + def getSummary(self) -> java.lang.String: ... + def recordInput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def recordOutput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def recordStateAsInputs(self, stateVector: StateVector) -> None: ... + def recordStateAsOutputs(self, stateVector: StateVector) -> None: ... + def startSample(self) -> None: ... + def toCSV(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml")``. + + ActionVector: typing.Type[ActionVector] + Constraint: typing.Type[Constraint] + ConstraintManager: typing.Type[ConstraintManager] + EpisodeRunner: typing.Type[EpisodeRunner] + EquipmentStateAdapter: typing.Type[EquipmentStateAdapter] + GymEnvironment: typing.Type[GymEnvironment] + ProcessRewardFunction: typing.Type[ProcessRewardFunction] + RLEnvironment: typing.Type[RLEnvironment] + StateVector: typing.Type[StateVector] + StateVectorProvider: typing.Type[StateVectorProvider] + TrainingDataCollector: typing.Type[TrainingDataCollector] + controllers: jneqsim.process.ml.controllers.__module_protocol__ + examples: jneqsim.process.ml.examples.__module_protocol__ + multiagent: jneqsim.process.ml.multiagent.__module_protocol__ + surrogate: jneqsim.process.ml.surrogate.__module_protocol__ diff --git a/src/jneqsim/process/ml/controllers/__init__.pyi b/src/jneqsim/process/ml/controllers/__init__.pyi new file mode 100644 index 00000000..bc9f4ebe --- /dev/null +++ b/src/jneqsim/process/ml/controllers/__init__.pyi @@ -0,0 +1,54 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import typing + + + +class Controller(java.io.Serializable): + def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getName(self) -> java.lang.String: ... + def reset(self) -> None: ... + +class BangBangController(Controller): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float): ... + def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getName(self) -> java.lang.String: ... + def reset(self) -> None: ... + +class PIDController(Controller): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getIntegral(self) -> float: ... + def getName(self) -> java.lang.String: ... + def reset(self) -> None: ... + +class ProportionalController(Controller): + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float): ... + def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getName(self) -> java.lang.String: ... + +class RandomController(Controller): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], long: int): ... + def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getName(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.controllers")``. + + BangBangController: typing.Type[BangBangController] + Controller: typing.Type[Controller] + PIDController: typing.Type[PIDController] + ProportionalController: typing.Type[ProportionalController] + RandomController: typing.Type[RandomController] diff --git a/src/jneqsim/process/ml/examples/__init__.pyi b/src/jneqsim/process/ml/examples/__init__.pyi new file mode 100644 index 00000000..ec6eafba --- /dev/null +++ b/src/jneqsim/process/ml/examples/__init__.pyi @@ -0,0 +1,60 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.valve +import jneqsim.process.ml +import jneqsim.process.ml.multiagent +import jneqsim.process.processmodel +import typing + + + +class FlashSurrogateDataGenerator: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class SeparatorCompressorMultiAgentEnv(jneqsim.process.ml.multiagent.MultiAgentEnvironment): + def __init__(self): ... + def applyFeedDisturbance(self, double: float) -> None: ... + def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... + +class SeparatorGymEnv(jneqsim.process.ml.GymEnvironment): + def __init__(self): ... + def getActionNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getLevelSetpoint(self) -> float: ... + def getLiquidLevel(self) -> float: ... + def getObservationNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getValvePosition(self) -> float: ... + def setLevelSetpoint(self, double: float) -> None: ... + +class SeparatorLevelControlEnv(jneqsim.process.ml.RLEnvironment): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getLiquidValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setLevelSetpoint(self, double: float) -> None: ... + def setPressureSetpoint(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.examples")``. + + FlashSurrogateDataGenerator: typing.Type[FlashSurrogateDataGenerator] + SeparatorCompressorMultiAgentEnv: typing.Type[SeparatorCompressorMultiAgentEnv] + SeparatorGymEnv: typing.Type[SeparatorGymEnv] + SeparatorLevelControlEnv: typing.Type[SeparatorLevelControlEnv] diff --git a/src/jneqsim/process/ml/multiagent/__init__.pyi b/src/jneqsim/process/ml/multiagent/__init__.pyi new file mode 100644 index 00000000..123601a8 --- /dev/null +++ b/src/jneqsim/process/ml/multiagent/__init__.pyi @@ -0,0 +1,117 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.valve +import jneqsim.process.ml +import jneqsim.process.processmodel +import typing + + + +class Agent(java.io.Serializable): + def applyAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getActionDim(self) -> int: ... + def getAgentId(self) -> java.lang.String: ... + def getLocalObservation(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def getMessage(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def getObservationDim(self) -> int: ... + def isTerminated(self, stateVector: jneqsim.process.ml.StateVector) -> bool: ... + def receiveMessages(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]]]) -> None: ... + +class MultiAgentEnvironment(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addAgent(self, agent: Agent) -> 'MultiAgentEnvironment': ... + def getAgent(self, string: typing.Union[java.lang.String, str]) -> Agent: ... + def getAgentIds(self) -> java.util.List[java.lang.String]: ... + def getCurrentGlobalState(self) -> jneqsim.process.ml.StateVector: ... + def getCurrentStep(self) -> int: ... + def getNumAgents(self) -> int: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def isDone(self) -> bool: ... + def reset(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def setCoordinationMode(self, coordinationMode: 'MultiAgentEnvironment.CoordinationMode') -> 'MultiAgentEnvironment': ... + def setMaxEpisodeSteps(self, int: int) -> 'MultiAgentEnvironment': ... + def setSharedConstraints(self, constraintManager: jneqsim.process.ml.ConstraintManager) -> 'MultiAgentEnvironment': ... + def step(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]]]) -> 'MultiAgentEnvironment.MultiAgentStepResult': ... + class CoordinationMode(java.lang.Enum['MultiAgentEnvironment.CoordinationMode']): + INDEPENDENT: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... + COOPERATIVE: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... + CTDE: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... + COMMUNICATING: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... + _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]) -> 'MultiAgentEnvironment.CoordinationMode': ... + @staticmethod + def values() -> typing.MutableSequence['MultiAgentEnvironment.CoordinationMode']: ... + class MultiAgentStepResult(java.io.Serializable): + observations: java.util.Map = ... + rewards: java.util.Map = ... + terminated: bool = ... + truncated: bool = ... + infos: java.util.Map = ... + globalState: jneqsim.process.ml.StateVector = ... + def __init__(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]]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], boolean: bool, boolean2: bool, map3: 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]]]], stateVector: jneqsim.process.ml.StateVector): ... + +class ProcessAgent(Agent): + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getActionDim(self) -> int: ... + def getActionHigh(self) -> typing.MutableSequence[float]: ... + def getActionLow(self) -> typing.MutableSequence[float]: ... + def getActionNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getAgentId(self) -> java.lang.String: ... + def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getLocalConstraints(self) -> jneqsim.process.ml.ConstraintManager: ... + def getObservationDim(self) -> int: ... + def getObservationNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getSetpoint(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isTerminated(self, stateVector: jneqsim.process.ml.StateVector) -> bool: ... + def setSetpoint(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessAgent': ... + +class CompressorAgent(ProcessAgent): + def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor): ... + def applyAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def getLocalObservation(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def isTerminated(self, stateVector: jneqsim.process.ml.StateVector) -> bool: ... + def setDischargePressureSetpoint(self, double: float) -> None: ... + def setSpeedRange(self, double: float, double2: float) -> None: ... + +class SeparatorAgent(ProcessAgent): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, throttlingValve2: jneqsim.process.equipment.valve.ThrottlingValve): ... + def applyAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getLocalObservation(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... + def setLevelSetpoint(self, double: float) -> None: ... + def setPressureSetpoint(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.multiagent")``. + + Agent: typing.Type[Agent] + CompressorAgent: typing.Type[CompressorAgent] + MultiAgentEnvironment: typing.Type[MultiAgentEnvironment] + ProcessAgent: typing.Type[ProcessAgent] + SeparatorAgent: typing.Type[SeparatorAgent] diff --git a/src/jneqsim/process/ml/surrogate/__init__.pyi b/src/jneqsim/process/ml/surrogate/__init__.pyi new file mode 100644 index 00000000..76ace2dd --- /dev/null +++ b/src/jneqsim/process/ml/surrogate/__init__.pyi @@ -0,0 +1,95 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import java.util.function +import jpype +import jneqsim.process.processmodel +import typing + + + +class PhysicsConstraintValidator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addFlowLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def addPressureLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def addTemperatureLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def isEnforceEnergyBalance(self) -> bool: ... + def isEnforceMassBalance(self) -> bool: ... + def isEnforcePhysicalBounds(self) -> bool: ... + def setEnergyBalanceTolerance(self, double: float) -> None: ... + def setEnforceEnergyBalance(self, boolean: bool) -> None: ... + def setEnforceMassBalance(self, boolean: bool) -> None: ... + def setEnforcePhysicalBounds(self, boolean: bool) -> None: ... + def setMassBalanceTolerance(self, double: float) -> None: ... + def validate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'PhysicsConstraintValidator.ValidationResult': ... + def validateCurrentState(self) -> 'PhysicsConstraintValidator.ValidationResult': ... + class ConstraintViolation(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]): ... + def getConstraintName(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def getVariable(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class ValidationResult(java.io.Serializable): + def __init__(self): ... + def getRejectionReason(self) -> java.lang.String: ... + def getViolations(self) -> java.util.List['PhysicsConstraintValidator.ConstraintViolation']: ... + def isValid(self) -> bool: ... + +class SurrogateModelRegistry(java.io.Serializable): + def clear(self) -> None: ... + def get(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional['SurrogateModelRegistry.SurrogateModel']: ... + def getAllModels(self) -> java.util.Map[java.lang.String, 'SurrogateModelRegistry.SurrogateMetadata']: ... + @staticmethod + def getInstance() -> 'SurrogateModelRegistry': ... + def getMetadata(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional['SurrogateModelRegistry.SurrogateMetadata']: ... + def getPersistenceDirectory(self) -> java.lang.String: ... + def hasModel(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isEnableFallback(self) -> bool: ... + def loadModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def predictWithFallback(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], function: typing.Union[java.util.function.Function[typing.Union[typing.List[float], jpype.JArray], typing.Union[typing.List[float], jpype.JArray]], typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], typing.Union[typing.List[float], jpype.JArray]]]) -> typing.MutableSequence[float]: ... + @typing.overload + def register(self, string: typing.Union[java.lang.String, str], surrogateModel: typing.Union['SurrogateModelRegistry.SurrogateModel', typing.Callable]) -> None: ... + @typing.overload + def register(self, string: typing.Union[java.lang.String, str], surrogateModel: typing.Union['SurrogateModelRegistry.SurrogateModel', typing.Callable], surrogateMetadata: 'SurrogateModelRegistry.SurrogateMetadata') -> None: ... + def saveModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setEnableFallback(self, boolean: bool) -> None: ... + def setPersistenceDirectory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def unregister(self, string: typing.Union[java.lang.String, str]) -> bool: ... + class SurrogateMetadata(java.io.Serializable): + def __init__(self): ... + def getExpectedAccuracy(self) -> float: ... + def getExtrapolationRate(self) -> float: ... + def getFailureCount(self) -> int: ... + def getFailureRate(self) -> float: ... + def getLastUsed(self) -> java.time.Instant: ... + def getModelType(self) -> java.lang.String: ... + def getPredictionCount(self) -> int: ... + def getTrainedAt(self) -> java.time.Instant: ... + def getTrainingDataSource(self) -> java.lang.String: ... + def isInputValid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... + def setExpectedAccuracy(self, double: float) -> None: ... + def setInputBounds(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTrainedAt(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> None: ... + def setTrainingDataSource(self, string: typing.Union[java.lang.String, str]) -> None: ... + class SurrogateModel(java.io.Serializable): + def getInputDimension(self) -> int: ... + def getOutputDimension(self) -> int: ... + def predict(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.surrogate")``. + + PhysicsConstraintValidator: typing.Type[PhysicsConstraintValidator] + SurrogateModelRegistry: typing.Type[SurrogateModelRegistry] diff --git a/src/jneqsim/process/mpc/__init__.pyi b/src/jneqsim/process/mpc/__init__.pyi new file mode 100644 index 00000000..e147ac19 --- /dev/null +++ b/src/jneqsim/process/mpc/__init__.pyi @@ -0,0 +1,663 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.processmodel +import typing + + + +class ControllerDataExchange(java.io.Serializable): + def __init__(self, processLinkedMPC: 'ProcessLinkedMPC'): ... + def execute(self) -> bool: ... + def getExecutionCount(self) -> int: ... + def getExecutionMessage(self) -> java.lang.String: ... + def getExecutionStatus(self) -> 'ControllerDataExchange.ExecutionStatus': ... + def getLastExecution(self) -> java.time.Instant: ... + def getLastInputUpdate(self) -> java.time.Instant: ... + def getMvTargets(self) -> typing.MutableSequence[float]: ... + def getOutputs(self) -> 'ControllerDataExchange.ControllerOutput': ... + def getSetpoints(self) -> typing.MutableSequence[float]: ... + def getStatus(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getVariableNames(self) -> java.util.Map[java.lang.String, java.util.List[java.lang.String]]: ... + def updateInputs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def updateInputsWithQuality(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], qualityStatusArray: typing.Union[typing.List['ControllerDataExchange.QualityStatus'], jpype.JArray], qualityStatusArray2: typing.Union[typing.List['ControllerDataExchange.QualityStatus'], jpype.JArray], qualityStatusArray3: typing.Union[typing.List['ControllerDataExchange.QualityStatus'], jpype.JArray]) -> None: ... + def updateLimits(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def updateSetpoints(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + class ControllerOutput(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], executionStatus: 'ControllerDataExchange.ExecutionStatus', string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime]): ... + def getCvPredictions(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMessage(self) -> java.lang.String: ... + def getMvTargets(self) -> typing.MutableSequence[float]: ... + def getStatus(self) -> 'ControllerDataExchange.ExecutionStatus': ... + def getTimestamp(self) -> java.time.Instant: ... + def isSuccess(self) -> bool: ... + class ExecutionStatus(java.lang.Enum['ControllerDataExchange.ExecutionStatus']): + READY: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... + SUCCESS: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... + WARNING: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... + FAILED: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... + MODEL_STALE: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... + _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]) -> 'ControllerDataExchange.ExecutionStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ControllerDataExchange.ExecutionStatus']: ... + class QualityStatus(java.lang.Enum['ControllerDataExchange.QualityStatus']): + GOOD: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... + BAD: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... + UNCERTAIN: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... + MANUAL: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... + CLAMPED: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... + _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]) -> 'ControllerDataExchange.QualityStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ControllerDataExchange.QualityStatus']: ... + +class IndustrialMPCExporter(java.io.Serializable): + def __init__(self, processLinkedMPC: 'ProcessLinkedMPC'): ... + def createDataExchange(self) -> ControllerDataExchange: ... + def createSoftSensorExporter(self) -> 'SoftSensorExporter': ... + def exportComprehensiveConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportGainMatrix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportObjectStructure(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportStepResponseCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportStepResponseModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportTransferFunctions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportVariableConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setApplicationName(self, string: typing.Union[java.lang.String, str]) -> 'IndustrialMPCExporter': ... + def setDefaultTimeConstant(self, double: float) -> 'IndustrialMPCExporter': ... + def setNumStepCoefficients(self, int: int) -> 'IndustrialMPCExporter': ... + def setTagPrefix(self, string: typing.Union[java.lang.String, str]) -> 'IndustrialMPCExporter': ... + +class LinearizationResult(java.io.Serializable): + @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], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], double6: float, long: int): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], long: int): ... + def formatGainMatrix(self) -> java.lang.String: ... + def getComputationTimeMs(self) -> int: ... + def getCvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getCvOperatingPoint(self) -> typing.MutableSequence[float]: ... + def getDisturbanceGain(self, int: int, int2: int) -> float: ... + def getDisturbanceGainMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getDvOperatingPoint(self) -> typing.MutableSequence[float]: ... + def getErrorMessage(self) -> java.lang.String: ... + @typing.overload + def getGain(self, int: int, int2: int) -> float: ... + @typing.overload + def getGain(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getGainMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGainsForCV(self, int: int) -> typing.MutableSequence[float]: ... + def getGainsForMV(self, int: int) -> typing.MutableSequence[float]: ... + def getMvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getMvOperatingPoint(self) -> typing.MutableSequence[float]: ... + def getNumCV(self) -> int: ... + def getNumDV(self) -> int: ... + def getNumMV(self) -> int: ... + def getPerturbationSize(self) -> float: ... + def isSuccessful(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class MPCVariable(java.io.Serializable): + def getCurrentValue(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getMaxValue(self) -> float: ... + def getMinValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPropertyName(self) -> java.lang.String: ... + def getType(self) -> 'MPCVariable.MPCVariableType': ... + def getUnit(self) -> java.lang.String: ... + def readValue(self) -> float: ... + def setBounds(self, double: float, double2: float) -> 'MPCVariable': ... + def setCurrentValue(self, double: float) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'MPCVariable': ... + def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'MPCVariable': ... + def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'MPCVariable': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'MPCVariable': ... + def toString(self) -> java.lang.String: ... + class MPCVariableType(java.lang.Enum['MPCVariable.MPCVariableType']): + MANIPULATED: typing.ClassVar['MPCVariable.MPCVariableType'] = ... + CONTROLLED: typing.ClassVar['MPCVariable.MPCVariableType'] = ... + DISTURBANCE: typing.ClassVar['MPCVariable.MPCVariableType'] = ... + STATE: typing.ClassVar['MPCVariable.MPCVariableType'] = ... + _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]) -> 'MPCVariable.MPCVariableType': ... + @staticmethod + def values() -> typing.MutableSequence['MPCVariable.MPCVariableType']: ... + +class NonlinearPredictor(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addCV(self, controlledVariable: 'ControlledVariable') -> 'NonlinearPredictor': ... + def addMV(self, manipulatedVariable: 'ManipulatedVariable') -> 'NonlinearPredictor': ... + def clear(self) -> 'NonlinearPredictor': ... + def getPredictionHorizon(self) -> int: ... + def getSampleTimeSeconds(self) -> float: ... + def predict(self, mVTrajectory: 'NonlinearPredictor.MVTrajectory') -> 'NonlinearPredictor.PredictionResult': ... + def predictConstant(self, *double: float) -> 'NonlinearPredictor.PredictionResult': ... + def setCloneProcess(self, boolean: bool) -> 'NonlinearPredictor': ... + def setPredictionHorizon(self, int: int) -> 'NonlinearPredictor': ... + def setSampleTime(self, double: float) -> 'NonlinearPredictor': ... + class MVTrajectory(java.io.Serializable): + def __init__(self): ... + def addMove(self, string: typing.Union[java.lang.String, str], double: float) -> 'NonlinearPredictor.MVTrajectory': ... + def clear(self) -> 'NonlinearPredictor.MVTrajectory': ... + def getLength(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getValue(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + def setMoves(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NonlinearPredictor.MVTrajectory': ... + class PredictionResult(java.io.Serializable): + def __init__(self, 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], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], double4: float): ... + def getCvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getFinalValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHorizon(self) -> int: ... + def getISE(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getMVTrajectory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getSampleTime(self) -> float: ... + def getTime(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getTrajectory(self, int: int) -> typing.MutableSequence[float]: ... + @typing.overload + def getTrajectory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + +class ProcessDerivativeCalculator: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def addInputVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessDerivativeCalculator': ... + @typing.overload + def addInputVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'ProcessDerivativeCalculator': ... + def addOutputVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessDerivativeCalculator': ... + def calculateHessian(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def clearInputVariables(self) -> 'ProcessDerivativeCalculator': ... + def clearOutputVariables(self) -> 'ProcessDerivativeCalculator': ... + def exportJacobianToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportJacobianToJSON(self) -> java.lang.String: ... + def getBaseInputValues(self) -> typing.MutableSequence[float]: ... + def getBaseOutputValues(self) -> typing.MutableSequence[float]: ... + def getDerivative(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getGradient(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getInputVariableNames(self) -> java.util.List[java.lang.String]: ... + def getOutputVariableNames(self) -> java.util.List[java.lang.String]: ... + def setMethod(self, derivativeMethod: 'ProcessDerivativeCalculator.DerivativeMethod') -> 'ProcessDerivativeCalculator': ... + def setParallel(self, boolean: bool, int: int) -> 'ProcessDerivativeCalculator': ... + def setRelativeStepSize(self, double: float) -> 'ProcessDerivativeCalculator': ... + class DerivativeMethod(java.lang.Enum['ProcessDerivativeCalculator.DerivativeMethod']): + FORWARD_DIFFERENCE: typing.ClassVar['ProcessDerivativeCalculator.DerivativeMethod'] = ... + CENTRAL_DIFFERENCE: typing.ClassVar['ProcessDerivativeCalculator.DerivativeMethod'] = ... + CENTRAL_DIFFERENCE_SECOND_ORDER: typing.ClassVar['ProcessDerivativeCalculator.DerivativeMethod'] = ... + _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]) -> 'ProcessDerivativeCalculator.DerivativeMethod': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessDerivativeCalculator.DerivativeMethod']: ... + class DerivativeResult: + value: float = ... + errorEstimate: float = ... + stepSize: float = ... + isValid: bool = ... + errorMessage: java.lang.String = ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + class VariableSpec: + path: java.lang.String = ... + unit: java.lang.String = ... + customStepSize: float = ... + type: 'ProcessDerivativeCalculator.VariableType' = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + class VariableType(java.lang.Enum['ProcessDerivativeCalculator.VariableType']): + PRESSURE: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... + TEMPERATURE: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... + FLOW_RATE: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... + COMPOSITION: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... + LEVEL: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... + GENERAL: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... + _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]) -> 'ProcessDerivativeCalculator.VariableType': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessDerivativeCalculator.VariableType']: ... + +class ProcessLinearizer: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addCV(self, controlledVariable: 'ControlledVariable') -> 'ProcessLinearizer': ... + def addDV(self, disturbanceVariable: 'DisturbanceVariable') -> 'ProcessLinearizer': ... + def addMV(self, manipulatedVariable: 'ManipulatedVariable') -> 'ProcessLinearizer': ... + def clear(self) -> 'ProcessLinearizer': ... + def getControlledVariables(self) -> java.util.List['ControlledVariable']: ... + def getDisturbanceVariables(self) -> java.util.List['DisturbanceVariable']: ... + def getManipulatedVariables(self) -> java.util.List['ManipulatedVariable']: ... + def isApproximatelyLinear(self, double: float, double2: float, double3: float) -> bool: ... + @typing.overload + def linearize(self) -> LinearizationResult: ... + @typing.overload + def linearize(self, double: float) -> LinearizationResult: ... + def linearizeMultiplePoints(self, int: int, double: float) -> java.util.List[LinearizationResult]: ... + def setDefaultPerturbationSize(self, double: float) -> 'ProcessLinearizer': ... + def setMinimumAbsolutePerturbation(self, double: float) -> 'ProcessLinearizer': ... + def setUseCentralDifferences(self, boolean: bool) -> 'ProcessLinearizer': ... + +class ProcessLinkedMPC(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addCV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'ControlledVariable': ... + def addCVZone(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ControlledVariable': ... + def addDV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'DisturbanceVariable': ... + @typing.overload + def addMV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ManipulatedVariable': ... + @typing.overload + def addMV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ManipulatedVariable': ... + @typing.overload + def addSVR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'StateVariable': ... + @typing.overload + def addSVR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'StateVariable': ... + def applyMoves(self) -> None: ... + def calculate(self) -> typing.MutableSequence[float]: ... + def createDataExchange(self) -> ControllerDataExchange: ... + def createIndustrialExporter(self) -> IndustrialMPCExporter: ... + def createSubrModlExporter(self) -> 'SubrModlExporter': ... + def exportModel(self) -> 'StateSpaceExporter': ... + def getConfigurationSummary(self) -> java.lang.String: ... + def getControlHorizon(self) -> int: ... + def getControlledVariables(self) -> java.util.List['ControlledVariable']: ... + def getCurrentCVs(self) -> typing.MutableSequence[float]: ... + def getCurrentMVs(self) -> typing.MutableSequence[float]: ... + def getDisturbanceVariables(self) -> java.util.List['DisturbanceVariable']: ... + def getLastMoves(self) -> typing.MutableSequence[float]: ... + def getLinearizationResult(self) -> LinearizationResult: ... + def getManipulatedVariables(self) -> java.util.List['ManipulatedVariable']: ... + def getName(self) -> java.lang.String: ... + def getPredictionHorizon(self) -> int: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSampleTime(self) -> float: ... + def getStateVariables(self) -> java.util.List['StateVariable']: ... + def identifyModel(self, double: float) -> None: ... + def isModelIdentified(self) -> bool: ... + def runProcess(self) -> None: ... + def setConstraint(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setControlHorizon(self, int: int) -> None: ... + def setErrorWeight(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setModelUpdateInterval(self, int: int) -> None: ... + def setMoveSuppressionWeight(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setPredictionHorizon(self, int: int) -> None: ... + def setSampleTime(self, double: float) -> None: ... + def setSetpoint(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setUseNonlinearPrediction(self, boolean: bool) -> None: ... + def step(self) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + def updateDisturbances(self) -> None: ... + def updateMeasurements(self) -> None: ... + def updateModel(self) -> None: ... + +class ProcessVariableAccessor: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isValidPath(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def setValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def setValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + +class SoftSensorExporter(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addCompositionEstimator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def addCompressibilitySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def addCustomSensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], sensorType: 'SoftSensorExporter.SensorType', string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SoftSensorDefinition': ... + def addDensitySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def addHeatCapacitySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def addMolecularWeightSensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def addPhaseFractionSensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def addViscositySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def clear(self) -> 'SoftSensorExporter': ... + def exportCVTFormat(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getSensors(self) -> java.util.List['SoftSensorExporter.SoftSensorDefinition']: ... + def setApplicationName(self, string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + def setTagPrefix(self, string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... + class SensorType(java.lang.Enum['SoftSensorExporter.SensorType']): + DENSITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + VISCOSITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + PHASE_FRACTION: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + COMPOSITION: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + MOLECULAR_WEIGHT: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + COMPRESSIBILITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + HEAT_CAPACITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + ENTHALPY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + ENTROPY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + CUSTOM: typing.ClassVar['SoftSensorExporter.SensorType'] = ... + _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]) -> 'SoftSensorExporter.SensorType': ... + @staticmethod + def values() -> typing.MutableSequence['SoftSensorExporter.SensorType']: ... + class SoftSensorDefinition(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], sensorType: 'SoftSensorExporter.SensorType'): ... + def addInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SoftSensorDefinition': ... + def addParameter(self, string: typing.Union[java.lang.String, str], double: float) -> 'SoftSensorExporter.SoftSensorDefinition': ... + def getComponentName(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getInputs(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getOutputUnit(self) -> java.lang.String: ... + def getParameters(self) -> java.util.Map[java.lang.String, float]: ... + def getSensorType(self) -> 'SoftSensorExporter.SensorType': ... + def getUpdateRateSeconds(self) -> float: ... + def setComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SoftSensorDefinition': ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutputUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpdateRateSeconds(self, double: float) -> 'SoftSensorExporter.SoftSensorDefinition': ... + def toMap(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.Any]: ... + +class StateSpaceExporter(java.io.Serializable): + @typing.overload + def __init__(self, linearizationResult: LinearizationResult): ... + @typing.overload + def __init__(self, stepResponseMatrix: 'StepResponseGenerator.StepResponseMatrix'): ... + def exportCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportMATLAB(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportStepCoefficients(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def getStateSpaceModel(self) -> 'StateSpaceExporter.StateSpaceModel': ... + def setStepResponseMatrix(self, stepResponseMatrix: 'StepResponseGenerator.StepResponseMatrix') -> 'StateSpaceExporter': ... + def toDiscreteStateSpace(self, double: float) -> 'StateSpaceExporter.StateSpaceModel': ... + class StateSpaceModel(java.io.Serializable): + def __init__(self, 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[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double5: float, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def getA(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getB(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getC(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getD(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDominantTimeConstant(self, int: int) -> float: ... + def getInputNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getNumInputs(self) -> int: ... + def getNumOutputs(self) -> int: ... + def getNumStates(self) -> int: ... + def getOutput(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getOutputNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getSampleTime(self) -> float: ... + def getSteadyStateGain(self, int: int, int2: int) -> float: ... + def stepState(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + +class StepResponse(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, double5: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def convolve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def fitFOPDT(self) -> 'StepResponse': ... + def getBaselineValue(self) -> float: ... + def getCvName(self) -> java.lang.String: ... + def getDeadTime(self) -> float: ... + def getFitError(self) -> float: ... + def getGain(self) -> float: ... + def getMvName(self) -> java.lang.String: ... + def getNormalizedResponse(self) -> typing.MutableSequence[float]: ... + def getNumSamples(self) -> int: ... + def getResponse(self) -> typing.MutableSequence[float]: ... + def getRiseTime(self) -> float: ... + def getSampleTime(self) -> float: ... + def getSettlingTime(self) -> float: ... + def getStepCoefficients(self, int: int) -> typing.MutableSequence[float]: ... + def getStepSize(self) -> float: ... + def getTime(self) -> typing.MutableSequence[float]: ... + def getTimeConstant(self) -> float: ... + def hasInverseResponse(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class StepResponseGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addCV(self, controlledVariable: 'ControlledVariable') -> 'StepResponseGenerator': ... + def addMV(self, manipulatedVariable: 'ManipulatedVariable') -> 'StepResponseGenerator': ... + def clear(self) -> 'StepResponseGenerator': ... + def generateAllResponses(self) -> 'StepResponseGenerator.StepResponseMatrix': ... + def getSampleIntervalSeconds(self) -> float: ... + def getSettlingTimeSeconds(self) -> float: ... + def getStepSizeFraction(self) -> float: ... + def runStepTest(self, manipulatedVariable: 'ManipulatedVariable') -> java.util.List[StepResponse]: ... + def setBidirectionalTest(self, boolean: bool) -> 'StepResponseGenerator': ... + def setPositiveStep(self, boolean: bool) -> 'StepResponseGenerator': ... + def setSampleInterval(self, double: float, string: typing.Union[java.lang.String, str]) -> 'StepResponseGenerator': ... + def setSettlingTime(self, double: float, string: typing.Union[java.lang.String, str]) -> 'StepResponseGenerator': ... + def setStepSize(self, double: float) -> 'StepResponseGenerator': ... + class StepResponseMatrix(java.io.Serializable): + def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], StepResponse], typing.Mapping[typing.Union[java.lang.String, str], StepResponse]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], StepResponse], typing.Mapping[typing.Union[java.lang.String, str], StepResponse]]]], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def get(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> StepResponse: ... + def getCvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getDeadTimeMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGainMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMvNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getTimeConstantMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def toCSV(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class SubrModlExporter(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addIndexEntry(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + @typing.overload + def addParameter(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + @typing.overload + def addParameter(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + def addStateVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'SubrModlExporter': ... + def addSubrXvr(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'SubrModlExporter': ... + def exportConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportIndexTable(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportMPCConfiguration(self, string: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def getIndexTable(self) -> java.util.List[java.lang.String]: ... + def getParameters(self) -> java.util.List['SubrModlExporter.ModelParameter']: ... + def getStateVariables(self) -> java.util.List['SubrModlExporter.StateVariable']: ... + def getSubrXvrs(self) -> java.util.List['SubrModlExporter.SubrXvr']: ... + def populateFromMPC(self, processLinkedMPC: ProcessLinkedMPC) -> 'SubrModlExporter': ... + def setApplicationName(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + def setModelName(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + def setSampleTime(self, double: float) -> 'SubrModlExporter': ... + class ModelParameter(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]): ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + class StateVariable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float): ... + def getDescription(self) -> java.lang.String: ... + def getDtaIx(self) -> java.lang.String: ... + def getMeasValue(self) -> float: ... + def getModelValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def isMeasured(self) -> bool: ... + def setMeasValue(self, double: float) -> 'SubrModlExporter.StateVariable': ... + class SubrXvr(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float): ... + def getDtaIx(self) -> java.lang.String: ... + def getInit(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getText1(self) -> java.lang.String: ... + def getText2(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def setInit(self, double: float) -> 'SubrModlExporter.SubrXvr': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter.SubrXvr': ... + +class ControlledVariable(MPCVariable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getEffectiveSetpoint(self) -> float: ... + def getHardMax(self) -> float: ... + def getHardMin(self) -> float: ... + def getPredictedValue(self) -> float: ... + def getSetpoint(self) -> float: ... + def getSoftConstraintPenalty(self) -> float: ... + def getSoftMax(self) -> float: ... + def getSoftMin(self) -> float: ... + def getSoftViolation(self) -> float: ... + def getTrackingError(self) -> float: ... + def getType(self) -> MPCVariable.MPCVariableType: ... + def getWeight(self) -> float: ... + def getZoneLower(self) -> float: ... + def getZoneUpper(self) -> float: ... + def isWithinZone(self) -> bool: ... + def isZoneControl(self) -> bool: ... + def readValue(self) -> float: ... + def setBounds(self, double: float, double2: float) -> 'ControlledVariable': ... + def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ControlledVariable': ... + def setHardConstraints(self, double: float, double2: float) -> 'ControlledVariable': ... + def setPredictedValue(self, double: float) -> None: ... + def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'ControlledVariable': ... + def setSetpoint(self, double: float) -> 'ControlledVariable': ... + def setSoftConstraintPenalty(self, double: float) -> 'ControlledVariable': ... + def setSoftConstraints(self, double: float, double2: float) -> 'ControlledVariable': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'ControlledVariable': ... + def setWeight(self, double: float) -> 'ControlledVariable': ... + def setZone(self, double: float, double2: float) -> 'ControlledVariable': ... + +class DisturbanceVariable(MPCVariable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getCvSensitivity(self) -> typing.MutableSequence[float]: ... + def getExpectedCvChange(self, int: int) -> float: ... + def getExpectedCvChangeFromPrediction(self, int: int) -> float: ... + def getPredictedValue(self) -> float: ... + def getPredictionHorizon(self) -> float: ... + def getPreviousValue(self) -> float: ... + def getRateOfChange(self) -> float: ... + def getType(self) -> MPCVariable.MPCVariableType: ... + def isMeasured(self) -> bool: ... + def readValue(self) -> float: ... + def setBounds(self, double: float, double2: float) -> 'DisturbanceVariable': ... + def setCurrentValue(self, double: float) -> None: ... + def setCvSensitivity(self, *double: float) -> 'DisturbanceVariable': ... + def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'DisturbanceVariable': ... + def setMeasured(self, boolean: bool) -> 'DisturbanceVariable': ... + def setPrediction(self, double: float, double2: float) -> 'DisturbanceVariable': ... + def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'DisturbanceVariable': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'DisturbanceVariable': ... + def update(self, double: float) -> 'DisturbanceVariable': ... + +class ManipulatedVariable(MPCVariable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def calculateCost(self) -> float: ... + def getCost(self) -> float: ... + def getInitialValue(self) -> float: ... + def getMaxRateOfChange(self) -> float: ... + def getMinRateOfChange(self) -> float: ... + def getMoveWeight(self) -> float: ... + def getPreferredValue(self) -> float: ... + def getPreferredWeight(self) -> float: ... + def getType(self) -> MPCVariable.MPCVariableType: ... + def isFeasible(self, double: float) -> bool: ... + def readValue(self) -> float: ... + def setBounds(self, double: float, double2: float) -> 'ManipulatedVariable': ... + def setCost(self, double: float) -> 'ManipulatedVariable': ... + def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ManipulatedVariable': ... + def setInitialValue(self, double: float) -> 'ManipulatedVariable': ... + def setMoveWeight(self, double: float) -> 'ManipulatedVariable': ... + def setPreferredValue(self, double: float) -> 'ManipulatedVariable': ... + def setPreferredWeight(self, double: float) -> 'ManipulatedVariable': ... + def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'ManipulatedVariable': ... + def setRateLimit(self, double: float, double2: float) -> 'ManipulatedVariable': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'ManipulatedVariable': ... + def writeValue(self, double: float) -> None: ... + +class StateVariable(MPCVariable): + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + def clearMeasurement(self) -> None: ... + def getBias(self) -> float: ... + def getBiasTfilt(self) -> float: ... + def getBiasTpred(self) -> float: ... + def getCorrectedValue(self) -> float: ... + def getCurrentValue(self) -> float: ... + def getDtaIx(self) -> java.lang.String: ... + def getMeasuredValue(self) -> float: ... + def getModelValue(self) -> float: ... + def getType(self) -> MPCVariable.MPCVariableType: ... + def hasMeasurement(self) -> bool: ... + def isUpdateFromMeasurement(self) -> bool: ... + def predictBias(self, double: float, double2: float, double3: float) -> float: ... + def readFromProcess(self) -> float: ... + def readValue(self) -> float: ... + def setBiasTfilt(self, double: float) -> None: ... + def setBiasTpred(self, double: float) -> None: ... + def setDtaIx(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMeasuredValue(self, double: float) -> None: ... + def setModelValue(self, double: float) -> None: ... + def setUpdateFromMeasurement(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + def update(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mpc")``. + + ControlledVariable: typing.Type[ControlledVariable] + ControllerDataExchange: typing.Type[ControllerDataExchange] + DisturbanceVariable: typing.Type[DisturbanceVariable] + IndustrialMPCExporter: typing.Type[IndustrialMPCExporter] + LinearizationResult: typing.Type[LinearizationResult] + MPCVariable: typing.Type[MPCVariable] + ManipulatedVariable: typing.Type[ManipulatedVariable] + NonlinearPredictor: typing.Type[NonlinearPredictor] + ProcessDerivativeCalculator: typing.Type[ProcessDerivativeCalculator] + ProcessLinearizer: typing.Type[ProcessLinearizer] + ProcessLinkedMPC: typing.Type[ProcessLinkedMPC] + ProcessVariableAccessor: typing.Type[ProcessVariableAccessor] + SoftSensorExporter: typing.Type[SoftSensorExporter] + StateSpaceExporter: typing.Type[StateSpaceExporter] + StateVariable: typing.Type[StateVariable] + StepResponse: typing.Type[StepResponse] + StepResponseGenerator: typing.Type[StepResponseGenerator] + SubrModlExporter: typing.Type[SubrModlExporter] diff --git a/src/jneqsim/process/operations/__init__.pyi b/src/jneqsim/process/operations/__init__.pyi new file mode 100644 index 00000000..553db202 --- /dev/null +++ b/src/jneqsim/process/operations/__init__.pyi @@ -0,0 +1,165 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.measurementdevice +import jneqsim.process.operations.envelope +import jneqsim.process.processmodel +import jneqsim.util.validation +import typing + + + +class ControllerTuningResult(java.io.Serializable): + def getControllerName(self) -> java.lang.String: ... + def getIntegralAbsoluteError(self) -> float: ... + def getIntegralSquaredError(self) -> float: ... + def getMaxAbsoluteError(self) -> float: ... + def getMeanAbsoluteError(self) -> float: ... + def getOutputSaturationFraction(self) -> float: ... + def getOvershootPercent(self) -> float: ... + def getRecommendation(self) -> java.lang.String: ... + def getSetPoint(self) -> float: ... + def getSettlingTimeSeconds(self) -> float: ... + def isStableAtEnd(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class ControllerTuningStudy: + @staticmethod + def evaluateStepResponse(string: typing.Union[java.lang.String, str], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double5: float, double6: float, double7: float) -> ControllerTuningResult: ... + +class OperationalAction(java.io.Serializable): + @staticmethod + def applyFieldInputs() -> 'OperationalAction': ... + def getDescription(self) -> java.lang.String: ... + def getDurationSeconds(self) -> float: ... + def getTarget(self) -> java.lang.String: ... + def getTimeStepSeconds(self) -> float: ... + def getType(self) -> 'OperationalAction.ActionType': ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + @staticmethod + def runSteadyState() -> 'OperationalAction': ... + @staticmethod + def runTransient(double: float, double2: float) -> 'OperationalAction': ... + @staticmethod + def setValveOpening(string: typing.Union[java.lang.String, str], double: float) -> 'OperationalAction': ... + @staticmethod + def setVariable(string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'OperationalAction': ... + class ActionType(java.lang.Enum['OperationalAction.ActionType']): + SET_VARIABLE: typing.ClassVar['OperationalAction.ActionType'] = ... + SET_VALVE_OPENING: typing.ClassVar['OperationalAction.ActionType'] = ... + APPLY_FIELD_INPUTS: typing.ClassVar['OperationalAction.ActionType'] = ... + RUN_STEADY_STATE: typing.ClassVar['OperationalAction.ActionType'] = ... + RUN_TRANSIENT: typing.ClassVar['OperationalAction.ActionType'] = ... + _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]) -> 'OperationalAction.ActionType': ... + @staticmethod + def values() -> typing.MutableSequence['OperationalAction.ActionType']: ... + +class OperationalEvidencePackage: + DEFAULT_BENCHMARK_TOLERANCE_FRACTION: typing.ClassVar[float] = ... + @staticmethod + def buildCapacityReport(processSystem: jneqsim.process.processmodel.ProcessSystem) -> com.google.gson.JsonObject: ... + @staticmethod + def buildReport(string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, operationalTagMap: 'OperationalTagMap', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List['OperationalScenario'], double: float) -> com.google.gson.JsonObject: ... + +class OperationalScenario(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'OperationalScenario.Builder': ... + def getActions(self) -> java.util.List[OperationalAction]: ... + def getName(self) -> java.lang.String: ... + class Builder: + def addAction(self, operationalAction: OperationalAction) -> 'OperationalScenario.Builder': ... + def build(self) -> 'OperationalScenario': ... + +class OperationalScenarioResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addActionLog(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getActionLog(self) -> java.util.List[java.lang.String]: ... + def getAfterValues(self) -> java.util.Map[java.lang.String, float]: ... + def getBeforeValues(self) -> java.util.Map[java.lang.String, float]: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getScenarioName(self) -> java.lang.String: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isSuccessful(self) -> bool: ... + def putAfterValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def putBeforeValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class OperationalScenarioRunner: + @staticmethod + def run(processSystem: jneqsim.process.processmodel.ProcessSystem, operationalScenario: OperationalScenario) -> OperationalScenarioResult: ... + +class OperationalTagBinding(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def equals(self, object: typing.Any) -> bool: ... + def getAutomationAddress(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getHistorianTag(self) -> java.lang.String: ... + def getLogicalTag(self) -> java.lang.String: ... + def getPidReference(self) -> java.lang.String: ... + def getRole(self) -> jneqsim.process.measurementdevice.InstrumentTagRole: ... + def getUnit(self) -> java.lang.String: ... + def hasAutomationAddress(self) -> bool: ... + def hasHistorianTag(self) -> bool: ... + def hashCode(self) -> int: ... + class Builder: + def automationAddress(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def build(self) -> 'OperationalTagBinding': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def historianTag(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def pidReference(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def role(self, instrumentTagRole: jneqsim.process.measurementdevice.InstrumentTagRole) -> 'OperationalTagBinding.Builder': ... + def unit(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + +class OperationalTagMap(java.io.Serializable): + def __init__(self): ... + def addBinding(self, operationalTagBinding: OperationalTagBinding) -> 'OperationalTagMap': ... + def applyFieldData(self, processSystem: jneqsim.process.processmodel.ProcessSystem, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> java.util.Map[java.lang.String, float]: ... + def containsLogicalTag(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def getBinding(self, string: typing.Union[java.lang.String, str]) -> OperationalTagBinding: ... + def getBindings(self) -> java.util.List[OperationalTagBinding]: ... + def readValues(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.Map[java.lang.String, float]: ... + def validate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + +class PipeSectionAnalyzer: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class WaterHammerStudy: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.operations")``. + + ControllerTuningResult: typing.Type[ControllerTuningResult] + ControllerTuningStudy: typing.Type[ControllerTuningStudy] + OperationalAction: typing.Type[OperationalAction] + OperationalEvidencePackage: typing.Type[OperationalEvidencePackage] + OperationalScenario: typing.Type[OperationalScenario] + OperationalScenarioResult: typing.Type[OperationalScenarioResult] + OperationalScenarioRunner: typing.Type[OperationalScenarioRunner] + OperationalTagBinding: typing.Type[OperationalTagBinding] + OperationalTagMap: typing.Type[OperationalTagMap] + PipeSectionAnalyzer: typing.Type[PipeSectionAnalyzer] + WaterHammerStudy: typing.Type[WaterHammerStudy] + envelope: jneqsim.process.operations.envelope.__module_protocol__ diff --git a/src/jneqsim/process/operations/envelope/__init__.pyi b/src/jneqsim/process/operations/envelope/__init__.pyi new file mode 100644 index 00000000..22a0de06 --- /dev/null +++ b/src/jneqsim/process/operations/envelope/__init__.pyi @@ -0,0 +1,208 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.capacity +import jneqsim.process.processmodel +import typing + + + +class MarginTrendTracker(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addCurrentMargin(self, double: float, operationalMargin: 'OperationalMargin') -> 'MarginTrendTracker': ... + def addSample(self, double: float, double2: float) -> 'MarginTrendTracker': ... + def estimateConfidence(self) -> float: ... + def estimateTimeToLimitSeconds(self) -> float: ... + def getLatestSample(self) -> 'MarginTrendTracker.MarginSample': ... + def getMarginKey(self) -> java.lang.String: ... + def getSamples(self) -> java.util.List['MarginTrendTracker.MarginSample']: ... + def getTrendDescription(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + class MarginSample(java.io.Serializable, java.lang.Comparable['MarginTrendTracker.MarginSample']): + def __init__(self, double: float, double2: float): ... + def compareTo(self, marginSample: 'MarginTrendTracker.MarginSample') -> int: ... + def getMarginPercent(self) -> float: ... + def getTimestampSeconds(self) -> float: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + +class MitigationSuggestion(java.io.Serializable, java.lang.Comparable['MitigationSuggestion']): + 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], double: float, string5: typing.Union[java.lang.String, str], priority: 'MitigationSuggestion.Priority', category: 'MitigationSuggestion.Category', string6: typing.Union[java.lang.String, str], double2: float): ... + def compareTo(self, mitigationSuggestion: 'MitigationSuggestion') -> int: ... + @staticmethod + def fromMargin(operationalMargin: 'OperationalMargin') -> 'MitigationSuggestion': ... + def getCategory(self) -> 'MitigationSuggestion.Category': ... + def getConfidence(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getExpectedImprovement(self) -> java.lang.String: ... + def getMarginKey(self) -> java.lang.String: ... + def getPriority(self) -> 'MitigationSuggestion.Priority': ... + def getSuggestedValue(self) -> float: ... + def getTargetEquipment(self) -> java.lang.String: ... + def getTargetVariable(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + class Category(java.lang.Enum['MitigationSuggestion.Category']): + SETPOINT_CHANGE: typing.ClassVar['MitigationSuggestion.Category'] = ... + LOAD_REDUCTION: typing.ClassVar['MitigationSuggestion.Category'] = ... + OPERABILITY_REVIEW: typing.ClassVar['MitigationSuggestion.Category'] = ... + DATA_QUALITY: typing.ClassVar['MitigationSuggestion.Category'] = ... + _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]) -> 'MitigationSuggestion.Category': ... + @staticmethod + def values() -> typing.MutableSequence['MitigationSuggestion.Category']: ... + class Priority(java.lang.Enum['MitigationSuggestion.Priority']): + IMMEDIATE: typing.ClassVar['MitigationSuggestion.Priority'] = ... + HIGH: typing.ClassVar['MitigationSuggestion.Priority'] = ... + MEDIUM: typing.ClassVar['MitigationSuggestion.Priority'] = ... + LOW: typing.ClassVar['MitigationSuggestion.Priority'] = ... + def getRank(self) -> int: ... + _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]) -> 'MitigationSuggestion.Priority': ... + @staticmethod + def values() -> typing.MutableSequence['MitigationSuggestion.Priority']: ... + +class OperationalEnvelopeEvaluator: + DEFAULT_PREDICTION_HORIZON_SECONDS: typing.ClassVar[float] = ... + DEFAULT_MIN_PREDICTION_CONFIDENCE: typing.ClassVar[float] = ... + @staticmethod + def collectMargins(processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.List['OperationalMargin']: ... + @typing.overload + @staticmethod + def evaluate(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'OperationalEnvelopeReport': ... + @typing.overload + @staticmethod + def evaluate(processSystem: jneqsim.process.processmodel.ProcessSystem, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], MarginTrendTracker], typing.Mapping[typing.Union[java.lang.String, str], MarginTrendTracker]], double: float, boolean: bool) -> 'OperationalEnvelopeReport': ... + +class OperationalEnvelopeReport(java.io.Serializable): + def __init__(self, long: int, double: float, list: java.util.List['OperationalMargin'], list2: java.util.List['TripPrediction'], list3: java.util.List[MitigationSuggestion]): ... + def getEvaluationTimeSeconds(self) -> float: ... + def getMargins(self) -> java.util.List['OperationalMargin']: ... + def getMitigationSuggestions(self) -> java.util.List[MitigationSuggestion]: ... + def getOverallStatus(self) -> 'OperationalEnvelopeReport.EnvelopeStatus': ... + def getSummary(self) -> java.lang.String: ... + def getTimestampMillis(self) -> int: ... + def getTripPredictions(self) -> java.util.List['TripPrediction']: ... + def getWarningOrWorseCount(self) -> int: ... + def hasHighUrgencyPrediction(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + class EnvelopeStatus(java.lang.Enum['OperationalEnvelopeReport.EnvelopeStatus']): + NORMAL: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... + NARROWING: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... + WARNING: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... + CRITICAL: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... + VIOLATED: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... + def getRank(self) -> int: ... + _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]) -> 'OperationalEnvelopeReport.EnvelopeStatus': ... + @staticmethod + def values() -> typing.MutableSequence['OperationalEnvelopeReport.EnvelopeStatus']: ... + +class OperationalMargin(java.io.Serializable, java.lang.Comparable['OperationalMargin']): + NARROWING_MARGIN_PERCENT: typing.ClassVar[float] = ... + WARNING_MARGIN_PERCENT: typing.ClassVar[float] = ... + CRITICAL_MARGIN_PERCENT: typing.ClassVar[float] = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: 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], boolean: bool, boolean2: bool): ... + @staticmethod + def classify(double: float, boolean: bool) -> 'OperationalMargin.Status': ... + def compareTo(self, operationalMargin: 'OperationalMargin') -> int: ... + @staticmethod + def fromConstraint(string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> 'OperationalMargin': ... + def getConstraintName(self) -> java.lang.String: ... + def getConstraintType(self) -> java.lang.String: ... + def getCurrentValue(self) -> float: ... + def getDataSource(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getKey(self) -> java.lang.String: ... + def getLimitValue(self) -> float: ... + def getMarginPercent(self) -> float: ... + def getSeverity(self) -> java.lang.String: ... + def getStatus(self) -> 'OperationalMargin.Status': ... + def getUnit(self) -> java.lang.String: ... + def getUtilizationPercent(self) -> float: ... + def isHardLimitExceeded(self) -> bool: ... + def isMinimumConstraint(self) -> bool: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + class Status(java.lang.Enum['OperationalMargin.Status']): + NORMAL: typing.ClassVar['OperationalMargin.Status'] = ... + NARROWING: typing.ClassVar['OperationalMargin.Status'] = ... + WARNING: typing.ClassVar['OperationalMargin.Status'] = ... + CRITICAL: typing.ClassVar['OperationalMargin.Status'] = ... + VIOLATED: typing.ClassVar['OperationalMargin.Status'] = ... + def getRank(self) -> int: ... + _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]) -> 'OperationalMargin.Status': ... + @staticmethod + def values() -> typing.MutableSequence['OperationalMargin.Status']: ... + +class TripPrediction(java.io.Serializable, java.lang.Comparable['TripPrediction']): + def __init__(self, operationalMargin: OperationalMargin, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def classify(double: float) -> 'TripPrediction.Severity': ... + def compareTo(self, tripPrediction: 'TripPrediction') -> int: ... + def getConfidence(self) -> float: ... + def getConstraintName(self) -> java.lang.String: ... + def getCurrentMarginPercent(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEstimatedTimeToLimitMinutes(self) -> float: ... + def getEstimatedTimeToLimitSeconds(self) -> float: ... + def getMarginKey(self) -> java.lang.String: ... + def getSeverity(self) -> 'TripPrediction.Severity': ... + def getTrendDescription(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + class Severity(java.lang.Enum['TripPrediction.Severity']): + LOW: typing.ClassVar['TripPrediction.Severity'] = ... + MEDIUM: typing.ClassVar['TripPrediction.Severity'] = ... + HIGH: typing.ClassVar['TripPrediction.Severity'] = ... + IMMINENT: typing.ClassVar['TripPrediction.Severity'] = ... + def getRank(self) -> int: ... + _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]) -> 'TripPrediction.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['TripPrediction.Severity']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.operations.envelope")``. + + MarginTrendTracker: typing.Type[MarginTrendTracker] + MitigationSuggestion: typing.Type[MitigationSuggestion] + OperationalEnvelopeEvaluator: typing.Type[OperationalEnvelopeEvaluator] + OperationalEnvelopeReport: typing.Type[OperationalEnvelopeReport] + OperationalMargin: typing.Type[OperationalMargin] + TripPrediction: typing.Type[TripPrediction] diff --git a/src/jneqsim/process/optimization/__init__.pyi b/src/jneqsim/process/optimization/__init__.pyi new file mode 100644 index 00000000..3cc9e038 --- /dev/null +++ b/src/jneqsim/process/optimization/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.process.optimization.valuechain +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.optimization")``. + + valuechain: jneqsim.process.optimization.valuechain.__module_protocol__ diff --git a/src/jneqsim/process/optimization/valuechain/__init__.pyi b/src/jneqsim/process/optimization/valuechain/__init__.pyi new file mode 100644 index 00000000..78eacb12 --- /dev/null +++ b/src/jneqsim/process/optimization/valuechain/__init__.pyi @@ -0,0 +1,186 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.capacity +import typing + + + +class DebottleneckingAdvisor(java.io.Serializable): + def __init__(self, economicParameters: 'EconomicParameters'): ... + def addCandidate(self, debottleneckCandidate: 'DebottleneckingAdvisor.DebottleneckCandidate') -> 'DebottleneckingAdvisor': ... + def applyShadowPrices(self) -> int: ... + def evaluate(self) -> java.util.List['DebottleneckingAdvisor.Recommendation']: ... + def getCandidates(self) -> java.util.List['DebottleneckingAdvisor.DebottleneckCandidate']: ... + def toJson(self) -> java.lang.String: ... + class DebottleneckCandidate(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, int: int, int2: int, double2: float, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint): ... + def getAnnualIncrementalValueNok(self) -> float: ... + def getCapexNok(self) -> float: ... + def getConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getFirstYear(self) -> int: ... + def getLastYear(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.lang.String: ... + class Recommendation(java.io.Serializable): + def __init__(self, debottleneckCandidate: 'DebottleneckingAdvisor.DebottleneckCandidate', double: float, double2: float, double3: float, double4: float): ... + def getBenefitCostRatio(self) -> float: ... + def getCandidate(self) -> 'DebottleneckingAdvisor.DebottleneckCandidate': ... + def getNpvNok(self) -> float: ... + def getPaybackYears(self) -> float: ... + def getPvBenefitsNok(self) -> float: ... + def isAttractive(self) -> bool: ... + +class EconomicParameters(java.io.Serializable): + def __init__(self): ... + def discountFactor(self, double: float) -> float: ... + def getCo2IntensityTonnePerMWh(self) -> float: ... + def getCo2Tax(self) -> float: ... + def getCurrency(self) -> java.lang.String: ... + def getDiscountRate(self) -> float: ... + def getGasPrice(self) -> float: ... + def getOilPrice(self) -> float: ... + def getPowerCost(self) -> float: ... + def setCo2IntensityTonnePerMWh(self, double: float) -> 'EconomicParameters': ... + def setCo2Tax(self, double: float) -> 'EconomicParameters': ... + def setCurrency(self, string: typing.Union[java.lang.String, str]) -> 'EconomicParameters': ... + def setDiscountRate(self, double: float) -> 'EconomicParameters': ... + def setGasPrice(self, double: float) -> 'EconomicParameters': ... + def setOilPrice(self, double: float) -> 'EconomicParameters': ... + def setPowerCost(self, double: float) -> 'EconomicParameters': ... + +class LifeOfFieldOptimizer(java.io.Serializable): + DEFAULT_MAX_COMBINATIONS: typing.ClassVar[int] = ... + def __init__(self, int: int, economicParameters: EconomicParameters): ... + def addInvestment(self, investment: 'LifeOfFieldOptimizer.Investment') -> 'LifeOfFieldOptimizer': ... + def optimize(self, lifeOfFieldEvaluator: typing.Union['LifeOfFieldOptimizer.LifeOfFieldEvaluator', typing.Callable]) -> 'LifeOfFieldOptimizer.LifeOfFieldResult': ... + def setMaxCombinations(self, long: int) -> 'LifeOfFieldOptimizer': ... + class Investment(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, int: int): ... + def getCapexNok(self) -> float: ... + def getEarliestYear(self) -> int: ... + def getName(self) -> java.lang.String: ... + class LifeOfFieldEvaluator: + def annualNetValueNok(self, int: int, booleanArray: typing.Union[typing.List[bool], jpype.JArray]) -> float: ... + class LifeOfFieldResult(java.io.Serializable): + def __init__(self, intArray: typing.Union[typing.List[int], jpype.JArray], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def getAnnualCashFlow(self) -> typing.MutableSequence[float]: ... + def getInstallYears(self) -> typing.MutableSequence[int]: ... + def getNpvNok(self) -> float: ... + +class NetworkAllocationOptimizer(java.io.Serializable): + def __init__(self, double: float, int: int): ... + def optimize(self, allocationEvaluator: typing.Union['NetworkAllocationOptimizer.AllocationEvaluator', typing.Callable]) -> 'NetworkAllocationOptimizer.AllocationResult': ... + def setBounds(self, int: int, double: float, double2: float) -> 'NetworkAllocationOptimizer': ... + def setInitialAllocation(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkAllocationOptimizer': ... + def setInitialStepFraction(self, double: float) -> 'NetworkAllocationOptimizer': ... + def setMaxIterations(self, int: int) -> 'NetworkAllocationOptimizer': ... + def setTolerance(self, double: float) -> 'NetworkAllocationOptimizer': ... + class AllocationEvaluator: + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkAllocationOptimizer.AllocationResult': ... + class AllocationResult(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, boolean: bool): ... + def getAllocation(self) -> typing.MutableSequence[float]: ... + def getObjective(self) -> float: ... + def isFeasible(self) -> bool: ... + +_ParallelSweep__SweepEvaluator__R = typing.TypeVar('_ParallelSweep__SweepEvaluator__R') # +class ParallelSweep(java.io.Serializable): + def __init__(self): ... + def getParallelism(self) -> int: ... + _run__R = typing.TypeVar('_run__R') # + def run(self, list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], sweepEvaluator: typing.Union['ParallelSweep.SweepEvaluator'[_run__R], typing.Callable[[typing.MutableSequence[float]], _run__R]]) -> java.util.List[_run__R]: ... + def setParallelism(self, int: int) -> 'ParallelSweep': ... + class SweepEvaluator(typing.Generic[_ParallelSweep__SweepEvaluator__R]): + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> _ParallelSweep__SweepEvaluator__R: ... + +class RealTimeOptimizationLoop(java.io.Serializable): + def __init__(self): ... + def getHistory(self) -> java.util.List['RealTimeOptimizationLoop.CycleRecord']: ... + def run(self, int: int) -> java.util.List['RealTimeOptimizationLoop.CycleRecord']: ... + def setCalibrator(self, calibrator: typing.Union['RealTimeOptimizationLoop.Calibrator', typing.Callable]) -> 'RealTimeOptimizationLoop': ... + def setObjectiveProbe(self, objectiveProbe: typing.Union['RealTimeOptimizationLoop.ObjectiveProbe', typing.Callable]) -> 'RealTimeOptimizationLoop': ... + def setOptimizer(self, setpointOptimizer: typing.Union['RealTimeOptimizationLoop.SetpointOptimizer', typing.Callable]) -> 'RealTimeOptimizationLoop': ... + def setReader(self, plantReader: typing.Union['RealTimeOptimizationLoop.PlantReader', typing.Callable]) -> 'RealTimeOptimizationLoop': ... + def setWriter(self, setpointWriter: typing.Union['RealTimeOptimizationLoop.SetpointWriter', typing.Callable]) -> 'RealTimeOptimizationLoop': ... + def toJson(self) -> java.lang.String: ... + class Calibrator: + def calibrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + class CycleRecord(java.io.Serializable): + def __init__(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float): ... + def getCycle(self) -> int: ... + def getMeasurements(self) -> typing.MutableSequence[float]: ... + def getObjective(self) -> float: ... + def getSetpoints(self) -> typing.MutableSequence[float]: ... + class ObjectiveProbe: + def currentObjective(self) -> float: ... + class PlantReader: + def read(self) -> typing.MutableSequence[float]: ... + class SetpointOptimizer: + def optimize(self) -> typing.MutableSequence[float]: ... + class SetpointWriter: + def apply(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class RobustOptimizationStudy(java.io.Serializable): + def __init__(self): ... + def addScenario(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'RobustOptimizationStudy': ... + def evaluateDecision(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], scenarioEvaluator: typing.Union['RobustOptimizationStudy.ScenarioEvaluator', typing.Callable]) -> 'RobustOptimizationStudy.RobustResult': ... + def selectRobust(self, list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], scenarioEvaluator: typing.Union['RobustOptimizationStudy.ScenarioEvaluator', typing.Callable]) -> 'RobustOptimizationStudy.RobustResult': ... + def setRequiredConfidence(self, double: float) -> 'RobustOptimizationStudy': ... + def setSampler(self, scenarioSampler: typing.Union['RobustOptimizationStudy.ScenarioSampler', typing.Callable], int: int) -> 'RobustOptimizationStudy': ... + def setSeed(self, long: int) -> 'RobustOptimizationStudy': ... + class RobustResult(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getDecision(self) -> typing.MutableSequence[float]: ... + def getFeasibleFraction(self) -> float: ... + def getMean(self) -> float: ... + def getP10(self) -> float: ... + def getP50(self) -> float: ... + def getP90(self) -> float: ... + class ScenarioEvaluator: + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'RobustOptimizationStudy.ScenarioOutcome': ... + class ScenarioOutcome(java.io.Serializable): + def __init__(self, double: float, boolean: bool): ... + def getObjective(self) -> float: ... + def isFeasible(self) -> bool: ... + class ScenarioSampler: + def sample(self, random: java.util.Random) -> typing.MutableSequence[float]: ... + +class ValueChainObjective(java.io.Serializable): + PRODUCTION_DAYS_PER_YEAR: typing.ClassVar[float] = ... + def __init__(self, economicParameters: EconomicParameters): ... + @typing.overload + def evaluate(self, double: float, double2: float, double3: float) -> 'ValueChainObjective.ValueResult': ... + @typing.overload + def evaluate(self, double: float, double2: float, double3: float, double4: float) -> 'ValueChainObjective.ValueResult': ... + def getEconomicParameters(self) -> EconomicParameters: ... + def presentValueOfAnnualCashFlow(self, double: float, double2: float) -> float: ... + class ValueResult(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def getCarbonCostNokPerDay(self) -> float: ... + def getCo2TonnePerDay(self) -> float: ... + def getEnergyCostNokPerDay(self) -> float: ... + def getNetValueNokPerDay(self) -> float: ... + def getRevenueNokPerDay(self) -> float: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.optimization.valuechain")``. + + DebottleneckingAdvisor: typing.Type[DebottleneckingAdvisor] + EconomicParameters: typing.Type[EconomicParameters] + LifeOfFieldOptimizer: typing.Type[LifeOfFieldOptimizer] + NetworkAllocationOptimizer: typing.Type[NetworkAllocationOptimizer] + ParallelSweep: typing.Type[ParallelSweep] + RealTimeOptimizationLoop: typing.Type[RealTimeOptimizationLoop] + RobustOptimizationStudy: typing.Type[RobustOptimizationStudy] + ValueChainObjective: typing.Type[ValueChainObjective] diff --git a/src/jneqsim/process/processmodel/__init__.pyi b/src/jneqsim/process/processmodel/__init__.pyi new file mode 100644 index 00000000..ac322792 --- /dev/null +++ b/src/jneqsim/process/processmodel/__init__.pyi @@ -0,0 +1,1142 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.nio.file +import java.util +import java.util.concurrent +import java.util.function +import javax.xml.parsers +import jpype +import jpype.protocol +import jneqsim.process +import jneqsim.process.alarm +import jneqsim.process.automation +import jneqsim.process.conditionmonitor +import jneqsim.process.controllerdevice +import jneqsim.process.costestimation +import jneqsim.process.dynamics +import jneqsim.process.electricaldesign +import jneqsim.process.electricaldesign.loadanalysis +import jneqsim.process.electricaldesign.system +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.iec81346 +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.util +import jneqsim.process.instrumentdesign.system +import jneqsim.process.measurementdevice +import jneqsim.process.mechanicaldesign +import jneqsim.process.processmodel.biorefinery +import jneqsim.process.processmodel.dexpi +import jneqsim.process.processmodel.diagram +import jneqsim.process.processmodel.graph +import jneqsim.process.processmodel.lifecycle +import jneqsim.process.processmodel.processmodules +import jneqsim.process.safety +import jneqsim.process.sustainability +import jneqsim.process.util.exergy +import jneqsim.process.util.optimizer +import jneqsim.process.util.report +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +class DexpiMetadata: + TAG_NAME: typing.ClassVar[java.lang.String] = ... + LINE_NUMBER: typing.ClassVar[java.lang.String] = ... + FLUID_CODE: typing.ClassVar[java.lang.String] = ... + SEGMENT_NUMBER: typing.ClassVar[java.lang.String] = ... + OPERATING_PRESSURE_VALUE: typing.ClassVar[java.lang.String] = ... + OPERATING_PRESSURE_UNIT: typing.ClassVar[java.lang.String] = ... + OPERATING_TEMPERATURE_VALUE: typing.ClassVar[java.lang.String] = ... + OPERATING_TEMPERATURE_UNIT: typing.ClassVar[java.lang.String] = ... + OPERATING_FLOW_VALUE: typing.ClassVar[java.lang.String] = ... + OPERATING_FLOW_UNIT: typing.ClassVar[java.lang.String] = ... + DEFAULT_PRESSURE_UNIT: typing.ClassVar[java.lang.String] = ... + DEFAULT_TEMPERATURE_UNIT: typing.ClassVar[java.lang.String] = ... + DEFAULT_FLOW_UNIT: typing.ClassVar[java.lang.String] = ... + @staticmethod + def recommendedEquipmentAttributes() -> java.util.Set[java.lang.String]: ... + @staticmethod + def recommendedStreamAttributes() -> java.util.Set[java.lang.String]: ... + +class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], equipmentEnum: jneqsim.process.equipment.EquipmentEnum, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getDexpiClass(self) -> java.lang.String: ... + def getFluidCode(self) -> java.lang.String: ... + def getLineNumber(self) -> java.lang.String: ... + def getMappedEquipment(self) -> jneqsim.process.equipment.EquipmentEnum: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class DexpiRoundTripProfile: + @staticmethod + def minimalRunnableProfile() -> 'DexpiRoundTripProfile': ... + def validate(self, processSystem: 'ProcessSystem') -> 'DexpiRoundTripProfile.ValidationResult': ... + class ValidationResult: + def getViolations(self) -> java.util.List[java.lang.String]: ... + def isSuccessful(self) -> bool: ... + +class DexpiStream(jneqsim.process.equipment.stream.Stream): + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getDexpiClass(self) -> java.lang.String: ... + def getFluidCode(self) -> java.lang.String: ... + def getLineNumber(self) -> java.lang.String: ... + +class DexpiXmlReader: + @typing.overload + @staticmethod + def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem') -> None: ... + @typing.overload + @staticmethod + def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem', stream: jneqsim.process.equipment.stream.Stream) -> None: ... + @typing.overload + @staticmethod + def load(inputStream: java.io.InputStream, processSystem: 'ProcessSystem') -> None: ... + @typing.overload + @staticmethod + def load(inputStream: java.io.InputStream, processSystem: 'ProcessSystem', stream: jneqsim.process.equipment.stream.Stream) -> None: ... + @typing.overload + @staticmethod + def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystem': ... + @typing.overload + @staticmethod + def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessSystem': ... + @typing.overload + @staticmethod + def read(inputStream: java.io.InputStream) -> 'ProcessSystem': ... + @typing.overload + @staticmethod + def read(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessSystem': ... + +class DexpiXmlReaderException(java.lang.Exception): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], throwable: java.lang.Throwable): ... + +class DexpiXmlWriter: + @typing.overload + @staticmethod + def write(processSystem: 'ProcessSystem', file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def write(processSystem: 'ProcessSystem', outputStream: java.io.OutputStream) -> None: ... + +class JsonProcessBuilder: + def __init__(self): ... + def build(self, string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def buildAndRun(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def buildAndRun(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SimulationResult': ... + @typing.overload + def buildFromJsonObject(self, jsonObject: com.google.gson.JsonObject) -> 'SimulationResult': ... + @typing.overload + def buildFromJsonObject(self, jsonObject: com.google.gson.JsonObject, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SimulationResult': ... + @staticmethod + def buildOnly(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + +class JsonProcessExporter: + def __init__(self): ... + def getStreamReference(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> java.lang.String: ... + @typing.overload + def toJson(self, processSystem: 'ProcessSystem') -> java.lang.String: ... + @typing.overload + def toJson(self, processSystem: 'ProcessSystem', boolean: bool) -> java.lang.String: ... + def toJsonObject(self, processSystem: 'ProcessSystem') -> com.google.gson.JsonObject: ... + +class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getOperations(self) -> 'ProcessSystem': ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getPreferedThermodynamicModel(self) -> java.lang.String: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def hashCode(self) -> int: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + def isCalcDesign(self) -> bool: ... + def setIsCalcDesign(self, boolean: bool) -> None: ... + def setPreferedThermodynamicModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class ProcessConnection(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + 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], connectionType: 'ProcessConnection.ConnectionType'): ... + def equals(self, object: typing.Any) -> bool: ... + def getSourceEquipment(self) -> java.lang.String: ... + def getSourcePort(self) -> java.lang.String: ... + def getSourceReferenceDesignation(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.lang.String: ... + def getTargetPort(self) -> java.lang.String: ... + def getTargetReferenceDesignation(self) -> java.lang.String: ... + def getType(self) -> 'ProcessConnection.ConnectionType': ... + def hashCode(self) -> int: ... + def setSourceReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toString(self) -> java.lang.String: ... + class ConnectionType(java.lang.Enum['ProcessConnection.ConnectionType']): + MATERIAL: typing.ClassVar['ProcessConnection.ConnectionType'] = ... + ENERGY: typing.ClassVar['ProcessConnection.ConnectionType'] = ... + SIGNAL: typing.ClassVar['ProcessConnection.ConnectionType'] = ... + _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]) -> 'ProcessConnection.ConnectionType': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessConnection.ConnectionType']: ... + +class ProcessFlowDiagramExporter(java.io.Serializable): + def __init__(self, processSystem: 'ProcessSystem'): ... + def setTitle(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toDot(self) -> java.lang.String: ... + +class ProcessJsonValidator: + @staticmethod + def validate(string: typing.Union[java.lang.String, str]) -> 'ProcessJsonValidator.ValidationReport': ... + class ValidationReport: + def __init__(self): ... + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getErrorCount(self) -> int: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getWarningCount(self) -> int: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + +class ProcessLoader: + def __init__(self): ... + @typing.overload + @staticmethod + def loadProcessFromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... + @typing.overload + @staticmethod + def loadProcessFromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem') -> None: ... + @typing.overload + @staticmethod + def loadProcessFromYaml(string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... + +class ProcessModel(java.lang.Runnable, java.io.Serializable): + 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 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: ... + @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 getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... + def getAreaNames(self) -> java.util.List[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 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 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 getLastIterationCount(self) -> int: ... + def getLastMaxFlowError(self) -> float: ... + def getLastMaxPressureError(self) -> float: ... + def getLastMaxTemperatureError(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 getMaxIterations(self) -> int: ... + 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 getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + @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 has(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def invalidateTopology(self) -> None: ... + def isAnyEquipmentOverloaded(self) -> bool: ... + def isAnyHardLimitExceeded(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 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': ... + def remove(self, string: typing.Union[java.lang.String, str]) -> bool: ... + 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 runUntilConverged(self, int: int, double: 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 setAutoValidate(self, boolean: bool) -> 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 setMaxIterations(self, int: int) -> None: ... + def setPressureTolerance(self, double: float) -> None: ... + def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... + def setProgressListener(self, modelProgressListener: typing.Union['ProcessModel.ModelProgressListener', typing.Callable]) -> None: ... + def setPublishEvents(self, boolean: bool) -> None: ... + def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> 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 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 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 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: ... + def setTitle(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModelGraphvizExporter': ... + def toAreaDots(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def toDot(self) -> java.lang.String: ... + +class ProcessModule(jneqsim.process.SimulationBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def add(self, processModule: 'ProcessModule') -> None: ... + @typing.overload + def add(self, processSystem: 'ProcessSystem') -> None: ... + def buildModelGraph(self) -> jneqsim.process.processmodel.graph.ProcessModelGraph: ... + @typing.overload + def checkMassBalance(self) -> 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, 'ProcessSystem.MassBalanceResult']: ... + def checkModulesRecycles(self) -> None: ... + def copy(self) -> 'ProcessModule': ... + def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... + def getAddedModules(self) -> java.util.List['ProcessModule']: ... + def getAddedUnitOperations(self) -> java.util.List['ProcessSystem']: ... + def getAllProcessSystems(self) -> java.util.List['ProcessSystem']: ... + def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getFailedMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + @typing.overload + def getFailedMassBalance(self, double: float) -> 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, 'ProcessSystem.MassBalanceResult']: ... + def getGraphSummary(self) -> java.lang.String: ... + def getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getModulesIndex(self) -> java.util.List[int]: ... + def getOperationsIndex(self) -> java.util.List[int]: ... + def getProgressListener(self) -> 'ProcessSystem.SimulationProgressListener': ... + def getReport(self) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... + def getReport_json(self) -> java.lang.String: ... + def getSubSystemCount(self) -> int: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def hasRecycleLoops(self) -> bool: ... + def isAnyEquipmentOverloaded(self) -> bool: ... + def isAnyHardLimitExceeded(self) -> bool: ... + def recyclesSolved(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... + def runAsThread(self) -> java.lang.Thread: ... + def runWithCallback(self, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> None: ... + @typing.overload + def run_step(self) -> None: ... + @typing.overload + def run_step(self, uUID: java.util.UUID) -> None: ... + def setProgressListener(self, simulationProgressListener: typing.Union['ProcessSystem.SimulationProgressListener', typing.Callable]) -> None: ... + def solved(self) -> bool: ... + def validateStructure(self) -> java.util.List[java.lang.String]: ... + +class ProcessSimulationSession: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, long: int, int: int): ... + def cleanupExpiredSessions(self) -> int: ... + def createEmptySession(self) -> java.lang.String: ... + def createSession(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def createSessionFromJson(self, string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def destroyAllSessions(self) -> None: ... + def destroySession(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def getActiveSessionCount(self) -> int: ... + def getMaxSessions(self) -> int: ... + def getSession(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + def getSessionInfo(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getTemplateNames(self) -> java.util.Set[java.lang.String]: ... + def getTimeoutMinutes(self) -> int: ... + def registerTemplate(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... + def removeTemplate(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def runSession(self, string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def setMaxSessions(self, int: int) -> None: ... + def shutdown(self) -> None: ... + +class ProcessSystem(jneqsim.process.SimulationBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def activateAll(self) -> int: ... + def activateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def add(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def add(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + @typing.overload + def add(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def add(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + @typing.overload + def add(self, processEquipmentInterfaceArray: typing.Union[typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], jpype.JArray]) -> None: ... + _addUnit_0__T = typing.TypeVar('_addUnit_0__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # + _addUnit_1__T = typing.TypeVar('_addUnit_1__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # + _addUnit_2__T = typing.TypeVar('_addUnit_2__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # + _addUnit_3__T = typing.TypeVar('_addUnit_3__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # + _addUnit_5__T = typing.TypeVar('_addUnit_5__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # + @typing.overload + def addUnit(self, string: typing.Union[java.lang.String, str]) -> _addUnit_0__T: ... + @typing.overload + def addUnit(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> _addUnit_1__T: ... + @typing.overload + def addUnit(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> _addUnit_2__T: ... + @typing.overload + def addUnit(self, string: typing.Union[java.lang.String, str], equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> _addUnit_3__T: ... + @typing.overload + def addUnit(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + @typing.overload + def addUnit(self, equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> _addUnit_5__T: ... + @typing.overload + def addUnit(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def analyzeSensitivity(self, double: float, double2: float, double3: float) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.SensitivityResult: ... + def applyFieldInputs(self) -> None: ... + 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 buildGraph(self) -> jneqsim.process.processmodel.graph.ProcessGraph: ... + @typing.overload + def checkMassBalance(self) -> 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, 'ProcessSystem.MassBalanceResult']: ... + def clear(self) -> None: ... + def clearAll(self) -> None: ... + def clearHistory(self) -> None: ... + @typing.overload + def connect(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def connect(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], connectionType: ProcessConnection.ConnectionType) -> None: ... + def copy(self) -> 'ProcessSystem': ... + def createBatchStudy(self) -> jneqsim.process.util.optimizer.BatchStudy.Builder: ... + def createDiagramExporter(self) -> jneqsim.process.processmodel.diagram.ProcessDiagramExporter: ... + def createFlowRateOptimizer(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.util.optimizer.FlowRateOptimizer: ... + def createOptimizer(self) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine: ... + def deactivateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... + def disableAllConstraints(self) -> int: ... + def displayResult(self) -> None: ... + def enableAllConstraints(self) -> int: ... + def equals(self, object: typing.Any) -> bool: ... + def evaluateConstraints(self) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.ConstraintReport: ... + def exportDiagramPNG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportDiagramSVG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportState(self) -> jneqsim.process.processmodel.lifecycle.ProcessSystemState: ... + def exportStateToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def exportToGraphviz(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def exportToGraphviz(self, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... + def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... + @typing.overload + def findMaxThroughput(self, double: float, double2: float) -> float: ... + @typing.overload + def findMaxThroughput(self, double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def fromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def fromJsonAndRun(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SimulationResult': ... + def generateCombinationScenarios(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def generateLiftCurve(self, 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]) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.LiftCurveData: ... + def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + def generateSafetyScenarios(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def getAdaptiveTimestepTolerance(self) -> float: ... + def getAlarmManager(self) -> jneqsim.process.alarm.ProcessAlarmManager: ... + def getAllElements(self) -> java.util.List[jneqsim.process.ProcessElementInterface]: ... + def getAllStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getAllUnitNames(self) -> java.util.ArrayList[java.lang.String]: ... + def getAutomation(self) -> jneqsim.process.automation.ProcessAutomation: ... + def getBenchmarkDeviations(self) -> java.util.Map[java.lang.String, float]: ... + def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getBottleneckUtilization(self) -> float: ... + def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... + def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def getConditionMonitor(self) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... + def getConnections(self) -> java.util.List[ProcessConnection]: ... + def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getControllerDevices(self) -> java.util.List[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... + def getConvergenceDiagnostics(self) -> java.lang.String: ... + def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCostEstimate(self) -> jneqsim.process.costestimation.ProcessCostEstimate: ... + def getDesignReport(self) -> java.lang.String: ... + def getDesignReportJson(self) -> java.lang.String: ... + def getElectricalLoadList(self) -> jneqsim.process.electricaldesign.loadanalysis.ElectricalLoadList: ... + @typing.overload + def getEmissions(self) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + @typing.overload + def getEmissions(self, double: float) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentCostEstimate(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... + def getEquipmentElectricalDesign(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.electricaldesign.ElectricalDesign: ... + def getEquipmentMechanicalDesign(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... + def getEventScheduler(self) -> jneqsim.process.dynamics.EventScheduler: ... + def getExecutionPartitionInfo(self) -> java.lang.String: ... + def getExecutionProfile(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getExecutionStrategyExplanation(self) -> java.lang.String: ... + @typing.overload + def getExergyAnalysis(self) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... + @typing.overload + def getExergyAnalysis(self, double: float) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyDestruction(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + def getFailedMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + @typing.overload + def getFailedMassBalance(self, double: float) -> 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, '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 getGraphSummary(self) -> java.lang.String: ... + def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHistoryCapacity(self) -> int: ... + def getHistorySize(self) -> int: ... + def getHistorySnapshot(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getIntegrationMethod(self) -> 'ProcessSystem.IntegrationMethod': ... + def getIntegratorStrategy(self) -> jneqsim.process.dynamics.IntegratorStrategy: ... + def getLastRunElapsedMs(self) -> float: ... + def getMassBalanceError(self) -> float: ... + def getMassBalanceErrorThreshold(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 getMaxParallelism(self) -> int: ... + def getMaxTimestep(self) -> float: ... + def getMaxTransientIterations(self) -> int: ... + def getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getMeasurementDeviceByTag(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getMeasurementDevices(self) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getMeasurementDevicesByRole(self, instrumentTagRole: jneqsim.process.measurementdevice.InstrumentTagRole) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getMechanicalDesignAndCostEstimateJson(self) -> java.lang.String: ... + def getMinTimestep(self) -> float: ... + def getMinimumFlowForMassBalanceError(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getParallelLevelCount(self) -> int: ... + def getParallelPartition(self) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProgressListener(self) -> 'ProcessSystem.SimulationProgressListener': ... + def getRecycleBlockCount(self) -> int: ... + def getRecycleBlockReport(self) -> java.lang.String: ... + def getRecycleBlocks(self) -> java.util.List[java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]]: ... + def getReport_json(self) -> java.lang.String: ... + def getRunStatus(self) -> 'RunStatus': ... + def getRunStatusJson(self) -> java.lang.String: ... + def getStreamSummaryJson(self) -> java.lang.String: ... + def getStreamSummaryTable(self) -> java.lang.String: ... + def getStructureVersion(self) -> int: ... + def getSurroundingTemperature(self) -> float: ... + def getSystemElectricalDesign(self) -> jneqsim.process.electricaldesign.system.SystemElectricalDesign: ... + def getSystemInstrumentDesign(self) -> jneqsim.process.instrumentdesign.system.SystemInstrumentDesign: ... + def getSystemMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.SystemMechanicalDesign: ... + @typing.overload + def getTime(self) -> float: ... + @typing.overload + def getTime(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTimeStep(self) -> float: ... + def getTopologicalOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTotalCO2Emissions(self) -> float: ... + def getTransientThreadPoolSize(self) -> int: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitNames(self) -> java.util.List[java.lang.String]: ... + def getUnitNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUtilizationSnapshotJson(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 hasAdjusters(self) -> bool: ... + def hasCalculators(self) -> bool: ... + def hasMultiInputEquipment(self) -> bool: ... + def hasRecycleLoops(self) -> bool: ... + def hasRecycles(self) -> bool: ... + def hasUnitName(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hashCode(self) -> int: ... + def initAllElectricalDesigns(self) -> None: ... + def initAllMechanicalDesigns(self) -> None: ... + def invalidateGraph(self) -> None: ... + def isAdaptiveTimestepEnabled(self) -> bool: ... + def isAnyEquipmentOverloaded(self) -> bool: ... + def isAnyHardLimitExceeded(self) -> bool: ... + def isAutoValidate(self) -> bool: ... + def isInRecycleLoop(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isParallelExecutionBeneficial(self) -> bool: ... + def isParallelTransientEnabled(self) -> bool: ... + def isProfilingEnabled(self) -> bool: ... + def isPublishEvents(self) -> bool: ... + def isReadyToRun(self) -> bool: ... + def isRunStep(self) -> bool: ... + def isSolveFullyInModelStep(self) -> bool: ... + def isUseCoordinatedRecycleAcceleration(self) -> bool: ... + def isUseFlashWarmStart(self) -> bool: ... + def isUseGraphBasedExecution(self) -> bool: ... + def isUseOptimizedExecution(self) -> bool: ... + @staticmethod + def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + @staticmethod + def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + def loadProcessFromYaml(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def loadStateFromFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def open(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + def optimize(self) -> 'ProcessSystem.OptimizationBuilder': ... + def optimizeThroughput(self, double: float, double2: float, double3: float, double4: float) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.OptimizationResult: ... + def populateExergyAnalysis(self, exergyAnalysisReport: jneqsim.process.util.exergy.ExergyAnalysisReport, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def printExecutionProfile(self) -> None: ... + def printLogFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def removeUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def replaceObject(self, string: typing.Union[java.lang.String, str], processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> None: ... + def replaceUnit(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def reportMeasuredValues(self) -> None: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def reset(self) -> None: ... + def resolveStreamReference(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def runAllElectricalDesigns(self) -> None: ... + def runAllMechanicalDesigns(self) -> None: ... + def runAndReport(self) -> 'SimulationResult': ... + def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... + def runAsThread(self) -> java.lang.Thread: ... + def runDataflow(self, uUID: java.util.UUID) -> None: ... + def runHybrid(self, uUID: java.util.UUID) -> None: ... + def runMechanicalDesignAndCostEstimation(self) -> None: ... + @typing.overload + def runOptimal(self) -> None: ... + @typing.overload + def runOptimal(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runOptimized(self) -> None: ... + @typing.overload + def runOptimized(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runParallel(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runParallel(self) -> None: ... + def runSequential(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: ... + @typing.overload + def runTransient(self) -> None: ... + def runTransientAdaptive(self, double: float, uUID: java.util.UUID) -> float: ... + @typing.overload + def runWithCallback(self, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> None: ... + @typing.overload + def runWithCallback(self, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]], uUID: java.util.UUID) -> None: ... + def runWithProgress(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def run_step(self) -> None: ... + @typing.overload + def run_step(self, uUID: java.util.UUID) -> None: ... + def save(self, string: typing.Union[java.lang.String, str]) -> None: ... + def saveAuto(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def saveToNeqsim(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setAdaptiveTimestepEnabled(self, boolean: bool) -> None: ... + def setAdaptiveTimestepTolerance(self, double: float) -> None: ... + def setAutoValidate(self, boolean: bool) -> None: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> int: ... + def setEnableMassBalanceTracking(self, boolean: bool) -> None: ... + def setEventScheduler(self, eventScheduler: jneqsim.process.dynamics.EventScheduler) -> None: ... + def setFieldData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + @typing.overload + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> None: ... + @typing.overload + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, boolean: bool) -> None: ... + def setHistoryCapacity(self, int: int) -> None: ... + def setIntegrationMethod(self, integrationMethod: 'ProcessSystem.IntegrationMethod') -> None: ... + def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... + def setMassBalanceErrorThreshold(self, double: float) -> None: ... + def setMaxTimestep(self, double: float) -> None: ... + def setMaxTransientIterations(self, int: int) -> None: ... + def setMinTimestep(self, double: float) -> None: ... + def setMinimumFlowForMassBalanceError(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setParallelTransientEnabled(self, boolean: bool) -> None: ... + def setProfilingEnabled(self, boolean: bool) -> None: ... + def setProgressListener(self, simulationProgressListener: typing.Union['ProcessSystem.SimulationProgressListener', typing.Callable]) -> None: ... + def setPublishEvents(self, boolean: bool) -> None: ... + def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... + def setRunStep(self, boolean: bool) -> None: ... + @typing.overload + def setSectionLowFlowThreshold(self, double: float) -> None: ... + @typing.overload + def setSectionLowFlowThreshold(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSectionLowFlowThresholdFraction(self, double: float) -> int: ... + def setSolveFullyInModelStep(self, boolean: bool) -> None: ... + def setSurroundingTemperature(self, double: float) -> None: ... + def setTimeStep(self, double: float) -> None: ... + def setTransientThreadPoolSize(self, int: int) -> None: ... + def setUseCoordinatedRecycleAcceleration(self, boolean: bool) -> None: ... + def setUseFlashWarmStart(self, boolean: bool) -> None: ... + def setUseGraphBasedExecution(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 solved(self) -> bool: ... + def storeInitialState(self) -> None: ... + @typing.overload + def toDOT(self) -> java.lang.String: ... + @typing.overload + def toDOT(self, diagramDetailLevel: jneqsim.process.processmodel.diagram.DiagramDetailLevel) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def validateAll(self) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... + def validateAndReport(self) -> 'SimulationResult': ... + @staticmethod + def validateJson(string: typing.Union[java.lang.String, str]) -> ProcessJsonValidator.ValidationReport: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + def validateStructure(self) -> java.util.List[java.lang.String]: ... + def view(self) -> None: ... + def wireStream(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + class IntegrationMethod(java.lang.Enum['ProcessSystem.IntegrationMethod']): + EXPLICIT_EULER: typing.ClassVar['ProcessSystem.IntegrationMethod'] = ... + SEMI_IMPLICIT: typing.ClassVar['ProcessSystem.IntegrationMethod'] = ... + _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]) -> 'ProcessSystem.IntegrationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessSystem.IntegrationMethod']: ... + class MassBalanceResult: + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def getAbsoluteError(self) -> float: ... + def getPercentError(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class OptimizationBuilder: + def __init__(self, processSystem: 'ProcessSystem'): ... + def findMaxThroughput(self) -> float: ... + def generateLiftCurve(self, 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]) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.LiftCurveData: ... + def optimize(self) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.OptimizationResult: ... + def usingAlgorithm(self, searchAlgorithm: jneqsim.process.util.optimizer.ProcessOptimizationEngine.SearchAlgorithm) -> 'ProcessSystem.OptimizationBuilder': ... + def withFlowBounds(self, double: float, double2: float) -> 'ProcessSystem.OptimizationBuilder': ... + def withMaxIterations(self, int: int) -> 'ProcessSystem.OptimizationBuilder': ... + def withPressures(self, double: float, double2: float) -> 'ProcessSystem.OptimizationBuilder': ... + def withTolerance(self, double: float) -> 'ProcessSystem.OptimizationBuilder': ... + class SimulationProgressListener: + def onBeforeIteration(self, int: int) -> None: ... + def onBeforeUnit(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, int: int, int2: int, int3: int) -> None: ... + def onIterationComplete(self, int: int, boolean: bool, double: float) -> None: ... + def onSimulationComplete(self, int: int, boolean: bool) -> None: ... + def onSimulationStart(self, int: int) -> None: ... + def onUnitComplete(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, int: int, int2: int, int3: int) -> None: ... + def onUnitError(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, exception: java.lang.Exception) -> bool: ... + +class ProcessSystemGraphvizExporter: + def __init__(self): ... + @typing.overload + def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... + class GraphvizExportOptions: + @staticmethod + def builder() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + @staticmethod + def defaults() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTablePlacement(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + def getTemperatureUnit(self) -> java.lang.String: ... + def includeStreamFlowRates(self) -> bool: ... + def includeStreamPressures(self) -> bool: ... + def includeStreamPropertyTable(self) -> bool: ... + def includeStreamTemperatures(self) -> bool: ... + def includeTableFlowRates(self) -> bool: ... + def includeTablePressures(self) -> bool: ... + def includeTableTemperatures(self) -> bool: ... + class Builder: + def build(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... + def flowRateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeStreamFlowRates(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeStreamPressures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeStreamPropertyTable(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeStreamTemperatures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeTableFlowRates(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeTablePressures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def includeTableTemperatures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def pressureUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def tablePlacement(self, tablePlacement: 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement') -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def temperatureUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + class TablePlacement(java.lang.Enum['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement']): + ABOVE: typing.ClassVar['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement'] = ... + BELOW: typing.ClassVar['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement'] = ... + _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]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement']: ... + +class RunStatus(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def getFailedUnitError(self) -> java.lang.String: ... + def getFailedUnitName(self) -> java.lang.String: ... + def getUnits(self) -> java.util.List['UnitRunStatus']: ... + def isCompleted(self) -> bool: ... + def isSuccess(self) -> bool: ... + def markComplete(self, boolean: bool) -> None: ... + @typing.overload + def recordFailure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def recordFailure(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]) -> None: ... + @typing.overload + def recordSuccess(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def recordSuccess(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def reset(self) -> None: ... + def toJson(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + +class SimulationResult: + @staticmethod + def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def failure(list: java.util.List['SimulationResult.ErrorDetail'], list2: java.util.List[typing.Union[java.lang.String, str]]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def failure(processSystem: ProcessSystem, list: java.util.List['SimulationResult.ErrorDetail'], list2: java.util.List[typing.Union[java.lang.String, str]]) -> 'SimulationResult': ... + def getErrors(self) -> java.util.List['SimulationResult.ErrorDetail']: ... + def getMetadata(self) -> com.google.gson.JsonObject: ... + def getProcessSystem(self) -> ProcessSystem: ... + def getReportJson(self) -> java.lang.String: ... + def getStatus(self) -> 'SimulationResult.Status': ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def hasMetadata(self) -> bool: ... + def hasWarnings(self) -> bool: ... + def isError(self) -> bool: ... + def isSuccess(self) -> bool: ... + @typing.overload + @staticmethod + def success(processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> 'SimulationResult': ... + @typing.overload + @staticmethod + def success(processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], jsonObject: com.google.gson.JsonObject) -> 'SimulationResult': ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class ErrorDetail: + 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]): ... + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + class Status(java.lang.Enum['SimulationResult.Status']): + SUCCESS: typing.ClassVar['SimulationResult.Status'] = ... + ERROR: typing.ClassVar['SimulationResult.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]) -> 'SimulationResult.Status': ... + @staticmethod + def values() -> typing.MutableSequence['SimulationResult.Status']: ... + +class UnitRunStatus(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getAreaName(self) -> java.lang.String: ... + def getErrorMessage(self) -> java.lang.String: ... + def getUnitName(self) -> java.lang.String: ... + def getUnitType(self) -> java.lang.String: ... + def isSuccess(self) -> bool: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + +class XmlUtil: + @staticmethod + def createDocumentBuilder() -> javax.xml.parsers.DocumentBuilder: ... + +class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcDesign(self) -> None: ... + def disableAllConstraints(self) -> int: ... + def displayResult(self) -> None: ... + def enableAllConstraints(self) -> int: ... + def getConditionAnalysisMessage(self) -> java.lang.String: ... + @typing.overload + def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + @typing.overload + def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergyDestruction(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getOperations(self) -> ProcessSystem: ... + def getPreferedThermodynamicModel(self) -> java.lang.String: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReport_json(self) -> java.lang.String: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSpecification(self) -> java.lang.String: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def isCalcDesign(self) -> bool: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + @typing.overload + def run_step(self) -> None: ... + @typing.overload + def run_step(self, uUID: java.util.UUID) -> None: ... + def setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def setDesign(self) -> None: ... + def setIsCalcDesign(self, boolean: bool) -> None: ... + def setPreferedThermodynamicModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure(self, double: float) -> None: ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setRegulatorOutSignal(self, double: float) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def solved(self) -> bool: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel")``. + + DexpiMetadata: typing.Type[DexpiMetadata] + DexpiProcessUnit: typing.Type[DexpiProcessUnit] + DexpiRoundTripProfile: typing.Type[DexpiRoundTripProfile] + DexpiStream: typing.Type[DexpiStream] + DexpiXmlReader: typing.Type[DexpiXmlReader] + DexpiXmlReaderException: typing.Type[DexpiXmlReaderException] + DexpiXmlWriter: typing.Type[DexpiXmlWriter] + JsonProcessBuilder: typing.Type[JsonProcessBuilder] + JsonProcessExporter: typing.Type[JsonProcessExporter] + ModuleInterface: typing.Type[ModuleInterface] + ProcessConnection: typing.Type[ProcessConnection] + ProcessFlowDiagramExporter: typing.Type[ProcessFlowDiagramExporter] + ProcessJsonValidator: typing.Type[ProcessJsonValidator] + ProcessLoader: typing.Type[ProcessLoader] + ProcessModel: typing.Type[ProcessModel] + ProcessModelGraphvizExporter: typing.Type[ProcessModelGraphvizExporter] + ProcessModule: typing.Type[ProcessModule] + ProcessModuleBaseClass: typing.Type[ProcessModuleBaseClass] + ProcessSimulationSession: typing.Type[ProcessSimulationSession] + ProcessSystem: typing.Type[ProcessSystem] + ProcessSystemGraphvizExporter: typing.Type[ProcessSystemGraphvizExporter] + RunStatus: typing.Type[RunStatus] + SimulationResult: typing.Type[SimulationResult] + UnitRunStatus: typing.Type[UnitRunStatus] + XmlUtil: typing.Type[XmlUtil] + biorefinery: jneqsim.process.processmodel.biorefinery.__module_protocol__ + dexpi: jneqsim.process.processmodel.dexpi.__module_protocol__ + diagram: jneqsim.process.processmodel.diagram.__module_protocol__ + graph: jneqsim.process.processmodel.graph.__module_protocol__ + lifecycle: jneqsim.process.processmodel.lifecycle.__module_protocol__ + processmodules: jneqsim.process.processmodel.processmodules.__module_protocol__ diff --git a/src/jneqsim/process/processmodel/biorefinery/__init__.pyi b/src/jneqsim/process/processmodel/biorefinery/__init__.pyi new file mode 100644 index 00000000..41959e2e --- /dev/null +++ b/src/jneqsim/process/processmodel/biorefinery/__init__.pyi @@ -0,0 +1,95 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment.reactor +import jneqsim.process.equipment.splitter +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.thermo.characterization +import typing + + + +class BiogasToGridModule(jneqsim.process.processmodel.ProcessModule): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getBiomethaneFlowNm3PerHour(self) -> float: ... + def getBiomethaneOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCompressorPowerKW(self) -> float: ... + def getCoolerDutyKW(self) -> float: ... + def getDigestateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOffgasStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDigesterTemperatureC(self, double: float) -> None: ... + def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setGridPressureBara(self, double: float) -> None: ... + def setGridTemperatureC(self, double: float) -> None: ... + def setHydraulicRetentionTimeDays(self, double: float) -> None: ... + def setSubstrateType(self, substrateType: jneqsim.process.equipment.reactor.AnaerobicDigester.SubstrateType) -> None: ... + def setUpgradingTechnology(self, upgradingTechnology: jneqsim.process.equipment.splitter.BiogasUpgrader.UpgradingTechnology) -> None: ... + def toJson(self) -> java.lang.String: ... + +class GasificationSynthesisModule(jneqsim.process.processmodel.ProcessModule): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getFtLiquidFlowKgPerHr(self) -> float: ... + def getFtLiquidStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSyngasH2COmolRatio(self) -> float: ... + def getTailGasStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBiomass(self, biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, double: float) -> None: ... + def setBiomassFeedRateKgPerHr(self, double: float) -> None: ... + def setEquivalenceRatio(self, double: float) -> None: ... + def setFtAlpha(self, double: float) -> None: ... + def setFtConversion(self, double: float) -> None: ... + def setFtReactorPressureBara(self, double: float) -> None: ... + def setFtReactorTemperatureC(self, double: float) -> None: ... + def setGasifierTemperatureC(self, double: float) -> None: ... + def setGasifierType(self, gasifierType: jneqsim.process.equipment.reactor.BiomassGasifier.GasifierType) -> None: ... + def setSteamToBiomassRatio(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class WasteToEnergyCHPModule(jneqsim.process.processmodel.ProcessModule): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAnnualElectricityMWh(self) -> float: ... + def getAnnualHeatMWh(self) -> float: ... + def getCO2EmissionsKgPerHr(self) -> float: ... + def getDigestateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getElectricalPowerKW(self) -> float: ... + def getExhaustGasStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFuelInputKW(self) -> float: ... + def getHeatOutputKW(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTotalCHPefficiency(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDigesterTemperatureC(self, double: float) -> None: ... + def setElectricalEfficiency(self, double: float) -> None: ... + def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setHydraulicRetentionTimeDays(self, double: float) -> None: ... + def setOperatingHoursPerYear(self, double: float) -> None: ... + def setSubstrateType(self, substrateType: jneqsim.process.equipment.reactor.AnaerobicDigester.SubstrateType) -> None: ... + def setThermalEfficiency(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.biorefinery")``. + + BiogasToGridModule: typing.Type[BiogasToGridModule] + GasificationSynthesisModule: typing.Type[GasificationSynthesisModule] + WasteToEnergyCHPModule: typing.Type[WasteToEnergyCHPModule] diff --git a/src/jneqsim/process/processmodel/dexpi/__init__.pyi b/src/jneqsim/process/processmodel/dexpi/__init__.pyi new file mode 100644 index 00000000..2b162c79 --- /dev/null +++ b/src/jneqsim/process/processmodel/dexpi/__init__.pyi @@ -0,0 +1,308 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype.protocol +import jneqsim.process.controllerdevice +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.measurementdevice +import jneqsim.process.processmodel +import jneqsim.thermo.system +import org.w3c.dom +import typing + + + +class DexpiEquipmentFactory: + @staticmethod + def create(dexpiProcessUnit: 'DexpiProcessUnit', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + +class DexpiInstrumentInfo(java.io.Serializable): + 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], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], string8: typing.Union[java.lang.String, str]): ... + def getActuatingTag(self) -> java.lang.String: ... + def getCategory(self) -> java.lang.String: ... + def getFunctions(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getInstrumentNumber(self) -> java.lang.String: ... + def getLoopNumber(self) -> java.lang.String: ... + def getMeasurementUnit(self) -> java.lang.String: ... + def getTagName(self) -> java.lang.String: ... + def hasControlFunction(self) -> bool: ... + def isInLoop(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class DexpiLayoutConfig: + def __init__(self): ... + def getBatteryLimitPadding(self) -> float: ... + def getBorderMargin(self) -> float: ... + def getDefaultScale(self) -> float: ... + def getFontName(self) -> java.lang.String: ... + def getInstrumentOffsetY(self) -> float: ... + def getInstrumentXSpacing(self) -> float: ... + def getLineColorB(self) -> java.lang.String: ... + def getLineColorG(self) -> java.lang.String: ... + def getLineColorR(self) -> java.lang.String: ... + def getProcessLineWeight(self) -> float: ... + def getSignalLineWeight(self) -> float: ... + def getTagFontHeight(self) -> float: ... + def getXSpacing(self) -> float: ... + def getXStart(self) -> float: ... + def getYBase(self) -> float: ... + def getYBranchOffset(self) -> float: ... + def isShowBatteryLimit(self) -> bool: ... + def isShowEquipmentBars(self) -> bool: ... + def isShowFailPositionMarkers(self) -> bool: ... + def isShowFlowArrows(self) -> bool: ... + def isShowInsulationMarks(self) -> bool: ... + def isShowOrientationMarkers(self) -> bool: ... + def isShowRevisionHistory(self) -> bool: ... + def isShowSilMarkers(self) -> bool: ... + def isShowStreamLabels(self) -> bool: ... + def isShowStreamTable(self) -> bool: ... + def isShowSymbolLegend(self) -> bool: ... + def setBatteryLimitPadding(self, double: float) -> 'DexpiLayoutConfig': ... + def setBorderMargin(self, double: float) -> 'DexpiLayoutConfig': ... + def setDefaultScale(self, double: float) -> 'DexpiLayoutConfig': ... + def setFontName(self, string: typing.Union[java.lang.String, str]) -> 'DexpiLayoutConfig': ... + def setInstrumentOffsetY(self, double: float) -> 'DexpiLayoutConfig': ... + def setInstrumentXSpacing(self, double: float) -> 'DexpiLayoutConfig': ... + def setLineColor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'DexpiLayoutConfig': ... + def setProcessLineWeight(self, double: float) -> 'DexpiLayoutConfig': ... + def setShowBatteryLimit(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowEquipmentBars(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowFailPositionMarkers(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowFlowArrows(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowInsulationMarks(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowOrientationMarkers(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowRevisionHistory(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowSilMarkers(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowStreamLabels(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowStreamTable(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setShowSymbolLegend(self, boolean: bool) -> 'DexpiLayoutConfig': ... + def setSignalLineWeight(self, double: float) -> 'DexpiLayoutConfig': ... + def setTagFontHeight(self, double: float) -> 'DexpiLayoutConfig': ... + def setXSpacing(self, double: float) -> 'DexpiLayoutConfig': ... + def setXStart(self, double: float) -> 'DexpiLayoutConfig': ... + def setYBase(self, double: float) -> 'DexpiLayoutConfig': ... + def setYBranchOffset(self, double: float) -> 'DexpiLayoutConfig': ... + +class DexpiMappingLoader: + @staticmethod + def clearCache() -> None: ... + @staticmethod + def loadEquipmentMapping() -> java.util.Map[java.lang.String, jneqsim.process.equipment.EquipmentEnum]: ... + @staticmethod + def loadPipingComponentMapping() -> java.util.Map[java.lang.String, jneqsim.process.equipment.EquipmentEnum]: ... + +class DexpiMetadata: + TAG_NAME: typing.ClassVar[java.lang.String] = ... + LINE_NUMBER: typing.ClassVar[java.lang.String] = ... + FLUID_CODE: typing.ClassVar[java.lang.String] = ... + SEGMENT_NUMBER: typing.ClassVar[java.lang.String] = ... + OPERATING_PRESSURE_VALUE: typing.ClassVar[java.lang.String] = ... + OPERATING_PRESSURE_UNIT: typing.ClassVar[java.lang.String] = ... + OPERATING_TEMPERATURE_VALUE: typing.ClassVar[java.lang.String] = ... + OPERATING_TEMPERATURE_UNIT: typing.ClassVar[java.lang.String] = ... + OPERATING_FLOW_VALUE: typing.ClassVar[java.lang.String] = ... + OPERATING_FLOW_UNIT: typing.ClassVar[java.lang.String] = ... + INSTRUMENTATION_CATEGORY: typing.ClassVar[java.lang.String] = ... + INSTRUMENTATION_FUNCTIONS: typing.ClassVar[java.lang.String] = ... + INSTRUMENTATION_NUMBER: typing.ClassVar[java.lang.String] = ... + LOOP_NUMBER: typing.ClassVar[java.lang.String] = ... + SIGNAL_GENERATING_NUMBER: typing.ClassVar[java.lang.String] = ... + ACTUATING_FUNCTION_NUMBER: typing.ClassVar[java.lang.String] = ... + INSIDE_DIAMETER: typing.ClassVar[java.lang.String] = ... + NOMINAL_DIAMETER: typing.ClassVar[java.lang.String] = ... + TANGENT_TO_TANGENT_LENGTH: typing.ClassVar[java.lang.String] = ... + DESIGN_PRESSURE: typing.ClassVar[java.lang.String] = ... + DESIGN_TEMPERATURE: typing.ClassVar[java.lang.String] = ... + ORIENTATION: typing.ClassVar[java.lang.String] = ... + VALVE_CV: typing.ClassVar[java.lang.String] = ... + WALL_THICKNESS: typing.ClassVar[java.lang.String] = ... + WEIGHT: typing.ClassVar[java.lang.String] = ... + PIPING_CLASS_CODE: typing.ClassVar[java.lang.String] = ... + FAIL_POSITION: typing.ClassVar[java.lang.String] = ... + SIL_LEVEL: typing.ClassVar[java.lang.String] = ... + INSULATION_CODE: typing.ClassVar[java.lang.String] = ... + LINE_SIZE: typing.ClassVar[java.lang.String] = ... + NUMBER_OF_TRAYS: typing.ClassVar[java.lang.String] = ... + FEED_TRAY: typing.ClassVar[java.lang.String] = ... + DEXPI_RDL_PREFIX: typing.ClassVar[java.lang.String] = ... + DEFAULT_PRESSURE_UNIT: typing.ClassVar[java.lang.String] = ... + DEFAULT_TEMPERATURE_UNIT: typing.ClassVar[java.lang.String] = ... + DEFAULT_FLOW_UNIT: typing.ClassVar[java.lang.String] = ... + @staticmethod + def recommendedEquipmentAttributes() -> java.util.Set[java.lang.String]: ... + @staticmethod + def recommendedStreamAttributes() -> java.util.Set[java.lang.String]: ... + @staticmethod + def sizingAttributes() -> java.util.Set[java.lang.String]: ... + +class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], equipmentEnum: jneqsim.process.equipment.EquipmentEnum, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getDexpiClass(self) -> java.lang.String: ... + def getDexpiId(self) -> java.lang.String: ... + def getFluidCode(self) -> java.lang.String: ... + def getLineNumber(self) -> java.lang.String: ... + def getMappedEquipment(self) -> jneqsim.process.equipment.EquipmentEnum: ... + def getSizingAttribute(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getSizingAttributeAsDouble(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getSizingAttributes(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDexpiId(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSizingAttribute(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + +class DexpiRoundTripProfile: + @staticmethod + def minimalRunnableProfile() -> 'DexpiRoundTripProfile': ... + def validate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'DexpiRoundTripProfile.ValidationResult': ... + class ValidationResult: + def getViolations(self) -> java.util.List[java.lang.String]: ... + def isSuccessful(self) -> bool: ... + +class DexpiSimulationBuilder: + def __init__(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]): ... + def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def setAutoInstrument(self, boolean: bool) -> 'DexpiSimulationBuilder': ... + def setFeedFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DexpiSimulationBuilder': ... + def setFeedPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DexpiSimulationBuilder': ... + def setFeedTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DexpiSimulationBuilder': ... + def setFluidTemplate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'DexpiSimulationBuilder': ... + def setNamespaceAware(self, boolean: bool) -> 'DexpiSimulationBuilder': ... + +class DexpiStream(jneqsim.process.equipment.stream.Stream): + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def getDexpiClass(self) -> java.lang.String: ... + def getFluidCode(self) -> java.lang.String: ... + def getLineNumber(self) -> java.lang.String: ... + +class DexpiStreamUtils: + @staticmethod + def getGasOutletStream(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + @staticmethod + def getLiquidOutletStream(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + @staticmethod + def getWaterOutletStream(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + @staticmethod + def isMultiOutlet(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + +class DexpiTopologyResolver: + @staticmethod + def resolve(document: org.w3c.dom.Document) -> 'DexpiTopologyResolver.ResolvedTopology': ... + class ResolvedTopology(java.io.Serializable): + def __init__(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List['DexpiTopologyResolver.TopologyEdge'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], org.w3c.dom.Element], typing.Mapping[typing.Union[java.lang.String, str], org.w3c.dom.Element]]): ... + def getEdges(self) -> java.util.List['DexpiTopologyResolver.TopologyEdge']: ... + def getEquipmentElements(self) -> java.util.Map[java.lang.String, org.w3c.dom.Element]: ... + def getIncomingEdges(self, string: typing.Union[java.lang.String, str]) -> java.util.List['DexpiTopologyResolver.TopologyEdge']: ... + def getNozzleToEquipment(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getOrderedEquipmentIds(self) -> java.util.List[java.lang.String]: ... + def getOutgoingEdges(self, string: typing.Union[java.lang.String, str]) -> java.util.List['DexpiTopologyResolver.TopologyEdge']: ... + def hasCycle(self) -> bool: ... + class TopologyEdge(java.io.Serializable): + 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], string5: typing.Union[java.lang.String, str]): ... + def getPipingSegmentId(self) -> java.lang.String: ... + def getSourceEquipmentId(self) -> java.lang.String: ... + def getSourceNozzleId(self) -> java.lang.String: ... + def getTargetEquipmentId(self) -> java.lang.String: ... + def getTargetNozzleId(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +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]: ... + +class DexpiXmlReaderException(java.lang.Exception): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], throwable: java.lang.Throwable): ... + +class DexpiXmlWriter: + @staticmethod + def roundTrip(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], file2: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> None: ... + @typing.overload + @staticmethod + def write(processModel: jneqsim.process.processmodel.ProcessModel, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def write(processModel: jneqsim.process.processmodel.ProcessModel, outputStream: java.io.OutputStream) -> None: ... + @typing.overload + @staticmethod + def write(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def write(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface]]) -> None: ... + @typing.overload + @staticmethod + def write(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream) -> None: ... + @typing.overload + @staticmethod + def write(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface]]) -> None: ... + @typing.overload + @staticmethod + def writeForPyDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def writeForPyDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream) -> None: ... + @staticmethod + def writeSheets(processModel: jneqsim.process.processmodel.ProcessModel, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.util.List[java.io.File]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.dexpi")``. + + DexpiEquipmentFactory: typing.Type[DexpiEquipmentFactory] + DexpiInstrumentInfo: typing.Type[DexpiInstrumentInfo] + DexpiLayoutConfig: typing.Type[DexpiLayoutConfig] + DexpiMappingLoader: typing.Type[DexpiMappingLoader] + DexpiMetadata: typing.Type[DexpiMetadata] + DexpiProcessUnit: typing.Type[DexpiProcessUnit] + DexpiRoundTripProfile: typing.Type[DexpiRoundTripProfile] + DexpiSimulationBuilder: typing.Type[DexpiSimulationBuilder] + DexpiStream: typing.Type[DexpiStream] + DexpiStreamUtils: typing.Type[DexpiStreamUtils] + DexpiTopologyResolver: typing.Type[DexpiTopologyResolver] + DexpiXmlReader: typing.Type[DexpiXmlReader] + DexpiXmlReaderException: typing.Type[DexpiXmlReaderException] + DexpiXmlWriter: typing.Type[DexpiXmlWriter] diff --git a/src/jneqsim/process/processmodel/diagram/__init__.pyi b/src/jneqsim/process/processmodel/diagram/__init__.pyi new file mode 100644 index 00000000..ead4609f --- /dev/null +++ b/src/jneqsim/process/processmodel/diagram/__init__.pyi @@ -0,0 +1,260 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import jpype.protocol +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.process.processmodel.graph +import typing + + + +class DexpiDiagramBridge(java.io.Serializable): + @staticmethod + def createDetailedExporter(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessDiagramExporter': ... + @staticmethod + def createExporter(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessDiagramExporter': ... + @staticmethod + def exportForPyDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @staticmethod + def exportToDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def importAndCreateExporter(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'ProcessDiagramExporter': ... + @typing.overload + @staticmethod + def importAndCreateExporter(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessDiagramExporter': ... + @typing.overload + @staticmethod + def importDexpi(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> jneqsim.process.processmodel.ProcessSystem: ... + @typing.overload + @staticmethod + def importDexpi(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> jneqsim.process.processmodel.ProcessSystem: ... + @staticmethod + def roundTrip(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], path2: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], path3: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> jneqsim.process.processmodel.ProcessSystem: ... + +class DiagramDetailLevel(java.lang.Enum['DiagramDetailLevel']): + CONCEPTUAL: typing.ClassVar['DiagramDetailLevel'] = ... + ENGINEERING: typing.ClassVar['DiagramDetailLevel'] = ... + DEBUG: typing.ClassVar['DiagramDetailLevel'] = ... + def showCompositions(self) -> bool: ... + def showConditions(self) -> bool: ... + def showFlowRates(self) -> bool: ... + def showSpecifications(self) -> bool: ... + def useCompactLabels(self) -> bool: ... + _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]) -> 'DiagramDetailLevel': ... + @staticmethod + def values() -> typing.MutableSequence['DiagramDetailLevel']: ... + +class DiagramStyle(java.lang.Enum['DiagramStyle']): + NEQSIM: typing.ClassVar['DiagramStyle'] = ... + HYSYS: typing.ClassVar['DiagramStyle'] = ... + PROII: typing.ClassVar['DiagramStyle'] = ... + ASPEN_PLUS: typing.ClassVar['DiagramStyle'] = ... + def getArrowStyle(self) -> java.lang.String: ... + def getBackgroundColor(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getEdgeStyle(self) -> java.lang.String: ... + def getEnergyStreamColor(self) -> java.lang.String: ... + def getEquipmentFillColor(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getEquipmentOutlineColor(self) -> java.lang.String: ... + def getFontColor(self) -> java.lang.String: ... + def getFontName(self) -> java.lang.String: ... + def getFontSize(self) -> int: ... + def getPenWidth(self) -> float: ... + def getRecycleColor(self) -> java.lang.String: ... + def getSplineType(self) -> java.lang.String: ... + def getStreamColor(self) -> java.lang.String: ... + def getStreamWidth(self) -> float: ... + def showClusters(self) -> bool: ... + def useHtmlLabels(self) -> bool: ... + def useStreamNumbers(self) -> bool: ... + _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]) -> 'DiagramStyle': ... + @staticmethod + def values() -> typing.MutableSequence['DiagramStyle']: ... + +class EquipmentRole(java.lang.Enum['EquipmentRole']): + GAS: typing.ClassVar['EquipmentRole'] = ... + LIQUID: typing.ClassVar['EquipmentRole'] = ... + SEPARATOR: typing.ClassVar['EquipmentRole'] = ... + MIXED: typing.ClassVar['EquipmentRole'] = ... + FEED: typing.ClassVar['EquipmentRole'] = ... + PRODUCT: typing.ClassVar['EquipmentRole'] = ... + UTILITY: typing.ClassVar['EquipmentRole'] = ... + CONTROL: typing.ClassVar['EquipmentRole'] = ... + UNKNOWN: typing.ClassVar['EquipmentRole'] = ... + def getDefaultColor(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getPreferredZone(self) -> java.lang.String: ... + def getRankPriority(self) -> int: ... + _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]) -> 'EquipmentRole': ... + @staticmethod + def values() -> typing.MutableSequence['EquipmentRole']: ... + +class EquipmentVisualStyle(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + 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], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]): ... + def getBorderColor(self) -> java.lang.String: ... + def getFillColor(self) -> java.lang.String: ... + def getFontColor(self) -> java.lang.String: ... + def getHeight(self) -> java.lang.String: ... + def getShape(self) -> java.lang.String: ... + @typing.overload + def getStyle(self) -> java.lang.String: ... + @typing.overload + @staticmethod + def getStyle(string: typing.Union[java.lang.String, str]) -> 'EquipmentVisualStyle': ... + @typing.overload + @staticmethod + def getStyle(equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> 'EquipmentVisualStyle': ... + @staticmethod + def getStyleForEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'EquipmentVisualStyle': ... + def getWidth(self) -> java.lang.String: ... + def toGraphvizAttributes(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class PFDLayoutPolicy(java.io.Serializable): + def __init__(self): ... + def classifyEdgePhase(self, processEdge: jneqsim.process.processmodel.graph.ProcessEdge) -> 'PFDLayoutPolicy.StreamPhase': ... + def classifyEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> EquipmentRole: ... + def classifyHorizontalPosition(self, processNode: jneqsim.process.processmodel.graph.ProcessNode, processGraph: jneqsim.process.processmodel.graph.ProcessGraph) -> 'PFDLayoutPolicy.ProcessPosition': ... + def classifyPhaseZone(self, processNode: jneqsim.process.processmodel.graph.ProcessNode) -> 'PFDLayoutPolicy.PhaseZone': ... + def classifySeparatorOutlet(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'PFDLayoutPolicy.SeparatorOutlet': ... + def classifyStreamPhase(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'PFDLayoutPolicy.StreamPhase': ... + def clearCache(self) -> None: ... + def getLayoutCoordinates(self, processNode: jneqsim.process.processmodel.graph.ProcessNode, processGraph: jneqsim.process.processmodel.graph.ProcessGraph) -> typing.MutableSequence[int]: ... + def getRankConstraint(self, processNode: jneqsim.process.processmodel.graph.ProcessNode) -> java.lang.String: ... + def getRankLevel(self, processNode: jneqsim.process.processmodel.graph.ProcessNode) -> int: ... + class PhaseZone(java.lang.Enum['PFDLayoutPolicy.PhaseZone']): + GAS_TOP: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... + OIL_MIDDLE: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... + WATER_BOTTOM: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... + SEPARATION_CENTER: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... + UNKNOWN: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... + def getColor(self) -> java.lang.String: ... + def getLabel(self) -> java.lang.String: ... + def getVerticalRank(self) -> int: ... + _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]) -> 'PFDLayoutPolicy.PhaseZone': ... + @staticmethod + def values() -> typing.MutableSequence['PFDLayoutPolicy.PhaseZone']: ... + class ProcessPosition(java.lang.Enum['PFDLayoutPolicy.ProcessPosition']): + INLET: typing.ClassVar['PFDLayoutPolicy.ProcessPosition'] = ... + CENTER: typing.ClassVar['PFDLayoutPolicy.ProcessPosition'] = ... + OUTLET: typing.ClassVar['PFDLayoutPolicy.ProcessPosition'] = ... + def getDescription(self) -> java.lang.String: ... + def getHorizontalRank(self) -> int: ... + _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]) -> 'PFDLayoutPolicy.ProcessPosition': ... + @staticmethod + def values() -> typing.MutableSequence['PFDLayoutPolicy.ProcessPosition']: ... + class SeparatorOutlet(java.lang.Enum['PFDLayoutPolicy.SeparatorOutlet']): + GAS_TOP: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... + OIL_MIDDLE: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... + WATER_BOTTOM: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... + LIQUID_BOTTOM: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... + FEED_SIDE: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... + def getPort(self) -> java.lang.String: ... + def getRankOffset(self) -> int: ... + _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]) -> 'PFDLayoutPolicy.SeparatorOutlet': ... + @staticmethod + def values() -> typing.MutableSequence['PFDLayoutPolicy.SeparatorOutlet']: ... + class StreamPhase(java.lang.Enum['PFDLayoutPolicy.StreamPhase']): + GAS: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + LIQUID: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + OIL: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + AQUEOUS: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + MIXED: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + UNKNOWN: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + def getColor(self) -> java.lang.String: ... + def getLabel(self) -> java.lang.String: ... + def getLineStyle(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]) -> 'PFDLayoutPolicy.StreamPhase': ... + @staticmethod + def values() -> typing.MutableSequence['PFDLayoutPolicy.StreamPhase']: ... + +class ProcessDiagramExporter(java.io.Serializable): + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, pFDLayoutPolicy: PFDLayoutPolicy): ... + def exportDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportPDF(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportPNG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportSVG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def getDiagramStyle(self) -> DiagramStyle: ... + @staticmethod + def isGraphvizAvailable() -> bool: ... + def setDetailLevel(self, diagramDetailLevel: DiagramDetailLevel) -> 'ProcessDiagramExporter': ... + def setDiagramStyle(self, diagramStyle: DiagramStyle) -> 'ProcessDiagramExporter': ... + def setHighlightRecycles(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setShowControlEquipment(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setShowDexpiMetadata(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setShowLegend(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setShowStreamValues(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setTitle(self, string: typing.Union[java.lang.String, str]) -> 'ProcessDiagramExporter': ... + def setUseClusters(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setUseStreamTables(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setVerticalLayout(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def toDOT(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.diagram")``. + + DexpiDiagramBridge: typing.Type[DexpiDiagramBridge] + DiagramDetailLevel: typing.Type[DiagramDetailLevel] + DiagramStyle: typing.Type[DiagramStyle] + EquipmentRole: typing.Type[EquipmentRole] + EquipmentVisualStyle: typing.Type[EquipmentVisualStyle] + PFDLayoutPolicy: typing.Type[PFDLayoutPolicy] + ProcessDiagramExporter: typing.Type[ProcessDiagramExporter] diff --git a/src/jneqsim/process/processmodel/graph/__init__.pyi b/src/jneqsim/process/processmodel/graph/__init__.pyi new file mode 100644 index 00000000..7e10e682 --- /dev/null +++ b/src/jneqsim/process/processmodel/graph/__init__.pyi @@ -0,0 +1,213 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class ProcessEdge(java.io.Serializable): + @typing.overload + def __init__(self, int: int, processNode: 'ProcessNode', processNode2: 'ProcessNode', string: typing.Union[java.lang.String, str], edgeType: 'ProcessEdge.EdgeType'): ... + @typing.overload + def __init__(self, int: int, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, int: int, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], edgeType: 'ProcessEdge.EdgeType'): ... + def equals(self, object: typing.Any) -> bool: ... + def getEdgeType(self) -> 'ProcessEdge.EdgeType': ... + def getFeatureVector(self) -> typing.MutableSequence[float]: ... + def getIndex(self) -> int: ... + def getIndexPair(self) -> typing.MutableSequence[int]: ... + def getName(self) -> java.lang.String: ... + def getSource(self) -> 'ProcessNode': ... + def getSourceIndex(self) -> int: ... + def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTarget(self) -> 'ProcessNode': ... + def getTargetIndex(self) -> int: ... + def hashCode(self) -> int: ... + def isBackEdge(self) -> bool: ... + def isRecycle(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class EdgeType(java.lang.Enum['ProcessEdge.EdgeType']): + MATERIAL: typing.ClassVar['ProcessEdge.EdgeType'] = ... + ENERGY: typing.ClassVar['ProcessEdge.EdgeType'] = ... + SIGNAL: typing.ClassVar['ProcessEdge.EdgeType'] = ... + RECYCLE: typing.ClassVar['ProcessEdge.EdgeType'] = ... + UNKNOWN: typing.ClassVar['ProcessEdge.EdgeType'] = ... + _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]) -> 'ProcessEdge.EdgeType': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessEdge.EdgeType']: ... + +class ProcessGraph(java.io.Serializable): + def __init__(self): ... + @typing.overload + def addEdge(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> ProcessEdge: ... + @typing.overload + def addEdge(self, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> ProcessEdge: ... + def addNode(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessNode': ... + def addSignalEdge(self, processNode: 'ProcessNode', processNode2: 'ProcessNode', string: typing.Union[java.lang.String, str], edgeType: ProcessEdge.EdgeType) -> ProcessEdge: ... + def analyzeCycles(self) -> 'ProcessGraph.CycleAnalysisResult': ... + def analyzeTearStreamSensitivity(self, list: java.util.List['ProcessNode']) -> 'ProcessGraph.SensitivityAnalysisResult': ... + def findStronglyConnectedComponents(self) -> 'ProcessGraph.SCCResult': ... + def getAdjacencyList(self) -> java.util.Map[int, java.util.List[int]]: ... + def getAdjacencyMatrix(self) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... + def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getEdgeCount(self) -> int: ... + def getEdgeFeatureMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getEdgeIndexTensor(self) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def getEdges(self) -> java.util.List[ProcessEdge]: ... + @typing.overload + def getNode(self, int: int) -> 'ProcessNode': ... + @typing.overload + def getNode(self, string: typing.Union[java.lang.String, str]) -> 'ProcessNode': ... + @typing.overload + def getNode(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessNode': ... + def getNodeCount(self) -> int: ... + def getNodeFeatureMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNodes(self) -> java.util.List['ProcessNode']: ... + def getNodesInRecycleLoops(self) -> java.util.Set['ProcessNode']: ... + def getRecycleEdges(self) -> java.util.List[ProcessEdge]: ... + def getSensitivityAnalysisReport(self) -> java.lang.String: ... + def getSinkNodes(self) -> java.util.List['ProcessNode']: ... + def getSourceNodes(self) -> java.util.List['ProcessNode']: ... + def getSummary(self) -> java.lang.String: ... + def getTopologicalOrder(self) -> java.util.List['ProcessNode']: ... + def hasCycles(self) -> bool: ... + def partitionForParallelExecution(self) -> 'ProcessGraph.ParallelPartition': ... + def selectTearStreams(self) -> 'ProcessGraph.TearStreamResult': ... + def selectTearStreamsForFastConvergence(self) -> 'ProcessGraph.TearStreamResult': ... + def selectTearStreamsWithSensitivity(self) -> 'ProcessGraph.TearStreamResult': ... + def toString(self) -> java.lang.String: ... + def validate(self) -> java.util.List[java.lang.String]: ... + def validateTearStreams(self, list: java.util.List[ProcessEdge]) -> bool: ... + class CycleAnalysisResult(java.io.Serializable): + def getBackEdges(self) -> java.util.List[ProcessEdge]: ... + def getCycleCount(self) -> int: ... + def getCycles(self) -> java.util.List[java.util.List['ProcessNode']]: ... + def hasCycles(self) -> bool: ... + class ParallelPartition(java.io.Serializable): + def getLevelCount(self) -> int: ... + def getLevels(self) -> java.util.List[java.util.List['ProcessNode']]: ... + def getMaxParallelism(self) -> int: ... + def getNodeToLevel(self) -> java.util.Map['ProcessNode', int]: ... + class SCCResult(java.io.Serializable): + def getComponentCount(self) -> int: ... + def getComponents(self) -> java.util.List[java.util.List['ProcessNode']]: ... + def getNodeToComponent(self) -> java.util.Map['ProcessNode', int]: ... + def getRecycleLoops(self) -> java.util.List[java.util.List['ProcessNode']]: ... + class SensitivityAnalysisResult(java.io.Serializable): + def getBestTearStream(self) -> ProcessEdge: ... + def getEdgeSensitivities(self) -> java.util.Map[ProcessEdge, float]: ... + def getRankedTearCandidates(self) -> java.util.List[ProcessEdge]: ... + def getTotalSensitivity(self) -> float: ... + class TearStreamResult(java.io.Serializable): + def getSccToTearStreamMap(self) -> java.util.Map[java.util.List['ProcessNode'], ProcessEdge]: ... + def getTearStreamCount(self) -> int: ... + def getTearStreams(self) -> java.util.List[ProcessEdge]: ... + def getTotalCyclesBroken(self) -> int: ... + +class ProcessGraphBuilder: + @staticmethod + def buildGraph(processSystem: jneqsim.process.processmodel.ProcessSystem) -> ProcessGraph: ... + +class ProcessModelGraph(java.io.Serializable): + def analyzeCycles(self) -> ProcessGraph.CycleAnalysisResult: ... + def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getConnectionsFrom(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... + def getConnectionsTo(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... + def getEdgeIndexTensor(self) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def getFlattenedGraph(self) -> ProcessGraph: ... + def getIndependentSubSystems(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... + def getInterSystemConnectionCount(self) -> int: ... + def getInterSystemConnections(self) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... + def getModelName(self) -> java.lang.String: ... + def getNodeFeatureMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNodeToSubSystemMap(self) -> java.util.Map['ProcessNode', java.lang.String]: ... + def getStatistics(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSubSystem(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModelGraph.SubSystemGraph': ... + def getSubSystemByIndex(self, int: int) -> 'ProcessModelGraph.SubSystemGraph': ... + def getSubSystemCalculationOrder(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... + def getSubSystemCount(self) -> int: ... + def getSubSystemDependencies(self) -> java.util.Map[java.lang.String, java.util.Set[java.lang.String]]: ... + def getSubSystemGraphs(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... + def getSummary(self) -> java.lang.String: ... + def getTotalEdgeCount(self) -> int: ... + def getTotalNodeCount(self) -> int: ... + def hasCycles(self) -> bool: ... + def isParallelSubSystemExecutionBeneficial(self) -> bool: ... + def partitionForParallelExecution(self) -> ProcessGraph.ParallelPartition: ... + def partitionSubSystemsForParallelExecution(self) -> 'ProcessModelGraph.ModuleParallelPartition': ... + def toString(self) -> java.lang.String: ... + class InterSystemConnection(java.io.Serializable): + def getEdge(self) -> ProcessEdge: ... + def getSourceNode(self) -> 'ProcessNode': ... + def getSourceSystemName(self) -> java.lang.String: ... + def getTargetNode(self) -> 'ProcessNode': ... + def getTargetSystemName(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class ModuleParallelPartition(java.io.Serializable): + def getLevelCount(self) -> int: ... + def getLevelNames(self) -> java.util.List[java.util.List[java.lang.String]]: ... + def getLevels(self) -> java.util.List[java.util.List['ProcessModelGraph.SubSystemGraph']]: ... + def getMaxParallelism(self) -> int: ... + def toString(self) -> java.lang.String: ... + class SubSystemGraph(java.io.Serializable): + def getEdgeCount(self) -> int: ... + def getExecutionIndex(self) -> int: ... + def getGraph(self) -> ProcessGraph: ... + def getNodeCount(self) -> int: ... + def getSystemName(self) -> java.lang.String: ... + def isModule(self) -> bool: ... + +class ProcessModelGraphBuilder: + @typing.overload + @staticmethod + def buildModelGraph(string: typing.Union[java.lang.String, str], *processSystem: jneqsim.process.processmodel.ProcessSystem) -> ProcessModelGraph: ... + @typing.overload + @staticmethod + def buildModelGraph(processModule: jneqsim.process.processmodel.ProcessModule) -> ProcessModelGraph: ... + +class ProcessNode(java.io.Serializable): + def __init__(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def equals(self, object: typing.Any) -> bool: ... + def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFeatureVector(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], int], typing.Mapping[typing.Union[java.lang.String, str], int]], int: int) -> typing.MutableSequence[float]: ... + def getInDegree(self) -> int: ... + def getIncomingEdges(self) -> java.util.List[ProcessEdge]: ... + def getIndex(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getOutDegree(self) -> int: ... + def getOutgoingEdges(self) -> java.util.List[ProcessEdge]: ... + def getPredecessors(self) -> java.util.List['ProcessNode']: ... + def getSuccessors(self) -> java.util.List['ProcessNode']: ... + def hashCode(self) -> int: ... + def isSink(self) -> bool: ... + def isSource(self) -> bool: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.graph")``. + + ProcessEdge: typing.Type[ProcessEdge] + ProcessGraph: typing.Type[ProcessGraph] + ProcessGraphBuilder: typing.Type[ProcessGraphBuilder] + ProcessModelGraph: typing.Type[ProcessModelGraph] + ProcessModelGraphBuilder: typing.Type[ProcessModelGraphBuilder] + ProcessNode: typing.Type[ProcessNode] diff --git a/src/jneqsim/process/processmodel/lifecycle/__init__.pyi b/src/jneqsim/process/processmodel/lifecycle/__init__.pyi new file mode 100644 index 00000000..715022a3 --- /dev/null +++ b/src/jneqsim/process/processmodel/lifecycle/__init__.pyi @@ -0,0 +1,332 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import jpype +import jpype.protocol +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class ModelMetadata(java.io.Serializable): + def __init__(self): ... + def addTag(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def getAssetId(self) -> java.lang.String: ... + def getAssetName(self) -> java.lang.String: ... + def getCalibrationAccuracy(self) -> float: ... + def getCalibrationStatus(self) -> 'ModelMetadata.CalibrationStatus': ... + def getDataSource(self) -> java.lang.String: ... + def getDaysSinceCalibration(self) -> int: ... + def getDaysSinceValidation(self) -> int: ... + def getFacility(self) -> java.lang.String: ... + def getLastCalibrated(self) -> java.time.Instant: ... + def getLastValidated(self) -> java.time.Instant: ... + def getLifecyclePhase(self) -> 'ModelMetadata.LifecyclePhase': ... + def getModificationHistory(self) -> java.util.List['ModelMetadata.ModificationRecord']: ... + def getRegion(self) -> java.lang.String: ... + def getRegulatoryBasis(self) -> java.lang.String: ... + def getResponsibleEngineer(self) -> java.lang.String: ... + def getResponsibleTeam(self) -> java.lang.String: ... + def getTags(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getValidationHistory(self) -> java.util.List['ModelMetadata.ValidationRecord']: ... + def needsRevalidation(self, long: int) -> bool: ... + @typing.overload + def recordModification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def recordModification(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def recordValidation(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setAssetId(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAssetName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDataSource(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFacility(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLifecyclePhase(self, lifecyclePhase: 'ModelMetadata.LifecyclePhase') -> None: ... + def setRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRegulatoryBasis(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResponsibleEngineer(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResponsibleTeam(self, string: typing.Union[java.lang.String, str]) -> None: ... + def updateCalibration(self, calibrationStatus: 'ModelMetadata.CalibrationStatus', double: float) -> None: ... + class CalibrationStatus(java.lang.Enum['ModelMetadata.CalibrationStatus']): + UNCALIBRATED: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... + CALIBRATED: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... + IN_PROGRESS: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... + FRESHLY_CALIBRATED: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... + NEEDS_RECALIBRATION: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... + _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]) -> 'ModelMetadata.CalibrationStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ModelMetadata.CalibrationStatus']: ... + class LifecyclePhase(java.lang.Enum['ModelMetadata.LifecyclePhase']): + CONCEPT: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... + DESIGN: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... + COMMISSIONING: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... + OPERATION: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... + LATE_LIFE: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... + ARCHIVED: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... + _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]) -> 'ModelMetadata.LifecyclePhase': ... + @staticmethod + def values() -> typing.MutableSequence['ModelMetadata.LifecyclePhase']: ... + class ModificationRecord(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getAuthor(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getTimestamp(self) -> java.time.Instant: ... + class ValidationRecord(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getDescription(self) -> java.lang.String: ... + def getReferenceId(self) -> java.lang.String: ... + def getTimestamp(self) -> java.time.Instant: ... + +class ProcessModelState(java.io.Serializable): + def __init__(self): ... + def addInterProcessConnection(self, interProcessConnection: 'ProcessModelState.InterProcessConnection') -> None: ... + @staticmethod + def compare(processModelState: 'ProcessModelState', processModelState2: 'ProcessModelState') -> 'ProcessModelState.ModelDiff': ... + @staticmethod + def fromCompressedBytes(byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> 'ProcessModelState': ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + @staticmethod + def fromProcessModel(processModel: jneqsim.process.processmodel.ProcessModel) -> 'ProcessModelState': ... + def getConnectionsTo(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ProcessModelState.InterProcessConnection']: ... + def getCreatedAt(self) -> java.time.Instant: ... + def getCreatedBy(self) -> java.lang.String: ... + def getCustomProperties(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getCustomProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getDescription(self) -> java.lang.String: ... + def getExecutionConfig(self) -> 'ProcessModelState.ExecutionConfig': ... + def getInterProcessConnections(self) -> java.util.List['ProcessModelState.InterProcessConnection']: ... + def getLastModifiedAt(self) -> java.time.Instant: ... + def getName(self) -> java.lang.String: ... + def getProcessCount(self) -> int: ... + def getProcessStates(self) -> java.util.Map[java.lang.String, 'ProcessSystemState']: ... + def getSchemaVersion(self) -> java.lang.String: ... + def getVersion(self) -> java.lang.String: ... + @staticmethod + def loadFromCompressedFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + @staticmethod + def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + @staticmethod + def migrate(processModelState: 'ProcessModelState', string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + def saveToCompressedFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def saveToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCreatedBy(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCustomProperty(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVersion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toCompressedBytes(self) -> typing.MutableSequence[int]: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + @typing.overload + def toJson(self, serializationOptions: 'ProcessModelState.SerializationOptions') -> java.lang.String: ... + def toProcessModel(self) -> jneqsim.process.processmodel.ProcessModel: ... + def validate(self) -> 'ProcessModelState.ValidationResult': ... + class ExecutionConfig(java.io.Serializable): + def __init__(self): ... + def getFlowTolerance(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getNumberOfThreads(self) -> int: ... + def getPressureTolerance(self) -> float: ... + def getSolverType(self) -> java.lang.String: ... + def getTemperatureTolerance(self) -> float: ... + def getTolerance(self) -> float: ... + def isParallelExecution(self) -> bool: ... + def isPreventNestedParallelExecution(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: ... + def setFlowTolerance(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setNumberOfThreads(self, int: int) -> None: ... + def setParallelExecution(self, boolean: bool) -> None: ... + def setPressureTolerance(self, double: float) -> None: ... + def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... + def setSolverType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureTolerance(self, double: float) -> None: ... + def setTolerance(self, double: float) -> 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: ... + class InterProcessConnection(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + 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]): ... + def getSourceProcess(self) -> java.lang.String: ... + def getStreamName(self) -> java.lang.String: ... + def getTargetPort(self) -> java.lang.String: ... + def getTargetProcess(self) -> java.lang.String: ... + def setSourceProcess(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourceStream(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStreamName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetPort(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetProcess(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetStream(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toString(self) -> java.lang.String: ... + class ModelDiff(java.io.Serializable): + def __init__(self): ... + def getAddedEquipment(self) -> java.util.List[java.lang.String]: ... + def getModifiedParameters(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getRemovedEquipment(self) -> java.util.List[java.lang.String]: ... + def hasChanges(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class SerializationOptions(java.io.Serializable): + def __init__(self): ... + def isCompressStreams(self) -> bool: ... + def isIncludeTimestamps(self) -> bool: ... + def isPrettyPrint(self) -> bool: ... + def isSchemaValidation(self) -> bool: ... + def setCompressStreams(self, boolean: bool) -> None: ... + def setIncludeTimestamps(self, boolean: bool) -> None: ... + def setPrettyPrint(self, boolean: bool) -> None: ... + def setSchemaValidation(self, boolean: bool) -> None: ... + class ValidationResult(java.io.Serializable): + def __init__(self): ... + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + +class ProcessSystemState(java.io.Serializable): + def __init__(self): ... + def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + @staticmethod + def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessSystemState': ... + def getChecksum(self) -> java.lang.String: ... + def getConnectionStates(self) -> java.util.List['ProcessSystemState.ConnectionState']: ... + def getCreatedAt(self) -> java.time.Instant: ... + def getCreatedBy(self) -> java.lang.String: ... + def getCustomProperties(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentStates(self) -> java.util.List['ProcessSystemState.EquipmentState']: ... + def getLastModifiedAt(self) -> java.time.Instant: ... + def getMetadata(self) -> ModelMetadata: ... + def getName(self) -> java.lang.String: ... + def getProcessName(self) -> java.lang.String: ... + def getSchemaVersion(self) -> java.lang.String: ... + def getStreamStates(self) -> java.util.Map[java.lang.String, 'ProcessSystemState.StreamState']: ... + def getTimestamp(self) -> java.time.Instant: ... + def getVersion(self) -> java.lang.String: ... + @typing.overload + @staticmethod + def loadFromCompressedFile(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystemState': ... + @typing.overload + @staticmethod + def loadFromCompressedFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + @typing.overload + @staticmethod + def loadFromFile(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystemState': ... + @typing.overload + @staticmethod + def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + @typing.overload + @staticmethod + def loadFromFileAuto(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystemState': ... + @typing.overload + @staticmethod + def loadFromFileAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + @typing.overload + def saveToCompressedFile(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + def saveToCompressedFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def saveToFile(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + def saveToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def saveToFileAuto(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + def saveToFileAuto(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCreatedBy(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCustomProperty(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMetadata(self, modelMetadata: ModelMetadata) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVersion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self) -> java.lang.String: ... + def toProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def validate(self) -> 'ProcessSystemState.ValidationResult': ... + def validateIntegrity(self) -> bool: ... + class ConnectionState(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + 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]): ... + def getSourceEquipmentName(self) -> java.lang.String: ... + def getSourcePortName(self) -> java.lang.String: ... + def getTargetEquipmentName(self) -> java.lang.String: ... + def getTargetPortName(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class EquipmentState(java.io.Serializable): + def __init__(self): ... + @staticmethod + def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessSystemState.EquipmentState': ... + def getEquipmentType(self) -> java.lang.String: ... + def getFluidState(self) -> 'ProcessSystemState.FluidState': ... + def getName(self) -> java.lang.String: ... + def getNumericProperties(self) -> java.util.Map[java.lang.String, float]: ... + def getParameters(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getStringProperties(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getType(self) -> java.lang.String: ... + class FluidState(java.io.Serializable): + def __init__(self): ... + @staticmethod + def fromFluid(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ProcessSystemState.FluidState': ... + def getComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getNumberOfPhases(self) -> int: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getThermoModelClass(self) -> java.lang.String: ... + class StreamState(java.io.Serializable): + def __init__(self): ... + @staticmethod + def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProcessSystemState.StreamState': ... + def getComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getMolarFlowRate(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + class ValidationResult: + def __init__(self, boolean: bool, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]]): ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.lifecycle")``. + + ModelMetadata: typing.Type[ModelMetadata] + ProcessModelState: typing.Type[ProcessModelState] + ProcessSystemState: typing.Type[ProcessSystemState] diff --git a/src/jneqsim/process/processmodel/processmodules/__init__.pyi b/src/jneqsim/process/processmodel/processmodules/__init__.pyi new file mode 100644 index 00000000..e087cba1 --- /dev/null +++ b/src/jneqsim/process/processmodel/processmodules/__init__.pyi @@ -0,0 +1,222 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class AdsorptionDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class CO2RemovalModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + +class DPCUModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def displayResult(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class GlycolDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def calcGlycolConcentration(self, double: float) -> float: ... + def calcKglycol(self) -> float: ... + def displayResult(self) -> None: ... + def getFlashPressure(self) -> float: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + def setFlashPressure(self, double: float) -> None: ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def solveAbsorptionFactor(self, double: float) -> float: ... + +class MEGReclaimerModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + def setOperationPressure(self, double: float) -> None: ... + +class MixerGasProcessingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class PropaneCoolingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCondenserTemperature(self, double: float) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setVaporizerTemperature(self, double: float) -> None: ... + +class SeparationTrainModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class SeparationTrainModuleSimple(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class WellFluidModule(jneqsim.process.processmodel.ProcessModuleBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def calcDesign(self) -> None: ... + def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def initializeModule(self) -> None: ... + def initializeStreams(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setDesign(self) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.processmodules")``. + + AdsorptionDehydrationlModule: typing.Type[AdsorptionDehydrationlModule] + CO2RemovalModule: typing.Type[CO2RemovalModule] + DPCUModule: typing.Type[DPCUModule] + GlycolDehydrationlModule: typing.Type[GlycolDehydrationlModule] + MEGReclaimerModule: typing.Type[MEGReclaimerModule] + MixerGasProcessingModule: typing.Type[MixerGasProcessingModule] + PropaneCoolingModule: typing.Type[PropaneCoolingModule] + SeparationTrainModule: typing.Type[SeparationTrainModule] + SeparationTrainModuleSimple: typing.Type[SeparationTrainModuleSimple] + WellFluidModule: typing.Type[WellFluidModule] diff --git a/src/jneqsim/process/research/__init__.pyi b/src/jneqsim/process/research/__init__.pyi new file mode 100644 index 00000000..01180d1e --- /dev/null +++ b/src/jneqsim/process/research/__init__.pyi @@ -0,0 +1,344 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.lang +import java.util +import jneqsim.process.processmodel +import typing + + + +class MaterialNode: + 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 getComponentName(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + +class OperationOption: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def addInputMaterial(self, string: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + def addOutputMaterial(self, string: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getInputMaterials(self) -> java.util.List[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getOutputMaterials(self) -> java.util.List[java.lang.String]: ... + def getProperties(self) -> java.util.Map[java.lang.String, com.google.gson.JsonElement]: ... + def propertiesToJson(self) -> com.google.gson.JsonObject: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> 'OperationOption': ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + @typing.overload + def setProperty(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + +class ProcessCandidate: + 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 addAssumption(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addObjectiveValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addProductStreamReference(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + def addSynthesisPathStep(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getAssumptions(self) -> java.util.List[java.lang.String]: ... + def getDescription(self) -> java.lang.String: ... + def getDominanceReason(self) -> java.lang.String: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getGenerationMethod(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getJsonDefinition(self) -> java.lang.String: ... + def getMetrics(self) -> 'ProcessResearchMetrics': ... + def getName(self) -> java.lang.String: ... + def getObjectiveValues(self) -> java.util.Map[java.lang.String, float]: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getProductStreamReference(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getProductStreamReferences(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getScore(self) -> float: ... + def getSynthesisPath(self) -> java.util.List[java.lang.String]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isDominated(self) -> bool: ... + def isFeasible(self) -> bool: ... + def isOptimized(self) -> bool: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + def setDominanceReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDominated(self, boolean: bool) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setJsonDefinition(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + def setMetrics(self, processResearchMetrics: 'ProcessResearchMetrics') -> None: ... + def setOptimized(self, boolean: bool) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setScore(self, double: float) -> None: ... + +class ProcessCandidateEvaluator: + def __init__(self): ... + def evaluate(self, processCandidate: ProcessCandidate, processResearchSpec: 'ProcessResearchSpec') -> None: ... + +class ProcessCandidateGenerator: + def __init__(self): ... + def generate(self, processResearchSpec: 'ProcessResearchSpec') -> java.util.List[ProcessCandidate]: ... + +class ProcessResearchMetrics: + def __init__(self): ... + def add(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchMetrics': ... + def asMap(self) -> java.util.Map[java.lang.String, float]: ... + def get(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def set(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchMetrics': ... + +class ProcessResearchResult: + def __init__(self): ... + def addCandidate(self, processCandidate: ProcessCandidate) -> None: ... + def addMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getBestCandidate(self) -> ProcessCandidate: ... + def getCandidates(self) -> java.util.List[ProcessCandidate]: ... + def getMessages(self) -> java.util.List[java.lang.String]: ... + def getNonDominatedCandidates(self) -> java.util.List[ProcessCandidate]: ... + def sortCandidates(self) -> None: ... + +class ProcessResearchSpec: + def __init__(self): ... + def allowsUnitType(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def builder() -> 'ProcessResearchSpec.Builder': ... + def getAllowedUnitTypes(self) -> java.util.List[java.lang.String]: ... + def getDecisionVariables(self) -> java.util.List['ProcessResearchSpec.DecisionVariable']: ... + def getEconomicAssumptions(self) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def getFeedComponents(self) -> java.util.Map[java.lang.String, float]: ... + def getFeedFlowRate(self) -> float: ... + def getFeedFlowUnit(self) -> java.lang.String: ... + def getFeedMaterialName(self) -> java.lang.String: ... + def getFeedPressureBara(self) -> float: ... + def getFeedTemperatureK(self) -> float: ... + def getFluidModel(self) -> java.lang.String: ... + def getHeatIntegrationDeltaTMinC(self) -> float: ... + def getMaterialNodes(self) -> java.util.List[MaterialNode]: ... + def getMaxCandidates(self) -> int: ... + def getMaxOptimizationCases(self) -> int: ... + def getMaxSynthesisDepth(self) -> int: ... + def getMixingRule(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getObjective(self) -> 'ProcessResearchSpec.Objective': ... + def getOperationOptions(self) -> java.util.List[OperationOption]: ... + def getProductTargets(self) -> java.util.List['ProcessResearchSpec.ProductTarget']: ... + def getReactionOptions(self) -> java.util.List['ReactionOption']: ... + def getRobustnessScenarios(self) -> java.util.List['ProcessResearchSpec.RobustnessScenario']: ... + def getScoringWeights(self) -> 'ProcessResearchSpec.ScoringWeights': ... + def getSynthesisConstraints(self) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def isEvaluateCandidates(self) -> bool: ... + def isFeasibilityPruningEnabled(self) -> bool: ... + def isIncludeCostEstimate(self) -> bool: ... + def isIncludeEmissionEstimate(self) -> bool: ... + def isIncludeHeatIntegration(self) -> bool: ... + def isIncludeSynthesisLibrary(self) -> bool: ... + class Builder: + def __init__(self): ... + def addAllowedUnitType(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... + def addDecisionVariable(self, decisionVariable: 'ProcessResearchSpec.DecisionVariable') -> 'ProcessResearchSpec.Builder': ... + def addFeedComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchSpec.Builder': ... + def addMaterialNode(self, materialNode: MaterialNode) -> 'ProcessResearchSpec.Builder': ... + def addOperationOption(self, operationOption: OperationOption) -> 'ProcessResearchSpec.Builder': ... + def addProductTarget(self, productTarget: 'ProcessResearchSpec.ProductTarget') -> 'ProcessResearchSpec.Builder': ... + def addReactionOption(self, reactionOption: 'ReactionOption') -> 'ProcessResearchSpec.Builder': ... + def addRobustnessScenario(self, robustnessScenario: 'ProcessResearchSpec.RobustnessScenario') -> 'ProcessResearchSpec.Builder': ... + def build(self) -> 'ProcessResearchSpec': ... + def setEconomicAssumptions(self, economicAssumptions: 'ProcessResearchSpec.EconomicAssumptions') -> 'ProcessResearchSpec.Builder': ... + def setEnableFeasibilityPruning(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... + def setEvaluateCandidates(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... + def setFeedFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... + def setFeedMaterialName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... + def setFeedPressure(self, double: float) -> 'ProcessResearchSpec.Builder': ... + def setFeedTemperature(self, double: float) -> 'ProcessResearchSpec.Builder': ... + def setFluidModel(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... + def setHeatIntegrationDeltaTMinC(self, double: float) -> 'ProcessResearchSpec.Builder': ... + def setIncludeCostEstimate(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... + def setIncludeEmissionEstimate(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... + def setIncludeHeatIntegration(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... + def setIncludeSynthesisLibrary(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... + def setMaxCandidates(self, int: int) -> 'ProcessResearchSpec.Builder': ... + def setMaxOptimizationCases(self, int: int) -> 'ProcessResearchSpec.Builder': ... + def setMaxSynthesisDepth(self, int: int) -> 'ProcessResearchSpec.Builder': ... + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... + def setObjective(self, objective: 'ProcessResearchSpec.Objective') -> 'ProcessResearchSpec.Builder': ... + def setScoringWeights(self, scoringWeights: 'ProcessResearchSpec.ScoringWeights') -> 'ProcessResearchSpec.Builder': ... + def setSynthesisConstraints(self, synthesisConstraints: 'ProcessResearchSpec.SynthesisConstraints') -> 'ProcessResearchSpec.Builder': ... + class DecisionVariable: + def __init__(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]): ... + def getEquipmentName(self) -> java.lang.String: ... + def getGridLevels(self) -> int: ... + def getLowerBound(self) -> float: ... + def getPropertyName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def setGridLevels(self, int: int) -> 'ProcessResearchSpec.DecisionVariable': ... + class EconomicAssumptions: + def __init__(self): ... + def getCarbonPriceUsdPerTonne(self) -> float: ... + def getColdUtilityCostUsdPerKWh(self) -> float: ... + def getElectricityCostUsdPerKWh(self) -> float: ... + def getElectricityEmissionFactorKgCO2PerKWh(self) -> float: ... + def getEquipmentCostProxyUsd(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHotUtilityCostUsdPerKWh(self) -> float: ... + def getOperatingHoursPerYear(self) -> float: ... + def setCarbonPriceUsdPerTonne(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setColdUtilityCostUsdPerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setDefaultEquipmentCostUsd(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setElectricityCostUsdPerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setElectricityEmissionFactorKgCO2PerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setEquipmentCostProxyUsd(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setHotUtilityCostUsdPerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def setOperatingHoursPerYear(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... + class Objective(java.lang.Enum['ProcessResearchSpec.Objective']): + MAXIMIZE_PRODUCT: typing.ClassVar['ProcessResearchSpec.Objective'] = ... + MINIMIZE_ENERGY: typing.ClassVar['ProcessResearchSpec.Objective'] = ... + MAXIMIZE_SCORE: typing.ClassVar['ProcessResearchSpec.Objective'] = ... + _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]) -> 'ProcessResearchSpec.Objective': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessResearchSpec.Objective']: ... + class ProductTarget: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getComponentName(self) -> java.lang.String: ... + def getMaterialName(self) -> java.lang.String: ... + def getMinFlowRate(self) -> float: ... + def getMinPurity(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getStreamReference(self) -> java.lang.String: ... + def getStreamRole(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def setComponentName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... + def setMaterialName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... + def setMinFlowRate(self, double: float) -> 'ProcessResearchSpec.ProductTarget': ... + def setMinPurity(self, double: float) -> 'ProcessResearchSpec.ProductTarget': ... + def setStreamReference(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... + def setStreamRole(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... + def setWeight(self, double: float) -> 'ProcessResearchSpec.ProductTarget': ... + class RobustnessScenario: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getFeedFlowMultiplier(self) -> float: ... + def getFeedPressureMultiplier(self) -> float: ... + def getFeedTemperatureOffsetK(self) -> float: ... + def getName(self) -> java.lang.String: ... + def setFeedFlowMultiplier(self, double: float) -> 'ProcessResearchSpec.RobustnessScenario': ... + def setFeedPressureMultiplier(self, double: float) -> 'ProcessResearchSpec.RobustnessScenario': ... + def setFeedTemperatureOffsetK(self, double: float) -> 'ProcessResearchSpec.RobustnessScenario': ... + class ScoringWeights: + def __init__(self): ... + def getCapitalCostPenalty(self) -> float: ... + def getColdUtilityPenalty(self) -> float: ... + def getComplexityPenalty(self) -> float: ... + def getElectricPowerPenalty(self) -> float: ... + def getEmissionsPenalty(self) -> float: ... + def getHotUtilityPenalty(self) -> float: ... + def getProductFlowWeight(self) -> float: ... + def getPurityWeight(self) -> float: ... + def getRobustnessWeight(self) -> float: ... + def setCapitalCostPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setColdUtilityPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setComplexityPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setElectricPowerPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setEmissionsPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setHotUtilityPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setProductFlowWeight(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setPurityWeight(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setRobustnessWeight(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + class SynthesisConstraints: + def __init__(self): ... + def getMaxAnnualOperatingCostProxyUSDPerYr(self) -> float: ... + def getMaxCapitalCostProxyUSD(self) -> float: ... + def getMaxColdUtilityKW(self) -> float: ... + def getMaxEmissionsKgCO2ePerHr(self) -> float: ... + def getMaxEquipmentCount(self) -> float: ... + def getMaxHotUtilityKW(self) -> float: ... + def getMaxTotalPowerKW(self) -> float: ... + def setMaxAnnualOperatingCostProxyUSDPerYr(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxCapitalCostProxyUSD(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxColdUtilityKW(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxEmissionsKgCO2ePerHr(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxEquipmentCount(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxHotUtilityKW(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxTotalPowerKW(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + +class ProcessResearcher: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processCandidateGenerator: ProcessCandidateGenerator, processCandidateEvaluator: ProcessCandidateEvaluator): ... + @typing.overload + def __init__(self, processCandidateGenerator: ProcessCandidateGenerator, processCandidateEvaluator: ProcessCandidateEvaluator, processSynthesisFeasibilityPruner: 'ProcessSynthesisFeasibilityPruner'): ... + def research(self, processResearchSpec: ProcessResearchSpec) -> ProcessResearchResult: ... + +class ProcessSuperstructureExporter: + def __init__(self): ... + def toJson(self, processResearchSpec: ProcessResearchSpec) -> java.lang.String: ... + def toPyomoSkeleton(self, processResearchSpec: ProcessResearchSpec) -> java.lang.String: ... + +class ProcessSynthesisFeasibilityPruner: + def __init__(self): ... + def checkOperationPath(self, list: java.util.List[OperationOption], processResearchSpec: ProcessResearchSpec) -> 'ProcessSynthesisFeasibilityPruner.FeasibilityResult': ... + def checkReaction(self, reactionOption: 'ReactionOption', processResearchSpec: ProcessResearchSpec) -> 'ProcessSynthesisFeasibilityPruner.FeasibilityResult': ... + def validateSpec(self, processResearchSpec: ProcessResearchSpec) -> java.util.List[java.lang.String]: ... + class FeasibilityResult: + def __init__(self): ... + def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getIssues(self) -> java.util.List[java.lang.String]: ... + def isFeasible(self) -> bool: ... + +class ProcessSynthesisGraph: + def __init__(self): ... + def addMaterial(self, materialNode: MaterialNode) -> 'ProcessSynthesisGraph': ... + def addOperation(self, operationOption: OperationOption) -> 'ProcessSynthesisGraph': ... + def enumeratePaths(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], int: int, int2: int) -> java.util.List[java.util.List[OperationOption]]: ... + @staticmethod + def fromSpec(processResearchSpec: ProcessResearchSpec) -> 'ProcessSynthesisGraph': ... + def getMaterials(self) -> java.util.Map[java.lang.String, MaterialNode]: ... + def getOperations(self) -> java.util.List[OperationOption]: ... + +class ProcessSynthesisTemplateLibrary: + def __init__(self): ... + def createOptions(self, processResearchSpec: ProcessResearchSpec) -> java.util.List[OperationOption]: ... + +class ReactionOption: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addStoichiometricCoefficient(self, string: typing.Union[java.lang.String, str], double: float) -> 'ReactionOption': ... + def getEnergyMode(self) -> java.lang.String: ... + def getExpectedProductComponent(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getReactorPressureBara(self) -> float: ... + def getReactorTemperatureK(self) -> float: ... + def getReactorType(self) -> java.lang.String: ... + def getStoichiometry(self) -> java.util.Map[java.lang.String, float]: ... + def setEnergyMode(self, string: typing.Union[java.lang.String, str]) -> 'ReactionOption': ... + def setExpectedProductComponent(self, string: typing.Union[java.lang.String, str]) -> 'ReactionOption': ... + def setReactorPressure(self, double: float) -> 'ReactionOption': ... + def setReactorTemperature(self, double: float) -> 'ReactionOption': ... + def setReactorType(self, string: typing.Union[java.lang.String, str]) -> 'ReactionOption': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.research")``. + + MaterialNode: typing.Type[MaterialNode] + OperationOption: typing.Type[OperationOption] + ProcessCandidate: typing.Type[ProcessCandidate] + ProcessCandidateEvaluator: typing.Type[ProcessCandidateEvaluator] + ProcessCandidateGenerator: typing.Type[ProcessCandidateGenerator] + ProcessResearchMetrics: typing.Type[ProcessResearchMetrics] + ProcessResearchResult: typing.Type[ProcessResearchResult] + ProcessResearchSpec: typing.Type[ProcessResearchSpec] + ProcessResearcher: typing.Type[ProcessResearcher] + ProcessSuperstructureExporter: typing.Type[ProcessSuperstructureExporter] + ProcessSynthesisFeasibilityPruner: typing.Type[ProcessSynthesisFeasibilityPruner] + ProcessSynthesisGraph: typing.Type[ProcessSynthesisGraph] + ProcessSynthesisTemplateLibrary: typing.Type[ProcessSynthesisTemplateLibrary] + ReactionOption: typing.Type[ReactionOption] diff --git a/src/jneqsim/process/safety/__init__.pyi b/src/jneqsim/process/safety/__init__.pyi new file mode 100644 index 00000000..566558ac --- /dev/null +++ b/src/jneqsim/process/safety/__init__.pyi @@ -0,0 +1,236 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import java.util.function +import jneqsim.process.equipment +import jneqsim.process.equipment.flare +import jneqsim.process.processmodel +import jneqsim.process.safety.alarp +import jneqsim.process.safety.barrier +import jneqsim.process.safety.cfd +import jneqsim.process.safety.compliance +import jneqsim.process.safety.depressurization +import jneqsim.process.safety.dispersion +import jneqsim.process.safety.dto +import jneqsim.process.safety.envelope +import jneqsim.process.safety.escalation +import jneqsim.process.safety.esd +import jneqsim.process.safety.fire +import jneqsim.process.safety.hazid +import jneqsim.process.safety.inherent +import jneqsim.process.safety.inventory +import jneqsim.process.safety.leakdetection +import jneqsim.process.safety.mdmt +import jneqsim.process.safety.opendrain +import jneqsim.process.safety.processsafetysystem +import jneqsim.process.safety.qra +import jneqsim.process.safety.release +import jneqsim.process.safety.risk +import jneqsim.process.safety.rupture +import jneqsim.process.safety.scenario +import typing + + + +class BoundaryConditions(java.io.Serializable): + DEFAULT_AMBIENT_TEMPERATURE: typing.ClassVar[float] = ... + DEFAULT_WIND_SPEED: typing.ClassVar[float] = ... + DEFAULT_RELATIVE_HUMIDITY: typing.ClassVar[float] = ... + DEFAULT_ATMOSPHERIC_PRESSURE: typing.ClassVar[float] = ... + @staticmethod + def builder() -> 'BoundaryConditions.Builder': ... + @staticmethod + def defaultConditions() -> 'BoundaryConditions': ... + def equals(self, object: typing.Any) -> bool: ... + @typing.overload + def getAmbientTemperature(self) -> float: ... + @typing.overload + def getAmbientTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getAtmosphericPressure(self) -> float: ... + def getAtmosphericPressureBar(self) -> float: ... + def getPasquillStabilityClass(self) -> str: ... + def getRelativeHumidity(self) -> float: ... + @typing.overload + def getSeaWaterTemperature(self) -> float: ... + @typing.overload + def getSeaWaterTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSolarRadiation(self) -> float: ... + def getSurfaceRoughness(self) -> float: ... + def getWindDirection(self) -> float: ... + def getWindSpeed(self) -> float: ... + @staticmethod + def gulfOfMexico() -> 'BoundaryConditions': ... + def hashCode(self) -> int: ... + def isOffshore(self) -> bool: ... + @staticmethod + def northSeaSummer() -> 'BoundaryConditions': ... + @staticmethod + def northSeaWinter() -> 'BoundaryConditions': ... + @staticmethod + def onshoreIndustrial() -> 'BoundaryConditions': ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + @typing.overload + def ambientTemperature(self, double: float) -> 'BoundaryConditions.Builder': ... + @typing.overload + def ambientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'BoundaryConditions.Builder': ... + def atmosphericPressure(self, double: float) -> 'BoundaryConditions.Builder': ... + def build(self) -> 'BoundaryConditions': ... + def isOffshore(self, boolean: bool) -> 'BoundaryConditions.Builder': ... + def pasquillStabilityClass(self, char: str) -> 'BoundaryConditions.Builder': ... + def relativeHumidity(self, double: float) -> 'BoundaryConditions.Builder': ... + def seaWaterTemperature(self, double: float) -> 'BoundaryConditions.Builder': ... + def solarRadiation(self, double: float) -> 'BoundaryConditions.Builder': ... + def surfaceRoughness(self, double: float) -> 'BoundaryConditions.Builder': ... + def windDirection(self, double: float) -> 'BoundaryConditions.Builder': ... + def windSpeed(self, double: float) -> 'BoundaryConditions.Builder': ... + +class DisposalNetwork(java.io.Serializable): + def __init__(self): ... + def evaluate(self, list: java.util.List['ProcessSafetyLoadCase']) -> jneqsim.process.safety.dto.DisposalNetworkSummaryDTO: ... + def mapSourceToDisposal(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def registerDisposalUnit(self, flare: jneqsim.process.equipment.flare.Flare) -> None: ... + +class InitiatingEvent(java.lang.Enum['InitiatingEvent']): + ESD: typing.ClassVar['InitiatingEvent'] = ... + PSV_LIFT: typing.ClassVar['InitiatingEvent'] = ... + RUPTURE: typing.ClassVar['InitiatingEvent'] = ... + LEAK_SMALL: typing.ClassVar['InitiatingEvent'] = ... + LEAK_MEDIUM: typing.ClassVar['InitiatingEvent'] = ... + LEAK_LARGE: typing.ClassVar['InitiatingEvent'] = ... + FULL_BORE_RUPTURE: typing.ClassVar['InitiatingEvent'] = ... + BLOCKED_OUTLET: typing.ClassVar['InitiatingEvent'] = ... + UTILITY_LOSS: typing.ClassVar['InitiatingEvent'] = ... + FIRE_EXPOSURE: typing.ClassVar['InitiatingEvent'] = ... + RUNAWAY_REACTION: typing.ClassVar['InitiatingEvent'] = ... + THERMAL_EXPANSION: typing.ClassVar['InitiatingEvent'] = ... + TUBE_RUPTURE: typing.ClassVar['InitiatingEvent'] = ... + CONTROL_VALVE_FAILURE: typing.ClassVar['InitiatingEvent'] = ... + COMPRESSOR_SURGE: typing.ClassVar['InitiatingEvent'] = ... + LOSS_OF_CONTAINMENT: typing.ClassVar['InitiatingEvent'] = ... + MANUAL_INTERVENTION: typing.ClassVar['InitiatingEvent'] = ... + def getDescription(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getTypicalHoleDiameter(self) -> typing.MutableSequence[float]: ... + def isReleaseEvent(self) -> bool: ... + def requiresFireAnalysis(self) -> bool: ... + def toString(self) -> java.lang.String: ... + def triggersDepressurization(self) -> bool: ... + _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]) -> 'InitiatingEvent': ... + @staticmethod + def values() -> typing.MutableSequence['InitiatingEvent']: ... + +class ProcessSafetyAnalysisSummary(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], set: java.util.Set[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProcessSafetyAnalysisSummary.UnitKpiSnapshot'], typing.Mapping[typing.Union[java.lang.String, str], 'ProcessSafetyAnalysisSummary.UnitKpiSnapshot']]): ... + def getAffectedUnits(self) -> java.util.Set[java.lang.String]: ... + def getConditionMessages(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getConditionMonitorReport(self) -> java.lang.String: ... + def getScenarioName(self) -> java.lang.String: ... + def getUnitKpis(self) -> java.util.Map[java.lang.String, 'ProcessSafetyAnalysisSummary.UnitKpiSnapshot']: ... + class UnitKpiSnapshot(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + def getMassBalance(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + +class ProcessSafetyAnalyzer(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, processSafetyResultRepository: typing.Union['ProcessSafetyResultRepository', typing.Callable]): ... + def addLoadCase(self, processSafetyLoadCase: 'ProcessSafetyLoadCase') -> None: ... + @typing.overload + def analyze(self, collection: typing.Union[java.util.Collection['ProcessSafetyScenario'], typing.Sequence['ProcessSafetyScenario'], typing.Set['ProcessSafetyScenario']]) -> java.util.List[ProcessSafetyAnalysisSummary]: ... + @typing.overload + def analyze(self, processSafetyScenario: 'ProcessSafetyScenario') -> ProcessSafetyAnalysisSummary: ... + @typing.overload + def analyze(self) -> jneqsim.process.safety.dto.DisposalNetworkSummaryDTO: ... + def getLoadCases(self) -> java.util.List['ProcessSafetyLoadCase']: ... + def mapSourceToDisposal(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def registerDisposalUnit(self, flare: jneqsim.process.equipment.flare.Flare) -> None: ... + +class ProcessSafetyLoadCase(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addReliefSource(self, string: typing.Union[java.lang.String, str], reliefSourceLoad: 'ProcessSafetyLoadCase.ReliefSourceLoad') -> None: ... + def getName(self) -> java.lang.String: ... + def getReliefLoads(self) -> java.util.Map[java.lang.String, 'ProcessSafetyLoadCase.ReliefSourceLoad']: ... + class ReliefSourceLoad(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + def getHeatDutyW(self) -> float: ... + def getMassRateKgS(self) -> float: ... + def getMolarRateMoleS(self) -> float: ... + +class ProcessSafetyResultRepository: + def findAll(self) -> java.util.List[ProcessSafetyAnalysisSummary]: ... + def save(self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary) -> None: ... + +class ProcessSafetyScenario(java.io.Serializable): + def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... + def getBlockedOutletUnits(self) -> java.util.List[java.lang.String]: ... + def getControllerSetPointOverrides(self) -> java.util.Map[java.lang.String, float]: ... + def getCustomManipulators(self) -> java.util.Map[java.lang.String, java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface]]: ... + def getName(self) -> java.lang.String: ... + def getTargetUnits(self) -> java.util.Set[java.lang.String]: ... + def getUtilityLossUnits(self) -> java.util.List[java.lang.String]: ... + class Builder: + def blockOutlet(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... + def blockOutlets(self, collection: typing.Union[java.util.Collection[typing.Union[java.lang.String, str]], typing.Sequence[typing.Union[java.lang.String, str]], typing.Set[typing.Union[java.lang.String, str]]]) -> 'ProcessSafetyScenario.Builder': ... + def build(self) -> 'ProcessSafetyScenario': ... + def controllerSetPoint(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessSafetyScenario.Builder': ... + def customManipulator(self, string: typing.Union[java.lang.String, str], consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> 'ProcessSafetyScenario.Builder': ... + def utilityLoss(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... + def utilityLosses(self, collection: typing.Union[java.util.Collection[typing.Union[java.lang.String, str]], typing.Sequence[typing.Union[java.lang.String, str]], typing.Set[typing.Union[java.lang.String, str]]]) -> 'ProcessSafetyScenario.Builder': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety")``. + + BoundaryConditions: typing.Type[BoundaryConditions] + DisposalNetwork: typing.Type[DisposalNetwork] + InitiatingEvent: typing.Type[InitiatingEvent] + ProcessSafetyAnalysisSummary: typing.Type[ProcessSafetyAnalysisSummary] + ProcessSafetyAnalyzer: typing.Type[ProcessSafetyAnalyzer] + ProcessSafetyLoadCase: typing.Type[ProcessSafetyLoadCase] + ProcessSafetyResultRepository: typing.Type[ProcessSafetyResultRepository] + ProcessSafetyScenario: typing.Type[ProcessSafetyScenario] + alarp: jneqsim.process.safety.alarp.__module_protocol__ + barrier: jneqsim.process.safety.barrier.__module_protocol__ + cfd: jneqsim.process.safety.cfd.__module_protocol__ + compliance: jneqsim.process.safety.compliance.__module_protocol__ + depressurization: jneqsim.process.safety.depressurization.__module_protocol__ + dispersion: jneqsim.process.safety.dispersion.__module_protocol__ + dto: jneqsim.process.safety.dto.__module_protocol__ + envelope: jneqsim.process.safety.envelope.__module_protocol__ + escalation: jneqsim.process.safety.escalation.__module_protocol__ + esd: jneqsim.process.safety.esd.__module_protocol__ + fire: jneqsim.process.safety.fire.__module_protocol__ + hazid: jneqsim.process.safety.hazid.__module_protocol__ + inherent: jneqsim.process.safety.inherent.__module_protocol__ + inventory: jneqsim.process.safety.inventory.__module_protocol__ + leakdetection: jneqsim.process.safety.leakdetection.__module_protocol__ + mdmt: jneqsim.process.safety.mdmt.__module_protocol__ + opendrain: jneqsim.process.safety.opendrain.__module_protocol__ + processsafetysystem: jneqsim.process.safety.processsafetysystem.__module_protocol__ + qra: jneqsim.process.safety.qra.__module_protocol__ + release: jneqsim.process.safety.release.__module_protocol__ + risk: jneqsim.process.safety.risk.__module_protocol__ + rupture: jneqsim.process.safety.rupture.__module_protocol__ + scenario: jneqsim.process.safety.scenario.__module_protocol__ diff --git a/src/jneqsim/process/safety/alarp/__init__.pyi b/src/jneqsim/process/safety/alarp/__init__.pyi new file mode 100644 index 00000000..d5bf6bc8 --- /dev/null +++ b/src/jneqsim/process/safety/alarp/__init__.pyi @@ -0,0 +1,33 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class ALARPAuditReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addMeasure(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ALARPAuditReport': ... + def evaluate(self) -> java.util.List['ALARPAuditReport.EvaluationResult']: ... + def report(self) -> java.lang.String: ... + def setDisproportionFactor(self, double: float) -> 'ALARPAuditReport': ... + def setValueOfStatisticalLife(self, double: float) -> 'ALARPAuditReport': ... + class EvaluationResult(java.io.Serializable): + description: java.lang.String = ... + riskReductionPerYear: float = ... + annualisedCostNOK: float = ... + icaf: float = ... + verdict: java.lang.String = ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.alarp")``. + + ALARPAuditReport: typing.Type[ALARPAuditReport] diff --git a/src/jneqsim/process/safety/barrier/__init__.pyi b/src/jneqsim/process/safety/barrier/__init__.pyi new file mode 100644 index 00000000..1c17e96e --- /dev/null +++ b/src/jneqsim/process/safety/barrier/__init__.pyi @@ -0,0 +1,349 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.logic.sis +import jneqsim.process.measurementdevice +import jneqsim.process.processmodel +import jneqsim.process.safety.risk.bowtie +import jneqsim.process.safety.risk.sis +import typing + + + +class BarrierRegister(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addBarrier(self, safetyBarrier: 'SafetyBarrier') -> 'BarrierRegister': ... + def addEvidence(self, documentEvidence: 'DocumentEvidence') -> 'BarrierRegister': ... + def addPerformanceStandard(self, performanceStandard: 'PerformanceStandard') -> 'BarrierRegister': ... + def addSafetyCriticalElement(self, safetyCriticalElement: 'SafetyCriticalElement') -> 'BarrierRegister': ... + def getBarrier(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def getBarriers(self) -> java.util.List['SafetyBarrier']: ... + def getBarriersForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SafetyBarrier']: ... + def getImpairedBarriers(self) -> java.util.List['SafetyBarrier']: ... + def getName(self) -> java.lang.String: ... + def getPerformanceStandard(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... + def getPerformanceStandards(self) -> java.util.List['PerformanceStandard']: ... + def getRegisterId(self) -> java.lang.String: ... + def getSafetyCriticalElement(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... + def getSafetyCriticalElements(self) -> java.util.List['SafetyCriticalElement']: ... + def linkBarrierToSafetyCriticalElement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'BarrierRegister': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def validate(self) -> java.util.List[java.lang.String]: ... + +class DocumentEvidence(java.io.Serializable): + 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], string5: typing.Union[java.lang.String, str], int: int, string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], double: float): ... + def getConfidence(self) -> float: ... + def getDocumentId(self) -> java.lang.String: ... + def getDocumentTitle(self) -> java.lang.String: ... + def getEvidenceId(self) -> java.lang.String: ... + def getExcerpt(self) -> java.lang.String: ... + def getPage(self) -> int: ... + def getRevision(self) -> java.lang.String: ... + def getSection(self) -> java.lang.String: ... + def getSourceReference(self) -> java.lang.String: ... + def isTraceable(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class PerformanceStandard(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAcceptanceCriterion(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... + def addEvidence(self, documentEvidence: DocumentEvidence) -> 'PerformanceStandard': ... + def getAcceptanceCriteria(self) -> java.util.List[java.lang.String]: ... + def getDemandMode(self) -> 'PerformanceStandard.DemandMode': ... + def getEvidence(self) -> java.util.List[DocumentEvidence]: ... + def getId(self) -> java.lang.String: ... + def getProofTestIntervalHours(self) -> float: ... + def getRequiredAvailability(self) -> float: ... + def getResponseTimeSeconds(self) -> float: ... + def getSafetyFunction(self) -> java.lang.String: ... + def getTargetPfd(self) -> float: ... + def getTitle(self) -> java.lang.String: ... + def hasTraceableEvidence(self) -> bool: ... + def setDemandMode(self, demandMode: 'PerformanceStandard.DemandMode') -> 'PerformanceStandard': ... + def setProofTestIntervalHours(self, double: float) -> 'PerformanceStandard': ... + def setRequiredAvailability(self, double: float) -> 'PerformanceStandard': ... + def setResponseTimeSeconds(self, double: float) -> 'PerformanceStandard': ... + def setSafetyFunction(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... + def setTargetPfd(self, double: float) -> 'PerformanceStandard': ... + def setTitle(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def validate(self) -> java.util.List[java.lang.String]: ... + class DemandMode(java.lang.Enum['PerformanceStandard.DemandMode']): + LOW_DEMAND: typing.ClassVar['PerformanceStandard.DemandMode'] = ... + HIGH_DEMAND: typing.ClassVar['PerformanceStandard.DemandMode'] = ... + CONTINUOUS: typing.ClassVar['PerformanceStandard.DemandMode'] = ... + OTHER: typing.ClassVar['PerformanceStandard.DemandMode'] = ... + _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]) -> 'PerformanceStandard.DemandMode': ... + @staticmethod + def values() -> typing.MutableSequence['PerformanceStandard.DemandMode']: ... + +class SafetyBarrier(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def addEvidence(self, documentEvidence: DocumentEvidence) -> 'SafetyBarrier': ... + def addHazardId(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + @staticmethod + def fromBowTieBarrier(barrier: jneqsim.process.safety.risk.bowtie.BowTieModel.Barrier) -> 'SafetyBarrier': ... + def getDescription(self) -> java.lang.String: ... + def getEffectiveness(self) -> float: ... + def getEvidence(self) -> java.util.List[DocumentEvidence]: ... + def getId(self) -> java.lang.String: ... + def getLinkedEquipmentTags(self) -> java.util.List[java.lang.String]: ... + def getLinkedHazardIds(self) -> java.util.List[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getOwner(self) -> java.lang.String: ... + def getPerformanceStandard(self) -> PerformanceStandard: ... + def getPfd(self) -> float: ... + def getRiskReductionFactor(self) -> float: ... + def getSafetyFunction(self) -> java.lang.String: ... + def getStatus(self) -> 'SafetyBarrier.BarrierStatus': ... + def getType(self) -> 'SafetyBarrier.BarrierType': ... + def hasTraceableEvidence(self) -> bool: ... + def isAvailable(self) -> bool: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def setEffectiveness(self, double: float) -> 'SafetyBarrier': ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def setOwner(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def setPerformanceStandard(self, performanceStandard: PerformanceStandard) -> 'SafetyBarrier': ... + def setPfd(self, double: float) -> 'SafetyBarrier': ... + def setSafetyFunction(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def setStatus(self, barrierStatus: 'SafetyBarrier.BarrierStatus') -> 'SafetyBarrier': ... + def setType(self, barrierType: 'SafetyBarrier.BarrierType') -> 'SafetyBarrier': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def validate(self) -> java.util.List[java.lang.String]: ... + class BarrierStatus(java.lang.Enum['SafetyBarrier.BarrierStatus']): + AVAILABLE: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... + IMPAIRED: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... + BYPASSED: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... + OUT_OF_SERVICE: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... + UNKNOWN: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... + _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]) -> 'SafetyBarrier.BarrierStatus': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyBarrier.BarrierStatus']: ... + class BarrierType(java.lang.Enum['SafetyBarrier.BarrierType']): + PREVENTION: typing.ClassVar['SafetyBarrier.BarrierType'] = ... + MITIGATION: typing.ClassVar['SafetyBarrier.BarrierType'] = ... + BOTH: typing.ClassVar['SafetyBarrier.BarrierType'] = ... + _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]) -> 'SafetyBarrier.BarrierType': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyBarrier.BarrierType']: ... + +class SafetyCriticalElement(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addBarrier(self, safetyBarrier: SafetyBarrier) -> 'SafetyCriticalElement': ... + def addEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... + def addEvidence(self, documentEvidence: DocumentEvidence) -> 'SafetyCriticalElement': ... + def getAvailableBarrierCount(self) -> int: ... + def getBarrier(self, string: typing.Union[java.lang.String, str]) -> SafetyBarrier: ... + def getBarriers(self) -> java.util.List[SafetyBarrier]: ... + def getEquipmentTags(self) -> java.util.List[java.lang.String]: ... + def getEvidence(self) -> java.util.List[DocumentEvidence]: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getOwner(self) -> java.lang.String: ... + def getTag(self) -> java.lang.String: ... + def getType(self) -> 'SafetyCriticalElement.ElementType': ... + def hasImpairedBarrier(self) -> bool: ... + def hasTraceableEvidence(self) -> bool: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... + def setOwner(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... + def setTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... + def setType(self, elementType: 'SafetyCriticalElement.ElementType') -> 'SafetyCriticalElement': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def validate(self) -> java.util.List[java.lang.String]: ... + class ElementType(java.lang.Enum['SafetyCriticalElement.ElementType']): + PROCESS_EQUIPMENT: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... + INSTRUMENTED_FUNCTION: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... + FIRE_PROTECTION: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... + STRUCTURAL: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... + UTILITY: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... + OTHER: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... + _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]) -> 'SafetyCriticalElement.ElementType': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyCriticalElement.ElementType']: ... + +class SafetySystemCategory(java.lang.Enum['SafetySystemCategory']): + FIREWATER_DELUGE: typing.ClassVar['SafetySystemCategory'] = ... + FIRE_GAS_DETECTION: typing.ClassVar['SafetySystemCategory'] = ... + PASSIVE_FIRE_PROTECTION: typing.ClassVar['SafetySystemCategory'] = ... + PSD: typing.ClassVar['SafetySystemCategory'] = ... + ESD_BLOWDOWN: typing.ClassVar['SafetySystemCategory'] = ... + RELIEF_FLARE: typing.ClassVar['SafetySystemCategory'] = ... + STRUCTURAL_FIREWALL: typing.ClassVar['SafetySystemCategory'] = ... + HIPPS: typing.ClassVar['SafetySystemCategory'] = ... + UNKNOWN: typing.ClassVar['SafetySystemCategory'] = ... + def getDescription(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]) -> 'SafetySystemCategory': ... + @staticmethod + def values() -> typing.MutableSequence['SafetySystemCategory']: ... + +class SafetySystemDemand(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addEvidence(self, documentEvidence: DocumentEvidence) -> 'SafetySystemDemand': ... + def getActualAvailability(self) -> float: ... + def getActualEffectiveness(self) -> float: ... + def getActualPfd(self) -> float: ... + def getActualResponseTimeSeconds(self) -> float: ... + def getBarrierId(self) -> java.lang.String: ... + def getCapacityValue(self) -> float: ... + def getCategory(self) -> SafetySystemCategory: ... + def getDemandId(self) -> java.lang.String: ... + def getDemandUnit(self) -> java.lang.String: ... + def getDemandValue(self) -> float: ... + def getEquipmentTag(self) -> java.lang.String: ... + def getEvidence(self) -> java.util.List[DocumentEvidence]: ... + def getRequiredAvailability(self) -> float: ... + def getRequiredEffectiveness(self) -> float: ... + def getRequiredPfd(self) -> float: ... + def getRequiredResponseTimeSeconds(self) -> float: ... + def getScenario(self) -> java.lang.String: ... + def matches(self, safetyBarrier: SafetyBarrier) -> bool: ... + def setActualAvailability(self, double: float) -> 'SafetySystemDemand': ... + def setActualEffectiveness(self, double: float) -> 'SafetySystemDemand': ... + def setActualPfd(self, double: float) -> 'SafetySystemDemand': ... + def setActualResponseTimeSeconds(self, double: float) -> 'SafetySystemDemand': ... + def setBarrierId(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... + def setCapacityValue(self, double: float) -> 'SafetySystemDemand': ... + def setCategory(self, safetySystemCategory: SafetySystemCategory) -> 'SafetySystemDemand': ... + def setDemandUnit(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... + def setDemandValue(self, double: float) -> 'SafetySystemDemand': ... + def setEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... + def setRequiredAvailability(self, double: float) -> 'SafetySystemDemand': ... + def setRequiredEffectiveness(self, double: float) -> 'SafetySystemDemand': ... + def setRequiredPfd(self, double: float) -> 'SafetySystemDemand': ... + def setRequiredResponseTimeSeconds(self, double: float) -> 'SafetySystemDemand': ... + def setScenario(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class SafetySystemPerformanceAnalyzer: + def __init__(self, barrierRegister: BarrierRegister): ... + def addDemandCase(self, safetySystemDemand: SafetySystemDemand) -> 'SafetySystemPerformanceAnalyzer': ... + def addMeasurementDevice(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 'SafetySystemPerformanceAnalyzer': ... + def addMeasurementDevices(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'SafetySystemPerformanceAnalyzer': ... + def addQuantitativeSafetyInstrumentedFunction(self, safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction) -> 'SafetySystemPerformanceAnalyzer': ... + def addSafetyInstrumentedFunction(self, safetyInstrumentedFunction: jneqsim.process.logic.sis.SafetyInstrumentedFunction) -> 'SafetySystemPerformanceAnalyzer': ... + def analyze(self) -> 'SafetySystemPerformanceReport': ... + +class SafetySystemPerformanceReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAssessment(self, barrierAssessment: 'SafetySystemPerformanceReport.BarrierAssessment') -> 'SafetySystemPerformanceReport': ... + def countAssessments(self, verdict: 'SafetySystemPerformanceReport.Verdict') -> int: ... + def getAssessments(self) -> java.util.List['SafetySystemPerformanceReport.BarrierAssessment']: ... + def getName(self) -> java.lang.String: ... + def getOverallVerdict(self) -> 'SafetySystemPerformanceReport.Verdict': ... + def getRegisterId(self) -> java.lang.String: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class BarrierAssessment(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addFinding(self, findingSeverity: 'SafetySystemPerformanceReport.FindingSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def addInstrumentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def addMetric(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def addSafetyInstrumentedFunction(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def getBarrierId(self) -> java.lang.String: ... + def getBarrierName(self) -> java.lang.String: ... + def getCategory(self) -> SafetySystemCategory: ... + def getDemandId(self) -> java.lang.String: ... + def getFindings(self) -> java.util.List['SafetySystemPerformanceReport.Finding']: ... + def getVerdict(self) -> 'SafetySystemPerformanceReport.Verdict': ... + def setBarrierName(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def setCategory(self, safetySystemCategory: SafetySystemCategory) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def setDemandId(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Finding(java.io.Serializable): + def __init__(self, findingSeverity: 'SafetySystemPerformanceReport.FindingSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getMessage(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getSeverity(self) -> 'SafetySystemPerformanceReport.FindingSeverity': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class FindingSeverity(java.lang.Enum['SafetySystemPerformanceReport.FindingSeverity']): + INFO: typing.ClassVar['SafetySystemPerformanceReport.FindingSeverity'] = ... + WARNING: typing.ClassVar['SafetySystemPerformanceReport.FindingSeverity'] = ... + FAIL: typing.ClassVar['SafetySystemPerformanceReport.FindingSeverity'] = ... + _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]) -> 'SafetySystemPerformanceReport.FindingSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['SafetySystemPerformanceReport.FindingSeverity']: ... + class Verdict(java.lang.Enum['SafetySystemPerformanceReport.Verdict']): + PASS: typing.ClassVar['SafetySystemPerformanceReport.Verdict'] = ... + PASS_WITH_WARNINGS: typing.ClassVar['SafetySystemPerformanceReport.Verdict'] = ... + FAIL: typing.ClassVar['SafetySystemPerformanceReport.Verdict'] = ... + _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]) -> 'SafetySystemPerformanceReport.Verdict': ... + @staticmethod + def values() -> typing.MutableSequence['SafetySystemPerformanceReport.Verdict']: ... + +class TR2237Templates: + @staticmethod + def createNorsokS001Mapping() -> java.util.Map[java.lang.String, java.lang.String]: ... + @staticmethod + def createOnshoreTemplate() -> BarrierRegister: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.barrier")``. + + BarrierRegister: typing.Type[BarrierRegister] + DocumentEvidence: typing.Type[DocumentEvidence] + PerformanceStandard: typing.Type[PerformanceStandard] + SafetyBarrier: typing.Type[SafetyBarrier] + SafetyCriticalElement: typing.Type[SafetyCriticalElement] + SafetySystemCategory: typing.Type[SafetySystemCategory] + SafetySystemDemand: typing.Type[SafetySystemDemand] + SafetySystemPerformanceAnalyzer: typing.Type[SafetySystemPerformanceAnalyzer] + SafetySystemPerformanceReport: typing.Type[SafetySystemPerformanceReport] + TR2237Templates: typing.Type[TR2237Templates] diff --git a/src/jneqsim/process/safety/cfd/__init__.pyi b/src/jneqsim/process/safety/cfd/__init__.pyi new file mode 100644 index 00000000..8e98e8be --- /dev/null +++ b/src/jneqsim/process/safety/cfd/__init__.pyi @@ -0,0 +1,65 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.safety.scenario +import typing + + + +class CfdSourceTermCase(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + @staticmethod + def builder() -> 'CfdSourceTermCase.Builder': ... + @staticmethod + def fromScenario(releaseDispersionScenario: jneqsim.process.safety.scenario.ReleaseDispersionScenarioGenerator.ReleaseDispersionScenario) -> 'CfdSourceTermCase': ... + def getCaseId(self) -> java.lang.String: ... + def getQualityWarnings(self) -> java.util.List[java.lang.String]: ... + def getRelease(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getScenarioName(self) -> java.lang.String: ... + def getSchemaVersion(self) -> java.lang.String: ... + def getSourceTerm(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def validate(self) -> 'CfdSourceTermCase.ValidationResult': ... + class Builder: + def __init__(self): ... + def ambient(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def build(self) -> 'CfdSourceTermCase': ... + def caseId(self, string: typing.Union[java.lang.String, str]) -> 'CfdSourceTermCase.Builder': ... + def cfdHints(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def consequenceBranches(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]]) -> 'CfdSourceTermCase.Builder': ... + def context(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def dispersionScreening(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def fluid(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def inventory(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def provenance(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def release(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'CfdSourceTermCase.Builder': ... + def sourceTerm(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... + def warnings(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'CfdSourceTermCase.Builder': ... + class ValidationResult(java.io.Serializable): + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class CfdSourceTermExporter(java.io.Serializable): + def __init__(self): ... + def exportJson(self, cfdSourceTermCase: CfdSourceTermCase, string: typing.Union[java.lang.String, str]) -> None: ... + def exportManifest(self, list: java.util.List[CfdSourceTermCase], string: typing.Union[java.lang.String, str]) -> None: ... + def exportOpenFoamSkeleton(self, cfdSourceTermCase: CfdSourceTermCase, string: typing.Union[java.lang.String, str]) -> None: ... + def toJson(self, cfdSourceTermCase: CfdSourceTermCase) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.cfd")``. + + CfdSourceTermCase: typing.Type[CfdSourceTermCase] + CfdSourceTermExporter: typing.Type[CfdSourceTermExporter] diff --git a/src/jneqsim/process/safety/compliance/__init__.pyi b/src/jneqsim/process/safety/compliance/__init__.pyi new file mode 100644 index 00000000..30916dd4 --- /dev/null +++ b/src/jneqsim/process/safety/compliance/__init__.pyi @@ -0,0 +1,68 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.mechanicaldesign.pipeline +import jneqsim.process.processmodel +import typing + + + +class StandardsComplianceReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addRequirement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'StandardsComplianceReport': ... + def compliancePercent(self) -> float: ... + def getRequirements(self) -> java.util.List['StandardsComplianceReport.Requirement']: ... + def loadAPI14C(self) -> 'StandardsComplianceReport': ... + def loadIEC61511(self) -> 'StandardsComplianceReport': ... + def loadNORSOKP002(self) -> 'StandardsComplianceReport': ... + def loadNORSOKS001(self) -> 'StandardsComplianceReport': ... + def loadNORSOKS001Clause10(self) -> 'StandardsComplianceReport': ... + def loadSTS0131(self) -> 'StandardsComplianceReport': ... + def loadTR1965(self) -> 'StandardsComplianceReport': ... + def loadTR2237(self) -> 'StandardsComplianceReport': ... + def report(self) -> java.lang.String: ... + def setStatus(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], status: 'StandardsComplianceReport.Status', string3: typing.Union[java.lang.String, str]) -> 'StandardsComplianceReport': ... + def statusSummary(self) -> java.util.Map['StandardsComplianceReport.Status', int]: ... + class Requirement(java.io.Serializable): + standard: java.lang.String = ... + clause: java.lang.String = ... + description: java.lang.String = ... + status: 'StandardsComplianceReport.Status' = ... + evidence: java.lang.String = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], status: 'StandardsComplianceReport.Status', string4: typing.Union[java.lang.String, str]): ... + class Status(java.lang.Enum['StandardsComplianceReport.Status']): + COMPLIANT: typing.ClassVar['StandardsComplianceReport.Status'] = ... + PARTIAL: typing.ClassVar['StandardsComplianceReport.Status'] = ... + NON_COMPLIANT: typing.ClassVar['StandardsComplianceReport.Status'] = ... + NOT_ASSESSED: typing.ClassVar['StandardsComplianceReport.Status'] = ... + NOT_APPLICABLE: typing.ClassVar['StandardsComplianceReport.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]) -> 'StandardsComplianceReport.Status': ... + @staticmethod + def values() -> typing.MutableSequence['StandardsComplianceReport.Status']: ... + +class StandardsDesignReview(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, norsokP002LineSizingValidator: jneqsim.process.mechanicaldesign.pipeline.NorsokP002LineSizingValidator): ... + def review(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> StandardsComplianceReport: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.compliance")``. + + StandardsComplianceReport: typing.Type[StandardsComplianceReport] + StandardsDesignReview: typing.Type[StandardsDesignReview] diff --git a/src/jneqsim/process/safety/depressurization/__init__.pyi b/src/jneqsim/process/safety/depressurization/__init__.pyi new file mode 100644 index 00000000..603fadbc --- /dev/null +++ b/src/jneqsim/process/safety/depressurization/__init__.pyi @@ -0,0 +1,79 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.thermo.system +import typing + + + +class DepressurizationSimulator(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float): ... + def run(self) -> 'DepressurizationSimulator.DepressurizationResult': ... + def setFireHeatInput(self, double: float) -> 'DepressurizationSimulator': ... + def setMaxTime(self, double: float) -> 'DepressurizationSimulator': ... + def setStopPressure(self, double: float) -> 'DepressurizationSimulator': ... + def setTimeStep(self, double: float) -> 'DepressurizationSimulator': ... + def setWall(self, double: float, double2: float, double3: float, double4: float) -> 'DepressurizationSimulator': ... + class DepressurizationResult(java.io.Serializable): + initialPressureBara: float = ... + time: java.util.List = ... + pressureBara: java.util.List = ... + temperatureK: java.util.List = ... + massKg: java.util.List = ... + wallTempK: java.util.List = ... + massFlowKgPerS: java.util.List = ... + timeToHalfPressure: float = ... + timeTo7BargS: float = ... + minFluidTemperatureK: float = ... + minWallTemperatureK: float = ... + halfPressureCriterionMet: bool = ... + sevenBargCriterionMet: bool = ... + def __init__(self): ... + def evaluateSTS0131(self, sTS0131AcceptanceCriteria: 'STS0131AcceptanceCriteria') -> 'STS0131AcceptanceResult': ... + def meetsMDMT(self, double: float) -> bool: ... + def summary(self) -> java.lang.String: ... + +class STS0131AcceptanceCriteria(java.io.Serializable): + def __init__(self): ... + def evaluate(self, depressurizationResult: DepressurizationSimulator.DepressurizationResult) -> 'STS0131AcceptanceResult': ... + def getEstimatedTimeToRuptureS(self) -> float: ... + def getMaximumEscalatedFireRateKgPerS(self) -> float: ... + def getMaximumPressureAtRuptureBara(self) -> float: ... + def getMaximumRemainingMassKg(self) -> float: ... + def getTimeToEscapeS(self) -> float: ... + def setEstimatedTimeToRuptureS(self, double: float) -> 'STS0131AcceptanceCriteria': ... + def setMaximumEscalatedFireRateKgPerS(self, double: float) -> 'STS0131AcceptanceCriteria': ... + def setMaximumPressureAtRuptureBara(self, double: float) -> 'STS0131AcceptanceCriteria': ... + def setMaximumRemainingMassKg(self, double: float) -> 'STS0131AcceptanceCriteria': ... + def setTimeToEscapeS(self, double: float) -> 'STS0131AcceptanceCriteria': ... + +class STS0131AcceptanceResult(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool, boolean5: bool, boolean6: bool, boolean7: bool): ... + def getLimitingTimeS(self) -> float: ... + def getPeakDischargeRateKgPerS(self) -> float: ... + def getPressureAtLimitingTimeBara(self) -> float: ... + def getRemainingMassAtLimitingTimeKg(self) -> float: ... + def isAcceptable(self) -> bool: ... + def isFireRateCriterionConfigured(self) -> bool: ... + def isFireRateCriterionMet(self) -> bool: ... + def isMassCriterionConfigured(self) -> bool: ... + def isMassCriterionMet(self) -> bool: ... + def isPressureCriterionConfigured(self) -> bool: ... + def isPressureCriterionMet(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.depressurization")``. + + DepressurizationSimulator: typing.Type[DepressurizationSimulator] + STS0131AcceptanceCriteria: typing.Type[STS0131AcceptanceCriteria] + STS0131AcceptanceResult: typing.Type[STS0131AcceptanceResult] diff --git a/src/jneqsim/process/safety/dispersion/__init__.pyi b/src/jneqsim/process/safety/dispersion/__init__.pyi new file mode 100644 index 00000000..e2d3e748 --- /dev/null +++ b/src/jneqsim/process/safety/dispersion/__init__.pyi @@ -0,0 +1,167 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.stream +import jneqsim.process.safety +import jneqsim.process.safety.release +import jneqsim.thermo.system +import typing + + + +class GasDispersionAnalyzer(java.io.Serializable): + def analyze(self) -> 'GasDispersionResult': ... + @staticmethod + def analyzeStream(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'GasDispersionResult': ... + @staticmethod + def builder() -> 'GasDispersionAnalyzer.Builder': ... + @staticmethod + def getLowerFlammableLimits() -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def lowerFlammableLimit(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + class Builder: + def __init__(self): ... + def boundaryConditions(self, boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'GasDispersionAnalyzer.Builder': ... + def build(self) -> 'GasDispersionAnalyzer': ... + def flammableEndpointFraction(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... + def fluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'GasDispersionAnalyzer.Builder': ... + def lowerFlammableLimit(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... + def massReleaseRate(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... + def modelSelection(self, modelSelection: 'GasDispersionAnalyzer.ModelSelection') -> 'GasDispersionAnalyzer.Builder': ... + def releaseHeight(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... + def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'GasDispersionAnalyzer.Builder': ... + def sourceTerm(self, sourceTermResult: jneqsim.process.safety.release.SourceTermResult) -> 'GasDispersionAnalyzer.Builder': ... + def sts0131CfdEndpoint(self) -> 'GasDispersionAnalyzer.Builder': ... + def sts0131IntegralEndpoint(self) -> 'GasDispersionAnalyzer.Builder': ... + def toxicEndpoint(self, string: typing.Union[java.lang.String, str], double: float) -> 'GasDispersionAnalyzer.Builder': ... + class ModelSelection(java.lang.Enum['GasDispersionAnalyzer.ModelSelection']): + AUTO: typing.ClassVar['GasDispersionAnalyzer.ModelSelection'] = ... + GAUSSIAN_PLUME: typing.ClassVar['GasDispersionAnalyzer.ModelSelection'] = ... + HEAVY_GAS: typing.ClassVar['GasDispersionAnalyzer.ModelSelection'] = ... + _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]) -> 'GasDispersionAnalyzer.ModelSelection': ... + @staticmethod + def values() -> typing.MutableSequence['GasDispersionAnalyzer.ModelSelection']: ... + +class GasDispersionResult(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, string3: typing.Union[java.lang.String, str], double13: float, double14: float, double15: float, char: str, string4: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, string3: typing.Union[java.lang.String, str], double11: float, double12: float, double13: float, char: str, string4: typing.Union[java.lang.String, str]): ... + def getAirDensityKgPerM3(self) -> float: ... + def getDistanceToFlammableEndpointM(self) -> float: ... + def getDistanceToHalfLflM(self) -> float: ... + def getDistanceToLflM(self) -> float: ... + def getFlammableCloudVolumeM3(self) -> float: ... + def getFlammableEndpointFractionOfLfl(self) -> float: ... + def getFlammableMassReleaseRateKgPerS(self) -> float: ... + def getFuelMassFraction(self) -> float: ... + def getFuelMoleFraction(self) -> float: ... + def getLowerFlammableLimitVolumeFraction(self) -> float: ... + def getMassReleaseRateKgPerS(self) -> float: ... + def getScenarioName(self) -> java.lang.String: ... + def getScreeningBasis(self) -> java.lang.String: ... + def getSelectedModel(self) -> java.lang.String: ... + def getSourceDensityKgPerM3(self) -> float: ... + def getStabilityClass(self) -> str: ... + def getToxicComponentName(self) -> java.lang.String: ... + def getToxicDistanceM(self) -> float: ... + def getToxicThresholdPpm(self) -> float: ... + def getWindSpeedMPerS(self) -> float: ... + def hasFlammableCloud(self) -> bool: ... + def hasToxicEndpoint(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class GaussianPlume(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, stability: 'GaussianPlume.Stability', terrain: 'GaussianPlume.Terrain'): ... + def centerlineGroundConcentration(self, double: float) -> float: ... + def concentration(self, double: float, double2: float, double3: float) -> float: ... + def distanceToConcentration(self, double: float) -> float: ... + def sigmaY(self, double: float) -> float: ... + def sigmaZ(self, double: float) -> float: ... + class Stability(java.lang.Enum['GaussianPlume.Stability']): + A: typing.ClassVar['GaussianPlume.Stability'] = ... + B: typing.ClassVar['GaussianPlume.Stability'] = ... + C: typing.ClassVar['GaussianPlume.Stability'] = ... + D: typing.ClassVar['GaussianPlume.Stability'] = ... + E: typing.ClassVar['GaussianPlume.Stability'] = ... + F: typing.ClassVar['GaussianPlume.Stability'] = ... + _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]) -> 'GaussianPlume.Stability': ... + @staticmethod + def values() -> typing.MutableSequence['GaussianPlume.Stability']: ... + class Terrain(java.lang.Enum['GaussianPlume.Terrain']): + RURAL: typing.ClassVar['GaussianPlume.Terrain'] = ... + URBAN: typing.ClassVar['GaussianPlume.Terrain'] = ... + _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]) -> 'GaussianPlume.Terrain': ... + @staticmethod + def values() -> typing.MutableSequence['GaussianPlume.Terrain']: ... + +class HeavyGasDispersion(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def britterParameter(self) -> float: ... + def distanceToConcentrationRatio(self, double: float) -> float: ... + def reducedGravity(self) -> float: ... + +class ProbitModel(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + @staticmethod + def ammoniaFatality() -> 'ProbitModel': ... + @staticmethod + def blastLungFatality() -> 'ProbitModel': ... + @staticmethod + def chlorineFatality() -> 'ProbitModel': ... + @staticmethod + def h2sFatality() -> 'ProbitModel': ... + def probability(self, double: float) -> float: ... + def probabilityFromDose(self, double: float) -> float: ... + def probit(self, double: float) -> float: ... + @staticmethod + def thermalFatality() -> 'ProbitModel': ... + +class ToxicLibrary: + @staticmethod + def get(string: typing.Union[java.lang.String, str]) -> 'ToxicLibrary.Thresholds': ... + @staticmethod + def ppmToKgPerM3(double: float, double2: float, double3: float, double4: float) -> float: ... + class Thresholds(java.io.Serializable): + name: java.lang.String = ... + idlhPpm: float = ... + erpg2Ppm: float = ... + aegl2Ppm: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.dispersion")``. + + GasDispersionAnalyzer: typing.Type[GasDispersionAnalyzer] + GasDispersionResult: typing.Type[GasDispersionResult] + GaussianPlume: typing.Type[GaussianPlume] + HeavyGasDispersion: typing.Type[HeavyGasDispersion] + ProbitModel: typing.Type[ProbitModel] + ToxicLibrary: typing.Type[ToxicLibrary] diff --git a/src/jneqsim/process/safety/dto/__init__.pyi b/src/jneqsim/process/safety/dto/__init__.pyi new file mode 100644 index 00000000..27f08fba --- /dev/null +++ b/src/jneqsim/process/safety/dto/__init__.pyi @@ -0,0 +1,43 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.flare.dto +import typing + + + +class CapacityAlertDTO(java.io.Serializable): + 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 getDisposalUnitName(self) -> java.lang.String: ... + def getLoadCaseName(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + +class DisposalLoadCaseResultDTO(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.equipment.flare.dto.FlarePerformanceDTO], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.equipment.flare.dto.FlarePerformanceDTO]], double: float, double2: float, list: java.util.List[CapacityAlertDTO]): ... + def getAlerts(self) -> java.util.List[CapacityAlertDTO]: ... + def getLoadCaseName(self) -> java.lang.String: ... + def getMaxRadiationDistanceM(self) -> float: ... + def getPerformanceByUnit(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.flare.dto.FlarePerformanceDTO]: ... + def getTotalHeatDutyMW(self) -> float: ... + +class DisposalNetworkSummaryDTO(java.io.Serializable): + def __init__(self, list: java.util.List[DisposalLoadCaseResultDTO], double: float, double2: float, list2: java.util.List[CapacityAlertDTO]): ... + def getAlerts(self) -> java.util.List[CapacityAlertDTO]: ... + def getLoadCaseResults(self) -> java.util.List[DisposalLoadCaseResultDTO]: ... + def getMaxHeatDutyMW(self) -> float: ... + def getMaxRadiationDistanceM(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.dto")``. + + CapacityAlertDTO: typing.Type[CapacityAlertDTO] + DisposalLoadCaseResultDTO: typing.Type[DisposalLoadCaseResultDTO] + DisposalNetworkSummaryDTO: typing.Type[DisposalNetworkSummaryDTO] diff --git a/src/jneqsim/process/safety/envelope/__init__.pyi b/src/jneqsim/process/safety/envelope/__init__.pyi new file mode 100644 index 00000000..e96f3909 --- /dev/null +++ b/src/jneqsim/process/safety/envelope/__init__.pyi @@ -0,0 +1,75 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.system +import typing + + + +class SafetyEnvelope: + def __init__(self, string: typing.Union[java.lang.String, str], envelopeType: 'SafetyEnvelope.EnvelopeType', int: int): ... + def calculateMarginToLimit(self, double: float, double2: float) -> float: ... + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToPIFormat(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def exportToSeeq(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getFluidDescription(self) -> java.lang.String: ... + def getMargin(self) -> typing.MutableSequence[float]: ... + def getName(self) -> java.lang.String: ... + def getNumberOfPoints(self) -> int: ... + def getPressure(self) -> typing.MutableSequence[float]: ... + def getReferenceWaterContent(self) -> float: ... + def getReferenceWaxContent(self) -> float: ... + def getSafeTemperatureAtPressure(self, double: float) -> float: ... + def getTemperature(self) -> typing.MutableSequence[float]: ... + def getTemperatureAtPressure(self, double: float) -> float: ... + def getType(self) -> 'SafetyEnvelope.EnvelopeType': ... + def isOperatingPointSafe(self, double: float, double2: float) -> bool: ... + def toString(self) -> java.lang.String: ... + class EnvelopeType(java.lang.Enum['SafetyEnvelope.EnvelopeType']): + HYDRATE: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + WAX: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + CO2_FREEZING: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + MDMT: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + PHASE_ENVELOPE: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + BRITTLE_FRACTURE: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + CUSTOM: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + def getDisplayName(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]) -> 'SafetyEnvelope.EnvelopeType': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyEnvelope.EnvelopeType']: ... + +class SafetyEnvelopeCalculator: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculateAllEnvelopes(self, double: float, double2: float, int: int) -> typing.MutableSequence[SafetyEnvelope]: ... + def calculateCO2FreezingEnvelope(self, double: float, double2: float, int: int) -> SafetyEnvelope: ... + def calculateHydrateEnvelope(self, double: float, double2: float, int: int) -> SafetyEnvelope: ... + def calculateMDMTEnvelope(self, double: float, double2: float, double3: float, int: int) -> SafetyEnvelope: ... + def calculatePhaseEnvelope(self, int: int) -> SafetyEnvelope: ... + def calculateWaxEnvelope(self, double: float, double2: float, int: int) -> SafetyEnvelope: ... + @staticmethod + def getMostLimitingEnvelope(safetyEnvelopeArray: typing.Union[typing.List[SafetyEnvelope], jpype.JArray], double: float, double2: float) -> SafetyEnvelope: ... + @staticmethod + def isOperatingPointSafe(safetyEnvelopeArray: typing.Union[typing.List[SafetyEnvelope], jpype.JArray], double: float, double2: float) -> bool: ... + def setHydrateSafetyMargin(self, double: float) -> None: ... + def setMDMTSafetyMargin(self, double: float) -> None: ... + def setWaxSafetyMargin(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.envelope")``. + + SafetyEnvelope: typing.Type[SafetyEnvelope] + SafetyEnvelopeCalculator: typing.Type[SafetyEnvelopeCalculator] diff --git a/src/jneqsim/process/safety/escalation/__init__.pyi b/src/jneqsim/process/safety/escalation/__init__.pyi new file mode 100644 index 00000000..5511320b --- /dev/null +++ b/src/jneqsim/process/safety/escalation/__init__.pyi @@ -0,0 +1,27 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class EscalationGraphAnalyzer(java.io.Serializable): + def __init__(self): ... + def addExposure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EscalationGraphAnalyzer': ... + def addItem(self, string: typing.Union[java.lang.String, str], double: float) -> 'EscalationGraphAnalyzer': ... + def getItems(self) -> java.util.Set[java.lang.String]: ... + def propagate(self, string: typing.Union[java.lang.String, str]) -> java.util.Set[java.lang.String]: ... + def worstCaseEscalation(self) -> java.util.Set[java.lang.String]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.escalation")``. + + EscalationGraphAnalyzer: typing.Type[EscalationGraphAnalyzer] diff --git a/src/jneqsim/process/safety/esd/__init__.pyi b/src/jneqsim/process/safety/esd/__init__.pyi new file mode 100644 index 00000000..e1d862be --- /dev/null +++ b/src/jneqsim/process/safety/esd/__init__.pyi @@ -0,0 +1,181 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.logic +import jneqsim.process.operations +import jneqsim.process.processmodel +import jneqsim.process.safety +import typing + + + +class EmergencyShutdownTestCriterion(java.io.Serializable): + @staticmethod + def decreaseAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def fieldAbsoluteDeviationAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def fieldRelativeDeviationAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def finalAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def finalAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def getClause(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getLogicName(self) -> java.lang.String: ... + def getLogicalTag(self) -> java.lang.String: ... + def getSeverity(self) -> java.lang.String: ... + def getTargetValue(self) -> float: ... + def getType(self) -> 'EmergencyShutdownTestCriterion.CriterionType': ... + def getUnit(self) -> java.lang.String: ... + @staticmethod + def increaseAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def logicCompleted(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def maxAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def maxAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def minAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def minAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + @staticmethod + def noSimulationErrors(string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def withClause(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def withSeverity(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def withText(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + class CriterionType(java.lang.Enum['EmergencyShutdownTestCriterion.CriterionType']): + FINAL_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + FINAL_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + MAX_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + MAX_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + MIN_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + MIN_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + DECREASE_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + INCREASE_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + FIELD_ABSOLUTE_DEVIATION_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + FIELD_RELATIVE_DEVIATION_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + LOGIC_COMPLETED: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + NO_SIMULATION_ERRORS: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... + _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]) -> 'EmergencyShutdownTestCriterion.CriterionType': ... + @staticmethod + def values() -> typing.MutableSequence['EmergencyShutdownTestCriterion.CriterionType']: ... + class Result(java.io.Serializable): + def getCriterionId(self) -> java.lang.String: ... + def isPassed(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class EmergencyShutdownTestPlan(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def getCriteria(self) -> java.util.List[EmergencyShutdownTestCriterion]: ... + def getDefaultFieldComparisonToleranceFraction(self) -> float: ... + def getDurationSeconds(self) -> float: ... + def getEnabledLogicNames(self) -> java.util.List[java.lang.String]: ... + def getEvidenceReferences(self) -> java.util.List[java.lang.String]: ... + def getFieldData(self) -> java.util.Map[java.lang.String, float]: ... + def getMonitoredLogicalTags(self) -> java.util.Set[java.lang.String]: ... + def getMonitoredUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... + def getStandardReferences(self) -> java.util.List[java.lang.String]: ... + def getTagMap(self) -> jneqsim.process.operations.OperationalTagMap: ... + def getTimeStepSeconds(self) -> float: ... + def getTriggerLogicNames(self) -> java.util.List[java.lang.String]: ... + def getTriggerTimeSeconds(self) -> float: ... + def isInitializeSteadyState(self) -> bool: ... + class Builder: + def build(self) -> 'EmergencyShutdownTestPlan': ... + def criterion(self, emergencyShutdownTestCriterion: EmergencyShutdownTestCriterion) -> 'EmergencyShutdownTestPlan.Builder': ... + def defaultFieldComparisonTolerance(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + def duration(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + def enableLogic(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def evidenceReference(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + @typing.overload + def fieldData(self, string: typing.Union[java.lang.String, str], double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + @typing.overload + def fieldData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'EmergencyShutdownTestPlan.Builder': ... + def initializeSteadyState(self, boolean: bool) -> 'EmergencyShutdownTestPlan.Builder': ... + def monitor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def scenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> 'EmergencyShutdownTestPlan.Builder': ... + def standardReference(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def tagMap(self, operationalTagMap: jneqsim.process.operations.OperationalTagMap) -> 'EmergencyShutdownTestPlan.Builder': ... + def timeStep(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + def triggerLogic(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def triggerTime(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + +class EmergencyShutdownTestResult(java.io.Serializable): + def getCriterionResults(self) -> java.util.List[EmergencyShutdownTestCriterion.Result]: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getFieldComparisons(self) -> java.util.Map[java.lang.String, 'EmergencyShutdownTestResult.FieldComparison']: ... + def getLogicStates(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getSignalStats(self) -> java.util.Map[java.lang.String, 'EmergencyShutdownTestResult.SignalStats']: ... + def getTestName(self) -> java.lang.String: ... + def getTimeSeries(self) -> java.util.List['EmergencyShutdownTestResult.SignalSample']: ... + def getVerdict(self) -> 'EmergencyShutdownTestResult.Verdict': ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class FieldComparison(java.io.Serializable): + def getAbsoluteDeviation(self) -> float: ... + def getLogicalTag(self) -> java.lang.String: ... + def getRelativeDeviationFraction(self) -> float: ... + def getSignedDeviation(self) -> float: ... + def hasBothValues(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SignalSample(java.io.Serializable): + def getTimeSeconds(self) -> float: ... + def getValues(self) -> java.util.Map[java.lang.String, float]: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SignalStats(java.io.Serializable): + def getFinalValue(self) -> float: ... + def getInitialValue(self) -> float: ... + def getMaxValue(self) -> float: ... + def getMinValue(self) -> float: ... + def hasSamples(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Verdict(java.lang.Enum['EmergencyShutdownTestResult.Verdict']): + PASS: typing.ClassVar['EmergencyShutdownTestResult.Verdict'] = ... + PASS_WITH_WARNINGS: typing.ClassVar['EmergencyShutdownTestResult.Verdict'] = ... + FAIL: typing.ClassVar['EmergencyShutdownTestResult.Verdict'] = ... + _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]) -> 'EmergencyShutdownTestResult.Verdict': ... + @staticmethod + def values() -> typing.MutableSequence['EmergencyShutdownTestResult.Verdict']: ... + +class EmergencyShutdownTestRunner: + @typing.overload + @staticmethod + def run(processSystem: jneqsim.process.processmodel.ProcessSystem, emergencyShutdownTestPlan: EmergencyShutdownTestPlan, list: java.util.List[jneqsim.process.logic.ProcessLogic]) -> EmergencyShutdownTestResult: ... + @typing.overload + @staticmethod + def run(processSystem: jneqsim.process.processmodel.ProcessSystem, emergencyShutdownTestPlan: EmergencyShutdownTestPlan, *processLogic: jneqsim.process.logic.ProcessLogic) -> EmergencyShutdownTestResult: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.esd")``. + + EmergencyShutdownTestCriterion: typing.Type[EmergencyShutdownTestCriterion] + EmergencyShutdownTestPlan: typing.Type[EmergencyShutdownTestPlan] + EmergencyShutdownTestResult: typing.Type[EmergencyShutdownTestResult] + EmergencyShutdownTestRunner: typing.Type[EmergencyShutdownTestRunner] diff --git a/src/jneqsim/process/safety/fire/__init__.pyi b/src/jneqsim/process/safety/fire/__init__.pyi new file mode 100644 index 00000000..432f58d5 --- /dev/null +++ b/src/jneqsim/process/safety/fire/__init__.pyi @@ -0,0 +1,57 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import typing + + + +class BLEVECalculator(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + def distanceToFlux(self, double: float) -> float: ... + def fireballDiameterM(self) -> float: ... + def fireballDurationS(self) -> float: ... + def incidentHeatFlux(self, double: float) -> float: ... + def setHumidity(self, double: float) -> 'BLEVECalculator': ... + def surfaceEmissivePowerWPerM2(self) -> float: ... + def transmissivity(self, double: float) -> float: ... + +class JetFireModel(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + def distanceToFlux(self, double: float) -> float: ... + def incidentHeatFlux(self, double: float) -> float: ... + def setHumidity(self, double: float) -> 'JetFireModel': ... + def totalRadiativePowerW(self) -> float: ... + def transmissivity(self, double: float) -> float: ... + +class PoolFireModel(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def distanceToFlux(self, double: float) -> float: ... + def flameHeightM(self) -> float: ... + def incidentHeatFlux(self, double: float) -> float: ... + def setAirDensity(self, double: float) -> 'PoolFireModel': ... + def surfaceEmissivePowerWPerM2(self) -> float: ... + def totalBurnRateKgPerS(self) -> float: ... + def viewFactorVertical(self, double: float) -> float: ... + +class VCEModel(java.io.Serializable): + def __init__(self, double: float, double2: float, int: int): ... + def combustionEnergyJ(self) -> float: ... + def dimensionlessOverpressure(self, double: float) -> float: ... + def distanceToOverpressure(self, double: float) -> float: ... + def overpressurePa(self, double: float) -> float: ... + def scaledDistance(self, double: float) -> float: ... + def setAmbientPressure(self, double: float) -> 'VCEModel': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.fire")``. + + BLEVECalculator: typing.Type[BLEVECalculator] + JetFireModel: typing.Type[JetFireModel] + PoolFireModel: typing.Type[PoolFireModel] + VCEModel: typing.Type[VCEModel] diff --git a/src/jneqsim/process/safety/hazid/__init__.pyi b/src/jneqsim/process/safety/hazid/__init__.pyi new file mode 100644 index 00000000..50485a57 --- /dev/null +++ b/src/jneqsim/process/safety/hazid/__init__.pyi @@ -0,0 +1,90 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class FMEAWorksheet(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addEntry(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], int: int, int2: int, int3: int, string5: typing.Union[java.lang.String, str]) -> 'FMEAWorksheet': ... + def entriesAboveRPN(self, int: int) -> java.util.List['FMEAWorksheet.FMEAEntry']: ... + def report(self) -> java.lang.String: ... + def sortedByRPN(self) -> java.util.List['FMEAWorksheet.FMEAEntry']: ... + class FMEAEntry(java.io.Serializable): + component: java.lang.String = ... + failureMode: java.lang.String = ... + effect: java.lang.String = ... + cause: java.lang.String = ... + severity: int = ... + occurrence: int = ... + detection: int = ... + mitigation: java.lang.String = ... + 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], int: int, int2: int, int3: int, string5: typing.Union[java.lang.String, str]): ... + def rpn(self) -> int: ... + +class HAZOPTemplate(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def addDeviation(self, guideWord: 'HAZOPTemplate.GuideWord', parameter: 'HAZOPTemplate.Parameter', 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]) -> 'HAZOPTemplate': ... + def generateGrid(self, *parameter: 'HAZOPTemplate.Parameter') -> 'HAZOPTemplate': ... + def getDesignIntent(self) -> java.lang.String: ... + def getDeviations(self) -> java.util.List['HAZOPTemplate.HAZOPDeviation']: ... + def getNodeId(self) -> java.lang.String: ... + def report(self) -> java.lang.String: ... + @staticmethod + def standardParameters() -> java.util.List['HAZOPTemplate.Parameter']: ... + class GuideWord(java.lang.Enum['HAZOPTemplate.GuideWord']): + NO: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + MORE: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + LESS: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + REVERSE: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + AS_WELL_AS: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + PART_OF: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + OTHER_THAN: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... + _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]) -> 'HAZOPTemplate.GuideWord': ... + @staticmethod + def values() -> typing.MutableSequence['HAZOPTemplate.GuideWord']: ... + class HAZOPDeviation(java.io.Serializable): + guideWord: 'HAZOPTemplate.GuideWord' = ... + parameter: 'HAZOPTemplate.Parameter' = ... + cause: java.lang.String = ... + consequence: java.lang.String = ... + safeguard: java.lang.String = ... + recommendation: java.lang.String = ... + def __init__(self, guideWord: 'HAZOPTemplate.GuideWord', parameter: 'HAZOPTemplate.Parameter', 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]): ... + class Parameter(java.lang.Enum['HAZOPTemplate.Parameter']): + FLOW: typing.ClassVar['HAZOPTemplate.Parameter'] = ... + PRESSURE: typing.ClassVar['HAZOPTemplate.Parameter'] = ... + TEMPERATURE: typing.ClassVar['HAZOPTemplate.Parameter'] = ... + LEVEL: typing.ClassVar['HAZOPTemplate.Parameter'] = ... + COMPOSITION: typing.ClassVar['HAZOPTemplate.Parameter'] = ... + REACTION: typing.ClassVar['HAZOPTemplate.Parameter'] = ... + _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]) -> 'HAZOPTemplate.Parameter': ... + @staticmethod + def values() -> typing.MutableSequence['HAZOPTemplate.Parameter']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.hazid")``. + + FMEAWorksheet: typing.Type[FMEAWorksheet] + HAZOPTemplate: typing.Type[HAZOPTemplate] diff --git a/src/jneqsim/process/safety/inherent/__init__.pyi b/src/jneqsim/process/safety/inherent/__init__.pyi new file mode 100644 index 00000000..40c2fa30 --- /dev/null +++ b/src/jneqsim/process/safety/inherent/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import typing + + + +class InherentSafetyEvaluator(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getScore(self, pillar: 'InherentSafetyEvaluator.Pillar') -> float: ... + def overallIndex(self) -> float: ... + def report(self) -> java.lang.String: ... + def score(self, pillar: 'InherentSafetyEvaluator.Pillar', double: float, string: typing.Union[java.lang.String, str]) -> 'InherentSafetyEvaluator': ... + class Pillar(java.lang.Enum['InherentSafetyEvaluator.Pillar']): + SUBSTITUTE: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... + MINIMIZE: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... + MODERATE: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... + SIMPLIFY: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... + _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]) -> 'InherentSafetyEvaluator.Pillar': ... + @staticmethod + def values() -> typing.MutableSequence['InherentSafetyEvaluator.Pillar']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.inherent")``. + + InherentSafetyEvaluator: typing.Type[InherentSafetyEvaluator] diff --git a/src/jneqsim/process/safety/inventory/__init__.pyi b/src/jneqsim/process/safety/inventory/__init__.pyi new file mode 100644 index 00000000..505cca5e --- /dev/null +++ b/src/jneqsim/process/safety/inventory/__init__.pyi @@ -0,0 +1,74 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.safety.barrier +import jneqsim.thermo.system +import typing + + + +class TrappedInventoryCalculator(java.io.Serializable): + def __init__(self): ... + def addEquipmentVolume(self, string: typing.Union[java.lang.String, str], double: float, double2: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... + @typing.overload + def addPipeSegment(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... + @typing.overload + def addPipeSegment(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], double3: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... + def addVolumeSegment(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... + def calculate(self) -> 'TrappedInventoryCalculator.InventoryResult': ... + def createDepressurizationFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def setFallbackLiquidDensity(self, double: float) -> 'TrappedInventoryCalculator': ... + def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TrappedInventoryCalculator': ... + @typing.overload + def setOperatingConditions(self, double: float, double2: float) -> 'TrappedInventoryCalculator': ... + @typing.overload + def setOperatingConditions(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'TrappedInventoryCalculator': ... + def toJson(self) -> java.lang.String: ... + class InventoryResult(java.io.Serializable): + def getGasDensityKgPerM3(self) -> float: ... + def getLiquidDensityKgPerM3(self) -> float: ... + def getPressureBara(self) -> float: ... + def getSegmentResults(self) -> java.util.List['TrappedInventoryCalculator.InventorySegmentResult']: ... + def getTemperatureK(self) -> float: ... + def getTotalGasMassKg(self) -> float: ... + def getTotalGasVolumeM3(self) -> float: ... + def getTotalLiquidMassKg(self) -> float: ... + def getTotalLiquidVolumeM3(self) -> float: ... + def getTotalMassKg(self) -> float: ... + def getTotalVolumeM3(self) -> float: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InventorySegment(java.io.Serializable): + def addEvidence(self, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator.InventorySegment': ... + def getEvidence(self) -> java.util.List[jneqsim.process.safety.barrier.DocumentEvidence]: ... + def getId(self) -> java.lang.String: ... + def getInternalDiameterM(self) -> float: ... + def getLengthM(self) -> float: ... + def getLiquidFillFraction(self) -> float: ... + def getType(self) -> java.lang.String: ... + def getVolumeM3(self) -> float: ... + class InventorySegmentResult(java.io.Serializable): + def getGasDensityKgPerM3(self) -> float: ... + def getGasMassKg(self) -> float: ... + def getGasVolumeM3(self) -> float: ... + def getLiquidDensityKgPerM3(self) -> float: ... + def getLiquidMassKg(self) -> float: ... + def getLiquidVolumeM3(self) -> float: ... + def getSegmentId(self) -> java.lang.String: ... + def getTotalMassKg(self) -> float: ... + def getTotalVolumeM3(self) -> float: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.inventory")``. + + TrappedInventoryCalculator: typing.Type[TrappedInventoryCalculator] diff --git a/src/jneqsim/process/safety/leakdetection/__init__.pyi b/src/jneqsim/process/safety/leakdetection/__init__.pyi new file mode 100644 index 00000000..db3eab07 --- /dev/null +++ b/src/jneqsim/process/safety/leakdetection/__init__.pyi @@ -0,0 +1,43 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class MassBalanceLeakDetector(java.io.Serializable): + @typing.overload + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def calculateSensitivity(self) -> 'MassBalanceLeakDetector.LeakDetectionSensitivityResult': ... + @staticmethod + def fromPipe(pipeLineInterface: jneqsim.process.equipment.pipeline.PipeLineInterface) -> 'MassBalanceLeakDetector': ... + def setConfidenceMultiplier(self, double: float) -> 'MassBalanceLeakDetector': ... + def setDetectionWindowS(self, double: float) -> 'MassBalanceLeakDetector': ... + def setFlowMeasurementUncertaintyFraction(self, double: float) -> 'MassBalanceLeakDetector': ... + def setLinepackVolumeM3(self, double: float) -> 'MassBalanceLeakDetector': ... + def setPressureUncertaintyBara(self, double: float) -> 'MassBalanceLeakDetector': ... + def setTemperatureUncertaintyK(self, double: float) -> 'MassBalanceLeakDetector': ... + class LeakDetectionSensitivityResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def getMinimumDetectableLeakFraction(self) -> float: ... + def getMinimumDetectableLeakRateKgPerS(self) -> float: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.leakdetection")``. + + MassBalanceLeakDetector: typing.Type[MassBalanceLeakDetector] diff --git a/src/jneqsim/process/safety/mdmt/__init__.pyi b/src/jneqsim/process/safety/mdmt/__init__.pyi new file mode 100644 index 00000000..71764c68 --- /dev/null +++ b/src/jneqsim/process/safety/mdmt/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import typing + + + +class MDMTCalculator(java.io.Serializable): + def __init__(self, materialCurve: 'MDMTCalculator.MaterialCurve', double: float): ... + def getMDMT_C(self) -> float: ... + def isAcceptable(self, double: float) -> bool: ... + def report(self, double: float) -> java.lang.String: ... + def setStressRatio(self, double: float) -> 'MDMTCalculator': ... + class MaterialCurve(java.lang.Enum['MDMTCalculator.MaterialCurve']): + A: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... + B: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... + C: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... + D: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... + _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]) -> 'MDMTCalculator.MaterialCurve': ... + @staticmethod + def values() -> typing.MutableSequence['MDMTCalculator.MaterialCurve']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.mdmt")``. + + MDMTCalculator: typing.Type[MDMTCalculator] diff --git a/src/jneqsim/process/safety/opendrain/__init__.pyi b/src/jneqsim/process/safety/opendrain/__init__.pyi new file mode 100644 index 00000000..cc0c8c6b --- /dev/null +++ b/src/jneqsim/process/safety/opendrain/__init__.pyi @@ -0,0 +1,210 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class OpenDrainAssessment(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], status: 'OpenDrainAssessment.Status', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def addDetail(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'OpenDrainAssessment': ... + @staticmethod + def fail(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], string5: typing.Union[java.lang.String, str]) -> 'OpenDrainAssessment': ... + def getClause(self) -> java.lang.String: ... + def getRequirementId(self) -> java.lang.String: ... + def getStandard(self) -> java.lang.String: ... + def getStatus(self) -> 'OpenDrainAssessment.Status': ... + @staticmethod + def info(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]) -> 'OpenDrainAssessment': ... + def isFailing(self) -> bool: ... + def isWarning(self) -> bool: ... + @staticmethod + def notApplicable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'OpenDrainAssessment': ... + @staticmethod + def pass_(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]) -> 'OpenDrainAssessment': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + @staticmethod + def warning(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], string5: typing.Union[java.lang.String, str]) -> 'OpenDrainAssessment': ... + class Status(java.lang.Enum['OpenDrainAssessment.Status']): + PASS: typing.ClassVar['OpenDrainAssessment.Status'] = ... + WARNING: typing.ClassVar['OpenDrainAssessment.Status'] = ... + FAIL: typing.ClassVar['OpenDrainAssessment.Status'] = ... + INFO: typing.ClassVar['OpenDrainAssessment.Status'] = ... + NOT_APPLICABLE: typing.ClassVar['OpenDrainAssessment.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]) -> 'OpenDrainAssessment.Status': ... + @staticmethod + def values() -> typing.MutableSequence['OpenDrainAssessment.Status']: ... + +class OpenDrainProcessEvidenceCalculator: + @staticmethod + def calculateCredibleLiquidLeakRateKgPerS(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateFireWaterLoadKgPerS(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateGravityDrainCapacityKgPerS(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def createInputFromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewInput': ... + @staticmethod + def createInputFromStream(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewInput': ... + @staticmethod + def createItemFromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewItem': ... + @staticmethod + def createItemFromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewItem': ... + class DesignBasis(java.io.Serializable): + def __init__(self): ... + def copy(self) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def getAreaId(self) -> java.lang.String: ... + def getAreaType(self) -> java.lang.String: ... + def getAvailableDrainHeadM(self) -> float: ... + def getCredibleLeakFractionOfLiquidFlow(self) -> float: ... + def getDrainBackpressureBarg(self) -> float: ... + def getDrainDischargeCoefficient(self) -> float: ... + def getDrainPipeDiameterM(self) -> float: ... + def getDrainSystemType(self) -> java.lang.String: ... + def getFireWaterApplicationRateLPerMinM2(self) -> float: ... + def getFireWaterAreaM2(self) -> float: ... + def getFireWaterDensityKgPerM3(self) -> float: ... + def getMaximumCredibleLiquidLeakRateKgPerS(self) -> float: ... + def getSourceReference(self) -> java.lang.String: ... + def getStandards(self) -> java.lang.String: ... + def hasOpenDrainMeasures(self) -> bool: ... + def isBackflowPrevented(self) -> bool: ... + def isClosedOpenDrainInteractionPrevented(self) -> bool: ... + def isHazardousNonHazardousPhysicallySeparated(self) -> bool: ... + def isOpenDrainDependsOnUtility(self) -> bool: ... + def isSealDesignedForMaxBackpressure(self) -> bool: ... + def isVentTerminatedSafe(self) -> bool: ... + def setAreaId(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setAreaType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setAvailableDrainHeadM(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setBackflowPrevented(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setClosedOpenDrainInteractionPrevented(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setCredibleLeakFractionOfLiquidFlow(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setDrainBackpressureBarg(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setDrainDischargeCoefficient(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setDrainPipeDiameterM(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setDrainSystemType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setFireWaterApplicationRateLPerMinM2(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setFireWaterAreaM2(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setFireWaterDensityKgPerM3(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setHasOpenDrainMeasures(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setHazardousNonHazardousPhysicallySeparated(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setMaximumCredibleLiquidLeakRateKgPerS(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setOpenDrainDependsOnUtility(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setSealDesignedForMaxBackpressure(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setStandards(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setVentTerminatedSafe(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + +class OpenDrainReviewDataSource: + def read(self) -> 'OpenDrainReviewInput': ... + +class OpenDrainReviewEngine: + NORSOK_S001: typing.ClassVar[java.lang.String] = ... + CLAUSE_9_4_1: typing.ClassVar[java.lang.String] = ... + CLAUSE_9_4_2: typing.ClassVar[java.lang.String] = ... + CLAUSE_9_4_3: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def evaluate(self, openDrainReviewInput: 'OpenDrainReviewInput') -> 'OpenDrainReviewReport': ... + def evaluateItem(self, openDrainReviewItem: 'OpenDrainReviewItem', double: float) -> 'OpenDrainReviewResult': ... + +class OpenDrainReviewInput(java.io.Serializable): + def __init__(self): ... + def addItem(self, openDrainReviewItem: 'OpenDrainReviewItem') -> 'OpenDrainReviewInput': ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewInput': ... + @staticmethod + def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'OpenDrainReviewInput': ... + def getDefaultLiquidLeakRateKgPerS(self) -> float: ... + def getItems(self) -> java.util.List['OpenDrainReviewItem']: ... + def getProjectName(self) -> java.lang.String: ... + def mergeFrom(self, openDrainReviewInput: 'OpenDrainReviewInput') -> None: ... + def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'OpenDrainReviewInput': ... + def setDefaultLiquidLeakRateKgPerS(self, double: float) -> 'OpenDrainReviewInput': ... + def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewInput': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class OpenDrainReviewItem(java.io.Serializable): + def __init__(self): ... + def addSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... + @staticmethod + def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'OpenDrainReviewItem': ... + def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getAreaId(self) -> java.lang.String: ... + def getAreaType(self) -> java.lang.String: ... + def getBoolean(self, boolean: bool, *string: typing.Union[java.lang.String, str]) -> bool: ... + def getBooleanObject(self, *string: typing.Union[java.lang.String, str]) -> bool: ... + def getDouble(self, double: float, *string: typing.Union[java.lang.String, str]) -> float: ... + def getDrainSystemType(self) -> java.lang.String: ... + def getSourceReferences(self) -> java.util.List[java.lang.String]: ... + def getString(self, string: typing.Union[java.lang.String, str], *string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getStringList(self, *string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getValues(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasAny(self, *string: typing.Union[java.lang.String, str]) -> bool: ... + def mergeFrom(self, openDrainReviewItem: 'OpenDrainReviewItem') -> None: ... + def put(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'OpenDrainReviewItem': ... + def setAreaId(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... + def setAreaType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... + def setDrainSystemType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class OpenDrainReviewReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addResult(self, openDrainReviewResult: 'OpenDrainReviewResult') -> None: ... + def finalizeVerdict(self) -> None: ... + def getOverallVerdict(self) -> java.lang.String: ... + def getResults(self) -> java.util.List['OpenDrainReviewResult']: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class OpenDrainReviewResult(java.io.Serializable): + def __init__(self, openDrainReviewItem: OpenDrainReviewItem): ... + def addAssessment(self, openDrainAssessment: OpenDrainAssessment) -> None: ... + def finalizeVerdict(self) -> None: ... + def getAssessments(self) -> java.util.List[OpenDrainAssessment]: ... + def getConfidence(self) -> float: ... + def getItem(self) -> OpenDrainReviewItem: ... + def getVerdict(self) -> java.lang.String: ... + def setConfidence(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class StidOpenDrainDataSource(OpenDrainReviewDataSource): + @typing.overload + def __init__(self, jsonObject: com.google.gson.JsonObject): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'StidOpenDrainDataSource': ... + def read(self) -> OpenDrainReviewInput: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.opendrain")``. + + OpenDrainAssessment: typing.Type[OpenDrainAssessment] + OpenDrainProcessEvidenceCalculator: typing.Type[OpenDrainProcessEvidenceCalculator] + OpenDrainReviewDataSource: typing.Type[OpenDrainReviewDataSource] + OpenDrainReviewEngine: typing.Type[OpenDrainReviewEngine] + OpenDrainReviewInput: typing.Type[OpenDrainReviewInput] + OpenDrainReviewItem: typing.Type[OpenDrainReviewItem] + OpenDrainReviewReport: typing.Type[OpenDrainReviewReport] + OpenDrainReviewResult: typing.Type[OpenDrainReviewResult] + StidOpenDrainDataSource: typing.Type[StidOpenDrainDataSource] diff --git a/src/jneqsim/process/safety/processsafetysystem/__init__.pyi b/src/jneqsim/process/safety/processsafetysystem/__init__.pyi new file mode 100644 index 00000000..8761d451 --- /dev/null +++ b/src/jneqsim/process/safety/processsafetysystem/__init__.pyi @@ -0,0 +1,178 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import typing + + + +class ProcessSafetySystemAssessment(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], status: 'ProcessSafetySystemAssessment.Status', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def addDetail(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessSafetySystemAssessment': ... + @staticmethod + def fail(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], string5: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemAssessment': ... + def getRequirementId(self) -> java.lang.String: ... + def getStatus(self) -> 'ProcessSafetySystemAssessment.Status': ... + @staticmethod + def info(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]) -> 'ProcessSafetySystemAssessment': ... + def isFailing(self) -> bool: ... + def isWarning(self) -> bool: ... + @staticmethod + def notApplicable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemAssessment': ... + @staticmethod + def pass_(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]) -> 'ProcessSafetySystemAssessment': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + @staticmethod + def warning(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], string5: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemAssessment': ... + class Status(java.lang.Enum['ProcessSafetySystemAssessment.Status']): + PASS: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... + WARNING: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... + FAIL: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... + INFO: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... + NOT_APPLICABLE: typing.ClassVar['ProcessSafetySystemAssessment.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]) -> 'ProcessSafetySystemAssessment.Status': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessSafetySystemAssessment.Status']: ... + +class ProcessSafetySystemReviewEngine: + NORSOK_S001: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_1: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_3: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_1: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_2: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_3: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_4: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_5: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_6: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_7: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_8: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_9: typing.ClassVar[java.lang.String] = ... + CLAUSE_10_4_10: typing.ClassVar[java.lang.String] = ... + CLAUSE_LIFECYCLE: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def evaluate(self, processSafetySystemReviewInput: 'ProcessSafetySystemReviewInput') -> 'ProcessSafetySystemReviewReport': ... + def evaluateItem(self, processSafetySystemReviewItem: 'ProcessSafetySystemReviewItem') -> 'ProcessSafetySystemReviewResult': ... + +class ProcessSafetySystemReviewInput(java.io.Serializable): + def __init__(self): ... + def addItem(self, processSafetySystemReviewItem: 'ProcessSafetySystemReviewItem') -> 'ProcessSafetySystemReviewInput': ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewInput': ... + @staticmethod + def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'ProcessSafetySystemReviewInput': ... + def getItems(self) -> java.util.List['ProcessSafetySystemReviewItem']: ... + def getProjectName(self) -> java.lang.String: ... + def mergeFrom(self, processSafetySystemReviewInput: 'ProcessSafetySystemReviewInput') -> None: ... + def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessSafetySystemReviewInput': ... + def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewInput': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ProcessSafetySystemReviewItem(java.io.Serializable): + def __init__(self): ... + def addSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... + @staticmethod + def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'ProcessSafetySystemReviewItem': ... + def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getBoolean(self, boolean: bool, *string: typing.Union[java.lang.String, str]) -> bool: ... + def getBooleanObject(self, *string: typing.Union[java.lang.String, str]) -> bool: ... + def getDouble(self, double: float, *string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentTag(self) -> java.lang.String: ... + def getFunctionId(self) -> java.lang.String: ... + def getFunctionType(self) -> java.lang.String: ... + def getSourceReferences(self) -> java.util.List[java.lang.String]: ... + def getString(self, string: typing.Union[java.lang.String, str], *string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getValues(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasAny(self, *string: typing.Union[java.lang.String, str]) -> bool: ... + def mergeFrom(self, processSafetySystemReviewItem: 'ProcessSafetySystemReviewItem') -> None: ... + def put(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessSafetySystemReviewItem': ... + def setEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... + def setFunctionId(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... + def setFunctionType(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ProcessSafetySystemReviewReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addResult(self, processSafetySystemReviewResult: 'ProcessSafetySystemReviewResult') -> None: ... + def finalizeVerdict(self) -> None: ... + def getOverallVerdict(self) -> java.lang.String: ... + def getResults(self) -> java.util.List['ProcessSafetySystemReviewResult']: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ProcessSafetySystemReviewResult(java.io.Serializable): + def __init__(self, processSafetySystemReviewItem: ProcessSafetySystemReviewItem): ... + def addAssessment(self, processSafetySystemAssessment: ProcessSafetySystemAssessment) -> None: ... + def finalizeVerdict(self) -> None: ... + def getAssessments(self) -> java.util.List[ProcessSafetySystemAssessment]: ... + def getItem(self) -> ProcessSafetySystemReviewItem: ... + def getVerdict(self) -> java.lang.String: ... + def setConfidence(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class S001SecondaryPressureProtectionCriteria(java.io.Serializable): + def __init__(self): ... + def evaluate(self) -> 'S001SecondaryPressureProtectionResult': ... + @staticmethod + def fromItem(processSafetySystemReviewItem: ProcessSafetySystemReviewItem) -> 'S001SecondaryPressureProtectionCriteria': ... + @staticmethod + def getDefaultTargetFrequencyPerYear(double: float, double2: float, double3: float) -> float: ... + def hasPressureBasis(self) -> bool: ... + def isEmpty(self) -> bool: ... + def setDemandFrequencyPerYear(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + def setDesignPressureBara(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + def setMaximumEventPressureBara(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + def setProofTestIntervalMonths(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + def setReliefLeakageAssessed(self, boolean: bool) -> 'S001SecondaryPressureProtectionCriteria': ... + def setReliefLeakageToSafeLocation(self, boolean: bool) -> 'S001SecondaryPressureProtectionCriteria': ... + def setTargetFrequencyPerYear(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + def setTestPressureBara(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + +class S001SecondaryPressureProtectionResult(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool, boolean5: bool, boolean6: bool, boolean7: bool, boolean8: bool, boolean9: bool, boolean10: bool): ... + def isAcceptable(self) -> bool: ... + def isFrequencyConfigured(self) -> bool: ... + def isFrequencyCriterionMet(self) -> bool: ... + def isLeakageBasisAcceptable(self) -> bool: ... + def isPressureBasisComplete(self) -> bool: ... + def isPressureWithinTestPressure(self) -> bool: ... + def isProofTestCriterionMet(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class StidProcessSafetySystemDataSource: + REVIEW_ARRAY_KEYS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + @typing.overload + def __init__(self, jsonObject: com.google.gson.JsonObject): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def inferFunctionType(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def read(self) -> ProcessSafetySystemReviewInput: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.processsafetysystem")``. + + ProcessSafetySystemAssessment: typing.Type[ProcessSafetySystemAssessment] + ProcessSafetySystemReviewEngine: typing.Type[ProcessSafetySystemReviewEngine] + ProcessSafetySystemReviewInput: typing.Type[ProcessSafetySystemReviewInput] + ProcessSafetySystemReviewItem: typing.Type[ProcessSafetySystemReviewItem] + ProcessSafetySystemReviewReport: typing.Type[ProcessSafetySystemReviewReport] + ProcessSafetySystemReviewResult: typing.Type[ProcessSafetySystemReviewResult] + S001SecondaryPressureProtectionCriteria: typing.Type[S001SecondaryPressureProtectionCriteria] + S001SecondaryPressureProtectionResult: typing.Type[S001SecondaryPressureProtectionResult] + StidProcessSafetySystemDataSource: typing.Type[StidProcessSafetySystemDataSource] diff --git a/src/jneqsim/process/safety/qra/__init__.pyi b/src/jneqsim/process/safety/qra/__init__.pyi new file mode 100644 index 00000000..23e9d8ea --- /dev/null +++ b/src/jneqsim/process/safety/qra/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.safety.dispersion +import jneqsim.process.safety.fire +import jneqsim.process.safety.risk.eta +import typing + + + +class ConsequenceAnalysisEngine(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + def addJetFire(self, double: float, jetFireModel: jneqsim.process.safety.fire.JetFireModel, probitModel: jneqsim.process.safety.dispersion.ProbitModel, double2: float) -> 'ConsequenceAnalysisEngine': ... + def addOutcome(self, string: typing.Union[java.lang.String, str], double: float, consequence: typing.Union['ConsequenceAnalysisEngine.Consequence', typing.Callable]) -> 'ConsequenceAnalysisEngine': ... + def addPoolFire(self, double: float, poolFireModel: jneqsim.process.safety.fire.PoolFireModel, probitModel: jneqsim.process.safety.dispersion.ProbitModel, double2: float) -> 'ConsequenceAnalysisEngine': ... + def addToxicDispersion(self, double: float, gaussianPlume: jneqsim.process.safety.dispersion.GaussianPlume, probitModel: jneqsim.process.safety.dispersion.ProbitModel, double2: float, double3: float, double4: float, double5: float) -> 'ConsequenceAnalysisEngine': ... + def addVCE(self, double: float, vCEModel: jneqsim.process.safety.fire.VCEModel, probitModel: jneqsim.process.safety.dispersion.ProbitModel) -> 'ConsequenceAnalysisEngine': ... + def evaluate(self, double: float) -> java.util.List['ConsequenceAnalysisEngine.OutcomeResult']: ... + def individualFatalityRiskPerYear(self, double: float) -> float: ... + def report(self, double: float) -> java.lang.String: ... + def toEventTree(self) -> jneqsim.process.safety.risk.eta.EventTreeAnalyzer: ... + class Consequence(java.io.Serializable): + def fatalityProbabilityAt(self, double: float) -> float: ... + class OutcomeResult(java.io.Serializable): + outcomeName: java.lang.String = ... + outcomeFrequencyPerYear: float = ... + fatalityProbability: float = ... + fatalityFrequencyPerYear: float = ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.qra")``. + + ConsequenceAnalysisEngine: typing.Type[ConsequenceAnalysisEngine] diff --git a/src/jneqsim/process/safety/release/__init__.pyi b/src/jneqsim/process/safety/release/__init__.pyi new file mode 100644 index 00000000..8bd5e0d2 --- /dev/null +++ b/src/jneqsim/process/safety/release/__init__.pyi @@ -0,0 +1,95 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.thermo.system +import typing + + + +class LeakModel(java.io.Serializable): + @staticmethod + def builder() -> 'LeakModel.Builder': ... + def calculateDropletSMD(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateJetMomentum(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateJetVelocity(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @typing.overload + def calculateSourceTerm(self, double: float) -> 'SourceTermResult': ... + @typing.overload + def calculateSourceTerm(self, double: float, double2: float) -> 'SourceTermResult': ... + class Builder: + def __init__(self): ... + @typing.overload + def backPressure(self, double: float) -> 'LeakModel.Builder': ... + @typing.overload + def backPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... + def build(self) -> 'LeakModel': ... + def dischargeCoefficient(self, double: float) -> 'LeakModel.Builder': ... + def fluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'LeakModel.Builder': ... + @typing.overload + def holeDiameter(self, double: float) -> 'LeakModel.Builder': ... + @typing.overload + def holeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... + def orientation(self, releaseOrientation: 'ReleaseOrientation') -> 'LeakModel.Builder': ... + def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... + def vesselVolume(self, double: float) -> 'LeakModel.Builder': ... + +class ReleaseOrientation(java.lang.Enum['ReleaseOrientation']): + HORIZONTAL: typing.ClassVar['ReleaseOrientation'] = ... + VERTICAL_UP: typing.ClassVar['ReleaseOrientation'] = ... + VERTICAL_DOWN: typing.ClassVar['ReleaseOrientation'] = ... + ANGLED_UP_45: typing.ClassVar['ReleaseOrientation'] = ... + ANGLED_DOWN_45: typing.ClassVar['ReleaseOrientation'] = ... + def getAngle(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def isHorizontal(self) -> bool: ... + def isVertical(self) -> bool: ... + def toString(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]) -> 'ReleaseOrientation': ... + @staticmethod + def values() -> typing.MutableSequence['ReleaseOrientation']: ... + +class SourceTermResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, releaseOrientation: ReleaseOrientation, int: int): ... + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToFLACS(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToKFX(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToOpenFOAM(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToPHAST(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getHoleDiameter(self) -> float: ... + def getJetMomentum(self) -> typing.MutableSequence[float]: ... + def getJetVelocity(self) -> typing.MutableSequence[float]: ... + def getLiquidDropletSMD(self) -> typing.MutableSequence[float]: ... + def getMassFlowRate(self) -> typing.MutableSequence[float]: ... + def getNumberOfPoints(self) -> int: ... + def getOrientation(self) -> ReleaseOrientation: ... + def getPeakMassFlowRate(self) -> float: ... + def getPressure(self) -> typing.MutableSequence[float]: ... + def getScenarioName(self) -> java.lang.String: ... + def getTemperature(self) -> typing.MutableSequence[float]: ... + def getTime(self) -> typing.MutableSequence[float]: ... + def getTimeToEmpty(self) -> float: ... + def getTotalMassReleased(self) -> float: ... + def getVaporMassFraction(self) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.release")``. + + LeakModel: typing.Type[LeakModel] + ReleaseOrientation: typing.Type[ReleaseOrientation] + SourceTermResult: typing.Type[SourceTermResult] diff --git a/src/jneqsim/process/safety/risk/__init__.pyi b/src/jneqsim/process/safety/risk/__init__.pyi new file mode 100644 index 00000000..f950dfe3 --- /dev/null +++ b/src/jneqsim/process/safety/risk/__init__.pyi @@ -0,0 +1,338 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.failure +import jneqsim.process.processmodel +import jneqsim.process.safety +import jneqsim.process.safety.risk.bowtie +import jneqsim.process.safety.risk.condition +import jneqsim.process.safety.risk.data +import jneqsim.process.safety.risk.dynamic +import jneqsim.process.safety.risk.eta +import jneqsim.process.safety.risk.examples +import jneqsim.process.safety.risk.fta +import jneqsim.process.safety.risk.ml +import jneqsim.process.safety.risk.portfolio +import jneqsim.process.safety.risk.realtime +import jneqsim.process.safety.risk.sis +import typing + + + +class OperationalRiskResult(java.io.Serializable): + def __init__(self): ... + def addEquipmentAvailability(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def calculateStatistics(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def getAvailability(self) -> float: ... + def getBaselineProductionRate(self) -> float: ... + def getCoefficientOfVariation(self) -> float: ... + def getEquipmentAvailability(self) -> java.util.Map[java.lang.String, float]: ... + def getExpectedProductionLoss(self) -> float: ... + def getIterations(self) -> int: ... + def getMaxAvailability(self) -> float: ... + def getMaxDowntimeHours(self) -> float: ... + def getMaxPossibleProduction(self) -> float: ... + def getMaxProduction(self) -> float: ... + def getMeanAvailability(self) -> float: ... + def getMeanDowntimeHours(self) -> float: ... + def getMeanFailureCount(self) -> float: ... + def getMeanProduction(self) -> float: ... + def getMinAvailability(self) -> float: ... + def getMinProduction(self) -> float: ... + def getP10Production(self) -> float: ... + def getP50Production(self) -> float: ... + def getP90Production(self) -> float: ... + def getProductionEfficiency(self) -> float: ... + def getStdDevProduction(self) -> float: ... + def getTimeHorizonDays(self) -> float: ... + def setBaselineProductionRate(self, double: float) -> None: ... + def setIterations(self, int: int) -> None: ... + def setMaxPossibleProduction(self, double: float) -> None: ... + def setTimeHorizonDays(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + +class OperationalRiskSimulator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addEquipmentMtbf(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'OperationalRiskSimulator': ... + def addEquipmentReliability(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'OperationalRiskSimulator': ... + def generateForecast(self, int: int, int2: int) -> 'OperationalRiskSimulator.ProductionForecast': ... + def getEquipmentReliability(self) -> java.util.Map[java.lang.String, 'OperationalRiskSimulator.EquipmentReliability']: ... + def runSimulation(self, int: int, double: float) -> OperationalRiskResult: ... + def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'OperationalRiskSimulator': ... + def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'OperationalRiskSimulator': ... + def setRandomSeed(self, long: int) -> 'OperationalRiskSimulator': ... + class EquipmentReliability(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def getAvailability(self) -> float: ... + def getDefaultFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFailureRate(self) -> float: ... + def getMtbf(self) -> float: ... + def getMttr(self) -> float: ... + def setDefaultFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + class ForecastPoint(java.io.Serializable): + day: int = ... + mean: float = ... + p10: float = ... + p50: float = ... + p90: float = ... + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float): ... + class ProductionForecast(java.io.Serializable): + def __init__(self, int: int): ... + def addDataPoint(self, int: int, double: float, double2: float, double3: float, double4: float) -> None: ... + def getDays(self) -> int: ... + def getPoint(self, int: int) -> 'OperationalRiskSimulator.ForecastPoint': ... + def getPoints(self) -> java.util.List['OperationalRiskSimulator.ForecastPoint']: ... + +class RiskEvent: + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], initiatingEvent: jneqsim.process.safety.InitiatingEvent): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], initiatingEvent: jneqsim.process.safety.InitiatingEvent): ... + @staticmethod + def builder() -> 'RiskEvent.Builder': ... + def getAbsoluteFrequency(self) -> float: ... + def getConditionalProbability(self) -> float: ... + def getConsequenceCategory(self) -> 'RiskEvent.ConsequenceCategory': ... + def getDescription(self) -> java.lang.String: ... + def getFrequency(self) -> float: ... + def getInitiatingEvent(self) -> jneqsim.process.safety.InitiatingEvent: ... + def getName(self) -> java.lang.String: ... + def getParentEvent(self) -> 'RiskEvent': ... + def getRiskIndex(self) -> float: ... + def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... + def isInitiatingEvent(self) -> bool: ... + def setConditionalProbability(self, double: float) -> None: ... + def setConsequenceCategory(self, consequenceCategory: 'RiskEvent.ConsequenceCategory') -> None: ... + def setFrequency(self, double: float) -> None: ... + def setParentEvent(self, riskEvent: 'RiskEvent') -> None: ... + def setScenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> None: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'RiskEvent': ... + def conditionalProbability(self, double: float) -> 'RiskEvent.Builder': ... + def consequenceCategory(self, consequenceCategory: 'RiskEvent.ConsequenceCategory') -> 'RiskEvent.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'RiskEvent.Builder': ... + def frequency(self, double: float) -> 'RiskEvent.Builder': ... + def initiatingEvent(self, initiatingEvent: jneqsim.process.safety.InitiatingEvent) -> 'RiskEvent.Builder': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'RiskEvent.Builder': ... + def parentEvent(self, riskEvent: 'RiskEvent') -> 'RiskEvent.Builder': ... + def scenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> 'RiskEvent.Builder': ... + class ConsequenceCategory(java.lang.Enum['RiskEvent.ConsequenceCategory']): + NEGLIGIBLE: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... + MINOR: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... + MODERATE: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... + MAJOR: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... + CATASTROPHIC: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... + def getSeverity(self) -> int: ... + _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]) -> 'RiskEvent.ConsequenceCategory': ... + @staticmethod + def values() -> typing.MutableSequence['RiskEvent.ConsequenceCategory']: ... + +class RiskMatrix(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addEquipmentRisk(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'RiskMatrix': ... + def analyzeEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def buildRiskMatrix(self) -> None: ... + def getEquipmentByRiskLevel(self, riskLevel: 'RiskMatrix.RiskLevel') -> java.util.List[java.lang.String]: ... + def getMatrixData(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getRiskAssessment(self, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix.RiskAssessment': ... + def getRiskAssessments(self) -> java.util.Map[java.lang.String, 'RiskMatrix.RiskAssessment']: ... + def getRiskAssessmentsSortedByCost(self) -> java.util.List['RiskMatrix.RiskAssessment']: ... + def getRiskAssessmentsSortedByRisk(self) -> java.util.List['RiskMatrix.RiskAssessment']: ... + def getTotalAnnualRiskCost(self) -> float: ... + def setDowntimeCostPerHour(self, double: float) -> 'RiskMatrix': ... + def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix': ... + def setOperatingHoursPerYear(self, double: float) -> 'RiskMatrix': ... + def setProductPrice(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix': ... + def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class ConsequenceCategory(java.lang.Enum['RiskMatrix.ConsequenceCategory']): + NEGLIGIBLE: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... + MINOR: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... + MODERATE: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... + MAJOR: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... + CATASTROPHIC: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... + @staticmethod + def fromProductionLoss(double: float) -> 'RiskMatrix.ConsequenceCategory': ... + def getLevel(self) -> int: ... + def getName(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]) -> 'RiskMatrix.ConsequenceCategory': ... + @staticmethod + def values() -> typing.MutableSequence['RiskMatrix.ConsequenceCategory']: ... + class ProbabilityCategory(java.lang.Enum['RiskMatrix.ProbabilityCategory']): + VERY_LOW: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... + LOW: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... + MEDIUM: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... + HIGH: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... + VERY_HIGH: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... + @staticmethod + def fromFrequency(double: float) -> 'RiskMatrix.ProbabilityCategory': ... + def getLevel(self) -> int: ... + def getName(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]) -> 'RiskMatrix.ProbabilityCategory': ... + @staticmethod + def values() -> typing.MutableSequence['RiskMatrix.ProbabilityCategory']: ... + class RiskAssessment(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAnnualRiskCost(self) -> float: ... + def getConsequenceCategory(self) -> 'RiskMatrix.ConsequenceCategory': ... + def getCostPerFailure(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getExpectedDowntimeHoursYear(self) -> float: ... + def getFailuresPerYear(self) -> float: ... + def getMtbf(self) -> float: ... + def getMttr(self) -> float: ... + def getProbabilityCategory(self) -> 'RiskMatrix.ProbabilityCategory': ... + def getProductionLossKgHr(self) -> float: ... + def getProductionLossPercent(self) -> float: ... + def getRiskLevel(self) -> 'RiskMatrix.RiskLevel': ... + def getRiskScore(self) -> int: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class RiskLevel(java.lang.Enum['RiskMatrix.RiskLevel']): + LOW: typing.ClassVar['RiskMatrix.RiskLevel'] = ... + MEDIUM: typing.ClassVar['RiskMatrix.RiskLevel'] = ... + HIGH: typing.ClassVar['RiskMatrix.RiskLevel'] = ... + CRITICAL: typing.ClassVar['RiskMatrix.RiskLevel'] = ... + @staticmethod + def fromScore(int: int) -> 'RiskMatrix.RiskLevel': ... + def getColor(self) -> java.lang.String: ... + def getName(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]) -> 'RiskMatrix.RiskLevel': ... + @staticmethod + def values() -> typing.MutableSequence['RiskMatrix.RiskLevel']: ... + +class RiskModel: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addConditionalEvent(self, string: typing.Union[java.lang.String, str], riskEvent: RiskEvent, double: float, consequenceCategory: RiskEvent.ConsequenceCategory) -> RiskEvent: ... + def addEvent(self, riskEvent: RiskEvent) -> None: ... + def addInitiatingEvent(self, string: typing.Union[java.lang.String, str], double: float, consequenceCategory: RiskEvent.ConsequenceCategory) -> RiskEvent: ... + @staticmethod + def builder() -> 'RiskModel.Builder': ... + def getEvents(self) -> java.util.List[RiskEvent]: ... + def getInitiatingEvents(self) -> java.util.List[RiskEvent]: ... + def getName(self) -> java.lang.String: ... + def runDeterministicAnalysis(self) -> 'RiskResult': ... + def runMonteCarloAnalysis(self, int: int) -> 'RiskResult': ... + @typing.overload + def runSensitivityAnalysis(self, double: float, double2: float) -> 'SensitivityResult': ... + @typing.overload + def runSensitivityAnalysis(self, double: float, double2: float, int: int) -> 'SensitivityResult': ... + def runSimulationBasedAnalysis(self) -> 'RiskResult': ... + def setFrequencyUncertaintyFactor(self, double: float) -> None: ... + def setProbabilityUncertaintyStdDev(self, double: float) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setRandomSeed(self, long: int) -> None: ... + def setStoreMonteCarloSamples(self, boolean: bool) -> None: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'RiskModel': ... + def frequencyUncertaintyFactor(self, double: float) -> 'RiskModel.Builder': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'RiskModel.Builder': ... + def processSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'RiskModel.Builder': ... + def seed(self, long: int) -> 'RiskModel.Builder': ... + +class RiskResult: + def __init__(self, string: typing.Union[java.lang.String, str], int: int, long: int): ... + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getAnalysisName(self) -> java.lang.String: ... + def getCategoryFrequency(self, consequenceCategory: RiskEvent.ConsequenceCategory) -> float: ... + def getEventResults(self) -> java.util.List['RiskResult.EventResult']: ... + def getFNCurveData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getIterations(self) -> int: ... + def getMaxConsequence(self) -> float: ... + def getMeanConsequence(self) -> float: ... + def getPercentile95(self) -> float: ... + def getPercentile99(self) -> float: ... + def getSamples(self) -> typing.MutableSequence[float]: ... + def getSeed(self) -> int: ... + def getSummary(self) -> java.lang.String: ... + def getTotalFrequency(self) -> float: ... + def getTotalRiskIndex(self) -> float: ... + def toString(self) -> java.lang.String: ... + class EventResult: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, consequenceCategory: RiskEvent.ConsequenceCategory): ... + def getCategory(self) -> RiskEvent.ConsequenceCategory: ... + def getEventName(self) -> java.lang.String: ... + def getFrequency(self) -> float: ... + def getProbability(self) -> float: ... + def getRiskContribution(self) -> float: ... + +class SensitivityResult: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getAnalysisName(self) -> java.lang.String: ... + def getBaseCase(self) -> java.lang.String: ... + def getBaseFrequency(self) -> float: ... + def getBaseRiskIndex(self) -> float: ... + def getMostSensitiveParameter(self) -> java.lang.String: ... + def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getParameterSensitivity(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSensitivityIndex(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTornadoData(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk")``. + + OperationalRiskResult: typing.Type[OperationalRiskResult] + OperationalRiskSimulator: typing.Type[OperationalRiskSimulator] + RiskEvent: typing.Type[RiskEvent] + RiskMatrix: typing.Type[RiskMatrix] + RiskModel: typing.Type[RiskModel] + RiskResult: typing.Type[RiskResult] + SensitivityResult: typing.Type[SensitivityResult] + bowtie: jneqsim.process.safety.risk.bowtie.__module_protocol__ + condition: jneqsim.process.safety.risk.condition.__module_protocol__ + data: jneqsim.process.safety.risk.data.__module_protocol__ + dynamic: jneqsim.process.safety.risk.dynamic.__module_protocol__ + eta: jneqsim.process.safety.risk.eta.__module_protocol__ + examples: jneqsim.process.safety.risk.examples.__module_protocol__ + fta: jneqsim.process.safety.risk.fta.__module_protocol__ + ml: jneqsim.process.safety.risk.ml.__module_protocol__ + portfolio: jneqsim.process.safety.risk.portfolio.__module_protocol__ + realtime: jneqsim.process.safety.risk.realtime.__module_protocol__ + sis: jneqsim.process.safety.risk.sis.__module_protocol__ diff --git a/src/jneqsim/process/safety/risk/bowtie/__init__.pyi b/src/jneqsim/process/safety/risk/bowtie/__init__.pyi new file mode 100644 index 00000000..dceb4bbe --- /dev/null +++ b/src/jneqsim/process/safety/risk/bowtie/__init__.pyi @@ -0,0 +1,167 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import jneqsim.process.safety.risk.sis +import typing + + + +class BowTieAnalyzer(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addAvailableSIF(self, safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction) -> None: ... + def autoGenerateFromProcess(self) -> java.util.List['BowTieModel']: ... + def calculateRisk(self) -> None: ... + def createBowTie(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'BowTieModel': ... + def generateReport(self) -> java.lang.String: ... + def getBowTie(self, string: typing.Union[java.lang.String, str]) -> 'BowTieModel': ... + def getBowTieModels(self) -> java.util.List['BowTieModel']: ... + def getName(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class ConsequenceTemplate(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], consequenceCategory: 'BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory', int: int): ... + def addRecommendedMitigation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getCategory(self) -> 'BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory': ... + def getDefaultSeverity(self) -> int: ... + def getDescription(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getRecommendedMitigations(self) -> java.util.List[java.lang.String]: ... + class ConsequenceCategory(java.lang.Enum['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory']): + SAFETY: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... + ENVIRONMENTAL: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... + ASSET: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... + PRODUCTION: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... + REPUTATION: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... + _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]) -> 'BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory': ... + @staticmethod + def values() -> typing.MutableSequence['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory']: ... + class ThreatTemplate(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float): ... + def addApplicableEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addRecommendedBarrier(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getApplicableEquipment(self) -> java.util.List[java.lang.String]: ... + def getBaseFrequency(self) -> float: ... + def getCategory(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getRecommendedBarriers(self) -> java.util.List[java.lang.String]: ... + +class BowTieModel(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def addBarrier(self, barrier: 'BowTieModel.Barrier') -> None: ... + def addConsequence(self, consequence: 'BowTieModel.Consequence') -> None: ... + def addThreat(self, threat: 'BowTieModel.Threat') -> None: ... + def calculateRisk(self) -> None: ... + def getBarriers(self) -> java.util.List['BowTieModel.Barrier']: ... + def getConsequences(self) -> java.util.List['BowTieModel.Consequence']: ... + def getHazardDescription(self) -> java.lang.String: ... + def getHazardId(self) -> java.lang.String: ... + def getHazardType(self) -> java.lang.String: ... + def getMaxSeverity(self) -> int: ... + def getMitigatedFrequency(self) -> float: ... + def getMitigationBarriers(self) -> java.util.List['BowTieModel.Barrier']: ... + def getPreventionBarriers(self) -> java.util.List['BowTieModel.Barrier']: ... + def getThreats(self) -> java.util.List['BowTieModel.Threat']: ... + def getTotalRRF(self) -> float: ... + def getUnmitigatedFrequency(self) -> float: ... + def linkBarrierToConsequence(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def linkBarrierToThreat(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setHazardType(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]: ... + def toString(self) -> java.lang.String: ... + def toVisualization(self) -> java.lang.String: ... + class Barrier(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def getBarrierType(self) -> 'BowTieModel.BarrierType': ... + def getDescription(self) -> java.lang.String: ... + def getEffectiveness(self) -> float: ... + def getId(self) -> java.lang.String: ... + def getOwner(self) -> java.lang.String: ... + def getPfd(self) -> float: ... + def getRRF(self) -> float: ... + def getSif(self) -> jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction: ... + def getVerificationStatus(self) -> java.lang.String: ... + def isFunctional(self) -> bool: ... + def setBarrierType(self, barrierType: 'BowTieModel.BarrierType') -> None: ... + def setFunctional(self, boolean: bool) -> None: ... + def setOwner(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPfd(self, double: float) -> None: ... + def setSif(self, safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction) -> None: ... + def setVerificationStatus(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class BarrierType(java.lang.Enum['BowTieModel.BarrierType']): + PREVENTION: typing.ClassVar['BowTieModel.BarrierType'] = ... + MITIGATION: typing.ClassVar['BowTieModel.BarrierType'] = ... + BOTH: typing.ClassVar['BowTieModel.BarrierType'] = ... + _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]) -> 'BowTieModel.BarrierType': ... + @staticmethod + def values() -> typing.MutableSequence['BowTieModel.BarrierType']: ... + class Consequence(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int): ... + def getCategory(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getLinkedBarrierIds(self) -> java.util.List[java.lang.String]: ... + def getProbability(self) -> float: ... + def getSeverity(self) -> int: ... + def linkBarrier(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCategory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setProbability(self, double: float) -> None: ... + def setSeverity(self, int: int) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Threat(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def getDescription(self) -> java.lang.String: ... + def getFrequency(self) -> float: ... + def getId(self) -> java.lang.String: ... + def getLinkedBarrierIds(self) -> java.util.List[java.lang.String]: ... + def isActive(self) -> bool: ... + def linkBarrier(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setFrequency(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class BowTieSvgExporter(java.io.Serializable): + @typing.overload + def __init__(self, bowTieModel: BowTieModel): ... + @typing.overload + def __init__(self, bowTieModel: BowTieModel, int: int, int2: int): ... + def export(self) -> java.lang.String: ... + def exportToHtml(self) -> java.lang.String: ... + def getHeight(self) -> int: ... + def getWidth(self) -> int: ... + def setHeight(self, int: int) -> None: ... + def setWidth(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.bowtie")``. + + BowTieAnalyzer: typing.Type[BowTieAnalyzer] + BowTieModel: typing.Type[BowTieModel] + BowTieSvgExporter: typing.Type[BowTieSvgExporter] diff --git a/src/jneqsim/process/safety/risk/condition/__init__.pyi b/src/jneqsim/process/safety/risk/condition/__init__.pyi new file mode 100644 index 00000000..15f33253 --- /dev/null +++ b/src/jneqsim/process/safety/risk/condition/__init__.pyi @@ -0,0 +1,147 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.equipment +import typing + + + +class ConditionBasedReliability(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def addIndicator(self, conditionIndicator: 'ConditionBasedReliability.ConditionIndicator') -> None: ... + def addTemperatureIndicator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ConditionBasedReliability.ConditionIndicator': ... + def addVibrationIndicator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ConditionBasedReliability.ConditionIndicator': ... + def getAdjustedFailureRate(self) -> float: ... + def getAlarmingIndicators(self) -> java.util.List['ConditionBasedReliability.ConditionIndicator']: ... + def getBaseFailureRate(self) -> float: ... + def getCriticalIndicators(self) -> java.util.List['ConditionBasedReliability.ConditionIndicator']: ... + def getDegradationModel(self) -> 'ConditionBasedReliability.DegradationModel': ... + def getEquipmentId(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFailureRateMultiplier(self) -> float: ... + def getHealthIndex(self) -> float: ... + def getIndicators(self) -> java.util.List['ConditionBasedReliability.ConditionIndicator']: ... + def getLastUpdated(self) -> java.time.Instant: ... + def getMTTF(self) -> float: ... + def getProbabilityOfFailure(self, double: float) -> float: ... + def getRULConfidence(self) -> float: ... + def getRemainingUsefulLife(self) -> float: ... + def recalculateHealth(self) -> None: ... + def setBaseFailureRate(self, double: float) -> None: ... + def setDegradationModel(self, degradationModel: 'ConditionBasedReliability.DegradationModel') -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toReport(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + def updateIndicator(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def updateIndicators(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + class ConditionIndicator(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], indicatorType: 'ConditionBasedReliability.ConditionIndicator.IndicatorType'): ... + def getCriticalThreshold(self) -> float: ... + def getCurrentValue(self) -> float: ... + def getHealthContribution(self) -> float: ... + def getIndicatorId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getNormalValue(self) -> float: ... + def getType(self) -> 'ConditionBasedReliability.ConditionIndicator.IndicatorType': ... + def getWarningThreshold(self) -> float: ... + def getWeight(self) -> float: ... + def isAlarming(self) -> bool: ... + def isCritical(self) -> bool: ... + def setThresholds(self, double: float, double2: float, double3: float) -> None: ... + def setWeight(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def updateValue(self, double: float) -> None: ... + class IndicatorType(java.lang.Enum['ConditionBasedReliability.ConditionIndicator.IndicatorType']): + VIBRATION: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + TEMPERATURE: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + PRESSURE: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + FLOW: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + CURRENT: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + WEAR: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + CORROSION: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + EFFICIENCY: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + ACOUSTIC: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + OIL_ANALYSIS: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + CUSTOM: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... + _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]) -> 'ConditionBasedReliability.ConditionIndicator.IndicatorType': ... + @staticmethod + def values() -> typing.MutableSequence['ConditionBasedReliability.ConditionIndicator.IndicatorType']: ... + class DegradationModel(java.lang.Enum['ConditionBasedReliability.DegradationModel']): + LINEAR: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... + EXPONENTIAL: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... + WEIBULL: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... + MACHINE_LEARNING: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... + _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]) -> 'ConditionBasedReliability.DegradationModel': ... + @staticmethod + def values() -> typing.MutableSequence['ConditionBasedReliability.DegradationModel']: ... + class HealthRecord(java.io.Serializable): + def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float): ... + def getAdjustedFailureRate(self) -> float: ... + def getHealthIndex(self) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + +class ProcessEquipmentMonitor(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def getAdjustedFailureRate(self) -> float: ... + def getBaseFailureRate(self) -> float: ... + def getBottleneckConstraint(self) -> java.lang.String: ... + def getCurrentCapacityUtilization(self) -> float: ... + def getCurrentPressure(self) -> float: ... + def getCurrentTemperature(self) -> float: ... + def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFailureProbability(self, double: float) -> float: ... + def getHealthIndex(self) -> float: ... + def getHistory(self) -> java.util.List['ProcessEquipmentMonitor.MonitorReading']: ... + def getLastUpdated(self) -> java.time.Instant: ... + def getRemainingUsefulLife(self) -> float: ... + def setBaseFailureRate(self, double: float) -> None: ... + def setCurrentValues(self, double: float, double2: float, double3: float) -> None: ... + def setDesignPressureRange(self, double: float, double2: float) -> None: ... + def setDesignTemperatureRange(self, double: float, double2: float) -> None: ... + def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setMaxCapacityUtilization(self, double: float) -> None: ... + def setWeights(self, double: float, double2: float, double3: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def update(self) -> None: ... + class MonitorReading(java.io.Serializable): + def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float, double3: float, double4: float, double5: float): ... + def getAdjustedFailureRate(self) -> float: ... + def getCapacityUtilization(self) -> float: ... + def getHealthIndex(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.condition")``. + + ConditionBasedReliability: typing.Type[ConditionBasedReliability] + ProcessEquipmentMonitor: typing.Type[ProcessEquipmentMonitor] diff --git a/src/jneqsim/process/safety/risk/data/__init__.pyi b/src/jneqsim/process/safety/risk/data/__init__.pyi new file mode 100644 index 00000000..8b94af06 --- /dev/null +++ b/src/jneqsim/process/safety/risk/data/__init__.pyi @@ -0,0 +1,74 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import java.util +import jpype.protocol +import typing + + + +class OREDADataImporter(java.io.Serializable): + def __init__(self): ... + def addRecord(self, reliabilityRecord: 'OREDADataImporter.ReliabilityRecord') -> None: ... + def clear(self) -> None: ... + @staticmethod + def createForElectricalEquipment() -> 'OREDADataImporter': ... + @staticmethod + def createForOilAndGas() -> 'OREDADataImporter': ... + @staticmethod + def createWithAllPublicData() -> 'OREDADataImporter': ... + @staticmethod + def createWithDefaults() -> 'OREDADataImporter': ... + def getAllRecords(self) -> java.util.List['OREDADataImporter.ReliabilityRecord']: ... + def getDataSource(self) -> java.lang.String: ... + def getDataSourceForRecord(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getEquipmentClasses(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getEquipmentTypes(self) -> java.util.List[java.lang.String]: ... + def getFailureModes(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getFailureRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def getMTBF(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def getMTTR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getRecord(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'OREDADataImporter.ReliabilityRecord': ... + @typing.overload + def getRecord(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'OREDADataImporter.ReliabilityRecord': ... + def getRecordCount(self) -> int: ... + def getRecordsByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['OREDADataImporter.ReliabilityRecord']: ... + def loadAllPublicDataSources(self) -> None: ... + def loadFromCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def loadFromResource(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadGenericLiteratureData(self) -> None: ... + def loadIEEE493Data(self) -> None: ... + def loadIOGPData(self) -> None: ... + def search(self, string: typing.Union[java.lang.String, str]) -> java.util.List['OREDADataImporter.ReliabilityRecord']: ... + class ReliabilityRecord(java.io.Serializable): + def __init__(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, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + def getAvailability(self) -> float: ... + def getConfidence(self) -> java.lang.String: ... + def getDataSource(self) -> java.lang.String: ... + def getEquipmentClass(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFailureMode(self) -> java.lang.String: ... + def getFailureRate(self) -> float: ... + def getFailureRatePerYear(self) -> float: ... + def getKey(self) -> java.lang.String: ... + def getMtbfHours(self) -> float: ... + def getMttrHours(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.data")``. + + OREDADataImporter: typing.Type[OREDADataImporter] diff --git a/src/jneqsim/process/safety/risk/dynamic/__init__.pyi b/src/jneqsim/process/safety/risk/dynamic/__init__.pyi new file mode 100644 index 00000000..d89440e3 --- /dev/null +++ b/src/jneqsim/process/safety/risk/dynamic/__init__.pyi @@ -0,0 +1,145 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.equipment.failure +import jneqsim.process.processmodel +import jneqsim.process.safety.risk +import typing + + + +class DynamicRiskResult(jneqsim.process.safety.risk.OperationalRiskResult, java.io.Serializable): + def __init__(self): ... + @typing.overload + def calculateStatistics(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def calculateStatistics(self, 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], intArray: typing.Union[typing.List[int], jpype.JArray], intArray2: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def compareWithStatic(self, operationalRiskResult: jneqsim.process.safety.risk.OperationalRiskResult) -> java.util.Map[java.lang.String, typing.Any]: ... + def getMeanSteadyStateLoss(self) -> float: ... + def getMeanTransientCount(self) -> float: ... + def getMeanTransientLoss(self) -> float: ... + def getP10TransientLoss(self) -> float: ... + def getP50TransientLoss(self) -> float: ... + def getP90TransientLoss(self) -> float: ... + def getRampUpTimeHours(self) -> float: ... + def getTimestepHours(self) -> float: ... + def getTotalMeanLoss(self) -> float: ... + def getTotalTransientEvents(self) -> int: ... + def getTransientLossFraction(self) -> float: ... + def getTransientLossPercent(self) -> float: ... + def isSimulateTransients(self) -> bool: ... + def setRampUpTimeHours(self, double: float) -> None: ... + def setSimulateTransients(self, boolean: bool) -> None: ... + def setTimestepHours(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + +class DynamicRiskSimulator(jneqsim.process.safety.risk.OperationalRiskSimulator, java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def getProductionProfiles(self) -> java.util.List['ProductionProfile']: ... + def getRampUpTimeHours(self) -> float: ... + def getTimestepHours(self) -> float: ... + def getTransientStats(self) -> 'TransientLossStatistics': ... + def runDynamicSimulation(self, int: int, double: float) -> DynamicRiskResult: ... + def setRampUpProfile(self, rampProfile: 'DynamicRiskSimulator.RampProfile') -> 'DynamicRiskSimulator': ... + def setRampUpTimeHours(self, double: float) -> 'DynamicRiskSimulator': ... + def setShutdownProfile(self, rampProfile: 'DynamicRiskSimulator.RampProfile') -> 'DynamicRiskSimulator': ... + def setShutdownTimeHours(self, double: float) -> 'DynamicRiskSimulator': ... + def setSimulateTransients(self, boolean: bool) -> 'DynamicRiskSimulator': ... + def setTimestepHours(self, double: float) -> 'DynamicRiskSimulator': ... + def simulateFailureEvent(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, double: float) -> 'ProductionProfile': ... + class RampProfile(java.lang.Enum['DynamicRiskSimulator.RampProfile']): + LINEAR: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... + EXPONENTIAL: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... + S_CURVE: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... + STEP: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... + _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]) -> 'DynamicRiskSimulator.RampProfile': ... + @staticmethod + def values() -> typing.MutableSequence['DynamicRiskSimulator.RampProfile']: ... + +class ProductionProfile(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def calculateTotals(self) -> None: ... + def getBaselineProduction(self) -> float: ... + def getDegradedProduction(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFailureMode(self) -> java.lang.String: ... + def getProductionLossPercent(self) -> float: ... + def getRampUpDuration(self) -> float: ... + def getRampUpTransientLoss(self) -> float: ... + def getRepairDuration(self) -> float: ... + def getShutdownDuration(self) -> float: ... + def getShutdownTransientLoss(self) -> float: ... + def getSteadyStateDuration(self) -> float: ... + def getSteadyStateLoss(self) -> float: ... + def getTimeSeries(self) -> java.util.List['ProductionProfile.TimePoint']: ... + def getTotalLoss(self) -> float: ... + def getTotalProduction(self) -> float: ... + def getTotalTransientLoss(self) -> float: ... + def getTransientLossFraction(self) -> float: ... + def setBaselineProduction(self, double: float) -> None: ... + def setDegradedProduction(self, double: float) -> None: ... + def setFailureMode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRampUpDuration(self, double: float) -> None: ... + def setRampUpTransientLoss(self, double: float) -> None: ... + def setRepairDuration(self, double: float) -> None: ... + def setShutdownDuration(self, double: float) -> None: ... + def setShutdownTransientLoss(self, double: float) -> None: ... + def setSteadyStateDuration(self, double: float) -> None: ... + def setSteadyStateLoss(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class TimePoint(java.io.Serializable): + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def getPhase(self) -> java.lang.String: ... + def getProductionRate(self) -> float: ... + def getTime(self) -> float: ... + +class TransientLossStatistics(java.io.Serializable): + def __init__(self): ... + def addProfile(self, productionProfile: ProductionProfile) -> None: ... + def getMeanTransientLoss(self) -> float: ... + def getRampUpFraction(self) -> float: ... + def getShutdownFraction(self) -> float: ... + def getSteadyStateFraction(self) -> float: ... + def getTotalEventCount(self) -> int: ... + def getTotalLoss(self) -> float: ... + def getTotalRampUpLoss(self) -> float: ... + def getTotalShutdownLoss(self) -> float: ... + def getTotalSteadyStateLoss(self) -> float: ... + def getTotalTransientLoss(self) -> float: ... + def getTransientFraction(self) -> float: ... + def getTransientPercent(self) -> float: ... + def reset(self) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + def update(self, dynamicRiskResult: DynamicRiskResult) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.dynamic")``. + + DynamicRiskResult: typing.Type[DynamicRiskResult] + DynamicRiskSimulator: typing.Type[DynamicRiskSimulator] + ProductionProfile: typing.Type[ProductionProfile] + TransientLossStatistics: typing.Type[TransientLossStatistics] diff --git a/src/jneqsim/process/safety/risk/eta/__init__.pyi b/src/jneqsim/process/safety/risk/eta/__init__.pyi new file mode 100644 index 00000000..6aba43b1 --- /dev/null +++ b/src/jneqsim/process/safety/risk/eta/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class EventTreeAnalyzer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + def addBranch(self, string: typing.Union[java.lang.String, str], double: float) -> 'EventTreeAnalyzer': ... + def evaluate(self) -> java.util.List['EventTreeAnalyzer.Outcome']: ... + def report(self) -> java.lang.String: ... + class Outcome(java.io.Serializable): + path: java.lang.String = ... + probability: float = ... + frequencyPerYear: float = ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.eta")``. + + EventTreeAnalyzer: typing.Type[EventTreeAnalyzer] diff --git a/src/jneqsim/process/safety/risk/examples/__init__.pyi b/src/jneqsim/process/safety/risk/examples/__init__.pyi new file mode 100644 index 00000000..a870416d --- /dev/null +++ b/src/jneqsim/process/safety/risk/examples/__init__.pyi @@ -0,0 +1,39 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import typing + + + +class RiskFrameworkQuickStart: + def __init__(self): ... + @staticmethod + def exampleBowTieAnalysis() -> None: ... + @staticmethod + def exampleConditionBasedReliability() -> None: ... + @staticmethod + def exampleDynamicSimulation() -> None: ... + @staticmethod + def exampleMLIntegration() -> None: ... + @staticmethod + def exampleOperationalRiskSimulation() -> None: ... + @staticmethod + def examplePortfolioRisk() -> None: ... + @staticmethod + def exampleRealTimeMonitoring() -> None: ... + @staticmethod + def exampleSISIntegration() -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.examples")``. + + RiskFrameworkQuickStart: typing.Type[RiskFrameworkQuickStart] diff --git a/src/jneqsim/process/safety/risk/fta/__init__.pyi b/src/jneqsim/process/safety/risk/fta/__init__.pyi new file mode 100644 index 00000000..296fe29d --- /dev/null +++ b/src/jneqsim/process/safety/risk/fta/__init__.pyi @@ -0,0 +1,56 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class FaultTreeAnalyzer(java.io.Serializable): + def __init__(self): ... + def minimalCutSets(self, faultTreeNode: 'FaultTreeNode', int: int) -> java.util.Set[java.util.List[java.lang.String]]: ... + def topEventProbability(self, faultTreeNode: 'FaultTreeNode') -> float: ... + class GateType(java.lang.Enum['FaultTreeAnalyzer.GateType']): + AND: typing.ClassVar['FaultTreeAnalyzer.GateType'] = ... + OR: typing.ClassVar['FaultTreeAnalyzer.GateType'] = ... + VOTING: typing.ClassVar['FaultTreeAnalyzer.GateType'] = ... + _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]) -> 'FaultTreeAnalyzer.GateType': ... + @staticmethod + def values() -> typing.MutableSequence['FaultTreeAnalyzer.GateType']: ... + +class FaultTreeNode(java.io.Serializable): + name: java.lang.String = ... + gate: FaultTreeAnalyzer.GateType = ... + basicProbability: float = ... + children: java.util.List = ... + kOfN: int = ... + betaCCF: float = ... + @staticmethod + def and_(string: typing.Union[java.lang.String, str], *faultTreeNode: 'FaultTreeNode') -> 'FaultTreeNode': ... + @staticmethod + def basic(string: typing.Union[java.lang.String, str], double: float) -> 'FaultTreeNode': ... + def isBasic(self) -> bool: ... + @staticmethod + def or_(string: typing.Union[java.lang.String, str], *faultTreeNode: 'FaultTreeNode') -> 'FaultTreeNode': ... + @staticmethod + def voting(string: typing.Union[java.lang.String, str], int: int, *faultTreeNode: 'FaultTreeNode') -> 'FaultTreeNode': ... + def withCCF(self, double: float) -> 'FaultTreeNode': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.fta")``. + + FaultTreeAnalyzer: typing.Type[FaultTreeAnalyzer] + FaultTreeNode: typing.Type[FaultTreeNode] diff --git a/src/jneqsim/process/safety/risk/ml/__init__.pyi b/src/jneqsim/process/safety/risk/ml/__init__.pyi new file mode 100644 index 00000000..f26dd071 --- /dev/null +++ b/src/jneqsim/process/safety/risk/ml/__init__.pyi @@ -0,0 +1,161 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import jpype +import neqsim +import typing + + + +class RiskMLInterface(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def createAnomalyDetectionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... + def createFailurePredictionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... + def createRULModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... + def getActiveModels(self) -> java.util.List['RiskMLInterface.MLModel']: ... + def getModel(self, string: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... + def getModelPerformance(self, string: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.ModelPerformanceMetrics': ... + def getModels(self) -> java.util.List['RiskMLInterface.MLModel']: ... + def getName(self) -> java.lang.String: ... + def predict(self, string: 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]]) -> 'RiskMLInterface.MLPrediction': ... + def predictWithExtraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'RiskMLInterface.MLPrediction': ... + def provideFeedback(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float) -> None: ... + def registerFeatureExtractor(self, string: typing.Union[java.lang.String, str], featureExtractor: typing.Union['RiskMLInterface.FeatureExtractor', typing.Callable]) -> None: ... + def registerModel(self, mLModel: 'RiskMLInterface.MLModel') -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class FeatureExtractor: + def extractFeatures(self, map: 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, float]: ... + class MLModel(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], modelType: 'RiskMLInterface.MLModel.ModelType'): ... + def addMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def getAccuracy(self) -> float: ... + def getMetadata(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getModelId(self) -> java.lang.String: ... + def getModelName(self) -> java.lang.String: ... + def getModelType(self) -> 'RiskMLInterface.MLModel.ModelType': ... + def getPredictor(self) -> 'RiskMLInterface.MLPredictor': ... + def getTrainedDate(self) -> java.time.Instant: ... + def getVersion(self) -> java.lang.String: ... + def isActive(self) -> bool: ... + def setAccuracy(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setPredictor(self, mLPredictor: typing.Union['RiskMLInterface.MLPredictor', typing.Callable]) -> None: ... + def setTrainedDate(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> None: ... + def setVersion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ModelType(java.lang.Enum['RiskMLInterface.MLModel.ModelType']): + FAILURE_PREDICTION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + ANOMALY_DETECTION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + RUL_PREDICTION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + RISK_SCORING: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + OPTIMIZATION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + CLASSIFICATION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + REGRESSION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... + _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]) -> 'RiskMLInterface.MLModel.ModelType': ... + @staticmethod + def values() -> typing.MutableSequence['RiskMLInterface.MLModel.ModelType']: ... + class MLPrediction(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def getConfidence(self) -> float: ... + def getFeatureImportance(self) -> java.util.Map[java.lang.String, float]: ... + def getLabel(self) -> java.lang.String: ... + def getMetadata(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getModelId(self) -> java.lang.String: ... + def getPrediction(self) -> float: ... + def getProbabilities(self) -> typing.MutableSequence[float]: ... + def getTimestamp(self) -> java.time.Instant: ... + def setConfidence(self, double: float) -> None: ... + def setFeatureImportance(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setLabel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPrediction(self, double: float) -> None: ... + def setProbabilities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class MLPredictor: + def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'RiskMLInterface.MLPrediction': ... + def predictBatch(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]]) -> java.util.List['RiskMLInterface.MLPrediction']: ... + class ModelPerformanceMetrics(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List['RiskMLInterface.PredictionRecord']): ... + def getMeanAbsoluteError(self) -> float: ... + def getMeanAbsolutePercentageError(self) -> float: ... + def getModelId(self) -> java.lang.String: ... + def getRootMeanSquareError(self) -> float: ... + def getValidatedPredictions(self) -> int: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class PredictionRecord(java.io.Serializable): + @typing.overload + def __init__(self, string: 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]], double: float): ... + @typing.overload + def __init__(self, string: 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]], double: float, instant: typing.Union[java.time.Instant, datetime.datetime]): ... + def getActualValue(self) -> float: ... + def getModelId(self) -> java.lang.String: ... + def getPrediction(self) -> float: ... + def getPredictionError(self) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + def isValidated(self) -> bool: ... + def setActualValue(self, double: float) -> None: ... + +class MLIntegrationExamples: + def __init__(self): ... + @staticmethod + def createOnnxFailurePredictor(string: typing.Union[java.lang.String, str]) -> 'MLIntegrationExamples.OnnxAdapter': ... + @staticmethod + def createRestAnomalyDetector(string: typing.Union[java.lang.String, str]) -> 'MLIntegrationExamples.RestApiAdapter': ... + @staticmethod + def createTestAnomalyDetector() -> 'MLIntegrationExamples.ThresholdModel': ... + @staticmethod + def createTestFailurePredictor() -> 'MLIntegrationExamples.ThresholdModel': ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + class BaseMLAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.MLModelAdapter): + def getInputFeatures(self) -> java.util.List[java.lang.String]: ... + def getModelName(self) -> java.lang.String: ... + def isLoaded(self) -> bool: ... + class MLModelAdapter(java.io.Serializable): + def getInputFeatures(self) -> java.util.List[java.lang.String]: ... + def getModelName(self) -> java.lang.String: ... + def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + class OnnxAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def getModelPath(self) -> java.lang.String: ... + def load(self) -> None: ... + def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + class RestApiAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def addHeader(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def getEndpoint(self) -> java.lang.String: ... + def getTimeoutMs(self) -> int: ... + def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + def setTimeout(self, int: int) -> None: ... + class TensorFlowAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): + def __init__(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], string3: typing.Union[java.lang.String, str]): ... + def load(self) -> None: ... + def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + class ThresholdModel(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addThreshold(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.ml")``. + + MLIntegrationExamples: typing.Type[MLIntegrationExamples] + RiskMLInterface: typing.Type[RiskMLInterface] diff --git a/src/jneqsim/process/safety/risk/portfolio/__init__.pyi b/src/jneqsim/process/safety/risk/portfolio/__init__.pyi new file mode 100644 index 00000000..262ae4d9 --- /dev/null +++ b/src/jneqsim/process/safety/risk/portfolio/__init__.pyi @@ -0,0 +1,148 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import typing + + + +class PortfolioRiskAnalyzer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addAsset(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'PortfolioRiskAnalyzer.Asset': ... + @typing.overload + def addAsset(self, asset: 'PortfolioRiskAnalyzer.Asset') -> None: ... + def addCommonCauseScenario(self, commonCauseScenario: 'PortfolioRiskAnalyzer.CommonCauseScenario') -> None: ... + def createRegionalWeatherScenario(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'PortfolioRiskAnalyzer.CommonCauseScenario': ... + def getAssets(self) -> java.util.List['PortfolioRiskAnalyzer.Asset']: ... + def getCommonCauseScenarios(self) -> java.util.List['PortfolioRiskAnalyzer.CommonCauseScenario']: ... + def getLastResult(self) -> 'PortfolioRiskResult': ... + def getName(self) -> java.lang.String: ... + def run(self) -> 'PortfolioRiskResult': ... + def setNumberOfSimulations(self, int: int) -> None: ... + def setSimulationPeriodYears(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class Asset(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def getAssetId(self) -> java.lang.String: ... + def getAssetName(self) -> java.lang.String: ... + def getAssetType(self) -> java.lang.String: ... + def getExpectedProduction(self) -> float: ... + def getExpectedProductionLoss(self) -> float: ... + def getInsuranceValue(self) -> float: ... + def getMaxProduction(self) -> float: ... + def getRegion(self) -> java.lang.String: ... + def getSystemAvailability(self) -> float: ... + def runRiskSimulation(self, int: int) -> None: ... + def setAssetType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setExpectedProductionLoss(self, double: float) -> None: ... + def setInsuranceValue(self, double: float) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSystemAvailability(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class CommonCauseScenario(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], commonCauseType: 'PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType', double: float): ... + def addAffectedAsset(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getAffectedAssetIds(self) -> java.util.List[java.lang.String]: ... + def getAssetImpact(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getDuration(self) -> float: ... + def getFrequency(self) -> float: ... + def getScenarioId(self) -> java.lang.String: ... + def getType(self) -> 'PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType': ... + def setDuration(self, double: float) -> None: ... + def setFrequency(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class CommonCauseType(java.lang.Enum['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType']): + WEATHER: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + REGIONAL_INFRASTRUCTURE: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + SUPPLY_CHAIN: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + MARKET: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + CYBER: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + PANDEMIC: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + GEOPOLITICAL: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... + _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]) -> 'PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType': ... + @staticmethod + def values() -> typing.MutableSequence['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType']: ... + +class PortfolioRiskResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAssetResult(self, assetResult: 'PortfolioRiskResult.AssetResult') -> None: ... + def getAnalysisName(self) -> java.lang.String: ... + def getAssetResults(self) -> java.util.List['PortfolioRiskResult.AssetResult']: ... + def getCommonCauseFraction(self) -> float: ... + def getDiversificationBenefit(self) -> float: ... + def getExpectedCommonCauseLoss(self) -> float: ... + def getExpectedPortfolioLoss(self) -> float: ... + def getMaxPortfolioLoss(self) -> float: ... + def getNumberOfSimulations(self) -> int: ... + def getP10PortfolioLoss(self) -> float: ... + def getP50PortfolioLoss(self) -> float: ... + def getP90PortfolioLoss(self) -> float: ... + def getP99PortfolioLoss(self) -> float: ... + def getPortfolioAvailability(self) -> float: ... + def getPortfolioLossStdDev(self) -> float: ... + def getSimulationPeriodYears(self) -> float: ... + def getTotalExpectedProduction(self) -> float: ... + def getTotalMaxProduction(self) -> float: ... + def getValueAtRisk(self, int: int) -> float: ... + def setCommonCauseFraction(self, double: float) -> None: ... + def setDiversificationBenefit(self, double: float) -> None: ... + def setExpectedCommonCauseLoss(self, double: float) -> None: ... + def setExpectedPortfolioLoss(self, double: float) -> None: ... + def setMaxPortfolioLoss(self, double: float) -> None: ... + def setNumberOfSimulations(self, int: int) -> None: ... + def setP10PortfolioLoss(self, double: float) -> None: ... + def setP50PortfolioLoss(self, double: float) -> None: ... + def setP90PortfolioLoss(self, double: float) -> None: ... + def setP99PortfolioLoss(self, double: float) -> None: ... + def setPortfolioAvailability(self, double: float) -> None: ... + def setPortfolioLossStdDev(self, double: float) -> None: ... + def setSimulationPeriodYears(self, double: float) -> None: ... + def setTotalExpectedProduction(self, double: float) -> None: ... + def setTotalMaxProduction(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toReport(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class AssetResult(java.io.Serializable): + def __init__(self): ... + def getAssetId(self) -> java.lang.String: ... + def getAssetName(self) -> java.lang.String: ... + def getAvailability(self) -> float: ... + def getContributionToPortfolioRisk(self) -> float: ... + def getExpectedLoss(self) -> float: ... + def getExpectedProduction(self) -> float: ... + def getMaxProduction(self) -> float: ... + def getP90Loss(self) -> float: ... + def setAssetId(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAssetName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAvailability(self, double: float) -> None: ... + def setContributionToPortfolioRisk(self, double: float) -> None: ... + def setExpectedLoss(self, double: float) -> None: ... + def setExpectedProduction(self, double: float) -> None: ... + def setMaxProduction(self, double: float) -> None: ... + def setP90Loss(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.portfolio")``. + + PortfolioRiskAnalyzer: typing.Type[PortfolioRiskAnalyzer] + PortfolioRiskResult: typing.Type[PortfolioRiskResult] diff --git a/src/jneqsim/process/safety/risk/realtime/__init__.pyi b/src/jneqsim/process/safety/risk/realtime/__init__.pyi new file mode 100644 index 00000000..7adf9f88 --- /dev/null +++ b/src/jneqsim/process/safety/risk/realtime/__init__.pyi @@ -0,0 +1,212 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.processmodel +import jneqsim.process.safety.risk +import jneqsim.process.safety.risk.condition +import typing + + + +class PhysicsBasedRiskMonitor(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def assess(self) -> 'PhysicsBasedRiskMonitor.PhysicsBasedRiskAssessment': ... + def getEquipmentMonitor(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.safety.risk.condition.ProcessEquipmentMonitor: ... + def getEquipmentMonitors(self) -> java.util.Map[java.lang.String, jneqsim.process.safety.risk.condition.ProcessEquipmentMonitor]: ... + def getLastAssessment(self) -> java.time.Instant: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def setBaseFailureRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setDesignPressureRange(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setDesignTemperatureRange(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + class PhysicsBasedRiskAssessment(java.io.Serializable): + def __init__(self): ... + def getBottleneckConstraint(self) -> java.lang.String: ... + def getBottleneckEquipment(self) -> java.lang.String: ... + def getBottleneckUtilization(self) -> float: ... + def getCriticalEquipment(self) -> java.util.List[java.lang.String]: ... + def getEquipmentHealthIndices(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentRiskScores(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def getHighestRiskEquipment(self) -> java.lang.String: ... + def getHighestRiskScore(self) -> float: ... + def getOverallRiskScore(self) -> float: ... + def getSystemCapacityMargin(self) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckUtilization(self, double: float) -> None: ... + def setHighestRiskEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHighestRiskScore(self, double: float) -> None: ... + def setOverallRiskScore(self, double: float) -> None: ... + def setSystemCapacityMargin(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class RealTimeRiskAssessment(java.io.Serializable): + def __init__(self): ... + def addKRI(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addProcessVariable(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def getAlarmingVariables(self) -> java.util.List['RealTimeRiskAssessment.ProcessVariableStatus']: ... + def getAvailability(self) -> float: ... + def getEquipmentStatuses(self) -> java.util.List['RealTimeRiskMonitor.EquipmentRiskStatus']: ... + def getExpectedProductionLoss(self) -> float: ... + def getKRIs(self) -> java.util.Map[java.lang.String, float]: ... + def getOverallRiskScore(self) -> float: ... + def getProcessVariables(self) -> java.util.Map[java.lang.String, 'RealTimeRiskAssessment.ProcessVariableStatus']: ... + def getRiskCategory(self) -> jneqsim.process.safety.risk.RiskMatrix.RiskLevel: ... + def getRiskTrend(self) -> java.lang.String: ... + def getSafetyStatus(self) -> 'RealTimeRiskAssessment.SafetySystemStatus': ... + def getTimestamp(self) -> java.time.Instant: ... + def getTrendSlope(self) -> float: ... + def setAvailability(self, double: float) -> None: ... + def setEquipmentStatuses(self, list: java.util.List['RealTimeRiskMonitor.EquipmentRiskStatus']) -> None: ... + def setExpectedProductionLoss(self, double: float) -> None: ... + def setOverallRiskScore(self, double: float) -> None: ... + def setRiskTrend(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSafetyStatus(self, safetySystemStatus: 'RealTimeRiskAssessment.SafetySystemStatus') -> None: ... + def setTimestamp(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> None: ... + def setTrendSlope(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + def toSummary(self) -> java.lang.String: ... + class ProcessVariableStatus(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]): ... + def getCurrentValue(self) -> float: ... + def getDeviation(self) -> float: ... + def getDeviationPercent(self) -> float: ... + def getNormalValue(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getVariableName(self) -> java.lang.String: ... + def isAlarming(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SafetySystemStatus(java.io.Serializable): + def __init__(self): ... + def getAvailableSIFs(self) -> int: ... + def getBypassedSIFs(self) -> int: ... + def getDemandedSIFs(self) -> int: ... + def getOverallSISHealth(self) -> float: ... + def getTotalSIFs(self) -> int: ... + def setAvailableSIFs(self, int: int) -> None: ... + def setBypassedSIFs(self, int: int) -> None: ... + def setDemandedSIFs(self, int: int) -> None: ... + def setOverallSISHealth(self, double: float) -> None: ... + def setTotalSIFs(self, int: int) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class RealTimeRiskMonitor(java.io.Serializable, java.lang.Runnable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def acknowledgeAlert(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addAlertListener(self, alertListener: typing.Union['RealTimeRiskMonitor.AlertListener', typing.Callable]) -> None: ... + def assess(self) -> RealTimeRiskAssessment: ... + def calculateBaseline(self) -> None: ... + def clearAcknowledgedAlerts(self) -> None: ... + def getActiveAlerts(self) -> java.util.List['RealTimeRiskMonitor.RiskAlert']: ... + def getAlertThresholds(self) -> 'RealTimeRiskMonitor.AlertThresholds': ... + def getAssessmentHistory(self) -> java.util.List[RealTimeRiskAssessment]: ... + def getCurrentAssessment(self) -> RealTimeRiskAssessment: ... + def getEquipmentStatus(self) -> java.util.Map[java.lang.String, 'RealTimeRiskMonitor.EquipmentRiskStatus']: ... + def getName(self) -> java.lang.String: ... + def getUnacknowledgedAlerts(self) -> java.util.List['RealTimeRiskMonitor.RiskAlert']: ... + def isMonitoringActive(self) -> bool: ... + def run(self) -> None: ... + def setBaseline(self, double: float, double2: float) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setUpdateIntervalSeconds(self, int: int) -> None: ... + def startMonitoring(self) -> None: ... + def stopMonitoring(self) -> None: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class AlertListener: + def onAlert(self, riskAlert: 'RealTimeRiskMonitor.RiskAlert') -> None: ... + class AlertThresholds(java.io.Serializable): + def __init__(self): ... + def getAnomalyStdDevs(self) -> float: ... + def getCriticalRiskLevel(self) -> float: ... + def getHighRiskLevel(self) -> float: ... + def getTrendChangePercent(self) -> float: ... + def getWarningRiskLevel(self) -> float: ... + def setAnomalyStdDevs(self, double: float) -> None: ... + def setCriticalRiskLevel(self, double: float) -> None: ... + def setHighRiskLevel(self, double: float) -> None: ... + def setTrendChangePercent(self, double: float) -> None: ... + def setWarningRiskLevel(self, double: float) -> None: ... + class EquipmentRiskStatus(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> jneqsim.process.safety.risk.RiskMatrix.RiskLevel: ... + def getEquipmentId(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getFailureProbability(self) -> float: ... + def getHealthStatus(self) -> java.lang.String: ... + def getLastUpdated(self) -> java.time.Instant: ... + def getRiskScore(self) -> float: ... + def setCategory(self, riskLevel: jneqsim.process.safety.risk.RiskMatrix.RiskLevel) -> None: ... + def setFailureProbability(self, double: float) -> None: ... + def setHealthStatus(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRiskScore(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class RiskAlert(java.io.Serializable): + def __init__(self, alertSeverity: 'RealTimeRiskMonitor.RiskAlert.AlertSeverity', alertType: 'RealTimeRiskMonitor.RiskAlert.AlertType', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def acknowledge(self) -> None: ... + def getAlertId(self) -> java.lang.String: ... + def getCurrentValue(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'RealTimeRiskMonitor.RiskAlert.AlertSeverity': ... + def getSource(self) -> java.lang.String: ... + def getThresholdValue(self) -> float: ... + def getTimestamp(self) -> java.time.Instant: ... + def getType(self) -> 'RealTimeRiskMonitor.RiskAlert.AlertType': ... + def isAcknowledged(self) -> bool: ... + def setCurrentValue(self, double: float) -> None: ... + def setThresholdValue(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class AlertSeverity(java.lang.Enum['RealTimeRiskMonitor.RiskAlert.AlertSeverity']): + INFO: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... + WARNING: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... + HIGH: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... + CRITICAL: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... + _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]) -> 'RealTimeRiskMonitor.RiskAlert.AlertSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['RealTimeRiskMonitor.RiskAlert.AlertSeverity']: ... + class AlertType(java.lang.Enum['RealTimeRiskMonitor.RiskAlert.AlertType']): + RISK_THRESHOLD_EXCEEDED: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... + RISK_TRENDING_UP: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... + EQUIPMENT_DEGRADATION: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... + ANOMALY_DETECTED: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... + SIF_DEMAND: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... + NEAR_MISS: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... + _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]) -> 'RealTimeRiskMonitor.RiskAlert.AlertType': ... + @staticmethod + def values() -> typing.MutableSequence['RealTimeRiskMonitor.RiskAlert.AlertType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.realtime")``. + + PhysicsBasedRiskMonitor: typing.Type[PhysicsBasedRiskMonitor] + RealTimeRiskAssessment: typing.Type[RealTimeRiskAssessment] + RealTimeRiskMonitor: typing.Type[RealTimeRiskMonitor] diff --git a/src/jneqsim/process/safety/risk/sis/__init__.pyi b/src/jneqsim/process/safety/risk/sis/__init__.pyi new file mode 100644 index 00000000..712a134f --- /dev/null +++ b/src/jneqsim/process/safety/risk/sis/__init__.pyi @@ -0,0 +1,315 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.safety.risk +import typing + + + +class LOPAResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def getGapToTarget(self) -> float: ... + def getInitiatingEventFrequency(self) -> float: ... + def getLayers(self) -> java.util.List['LOPAResult.ProtectionLayer']: ... + def getMitigatedFrequency(self) -> float: ... + def getRequiredAdditionalRRF(self) -> float: ... + def getRequiredAdditionalSIL(self) -> int: ... + @staticmethod + def getSTS0131OverpressureTargetFrequency(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def getSTS0131PressureCategory(double: float, double2: float, double3: float) -> 'LOPAResult.STS0131PressureCategory': ... + def getScenarioName(self) -> java.lang.String: ... + def getTargetFrequency(self) -> float: ... + def getTotalRRF(self) -> float: ... + def isTargetMet(self) -> bool: ... + def setInitiatingEventFrequency(self, double: float) -> None: ... + def setMitigatedFrequency(self, double: float) -> None: ... + def setTargetFrequency(self, double: float) -> None: ... + def setTargetFrequencyFromSTS0131Overpressure(self, double: float, double2: float, double3: float) -> 'LOPAResult': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + def toVisualization(self) -> java.lang.String: ... + class ProtectionLayer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getContribution(self) -> float: ... + def getFrequencyAfter(self) -> float: ... + def getFrequencyBefore(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPfd(self) -> float: ... + def getRRF(self) -> float: ... + class STS0131PressureCategory(java.lang.Enum['LOPAResult.STS0131PressureCategory']): + BELOW_OR_AT_DESIGN_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... + ABOVE_DESIGN_TO_TEST_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... + ABOVE_TEST_TO_TWO_TIMES_DESIGN_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... + ABOVE_TWO_TIMES_DESIGN_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... + _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]) -> 'LOPAResult.STS0131PressureCategory': ... + @staticmethod + def values() -> typing.MutableSequence['LOPAResult.STS0131PressureCategory']: ... + +class SILVerificationResult(java.io.Serializable): + def __init__(self, safetyInstrumentedFunction: 'SafetyInstrumentedFunction'): ... + def addComponentContribution(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def getAchievedSIL(self) -> int: ... + def getClaimedSIL(self) -> int: ... + def getComponentContributions(self) -> java.util.List['SILVerificationResult.ComponentContribution']: ... + def getDiagnosticCoverage(self) -> float: ... + def getErrors(self) -> java.util.List['SILVerificationResult.VerificationIssue']: ... + def getHardwareFaultTolerance(self) -> int: ... + def getIssues(self) -> java.util.List['SILVerificationResult.VerificationIssue']: ... + def getPfdAverage(self) -> float: ... + def getPfdUpper(self) -> float: ... + def getSif(self) -> 'SafetyInstrumentedFunction': ... + def getSystematicCapability(self) -> int: ... + def getWarnings(self) -> java.util.List['SILVerificationResult.VerificationIssue']: ... + def hasErrors(self) -> bool: ... + def isSilAchieved(self) -> bool: ... + def setDiagnosticCoverage(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toReport(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class ComponentContribution(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getComponentName(self) -> java.lang.String: ... + def getComponentType(self) -> java.lang.String: ... + def getFailureRate(self) -> float: ... + def getPercentOfTotal(self) -> float: ... + def getPfdContribution(self) -> float: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class VerificationIssue(java.io.Serializable): + def __init__(self, issueSeverity: 'SILVerificationResult.VerificationIssue.IssueSeverity', issueCategory: 'SILVerificationResult.VerificationIssue.IssueCategory', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> 'SILVerificationResult.VerificationIssue.IssueCategory': ... + def getDescription(self) -> java.lang.String: ... + def getRecommendation(self) -> java.lang.String: ... + def getSeverity(self) -> 'SILVerificationResult.VerificationIssue.IssueSeverity': ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class IssueCategory(java.lang.Enum['SILVerificationResult.VerificationIssue.IssueCategory']): + PFD_EXCEEDED: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... + ARCHITECTURE: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... + DIAGNOSTIC_COVERAGE: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... + PROOF_TEST_INTERVAL: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... + COMMON_CAUSE: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... + SYSTEMATIC: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... + _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]) -> 'SILVerificationResult.VerificationIssue.IssueCategory': ... + @staticmethod + def values() -> typing.MutableSequence['SILVerificationResult.VerificationIssue.IssueCategory']: ... + class IssueSeverity(java.lang.Enum['SILVerificationResult.VerificationIssue.IssueSeverity']): + WARNING: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueSeverity'] = ... + ERROR: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueSeverity'] = ... + INFO: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueSeverity'] = ... + _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]) -> 'SILVerificationResult.VerificationIssue.IssueSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['SILVerificationResult.VerificationIssue.IssueSeverity']: ... + +class SISIntegratedRiskModel(jneqsim.process.safety.risk.RiskModel, java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addIPL(self, independentProtectionLayer: 'SISIntegratedRiskModel.IndependentProtectionLayer') -> None: ... + def addSIF(self, safetyInstrumentedFunction: 'SafetyInstrumentedFunction') -> None: ... + def calculateResidualRisk(self) -> 'SISRiskResult': ... + def determineRequiredSIL(self, string: typing.Union[java.lang.String, str], consequenceType: 'SISIntegratedRiskModel.ConsequenceType') -> int: ... + def getIPLs(self) -> java.util.List['SISIntegratedRiskModel.IndependentProtectionLayer']: ... + def getSIFs(self) -> java.util.List['SafetyInstrumentedFunction']: ... + def getSIFsForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SafetyInstrumentedFunction']: ... + def getSIFsForEvent(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SafetyInstrumentedFunction']: ... + def getToleranceCriteria(self) -> 'SISIntegratedRiskModel.RiskToleranceCriteria': ... + def performLOPA(self, string: typing.Union[java.lang.String, str]) -> LOPAResult: ... + def setToleranceCriteria(self, riskToleranceCriteria: 'SISIntegratedRiskModel.RiskToleranceCriteria') -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def verifySILRequirements(self) -> java.util.Map[java.lang.String, SILVerificationResult]: ... + class ConsequenceType(java.lang.Enum['SISIntegratedRiskModel.ConsequenceType']): + FATALITY: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... + INJURY: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... + ENVIRONMENT: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... + ASSET: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... + _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]) -> 'SISIntegratedRiskModel.ConsequenceType': ... + @staticmethod + def values() -> typing.MutableSequence['SISIntegratedRiskModel.ConsequenceType']: ... + class IndependentProtectionLayer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, iPLType: 'SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'): ... + def addApplicableEvent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getApplicableEvents(self) -> java.util.List[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getPfd(self) -> float: ... + def getRiskReductionFactor(self) -> float: ... + def getType(self) -> 'SISIntegratedRiskModel.IndependentProtectionLayer.IPLType': ... + class IPLType(java.lang.Enum['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType']): + BPCS: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... + ALARM: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... + MECHANICAL: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... + PHYSICAL: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... + EMERGENCY_RESPONSE: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... + OTHER: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... + _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]) -> 'SISIntegratedRiskModel.IndependentProtectionLayer.IPLType': ... + @staticmethod + def values() -> typing.MutableSequence['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType']: ... + class RiskToleranceCriteria(java.io.Serializable): + def __init__(self): ... + def getALARP(self) -> float: ... + def getTolerableFrequency(self, consequenceType: 'SISIntegratedRiskModel.ConsequenceType') -> float: ... + def setTolerableFrequencyAsset(self, double: float) -> None: ... + def setTolerableFrequencyFatality(self, double: float) -> None: ... + +class SISRiskResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addEventResult(self, string: typing.Union[java.lang.String, str], double: float, double2: float, list: java.util.List['SafetyInstrumentedFunction']) -> None: ... + def calculateTotals(self) -> None: ... + def getEventResults(self) -> java.util.List['SISRiskResult.EventMitigationResult']: ... + def getOverallRRF(self) -> float: ... + def getResidualFrequency(self) -> float: ... + def getRiskReductionPercent(self) -> float: ... + def getStudyName(self) -> java.lang.String: ... + def getTotalMitigatedFrequency(self) -> float: ... + def getTotalRiskReduction(self) -> float: ... + def getTotalUnmitigatedFrequency(self) -> float: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class EventMitigationResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getAppliedSIFs(self) -> java.util.List[java.lang.String]: ... + def getEventName(self) -> java.lang.String: ... + def getMitigatedFrequency(self) -> float: ... + def getRiskReduction(self) -> float: ... + def getSifContributions(self) -> java.util.Map[java.lang.String, float]: ... + def getUnmitigatedFrequency(self) -> float: ... + +class SafetyInstrumentedFunction(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float): ... + def addProtectedEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def builder() -> 'SafetyInstrumentedFunction.Builder': ... + @staticmethod + def calculatePfd1oo1(double: float, double2: float) -> float: ... + @staticmethod + def calculatePfd1oo2(double: float, double2: float) -> float: ... + @staticmethod + def calculatePfd2oo3(double: float, double2: float) -> float: ... + @staticmethod + def calculateRequiredPfd(double: float, double2: float) -> float: ... + def getArchitecture(self) -> java.lang.String: ... + def getAvailabilityWithSpuriousTrips(self, double: float, double2: float) -> float: ... + def getCategory(self) -> 'SafetyInstrumentedFunction.SIFCategory': ... + def getDescription(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getInitiatingEvent(self) -> java.lang.String: ... + @staticmethod + def getMaxPfdForSil(int: int) -> float: ... + def getMitigatedFrequency(self, double: float) -> float: ... + def getMttr(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNotes(self) -> java.lang.String: ... + def getPfdAvg(self) -> float: ... + def getProofTestIntervalYears(self) -> float: ... + def getProtectedEquipment(self) -> java.util.List[java.lang.String]: ... + @staticmethod + def getRequiredSil(double: float) -> int: ... + def getRiskReductionFactor(self) -> float: ... + def getSafeState(self) -> java.lang.String: ... + def getSil(self) -> int: ... + def getSpuriousTripRate(self) -> float: ... + def getTestIntervalHours(self) -> float: ... + def setArchitecture(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCategory(self, sIFCategory: 'SafetyInstrumentedFunction.SIFCategory') -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setId(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitiatingEvent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMttr(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPfdAvg(self, double: float) -> None: ... + def setProtectedEquipment(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... + def setSafeState(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSil(self, int: int) -> None: ... + def setSpuriousTripRate(self, double: float) -> None: ... + def setTestIntervalHours(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addProtectedEquipment(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def architecture(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def build(self) -> 'SafetyInstrumentedFunction': ... + def category(self, sIFCategory: 'SafetyInstrumentedFunction.SIFCategory') -> 'SafetyInstrumentedFunction.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def id(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def initiatingEvent(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def mttr(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def notes(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def pfd(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... + def protectedEquipment(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'SafetyInstrumentedFunction.Builder': ... + def safeState(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... + def sil(self, int: int) -> 'SafetyInstrumentedFunction.Builder': ... + def spuriousTripRate(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... + def testIntervalHours(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... + class SIFCategory(java.lang.Enum['SafetyInstrumentedFunction.SIFCategory']): + ESD: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + HIPPS: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + FIRE_GAS: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + BLOWDOWN: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + PSD: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + OTHER: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + def getDescription(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]) -> 'SafetyInstrumentedFunction.SIFCategory': ... + @staticmethod + def values() -> typing.MutableSequence['SafetyInstrumentedFunction.SIFCategory']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.sis")``. + + LOPAResult: typing.Type[LOPAResult] + SILVerificationResult: typing.Type[SILVerificationResult] + SISIntegratedRiskModel: typing.Type[SISIntegratedRiskModel] + SISRiskResult: typing.Type[SISRiskResult] + SafetyInstrumentedFunction: typing.Type[SafetyInstrumentedFunction] diff --git a/src/jneqsim/process/safety/rupture/__init__.pyi b/src/jneqsim/process/safety/rupture/__init__.pyi new file mode 100644 index 00000000..6dbf0333 --- /dev/null +++ b/src/jneqsim/process/safety/rupture/__init__.pyi @@ -0,0 +1,138 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.safety.barrier +import jneqsim.process.safety.inventory +import jneqsim.process.safety.release +import jneqsim.thermo.system +import typing + + + +class FireExposureScenario(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], fireType: 'FireExposureScenario.FireType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float): ... + @staticmethod + def api521PoolFire(double: float, double2: float) -> 'FireExposureScenario': ... + @staticmethod + def fixedHeatFlux(double: float, double2: float) -> 'FireExposureScenario': ... + def getAmbientTemperatureK(self) -> float: ... + def getExposedAreaM2(self) -> float: ... + def getFireType(self) -> 'FireExposureScenario.FireType': ... + def getName(self) -> java.lang.String: ... + def getPassiveProtectionHeatFluxFactor(self) -> float: ... + def heatInputW(self, double: float) -> float: ... + def incidentHeatFlux(self, double: float) -> float: ... + @staticmethod + def radiativeFire(double: float, double2: float, double3: float, double4: float, double5: float) -> 'FireExposureScenario': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def withPassiveProtectionFactor(self, double: float) -> 'FireExposureScenario': ... + class FireType(java.lang.Enum['FireExposureScenario.FireType']): + API_521_POOL_FIRE: typing.ClassVar['FireExposureScenario.FireType'] = ... + FIXED_HEAT_FLUX: typing.ClassVar['FireExposureScenario.FireType'] = ... + RADIATIVE_FIRE: typing.ClassVar['FireExposureScenario.FireType'] = ... + _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]) -> 'FireExposureScenario.FireType': ... + @staticmethod + def values() -> typing.MutableSequence['FireExposureScenario.FireType']: ... + +class MaterialStrengthCurve(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]): ... + def allowableRuptureStressAt(self, double: float, double2: float) -> float: ... + @staticmethod + def carbonSteel(string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'MaterialStrengthCurve': ... + @staticmethod + def forApi5LPipeGrade(string: typing.Union[java.lang.String, str]) -> 'MaterialStrengthCurve': ... + def getAmbientTensileStrengthPa(self) -> float: ... + def getAmbientYieldStrengthPa(self) -> float: ... + def getDataSource(self) -> java.lang.String: ... + def getMaterialName(self) -> java.lang.String: ... + def retainedStrengthFactor(self, double: float) -> float: ... + def tensileStrengthAt(self, double: float) -> float: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def yieldStrengthAt(self, double: float) -> float: ... + +class TrappedLiquidFireRuptureResult(java.io.Serializable): + def createRuptureSourceTerm(self, systemInterface: jneqsim.thermo.system.SystemInterface, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation, double: float, double2: float) -> jneqsim.process.safety.release.SourceTermResult: ... + def getFinalLiquidTemperatureK(self) -> float: ... + def getFinalOuterWallTemperatureK(self) -> float: ... + def getFinalPressureBara(self) -> float: ... + def getLimitingFailureMode(self) -> 'TrappedLiquidFireRuptureResult.FailureMode': ... + def getMinimumFailureTimeSeconds(self) -> float: ... + def getPressureBara(self) -> java.util.List[float]: ... + def getRecommendations(self) -> java.util.List[java.lang.String]: ... + def getSegmentId(self) -> java.lang.String: ... + def getTimeSeconds(self) -> java.util.List[float]: ... + def getTimeToFlangeFailureSeconds(self) -> float: ... + def getTimeToPipeRuptureSeconds(self) -> float: ... + def getTimeToReliefSetSeconds(self) -> float: ... + def getTimeToVaporPocketSeconds(self) -> float: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isRupturePredicted(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toPassiveFireProtectionDemand(self, string: typing.Union[java.lang.String, str], double: float) -> jneqsim.process.safety.barrier.SafetySystemDemand: ... + class FailureMode(java.lang.Enum['TrappedLiquidFireRuptureResult.FailureMode']): + NONE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... + RELIEF_SET_PRESSURE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... + VAPOR_POCKET: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... + PIPE_RUPTURE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... + FLANGE_FAILURE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... + _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]) -> 'TrappedLiquidFireRuptureResult.FailureMode': ... + @staticmethod + def values() -> typing.MutableSequence['TrappedLiquidFireRuptureResult.FailureMode']: ... + +class TrappedLiquidFireRuptureStudy(java.io.Serializable): + @staticmethod + def builder() -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def run(self) -> TrappedLiquidFireRuptureResult: ... + class Builder: + def __init__(self): ... + def api5lMaterial(self, string: typing.Union[java.lang.String, str]) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def build(self) -> 'TrappedLiquidFireRuptureStudy': ... + def fireScenario(self, fireExposureScenario: FireExposureScenario) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def flangeClass(self, int: int) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def fluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def heatTransferCoefficients(self, double: float, double2: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def inventory(self, inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def liquidThermalProperties(self, double: float, double2: float, double3: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def material(self, materialStrengthCurve: MaterialStrengthCurve) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + @typing.overload + def pipeGeometry(self, double: float, double2: float, double3: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + @typing.overload + def pipeGeometry(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str], double3: float, string3: typing.Union[java.lang.String, str]) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def reliefSetPressure(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def segmentId(self, string: typing.Union[java.lang.String, str]) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def tensileStrengthFactor(self, double: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def timeControls(self, double: float, double2: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def vaporPocketDetectionEnabled(self, boolean: bool) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def wallThermalProperties(self, double: float, double2: float, double3: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.rupture")``. + + FireExposureScenario: typing.Type[FireExposureScenario] + MaterialStrengthCurve: typing.Type[MaterialStrengthCurve] + TrappedLiquidFireRuptureResult: typing.Type[TrappedLiquidFireRuptureResult] + TrappedLiquidFireRuptureStudy: typing.Type[TrappedLiquidFireRuptureStudy] diff --git a/src/jneqsim/process/safety/scenario/__init__.pyi b/src/jneqsim/process/safety/scenario/__init__.pyi new file mode 100644 index 00000000..a9cbe1f0 --- /dev/null +++ b/src/jneqsim/process/safety/scenario/__init__.pyi @@ -0,0 +1,206 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import jneqsim.process.safety +import jneqsim.process.safety.cfd +import jneqsim.process.safety.dispersion +import jneqsim.process.safety.inventory +import jneqsim.process.safety.release +import typing + + + +class AutomaticScenarioGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addFailureModes(self, *failureMode: 'AutomaticScenarioGenerator.FailureMode') -> 'AutomaticScenarioGenerator': ... + def enableAllFailureModes(self) -> 'AutomaticScenarioGenerator': ... + def generateCombinations(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def generateSingleFailures(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def getFailureModeSummary(self) -> java.lang.String: ... + def getIdentifiedFailures(self) -> java.util.List['AutomaticScenarioGenerator.EquipmentFailure']: ... + def runAllSingleFailures(self) -> java.util.List['AutomaticScenarioGenerator.ScenarioRunResult']: ... + def runScenarios(self, list: java.util.List[jneqsim.process.safety.ProcessSafetyScenario]) -> java.util.List['AutomaticScenarioGenerator.ScenarioRunResult']: ... + @staticmethod + def summarizeResults(list: java.util.List['AutomaticScenarioGenerator.ScenarioRunResult']) -> java.lang.String: ... + class EquipmentFailure(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], failureMode: 'AutomaticScenarioGenerator.FailureMode'): ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getMode(self) -> 'AutomaticScenarioGenerator.FailureMode': ... + def toString(self) -> java.lang.String: ... + class FailureMode(java.lang.Enum['AutomaticScenarioGenerator.FailureMode']): + COOLING_LOSS: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + HEATING_LOSS: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + VALVE_STUCK_CLOSED: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + VALVE_STUCK_OPEN: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + VALVE_CONTROL_FAILURE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + COMPRESSOR_TRIP: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + PUMP_TRIP: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + BLOCKED_OUTLET: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + POWER_FAILURE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + INSTRUMENT_FAILURE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + EXTERNAL_FIRE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + LOSS_OF_CONTAINMENT: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + def getCategory(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getHazopDeviation(self) -> 'AutomaticScenarioGenerator.HazopDeviation': ... + _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]) -> 'AutomaticScenarioGenerator.FailureMode': ... + @staticmethod + def values() -> typing.MutableSequence['AutomaticScenarioGenerator.FailureMode']: ... + class HazopDeviation(java.lang.Enum['AutomaticScenarioGenerator.HazopDeviation']): + NO_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + LESS_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + MORE_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + REVERSE_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + HIGH_PRESSURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + LOW_PRESSURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + LESS_PRESSURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + HIGH_TEMPERATURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + LOW_TEMPERATURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + HIGH_LEVEL: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + LOW_LEVEL: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + CONTAMINATION: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + CORROSION: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + OTHER: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... + _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]) -> 'AutomaticScenarioGenerator.HazopDeviation': ... + @staticmethod + def values() -> typing.MutableSequence['AutomaticScenarioGenerator.HazopDeviation']: ... + class ScenarioRunResult(java.io.Serializable): + @typing.overload + def __init__(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string: typing.Union[java.lang.String, str], long: int): ... + @typing.overload + def __init__(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], long: int): ... + def getErrorMessage(self) -> java.lang.String: ... + def getExecutionTimeMs(self) -> int: ... + def getResultValues(self) -> java.util.Map[java.lang.String, float]: ... + def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... + def isSuccessful(self) -> bool: ... + +class ReleaseDispersionScenarioGenerator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addWeatherCase(self, string: typing.Union[java.lang.String, str], boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'ReleaseDispersionScenarioGenerator': ... + def backPressure(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def boundaryConditions(self, boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'ReleaseDispersionScenarioGenerator': ... + def consequenceBranches(self, list: java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']) -> 'ReleaseDispersionScenarioGenerator': ... + @staticmethod + def defaultConsequenceBranches() -> java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']: ... + @staticmethod + def defaultReleaseTaxonomy() -> java.util.List['ReleaseDispersionScenarioGenerator.ReleaseCase']: ... + @staticmethod + def defaultWeatherEnvelope() -> java.util.List['ReleaseDispersionScenarioGenerator.WeatherCase']: ... + def fullBoreDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReleaseDispersionScenarioGenerator': ... + def generateCfdSourceTermCases(self) -> java.util.List[jneqsim.process.safety.cfd.CfdSourceTermCase]: ... + def generateScenarios(self) -> java.util.List['ReleaseDispersionScenarioGenerator.ReleaseDispersionScenario']: ... + @typing.overload + def holeDiameter(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + @typing.overload + def holeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReleaseDispersionScenarioGenerator': ... + def inventoryVolume(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def minimumMassFlowRate(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def minimumPressure(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def modelSelection(self, modelSelection: jneqsim.process.safety.dispersion.GasDispersionAnalyzer.ModelSelection) -> 'ReleaseDispersionScenarioGenerator': ... + def releaseCases(self, *releaseCase: 'ReleaseDispersionScenarioGenerator.ReleaseCase') -> 'ReleaseDispersionScenarioGenerator': ... + def releaseDuration(self, double: float, double2: float) -> 'ReleaseDispersionScenarioGenerator': ... + def releaseHeight(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def releaseOrientation(self, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation) -> 'ReleaseDispersionScenarioGenerator': ... + def toxicEndpoint(self, string: typing.Union[java.lang.String, str], double: float) -> 'ReleaseDispersionScenarioGenerator': ... + @typing.overload + def trappedInventory(self, inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult) -> 'ReleaseDispersionScenarioGenerator': ... + @typing.overload + def trappedInventory(self, trappedInventoryCalculator: jneqsim.process.safety.inventory.TrappedInventoryCalculator) -> 'ReleaseDispersionScenarioGenerator': ... + def useDefaultConsequenceBranches(self) -> 'ReleaseDispersionScenarioGenerator': ... + def useDefaultScenarioTaxonomy(self) -> 'ReleaseDispersionScenarioGenerator': ... + def useDefaultWeatherEnvelope(self) -> 'ReleaseDispersionScenarioGenerator': ... + def weatherCases(self, list: java.util.List['ReleaseDispersionScenarioGenerator.WeatherCase']) -> 'ReleaseDispersionScenarioGenerator': ... + class ConsequenceBranch(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 getBranchId(self) -> java.lang.String: ... + def getConditionalProbability(self) -> float: ... + def getConsequenceType(self) -> java.lang.String: ... + def getIgnitionTiming(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ReleaseCase(java.lang.Enum['ReleaseDispersionScenarioGenerator.ReleaseCase']): + CONFIGURED: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + FIVE_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + TEN_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + TWENTY_FIVE_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + FIFTY_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + FULL_BORE_RUPTURE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + FLANGE_LEAK: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + INSTRUMENT_LEAK: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + DROPPED_OBJECT_DAMAGE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + def getCaseName(self) -> java.lang.String: ... + def getCategory(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getScreeningFrequencyPerYear(self) -> float: ... + _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]) -> 'ReleaseDispersionScenarioGenerator.ReleaseCase': ... + @staticmethod + def values() -> typing.MutableSequence['ReleaseDispersionScenarioGenerator.ReleaseCase']: ... + class ReleaseDispersionScenario(java.io.Serializable): + 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], string5: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation, releaseCase: 'ReleaseDispersionScenarioGenerator.ReleaseCase', weatherCase: 'ReleaseDispersionScenarioGenerator.WeatherCase', sourceTermResult: jneqsim.process.safety.release.SourceTermResult, gasDispersionResult: jneqsim.process.safety.dispersion.GasDispersionResult, inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']): ... + def getBoundaryConditions(self) -> jneqsim.process.safety.BoundaryConditions: ... + def getComponentMoleFractions(self) -> java.util.Map[java.lang.String, float]: ... + def getConsequenceBranches(self) -> java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']: ... + def getDispersionResult(self) -> jneqsim.process.safety.dispersion.GasDispersionResult: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getHoleDiameterM(self) -> float: ... + def getInventoryVolumeM3(self) -> float: ... + def getProcessName(self) -> java.lang.String: ... + def getReleaseCaseCategory(self) -> java.lang.String: ... + def getReleaseCaseName(self) -> java.lang.String: ... + def getReleaseDurationSeconds(self) -> float: ... + def getReleaseFrequencyPerYear(self) -> float: ... + def getReleaseHeightM(self) -> float: ... + def getReleaseOrientation(self) -> jneqsim.process.safety.release.ReleaseOrientation: ... + def getScenarioName(self) -> java.lang.String: ... + def getSourceTerm(self) -> jneqsim.process.safety.release.SourceTermResult: ... + def getStreamMassFlowRateKgPerS(self) -> float: ... + def getStreamName(self) -> java.lang.String: ... + def getStreamPressureBara(self) -> float: ... + def getStreamTemperatureK(self) -> float: ... + def getTrappedInventoryResult(self) -> jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult: ... + def getWeatherCaseName(self) -> java.lang.String: ... + def hasFlammableCloud(self) -> bool: ... + def hasToxicEndpoint(self) -> bool: ... + def toCfdSourceTermCase(self) -> jneqsim.process.safety.cfd.CfdSourceTermCase: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class WeatherCase(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], boundaryConditions: jneqsim.process.safety.BoundaryConditions): ... + def getBoundaryConditions(self) -> jneqsim.process.safety.BoundaryConditions: ... + def getName(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.scenario")``. + + AutomaticScenarioGenerator: typing.Type[AutomaticScenarioGenerator] + ReleaseDispersionScenarioGenerator: typing.Type[ReleaseDispersionScenarioGenerator] diff --git a/src/jneqsim/process/streaming/__init__.pyi b/src/jneqsim/process/streaming/__init__.pyi new file mode 100644 index 00000000..8a47f9d6 --- /dev/null +++ b/src/jneqsim/process/streaming/__init__.pyi @@ -0,0 +1,94 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import java.util.function +import jneqsim.process.processmodel +import typing + + + +class StreamingDataInterface: + def clearHistory(self) -> None: ... + def getCurrentValue(self, string: typing.Union[java.lang.String, str]) -> 'TimestampedValue': ... + def getHistory(self, string: typing.Union[java.lang.String, str], duration: java.time.Duration) -> java.util.List['TimestampedValue']: ... + def getHistoryBatch(self, list: java.util.List[typing.Union[java.lang.String, str]], duration: java.time.Duration) -> java.util.Map[java.lang.String, java.util.List['TimestampedValue']]: ... + def getMonitoredTags(self) -> java.util.List[java.lang.String]: ... + def getStateVector(self) -> typing.MutableSequence[float]: ... + def getStateVectorLabels(self) -> typing.MutableSequence[java.lang.String]: ... + def isMonitored(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def publish(self, string: typing.Union[java.lang.String, str], timestampedValue: 'TimestampedValue') -> None: ... + def publishBatch(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TimestampedValue'], typing.Mapping[typing.Union[java.lang.String, str], 'TimestampedValue']]) -> None: ... + def setHistoryBufferSize(self, int: int) -> None: ... + def subscribeToUpdates(self, string: typing.Union[java.lang.String, str], consumer: typing.Union[java.util.function.Consumer['TimestampedValue'], typing.Callable[['TimestampedValue'], None]]) -> None: ... + def unsubscribeFromUpdates(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class TimestampedValue(java.io.Serializable): + @typing.overload + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, double: float, string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime]): ... + @typing.overload + def __init__(self, double: float, string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime], quality: 'TimestampedValue.Quality'): ... + def getQuality(self) -> 'TimestampedValue.Quality': ... + def getTimestamp(self) -> java.time.Instant: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def isUsable(self) -> bool: ... + @staticmethod + def simulated(double: float, string: typing.Union[java.lang.String, str]) -> 'TimestampedValue': ... + def toString(self) -> java.lang.String: ... + class Quality(java.lang.Enum['TimestampedValue.Quality']): + GOOD: typing.ClassVar['TimestampedValue.Quality'] = ... + UNCERTAIN: typing.ClassVar['TimestampedValue.Quality'] = ... + BAD: typing.ClassVar['TimestampedValue.Quality'] = ... + SIMULATED: typing.ClassVar['TimestampedValue.Quality'] = ... + ESTIMATED: typing.ClassVar['TimestampedValue.Quality'] = ... + _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]) -> 'TimestampedValue.Quality': ... + @staticmethod + def values() -> typing.MutableSequence['TimestampedValue.Quality']: ... + +class ProcessDataPublisher(StreamingDataInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addToStateVector(self, string: typing.Union[java.lang.String, str]) -> None: ... + def clearHistory(self) -> None: ... + def exportHistoryMatrix(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCurrentValue(self, string: typing.Union[java.lang.String, str]) -> TimestampedValue: ... + def getHistory(self, string: typing.Union[java.lang.String, str], duration: java.time.Duration) -> java.util.List[TimestampedValue]: ... + def getHistoryBatch(self, list: java.util.List[typing.Union[java.lang.String, str]], duration: java.time.Duration) -> java.util.Map[java.lang.String, java.util.List[TimestampedValue]]: ... + def getHistorySize(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getMonitoredTags(self) -> java.util.List[java.lang.String]: ... + def getStateVector(self) -> typing.MutableSequence[float]: ... + def getStateVectorLabels(self) -> typing.MutableSequence[java.lang.String]: ... + def isMonitored(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def publishBatch(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], TimestampedValue], typing.Mapping[typing.Union[java.lang.String, str], TimestampedValue]]) -> None: ... + def publishFromProcessSystem(self) -> None: ... + def setHistoryBufferSize(self, int: int) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def subscribeToUpdates(self, string: typing.Union[java.lang.String, str], consumer: typing.Union[java.util.function.Consumer[TimestampedValue], typing.Callable[[TimestampedValue], None]]) -> None: ... + def unsubscribeFromUpdates(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.streaming")``. + + ProcessDataPublisher: typing.Type[ProcessDataPublisher] + StreamingDataInterface: typing.Type[StreamingDataInterface] + TimestampedValue: typing.Type[TimestampedValue] diff --git a/src/jneqsim/process/sustainability/__init__.pyi b/src/jneqsim/process/sustainability/__init__.pyi new file mode 100644 index 00000000..75b89bf0 --- /dev/null +++ b/src/jneqsim/process/sustainability/__init__.pyi @@ -0,0 +1,84 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.processmodel +import typing + + + +class EmissionsTracker(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def calculateEmissions(self) -> 'EmissionsTracker.EmissionsReport': ... + def getCumulativeCO2e(self) -> float: ... + def getGridEmissionFactor(self) -> float: ... + def getHistory(self) -> java.util.List['EmissionsTracker.EmissionsSnapshot']: ... + def getNaturalGasEmissionFactor(self) -> float: ... + def isIncludeIndirectEmissions(self) -> bool: ... + def recordSnapshot(self) -> None: ... + def setGridEmissionFactor(self, double: float) -> None: ... + def setIncludeIndirectEmissions(self, boolean: bool) -> None: ... + def setNaturalGasEmissionFactor(self, double: float) -> None: ... + class EmissionCategory(java.lang.Enum['EmissionsTracker.EmissionCategory']): + FLARING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + COMBUSTION: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + COMPRESSION: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + EXPANSION: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + PUMPING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + HEATING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + COOLING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + VENTING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + OTHER: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... + _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]) -> 'EmissionsTracker.EmissionCategory': ... + @staticmethod + def values() -> typing.MutableSequence['EmissionsTracker.EmissionCategory']: ... + class EmissionsReport(java.io.Serializable): + timestamp: java.time.Instant = ... + processName: java.lang.String = ... + totalCO2eKgPerHr: float = ... + totalPowerKW: float = ... + totalHeatDutyKW: float = ... + equipmentEmissions: java.util.Map = ... + def __init__(self): ... + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getEmissionsByCategory(self) -> java.util.Map['EmissionsTracker.EmissionCategory', float]: ... + def getFlaringCO2e(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCO2e(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def toJson(self) -> java.lang.String: ... + class EmissionsSnapshot(java.io.Serializable): + timestamp: java.time.Instant = ... + totalCO2eKgPerHr: float = ... + totalPowerKW: float = ... + def __init__(self): ... + class EquipmentEmissions(java.io.Serializable): + equipmentName: java.lang.String = ... + equipmentType: java.lang.String = ... + category: 'EmissionsTracker.EmissionCategory' = ... + directCO2eKgPerHr: float = ... + indirectCO2eKgPerHr: float = ... + powerConsumptionKW: float = ... + heatDutyKW: float = ... + def __init__(self): ... + def getTotalCO2e(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.sustainability")``. + + EmissionsTracker: typing.Type[EmissionsTracker] diff --git a/src/jneqsim/process/synthesis/__init__.pyi b/src/jneqsim/process/synthesis/__init__.pyi new file mode 100644 index 00000000..7bdb590e --- /dev/null +++ b/src/jneqsim/process/synthesis/__init__.pyi @@ -0,0 +1,94 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import typing + + + +class CompressionDuty(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float): ... + def getDischargePressureBara(self) -> float: ... + def getFeed(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFinalCoolerTemperatureC(self) -> float: ... + def getInterstageCoolerTemperatureC(self) -> float: ... + def getMaxStageRatio(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPolytropicEfficiency(self) -> float: ... + def hasAfterCooler(self) -> bool: ... + def setAfterCooler(self, boolean: bool, double: float) -> 'CompressionDuty': ... + def setInterstageCoolerTemperatureC(self, double: float) -> 'CompressionDuty': ... + def setMaxStageRatio(self, double: float) -> 'CompressionDuty': ... + def setPolytropicEfficiency(self, double: float) -> 'CompressionDuty': ... + +class CompressionProposal(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, int: int, double: float, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def getPerStagePressureRatio(self) -> float: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getRationale(self) -> java.lang.String: ... + def getStageNames(self) -> java.util.List[java.lang.String]: ... + def getStages(self) -> int: ... + def toJson(self) -> java.lang.String: ... + +class FlowsheetProposal(java.io.Serializable): + def __init__(self, strategy: 'FlowsheetProposal.Strategy', string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, 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]], list: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + def getAlternatives(self) -> java.util.List[java.lang.String]: ... + def getBottomProductPredicted(self) -> java.util.Map[java.lang.String, float]: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getRationale(self) -> java.lang.String: ... + def getStrategy(self) -> 'FlowsheetProposal.Strategy': ... + def getTopProductPredicted(self) -> java.util.Map[java.lang.String, float]: ... + def isSpecsMet(self) -> bool: ... + def toJson(self) -> com.google.gson.JsonObject: ... + class Strategy(java.lang.Enum['FlowsheetProposal.Strategy']): + SINGLE_FLASH: typing.ClassVar['FlowsheetProposal.Strategy'] = ... + TWO_STAGE_FLASH: typing.ClassVar['FlowsheetProposal.Strategy'] = ... + DISTILLATION: typing.ClassVar['FlowsheetProposal.Strategy'] = ... + STRIPPER: typing.ClassVar['FlowsheetProposal.Strategy'] = ... + INFEASIBLE: typing.ClassVar['FlowsheetProposal.Strategy'] = ... + _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]) -> 'FlowsheetProposal.Strategy': ... + @staticmethod + def values() -> typing.MutableSequence['FlowsheetProposal.Strategy']: ... + +class FlowsheetSynthesisEngine: + ALPHA_DISTILLATION_THRESHOLD: typing.ClassVar[float] = ... + MIN_TRAYS: typing.ClassVar[int] = ... + MAX_TRAYS: typing.ClassVar[int] = ... + def __init__(self): ... + @staticmethod + def ensureRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + def proposeAndBuild(self, separationDuty: 'SeparationDuty') -> FlowsheetProposal: ... + def proposeAndBuildCompression(self, compressionDuty: CompressionDuty) -> CompressionProposal: ... + +class SeparationDuty(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, 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]], double: float): ... + def getBottomProductSpecs(self) -> java.util.Map[java.lang.String, float]: ... + def getFeed(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getName(self) -> java.lang.String: ... + def getOperatingPressureBara(self) -> float: ... + def getTopProductSpecs(self) -> java.util.Map[java.lang.String, float]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.synthesis")``. + + CompressionDuty: typing.Type[CompressionDuty] + CompressionProposal: typing.Type[CompressionProposal] + FlowsheetProposal: typing.Type[FlowsheetProposal] + FlowsheetSynthesisEngine: typing.Type[FlowsheetSynthesisEngine] + SeparationDuty: typing.Type[SeparationDuty] diff --git a/src/jneqsim/process/util/__init__.pyi b/src/jneqsim/process/util/__init__.pyi new file mode 100644 index 00000000..15feb5db --- /dev/null +++ b/src/jneqsim/process/util/__init__.pyi @@ -0,0 +1,121 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import com.google.gson +import java.io +import java.lang +import java.util +import jpype +import jpype.protocol +import jneqsim.process.controllerdevice +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.valve +import jneqsim.process.measurementdevice +import jneqsim.process.processmodel +import jneqsim.process.processmodel.dexpi +import jneqsim.process.util.event +import jneqsim.process.util.exergy +import jneqsim.process.util.export +import jneqsim.process.util.fielddevelopment +import jneqsim.process.util.fire +import jneqsim.process.util.heatintegration +import jneqsim.process.util.monitor +import jneqsim.process.util.optimizer +import jneqsim.process.util.reconciliation +import jneqsim.process.util.report +import jneqsim.process.util.scenario +import jneqsim.process.util.sensitivity +import jneqsim.process.util.topology +import jneqsim.process.util.uncertainty +import jneqsim.thermo.system +import typing + + + +class DualEosComparison(java.io.Serializable): + @typing.overload + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addCondition(self, double: float, double2: float) -> None: ... + def addConditionCelsius(self, double: float, double2: float) -> None: ... + def getAllFlags(self) -> java.util.List[java.lang.String]: ... + def getDeviationThreshold(self) -> float: ... + def getResults(self) -> java.util.List['DualEosComparison.ComparisonResult']: ... + def hasSignificantDeviations(self) -> bool: ... + def run(self) -> None: ... + def setDeviationThreshold(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class ComparisonResult(java.io.Serializable): + temperatureK: float = ... + pressureBara: float = ... + srkNumPhases: int = ... + pr78NumPhases: int = ... + srkDensity: float = ... + pr78Density: float = ... + srkGasZ: float = ... + pr78GasZ: float = ... + srkGasDensity: float = ... + pr78GasDensity: float = ... + srkGasMW: float = ... + pr78GasMW: float = ... + srkGasViscosity: float = ... + pr78GasViscosity: float = ... + srkLiqDensity: float = ... + pr78LiqDensity: float = ... + srkLiqViscosity: float = ... + pr78LiqViscosity: float = ... + srkGasFraction: float = ... + pr78GasFraction: float = ... + srkEnthalpy: float = ... + pr78Enthalpy: float = ... + srkCp: float = ... + pr78Cp: float = ... + flags: java.util.List = ... + def __init__(self): ... + def flagDeviations(self, double: float) -> None: ... + def toJson(self) -> com.google.gson.JsonObject: ... + +class DynamicProcessHelper: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addFlowController(self, string: typing.Union[java.lang.String, str], throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string2: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def addTemperatureController(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def exportDexpi(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getControllers(self) -> java.util.Map[java.lang.String, jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... + def getDefaultTimeStep(self) -> float: ... + def getTransmitter(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getTransmitters(self) -> java.util.Map[java.lang.String, jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def instrumentAndControl(self) -> None: ... + def readDexpiInstruments(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.util.List[jneqsim.process.processmodel.dexpi.DexpiInstrumentInfo]: ... + def setDefaultTimeStep(self, double: float) -> None: ... + def setFlowTuning(self, double: float, double2: float) -> None: ... + def setLevelTuning(self, double: float, double2: float) -> None: ... + def setPressureTuning(self, double: float, double2: float) -> None: ... + def setTemperatureTuning(self, double: float, double2: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util")``. + + DualEosComparison: typing.Type[DualEosComparison] + DynamicProcessHelper: typing.Type[DynamicProcessHelper] + event: jneqsim.process.util.event.__module_protocol__ + exergy: jneqsim.process.util.exergy.__module_protocol__ + export: jneqsim.process.util.export.__module_protocol__ + fielddevelopment: jneqsim.process.util.fielddevelopment.__module_protocol__ + fire: jneqsim.process.util.fire.__module_protocol__ + heatintegration: jneqsim.process.util.heatintegration.__module_protocol__ + monitor: jneqsim.process.util.monitor.__module_protocol__ + optimizer: jneqsim.process.util.optimizer.__module_protocol__ + reconciliation: jneqsim.process.util.reconciliation.__module_protocol__ + report: jneqsim.process.util.report.__module_protocol__ + scenario: jneqsim.process.util.scenario.__module_protocol__ + sensitivity: jneqsim.process.util.sensitivity.__module_protocol__ + topology: jneqsim.process.util.topology.__module_protocol__ + uncertainty: jneqsim.process.util.uncertainty.__module_protocol__ diff --git a/src/jneqsim/process/util/event/__init__.pyi b/src/jneqsim/process/util/event/__init__.pyi new file mode 100644 index 00000000..0a2c96bd --- /dev/null +++ b/src/jneqsim/process/util/event/__init__.pyi @@ -0,0 +1,116 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import typing + + + +class ProcessEvent(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], eventType: 'ProcessEvent.EventType', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], severity: 'ProcessEvent.Severity'): ... + @staticmethod + def alarm(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... + @staticmethod + def generateId() -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getEventId(self) -> java.lang.String: ... + def getProperties(self) -> java.util.Map[java.lang.String, typing.Any]: ... + _getProperty_1__T = typing.TypeVar('_getProperty_1__T') # + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str], class_: typing.Type[_getProperty_1__T]) -> _getProperty_1__T: ... + def getSeverity(self) -> 'ProcessEvent.Severity': ... + def getSource(self) -> java.lang.String: ... + def getTimestamp(self) -> java.time.Instant: ... + def getType(self) -> 'ProcessEvent.EventType': ... + @staticmethod + def info(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... + @staticmethod + def modelDeviation(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessEvent': ... + def setProperty(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessEvent': ... + @staticmethod + def thresholdCrossed(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> 'ProcessEvent': ... + def toString(self) -> java.lang.String: ... + @staticmethod + def warning(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... + class EventType(java.lang.Enum['ProcessEvent.EventType']): + THRESHOLD_CROSSED: typing.ClassVar['ProcessEvent.EventType'] = ... + STATE_CHANGE: typing.ClassVar['ProcessEvent.EventType'] = ... + ALARM: typing.ClassVar['ProcessEvent.EventType'] = ... + CALIBRATION: typing.ClassVar['ProcessEvent.EventType'] = ... + SIMULATION_COMPLETE: typing.ClassVar['ProcessEvent.EventType'] = ... + ERROR: typing.ClassVar['ProcessEvent.EventType'] = ... + WARNING: typing.ClassVar['ProcessEvent.EventType'] = ... + INFO: typing.ClassVar['ProcessEvent.EventType'] = ... + MEASUREMENT_UPDATE: typing.ClassVar['ProcessEvent.EventType'] = ... + MODEL_DEVIATION: typing.ClassVar['ProcessEvent.EventType'] = ... + _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]) -> 'ProcessEvent.EventType': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessEvent.EventType']: ... + class Severity(java.lang.Enum['ProcessEvent.Severity']): + DEBUG: typing.ClassVar['ProcessEvent.Severity'] = ... + INFO: typing.ClassVar['ProcessEvent.Severity'] = ... + WARNING: typing.ClassVar['ProcessEvent.Severity'] = ... + ERROR: typing.ClassVar['ProcessEvent.Severity'] = ... + CRITICAL: typing.ClassVar['ProcessEvent.Severity'] = ... + _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]) -> 'ProcessEvent.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessEvent.Severity']: ... + +class ProcessEventBus(java.io.Serializable): + def __init__(self): ... + def clearHistory(self) -> None: ... + def getEventsBySeverity(self, severity: ProcessEvent.Severity, int: int) -> java.util.List[ProcessEvent]: ... + def getEventsByType(self, eventType: ProcessEvent.EventType, int: int) -> java.util.List[ProcessEvent]: ... + def getHistorySize(self) -> int: ... + @staticmethod + def getInstance() -> 'ProcessEventBus': ... + def getRecentEvents(self, int: int) -> java.util.List[ProcessEvent]: ... + def publish(self, processEvent: ProcessEvent) -> None: ... + def publishAlarm(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def publishInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def publishWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def resetInstance() -> None: ... + def setAsyncDelivery(self, boolean: bool) -> None: ... + def setMaxHistorySize(self, int: int) -> None: ... + def shutdown(self) -> None: ... + @typing.overload + def subscribe(self, eventType: ProcessEvent.EventType, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + @typing.overload + def subscribe(self, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + @typing.overload + def unsubscribe(self, eventType: ProcessEvent.EventType, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + @typing.overload + def unsubscribe(self, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + +class ProcessEventListener: + def onEvent(self, processEvent: ProcessEvent) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.event")``. + + ProcessEvent: typing.Type[ProcessEvent] + ProcessEventBus: typing.Type[ProcessEventBus] + ProcessEventListener: typing.Type[ProcessEventListener] diff --git a/src/jneqsim/process/util/exergy/__init__.pyi b/src/jneqsim/process/util/exergy/__init__.pyi new file mode 100644 index 00000000..ed716f7d --- /dev/null +++ b/src/jneqsim/process/util/exergy/__init__.pyi @@ -0,0 +1,45 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class ExergyAnalysisReport(java.io.Serializable): + def __init__(self, double: float): ... + def addEntry(self, entry: 'ExergyAnalysisReport.Entry') -> None: ... + def getDestructionByArea(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getDestructionByType(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getEntries(self) -> java.util.List['ExergyAnalysisReport.Entry']: ... + def getSurroundingTemperatureK(self) -> float: ... + def getTopDestructionHotspots(self, int: int) -> java.util.List['ExergyAnalysisReport.Entry']: ... + def getTotalExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def size(self) -> int: ... + def toJson(self) -> java.lang.String: ... + @typing.overload + def toString(self) -> java.lang.String: ... + @typing.overload + def toString(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + class Entry(java.io.Serializable): + def __init__(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): ... + def getArea(self) -> java.lang.String: ... + def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyChangeJ(self) -> float: ... + def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyDestructionJ(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getType(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.exergy")``. + + ExergyAnalysisReport: typing.Type[ExergyAnalysisReport] diff --git a/src/jneqsim/process/util/export/__init__.pyi b/src/jneqsim/process/util/export/__init__.pyi new file mode 100644 index 00000000..45830704 --- /dev/null +++ b/src/jneqsim/process/util/export/__init__.pyi @@ -0,0 +1,79 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import datetime +import java.io +import java.lang +import java.time +import java.util +import jneqsim.process.processmodel +import typing + + + +class ProcessDelta(java.io.Serializable): + def __init__(self, processSnapshot: 'ProcessSnapshot', processSnapshot2: 'ProcessSnapshot'): ... + def apply(self, processSnapshot: 'ProcessSnapshot', string: typing.Union[java.lang.String, str]) -> 'ProcessSnapshot': ... + def getAllChanges(self) -> java.util.Map[java.lang.String, float]: ... + def getChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getChangeCount(self) -> int: ... + def getChangedMeasurements(self) -> java.util.Set[java.lang.String]: ... + def getFromSnapshotId(self) -> java.lang.String: ... + def getNewValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPreviousValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getRelativeChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getToSnapshotId(self) -> java.lang.String: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def hasChanges(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class ProcessSnapshot(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime]): ... + def diff(self, processSnapshot: 'ProcessSnapshot') -> ProcessDelta: ... + def getAllMeasurements(self) -> java.util.Map[java.lang.String, float]: ... + def getDescription(self) -> java.lang.String: ... + def getMeasurement(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getMeasurementUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getSnapshotId(self) -> java.lang.String: ... + def getState(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getTimestamp(self) -> java.time.Instant: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMeasurement(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setState(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def toString(self) -> java.lang.String: ... + +class TimeSeriesExporter: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def clearData(self) -> None: ... + def collectSnapshot(self) -> None: ... + def createSnapshot(self, string: typing.Union[java.lang.String, str]) -> ProcessSnapshot: ... + def exportForAIPlatform(self, list: java.util.List[typing.Union[java.lang.String, str]], instant: typing.Union[java.time.Instant, datetime.datetime]) -> java.lang.String: ... + def exportMatrix(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def exportToCsv(self) -> java.lang.String: ... + def exportToJson(self) -> java.lang.String: ... + def getCollectedData(self) -> java.util.List['TimeSeriesExporter.TimeSeriesPoint']: ... + def getDataPointCount(self) -> int: ... + def importFromHistorian(self, string: typing.Union[java.lang.String, str]) -> None: ... + class TimeSeriesPoint: + def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime]): ... + def addValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def getQualities(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getTimestampMillis(self) -> int: ... + def getUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getValues(self) -> java.util.Map[java.lang.String, float]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.export")``. + + ProcessDelta: typing.Type[ProcessDelta] + ProcessSnapshot: typing.Type[ProcessSnapshot] + TimeSeriesExporter: typing.Type[TimeSeriesExporter] diff --git a/src/jneqsim/process/util/fielddevelopment/__init__.pyi b/src/jneqsim/process/util/fielddevelopment/__init__.pyi new file mode 100644 index 00000000..635a8753 --- /dev/null +++ b/src/jneqsim/process/util/fielddevelopment/__init__.pyi @@ -0,0 +1,645 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.time +import java.util +import java.util.function +import jpype +import jneqsim.process.costestimation +import jneqsim.process.equipment.reservoir +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.process.util.optimizer +import typing + + + +class BiorefineryCostEstimator(java.io.Serializable): + def __init__(self): ... + def addEquipment(self, biorefineryEquipment: 'BiorefineryCostEstimator.BiorefineryEquipment', double: float) -> None: ... + def calculate(self) -> None: ... + def calculateEquipmentCost(self, biorefineryEquipment: 'BiorefineryCostEstimator.BiorefineryEquipment', double: float) -> float: ... + def getAnnualFeedstockCostUSD(self) -> float: ... + def getAnnualOpexUSD(self) -> float: ... + def getAnnualRevenueUSD(self) -> float: ... + def getBiomassPrice(self) -> float: ... + def getLCOE(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTotalCapexUSD(self) -> float: ... + def getTotalInstalledCostUSD(self) -> float: ... + def getTotalPurchasedEquipmentCostUSD(self) -> float: ... + def isCalculated(self) -> bool: ... + def setAnnualProductionNm3(self, double: float) -> None: ... + def setBiomassConsumptionTonnesPerYear(self, double: float) -> None: ... + def setBiomassPrice(self, double: float) -> None: ... + def setContingencyFraction(self, double: float) -> None: ... + def setCostEscalationIndex(self, double: float) -> None: ... + def setInsuranceFraction(self, double: float) -> None: ... + def setLabourCostFraction(self, double: float) -> None: ... + def setLocationFactor(self, double: float) -> None: ... + def setMaintenanceCostFraction(self, double: float) -> None: ... + def setProduct(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setProductPrice(self, double: float) -> None: ... + def setUtilityCost(self, double: float, double2: float) -> None: ... + def toDCFCalculator(self, int: int, double: float) -> 'DCFCalculator': ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class BiorefineryEquipment(java.lang.Enum['BiorefineryCostEstimator.BiorefineryEquipment']): + ANAEROBIC_DIGESTER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + BIOGAS_UPGRADER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + BIOMASS_GASIFIER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + PYROLYSIS_REACTOR: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + BIOMASS_DRYER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + GAS_CLEANUP: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + CHP_ENGINE: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + FEEDSTOCK_HANDLING: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + def getBaseCapacity(self) -> float: ... + def getBaseCostUSD(self) -> float: ... + def getCapacityUnit(self) -> java.lang.String: ... + def getDisplayName(self) -> java.lang.String: ... + def getInstallationFactor(self) -> float: ... + def getScalingExponent(self) -> float: ... + _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]) -> 'BiorefineryCostEstimator.BiorefineryEquipment': ... + @staticmethod + def values() -> typing.MutableSequence['BiorefineryCostEstimator.BiorefineryEquipment']: ... + +class DCFCalculator(java.io.Serializable): + def __init__(self): ... + def addCapex(self, int: int, double: float) -> None: ... + def calculate(self) -> None: ... + def getAnnualCashFlow(self) -> typing.MutableSequence[float]: ... + def getCumulativeCashFlow(self) -> typing.MutableSequence[float]: ... + def getDiscountRate(self) -> float: ... + def getDiscountedCashFlow(self) -> typing.MutableSequence[float]: ... + def getIRR(self) -> float: ... + def getNPV(self) -> float: ... + def getPaybackYear(self) -> int: ... + def getProfitabilityIndex(self) -> float: ... + def setAnnualOpex(self, double: float) -> None: ... + def setAnnualProduction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCapexByYear(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDepreciationYears(self, double: float) -> None: ... + def setDiscountRate(self, double: float) -> None: ... + def setInflationRate(self, double: float) -> None: ... + def setOpexByYear(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setProductPrice(self, double: float) -> None: ... + def setProjectLifeYears(self, int: int) -> None: ... + def setRoyaltyRate(self, double: float) -> None: ... + def setTaxRate(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class FacilityCapacity(java.io.Serializable): + DEFAULT_NEAR_BOTTLENECK_THRESHOLD: typing.ClassVar[float] = ... + DEFAULT_CAPACITY_INCREASE_FACTOR: typing.ClassVar[float] = ... + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def analyzeOverFieldLife(self, productionForecast: 'ProductionProfile.ProductionForecast', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> java.util.List['FacilityCapacity.CapacityPeriod']: ... + def assess(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'FacilityCapacity.CapacityAssessment': ... + def calculateDebottleneckNPV(self, debottleneckOption: 'FacilityCapacity.DebottleneckOption', double: float, double2: float, double3: float, int: int) -> float: ... + def compareDebottleneckScenarios(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['FacilityCapacity.DebottleneckOption'], double: float, double2: float, string: typing.Union[java.lang.String, str]) -> jneqsim.process.util.optimizer.ProductionOptimizer.ScenarioComparisonResult: ... + def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getNearBottleneckThreshold(self) -> float: ... + def setCapacityIncreaseFactor(self, double: float) -> None: ... + def setCostFactorForName(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setCostFactorForType(self, class_: typing.Type[typing.Any], double: float) -> None: ... + def setNearBottleneckThreshold(self, double: float) -> None: ... + class CapacityAssessment(java.io.Serializable): + def __init__(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double2: float, list: java.util.List[jneqsim.process.util.optimizer.ProductionOptimizer.UtilizationRecord], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List['FacilityCapacity.DebottleneckOption'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], boolean: bool): ... + def getBottleneckUtilization(self) -> float: ... + def getCurrentBottleneck(self) -> java.lang.String: ... + def getCurrentMaxRate(self) -> float: ... + def getDebottleneckOptions(self) -> java.util.List['FacilityCapacity.DebottleneckOption']: ... + def getEquipmentHeadroom(self) -> java.util.Map[java.lang.String, float]: ... + def getNearBottlenecks(self) -> java.util.List[java.lang.String]: ... + def getRateUnit(self) -> java.lang.String: ... + def getTopOptions(self, int: int) -> java.util.List['FacilityCapacity.DebottleneckOption']: ... + def getTotalPotentialGain(self) -> float: ... + def getUtilizationRecords(self) -> java.util.List[jneqsim.process.util.optimizer.ProductionOptimizer.UtilizationRecord]: ... + def isFeasible(self) -> bool: ... + def toMarkdown(self) -> java.lang.String: ... + class CapacityPeriod(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], double3: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + def getBottleneckEquipment(self) -> java.lang.String: ... + def getBottleneckUtilization(self) -> float: ... + def getEquipmentUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def getMaxFacilityRate(self) -> float: ... + def getNearBottlenecks(self) -> java.util.List[java.lang.String]: ... + def getPeriodName(self) -> java.lang.String: ... + def getRateUnit(self) -> java.lang.String: ... + def getTime(self) -> float: ... + def getTimeUnit(self) -> java.lang.String: ... + def isFacilityConstrained(self) -> bool: ... + class DebottleneckOption(java.io.Serializable, java.lang.Comparable['FacilityCapacity.DebottleneckOption']): + def __init__(self, string: typing.Union[java.lang.String, str], class_: typing.Type[typing.Any], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, string3: typing.Union[java.lang.String, str], double5: float, string4: typing.Union[java.lang.String, str], double6: float, double7: float): ... + def compareTo(self, debottleneckOption: 'FacilityCapacity.DebottleneckOption') -> int: ... + def getCapacityIncreasePercent(self) -> float: ... + def getCapex(self) -> float: ... + def getCurrency(self) -> java.lang.String: ... + def getCurrentCapacity(self) -> float: ... + def getCurrentUtilization(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> typing.Type[typing.Any]: ... + def getIncrementalProduction(self) -> float: ... + def getNpv(self) -> float: ... + def getPaybackYears(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getUpgradedCapacity(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class FieldDevelopmentCostEstimator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def compareConceptCosts(self, list: java.util.List[jneqsim.process.processmodel.ProcessSystem]) -> java.util.List['FieldDevelopmentCostEstimator.FieldDevelopmentCostReport']: ... + def estimateDevelopmentCosts(self) -> 'FieldDevelopmentCostEstimator.FieldDevelopmentCostReport': ... + def getCostCalculator(self) -> jneqsim.process.costestimation.CostEstimationCalculator: ... + def getFidelityLevel(self) -> 'FieldDevelopmentCostEstimator.FidelityLevel': ... + def scaleCapexByCapacity(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> float: ... + def setComplexityFactor(self, double: float) -> None: ... + def setConceptType(self, conceptType: 'FieldDevelopmentCostEstimator.ConceptType') -> None: ... + def setFidelityLevel(self, fidelityLevel: 'FieldDevelopmentCostEstimator.FidelityLevel') -> None: ... + def setLocationFactor(self, double: float) -> None: ... + def setSubseaParameters(self, double: float, double2: float) -> None: ... + def setWellParameters(self, int: int, int2: int, double: float) -> None: ... + class ConceptType(java.lang.Enum['FieldDevelopmentCostEstimator.ConceptType']): + FIXED_PLATFORM: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + FPSO: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + SEMI_SUBMERSIBLE: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + TLP: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + SUBSEA_TIEBACK: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + ONSHORE: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + def getCostFactor(self) -> float: ... + _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]) -> 'FieldDevelopmentCostEstimator.ConceptType': ... + @staticmethod + def values() -> typing.MutableSequence['FieldDevelopmentCostEstimator.ConceptType']: ... + class EquipmentCostItem(java.io.Serializable): + def __init__(self): ... + def getInstalledCost(self) -> float: ... + def getManHours(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPurchasedCost(self) -> float: ... + def getType(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def setInstalledCost(self, double: float) -> None: ... + def setManHours(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPurchasedCost(self, double: float) -> None: ... + def setType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWeight(self, double: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class FidelityLevel(java.lang.Enum['FieldDevelopmentCostEstimator.FidelityLevel']): + SCREENING: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... + CONCEPTUAL: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... + PRE_FEED: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... + FEED: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... + def getAccuracyBand(self) -> float: ... + def getDisplayName(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]) -> 'FieldDevelopmentCostEstimator.FidelityLevel': ... + @staticmethod + def values() -> typing.MutableSequence['FieldDevelopmentCostEstimator.FidelityLevel']: ... + class FieldDevelopmentCostReport(java.io.Serializable): + def __init__(self): ... + def addEquipmentItem(self, equipmentCostItem: 'FieldDevelopmentCostEstimator.EquipmentCostItem') -> None: ... + def calculateTotals(self) -> None: ... + def getAccuracyBand(self) -> float: ... + def getConceptName(self) -> java.lang.String: ... + def getCostByCategory(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentItems(self) -> java.util.List['FieldDevelopmentCostEstimator.EquipmentCostItem']: ... + def getFacilitiesCapex(self) -> float: ... + def getFootprintArea(self) -> float: ... + def getHighEstimate(self) -> float: ... + def getLowEstimate(self) -> float: ... + def getSubseaCapex(self) -> float: ... + def getTotalCapex(self) -> float: ... + def getTotalManHours(self) -> float: ... + def getTotalWeight(self) -> float: ... + def setAccuracyBand(self, double: float) -> None: ... + def setConceptName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConceptType(self, conceptType: 'FieldDevelopmentCostEstimator.ConceptType') -> None: ... + def setFacilitiesCapex(self, double: float) -> None: ... + def setFidelityLevel(self, fidelityLevel: 'FieldDevelopmentCostEstimator.FidelityLevel') -> None: ... + def setSubseaCapex(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMarkdownTable(self) -> java.lang.String: ... + +class FieldProductionScheduler(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir) -> 'FieldProductionScheduler': ... + @typing.overload + def addReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def generateSchedule(self, localDate: java.time.LocalDate, double: float, double2: float) -> 'FieldProductionScheduler.ProductionSchedule': ... + def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getName(self) -> java.lang.String: ... + def getReservoirs(self) -> java.util.List['FieldProductionScheduler.ReservoirRecord']: ... + def getWellScheduler(self) -> 'WellScheduler': ... + def setDiscountRate(self, double: float) -> 'FieldProductionScheduler': ... + def setFacility(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'FieldProductionScheduler': ... + def setGasPrice(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def setLowPressureLimit(self, double: float) -> 'FieldProductionScheduler': ... + def setMinimumRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def setOilPrice(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def setOperatingCost(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def setPlateauDuration(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def setPlateauRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... + def setRespectFacilityConstraints(self, boolean: bool) -> 'FieldProductionScheduler': ... + def setTrackReservoirDepletion(self, boolean: bool) -> 'FieldProductionScheduler': ... + def setWellScheduler(self, wellScheduler: 'WellScheduler') -> 'FieldProductionScheduler': ... + class ProductionSchedule(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], localDate: java.time.LocalDate, string2: typing.Union[java.lang.String, str]): ... + def getCumulativeGas(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCumulativeOil(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFieldLife(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFieldName(self) -> java.lang.String: ... + def getGrossRevenue(self) -> float: ... + def getNPV(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getStartDate(self) -> java.time.LocalDate: ... + def getSteps(self) -> java.util.List['FieldProductionScheduler.ScheduleStep']: ... + def toCsv(self) -> java.lang.String: ... + def toMarkdownTable(self) -> java.lang.String: ... + class ReservoirRecord(java.io.Serializable): + def __init__(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string: typing.Union[java.lang.String, str]): ... + def getCurrentPressure(self) -> float: ... + def getFluidType(self) -> java.lang.String: ... + def getInitialPressure(self) -> float: ... + def getReservoir(self) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + class ScheduleStep(java.io.Serializable): + def __init__(self, localDate: java.time.LocalDate, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, string: typing.Union[java.lang.String, str], double10: float, double11: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def getCumulativeGas(self) -> float: ... + def getCumulativeOil(self) -> float: ... + def getCumulativeWater(self) -> float: ... + def getDate(self) -> java.time.LocalDate: ... + def getDiscountedRevenue(self) -> float: ... + def getFacilityUtilization(self) -> float: ... + def getGasRate(self) -> float: ... + def getLimitingFactor(self) -> java.lang.String: ... + def getOilRate(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def getRevenue(self) -> float: ... + def getTimeYears(self) -> float: ... + def getWaterRate(self) -> float: ... + def getWellRates(self) -> java.util.Map[java.lang.String, float]: ... + +class ProductionProfile(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @staticmethod + def calculateCumulativeProduction(declineParameters: 'ProductionProfile.DeclineParameters', double: float) -> float: ... + @staticmethod + def calculateRate(declineParameters: 'ProductionProfile.DeclineParameters', double: float) -> float: ... + def fitDecline(self, list: java.util.List[float], list2: java.util.List[float], declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str]) -> 'ProductionProfile.DeclineParameters': ... + def forecast(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, declineParameters: 'ProductionProfile.DeclineParameters', double: float, double2: float, double3: float, double4: float, double5: float) -> 'ProductionProfile.ProductionForecast': ... + def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... + class DeclineParameters(java.io.Serializable): + @typing.overload + def __init__(self, double: float, double2: float, double3: float, declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, double: float, double2: float, declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str]): ... + def getDeclineRate(self) -> float: ... + def getHyperbolicExponent(self) -> float: ... + def getInitialRate(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getTimeUnit(self) -> java.lang.String: ... + def getType(self) -> 'ProductionProfile.DeclineType': ... + def toString(self) -> java.lang.String: ... + def withInitialRate(self, double: float) -> 'ProductionProfile.DeclineParameters': ... + class DeclineType(java.lang.Enum['ProductionProfile.DeclineType']): + EXPONENTIAL: typing.ClassVar['ProductionProfile.DeclineType'] = ... + HYPERBOLIC: typing.ClassVar['ProductionProfile.DeclineType'] = ... + HARMONIC: typing.ClassVar['ProductionProfile.DeclineType'] = ... + _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]) -> 'ProductionProfile.DeclineType': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionProfile.DeclineType']: ... + class ProductionForecast(java.io.Serializable): + def __init__(self, list: java.util.List['ProductionProfile.ProductionPoint'], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, declineParameters: 'ProductionProfile.DeclineParameters'): ... + def getActualPlateauDuration(self) -> float: ... + def getActualPlateauRate(self) -> float: ... + def getDeclineParams(self) -> 'ProductionProfile.DeclineParameters': ... + def getEconomicLifeYears(self) -> float: ... + def getEconomicLimit(self) -> float: ... + def getPlateauDuration(self) -> float: ... + def getPlateauRate(self) -> float: ... + def getProfile(self) -> java.util.List['ProductionProfile.ProductionPoint']: ... + def getTotalRecovery(self) -> float: ... + def toCSV(self) -> java.lang.String: ... + def toMarkdownTable(self) -> java.lang.String: ... + class ProductionPoint(java.io.Serializable): + def __init__(self, double: float, string: typing.Union[java.lang.String, str], double2: float, double3: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double4: float, boolean: bool, boolean2: bool): ... + def getBottleneckEquipment(self) -> java.lang.String: ... + def getCumulativeProduction(self) -> float: ... + def getFacilityUtilization(self) -> float: ... + def getRate(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getTime(self) -> float: ... + def getTimeUnit(self) -> java.lang.String: ... + def isAboveEconomicLimit(self) -> bool: ... + def isOnPlateau(self) -> bool: ... + +class SensitivityAnalysis(java.io.Serializable): + DEFAULT_NUMBER_OF_TRIALS: typing.ClassVar[int] = ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, random: java.util.Random): ... + def addParameter(self, uncertainParameter: 'SensitivityAnalysis.UncertainParameter') -> 'SensitivityAnalysis': ... + def clearParameters(self) -> 'SensitivityAnalysis': ... + def getBaseProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getParameters(self) -> java.util.List['SensitivityAnalysis.UncertainParameter']: ... + def runMonteCarloOptimization(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], float]], sensitivityConfig: 'SensitivityAnalysis.SensitivityConfig') -> 'SensitivityAnalysis.MonteCarloResult': ... + def runSpiderAnalysis(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], int: int, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], float]]) -> java.util.Map[java.lang.String, java.util.List['SensitivityAnalysis.SpiderPoint']]: ... + def runTornadoAnalysis(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], float]]) -> java.util.Map[java.lang.String, float]: ... + def setRng(self, random: java.util.Random) -> None: ... + class DistributionType(java.lang.Enum['SensitivityAnalysis.DistributionType']): + NORMAL: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... + LOGNORMAL: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... + TRIANGULAR: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... + UNIFORM: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... + _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]) -> 'SensitivityAnalysis.DistributionType': ... + @staticmethod + def values() -> typing.MutableSequence['SensitivityAnalysis.DistributionType']: ... + class MonteCarloResult(java.io.Serializable): + def __init__(self, list: java.util.List['SensitivityAnalysis.TrialResult'], map: 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], string2: typing.Union[java.lang.String, str]): ... + def getConvergedCount(self) -> int: ... + def getFeasibleCount(self) -> int: ... + def getHistogramData(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMax(self) -> float: ... + def getMean(self) -> float: ... + def getMin(self) -> float: ... + def getMostSensitiveParameters(self) -> java.util.List[java.lang.String]: ... + def getOutputName(self) -> java.lang.String: ... + def getOutputUnit(self) -> java.lang.String: ... + def getP10(self) -> float: ... + def getP50(self) -> float: ... + def getP90(self) -> float: ... + def getPercentile(self, double: float) -> float: ... + def getStdDev(self) -> float: ... + def getTornadoSensitivities(self) -> java.util.Map[java.lang.String, float]: ... + def getTrials(self) -> java.util.List['SensitivityAnalysis.TrialResult']: ... + def toCSV(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... + def toSummaryMarkdown(self) -> java.lang.String: ... + def toTornadoMarkdown(self) -> java.lang.String: ... + class SensitivityConfig(java.io.Serializable): + def __init__(self): ... + def getNumberOfTrials(self) -> int: ... + def getParallelThreads(self) -> int: ... + def getRandomSeed(self) -> int: ... + def includeBaseCase(self, boolean: bool) -> 'SensitivityAnalysis.SensitivityConfig': ... + def isIncludeBaseCase(self) -> bool: ... + def isParallel(self) -> bool: ... + def isUseFixedSeed(self) -> bool: ... + def numberOfTrials(self, int: int) -> 'SensitivityAnalysis.SensitivityConfig': ... + def parallel(self, boolean: bool) -> 'SensitivityAnalysis.SensitivityConfig': ... + def parallelThreads(self, int: int) -> 'SensitivityAnalysis.SensitivityConfig': ... + def randomSeed(self, long: int) -> 'SensitivityAnalysis.SensitivityConfig': ... + class SpiderPoint(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float): ... + def getNormalizedParameter(self) -> float: ... + def getOutputValue(self) -> float: ... + def getParameterValue(self) -> float: ... + class TrialResult(java.io.Serializable, java.lang.Comparable['SensitivityAnalysis.TrialResult']): + def __init__(self, int: int, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, string: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + def compareTo(self, trialResult: 'SensitivityAnalysis.TrialResult') -> int: ... + def getBottleneck(self) -> java.lang.String: ... + def getOutputValue(self) -> float: ... + def getSampledParameters(self) -> java.util.Map[java.lang.String, float]: ... + def getTrialNumber(self) -> int: ... + def isConverged(self) -> bool: ... + def isFeasible(self) -> bool: ... + class UncertainParameter(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, distributionType: 'SensitivityAnalysis.DistributionType', string2: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]): ... + def apply(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> None: ... + def getDistribution(self) -> 'SensitivityAnalysis.DistributionType': ... + def getName(self) -> java.lang.String: ... + def getP10(self) -> float: ... + def getP50(self) -> float: ... + def getP90(self) -> float: ... + def getRange(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + @staticmethod + def lognormal(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + @staticmethod + def normal(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + def sample(self, random: java.util.Random) -> float: ... + def toString(self) -> java.lang.String: ... + @typing.overload + @staticmethod + def triangular(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + @typing.overload + @staticmethod + def triangular(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + @staticmethod + def uniform(string: typing.Union[java.lang.String, str], double: float, double2: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + +class SustainabilityMetrics(java.io.Serializable): + def __init__(self): ... + def addEmission(self, emissionSource: 'SustainabilityMetrics.EmissionSource', string: typing.Union[java.lang.String, str], double: float) -> None: ... + def calculate(self) -> None: ... + def clearCustomEmissions(self) -> None: ... + def getCarbonIntensityKgCO2PerMWh(self) -> float: ... + def getEnergyReturnOnInvestment(self) -> float: ... + def getFossilFuelDisplacementTCO2PerYear(self) -> float: ... + def getNetCarbonBalanceTCO2PerYear(self) -> float: ... + def getNetEnergyProductionMWhPerYear(self) -> float: ... + def getRenewableEnergyFraction(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTotalEmissionsTCO2eqPerYear(self) -> float: ... + def isCalculated(self) -> bool: ... + def setBiogasProductionNm3PerYear(self, double: float) -> None: ... + def setBiomethaneProductionNm3PerYear(self, double: float) -> None: ... + def setDieselConsumptionLPerYear(self, double: float) -> None: ... + def setDigestateNitrogenKgPerYear(self, double: float) -> None: ... + def setElectricityProductionMWhPerYear(self, double: float) -> None: ... + def setFeedstockTransport(self, double: float, double2: float) -> None: ... + def setFossilGasEmissionFactor(self, double: float) -> None: ... + def setFossilHeatEmissionFactor(self, double: float) -> None: ... + def setFossilReferenceEmissionFactor(self, double: float) -> None: ... + def setGridElectricityEmissionFactor(self, double: float) -> None: ... + def setHeatProductionMWhPerYear(self, double: float) -> None: ... + def setImportedElectricityMWhPerYear(self, double: float) -> None: ... + def setMethaneContentFraction(self, double: float) -> None: ... + def setMethaneSlipPercent(self, double: float) -> None: ... + def setN2OEmissionFraction(self, double: float) -> None: ... + def setParasiticElectricityMWhPerYear(self, double: float) -> None: ... + def setParasiticHeatMWhPerYear(self, double: float) -> None: ... + def setTransportEmissionFactor(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class EmissionSource(java.lang.Enum['SustainabilityMetrics.EmissionSource']): + METHANE_SLIP: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + FLARING: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + GRID_ELECTRICITY: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + DIESEL_TRANSPORT: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + N2O_DIGESTATE: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + FEEDSTOCK_TRANSPORT: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + CUSTOM: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... + _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]) -> 'SustainabilityMetrics.EmissionSource': ... + @staticmethod + def values() -> typing.MutableSequence['SustainabilityMetrics.EmissionSource']: ... + +class WellScheduler(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addWell(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'WellScheduler.WellRecord': ... + def calculateSystemAvailability(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> float: ... + def getAllInterventions(self) -> java.util.List['WellScheduler.Intervention']: ... + def getAllWells(self) -> java.util.Collection['WellScheduler.WellRecord']: ... + def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getReservoir(self) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + def getTotalPotentialOn(self, localDate: java.time.LocalDate) -> float: ... + def getWell(self, string: typing.Union[java.lang.String, str]) -> 'WellScheduler.WellRecord': ... + def optimizeSchedule(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate, int: int) -> 'WellScheduler.ScheduleResult': ... + def scheduleIntervention(self, intervention: 'WellScheduler.Intervention') -> None: ... + def setDefaultRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + class Intervention(java.io.Serializable, java.lang.Comparable['WellScheduler.Intervention']): + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'WellScheduler.Intervention.Builder': ... + def compareTo(self, intervention: 'WellScheduler.Intervention') -> int: ... + def getCost(self) -> float: ... + def getCurrency(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getDurationDays(self) -> int: ... + def getEndDate(self) -> java.time.LocalDate: ... + def getExpectedProductionGain(self) -> float: ... + def getPriority(self) -> int: ... + def getStartDate(self) -> java.time.LocalDate: ... + def getType(self) -> 'WellScheduler.InterventionType': ... + def getWellName(self) -> java.lang.String: ... + def isActiveOn(self, localDate: java.time.LocalDate) -> bool: ... + def overlaps(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def build(self) -> 'WellScheduler.Intervention': ... + def cost(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellScheduler.Intervention.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'WellScheduler.Intervention.Builder': ... + def durationDays(self, int: int) -> 'WellScheduler.Intervention.Builder': ... + def expectedGain(self, double: float) -> 'WellScheduler.Intervention.Builder': ... + def priority(self, int: int) -> 'WellScheduler.Intervention.Builder': ... + def startDate(self, localDate: java.time.LocalDate) -> 'WellScheduler.Intervention.Builder': ... + def type(self, interventionType: 'WellScheduler.InterventionType') -> 'WellScheduler.Intervention.Builder': ... + class InterventionType(java.lang.Enum['WellScheduler.InterventionType']): + COILED_TUBING: typing.ClassVar['WellScheduler.InterventionType'] = ... + WIRELINE: typing.ClassVar['WellScheduler.InterventionType'] = ... + HYDRAULIC_WORKOVER: typing.ClassVar['WellScheduler.InterventionType'] = ... + RIG_WORKOVER: typing.ClassVar['WellScheduler.InterventionType'] = ... + STIMULATION: typing.ClassVar['WellScheduler.InterventionType'] = ... + ARTIFICIAL_LIFT_INSTALL: typing.ClassVar['WellScheduler.InterventionType'] = ... + WATER_SHUT_OFF: typing.ClassVar['WellScheduler.InterventionType'] = ... + SCALE_TREATMENT: typing.ClassVar['WellScheduler.InterventionType'] = ... + PLUG_AND_ABANDON: typing.ClassVar['WellScheduler.InterventionType'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getMaxDurationDays(self) -> int: ... + def getMinDurationDays(self) -> int: ... + _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]) -> 'WellScheduler.InterventionType': ... + @staticmethod + def values() -> typing.MutableSequence['WellScheduler.InterventionType']: ... + class ScheduleResult(java.io.Serializable): + def __init__(self, list: java.util.List['WellScheduler.Intervention'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, double2: float, map2: typing.Union[java.util.Map[java.time.LocalDate, float], typing.Mapping[java.time.LocalDate, float]], map3: typing.Union[java.util.Map[java.time.LocalDate, typing.Union[java.lang.String, str]], typing.Mapping[java.time.LocalDate, typing.Union[java.lang.String, str]]], double3: float, string: typing.Union[java.lang.String, str]): ... + def getDailyBottleneck(self) -> java.util.Map[java.time.LocalDate, java.lang.String]: ... + def getDailyFacilityRate(self) -> java.util.Map[java.time.LocalDate, float]: ... + def getNetProductionImpact(self) -> float: ... + def getOptimizedSchedule(self) -> java.util.List['WellScheduler.Intervention']: ... + def getOverallAvailability(self) -> float: ... + def getTotalDeferredProduction(self) -> float: ... + def getTotalProductionGain(self) -> float: ... + def getWellUptime(self) -> java.util.Map[java.lang.String, float]: ... + def toGanttMarkdown(self) -> java.lang.String: ... + def toMarkdownTable(self) -> java.lang.String: ... + class WellRecord(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]): ... + def addIntervention(self, intervention: 'WellScheduler.Intervention') -> None: ... + def calculateAvailability(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> float: ... + def getCurrentPotential(self) -> float: ... + def getCurrentStatus(self) -> 'WellScheduler.WellStatus': ... + def getInterventionsInRange(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> java.util.List['WellScheduler.Intervention']: ... + def getOriginalPotential(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getScheduledInterventions(self) -> java.util.List['WellScheduler.Intervention']: ... + def getStatusOn(self, localDate: java.time.LocalDate) -> 'WellScheduler.WellStatus': ... + def getWellName(self) -> java.lang.String: ... + def recordProduction(self, localDate: java.time.LocalDate, double: float) -> None: ... + def setCurrentPotential(self, double: float) -> None: ... + def setStatus(self, wellStatus: 'WellScheduler.WellStatus', localDate: java.time.LocalDate) -> None: ... + class WellStatus(java.lang.Enum['WellScheduler.WellStatus']): + PRODUCING: typing.ClassVar['WellScheduler.WellStatus'] = ... + SHUT_IN: typing.ClassVar['WellScheduler.WellStatus'] = ... + WORKOVER: typing.ClassVar['WellScheduler.WellStatus'] = ... + WAITING_ON_WEATHER: typing.ClassVar['WellScheduler.WellStatus'] = ... + DRILLING: typing.ClassVar['WellScheduler.WellStatus'] = ... + PLUGGED: typing.ClassVar['WellScheduler.WellStatus'] = ... + def getDisplayName(self) -> java.lang.String: ... + def isProducing(self) -> bool: ... + _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]) -> 'WellScheduler.WellStatus': ... + @staticmethod + def values() -> typing.MutableSequence['WellScheduler.WellStatus']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.fielddevelopment")``. + + BiorefineryCostEstimator: typing.Type[BiorefineryCostEstimator] + DCFCalculator: typing.Type[DCFCalculator] + FacilityCapacity: typing.Type[FacilityCapacity] + FieldDevelopmentCostEstimator: typing.Type[FieldDevelopmentCostEstimator] + FieldProductionScheduler: typing.Type[FieldProductionScheduler] + ProductionProfile: typing.Type[ProductionProfile] + SensitivityAnalysis: typing.Type[SensitivityAnalysis] + SustainabilityMetrics: typing.Type[SustainabilityMetrics] + WellScheduler: typing.Type[WellScheduler] diff --git a/src/jneqsim/process/util/fire/__init__.pyi b/src/jneqsim/process/util/fire/__init__.pyi new file mode 100644 index 00000000..6ae37bbd --- /dev/null +++ b/src/jneqsim/process/util/fire/__init__.pyi @@ -0,0 +1,229 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment.flare +import jneqsim.process.equipment.separator +import typing + + + +class FireHeatLoadCalculator: + STEFAN_BOLTZMANN: typing.ClassVar[float] = ... + @staticmethod + def api521PoolFireHeatLoad(double: float, double2: float) -> float: ... + @staticmethod + def generalizedStefanBoltzmannHeatFlux(double: float, double2: float, double3: float, double4: float) -> float: ... + +class FireHeatTransferCalculator: + @staticmethod + def calculateWallTemperatures(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'FireHeatTransferCalculator.SurfaceTemperatureResult': ... + class SurfaceTemperatureResult: + def __init__(self, double: float, double2: float, double3: float): ... + def heatFlux(self) -> float: ... + def innerWallTemperatureK(self) -> float: ... + def outerWallTemperatureK(self) -> float: ... + +class ReliefValveSizing: + R_GAS: typing.ClassVar[float] = ... + STANDARD_ORIFICE_AREAS_IN2: typing.ClassVar[typing.MutableSequence[float]] = ... + STANDARD_ORIFICE_LETTERS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + @staticmethod + def calculateAPI521FireHeatInput(double: float, boolean: bool, boolean2: bool) -> float: ... + @staticmethod + def calculateBlowdownPressure(double: float, double2: float) -> float: ... + @staticmethod + def calculateCv(double: float, double2: float) -> float: ... + @staticmethod + def calculateLiquidReliefArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, boolean: bool) -> 'ReliefValveSizing.LiquidPSVSizingResult': ... + @staticmethod + def calculateMassFlowCapacity(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + @staticmethod + def calculateMaxHeatAbsorption(double: float, double2: float) -> float: ... + @staticmethod + def calculateRequiredArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, boolean2: bool) -> 'ReliefValveSizing.PSVSizingResult': ... + @staticmethod + def calculateTwoPhaseReliefArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float) -> float: ... + @staticmethod + def dynamicFireSizing(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float) -> 'ReliefValveSizing.PSVSizingResult': ... + @staticmethod + def getNextLargerOrifice(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getStandardOrificeArea(string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def validateSizing(pSVSizingResult: 'ReliefValveSizing.PSVSizingResult', boolean: bool) -> java.lang.String: ... + class LiquidPSVSizingResult: + def __init__(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str], double5: float, double6: float, double7: float, double8: float): ... + def getBackPressureCorrectionFactor(self) -> float: ... + def getDischargeCoefficient(self) -> float: ... + def getMassFlowRate(self) -> float: ... + def getRecommendedOrifice(self) -> java.lang.String: ... + def getRequiredAreaIn2(self) -> float: ... + def getRequiredAreaM2(self) -> float: ... + def getSelectedAreaIn2(self) -> float: ... + def getViscosityCorrectionFactor(self) -> float: ... + def getVolumeFlowRate(self) -> float: ... + class PSVSizingResult: + def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def getBackPressureCorrectionFactor(self) -> float: ... + def getBackPressureFraction(self) -> float: ... + def getCombinationCorrectionFactor(self) -> float: ... + def getDischargeCoefficient(self) -> float: ... + def getMassFlowCapacity(self) -> float: ... + def getOverpressureFraction(self) -> float: ... + def getRecommendedOrifice(self) -> java.lang.String: ... + def getRequiredArea(self) -> float: ... + def getRequiredAreaIn2(self) -> float: ... + def getSelectedArea(self) -> float: ... + def getSelectedAreaIn2(self) -> float: ... + +class SeparatorFireExposure: + @staticmethod + def applyFireHeating(separator: jneqsim.process.equipment.separator.Separator, fireExposureResult: 'SeparatorFireExposure.FireExposureResult', double: float) -> float: ... + @typing.overload + @staticmethod + def evaluate(separator: jneqsim.process.equipment.separator.Separator, fireScenarioConfig: 'SeparatorFireExposure.FireScenarioConfig') -> 'SeparatorFireExposure.FireExposureResult': ... + @typing.overload + @staticmethod + def evaluate(separator: jneqsim.process.equipment.separator.Separator, fireScenarioConfig: 'SeparatorFireExposure.FireScenarioConfig', flare: jneqsim.process.equipment.flare.Flare, double: float) -> 'SeparatorFireExposure.FireExposureResult': ... + class FireExposureResult: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, surfaceTemperatureResult: FireHeatTransferCalculator.SurfaceTemperatureResult, surfaceTemperatureResult2: FireHeatTransferCalculator.SurfaceTemperatureResult, double9: float, double10: float, boolean: bool): ... + def flareRadiativeFlux(self) -> float: ... + def flareRadiativeHeat(self) -> float: ... + def isRuptureLikely(self) -> bool: ... + def poolFireHeatLoad(self) -> float: ... + def radiativeHeatFlux(self) -> float: ... + def ruptureMarginPa(self) -> float: ... + def totalFireHeat(self) -> float: ... + def unwettedArea(self) -> float: ... + def unwettedRadiativeHeat(self) -> float: ... + def unwettedWall(self) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... + def vonMisesStressPa(self) -> float: ... + def wettedArea(self) -> float: ... + def wettedWall(self) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... + class FireScenarioConfig: + def __init__(self): ... + def allowableTensileStrengthPa(self) -> float: ... + def emissivity(self) -> float: ... + def environmentalFactor(self) -> float: ... + def externalFilmCoefficientWPerM2K(self) -> float: ... + def fireTemperatureK(self) -> float: ... + def setAllowableTensileStrengthPa(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setEmissivity(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setEnvironmentalFactor(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setExternalFilmCoefficientWPerM2K(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setFireTemperatureK(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setThermalConductivityWPerMPerK(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setUnwettedInternalFilmCoefficientWPerM2K(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setViewFactor(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setWallThicknessM(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setWettedInternalFilmCoefficientWPerM2K(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def thermalConductivityWPerMPerK(self) -> float: ... + def unwettedInternalFilmCoefficientWPerM2K(self) -> float: ... + def viewFactor(self) -> float: ... + def wallThicknessM(self) -> float: ... + def wettedInternalFilmCoefficientWPerM2K(self) -> float: ... + +class TransientWallHeatTransfer: + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, int: int): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, int: int): ... + @typing.overload + def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + @typing.overload + def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def getHeatAbsorbed(self, double: float, double2: float) -> float: ... + def getHeatFlux(self) -> float: ... + def getInnerWallTemperature(self) -> float: ... + def getMaxStableTimeStep(self) -> float: ... + def getMeanWallTemperature(self) -> float: ... + def getNodeSpacing(self) -> float: ... + def getNumNodes(self) -> int: ... + def getOuterWallTemperature(self) -> float: ... + def getPositionArray(self) -> typing.MutableSequence[float]: ... + def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... + def getTotalThickness(self) -> float: ... + def resetTemperature(self, double: float) -> None: ... + +class VesselHeatTransferCalculator: + GRAVITY: typing.ClassVar[float] = ... + @typing.overload + @staticmethod + def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... + @typing.overload + @staticmethod + def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool, double8: float) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... + @typing.overload + @staticmethod + def calculateDischargeConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... + @typing.overload + @staticmethod + def calculateDischargeConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool, double11: float) -> float: ... + @staticmethod + def calculateGrashofNumber(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @typing.overload + @staticmethod + def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> float: ... + @typing.overload + @staticmethod + def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool, double8: float) -> float: ... + @typing.overload + @staticmethod + def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool) -> float: ... + @typing.overload + @staticmethod + def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... + @typing.overload + @staticmethod + def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool, double11: float) -> float: ... + @staticmethod + def calculateNucleateBoilingHeatFlux(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + @staticmethod + def calculateNusseltForcedConvection(double: float, double2: float) -> float: ... + @staticmethod + def calculateNusseltHorizontalCylinder(double: float, double2: float) -> float: ... + @staticmethod + def calculateNusseltImpingingJet(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calculateNusseltVerticalSurface(double: float, double2: float) -> float: ... + @staticmethod + def calculatePrandtlNumber(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calculateRayleighNumber(double: float, double2: float) -> float: ... + @staticmethod + def calculateReynoldsNumber(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calculateWettedWallFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool) -> float: ... + class HeatTransferResult: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getFilmCoefficient(self) -> float: ... + def getGrashofNumber(self) -> float: ... + def getHeatFlux(self) -> float: ... + def getNusseltNumber(self) -> float: ... + def getPrandtlNumber(self) -> float: ... + def getRayleighNumber(self) -> float: ... + +class VesselRuptureCalculator: + @staticmethod + def isRuptureLikely(double: float, double2: float) -> bool: ... + @staticmethod + def ruptureMargin(double: float, double2: float) -> float: ... + @staticmethod + def vonMisesStress(double: float, double2: float, double3: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.fire")``. + + FireHeatLoadCalculator: typing.Type[FireHeatLoadCalculator] + FireHeatTransferCalculator: typing.Type[FireHeatTransferCalculator] + ReliefValveSizing: typing.Type[ReliefValveSizing] + SeparatorFireExposure: typing.Type[SeparatorFireExposure] + TransientWallHeatTransfer: typing.Type[TransientWallHeatTransfer] + VesselHeatTransferCalculator: typing.Type[VesselHeatTransferCalculator] + VesselRuptureCalculator: typing.Type[VesselRuptureCalculator] diff --git a/src/jneqsim/process/util/heatintegration/__init__.pyi b/src/jneqsim/process/util/heatintegration/__init__.pyi new file mode 100644 index 00000000..66a3c586 --- /dev/null +++ b/src/jneqsim/process/util/heatintegration/__init__.pyi @@ -0,0 +1,55 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import typing + + + +class PinchAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addColdStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addHotStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def analyze(self) -> None: ... + def extractStreams(self) -> None: ... + def getColdCompositeCurve(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getColdStreams(self) -> java.util.List['PinchAnalyzer.HeatStream']: ... + def getEnergyRecoveryFraction(self) -> float: ... + def getGrandCompositeCurve(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getHotCompositeCurve(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getHotStreams(self) -> java.util.List['PinchAnalyzer.HeatStream']: ... + def getMatches(self) -> java.util.List['PinchAnalyzer.HeatExchangerMatch']: ... + def getMinApproachTemperature(self) -> float: ... + def getMinColdUtilityDuty(self) -> float: ... + def getMinHotUtilityDuty(self) -> float: ... + def getPinchTemperature(self) -> float: ... + def getTotalRecoverableEnergy(self) -> float: ... + def setMinApproachTemperature(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class HeatExchangerMatch(java.io.Serializable): + hotStreamName: java.lang.String = ... + coldStreamName: java.lang.String = ... + recoverableDuty: float = ... + lmtd: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + class HeatStream(java.io.Serializable): + name: java.lang.String = ... + supplyTemperature: float = ... + targetTemperature: float = ... + duty: float = ... + heatCapacityFlowRate: float = ... + isHot: bool = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, boolean: bool): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.heatintegration")``. + + PinchAnalyzer: typing.Type[PinchAnalyzer] diff --git a/src/jneqsim/process/util/monitor/__init__.pyi b/src/jneqsim/process/util/monitor/__init__.pyi new file mode 100644 index 00000000..8107c45c --- /dev/null +++ b/src/jneqsim/process/util/monitor/__init__.pyi @@ -0,0 +1,389 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.distillation +import jneqsim.process.equipment.ejector +import jneqsim.process.equipment.expander +import jneqsim.process.equipment.filter +import jneqsim.process.equipment.flare +import jneqsim.process.equipment.heatexchanger +import jneqsim.process.equipment.manifold +import jneqsim.process.equipment.mixer +import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.pump +import jneqsim.process.equipment.reactor +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.splitter +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.tank +import jneqsim.process.equipment.util +import jneqsim.process.equipment.valve +import jneqsim.process.measurementdevice +import jneqsim.process.util.report +import jneqsim.thermo.system +import typing + + + +class BaseResponse: + tagName: java.lang.String = ... + name: java.lang.String = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + @typing.overload + def __init__(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + +class FluidComponentResponse: + name: java.lang.String = ... + properties: java.util.HashMap = ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def print_(self) -> None: ... + +class FluidResponse: + name: java.lang.String = ... + properties: java.util.HashMap = ... + composition: java.util.HashMap = ... + conditions: java.util.HashMap = ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def print_(self) -> None: ... + +class KPIDashboard: + def __init__(self): ... + def addScenario(self, string: typing.Union[java.lang.String, str], scenarioKPI: 'ScenarioKPI') -> None: ... + def clear(self) -> None: ... + def getScenarioCount(self) -> int: ... + def printDashboard(self) -> None: ... + +class ScenarioKPI: + def __init__(self): ... + @staticmethod + def builder() -> 'ScenarioKPI.Builder': ... + def calculateEnvironmentalScore(self) -> float: ... + def calculateOverallScore(self) -> float: ... + def calculateProcessScore(self) -> float: ... + def calculateSafetyScore(self) -> float: ... + def getAverageFlowRate(self) -> float: ... + def getCo2Emissions(self) -> float: ... + def getEnergyConsumption(self) -> float: ... + def getErrorCount(self) -> int: ... + def getFinalStatus(self) -> java.lang.String: ... + def getFlareGasVolume(self) -> float: ... + def getFlaringDuration(self) -> float: ... + def getLostProductionValue(self) -> float: ... + def getOperatingCost(self) -> float: ... + def getPeakPressure(self) -> float: ... + def getPeakTemperature(self) -> float: ... + def getProductionLoss(self) -> float: ... + def getRecoveryTime(self) -> float: ... + def getSafetyMarginToMAWP(self) -> float: ... + def getSafetySystemActuations(self) -> int: ... + def getSimulationDuration(self) -> float: ... + def getSteadyStateDeviation(self) -> float: ... + def getTimeToESDActivation(self) -> float: ... + def getVentedMass(self) -> float: ... + def getWarningCount(self) -> int: ... + def isHippsTripped(self) -> bool: ... + def isPsvActivated(self) -> bool: ... + class Builder: + def __init__(self): ... + def averageFlowRate(self, double: float) -> 'ScenarioKPI.Builder': ... + def build(self) -> 'ScenarioKPI': ... + def co2Emissions(self, double: float) -> 'ScenarioKPI.Builder': ... + def energyConsumption(self, double: float) -> 'ScenarioKPI.Builder': ... + def errorCount(self, int: int) -> 'ScenarioKPI.Builder': ... + def finalStatus(self, string: typing.Union[java.lang.String, str]) -> 'ScenarioKPI.Builder': ... + def flareGasVolume(self, double: float) -> 'ScenarioKPI.Builder': ... + def flaringDuration(self, double: float) -> 'ScenarioKPI.Builder': ... + def hippsTripped(self, boolean: bool) -> 'ScenarioKPI.Builder': ... + def lostProductionValue(self, double: float) -> 'ScenarioKPI.Builder': ... + def operatingCost(self, double: float) -> 'ScenarioKPI.Builder': ... + def peakPressure(self, double: float) -> 'ScenarioKPI.Builder': ... + def peakTemperature(self, double: float) -> 'ScenarioKPI.Builder': ... + def productionLoss(self, double: float) -> 'ScenarioKPI.Builder': ... + def psvActivated(self, boolean: bool) -> 'ScenarioKPI.Builder': ... + def recoveryTime(self, double: float) -> 'ScenarioKPI.Builder': ... + def safetyMarginToMAWP(self, double: float) -> 'ScenarioKPI.Builder': ... + def safetySystemActuations(self, int: int) -> 'ScenarioKPI.Builder': ... + def simulationDuration(self, double: float) -> 'ScenarioKPI.Builder': ... + def steadyStateDeviation(self, double: float) -> 'ScenarioKPI.Builder': ... + def timeToESDActivation(self, double: float) -> 'ScenarioKPI.Builder': ... + def ventedMass(self, double: float) -> 'ScenarioKPI.Builder': ... + def warningCount(self, int: int) -> 'ScenarioKPI.Builder': ... + +class Value: + value: java.lang.String = ... + unit: java.lang.String = ... + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + +class WellAllocatorResponse: + name: java.lang.String = ... + data: java.util.HashMap = ... + def __init__(self, wellAllocator: jneqsim.process.measurementdevice.WellAllocator): ... + +class ComponentSplitterResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter): ... + +class CompressorResponse(BaseResponse): + suctionTemperature: float = ... + dischargeTemperature: float = ... + suctionPressure: float = ... + dischargePressure: float = ... + polytropicHead: float = ... + polytropicEfficiency: float = ... + power: float = ... + suctionVolumeFlow: float = ... + internalVolumeFlow: float = ... + dischargeVolumeFlow: float = ... + molarMass: float = ... + suctionMassDensity: float = ... + dischargeMassDensity: float = ... + massflow: float = ... + stdFlow: float = ... + speed: float = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... + def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + +class DistillationColumnResponse(BaseResponse): + massBalanceError: float = ... + trayTemperature: typing.MutableSequence[float] = ... + trayPressure: typing.MutableSequence[float] = ... + numberOfTrays: int = ... + trayVaporFlowRate: typing.MutableSequence[float] = ... + trayLiquidFlowRate: typing.MutableSequence[float] = ... + trayFeedFlow: typing.MutableSequence[float] = ... + trayMassBalance: typing.MutableSequence[float] = ... + def __init__(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn): ... + +class EjectorResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, ejector: jneqsim.process.equipment.ejector.Ejector): ... + +class FilterResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, filter: jneqsim.process.equipment.filter.Filter): ... + +class FlareResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, flare: jneqsim.process.equipment.flare.Flare): ... + +class FurnaceBurnerResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner): ... + +class HXResponse(BaseResponse): + feedTemperature1: float = ... + dischargeTemperature1: float = ... + HXthermalEfectiveness: float = ... + feedTemperature2: float = ... + dischargeTemperature2: float = ... + dutyBalance: float = ... + duty: float = ... + UAvalue: float = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger): ... + +class HeaterResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, heater: jneqsim.process.equipment.heatexchanger.Heater): ... + +class MPMResponse(BaseResponse): + massFLow: float = ... + GOR: float = ... + GOR_std: float = ... + gasDensity: float = ... + oilDensity: float = ... + waterDensity: float = ... + def __init__(self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter): ... + +class ManifoldResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, manifold: jneqsim.process.equipment.manifold.Manifold): ... + +class MixerResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, mixer: jneqsim.process.equipment.mixer.Mixer): ... + +class MultiStreamHeatExchanger2Response(BaseResponse): + data: java.util.HashMap = ... + temperatureApproach: float = ... + compositeCurveResults: java.util.Map = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2): ... + +class MultiStreamHeatExchangerResponse(BaseResponse): + data: java.util.HashMap = ... + feedTemperature: typing.MutableSequence[float] = ... + dischargeTemperature: typing.MutableSequence[float] = ... + duty: typing.MutableSequence[float] = ... + flowRate: typing.MutableSequence[float] = ... + def __init__(self, multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger): ... + +class PipeBeggsBrillsResponse(BaseResponse): + inletPressure: float = ... + outletPressure: float = ... + inletTemperature: float = ... + outletTemperature: float = ... + inletDensity: float = ... + outletDensity: float = ... + inletVolumeFlow: float = ... + outletVolumeFlow: float = ... + inletMassFlow: float = ... + outletMassFlow: float = ... + def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + +class PipelineResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, pipeline: jneqsim.process.equipment.pipeline.Pipeline): ... + +class PumpResponse(BaseResponse): + data: java.util.HashMap = ... + suctionTemperature: float = ... + dischargeTemperature: float = ... + suctionPressure: float = ... + dischargePressure: float = ... + power: float = ... + duty: float = ... + suctionVolumeFlow: float = ... + internalVolumeFlow: float = ... + dischargeVolumeFlow: float = ... + molarMass: float = ... + suctionMassDensity: float = ... + dischargeMassDensity: float = ... + massflow: float = ... + speed: int = ... + def __init__(self, pump: jneqsim.process.equipment.pump.Pump): ... + +class RecycleResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, recycle: jneqsim.process.equipment.util.Recycle): ... + +class SeparatorResponse(BaseResponse): + gasLoadFactor: float = ... + feed: 'StreamResponse' = ... + gas: 'StreamResponse' = ... + liquid: 'StreamResponse' = ... + oil: 'StreamResponse' = ... + water: 'StreamResponse' = ... + performanceMetrics: 'SeparatorResponse.PerformanceMetrics' = ... + @typing.overload + def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... + @typing.overload + def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + class PerformanceMetrics: + kValueAtHLL: float = ... + kValueLimit: float = ... + kValueWithinLimit: bool = ... + dropletCutSizeMicrons: float = ... + dropletCutSizeLimit: float = ... + dropletCutSizeWithinLimit: bool = ... + inletMomentumFluxPa: float = ... + inletMomentumLimit: float = ... + inletMomentumWithinLimit: bool = ... + oilRetentionTimeMinutes: float = ... + minOilRetentionTime: float = ... + oilRetentionTimeAboveMinimum: bool = ... + waterRetentionTimeMinutes: float = ... + minWaterRetentionTime: float = ... + waterRetentionTimeAboveMinimum: bool = ... + allWithinLimits: bool = ... + def __init__(self): ... + +class SplitterResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, splitter: jneqsim.process.equipment.splitter.Splitter): ... + +class StreamResponse(BaseResponse): + properties: java.util.HashMap = ... + conditions: java.util.HashMap = ... + composition: java.util.HashMap = ... + def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + def print_(self) -> None: ... + +class TankResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, tank: jneqsim.process.equipment.tank.Tank): ... + +class ThreePhaseSeparatorResponse(BaseResponse): + gasLoadFactor: float = ... + massflow: float = ... + gasFluid: FluidResponse = ... + oilFluid: FluidResponse = ... + @typing.overload + def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... + @typing.overload + def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + +class TurboExpanderCompressorResponse(BaseResponse): + def __init__(self, turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor): ... + +class ValveResponse(BaseResponse): + data: java.util.HashMap = ... + def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface): ... + def print_(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.monitor")``. + + BaseResponse: typing.Type[BaseResponse] + ComponentSplitterResponse: typing.Type[ComponentSplitterResponse] + CompressorResponse: typing.Type[CompressorResponse] + DistillationColumnResponse: typing.Type[DistillationColumnResponse] + EjectorResponse: typing.Type[EjectorResponse] + FilterResponse: typing.Type[FilterResponse] + FlareResponse: typing.Type[FlareResponse] + FluidComponentResponse: typing.Type[FluidComponentResponse] + FluidResponse: typing.Type[FluidResponse] + FurnaceBurnerResponse: typing.Type[FurnaceBurnerResponse] + HXResponse: typing.Type[HXResponse] + HeaterResponse: typing.Type[HeaterResponse] + KPIDashboard: typing.Type[KPIDashboard] + MPMResponse: typing.Type[MPMResponse] + ManifoldResponse: typing.Type[ManifoldResponse] + MixerResponse: typing.Type[MixerResponse] + MultiStreamHeatExchanger2Response: typing.Type[MultiStreamHeatExchanger2Response] + MultiStreamHeatExchangerResponse: typing.Type[MultiStreamHeatExchangerResponse] + PipeBeggsBrillsResponse: typing.Type[PipeBeggsBrillsResponse] + PipelineResponse: typing.Type[PipelineResponse] + PumpResponse: typing.Type[PumpResponse] + RecycleResponse: typing.Type[RecycleResponse] + ScenarioKPI: typing.Type[ScenarioKPI] + SeparatorResponse: typing.Type[SeparatorResponse] + SplitterResponse: typing.Type[SplitterResponse] + StreamResponse: typing.Type[StreamResponse] + TankResponse: typing.Type[TankResponse] + ThreePhaseSeparatorResponse: typing.Type[ThreePhaseSeparatorResponse] + TurboExpanderCompressorResponse: typing.Type[TurboExpanderCompressorResponse] + Value: typing.Type[Value] + ValveResponse: typing.Type[ValveResponse] + WellAllocatorResponse: typing.Type[WellAllocatorResponse] diff --git a/src/jneqsim/process/util/optimizer/__init__.pyi b/src/jneqsim/process/util/optimizer/__init__.pyi new file mode 100644 index 00000000..36f5ef84 --- /dev/null +++ b/src/jneqsim/process/util/optimizer/__init__.pyi @@ -0,0 +1,2456 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import java.time +import java.util +import java.util.function +import jpype +import jpype.protocol +import jneqsim.process.equipment +import jneqsim.process.equipment.capacity +import jneqsim.process.equipment.compressor +import jneqsim.process.equipment.failure +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.equipment.util +import jneqsim.process.processmodel +import jneqsim.thermo.system +import typing + + + +class BatchStudy(java.io.Serializable): + @staticmethod + def builder(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'BatchStudy.Builder': ... + def getTotalCases(self) -> int: ... + def run(self) -> 'BatchStudy.BatchStudyResult': ... + class BatchStudyResult(java.io.Serializable): + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getAllResults(self) -> java.util.List['BatchStudy.CaseResult']: ... + def getBestCase(self, string: typing.Union[java.lang.String, str]) -> 'BatchStudy.CaseResult': ... + def getFailureCount(self) -> int: ... + def getParetoFront(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List['BatchStudy.CaseResult']: ... + def getSuccessCount(self) -> int: ... + def getSuccessfulResults(self) -> java.util.List['BatchStudy.CaseResult']: ... + def getSummary(self) -> java.lang.String: ... + def getTotalCases(self) -> int: ... + def toJson(self) -> java.lang.String: ... + class Builder: + def addObjective(self, string: typing.Union[java.lang.String, str], objective: 'BatchStudy.Objective', function: typing.Union[java.util.function.Function[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'BatchStudy.Builder': ... + def build(self) -> 'BatchStudy': ... + def name(self, string: typing.Union[java.lang.String, str]) -> 'BatchStudy.Builder': ... + def parallelism(self, int: int) -> 'BatchStudy.Builder': ... + def stopOnFailure(self, boolean: bool) -> 'BatchStudy.Builder': ... + @typing.overload + def vary(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'BatchStudy.Builder': ... + @typing.overload + def vary(self, string: typing.Union[java.lang.String, str], *double: float) -> 'BatchStudy.Builder': ... + class CaseResult(java.io.Serializable): + parameters: 'BatchStudy.ParameterSet' = ... + failed: bool = ... + errorMessage: java.lang.String = ... + objectiveValues: java.util.Map = ... + runtime: java.time.Duration = ... + def __init__(self, parameterSet: 'BatchStudy.ParameterSet', boolean: bool, string: typing.Union[java.lang.String, str]): ... + class Objective(java.lang.Enum['BatchStudy.Objective']): + MINIMIZE: typing.ClassVar['BatchStudy.Objective'] = ... + MAXIMIZE: typing.ClassVar['BatchStudy.Objective'] = ... + _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]) -> 'BatchStudy.Objective': ... + @staticmethod + def values() -> typing.MutableSequence['BatchStudy.Objective']: ... + class ObjectiveDefinition(java.io.Serializable): + name: java.lang.String = ... + direction: 'BatchStudy.Objective' = ... + def __init__(self, string: typing.Union[java.lang.String, str], objective: 'BatchStudy.Objective'): ... + class ParameterSet(java.io.Serializable): + caseId: java.lang.String = ... + values: java.util.Map = ... + def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def toString(self) -> java.lang.String: ... + +class CompressorOptimizationHelper: + def __init__(self): ... + @staticmethod + def createEfficiencyObjective(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float) -> 'ProductionOptimizer.OptimizationObjective': ... + @staticmethod + def createOutletPressureVariable(compressor: jneqsim.process.equipment.compressor.Compressor, double: float, double2: float) -> 'ProductionOptimizer.ManipulatedVariable': ... + @staticmethod + def createPowerObjective(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float) -> 'ProductionOptimizer.OptimizationObjective': ... + @staticmethod + def createSpeedVariable(compressor: jneqsim.process.equipment.compressor.Compressor, double: float, double2: float) -> 'ProductionOptimizer.ManipulatedVariable': ... + @staticmethod + def createSpeedVariables(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> java.util.List['ProductionOptimizer.ManipulatedVariable']: ... + @staticmethod + def createStandardConstraints(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> java.util.List['ProductionOptimizer.OptimizationConstraint']: ... + @staticmethod + def createStandardObjectives(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> java.util.List['ProductionOptimizer.OptimizationObjective']: ... + @staticmethod + def createSurgeMarginConstraint(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float, constraintSeverity: 'ProductionOptimizer.ConstraintSeverity') -> 'ProductionOptimizer.OptimizationConstraint': ... + @staticmethod + def createSurgeMarginObjective(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float) -> 'ProductionOptimizer.OptimizationObjective': ... + @staticmethod + def createValidityConstraint(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> 'ProductionOptimizer.OptimizationConstraint': ... + @staticmethod + def extractBounds(compressor: jneqsim.process.equipment.compressor.Compressor) -> 'CompressorOptimizationHelper.CompressorBounds': ... + @staticmethod + def optimizeTwoStage(processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List[jneqsim.process.equipment.compressor.Compressor], list2: java.util.List[typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]], double: float, double2: float, optimizationConfig: 'ProductionOptimizer.OptimizationConfig') -> 'CompressorOptimizationHelper.TwoStageResult': ... + class CompressorBounds: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string: typing.Union[java.lang.String, str]): ... + def getFlowUnit(self) -> java.lang.String: ... + def getMaxFlow(self) -> float: ... + def getMaxSpeed(self) -> float: ... + def getMinFlow(self) -> float: ... + def getMinSpeed(self) -> float: ... + def getRecommendedRange(self, double: float) -> typing.MutableSequence[float]: ... + def getStoneWallFlow(self) -> float: ... + def getSurgeFlow(self) -> float: ... + def toString(self) -> java.lang.String: ... + class TwoStageResult: + def __init__(self, double: float, string: 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]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], 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], float], typing.Mapping[typing.Union[java.lang.String, str], float]], optimizationResult: 'ProductionOptimizer.OptimizationResult', optimizationResult2: 'ProductionOptimizer.OptimizationResult'): ... + def getFlowUnit(self) -> java.lang.String: ... + def getMinSurgeMargin(self) -> float: ... + def getStage1Result(self) -> 'ProductionOptimizer.OptimizationResult': ... + def getStage2Result(self) -> 'ProductionOptimizer.OptimizationResult': ... + def getTotalFlow(self) -> float: ... + def getTotalPower(self) -> float: ... + def getTrainFlows(self) -> java.util.Map[java.lang.String, float]: ... + def getTrainPowers(self) -> java.util.Map[java.lang.String, float]: ... + def getTrainSplits(self) -> java.util.Map[java.lang.String, float]: ... + def getTrainSurgeMargins(self) -> java.util.Map[java.lang.String, float]: ... + def getTrainUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def toSummary(self) -> java.lang.String: ... + +class ConstraintPenaltyCalculator(java.io.Serializable): + def __init__(self): ... + def addConstraint(self, processConstraint: 'ProcessConstraint') -> 'ConstraintPenaltyCalculator': ... + def addConstraints(self, list: java.util.List['ProcessConstraint']) -> 'ConstraintPenaltyCalculator': ... + def addEquipmentCapacityConstraints(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ConstraintPenaltyCalculator': ... + @staticmethod + def applyPenaltyFormula(double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def clear(self) -> None: ... + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.List['ConstraintPenaltyCalculator.ConstraintEvaluation']: ... + def evaluateMargins(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> typing.MutableSequence[float]: ... + def getConstraintCount(self) -> int: ... + def getConstraints(self) -> java.util.List['ProcessConstraint']: ... + def isFeasible(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + def penalize(self, double: float, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def totalPenalty(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + class ConstraintEvaluation(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], constraintSeverityLevel: 'ConstraintSeverityLevel', double: float, boolean: bool, double2: float, string2: typing.Union[java.lang.String, str]): ... + def getDescription(self) -> java.lang.String: ... + def getMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPenalty(self) -> float: ... + def getSeverity(self) -> 'ConstraintSeverityLevel': ... + def isSatisfied(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class ConstraintSeverityLevel(java.lang.Enum['ConstraintSeverityLevel']): + CRITICAL: typing.ClassVar['ConstraintSeverityLevel'] = ... + HARD: typing.ClassVar['ConstraintSeverityLevel'] = ... + SOFT: typing.ClassVar['ConstraintSeverityLevel'] = ... + ADVISORY: typing.ClassVar['ConstraintSeverityLevel'] = ... + @staticmethod + def fromCapacitySeverity(constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity) -> 'ConstraintSeverityLevel': ... + @staticmethod + def fromIsHard(boolean: bool) -> 'ConstraintSeverityLevel': ... + @staticmethod + def fromOptimizerSeverity(constraintSeverity: 'ProductionOptimizer.ConstraintSeverity') -> 'ConstraintSeverityLevel': ... + def toCapacitySeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... + def toIsHard(self) -> bool: ... + def toOptimizerSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... + _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]) -> 'ConstraintSeverityLevel': ... + @staticmethod + def values() -> typing.MutableSequence['ConstraintSeverityLevel']: ... + +class DebottleneckAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def analyze(self) -> None: ... + def getConstrainedEquipment(self) -> java.util.List['DebottleneckAnalyzer.EquipmentStatus']: ... + def getOverallUtilization(self) -> float: ... + def getOverloadedCount(self) -> int: ... + def getPrimaryBottleneck(self) -> java.lang.String: ... + def getRankedEquipment(self) -> java.util.List['DebottleneckAnalyzer.EquipmentStatus']: ... + def setCriticalThreshold(self, double: float) -> None: ... + def setWarningThreshold(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class EquipmentStatus(java.io.Serializable): + name: java.lang.String = ... + type: java.lang.String = ... + maxUtilization: float = ... + limitingConstraint: java.lang.String = ... + currentValue: float = ... + designLimit: float = ... + status: java.lang.String = ... + suggestion: java.lang.String = ... + 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], double2: float, double3: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + +class DegradedOperationOptimizer(java.io.Serializable): + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def clearCache(self) -> None: ... + def createRecoveryPlan(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationOptimizer.RecoveryPlan': ... + def evaluateOperatingModes(self, string: typing.Union[java.lang.String, str]) -> java.util.Map['DegradedOperationOptimizer.OperatingMode', float]: ... + @typing.overload + def optimizeWithEquipmentDown(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationResult': ... + @typing.overload + def optimizeWithEquipmentDown(self, string: typing.Union[java.lang.String, str], equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> 'DegradedOperationResult': ... + def optimizeWithMultipleFailures(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'DegradedOperationResult': ... + def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationOptimizer': ... + def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationOptimizer': ... + def setTolerance(self, double: float) -> 'DegradedOperationOptimizer': ... + class OperatingMode(java.lang.Enum['DegradedOperationOptimizer.OperatingMode']): + NORMAL: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... + REDUCED_CAPACITY: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... + PARTIAL_SHUTDOWN: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... + FULL_SHUTDOWN: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... + BYPASS_MODE: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... + STANDBY_MODE: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... + _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]) -> 'DegradedOperationOptimizer.OperatingMode': ... + @staticmethod + def values() -> typing.MutableSequence['DegradedOperationOptimizer.OperatingMode']: ... + class RecoveryAction(java.io.Serializable): + def __init__(self, phase: 'DegradedOperationOptimizer.RecoveryAction.Phase', string: typing.Union[java.lang.String, str], double: float): ... + def getDescription(self) -> java.lang.String: ... + def getEstimatedDuration(self) -> float: ... + def getPhase(self) -> 'DegradedOperationOptimizer.RecoveryAction.Phase': ... + def toString(self) -> java.lang.String: ... + class Phase(java.lang.Enum['DegradedOperationOptimizer.RecoveryAction.Phase']): + IMMEDIATE: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... + STABILIZATION: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... + REPAIR: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... + RESTORATION: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... + _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]) -> 'DegradedOperationOptimizer.RecoveryAction.Phase': ... + @staticmethod + def values() -> typing.MutableSequence['DegradedOperationOptimizer.RecoveryAction.Phase']: ... + class RecoveryPlan(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addAction(self, recoveryAction: 'DegradedOperationOptimizer.RecoveryAction') -> None: ... + def getActions(self) -> java.util.List['DegradedOperationOptimizer.RecoveryAction']: ... + def getEstimatedRecoveryTime(self) -> float: ... + def getExpectedProductionDuringRecovery(self) -> float: ... + def getFailedEquipment(self) -> java.lang.String: ... + def setEstimatedRecoveryTime(self, double: float) -> None: ... + def setExpectedProductionDuringRecovery(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class DegradedOperationResult(java.io.Serializable): + def __init__(self): ... + def calculateMetrics(self) -> None: ... + def getBaselinePower(self) -> float: ... + def getBaselineProduction(self) -> float: ... + def getCapacityFactor(self) -> float: ... + def getComputeTimeMs(self) -> int: ... + def getFailedEquipment(self) -> java.lang.String: ... + def getFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getNotes(self) -> java.lang.String: ... + def getOperatingMode(self) -> DegradedOperationOptimizer.OperatingMode: ... + def getOptimalFlowRate(self) -> float: ... + def getOptimalPower(self) -> float: ... + def getOptimalProduction(self) -> float: ... + def getOptimizedSetpoints(self) -> java.util.Map[java.lang.String, float]: ... + def getPowerSavingsPercent(self) -> float: ... + def getProductionLossPercent(self) -> float: ... + def isConverged(self) -> bool: ... + def setBaselinePower(self, double: float) -> None: ... + def setBaselineProduction(self, double: float) -> None: ... + def setComputeTimeMs(self, long: int) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setFailedEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOperatingMode(self, operatingMode: DegradedOperationOptimizer.OperatingMode) -> None: ... + def setOptimalFlowRate(self, double: float) -> None: ... + def setOptimalPower(self, double: float) -> None: ... + def setOptimalProduction(self, double: float) -> None: ... + def setOptimizedSetpoints(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + +class EclipseVFPExporter(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + def exportCOMPDAT(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def exportMultipleScenarios(self, list: java.util.List['EclipseVFPExporter.VFPScenario'], string: typing.Union[java.lang.String, str]) -> None: ... + def exportVFPEXP(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportVFPINJ(self, string: typing.Union[java.lang.String, str]) -> None: ... + def exportVFPPROD(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getALQs(self) -> typing.MutableSequence[float]: ... + def getBHPTable(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]]: ... + def getDatumDepth(self) -> float: ... + def getFlowRateType(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getGORs(self) -> typing.MutableSequence[float]: ... + def getTHPs(self) -> typing.MutableSequence[float]: ... + def getTableNumber(self) -> int: ... + def getTableTitle(self) -> java.lang.String: ... + def getUnitSystem(self) -> java.lang.String: ... + def getVFPINJString(self) -> java.lang.String: ... + def getVFPPRODString(self) -> java.lang.String: ... + def getWaterCuts(self) -> typing.MutableSequence[float]: ... + def setALQs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBHPTable(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]], jpype.JArray]) -> None: ... + def setDatumDepth(self, double: float) -> None: ... + def setFlowRateType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setGORs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLiftCurveData(self, liftCurveData: 'ProcessOptimizationEngine.LiftCurveData') -> None: ... + def setTHPs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTableNumber(self, int: int) -> None: ... + def setTableTitle(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUnitSystem(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterCuts(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + class VFPScenario(java.io.Serializable): + def __init__(self): ... + def getBHPTable(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]]: ... + def getDescription(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getGORs(self) -> typing.MutableSequence[float]: ... + def getTHPs(self) -> typing.MutableSequence[float]: ... + def getTableNumber(self) -> int: ... + def getWaterCuts(self) -> typing.MutableSequence[float]: ... + def setBHPTable(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]], jpype.JArray]) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setGORs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTHPs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTableNumber(self, int: int) -> None: ... + def setWaterCuts(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class FlowRateOptimizationResult(java.io.Serializable): + def __init__(self): ... + def addConstraintViolation(self, constraintViolation: 'FlowRateOptimizationResult.ConstraintViolation') -> None: ... + @staticmethod + def error(string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizationResult': ... + def getComputationTimeMs(self) -> int: ... + def getConstraintViolations(self) -> java.util.List['FlowRateOptimizationResult.ConstraintViolation']: ... + def getConvergenceError(self) -> float: ... + def getFlowRate(self) -> float: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getInfeasibilityReason(self) -> java.lang.String: ... + def getInletPressure(self) -> float: ... + def getIterationCount(self) -> int: ... + def getOutletPressure(self) -> float: ... + def getPressureUnit(self) -> java.lang.String: ... + def getStatus(self) -> 'FlowRateOptimizationResult.Status': ... + def getTargetInletPressure(self) -> float: ... + def getTargetOutletPressure(self) -> float: ... + def hasHardViolations(self) -> bool: ... + @staticmethod + def infeasibleConstraint(string: typing.Union[java.lang.String, str], list: java.util.List['FlowRateOptimizationResult.ConstraintViolation']) -> 'FlowRateOptimizationResult': ... + @staticmethod + def infeasiblePressure(string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizationResult': ... + def isFeasible(self) -> bool: ... + @staticmethod + def notConverged(int: int, double: float) -> 'FlowRateOptimizationResult': ... + def setComputationTimeMs(self, long: int) -> None: ... + def setConvergenceError(self, double: float) -> None: ... + def setFlowRate(self, double: float) -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setIterationCount(self, int: int) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStatus(self, status: 'FlowRateOptimizationResult.Status') -> None: ... + def setTargetInletPressure(self, double: float) -> None: ... + def setTargetOutletPressure(self, double: float) -> None: ... + @staticmethod + def success(double: float, string: typing.Union[java.lang.String, str], double2: float, double3: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizationResult': ... + def toString(self) -> java.lang.String: ... + class ConstraintViolation(java.io.Serializable): + def __init__(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], boolean: bool): ... + def getConstraintName(self) -> java.lang.String: ... + def getCurrentValue(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getLimitValue(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def isHardViolation(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Status(java.lang.Enum['FlowRateOptimizationResult.Status']): + OPTIMAL: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... + INFEASIBLE_PRESSURE: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... + INFEASIBLE_CONSTRAINT: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... + NOT_CONVERGED: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... + ERROR: typing.ClassVar['FlowRateOptimizationResult.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]) -> 'FlowRateOptimizationResult.Status': ... + @staticmethod + def values() -> typing.MutableSequence['FlowRateOptimizationResult.Status']: ... + +class FlowRateOptimizer(java.io.Serializable): + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def calculateTotalCompressorPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def configureProcessCompressorCharts(self) -> None: ... + def findFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> FlowRateOptimizationResult: ... + def findInletPressure(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> FlowRateOptimizationResult: ... + def findMaxFlowRateAtPressureBoundaries(self, double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def findMaximumFeasibleFlowRate(self, double: float, string: typing.Union[java.lang.String, str], double2: float) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def findMinimumTotalPowerOperatingPoint(self, double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float, double4: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def findProcessOperatingPoint(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def generateCapacityCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], double3: float, string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence['FlowRateOptimizer.ProcessOperatingPoint']: ... + def generateProcessCapacityTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], double3: float) -> 'FlowRateOptimizer.ProcessCapacityTable': ... + def generateProcessLiftCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessLiftCurveTable': ... + def generateProcessPerformanceTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessPerformanceTable': ... + @typing.overload + def generateProfessionalLiftCurves(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.LiftCurveResult': ... + @typing.overload + def generateProfessionalLiftCurves(self, liftCurveConfiguration: 'FlowRateOptimizer.LiftCurveConfiguration') -> 'FlowRateOptimizer.LiftCurveResult': ... + def getEquipmentUtilizationReport(self) -> java.util.Map[java.lang.String, 'FlowRateOptimizer.EquipmentUtilizationData']: ... + def getInitialFlowGuess(self) -> float: ... + def getMaxEquipmentUtilization(self) -> float: ... + def getMaxEquipmentUtilizationLimit(self) -> float: ... + def getMaxFlowRate(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getMaxPowerLimit(self) -> float: ... + def getMaxSpeedLimit(self) -> float: ... + def getMaxTotalPowerLimit(self) -> float: ... + def getMaxVelocity(self) -> float: ... + def getMinFlowRate(self) -> float: ... + def getMinSpeedLimit(self) -> float: ... + def getMinSurgeMargin(self) -> float: ... + def getMode(self) -> 'FlowRateOptimizer.Mode': ... + def getNumberOfChartSpeeds(self) -> int: ... + def getParallelThreads(self) -> int: ... + def getProcessCompressors(self) -> java.util.List[jneqsim.process.equipment.compressor.Compressor]: ... + def getProcessSeparators(self) -> java.util.List[jneqsim.process.equipment.separator.Separator]: ... + def getProgressCallback(self) -> 'FlowRateOptimizer.ProgressCallback': ... + def getSpeedMarginAboveDesign(self) -> float: ... + def getTolerance(self) -> float: ... + def isAutoConfigureProcessCompressors(self) -> bool: ... + def isAutoGenerateCompressorChart(self) -> bool: ... + def isCheckCapacityConstraints(self) -> bool: ... + def isParallelEvaluationEnabled(self) -> bool: ... + def isSolveSpeed(self) -> bool: ... + def setAutoConfigureProcessCompressors(self, boolean: bool) -> None: ... + def setAutoGenerateCompressorChart(self, boolean: bool) -> None: ... + def setCheckCapacityConstraints(self, boolean: bool) -> None: ... + def setEnableParallelEvaluation(self, boolean: bool) -> None: ... + def setEnableProgressLogging(self, boolean: bool) -> None: ... + def setInitialFlowGuess(self, double: float) -> None: ... + def setMaxEquipmentUtilizationLimit(self, double: float) -> None: ... + def setMaxFlowRate(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMaxPowerLimit(self, double: float) -> None: ... + def setMaxSpeedLimit(self, double: float) -> None: ... + def setMaxTotalPowerLimit(self, double: float) -> None: ... + def setMaxVelocity(self, double: float) -> None: ... + def setMinFlowRate(self, double: float) -> None: ... + def setMinSpeedLimit(self, double: float) -> None: ... + def setMinSurgeMargin(self, double: float) -> None: ... + def setNumberOfChartSpeeds(self, int: int) -> None: ... + def setParallelThreads(self, int: int) -> None: ... + def setProgressCallback(self, progressCallback: typing.Union['FlowRateOptimizer.ProgressCallback', typing.Callable]) -> None: ... + def setSolveSpeed(self, boolean: bool) -> None: ... + def setSpeedMarginAboveDesign(self, double: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + def validateConfiguration(self) -> java.util.List[java.lang.String]: ... + def validateOrThrow(self) -> None: ... + class CompressorOperatingPoint(java.io.Serializable): + def __init__(self): ... + def getFlowRate(self) -> float: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getInletPressure(self) -> float: ... + def getOutletPressure(self) -> float: ... + def getPolytropicEfficiency(self) -> float: ... + def getPolytropicHead(self) -> float: ... + def getPower(self) -> float: ... + def getPressureRatio(self) -> float: ... + def getPressureUnit(self) -> java.lang.String: ... + def getSpeed(self) -> float: ... + def getSurgeMargin(self) -> float: ... + def isAtStoneWall(self) -> bool: ... + def isFeasible(self) -> bool: ... + def isInSurge(self) -> bool: ... + def setAtStoneWall(self, boolean: bool) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setFlowRate(self, double: float) -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInSurge(self, boolean: bool) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setPolytropicEfficiency(self, double: float) -> None: ... + def setPolytropicHead(self, double: float) -> None: ... + def setPower(self, double: float) -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSpeed(self, double: float) -> None: ... + def setSurgeMargin(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class EquipmentUtilizationData(java.io.Serializable): + def __init__(self): ... + def getCapacity(self) -> float: ... + def getDuty(self) -> float: ... + def getEquipmentType(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getPower(self) -> float: ... + def getSpeed(self) -> float: ... + def getStonewallMargin(self) -> float: ... + def getSurgeMargin(self) -> float: ... + def getUtilization(self) -> float: ... + def setCapacity(self, double: float) -> None: ... + def setDuty(self, double: float) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPower(self, double: float) -> None: ... + def setSpeed(self, double: float) -> None: ... + def setStonewallMargin(self, double: float) -> None: ... + def setSurgeMargin(self, double: float) -> None: ... + def setUtilization(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class LiftCurveConfiguration(java.io.Serializable): + def __init__(self): ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getInletPressures(self) -> typing.MutableSequence[float]: ... + def getMaxPowerLimit(self) -> float: ... + def getMaxSpeedLimit(self) -> float: ... + def getMaxTotalPowerLimit(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getMinSpeedLimit(self) -> float: ... + def getOutletPressures(self) -> typing.MutableSequence[float]: ... + def getPressureUnit(self) -> java.lang.String: ... + def getProgressCallback(self) -> 'FlowRateOptimizer.ProgressCallback': ... + def getSurgeMargin(self) -> float: ... + def isEnableProgressLogging(self) -> bool: ... + def isGenerateCapacityTable(self) -> bool: ... + def isGenerateLiftCurveTable(self) -> bool: ... + def isGeneratePerformanceTable(self) -> bool: ... + def withFlowRateRange(self, double: float, double2: float, int: int) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withInletPressureRange(self, double: float, double2: float, int: int) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withMaxPowerLimit(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withMaxTotalPowerLimit(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withMaxUtilization(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withOutletPressureRange(self, double: float, double2: float, int: int) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withPressureUnit(self, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withProgressCallback(self, progressCallback: typing.Union['FlowRateOptimizer.ProgressCallback', typing.Callable]) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withProgressLogging(self, boolean: bool) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withSpeedLimits(self, double: float, double2: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withSurgeMargin(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withTables(self, boolean: bool, boolean2: bool, boolean3: bool) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + class LiftCurveResult(java.io.Serializable): + def __init__(self): ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getCapacityTable(self) -> 'FlowRateOptimizer.ProcessCapacityTable': ... + def getFeasibilityPercentage(self) -> float: ... + def getFeasiblePoints(self) -> int: ... + def getGenerationTimeMs(self) -> int: ... + def getLiftCurveTable(self) -> 'FlowRateOptimizer.ProcessLiftCurveTable': ... + def getPerformanceTable(self) -> 'FlowRateOptimizer.ProcessPerformanceTable': ... + def getSummary(self) -> java.lang.String: ... + def getTotalEvaluations(self) -> int: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def setCapacityTable(self, processCapacityTable: 'FlowRateOptimizer.ProcessCapacityTable') -> None: ... + def setFeasiblePoints(self, int: int) -> None: ... + def setGenerationTimeMs(self, long: int) -> None: ... + def setLiftCurveTable(self, processLiftCurveTable: 'FlowRateOptimizer.ProcessLiftCurveTable') -> None: ... + def setPerformanceTable(self, processPerformanceTable: 'FlowRateOptimizer.ProcessPerformanceTable') -> None: ... + def setTotalEvaluations(self, int: int) -> None: ... + class Mode(java.lang.Enum['FlowRateOptimizer.Mode']): + PROCESS_SYSTEM: typing.ClassVar['FlowRateOptimizer.Mode'] = ... + PROCESS_MODEL: typing.ClassVar['FlowRateOptimizer.Mode'] = ... + _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]) -> 'FlowRateOptimizer.Mode': ... + @staticmethod + def values() -> typing.MutableSequence['FlowRateOptimizer.Mode']: ... + class ProcessCapacityTable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def countFeasiblePoints(self) -> int: ... + def findMaxFlowRatePoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def findMinimumPowerPoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getCompressorNames(self) -> java.util.List[java.lang.String]: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRateValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getInletPressures(self) -> typing.MutableSequence[float]: ... + def getMaxUtilization(self) -> float: ... + def getMaxUtilizationValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getOperatingPoint(self, int: int, int2: int) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getOutletPressures(self) -> typing.MutableSequence[float]: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTableName(self) -> java.lang.String: ... + def getTotalPowerValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxUtilization(self, double: float) -> None: ... + def setOperatingPoint(self, int: int, int2: int, processOperatingPoint: 'FlowRateOptimizer.ProcessOperatingPoint') -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toCsv(self) -> java.lang.String: ... + def toEclipseFormat(self) -> java.lang.String: ... + def toFormattedString(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + class ProcessLiftCurveTable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def findMinimumPowerPoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getCompressorNames(self) -> java.util.List[java.lang.String]: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getInletPressures(self) -> typing.MutableSequence[float]: ... + def getMaxUtilizationValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getOperatingPoint(self, int: int, int2: int) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getOutletPressureValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTableName(self) -> java.lang.String: ... + def getTotalPowerValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOperatingPoint(self, int: int, int2: int, processOperatingPoint: 'FlowRateOptimizer.ProcessOperatingPoint') -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toEclipseFormat(self) -> java.lang.String: ... + def toFormattedString(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + class ProcessOperatingPoint(java.io.Serializable): + def __init__(self): ... + def addCompressorOperatingPoint(self, string: typing.Union[java.lang.String, str], compressorOperatingPoint: 'FlowRateOptimizer.CompressorOperatingPoint') -> None: ... + def getCompressorNames(self) -> java.util.List[java.lang.String]: ... + def getCompressorOperatingPoint(self, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.CompressorOperatingPoint': ... + def getCompressorOperatingPoints(self) -> java.util.Map[java.lang.String, 'FlowRateOptimizer.CompressorOperatingPoint']: ... + def getCompressorPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConstraintViolations(self) -> java.util.List[FlowRateOptimizationResult.ConstraintViolation]: ... + def getEquipmentData(self) -> java.util.Map[java.lang.String, 'FlowRateOptimizer.EquipmentUtilizationData']: ... + def getFlowRate(self) -> float: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getInletPressure(self) -> float: ... + def getMaxUtilization(self) -> float: ... + def getOutletPressure(self) -> float: ... + def getPressureRatio(self) -> float: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTotalPower(self) -> float: ... + def isFeasible(self) -> bool: ... + def setConstraintViolations(self, list: java.util.List[FlowRateOptimizationResult.ConstraintViolation]) -> None: ... + def setEquipmentData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'FlowRateOptimizer.EquipmentUtilizationData'], typing.Mapping[typing.Union[java.lang.String, str], 'FlowRateOptimizer.EquipmentUtilizationData']]) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setFlowRate(self, double: float) -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setMaxUtilization(self, double: float) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalPower(self, double: float) -> None: ... + def toDetailedString(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + class ProcessPerformanceTable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def findMinimumPowerPoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getInletPressure(self) -> float: ... + def getOperatingPoint(self, int: int) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getOutletPressure(self, int: int) -> float: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTableName(self) -> java.lang.String: ... + def getTotalPower(self, int: int) -> float: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setOperatingPoint(self, int: int, processOperatingPoint: 'FlowRateOptimizer.ProcessOperatingPoint') -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toFormattedString(self) -> java.lang.String: ... + class ProgressCallback: + def onProgress(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + +class FluidMagicInput(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @staticmethod + def builder() -> 'FluidMagicInput.Builder': ... + @typing.overload + @staticmethod + def fromE300File(string: typing.Union[java.lang.String, str]) -> 'FluidMagicInput': ... + @typing.overload + @staticmethod + def fromE300File(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'FluidMagicInput': ... + @staticmethod + def fromFluid(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FluidMagicInput': ... + def generateGORValues(self) -> typing.MutableSequence[float]: ... + def generateWaterCutValues(self) -> typing.MutableSequence[float]: ... + def getBaseCaseGOR(self) -> float: ... + def getGasPhase(self) -> jneqsim.thermo.system.SystemInterface: ... + def getGasStdVolume(self) -> float: ... + def getGorSpacing(self) -> 'FluidMagicInput.GORSpacing': ... + def getMaxGOR(self) -> float: ... + def getMaxWaterCut(self) -> float: ... + def getMinGOR(self) -> float: ... + def getMinWaterCut(self) -> float: ... + def getNumberOfGORPoints(self) -> int: ... + def getNumberOfWaterCutPoints(self) -> int: ... + def getOilPhase(self) -> jneqsim.thermo.system.SystemInterface: ... + def getOilStdVolume(self) -> float: ... + def getPressure(self) -> float: ... + def getReferenceFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTemperature(self) -> float: ... + def getTotalScenarios(self) -> int: ... + def getWaterPhase(self) -> jneqsim.thermo.system.SystemInterface: ... + def getWaterSalinityPPM(self) -> float: ... + def getWaterStdVolume(self) -> float: ... + def isReady(self) -> bool: ... + def separateToStandardConditions(self) -> None: ... + @typing.overload + def setGORRange(self, double: float, double2: float) -> None: ... + @typing.overload + def setGORRange(self, double: float, double2: float, int: int) -> None: ... + def setGorSpacing(self, gORSpacing: 'FluidMagicInput.GORSpacing') -> None: ... + def setNumberOfGORPoints(self, int: int) -> None: ... + def setNumberOfWaterCutPoints(self, int: int) -> None: ... + def setPressure(self, double: float) -> None: ... + def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setWaterCutRange(self, double: float, double2: float) -> None: ... + @typing.overload + def setWaterCutRange(self, double: float, double2: float, int: int) -> None: ... + def setWaterSalinityPPM(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'FluidMagicInput': ... + def gorRange(self, double: float, double2: float) -> 'FluidMagicInput.Builder': ... + def gorSpacing(self, gORSpacing: 'FluidMagicInput.GORSpacing') -> 'FluidMagicInput.Builder': ... + def numberOfGORPoints(self, int: int) -> 'FluidMagicInput.Builder': ... + def numberOfWaterCutPoints(self, int: int) -> 'FluidMagicInput.Builder': ... + def pressure(self, double: float) -> 'FluidMagicInput.Builder': ... + def referenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FluidMagicInput.Builder': ... + def temperature(self, double: float) -> 'FluidMagicInput.Builder': ... + def waterCutRange(self, double: float, double2: float) -> 'FluidMagicInput.Builder': ... + def waterSalinity(self, double: float) -> 'FluidMagicInput.Builder': ... + class GORSpacing(java.lang.Enum['FluidMagicInput.GORSpacing']): + LINEAR: typing.ClassVar['FluidMagicInput.GORSpacing'] = ... + LOGARITHMIC: typing.ClassVar['FluidMagicInput.GORSpacing'] = ... + _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]) -> 'FluidMagicInput.GORSpacing': ... + @staticmethod + def values() -> typing.MutableSequence['FluidMagicInput.GORSpacing']: ... + +class InstalledCapacityTableLoader: + @typing.overload + @staticmethod + def load(processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str]) -> java.util.List['InstalledCapacityTableLoader.InstalledCapacityRecord']: ... + @typing.overload + @staticmethod + def load(processModel: jneqsim.process.processmodel.ProcessModel, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.List['InstalledCapacityTableLoader.InstalledCapacityRecord']: ... + class InstalledCapacityRecord(java.io.Serializable): + 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], double: float, double2: float, string5: typing.Union[java.lang.String, str], constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity, boolean: bool): ... + def getArea(self) -> java.lang.String: ... + def getConstraint(self) -> java.lang.String: ... + def getCurrentValueAddress(self) -> java.lang.String: ... + def getDesignValue(self) -> float: ... + def getEquipment(self) -> java.lang.String: ... + def getMaxValue(self) -> float: ... + def getSeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... + def getUnit(self) -> java.lang.String: ... + def isEnabled(self) -> bool: ... + +class LiftCurveGenerator(java.io.Serializable): + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def generateFlowRateTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'LiftCurveTable': ... + def generateTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'LiftCurveTable': ... + def generateTableAutoRange(self, int: int, int2: int, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'LiftCurveTable': ... + def getMaxVelocity(self) -> float: ... + def getOptimizer(self) -> FlowRateOptimizer: ... + def getTableName(self) -> java.lang.String: ... + def isCheckConstraints(self) -> bool: ... + def setCheckConstraints(self, boolean: bool) -> None: ... + def setFlowRateLimits(self, double: float, double2: float) -> None: ... + def setMaxVelocity(self, double: float) -> None: ... + def setOptimizerParameters(self, int: int, double: float) -> None: ... + def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class LiftCurveTable(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + def countFeasiblePoints(self) -> int: ... + def getBHP(self, int: int, int2: int) -> float: ... + def getBhpValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getComments(self) -> java.lang.String: ... + def getFeasibilityPercent(self) -> float: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getPressureUnit(self) -> java.lang.String: ... + def getRawDataWithHeaders(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getTableName(self) -> java.lang.String: ... + def getThpValues(self) -> typing.MutableSequence[float]: ... + def getTotalPoints(self) -> int: ... + def interpolateBHP(self, double: float, double2: float) -> float: ... + def setBHP(self, int: int, int2: int, double: float) -> None: ... + def setBhpValues(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setComments(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThpValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def toCSV(self) -> java.lang.String: ... + def toEclipseFormat(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class MonteCarloSimulator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, int: int): ... + def addTriangularParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, parameterApplier: typing.Union['MonteCarloSimulator.ParameterApplier', typing.Callable]) -> 'MonteCarloSimulator': ... + def addUniformParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, parameterApplier: typing.Union['MonteCarloSimulator.ParameterApplier', typing.Callable]) -> 'MonteCarloSimulator': ... + def run(self) -> 'MonteCarloSimulator.MonteCarloResult': ... + def setOutputExtractor(self, string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'MonteCarloSimulator': ... + def setSeed(self, long: int) -> 'MonteCarloSimulator': ... + class MonteCarloResult(java.io.Serializable): + def getMean(self) -> float: ... + def getP10(self) -> float: ... + def getP50(self) -> float: ... + def getP90(self) -> float: ... + def getPercentile(self, double: float) -> float: ... + def getProbabilityBelow(self, double: float) -> float: ... + def getStdDev(self) -> float: ... + def getTornado(self) -> java.util.List['MonteCarloSimulator.TornadoEntry']: ... + def toJson(self) -> java.lang.String: ... + class ParameterApplier(java.io.Serializable): + def apply(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> None: ... + class TornadoEntry(java.io.Serializable): + parameter: java.lang.String = ... + lowResult: float = ... + highResult: float = ... + swing: float = ... + +class MultiObjectiveOptimizer(java.io.Serializable): + DEFAULT_WEIGHT_COMBINATIONS: typing.ClassVar[int] = ... + DEFAULT_GRID_POINTS: typing.ClassVar[int] = ... + def __init__(self): ... + def includeInfeasible(self, boolean: bool) -> 'MultiObjectiveOptimizer': ... + def onProgress(self, progressCallback: typing.Union['MultiObjectiveOptimizer.ProgressCallback', typing.Callable]) -> 'MultiObjectiveOptimizer': ... + @typing.overload + def optimizeEpsilonConstraint(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, objectiveFunction: 'ObjectiveFunction', list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int) -> 'ParetoFront': ... + @typing.overload + def optimizeEpsilonConstraint(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, objectiveFunction: 'ObjectiveFunction', list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int, list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ParetoFront': ... + @typing.overload + def optimizeWeightedSum(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int) -> 'ParetoFront': ... + @typing.overload + def optimizeWeightedSum(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int, list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ParetoFront': ... + @typing.overload + def sampleParetoFront(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int) -> 'ParetoFront': ... + @typing.overload + def sampleParetoFront(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int, list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ParetoFront': ... + class MultiObjectiveResult(java.io.Serializable): + def __init__(self, paretoFront: 'ParetoFront', list: java.util.List['ObjectiveFunction'], string: typing.Union[java.lang.String, str], long: int): ... + def getComputationTimeMs(self) -> int: ... + def getKneePoint(self) -> 'ParetoSolution': ... + def getMethod(self) -> java.lang.String: ... + def getNumSolutions(self) -> int: ... + def getObjectives(self) -> java.util.List['ObjectiveFunction']: ... + def getParetoFront(self) -> 'ParetoFront': ... + def toString(self) -> java.lang.String: ... + class ProgressCallback: + def onProgress(self, int: int, int2: int, paretoSolution: 'ParetoSolution') -> None: ... + +class MultiScenarioVFPGenerator(java.io.Serializable): + @typing.overload + def __init__(self, supplier: typing.Union[java.util.function.Supplier[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[], jneqsim.process.processmodel.ProcessSystem]], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def exportVFPEXP(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def exportVFPEXP(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], int: int) -> None: ... + def generateVFPTable(self) -> 'MultiScenarioVFPGenerator.VFPTable': ... + def getFlashGenerator(self) -> 'RecombinationFlashGenerator': ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getGORs(self) -> typing.MutableSequence[float]: ... + def getInletTemperature(self) -> float: ... + def getOutletPressures(self) -> typing.MutableSequence[float]: ... + def getVfpTable(self) -> 'MultiScenarioVFPGenerator.VFPTable': ... + def getWaterCuts(self) -> typing.MutableSequence[float]: ... + def setEnableParallel(self, boolean: bool) -> None: ... + def setFlashGenerator(self, recombinationFlashGenerator: 'RecombinationFlashGenerator') -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFluidInput(self, fluidMagicInput: FluidMagicInput) -> None: ... + def setGORs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInletTemperature(self, double: float) -> None: ... + def setMaxInletPressure(self, double: float) -> None: ... + def setMinInletPressure(self, double: float) -> None: ... + def setNumberOfWorkers(self, int: int) -> None: ... + def setOutletPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPressureTolerance(self, double: float) -> None: ... + def setWaterCuts(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def toVFPEXPString(self, int: int) -> java.lang.String: ... + class VFPTable(java.io.Serializable): + def __init__(self, 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]): ... + def getBHP(self, int: int, int2: int, int3: int, int4: int) -> float: ... + def getBHPTable(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]: ... + def getFeasibleCount(self) -> int: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getFlowRates(self) -> typing.MutableSequence[float]: ... + def getGORs(self) -> typing.MutableSequence[float]: ... + def getOutletPressures(self) -> typing.MutableSequence[float]: ... + def getTotalPoints(self) -> int: ... + def getWaterCuts(self) -> typing.MutableSequence[float]: ... + def isFeasible(self, int: int, int2: int, int3: int, int4: int) -> bool: ... + def printSlice(self, int: int, int2: int) -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class ObjectiveFunction: + @staticmethod + def create(string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ObjectiveFunction.Direction', string2: typing.Union[java.lang.String, str]) -> 'ObjectiveFunction': ... + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def evaluateNormalized(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getDirection(self) -> 'ObjectiveFunction.Direction': ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + class Direction(java.lang.Enum['ObjectiveFunction.Direction']): + MAXIMIZE: typing.ClassVar['ObjectiveFunction.Direction'] = ... + MINIMIZE: typing.ClassVar['ObjectiveFunction.Direction'] = ... + _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]) -> 'ObjectiveFunction.Direction': ... + @staticmethod + def values() -> typing.MutableSequence['ObjectiveFunction.Direction']: ... + +class OptimizationResultBase(java.io.Serializable): + def __init__(self): ... + def addConstraintMargin(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addConstraintViolation(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], boolean: bool) -> None: ... + @typing.overload + def addConstraintViolation(self, constraintViolation: 'OptimizationResultBase.ConstraintViolation') -> None: ... + def addInitialValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addOptimalValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addSensitivity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addShadowPrice(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getBottleneckConstraint(self) -> java.lang.String: ... + def getBottleneckEquipment(self) -> java.lang.String: ... + def getConstraintEvaluations(self) -> int: ... + def getConstraintMargins(self) -> java.util.Map[java.lang.String, float]: ... + def getConstraintViolations(self) -> java.util.List['OptimizationResultBase.ConstraintViolation']: ... + def getElapsedTimeMillis(self) -> int: ... + def getElapsedTimeSeconds(self) -> float: ... + def getEndTimeMillis(self) -> int: ... + def getErrorMessage(self) -> java.lang.String: ... + def getFunctionEvaluations(self) -> int: ... + def getInitialValues(self) -> java.util.Map[java.lang.String, float]: ... + def getIterations(self) -> int: ... + def getObjective(self) -> java.lang.String: ... + def getObjectiveValue(self) -> float: ... + def getOptimalValue(self) -> float: ... + def getOptimalValues(self) -> java.util.Map[java.lang.String, float]: ... + def getSensitivities(self) -> java.util.Map[java.lang.String, float]: ... + def getShadowPrices(self) -> java.util.Map[java.lang.String, float]: ... + def getStartTimeMillis(self) -> int: ... + def getStatus(self) -> 'OptimizationResultBase.Status': ... + def getSummary(self) -> java.lang.String: ... + def hasHardViolations(self) -> bool: ... + def hasViolations(self) -> bool: ... + def incrementConstraintEvaluations(self) -> None: ... + def incrementFunctionEvaluations(self) -> None: ... + def incrementIterations(self) -> None: ... + def isConverged(self) -> bool: ... + def markEnd(self) -> None: ... + def markStart(self) -> None: ... + def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstraintEvaluations(self, int: int) -> None: ... + def setConstraintMargins(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setConstraintViolations(self, list: java.util.List['OptimizationResultBase.ConstraintViolation']) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFunctionEvaluations(self, int: int) -> None: ... + def setInitialValues(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setIterations(self, int: int) -> None: ... + def setObjective(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setObjectiveValue(self, double: float) -> None: ... + def setOptimalValue(self, double: float) -> None: ... + def setOptimalValues(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setSensitivities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setShadowPrices(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setStatus(self, status: 'OptimizationResultBase.Status') -> None: ... + def toString(self) -> java.lang.String: ... + class ConstraintViolation(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(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], boolean: bool): ... + def getConstraintName(self) -> java.lang.String: ... + def getCurrentValue(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getLimitValue(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getViolationAmount(self) -> float: ... + def getViolationPercent(self) -> float: ... + def isHardConstraint(self) -> bool: ... + def setConstraintName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCurrentValue(self, double: float) -> None: ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHardConstraint(self, boolean: bool) -> None: ... + def setLimitValue(self, double: float) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toString(self) -> java.lang.String: ... + class Status(java.lang.Enum['OptimizationResultBase.Status']): + CONVERGED: typing.ClassVar['OptimizationResultBase.Status'] = ... + MAX_ITERATIONS_REACHED: typing.ClassVar['OptimizationResultBase.Status'] = ... + INFEASIBLE: typing.ClassVar['OptimizationResultBase.Status'] = ... + FAILED: typing.ClassVar['OptimizationResultBase.Status'] = ... + CANCELLED: typing.ClassVar['OptimizationResultBase.Status'] = ... + IN_PROGRESS: typing.ClassVar['OptimizationResultBase.Status'] = ... + NOT_STARTED: typing.ClassVar['OptimizationResultBase.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]) -> 'OptimizationResultBase.Status': ... + @staticmethod + def values() -> typing.MutableSequence['OptimizationResultBase.Status']: ... + +class ParetoFront(java.io.Serializable, java.lang.Iterable['ParetoSolution']): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, boolean: bool): ... + def add(self, paretoSolution: 'ParetoSolution') -> bool: ... + def calculateHypervolume2D(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calculateSpacing(self) -> float: ... + def clear(self) -> None: ... + def findKneePoint(self) -> 'ParetoSolution': ... + def findMaximum(self, int: int) -> 'ParetoSolution': ... + def findMinimum(self, int: int) -> 'ParetoSolution': ... + def getSolutions(self) -> java.util.List['ParetoSolution']: ... + def getSolutionsSortedBy(self, int: int, boolean: bool) -> java.util.List['ParetoSolution']: ... + def isEmpty(self) -> bool: ... + def iterator(self) -> java.util.Iterator['ParetoSolution']: ... + def size(self) -> int: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class ParetoSolution(java.io.Serializable, java.lang.Comparable['ParetoSolution']): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], boolean: bool): ... + def addMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def compareTo(self, paretoSolution: 'ParetoSolution') -> int: ... + def crowdingDistance(self, paretoSolution: 'ParetoSolution', paretoSolution2: 'ParetoSolution', int: int, double: float) -> float: ... + def distanceTo(self, paretoSolution: 'ParetoSolution') -> float: ... + def dominates(self, paretoSolution: 'ParetoSolution') -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... + def getMetadata(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getNumObjectives(self) -> int: ... + def getObjectiveName(self, int: int) -> java.lang.String: ... + def getObjectiveUnit(self, int: int) -> java.lang.String: ... + def getObjectiveValues(self) -> typing.MutableSequence[float]: ... + def getRawObjectiveValues(self) -> typing.MutableSequence[float]: ... + def getRawValue(self, int: int) -> float: ... + def getValue(self, int: int) -> float: ... + def hashCode(self) -> int: ... + def isFeasible(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'ParetoSolution': ... + def decisionVariable(self, string: typing.Union[java.lang.String, str], double: float) -> 'ParetoSolution.Builder': ... + def decisionVariables(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'ParetoSolution.Builder': ... + def feasible(self, boolean: bool) -> 'ParetoSolution.Builder': ... + def objectives(self, list: java.util.List[ObjectiveFunction], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ParetoSolution.Builder': ... + +class PressureBoundaryOptimizer(java.io.Serializable): + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, productionOptimizer: 'ProductionOptimizer', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, productionOptimizer: 'ProductionOptimizer', streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def calculateTotalPower(self) -> float: ... + def configureCompressorCharts(self) -> None: ... + def findMaxFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationResult': ... + def findMinimumPowerOperatingPoint(self, double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float) -> 'ProductionOptimizer.OptimizationResult': ... + def generateCapacityCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def generateLiftCurveTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'PressureBoundaryOptimizer.LiftCurveTable': ... + def getCompressors(self) -> java.util.List[jneqsim.process.equipment.compressor.Compressor]: ... + def getProductionOptimizer(self) -> 'ProductionOptimizer': ... + def setAutoConfigureCompressors(self, boolean: bool) -> None: ... + def setMaxFlowRate(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMaxPowerLimit(self, double: float) -> None: ... + def setMaxUtilization(self, double: float) -> None: ... + def setMinFlowRate(self, double: float) -> None: ... + def setMinSurgeMargin(self, double: float) -> None: ... + def setPressureTolerance(self, double: float) -> None: ... + def setProductionOptimizer(self, productionOptimizer: 'ProductionOptimizer') -> None: ... + def setRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSpeedLimits(self, double: float, double2: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + class LiftCurveTable(java.io.Serializable): + def __init__(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[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def countFeasiblePoints(self) -> int: ... + def getBottleneck(self, int: int, int2: int) -> java.lang.String: ... + def getFlowRate(self, int: int, int2: int) -> float: ... + def getInletPressures(self) -> typing.MutableSequence[float]: ... + def getOutletPressures(self) -> typing.MutableSequence[float]: ... + def getPower(self, int: int, int2: int) -> float: ... + def getTableName(self) -> java.lang.String: ... + def toEclipseFormat(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class ProcessConstraint: + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getPenaltyWeight(self) -> float: ... + def getSeverityLevel(self) -> ConstraintSeverityLevel: ... + def isHard(self) -> bool: ... + def isSatisfied(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def penalty(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + +class ProcessConstraintEvaluator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def calculateFlowSensitivities(self, double: float, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + @typing.overload + def calculateFlowSensitivities(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> java.util.Map[java.lang.String, float]: ... + def clearCache(self) -> None: ... + @typing.overload + def estimateMaxFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def estimateMaxFlow(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> float: ... + @typing.overload + def evaluate(self) -> 'ProcessConstraintEvaluator.ConstraintEvaluationResult': ... + @typing.overload + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessConstraintEvaluator.ConstraintEvaluationResult': ... + def getCacheTTLMillis(self) -> int: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSensitivityStepSize(self) -> float: ... + def isCachingEnabled(self) -> bool: ... + def setCacheTTLMillis(self, long: int) -> None: ... + def setCachingEnabled(self, boolean: bool) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setSensitivityStepSize(self, double: float) -> None: ... + class CachedConstraints(java.io.Serializable): + def __init__(self): ... + def getCachedResults(self) -> java.util.Map[java.lang.String, float]: ... + def getFlowRate(self) -> float: ... + def getTimestamp(self) -> int: ... + def getTtlMillis(self) -> int: ... + def invalidate(self) -> None: ... + def isExpired(self) -> bool: ... + def isValid(self) -> bool: ... + def setFlowRate(self, double: float) -> None: ... + def setTimestamp(self, long: int) -> None: ... + def setTtlMillis(self, long: int) -> None: ... + def setValid(self, boolean: bool) -> None: ... + class ConstraintEvaluationResult(java.io.Serializable): + def __init__(self): ... + def addEquipmentSummary(self, equipmentConstraintSummary: 'ProcessConstraintEvaluator.EquipmentConstraintSummary') -> None: ... + def addNormalizedUtilization(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getBottleneckConstraint(self) -> java.lang.String: ... + def getBottleneckEquipment(self) -> java.lang.String: ... + def getBottleneckMargin(self) -> float: ... + def getBottleneckUtilization(self) -> float: ... + def getEquipmentSummaries(self) -> java.util.Map[java.lang.String, 'ProcessConstraintEvaluator.EquipmentConstraintSummary']: ... + def getNormalizedUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def getOverallUtilization(self) -> float: ... + def getTotalViolationCount(self) -> int: ... + def isAllHardConstraintsSatisfied(self) -> bool: ... + def isAllSoftConstraintsSatisfied(self) -> bool: ... + def isFeasible(self) -> bool: ... + def setAllHardConstraintsSatisfied(self, boolean: bool) -> None: ... + def setAllSoftConstraintsSatisfied(self, boolean: bool) -> None: ... + def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckUtilization(self, double: float) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setOverallUtilization(self, double: float) -> None: ... + def setTotalViolationCount(self, int: int) -> None: ... + class EquipmentConstraintSummary(java.io.Serializable): + def __init__(self): ... + def addConstraintDetail(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getBottleneckConstraint(self) -> java.lang.String: ... + def getConstraintCount(self) -> int: ... + def getConstraintDetails(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getMarginToLimit(self) -> float: ... + def getUtilization(self) -> float: ... + def getViolationCount(self) -> int: ... + def isWithinLimits(self) -> bool: ... + def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstraintCount(self, int: int) -> None: ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMarginToLimit(self, double: float) -> None: ... + def setUtilization(self, double: float) -> None: ... + def setViolationCount(self, int: int) -> None: ... + def setWithinLimits(self, boolean: bool) -> None: ... + +class ProcessModelOptimizationView(jneqsim.process.processmodel.ProcessSystem): + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel, int: int, double: float): ... + def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... + def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getBottleneckUtilization(self) -> float: ... + def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getModel(self) -> jneqsim.process.processmodel.ProcessModel: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUtilizationSnapshotJson(self) -> java.lang.String: ... + def isAnyEquipmentOverloaded(self) -> bool: ... + def isAnyHardLimitExceeded(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + +class ProcessModelSimulationEvaluator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + def addConstraintEquality(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float, double2: float) -> 'ProcessModelSimulationEvaluator': ... + def addConstraintLowerBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float) -> 'ProcessModelSimulationEvaluator': ... + def addConstraintRange(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float, double2: float) -> 'ProcessModelSimulationEvaluator': ... + def addConstraintUpperBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float) -> 'ProcessModelSimulationEvaluator': ... + def addEquipmentCapacityConstraints(self) -> 'ProcessModelSimulationEvaluator': ... + @typing.overload + def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]]) -> 'ProcessModelSimulationEvaluator': ... + @typing.overload + def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], direction: 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction') -> 'ProcessModelSimulationEvaluator': ... + @typing.overload + def addParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProcessModelSimulationEvaluator': ... + @typing.overload + def addParameter(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]) -> 'ProcessModelSimulationEvaluator': ... + def addParameterWithSetter(self, string: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProcessModelSimulationEvaluator': ... + def estimateConstraintJacobian(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelSimulationEvaluator.EvaluationResult': ... + def evaluateObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def evaluatePenalizedObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def findActiveBottleneck(self, processModel: jneqsim.process.processmodel.ProcessModel) -> 'ProcessModelSimulationEvaluator.BottleneckStatus': ... + def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBoundsAsList(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getConstraintCount(self) -> int: ... + def getConstraintMarginVector(self, processModel: jneqsim.process.processmodel.ProcessModel) -> typing.MutableSequence[float]: ... + def getConstraints(self) -> java.util.List['ProcessModelSimulationEvaluator.ConstraintDefinition']: ... + def getEvaluationCount(self) -> int: ... + def getFiniteDifferenceStep(self) -> float: ... + def getInitialValues(self) -> typing.MutableSequence[float]: ... + def getLastParameters(self) -> typing.MutableSequence[float]: ... + def getLastResult(self) -> 'ProcessModelSimulationEvaluator.EvaluationResult': ... + def getLowerBounds(self) -> typing.MutableSequence[float]: ... + def getObjectiveCount(self) -> int: ... + def getObjectives(self) -> java.util.List['ProcessModelSimulationEvaluator.ObjectiveDefinition']: ... + def getParameterCount(self) -> int: ... + def getParameters(self) -> java.util.List['ProcessModelSimulationEvaluator.ParameterDefinition']: ... + def getProblemDefinition(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getProcessModel(self) -> jneqsim.process.processmodel.ProcessModel: ... + def getUpperBounds(self) -> typing.MutableSequence[float]: ... + def isFeasible(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... + def isIncludeStrategyCapacityConstraints(self) -> bool: ... + def isUseRelativeStep(self) -> bool: ... + def setFiniteDifferenceStep(self, double: float) -> None: ... + def setIncludeStrategyCapacityConstraints(self, boolean: bool) -> None: ... + def setProcessModel(self, processModel: jneqsim.process.processmodel.ProcessModel) -> None: ... + def setUseRelativeStep(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + class BottleneckStatus(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(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, string4: typing.Union[java.lang.String, str], boolean: bool): ... + def getAreaName(self) -> java.lang.String: ... + def getConstraintName(self) -> java.lang.String: ... + def getCurrentValue(self) -> float: ... + def getDesignValue(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getQualifiedEquipmentName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def isFeasible(self) -> bool: ... + def isPresent(self) -> bool: ... + @staticmethod + def none() -> 'ProcessModelSimulationEvaluator.BottleneckStatus': ... + class ConstraintDefinition(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float, double2: float): ... + def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + def getAreaName(self) -> java.lang.String: ... + def getCapturedCapacityConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getEqualityTolerance(self) -> float: ... + def getEquipmentConstraintName(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel]: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPenaltyWeight(self) -> float: ... + def getSeverityLevel(self) -> ConstraintSeverityLevel: ... + def getType(self) -> 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type': ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def isCapacityConstraint(self) -> bool: ... + def isHard(self) -> bool: ... + def isSatisfied(self, processModel: jneqsim.process.processmodel.ProcessModel) -> bool: ... + def margin(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + def penalty(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + def setCapacityMetadata(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def setEqualityTolerance(self, double: float) -> None: ... + def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]]) -> None: ... + def setHard(self, boolean: bool) -> None: ... + def setLowerBound(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPenaltyWeight(self, double: float) -> None: ... + def setType(self, type: 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type') -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpperBound(self, double: float) -> None: ... + class Type(java.lang.Enum['ProcessModelSimulationEvaluator.ConstraintDefinition.Type']): + LOWER_BOUND: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... + UPPER_BOUND: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... + RANGE: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... + EQUALITY: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.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]) -> 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelSimulationEvaluator.ConstraintDefinition.Type']: ... + class EvaluationResult(java.io.Serializable): + def __init__(self): ... + def getActiveBottleneck(self) -> 'ProcessModelSimulationEvaluator.BottleneckStatus': ... + def getAdditionalOutputs(self) -> java.util.Map[java.lang.String, float]: ... + def getConstraintMargins(self) -> typing.MutableSequence[float]: ... + def getConstraintValues(self) -> typing.MutableSequence[float]: ... + def getErrorMessage(self) -> java.lang.String: ... + def getEvaluationNumber(self) -> int: ... + def getEvaluationTimeMs(self) -> int: ... + def getObjective(self) -> float: ... + def getObjectives(self) -> typing.MutableSequence[float]: ... + def getObjectivesRaw(self) -> typing.MutableSequence[float]: ... + def getParameters(self) -> typing.MutableSequence[float]: ... + def getPenalizedObjective(self) -> float: ... + def getPenaltySum(self) -> float: ... + def isFeasible(self) -> bool: ... + def isSimulationConverged(self) -> bool: ... + def setActiveBottleneck(self, bottleneckStatus: 'ProcessModelSimulationEvaluator.BottleneckStatus') -> None: ... + def setAdditionalOutputs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setConstraintMargins(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setConstraintValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEvaluationNumber(self, int: int) -> None: ... + def setEvaluationTimeMs(self, long: int) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setObjectives(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setObjectivesRaw(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPenaltySum(self, double: float) -> None: ... + def setSimulationConverged(self, boolean: bool) -> None: ... + class ObjectiveDefinition(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], direction: 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction'): ... + def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + def evaluateRaw(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + def getDirection(self) -> 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction': ... + def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel]: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def setDirection(self, direction: 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction') -> None: ... + def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]]) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWeight(self, double: float) -> None: ... + class Direction(java.lang.Enum['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction']): + MINIMIZE: typing.ClassVar['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction'] = ... + MAXIMIZE: typing.ClassVar['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction'] = ... + _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]) -> 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction']: ... + class ParameterDefinition(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(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]): ... + def clamp(self, double: float) -> float: ... + def getAddress(self) -> java.lang.String: ... + def getInitialValue(self) -> float: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSetter(self) -> java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float]: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def isWithinBounds(self, double: float) -> bool: ... + def setAddress(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialValue(self, double: float) -> None: ... + def setLowerBound(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSetter(self, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]]) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpperBound(self, double: float) -> None: ... + +class ProcessModelThroughputOptimizer(java.io.Serializable): + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + @typing.overload + def addProducer(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string3: typing.Union[java.lang.String, str]) -> 'ProcessModelThroughputOptimizer': ... + @typing.overload + def addProducer(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]) -> 'ProcessModelThroughputOptimizer': ... + def addProducerMultiplier(self, string: typing.Union[java.lang.String, str], double: float, double2: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]]) -> 'ProcessModelThroughputOptimizer': ... + def findMaximumThroughput(self, double: float, double2: float, double3: float) -> 'ProcessModelThroughputResult': ... + def getMaxIterations(self) -> int: ... + def getProducerControls(self) -> java.util.List['ProcessModelThroughputOptimizer.ProducerControl']: ... + def isIncludeEquipmentCapacityConstraints(self) -> bool: ... + def isIncludeStrategyCapacityConstraints(self) -> bool: ... + @typing.overload + def loadInstalledCapacities(self, string: typing.Union[java.lang.String, str]) -> java.util.List[InstalledCapacityTableLoader.InstalledCapacityRecord]: ... + @typing.overload + def loadInstalledCapacities(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.List[InstalledCapacityTableLoader.InstalledCapacityRecord]: ... + def setIncludeEquipmentCapacityConstraints(self, boolean: bool) -> 'ProcessModelThroughputOptimizer': ... + def setIncludeStrategyCapacityConstraints(self, boolean: bool) -> 'ProcessModelThroughputOptimizer': ... + def setMaxIterations(self, int: int) -> 'ProcessModelThroughputOptimizer': ... + def setObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], string2: typing.Union[java.lang.String, str]) -> 'ProcessModelThroughputOptimizer': ... + class ProducerControl(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string3: typing.Union[java.lang.String, str]): ... + def getAddress(self) -> java.lang.String: ... + def getBaseValue(self) -> float: ... + def getLowerMultiplier(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getUpperMultiplier(self) -> float: ... + def hasCustomSetter(self) -> bool: ... + +class ProcessModelThroughputResult(java.io.Serializable): + 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 addCase(self, throughputCaseRow: 'ThroughputCaseRow') -> None: ... + @typing.overload + def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def exportToCSV(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def getBestFeasibleCase(self) -> 'ThroughputCaseRow': ... + def getCaseRows(self) -> java.util.List['ThroughputCaseRow']: ... + def getFirstInfeasibleCase(self) -> 'ThroughputCaseRow': ... + def getObjectiveName(self) -> java.lang.String: ... + def getObjectiveUnit(self) -> java.lang.String: ... + def getOptimalMultiplier(self) -> float: ... + def getOptimalObjectiveValue(self) -> float: ... + def getStudyName(self) -> java.lang.String: ... + def isLowerBoundFeasible(self) -> bool: ... + def isUpperBoundFeasible(self) -> bool: ... + def setLowerBoundFeasible(self, boolean: bool) -> None: ... + def setObjectiveName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setObjectiveUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStudyName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpperBoundFeasible(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ProcessOptimizationEngine(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processModule: jneqsim.process.processmodel.ProcessModule): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def analyzeSensitivity(self, double: float, double2: float, double3: float) -> 'ProcessOptimizationEngine.SensitivityResult': ... + def bfgsSearch(self, double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateFlowSensitivities(self, double: float, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def calculateShadowPrices(self, double: float, double2: float, double3: float) -> java.util.Map[java.lang.String, float]: ... + def clearCache(self) -> None: ... + def createFlowAdjuster(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], double: float, string5: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.util.Adjuster: ... + def createFlowRateOptimizer(self) -> FlowRateOptimizer: ... + def disableAdjusters(self) -> java.util.List[jneqsim.process.equipment.util.Adjuster]: ... + def enableAdjusters(self, list: java.util.List[jneqsim.process.equipment.util.Adjuster]) -> None: ... + def estimateMaximumFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def evaluateAllConstraints(self) -> 'ProcessOptimizationEngine.ConstraintReport': ... + def evaluateConstraintsWithCache(self) -> ProcessConstraintEvaluator.ConstraintEvaluationResult: ... + def findBottleneckEquipment(self) -> java.lang.String: ... + def findMaximumThroughput(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... + def findRequiredInletPressure(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... + def generateComprehensiveLiftCurve(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> FlowRateOptimizer: ... + def generateLiftCurve(self, 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]) -> 'ProcessOptimizationEngine.LiftCurveData': ... + def getAdjusters(self) -> java.util.List[jneqsim.process.equipment.util.Adjuster]: ... + def getConstraintEvaluator(self) -> ProcessConstraintEvaluator: ... + def getFeedStreamName(self) -> java.lang.String: ... + def getMaxIterations(self) -> int: ... + def getOutletFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStreamName(self) -> java.lang.String: ... + @typing.overload + def getOutletTemperature(self) -> float: ... + @typing.overload + def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSearchAlgorithm(self) -> 'ProcessOptimizationEngine.SearchAlgorithm': ... + def getTolerance(self) -> float: ... + def gradientDescentArmijoWolfeSearch(self, double: float, double2: float, double3: float) -> float: ... + def gradientDescentSearch(self, double: float, double2: float, double3: float) -> float: ... + def isEnforceConstraints(self) -> bool: ... + def optimizeWithAdjusterTargets(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... + def optimizeWithAdjustersDisabled(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... + def setArmijoC1(self, double: float) -> None: ... + def setBfgsGradientTolerance(self, double: float) -> None: ... + def setEnforceConstraints(self, boolean: bool) -> None: ... + def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessOptimizationEngine': ... + def setMaxIterations(self, int: int) -> None: ... + def setMaxLineSearchIterations(self, int: int) -> None: ... + def setOutletStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessOptimizationEngine': ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setSearchAlgorithm(self, searchAlgorithm: 'ProcessOptimizationEngine.SearchAlgorithm') -> None: ... + def setTolerance(self, double: float) -> None: ... + def setWolfeC2(self, double: float) -> None: ... + class ConstraintReport(java.io.Serializable): + def __init__(self): ... + def addEquipmentStatus(self, equipmentConstraintStatus: 'ProcessOptimizationEngine.EquipmentConstraintStatus') -> None: ... + def getBottleneck(self) -> 'ProcessOptimizationEngine.EquipmentConstraintStatus': ... + def getEquipmentStatuses(self) -> java.util.List['ProcessOptimizationEngine.EquipmentConstraintStatus']: ... + class EquipmentConstraintStatus(java.io.Serializable): + def __init__(self): ... + def getBottleneckConstraint(self) -> java.lang.String: ... + def getConstraints(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def isWithinLimits(self) -> bool: ... + def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstraints(self, list: java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]) -> None: ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUtilization(self, double: float) -> None: ... + def setWithinLimits(self, boolean: bool) -> None: ... + class LiftCurveData(java.io.Serializable): + def __init__(self): ... + def addPoint(self, liftCurvePoint: 'ProcessOptimizationEngine.LiftCurvePoint') -> None: ... + def getPoints(self) -> java.util.List['ProcessOptimizationEngine.LiftCurvePoint']: ... + def size(self) -> int: ... + class LiftCurvePoint(java.io.Serializable): + def __init__(self): ... + def getGOR(self) -> float: ... + def getInletPressure(self) -> float: ... + def getMaxFlowRate(self) -> float: ... + def getTemperature(self) -> float: ... + def getWaterCut(self) -> float: ... + def setGOR(self, double: float) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setMaxFlowRate(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setWaterCut(self, double: float) -> None: ... + class OptimizationResult(java.io.Serializable): + def __init__(self): ... + def getAvailableMargin(self) -> float: ... + def getBottleneck(self) -> java.lang.String: ... + def getConstraintViolations(self) -> java.util.List[java.lang.String]: ... + def getErrorMessage(self) -> java.lang.String: ... + def getInletPressure(self) -> float: ... + def getObjective(self) -> java.lang.String: ... + def getOptimalValue(self) -> float: ... + def getOutletPressure(self) -> float: ... + def getSensitivity(self) -> 'ProcessOptimizationEngine.SensitivityResult': ... + def isConverged(self) -> bool: ... + def isNearCapacity(self) -> bool: ... + def setBottleneck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstraintViolations(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure(self, double: float) -> None: ... + def setObjective(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOptimalValue(self, double: float) -> None: ... + def setOutletPressure(self, double: float) -> None: ... + def setSensitivity(self, sensitivityResult: 'ProcessOptimizationEngine.SensitivityResult') -> None: ... + class SearchAlgorithm(java.lang.Enum['ProcessOptimizationEngine.SearchAlgorithm']): + BINARY_SEARCH: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + GOLDEN_SECTION: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + NELDER_MEAD: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + PARTICLE_SWARM: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + GRADIENT_DESCENT: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + GRADIENT_DESCENT_ARMIJO_WOLFE: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + BFGS: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + SEQUENTIAL_QUADRATIC_PROGRAMMING: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... + _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]) -> 'ProcessOptimizationEngine.SearchAlgorithm': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessOptimizationEngine.SearchAlgorithm']: ... + class SensitivityResult(java.io.Serializable): + def __init__(self): ... + def getBaseFlow(self) -> float: ... + def getBottleneckEquipment(self) -> java.lang.String: ... + def getConstraintMargins(self) -> java.util.Map[java.lang.String, float]: ... + def getFlowBuffer(self) -> float: ... + def getFlowGradient(self) -> float: ... + def getTightestConstraint(self) -> java.lang.String: ... + def getTightestMargin(self) -> float: ... + def isAtCapacity(self) -> bool: ... + def setBaseFlow(self, double: float) -> None: ... + def setConstraintMargins(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setFlowBuffer(self, double: float) -> None: ... + def setFlowGradient(self, double: float) -> None: ... + def setTightestConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTightestMargin(self, double: float) -> None: ... + +class ProductionImpactAnalyzer(java.io.Serializable): + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def analyzeFailureImpact(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactResult': ... + @typing.overload + def analyzeFailureImpact(self, string: typing.Union[java.lang.String, str], equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> 'ProductionImpactResult': ... + def analyzeMultipleFailures(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ProductionImpactResult': ... + def clearCache(self) -> None: ... + def compareFailureScenarios(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> java.util.List['ProductionImpactResult']: ... + def compareToPlantStop(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactResult': ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def rankEquipmentByCriticality(self) -> java.util.List['ProductionImpactResult']: ... + def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactAnalyzer': ... + def setOptimizeDegradedOperation(self, boolean: bool) -> 'ProductionImpactAnalyzer': ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProductPricePerKg(self, double: float) -> 'ProductionImpactAnalyzer': ... + def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactAnalyzer': ... + +class ProductionImpactResult(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode): ... + def addAffectedEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addOptimizedSetpoint(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def calculateDerivedMetrics(self) -> None: ... + def getAbsoluteLoss(self) -> float: ... + def getAffectedEquipment(self) -> java.util.List[java.lang.String]: ... + def getAnalysisComputeTime(self) -> float: ... + def getAnalysisNotes(self) -> java.lang.String: ... + def getBaselinePower(self) -> float: ... + def getBaselineProductionRate(self) -> float: ... + def getEconomicLossPerDay(self) -> float: ... + def getEconomicLossPerHour(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getEquipmentType(self) -> java.lang.String: ... + def getEstimatedRecoveryTime(self) -> float: ... + def getFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getFullShutdownProduction(self) -> float: ... + def getLossVsFullShutdown(self) -> float: ... + def getNewBottleneck(self) -> java.lang.String: ... + def getNewBottleneckUtilization(self) -> float: ... + def getOptimizedProductionWithFailure(self) -> float: ... + def getOptimizedSetpoints(self) -> java.util.Map[java.lang.String, float]: ... + def getOriginalBottleneck(self) -> java.lang.String: ... + def getOriginalBottleneckUtilization(self) -> float: ... + def getPercentLoss(self) -> float: ... + def getPowerSavings(self) -> float: ... + def getPowerWithFailure(self) -> float: ... + def getProductionWithFailure(self) -> float: ... + def getRecommendationReason(self) -> java.lang.String: ... + def getRecommendedAction(self) -> 'ProductionImpactResult.RecommendedAction': ... + def getTimeToImplementChanges(self) -> float: ... + def isConverged(self) -> bool: ... + def setAnalysisComputeTime(self, double: float) -> None: ... + def setAnalysisNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBaselinePower(self, double: float) -> None: ... + def setBaselineProductionRate(self, double: float) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEstimatedRecoveryTime(self, double: float) -> None: ... + def setFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + def setFullShutdownProduction(self, double: float) -> None: ... + def setNewBottleneck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNewBottleneckUtilization(self, double: float) -> None: ... + def setOptimizedProductionWithFailure(self, double: float) -> None: ... + def setOriginalBottleneck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOriginalBottleneckUtilization(self, double: float) -> None: ... + def setPowerWithFailure(self, double: float) -> None: ... + def setProductPricePerKg(self, double: float) -> None: ... + def setProductionWithFailure(self, double: float) -> None: ... + def setRecommendationReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRecommendedAction(self, recommendedAction: 'ProductionImpactResult.RecommendedAction') -> None: ... + def setTimeToImplementChanges(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class RecommendedAction(java.lang.Enum['ProductionImpactResult.RecommendedAction']): + CONTINUE_NORMAL: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... + REDUCE_THROUGHPUT: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... + PARTIAL_SHUTDOWN: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... + FULL_SHUTDOWN: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... + BYPASS_EQUIPMENT: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... + USE_STANDBY: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... + _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]) -> 'ProductionImpactResult.RecommendedAction': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionImpactResult.RecommendedAction']: ... + +class ProductionOptimizationSpecLoader: + @staticmethod + def load(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.processmodel.ProcessSystem], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.processmodel.ProcessSystem]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.equipment.stream.StreamInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.equipment.stream.StreamInterface]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]]]) -> java.util.List['ProductionOptimizer.ScenarioRequest']: ... + +class RecombinationFlashGenerator(java.io.Serializable): + def __init__(self, fluidMagicInput: FluidMagicInput): ... + def clearCache(self) -> None: ... + @typing.overload + def generateFluid(self, double: float, double2: float, double3: float, double4: float) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def generateFluid(self, double: float, double2: float, double3: float, double4: float, double5: float) -> jneqsim.thermo.system.SystemInterface: ... + def getCacheStatistics(self) -> java.lang.String: ... + def getGasPhase(self) -> jneqsim.thermo.system.SystemInterface: ... + def getOilPhase(self) -> jneqsim.thermo.system.SystemInterface: ... + def getWaterPhase(self) -> jneqsim.thermo.system.SystemInterface: ... + def isEnableCaching(self) -> bool: ... + def setEnableCaching(self, boolean: bool) -> None: ... + def validateGOR(self, double: float, double2: float, double3: float) -> bool: ... + +class SQPoptimizer(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + def addEqualityConstraint(self, constraintFunc: typing.Union['SQPoptimizer.ConstraintFunc', typing.Callable]) -> None: ... + def addInequalityConstraint(self, constraintFunc: typing.Union['SQPoptimizer.ConstraintFunc', typing.Callable]) -> None: ... + def getMaxIterations(self) -> int: ... + def getTolerance(self) -> float: ... + def setFiniteDifferenceStep(self, double: float) -> None: ... + def setInitialPoint(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setObjectiveFunction(self, objectiveFunc: typing.Union['SQPoptimizer.ObjectiveFunc', typing.Callable]) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setVariableBounds(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def solve(self) -> 'SQPoptimizer.OptimizationResult': ... + class ConstraintFunc: + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + class ObjectiveFunc: + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + class OptimizationResult(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, int: int, boolean: bool, double3: float): ... + def getIterations(self) -> int: ... + def getKktError(self) -> float: ... + def getOptimalPoint(self) -> typing.MutableSequence[float]: ... + def getOptimalValue(self) -> float: ... + def isConverged(self) -> bool: ... + +class SensitivityAnalysis(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addOutput(self, string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'SensitivityAnalysis': ... + def getCurrentValue(self) -> float: ... + def run(self) -> 'SensitivityAnalysis.SensitivityResult': ... + @typing.overload + def setParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis': ... + @typing.overload + def setParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], None]]) -> 'SensitivityAnalysis': ... + class SensitivityResult(java.io.Serializable): + def getOutput(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getOutputNames(self) -> java.util.List[java.lang.String]: ... + def getParameterValues(self) -> typing.MutableSequence[float]: ... + def getSize(self) -> int: ... + def getSuccessCount(self) -> int: ... + def toCSV(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + +class ThroughputCaseRow(java.io.Serializable): + def __init__(self, int: int, double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double2: float, boolean: bool, boolean2: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, double6: float, double7: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], long: int): ... + @staticmethod + def fromEvaluation(int: int, double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], evaluationResult: ProcessModelSimulationEvaluator.EvaluationResult) -> 'ThroughputCaseRow': ... + def getActiveArea(self) -> java.lang.String: ... + def getActiveConstraint(self) -> java.lang.String: ... + def getActiveEquipment(self) -> java.lang.String: ... + def getCapacityMargin(self) -> float: ... + def getCaseNumber(self) -> int: ... + def getCurrentValue(self) -> float: ... + def getDesignValue(self) -> float: ... + def getErrorMessage(self) -> java.lang.String: ... + def getEvaluationTimeMs(self) -> int: ... + def getObjectiveValue(self) -> float: ... + def getProducerMultipliers(self) -> java.util.Map[java.lang.String, float]: ... + def getThroughputMultiplier(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def getUtilizationMargin(self) -> float: ... + def isFeasible(self) -> bool: ... + def isSimulationConverged(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class CapacityConstraintAdapter(ProcessConstraint): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, double: float): ... + def getDelegate(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getPenaltyWeight(self) -> float: ... + def getSeverityLevel(self) -> ConstraintSeverityLevel: ... + def getUnit(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + +class ProcessSimulationEvaluator(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def addConstraintEquality(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, double2: float) -> 'ProcessSimulationEvaluator': ... + def addConstraintLowerBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float) -> 'ProcessSimulationEvaluator': ... + def addConstraintRange(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, double2: float) -> 'ProcessSimulationEvaluator': ... + def addConstraintUpperBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float) -> 'ProcessSimulationEvaluator': ... + def addEquipmentCapacityConstraints(self) -> 'ProcessSimulationEvaluator': ... + @typing.overload + def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'ProcessSimulationEvaluator': ... + @typing.overload + def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction') -> 'ProcessSimulationEvaluator': ... + @typing.overload + def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction', double: float) -> 'ProcessSimulationEvaluator': ... + def addParameter(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]) -> 'ProcessSimulationEvaluator': ... + def addParameterWithSetter(self, string: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProcessSimulationEvaluator': ... + def estimateConstraintJacobian(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessSimulationEvaluator.EvaluationResult': ... + def evaluateObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def evaluatePenalizedObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getAllProcessConstraints(self) -> java.util.List[ProcessConstraint]: ... + def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getConstraintCount(self) -> int: ... + def getConstraintMarginVector(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> typing.MutableSequence[float]: ... + def getConstraintMargins(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getConstraints(self) -> java.util.List['ProcessSimulationEvaluator.ConstraintDefinition']: ... + def getEvaluationCount(self) -> int: ... + def getFiniteDifferenceStep(self) -> float: ... + def getInitialValues(self) -> typing.MutableSequence[float]: ... + def getLastResult(self) -> 'ProcessSimulationEvaluator.EvaluationResult': ... + def getLowerBounds(self) -> typing.MutableSequence[float]: ... + def getObjectiveCount(self) -> int: ... + def getObjectives(self) -> java.util.List['ProcessSimulationEvaluator.ObjectiveDefinition']: ... + def getParameterCount(self) -> int: ... + def getParameters(self) -> java.util.List['ProcessSimulationEvaluator.ParameterDefinition']: ... + def getProblemDefinition(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getUpperBounds(self) -> typing.MutableSequence[float]: ... + def isCloneForEvaluation(self) -> bool: ... + def isFeasible(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... + def isUseRelativeStep(self) -> bool: ... + def resetEvaluationCount(self) -> None: ... + def setCloneForEvaluation(self, boolean: bool) -> None: ... + def setFiniteDifferenceStep(self, double: float) -> None: ... + def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setUseRelativeStep(self, boolean: bool) -> None: ... + def toJson(self) -> java.lang.String: ... + class ConstraintDefinition(java.io.Serializable, ProcessConstraint): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, double2: float): ... + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getEqualityTolerance(self) -> float: ... + def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem]: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPenaltyWeight(self) -> float: ... + def getSeverityLevel(self) -> ConstraintSeverityLevel: ... + def getType(self) -> 'ProcessSimulationEvaluator.ConstraintDefinition.Type': ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def isHard(self) -> bool: ... + def isSatisfied(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def penalty(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def setEqualityTolerance(self, double: float) -> None: ... + def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> None: ... + def setHard(self, boolean: bool) -> None: ... + def setLowerBound(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPenaltyWeight(self, double: float) -> None: ... + def setType(self, type: 'ProcessSimulationEvaluator.ConstraintDefinition.Type') -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpperBound(self, double: float) -> None: ... + def toOptimizationConstraint(self) -> 'ProductionOptimizer.OptimizationConstraint': ... + class Type(java.lang.Enum['ProcessSimulationEvaluator.ConstraintDefinition.Type']): + LOWER_BOUND: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... + UPPER_BOUND: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... + RANGE: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... + EQUALITY: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.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]) -> 'ProcessSimulationEvaluator.ConstraintDefinition.Type': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessSimulationEvaluator.ConstraintDefinition.Type']: ... + class EvaluationResult(java.io.Serializable): + def __init__(self): ... + def addOutput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getAdditionalOutputs(self) -> java.util.Map[java.lang.String, float]: ... + def getConstraintMargins(self) -> typing.MutableSequence[float]: ... + def getConstraintValues(self) -> typing.MutableSequence[float]: ... + def getErrorMessage(self) -> java.lang.String: ... + def getEvaluationNumber(self) -> int: ... + def getEvaluationTimeMs(self) -> int: ... + def getObjective(self) -> float: ... + def getObjectives(self) -> typing.MutableSequence[float]: ... + def getObjectivesRaw(self) -> typing.MutableSequence[float]: ... + def getParameters(self) -> typing.MutableSequence[float]: ... + def getPenalizedObjective(self) -> float: ... + def getPenaltySum(self) -> float: ... + def getWeightedObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def isFeasible(self) -> bool: ... + def isSimulationConverged(self) -> bool: ... + def setAdditionalOutputs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setConstraintMargins(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setConstraintValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEvaluationNumber(self, int: int) -> None: ... + def setEvaluationTimeMs(self, long: int) -> None: ... + def setFeasible(self, boolean: bool) -> None: ... + def setObjectives(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setObjectivesRaw(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPenaltySum(self, double: float) -> None: ... + def setSimulationConverged(self, boolean: bool) -> None: ... + class ObjectiveDefinition(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction'): ... + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def evaluateRaw(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getDirection(self) -> 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction': ... + def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem]: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + def setDirection(self, direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction') -> None: ... + def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setWeight(self, double: float) -> None: ... + class Direction(java.lang.Enum['ProcessSimulationEvaluator.ObjectiveDefinition.Direction']): + MINIMIZE: typing.ClassVar['ProcessSimulationEvaluator.ObjectiveDefinition.Direction'] = ... + MAXIMIZE: typing.ClassVar['ProcessSimulationEvaluator.ObjectiveDefinition.Direction'] = ... + _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]) -> 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessSimulationEvaluator.ObjectiveDefinition.Direction']: ... + class ParameterDefinition(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(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, string4: typing.Union[java.lang.String, str]): ... + def clamp(self, double: float) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getInitialValue(self) -> float: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPropertyName(self) -> java.lang.String: ... + def getSetter(self) -> java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float]: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def isWithinBounds(self, double: float) -> bool: ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialValue(self, double: float) -> None: ... + def setLowerBound(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSetter(self, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpperBound(self, double: float) -> None: ... + +class ProductionOptimizer: + DEFAULT_UTILIZATION_LIMIT: typing.ClassVar[float] = ... + def __init__(self): ... + @staticmethod + def buildUtilizationSeries(list: java.util.List['ProductionOptimizer.IterationRecord']) -> java.util.List['ProductionOptimizer.UtilizationSeries']: ... + def compareScenarios(self, list: java.util.List['ProductionOptimizer.ScenarioRequest'], list2: java.util.List['ProductionOptimizer.ScenarioKpi']) -> 'ProductionOptimizer.ScenarioComparisonResult': ... + @staticmethod + def formatScenarioComparisonTable(scenarioComparisonResult: 'ProductionOptimizer.ScenarioComparisonResult', list: java.util.List['ProductionOptimizer.ScenarioKpi']) -> java.lang.String: ... + @staticmethod + def formatUtilizationTable(list: java.util.List['ProductionOptimizer.UtilizationRecord']) -> java.lang.String: ... + @staticmethod + def formatUtilizationTimeline(list: java.util.List['ProductionOptimizer.IterationRecord']) -> java.lang.String: ... + @typing.overload + def optimize(self, processModel: jneqsim.process.processmodel.ProcessModel, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + @typing.overload + def optimize(self, processModel: jneqsim.process.processmodel.ProcessModel, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + @typing.overload + def optimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + @typing.overload + def optimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + @typing.overload + def optimizePareto(self, processModel: jneqsim.process.processmodel.ProcessModel, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + @typing.overload + def optimizePareto(self, processModel: jneqsim.process.processmodel.ProcessModel, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + @typing.overload + def optimizePareto(self, processSystem: jneqsim.process.processmodel.ProcessSystem, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + @typing.overload + def optimizePareto(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + def optimizeScenarios(self, list: java.util.List['ProductionOptimizer.ScenarioRequest']) -> java.util.List['ProductionOptimizer.ScenarioResult']: ... + def optimizeThroughput(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], list: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + @typing.overload + def quickOptimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProductionOptimizer.OptimizationSummary': ... + @typing.overload + def quickOptimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], list: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationSummary': ... + class ConstraintDirection(java.lang.Enum['ProductionOptimizer.ConstraintDirection']): + LESS_THAN: typing.ClassVar['ProductionOptimizer.ConstraintDirection'] = ... + GREATER_THAN: typing.ClassVar['ProductionOptimizer.ConstraintDirection'] = ... + _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]) -> 'ProductionOptimizer.ConstraintDirection': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionOptimizer.ConstraintDirection']: ... + class ConstraintSeverity(java.lang.Enum['ProductionOptimizer.ConstraintSeverity']): + HARD: typing.ClassVar['ProductionOptimizer.ConstraintSeverity'] = ... + SOFT: typing.ClassVar['ProductionOptimizer.ConstraintSeverity'] = ... + _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]) -> 'ProductionOptimizer.ConstraintSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionOptimizer.ConstraintSeverity']: ... + class ConstraintStatus: + def __init__(self, string: typing.Union[java.lang.String, str], constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double: float, double2: float, string2: typing.Union[java.lang.String, str]): ... + def getDescription(self) -> java.lang.String: ... + def getMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPenaltyWeight(self) -> float: ... + def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... + def violated(self) -> bool: ... + class IterationRecord: + def __init__(self, double: float, string: 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]], string2: typing.Union[java.lang.String, str], double2: float, boolean: bool, boolean2: bool, boolean3: bool, double3: float, list: java.util.List['ProductionOptimizer.UtilizationRecord']): ... + def getBottleneckName(self) -> java.lang.String: ... + def getBottleneckUtilization(self) -> float: ... + def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... + def getRate(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getScore(self) -> float: ... + def getUtilizations(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def isFeasible(self) -> bool: ... + def isHardConstraintsOk(self) -> bool: ... + def isUtilizationWithinLimits(self) -> bool: ... + class ManipulatedVariable: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]): ... + def apply(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> None: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + class ObjectiveType(java.lang.Enum['ProductionOptimizer.ObjectiveType']): + MAXIMIZE: typing.ClassVar['ProductionOptimizer.ObjectiveType'] = ... + MINIMIZE: typing.ClassVar['ProductionOptimizer.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]) -> 'ProductionOptimizer.ObjectiveType': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionOptimizer.ObjectiveType']: ... + class OptimizationConfig: + def __init__(self, double: float, double2: float): ... + def capacityPercentile(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityRangeForName(self, string: typing.Union[java.lang.String, str], capacityRange: 'ProductionOptimizer.CapacityRange') -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityRangeForType(self, class_: typing.Type[typing.Any], capacityRange: 'ProductionOptimizer.CapacityRange') -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityRangeSpreadFraction(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityRuleForName(self, string: typing.Union[java.lang.String, str], capacityRule: 'ProductionOptimizer.CapacityRule') -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityRuleForType(self, class_: typing.Type[typing.Any], capacityRule: 'ProductionOptimizer.CapacityRule') -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityUncertaintyFraction(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def cognitiveWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def columnFsFactorLimit(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def createRandom(self) -> java.util.Random: ... + def defaultUtilizationLimit(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def enableCaching(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... + def equipmentConstraintRule(self, equipmentConstraintRule: 'ProductionOptimizer.EquipmentConstraintRule') -> 'ProductionOptimizer.OptimizationConfig': ... + def getCapacityPercentile(self) -> float: ... + def getCapacityRangeSpreadFraction(self) -> float: ... + def getCapacityUncertaintyFraction(self) -> float: ... + def getCognitiveWeight(self) -> float: ... + def getColumnFsFactorLimit(self) -> float: ... + def getDefaultUtilizationLimit(self) -> float: ... + def getInertiaWeight(self) -> float: ... + def getInitialGuess(self) -> typing.MutableSequence[float]: ... + def getLowerBound(self) -> float: ... + def getMaxCacheSize(self) -> int: ... + def getMaxIterations(self) -> int: ... + def getParallelThreads(self) -> int: ... + def getParetoGridSize(self) -> int: ... + def getRandomSeed(self) -> int: ... + def getRateUnit(self) -> java.lang.String: ... + def getSearchMode(self) -> 'ProductionOptimizer.SearchMode': ... + def getSocialWeight(self) -> float: ... + def getStagnationIterations(self) -> int: ... + def getSwarmSize(self) -> int: ... + def getTolerance(self) -> float: ... + def getUpperBound(self) -> float: ... + def getUtilizationMarginFraction(self) -> float: ... + def inertiaWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def initialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProductionOptimizer.OptimizationConfig': ... + def isParallelEvaluations(self) -> bool: ... + def isRejectInvalidSimulations(self) -> bool: ... + def isUseFixedSeed(self) -> bool: ... + def maxCacheSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def maxIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def parallelEvaluations(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... + def parallelThreads(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def paretoGridSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def randomSeed(self, long: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def rateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConfig': ... + def rejectInvalidSimulations(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... + def searchMode(self, searchMode: 'ProductionOptimizer.SearchMode') -> 'ProductionOptimizer.OptimizationConfig': ... + def socialWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def stagnationIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def swarmSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def tolerance(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def useFixedSeed(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... + def utilizationLimitForName(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def utilizationLimitForType(self, class_: typing.Type[typing.Any], double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def utilizationMarginFraction(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def validate(self) -> None: ... + class OptimizationConstraint(ProcessConstraint): + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, constraintDirection: 'ProductionOptimizer.ConstraintDirection', constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double2: float, string2: typing.Union[java.lang.String, str]): ... + def getDescription(self) -> java.lang.String: ... + def getDirection(self) -> 'ProductionOptimizer.ConstraintDirection': ... + def getLimit(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPenaltyWeight(self) -> float: ... + def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... + def getSeverityLevel(self) -> ConstraintSeverityLevel: ... + @staticmethod + def greaterThan(string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConstraint': ... + def isSatisfied(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + @staticmethod + def lessThan(string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConstraint': ... + def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def toConstraintDefinition(self) -> ProcessSimulationEvaluator.ConstraintDefinition: ... + class OptimizationObjective: + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, objectiveType: 'ProductionOptimizer.ObjectiveType'): ... + def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getName(self) -> java.lang.String: ... + def getType(self) -> 'ProductionOptimizer.ObjectiveType': ... + def getWeight(self) -> float: ... + class OptimizationResult: + def __init__(self, double: float, string: 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]], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double2: float, list: java.util.List['ProductionOptimizer.UtilizationRecord'], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list2: java.util.List['ProductionOptimizer.ConstraintStatus'], boolean: bool, double3: float, int: int, list3: java.util.List['ProductionOptimizer.IterationRecord']): ... + def exportDetailedIterationHistoryAsCsv(self) -> java.lang.String: ... + def exportIterationHistoryAsCsv(self) -> java.lang.String: ... + def exportIterationHistoryAsJson(self) -> java.lang.String: ... + def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getBottleneckUtilization(self) -> float: ... + def getConstraintStatuses(self) -> java.util.List['ProductionOptimizer.ConstraintStatus']: ... + def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... + def getInfeasibilityDiagnosis(self) -> java.lang.String: ... + def getIterationHistory(self) -> java.util.List['ProductionOptimizer.IterationRecord']: ... + def getIterations(self) -> int: ... + def getObjectiveValues(self) -> java.util.Map[java.lang.String, float]: ... + def getOptimalRate(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getScore(self) -> float: ... + def getUtilizationRecords(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def isFeasible(self) -> bool: ... + class OptimizationSummary: + def __init__(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double2: float, double3: float, double4: float, boolean: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List['ProductionOptimizer.UtilizationRecord'], list2: java.util.List['ProductionOptimizer.ConstraintStatus']): ... + def getConstraints(self) -> java.util.List['ProductionOptimizer.ConstraintStatus']: ... + def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... + def getLimitingEquipment(self) -> java.lang.String: ... + def getMaxRate(self) -> float: ... + def getRateUnit(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def getUtilizationLimit(self) -> float: ... + def getUtilizationMargin(self) -> float: ... + def getUtilizations(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def isFeasible(self) -> bool: ... + class ParetoPoint: + def __init__(self, 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]], doubleArray: typing.Union[typing.List[float], jpype.JArray], boolean: bool, optimizationResult: 'ProductionOptimizer.OptimizationResult'): ... + def dominates(self, paretoPoint: 'ProductionOptimizer.ParetoPoint', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType'], typing.Mapping[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType']]) -> bool: ... + def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... + def getFullResult(self) -> 'ProductionOptimizer.OptimizationResult': ... + def getObjectiveValues(self) -> java.util.Map[java.lang.String, float]: ... + def getWeights(self) -> typing.MutableSequence[float]: ... + def isFeasible(self) -> bool: ... + class ParetoResult: + def __init__(self, list: java.util.List['ProductionOptimizer.ParetoPoint'], list2: java.util.List['ProductionOptimizer.ParetoPoint'], list3: java.util.List[typing.Union[java.lang.String, str]], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType'], typing.Mapping[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType']], int: int): ... + def getAllPoints(self) -> java.util.List['ProductionOptimizer.ParetoPoint']: ... + def getNadirPoint(self) -> java.util.Map[java.lang.String, float]: ... + def getObjectiveNames(self) -> java.util.List[java.lang.String]: ... + def getObjectiveTypes(self) -> java.util.Map[java.lang.String, 'ProductionOptimizer.ObjectiveType']: ... + def getParetoFront(self) -> java.util.List['ProductionOptimizer.ParetoPoint']: ... + def getParetoFrontSize(self) -> int: ... + def getTotalIterations(self) -> int: ... + def getUtopiaPoint(self) -> java.util.Map[java.lang.String, float]: ... + def toMarkdownTable(self) -> java.lang.String: ... + class ScenarioComparisonResult: + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List['ProductionOptimizer.ScenarioResult'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], typing.Mapping[typing.Union[java.lang.String, str], 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], typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]]]): ... + def getBaselineScenario(self) -> java.lang.String: ... + def getKpiDeltas(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getKpiValues(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getScenarioResults(self) -> java.util.List['ProductionOptimizer.ScenarioResult']: ... + class ScenarioKpi: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction['ProductionOptimizer.OptimizationResult'], typing.Callable[['ProductionOptimizer.OptimizationResult'], float]]): ... + def evaluate(self, optimizationResult: 'ProductionOptimizer.OptimizationResult') -> float: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + @staticmethod + def objectiveValue(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... + @staticmethod + def optimalRate(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... + @staticmethod + def score() -> 'ProductionOptimizer.ScenarioKpi': ... + class ScenarioRequest: + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processModel: jneqsim.process.processmodel.ProcessModel, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processModel: jneqsim.process.processmodel.ProcessModel, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + def getConfig(self) -> 'ProductionOptimizer.OptimizationConfig': ... + def getConstraints(self) -> java.util.List['ProductionOptimizer.OptimizationConstraint']: ... + def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getName(self) -> java.lang.String: ... + def getObjectives(self) -> java.util.List['ProductionOptimizer.OptimizationObjective']: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getVariables(self) -> java.util.List['ProductionOptimizer.ManipulatedVariable']: ... + class ScenarioResult: + def __init__(self, string: typing.Union[java.lang.String, str], optimizationResult: 'ProductionOptimizer.OptimizationResult'): ... + def getName(self) -> java.lang.String: ... + def getResult(self) -> 'ProductionOptimizer.OptimizationResult': ... + class SearchMode(java.lang.Enum['ProductionOptimizer.SearchMode']): + BINARY_FEASIBILITY: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... + GOLDEN_SECTION_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... + NELDER_MEAD_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... + PARTICLE_SWARM_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... + GRADIENT_DESCENT_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... + _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]) -> 'ProductionOptimizer.SearchMode': ... + @staticmethod + def values() -> typing.MutableSequence['ProductionOptimizer.SearchMode']: ... + class UtilizationRecord: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + def getCapacityDuty(self) -> float: ... + def getCapacityMax(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getUtilization(self) -> float: ... + def getUtilizationLimit(self) -> float: ... + class UtilizationSeries: + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[float], list2: java.util.List[bool], double: float): ... + def getBottleneckFlags(self) -> java.util.List[bool]: ... + def getEquipmentName(self) -> java.lang.String: ... + def getUtilizationLimit(self) -> float: ... + def getUtilizations(self) -> java.util.List[float]: ... + class CapacityRange: ... + class CapacityRule: ... + class EquipmentConstraintRule: ... + +class StandardObjective(java.lang.Enum['StandardObjective'], ObjectiveFunction): + MAXIMIZE_THROUGHPUT: typing.ClassVar['StandardObjective'] = ... + MINIMIZE_POWER: typing.ClassVar['StandardObjective'] = ... + MINIMIZE_HEATING_DUTY: typing.ClassVar['StandardObjective'] = ... + MINIMIZE_COOLING_DUTY: typing.ClassVar['StandardObjective'] = ... + MINIMIZE_TOTAL_ENERGY: typing.ClassVar['StandardObjective'] = ... + MAXIMIZE_SPECIFIC_PRODUCTION: typing.ClassVar['StandardObjective'] = ... + MAXIMIZE_LIQUID_RECOVERY: typing.ClassVar['StandardObjective'] = ... + @staticmethod + def maximizeManifoldThroughput(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def maximizePumpEfficiency(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def maximizePumpNPSHMargin(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def maximizeStreamFlow(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeCompressorPower(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeFIV_FRMS(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeFIV_LOF(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeManifoldBranchLOF(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeManifoldHeaderFRMS(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeManifoldHeaderLOF(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeManifoldImbalance(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeManifoldPressureDrop(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeManifoldVelocityRatio(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizePipelineVibration(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizePumpPower(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + @staticmethod + def minimizeStreamFlow(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + _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]) -> 'StandardObjective': ... + @staticmethod + def values() -> typing.MutableSequence['StandardObjective']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.optimizer")``. + + BatchStudy: typing.Type[BatchStudy] + CapacityConstraintAdapter: typing.Type[CapacityConstraintAdapter] + CompressorOptimizationHelper: typing.Type[CompressorOptimizationHelper] + ConstraintPenaltyCalculator: typing.Type[ConstraintPenaltyCalculator] + ConstraintSeverityLevel: typing.Type[ConstraintSeverityLevel] + DebottleneckAnalyzer: typing.Type[DebottleneckAnalyzer] + DegradedOperationOptimizer: typing.Type[DegradedOperationOptimizer] + DegradedOperationResult: typing.Type[DegradedOperationResult] + EclipseVFPExporter: typing.Type[EclipseVFPExporter] + FlowRateOptimizationResult: typing.Type[FlowRateOptimizationResult] + FlowRateOptimizer: typing.Type[FlowRateOptimizer] + FluidMagicInput: typing.Type[FluidMagicInput] + InstalledCapacityTableLoader: typing.Type[InstalledCapacityTableLoader] + LiftCurveGenerator: typing.Type[LiftCurveGenerator] + LiftCurveTable: typing.Type[LiftCurveTable] + MonteCarloSimulator: typing.Type[MonteCarloSimulator] + MultiObjectiveOptimizer: typing.Type[MultiObjectiveOptimizer] + MultiScenarioVFPGenerator: typing.Type[MultiScenarioVFPGenerator] + ObjectiveFunction: typing.Type[ObjectiveFunction] + OptimizationResultBase: typing.Type[OptimizationResultBase] + ParetoFront: typing.Type[ParetoFront] + ParetoSolution: typing.Type[ParetoSolution] + PressureBoundaryOptimizer: typing.Type[PressureBoundaryOptimizer] + ProcessConstraint: typing.Type[ProcessConstraint] + ProcessConstraintEvaluator: typing.Type[ProcessConstraintEvaluator] + ProcessModelOptimizationView: typing.Type[ProcessModelOptimizationView] + ProcessModelSimulationEvaluator: typing.Type[ProcessModelSimulationEvaluator] + ProcessModelThroughputOptimizer: typing.Type[ProcessModelThroughputOptimizer] + ProcessModelThroughputResult: typing.Type[ProcessModelThroughputResult] + ProcessOptimizationEngine: typing.Type[ProcessOptimizationEngine] + ProcessSimulationEvaluator: typing.Type[ProcessSimulationEvaluator] + ProductionImpactAnalyzer: typing.Type[ProductionImpactAnalyzer] + ProductionImpactResult: typing.Type[ProductionImpactResult] + ProductionOptimizationSpecLoader: typing.Type[ProductionOptimizationSpecLoader] + ProductionOptimizer: typing.Type[ProductionOptimizer] + RecombinationFlashGenerator: typing.Type[RecombinationFlashGenerator] + SQPoptimizer: typing.Type[SQPoptimizer] + SensitivityAnalysis: typing.Type[SensitivityAnalysis] + StandardObjective: typing.Type[StandardObjective] + ThroughputCaseRow: typing.Type[ThroughputCaseRow] diff --git a/src/jneqsim/process/util/reconciliation/__init__.pyi b/src/jneqsim/process/util/reconciliation/__init__.pyi new file mode 100644 index 00000000..fdde34b7 --- /dev/null +++ b/src/jneqsim/process/util/reconciliation/__init__.pyi @@ -0,0 +1,173 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import typing + + + +class DataReconciliationEngine(java.io.Serializable): + def __init__(self): ... + @typing.overload + def addConstraint(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'DataReconciliationEngine': ... + @typing.overload + def addConstraint(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'DataReconciliationEngine': ... + @typing.overload + def addMassBalanceConstraint(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'DataReconciliationEngine': ... + @typing.overload + def addMassBalanceConstraint(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]]) -> 'DataReconciliationEngine': ... + def addVariable(self, reconciliationVariable: 'ReconciliationVariable') -> 'DataReconciliationEngine': ... + def clear(self) -> None: ... + def clearConstraints(self) -> None: ... + def getConstraintCount(self) -> int: ... + def getGrossErrorThreshold(self) -> float: ... + def getVariable(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def getVariableCount(self) -> int: ... + def getVariables(self) -> java.util.List['ReconciliationVariable']: ... + def reconcile(self) -> 'ReconciliationResult': ... + def reconcileWithGrossErrorElimination(self, int: int) -> 'ReconciliationResult': ... + def setGrossErrorThreshold(self, double: float) -> 'DataReconciliationEngine': ... + +class ReconciliationResult(java.io.Serializable): + def __init__(self, list: java.util.List['ReconciliationVariable']): ... + def addGrossError(self, reconciliationVariable: 'ReconciliationVariable') -> None: ... + def getChiSquareStatistic(self) -> float: ... + def getComputeTimeMs(self) -> int: ... + def getConstraintResidualsAfter(self) -> typing.MutableSequence[float]: ... + def getConstraintResidualsBefore(self) -> typing.MutableSequence[float]: ... + def getDegreesOfFreedom(self) -> int: ... + def getErrorMessage(self) -> java.lang.String: ... + def getGrossErrors(self) -> java.util.List['ReconciliationVariable']: ... + def getObjectiveValue(self) -> float: ... + def getVariables(self) -> java.util.List['ReconciliationVariable']: ... + def hasGrossErrors(self) -> bool: ... + def isConverged(self) -> bool: ... + def isGlobalTestPassed(self) -> bool: ... + def setChiSquareStatistic(self, double: float) -> None: ... + def setComputeTimeMs(self, long: int) -> None: ... + def setConstraintResidualsAfter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setConstraintResidualsBefore(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setConverged(self, boolean: bool) -> None: ... + def setDegreesOfFreedom(self, int: int) -> None: ... + def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGlobalTestPassed(self, boolean: bool) -> None: ... + def setObjectiveValue(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toReport(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class ReconciliationVariable(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + @typing.overload + def __init__(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): ... + def getAdjustment(self) -> float: ... + def getEquipmentName(self) -> java.lang.String: ... + def getMeasuredValue(self) -> float: ... + def getModelValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNormalizedResidual(self) -> float: ... + def getPropertyName(self) -> java.lang.String: ... + def getReconciledValue(self) -> float: ... + def getUncertainty(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def hasModelValue(self) -> bool: ... + def isGrossError(self) -> bool: ... + def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def setGrossError(self, boolean: bool) -> None: ... + def setMeasuredValue(self, double: float) -> None: ... + def setModelValue(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNormalizedResidual(self, double: float) -> None: ... + def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def setReconciledValue(self, double: float) -> None: ... + def setUncertainty(self, double: float) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def toString(self) -> java.lang.String: ... + +class SteadyStateDetector(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + @typing.overload + def addVariable(self, steadyStateVariable: 'SteadyStateVariable') -> 'SteadyStateDetector': ... + @typing.overload + def addVariable(self, string: typing.Union[java.lang.String, str]) -> 'SteadyStateVariable': ... + def clear(self) -> None: ... + def createReconciliationEngine(self) -> DataReconciliationEngine: ... + def evaluate(self) -> 'SteadyStateResult': ... + def getDefaultWindowSize(self) -> int: ... + def getRThreshold(self) -> float: ... + def getRequiredFraction(self) -> float: ... + def getSlopeThreshold(self) -> float: ... + def getStdDevThreshold(self) -> float: ... + def getVariable(self, string: typing.Union[java.lang.String, str]) -> 'SteadyStateVariable': ... + def getVariableCount(self) -> int: ... + def getVariables(self) -> java.util.List['SteadyStateVariable']: ... + def isRequireFullWindow(self) -> bool: ... + def removeVariable(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setDefaultWindowSize(self, int: int) -> 'SteadyStateDetector': ... + def setRThreshold(self, double: float) -> 'SteadyStateDetector': ... + def setRequireFullWindow(self, boolean: bool) -> 'SteadyStateDetector': ... + def setRequiredFraction(self, double: float) -> 'SteadyStateDetector': ... + def setSlopeThreshold(self, double: float) -> 'SteadyStateDetector': ... + def setStdDevThreshold(self, double: float) -> 'SteadyStateDetector': ... + def toString(self) -> java.lang.String: ... + def updateAll(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def updateAndEvaluate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'SteadyStateResult': ... + def updateVariable(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + +class SteadyStateResult(java.io.Serializable): + def __init__(self, list: java.util.List['SteadyStateVariable'], double: float, double2: float): ... + def getRThreshold(self) -> float: ... + def getSlopeThreshold(self) -> float: ... + def getSteadyCount(self) -> int: ... + def getTimestamp(self) -> int: ... + def getTransientCount(self) -> int: ... + def getTransientVariables(self) -> java.util.List['SteadyStateVariable']: ... + def getVariables(self) -> java.util.List['SteadyStateVariable']: ... + def isAtSteadyState(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toReport(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class SteadyStateVariable(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... + def addValue(self, double: float) -> None: ... + def clear(self) -> None: ... + def getCount(self) -> int: ... + def getLatestValue(self) -> float: ... + def getMean(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRStatistic(self) -> float: ... + def getSlope(self) -> float: ... + def getStandardDeviation(self) -> float: ... + def getUncertainty(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getWindowSize(self) -> int: ... + def getWindowValues(self) -> java.util.List[float]: ... + def isAtSteadyState(self) -> bool: ... + def isWindowFull(self) -> bool: ... + def setUncertainty(self, double: float) -> 'SteadyStateVariable': ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'SteadyStateVariable': ... + def setWindowSize(self, int: int) -> None: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.reconciliation")``. + + DataReconciliationEngine: typing.Type[DataReconciliationEngine] + ReconciliationResult: typing.Type[ReconciliationResult] + ReconciliationVariable: typing.Type[ReconciliationVariable] + SteadyStateDetector: typing.Type[SteadyStateDetector] + SteadyStateResult: typing.Type[SteadyStateResult] + SteadyStateVariable: typing.Type[SteadyStateVariable] diff --git a/src/jneqsim/process/util/report/__init__.pyi b/src/jneqsim/process/util/report/__init__.pyi new file mode 100644 index 00000000..dbff7a47 --- /dev/null +++ b/src/jneqsim/process/util/report/__init__.pyi @@ -0,0 +1,113 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.process.util.report.safety +import jneqsim.thermo.system +import typing + + + +class HeatMaterialBalance(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def getAllStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getEquipmentData(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, typing.Any]: ... + def getStreamData(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> java.util.Map[java.lang.String, typing.Any]: ... + def setFlowUnit(self, string: typing.Union[java.lang.String, str]) -> 'HeatMaterialBalance': ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> 'HeatMaterialBalance': ... + def setTemperatureUnit(self, string: typing.Union[java.lang.String, str]) -> 'HeatMaterialBalance': ... + def streamTableToCSV(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + +class ProcessValidator(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def getErrorCount(self) -> int: ... + def getErrors(self) -> java.util.List['ProcessValidator.ValidationIssue']: ... + def getIssueCount(self) -> int: ... + def getIssues(self) -> java.util.List['ProcessValidator.ValidationIssue']: ... + def getWarningCount(self) -> int: ... + def isValid(self) -> bool: ... + def setMassBalanceTolerance(self, double: float) -> None: ... + def setPressureLimits(self, double: float, double2: float) -> None: ... + def setTemperatureLimits(self, double: float, double2: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def validate(self) -> None: ... + class Severity(java.lang.Enum['ProcessValidator.Severity']): + INFO: typing.ClassVar['ProcessValidator.Severity'] = ... + WARNING: typing.ClassVar['ProcessValidator.Severity'] = ... + ERROR: typing.ClassVar['ProcessValidator.Severity'] = ... + _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]) -> 'ProcessValidator.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessValidator.Severity']: ... + class ValidationIssue(java.io.Serializable): + severity: 'ProcessValidator.Severity' = ... + location: java.lang.String = ... + message: java.lang.String = ... + value: float = ... + def __init__(self, severity: 'ProcessValidator.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + +class Report: + @typing.overload + def __init__(self, processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass): ... + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + @typing.overload + def __init__(self, processModule: jneqsim.process.processmodel.ProcessModule): ... + @typing.overload + def __init__(self, processModuleBaseClass: jneqsim.process.processmodel.ProcessModuleBaseClass): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def generateJsonReport(self) -> java.lang.String: ... + @typing.overload + def generateJsonReport(self, reportConfig: 'ReportConfig') -> java.lang.String: ... + +class ReportConfig: + detailLevel: 'ReportConfig.DetailLevel' = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, detailLevel: 'ReportConfig.DetailLevel'): ... + def getDetailLevel(self, string: typing.Union[java.lang.String, str]) -> 'ReportConfig.DetailLevel': ... + def setDetailLevel(self, string: typing.Union[java.lang.String, str], detailLevel: 'ReportConfig.DetailLevel') -> None: ... + class DetailLevel(java.lang.Enum['ReportConfig.DetailLevel']): + MINIMUM: typing.ClassVar['ReportConfig.DetailLevel'] = ... + SUMMARY: typing.ClassVar['ReportConfig.DetailLevel'] = ... + FULL: typing.ClassVar['ReportConfig.DetailLevel'] = ... + HIDE: typing.ClassVar['ReportConfig.DetailLevel'] = ... + _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]) -> 'ReportConfig.DetailLevel': ... + @staticmethod + def values() -> typing.MutableSequence['ReportConfig.DetailLevel']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report")``. + + HeatMaterialBalance: typing.Type[HeatMaterialBalance] + ProcessValidator: typing.Type[ProcessValidator] + Report: typing.Type[Report] + ReportConfig: typing.Type[ReportConfig] + safety: jneqsim.process.util.report.safety.__module_protocol__ diff --git a/src/jneqsim/process/util/report/safety/__init__.pyi b/src/jneqsim/process/util/report/safety/__init__.pyi new file mode 100644 index 00000000..d5f7220e --- /dev/null +++ b/src/jneqsim/process/util/report/safety/__init__.pyi @@ -0,0 +1,109 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.conditionmonitor +import jneqsim.process.processmodel +import jneqsim.process.util.report +import typing + + + +class ProcessSafetyReport: + def getConditionFindings(self) -> java.util.List['ProcessSafetyReport.ConditionFinding']: ... + def getEquipmentSnapshotJson(self) -> java.lang.String: ... + def getReliefDeviceAssessments(self) -> java.util.List['ProcessSafetyReport.ReliefDeviceAssessment']: ... + def getSafetyMargins(self) -> java.util.List['ProcessSafetyReport.SafetyMarginAssessment']: ... + def getScenarioLabel(self) -> java.lang.String: ... + def getSystemKpis(self) -> 'ProcessSafetyReport.SystemKpiSnapshot': ... + def getThresholds(self) -> 'ProcessSafetyThresholds': ... + def toCsv(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def toUiModel(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ConditionFinding: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], severityLevel: 'SeverityLevel'): ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'SeverityLevel': ... + def getUnitName(self) -> java.lang.String: ... + class ReliefDeviceAssessment: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, severityLevel: 'SeverityLevel'): ... + def getMassFlowRateKgPerHr(self) -> float: ... + def getRelievingPressureBar(self) -> float: ... + def getSetPressureBar(self) -> float: ... + def getSeverity(self) -> 'SeverityLevel': ... + def getUnitName(self) -> java.lang.String: ... + def getUpstreamPressureBar(self) -> float: ... + def getUtilisationFraction(self) -> float: ... + class SafetyMarginAssessment: + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, severityLevel: 'SeverityLevel', string2: typing.Union[java.lang.String, str]): ... + def getDesignPressureBar(self) -> float: ... + def getMarginFraction(self) -> float: ... + def getNotes(self) -> java.lang.String: ... + def getOperatingPressureBar(self) -> float: ... + def getSeverity(self) -> 'SeverityLevel': ... + def getUnitName(self) -> java.lang.String: ... + class SystemKpiSnapshot: + def __init__(self, double: float, double2: float, severityLevel: 'SeverityLevel', severityLevel2: 'SeverityLevel'): ... + def getEntropyChangeKjPerK(self) -> float: ... + def getEntropySeverity(self) -> 'SeverityLevel': ... + def getExergyChangeKj(self) -> float: ... + def getExergySeverity(self) -> 'SeverityLevel': ... + +class ProcessSafetyReportBuilder: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def build(self) -> ProcessSafetyReport: ... + def withConditionMonitor(self, conditionMonitor: jneqsim.process.conditionmonitor.ConditionMonitor) -> 'ProcessSafetyReportBuilder': ... + def withReportConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> 'ProcessSafetyReportBuilder': ... + def withScenarioLabel(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyReportBuilder': ... + def withThresholds(self, processSafetyThresholds: 'ProcessSafetyThresholds') -> 'ProcessSafetyReportBuilder': ... + +class ProcessSafetyThresholds: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, processSafetyThresholds: 'ProcessSafetyThresholds'): ... + def getEntropyChangeCritical(self) -> float: ... + def getEntropyChangeWarning(self) -> float: ... + def getExergyChangeCritical(self) -> float: ... + def getExergyChangeWarning(self) -> float: ... + def getMinSafetyMarginCritical(self) -> float: ... + def getMinSafetyMarginWarning(self) -> float: ... + def getReliefUtilisationCritical(self) -> float: ... + def getReliefUtilisationWarning(self) -> float: ... + def setEntropyChangeCritical(self, double: float) -> 'ProcessSafetyThresholds': ... + def setEntropyChangeWarning(self, double: float) -> 'ProcessSafetyThresholds': ... + def setExergyChangeCritical(self, double: float) -> 'ProcessSafetyThresholds': ... + def setExergyChangeWarning(self, double: float) -> 'ProcessSafetyThresholds': ... + def setMinSafetyMarginCritical(self, double: float) -> 'ProcessSafetyThresholds': ... + def setMinSafetyMarginWarning(self, double: float) -> 'ProcessSafetyThresholds': ... + def setReliefUtilisationCritical(self, double: float) -> 'ProcessSafetyThresholds': ... + def setReliefUtilisationWarning(self, double: float) -> 'ProcessSafetyThresholds': ... + +class SeverityLevel(java.lang.Enum['SeverityLevel']): + NORMAL: typing.ClassVar['SeverityLevel'] = ... + WARNING: typing.ClassVar['SeverityLevel'] = ... + CRITICAL: typing.ClassVar['SeverityLevel'] = ... + def combine(self, severityLevel: 'SeverityLevel') -> 'SeverityLevel': ... + _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]) -> 'SeverityLevel': ... + @staticmethod + def values() -> typing.MutableSequence['SeverityLevel']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report.safety")``. + + ProcessSafetyReport: typing.Type[ProcessSafetyReport] + ProcessSafetyReportBuilder: typing.Type[ProcessSafetyReportBuilder] + ProcessSafetyThresholds: typing.Type[ProcessSafetyThresholds] + SeverityLevel: typing.Type[SeverityLevel] diff --git a/src/jneqsim/process/util/scenario/__init__.pyi b/src/jneqsim/process/util/scenario/__init__.pyi new file mode 100644 index 00000000..542d6bb5 --- /dev/null +++ b/src/jneqsim/process/util/scenario/__init__.pyi @@ -0,0 +1,86 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.process.logic +import jneqsim.process.processmodel +import jneqsim.process.safety +import jneqsim.process.util.monitor +import typing + + + +class ProcessScenarioRunner: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def activateLogic(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def addLogic(self, processLogic: jneqsim.process.logic.ProcessLogic) -> None: ... + def clearAllLogic(self) -> None: ... + def findLogic(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.logic.ProcessLogic: ... + def getLogicSequences(self) -> java.util.List[jneqsim.process.logic.ProcessLogic]: ... + def getSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def initializeSteadyState(self) -> None: ... + @typing.overload + def removeLogic(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def removeLogic(self, processLogic: jneqsim.process.logic.ProcessLogic) -> None: ... + def renewSimulationId(self) -> None: ... + def reset(self) -> None: ... + def resetLogic(self) -> None: ... + def runScenario(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, double: float, double2: float) -> 'ScenarioExecutionSummary': ... + def runScenarioWithLogic(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, double: float, double2: float, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ScenarioExecutionSummary': ... + +class ScenarioExecutionSummary: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addLogicResult(self, string: typing.Union[java.lang.String, str], logicState: jneqsim.process.logic.LogicState, string2: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getErrors(self) -> java.util.List[java.lang.String]: ... + def getExecutionTime(self) -> int: ... + def getKPI(self) -> jneqsim.process.util.monitor.ScenarioKPI: ... + def getLogicResults(self) -> java.util.Map[java.lang.String, 'ScenarioExecutionSummary.LogicResult']: ... + def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... + def getScenarioName(self) -> java.lang.String: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isSuccessful(self) -> bool: ... + def printResults(self) -> None: ... + def setExecutionTime(self, long: int) -> None: ... + def setKPI(self, scenarioKPI: jneqsim.process.util.monitor.ScenarioKPI) -> None: ... + def setScenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> None: ... + class LogicResult: + def __init__(self, logicState: jneqsim.process.logic.LogicState, string: typing.Union[java.lang.String, str]): ... + def getFinalState(self) -> jneqsim.process.logic.LogicState: ... + def getStatusDescription(self) -> java.lang.String: ... + +class ScenarioTestRunner: + def __init__(self, processScenarioRunner: ProcessScenarioRunner): ... + def batch(self) -> 'ScenarioTestRunner.BatchExecutor': ... + def displayDashboard(self) -> None: ... + @typing.overload + def executeScenario(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, double: float, double2: float) -> ScenarioExecutionSummary: ... + @typing.overload + def executeScenario(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], double: float, double2: float) -> ScenarioExecutionSummary: ... + def executeScenarioWithDelayedActivation(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], long: int, string3: typing.Union[java.lang.String, str], double: float, double2: float) -> ScenarioExecutionSummary: ... + def getDashboard(self) -> jneqsim.process.util.monitor.KPIDashboard: ... + def getRunner(self) -> ProcessScenarioRunner: ... + def getScenarioCount(self) -> int: ... + def printHeader(self) -> None: ... + def resetCounter(self) -> None: ... + class BatchExecutor: + def __init__(self, scenarioTestRunner: 'ScenarioTestRunner'): ... + def add(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ScenarioTestRunner.BatchExecutor': ... + def addDelayed(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], long: int, string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ScenarioTestRunner.BatchExecutor': ... + def execute(self) -> None: ... + def executeWithoutWrapper(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.scenario")``. + + ProcessScenarioRunner: typing.Type[ProcessScenarioRunner] + ScenarioExecutionSummary: typing.Type[ScenarioExecutionSummary] + ScenarioTestRunner: typing.Type[ScenarioTestRunner] diff --git a/src/jneqsim/process/util/sensitivity/__init__.pyi b/src/jneqsim/process/util/sensitivity/__init__.pyi new file mode 100644 index 00000000..348d0703 --- /dev/null +++ b/src/jneqsim/process/util/sensitivity/__init__.pyi @@ -0,0 +1,47 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jneqsim.process.processmodel +import jneqsim.process.util.uncertainty +import typing + + + +class ProcessSensitivityAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def compute(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def computeFiniteDifferencesOnly(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def generateReport(self, sensitivityMatrix: jneqsim.process.util.uncertainty.SensitivityMatrix) -> java.lang.String: ... + def reset(self) -> 'ProcessSensitivityAnalyzer': ... + def withCentralDifferences(self, boolean: bool) -> 'ProcessSensitivityAnalyzer': ... + @typing.overload + def withInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + @typing.overload + def withInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + @typing.overload + def withOutput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + @typing.overload + def withOutput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + def withPerturbation(self, double: float) -> 'ProcessSensitivityAnalyzer': ... + class VariableSpec(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + 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 getEquipmentName(self) -> java.lang.String: ... + def getFullName(self) -> java.lang.String: ... + def getPropertyName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.sensitivity")``. + + ProcessSensitivityAnalyzer: typing.Type[ProcessSensitivityAnalyzer] diff --git a/src/jneqsim/process/util/topology/__init__.pyi b/src/jneqsim/process/util/topology/__init__.pyi new file mode 100644 index 00000000..a484d4a8 --- /dev/null +++ b/src/jneqsim/process/util/topology/__init__.pyi @@ -0,0 +1,164 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import jneqsim.process.util.optimizer +import typing + + + +class DependencyAnalyzer(java.io.Serializable): + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, processTopologyAnalyzer: 'ProcessTopologyAnalyzer'): ... + @typing.overload + def addCrossInstallationDependency(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]) -> None: ... + @typing.overload + def addCrossInstallationDependency(self, functionalLocation: 'FunctionalLocation', functionalLocation2: 'FunctionalLocation', string: typing.Union[java.lang.String, str], double: float) -> None: ... + def analyzeFailure(self, string: typing.Union[java.lang.String, str]) -> 'DependencyAnalyzer.DependencyResult': ... + def findCriticalPaths(self) -> java.util.List[java.util.List[java.lang.String]]: ... + def getEquipmentToMonitor(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getImpactAnalyzer(self) -> jneqsim.process.util.optimizer.ProductionImpactAnalyzer: ... + def getTopologyAnalyzer(self) -> 'ProcessTopologyAnalyzer': ... + def initialize(self) -> None: ... + class CrossInstallationDependency(java.io.Serializable): + 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 getDependencyType(self) -> java.lang.String: ... + def getImpactFactor(self) -> float: ... + def getSourceEquipment(self) -> java.lang.String: ... + def getSourceInstallation(self) -> java.lang.String: ... + def getSourceLocation(self) -> 'FunctionalLocation': ... + def getTargetEquipment(self) -> java.lang.String: ... + def getTargetInstallation(self) -> java.lang.String: ... + def getTargetLocation(self) -> 'FunctionalLocation': ... + def setImpactFactor(self, double: float) -> None: ... + def setSourceInstallation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourceLocation(self, functionalLocation: 'FunctionalLocation') -> None: ... + def setTargetInstallation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetLocation(self, functionalLocation: 'FunctionalLocation') -> None: ... + class DependencyResult(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getCrossInstallationEffects(self) -> java.util.List['DependencyAnalyzer.CrossInstallationDependency']: ... + def getDirectlyAffected(self) -> java.util.List[java.lang.String]: ... + def getEquipmentToWatch(self) -> java.util.List[java.lang.String]: ... + def getFailedEquipment(self) -> java.lang.String: ... + def getFailedLocation(self) -> 'FunctionalLocation': ... + def getIncreasedCriticality(self) -> java.util.Map[java.lang.String, float]: ... + def getIndirectlyAffected(self) -> java.util.List[java.lang.String]: ... + def getProductionImpactByEquipment(self) -> java.util.Map[java.lang.String, float]: ... + def getTotalProductionLoss(self) -> float: ... + def toJson(self) -> java.lang.String: ... + +class FunctionalLocation(java.io.Serializable, java.lang.Comparable['FunctionalLocation']): + GULLFAKS_A: typing.ClassVar[java.lang.String] = ... + GULLFAKS_B: typing.ClassVar[java.lang.String] = ... + GULLFAKS_C: typing.ClassVar[java.lang.String] = ... + ASGARD_A: typing.ClassVar[java.lang.String] = ... + ASGARD_B: typing.ClassVar[java.lang.String] = ... + ASGARD_C: typing.ClassVar[java.lang.String] = ... + TROLL_A: typing.ClassVar[java.lang.String] = ... + OSEBERG_A: typing.ClassVar[java.lang.String] = ... + TYPE_COMPRESSOR: typing.ClassVar[java.lang.String] = ... + TYPE_PUMP: typing.ClassVar[java.lang.String] = ... + TYPE_VALVE: typing.ClassVar[java.lang.String] = ... + TYPE_HEAT_EXCHANGER: typing.ClassVar[java.lang.String] = ... + TYPE_SEPARATOR: typing.ClassVar[java.lang.String] = ... + TYPE_TURBINE: typing.ClassVar[java.lang.String] = ... + TYPE_MOTOR: typing.ClassVar[java.lang.String] = ... + TYPE_TANK: typing.ClassVar[java.lang.String] = ... + TYPE_PIPELINE: typing.ClassVar[java.lang.String] = ... + TYPE_COOLER: typing.ClassVar[java.lang.String] = ... + TYPE_HEATER: typing.ClassVar[java.lang.String] = ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + 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]): ... + @staticmethod + def builder() -> 'FunctionalLocation.Builder': ... + def compareTo(self, functionalLocation: 'FunctionalLocation') -> int: ... + def equals(self, object: typing.Any) -> bool: ... + def getArea(self) -> java.lang.String: ... + def getBaseTag(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getEquipmentTypeCode(self) -> java.lang.String: ... + def getEquipmentTypeDescription(self) -> java.lang.String: ... + def getFullTag(self) -> java.lang.String: ... + def getInstallationCode(self) -> java.lang.String: ... + def getInstallationName(self) -> java.lang.String: ... + def getSequentialNumber(self) -> java.lang.String: ... + def getSubsystem(self) -> java.lang.String: ... + def getSystem(self) -> java.lang.String: ... + def getTrainSuffix(self) -> java.lang.String: ... + def hashCode(self) -> int: ... + def isParallelTo(self, functionalLocation: 'FunctionalLocation') -> bool: ... + def isParallelUnit(self) -> bool: ... + def isSameInstallation(self, functionalLocation: 'FunctionalLocation') -> bool: ... + def isSameSystem(self, functionalLocation: 'FunctionalLocation') -> bool: ... + def setArea(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSubsystem(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSystem(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def build(self) -> 'FunctionalLocation': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + def installation(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + def number(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + def system(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + def train(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + def type(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + +class ProcessTopologyAnalyzer(java.io.Serializable): + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def buildTopology(self) -> None: ... + def getAffectedByFailure(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getDownstreamEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getEdges(self) -> java.util.List['ProcessTopologyAnalyzer.ProcessEdge']: ... + def getIncreasedCriticalityOn(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> 'ProcessTopologyAnalyzer.EquipmentNode': ... + def getNodes(self) -> java.util.Map[java.lang.String, 'ProcessTopologyAnalyzer.EquipmentNode']: ... + def getParallelEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getParallelGroups(self) -> java.util.List[java.util.List[java.lang.String]]: ... + def getTopologicalOrder(self) -> java.util.Map[java.lang.String, int]: ... + def getUpstreamEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + @typing.overload + def setFunctionalLocation(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setFunctionalLocation(self, string: typing.Union[java.lang.String, str], functionalLocation: FunctionalLocation) -> None: ... + def toDotGraph(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + class EquipmentNode(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getCriticality(self) -> float: ... + def getDownstreamEquipment(self) -> java.util.List[java.lang.String]: ... + def getEquipmentType(self) -> java.lang.String: ... + def getFunctionalLocation(self) -> FunctionalLocation: ... + def getName(self) -> java.lang.String: ... + def getParallelEquipment(self) -> java.util.List[java.lang.String]: ... + def getTopologicalOrder(self) -> int: ... + def getUpstreamEquipment(self) -> java.util.List[java.lang.String]: ... + def isCritical(self) -> bool: ... + def setFunctionalLocation(self, functionalLocation: FunctionalLocation) -> None: ... + class ProcessEdge(java.io.Serializable): + 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 getFromEquipment(self) -> java.lang.String: ... + def getStreamName(self) -> java.lang.String: ... + def getStreamType(self) -> java.lang.String: ... + def getToEquipment(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.topology")``. + + DependencyAnalyzer: typing.Type[DependencyAnalyzer] + FunctionalLocation: typing.Type[FunctionalLocation] + ProcessTopologyAnalyzer: typing.Type[ProcessTopologyAnalyzer] diff --git a/src/jneqsim/process/util/uncertainty/__init__.pyi b/src/jneqsim/process/util/uncertainty/__init__.pyi new file mode 100644 index 00000000..928ed93f --- /dev/null +++ b/src/jneqsim/process/util/uncertainty/__init__.pyi @@ -0,0 +1,87 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.process.measurementdevice.vfm +import jneqsim.process.processmodel +import typing + + + +class SensitivityMatrix(java.io.Serializable): + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def getInputVariables(self) -> typing.MutableSequence[java.lang.String]: ... + def getJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMostInfluentialInputs(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getNormalizedSensitivities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getOutputVariables(self) -> typing.MutableSequence[java.lang.String]: ... + def getSensitivitiesForOutput(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getSensitivity(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def propagateCovariance(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def propagateUncertainty(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def setSensitivity(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + +class UncertaintyAnalyzer: + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + @typing.overload + def addInputUncertainty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addInputUncertainty(self, inputUncertainty: 'UncertaintyAnalyzer.InputUncertainty') -> None: ... + def addOutputVariable(self, string: typing.Union[java.lang.String, str]) -> None: ... + def analyzeAnalytical(self) -> 'UncertaintyResult': ... + def analyzeMonteCarlo(self, int: int) -> 'UncertaintyResult': ... + def setRandomSeed(self, long: int) -> None: ... + class InputUncertainty: + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, distributionType: 'UncertaintyAnalyzer.InputUncertainty.DistributionType'): ... + def getDistribution(self) -> 'UncertaintyAnalyzer.InputUncertainty.DistributionType': ... + def getStandardDeviation(self) -> float: ... + def getVariableName(self) -> java.lang.String: ... + class DistributionType(java.lang.Enum['UncertaintyAnalyzer.InputUncertainty.DistributionType']): + NORMAL: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... + UNIFORM: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... + TRIANGULAR: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... + LOGNORMAL: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... + _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]) -> 'UncertaintyAnalyzer.InputUncertainty.DistributionType': ... + @staticmethod + def values() -> typing.MutableSequence['UncertaintyAnalyzer.InputUncertainty.DistributionType']: ... + +class UncertaintyResult(java.io.Serializable): + @typing.overload + def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds]], int: int, double: float): ... + @typing.overload + def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds]], sensitivityMatrix: SensitivityMatrix): ... + def getAllUncertainties(self) -> java.util.Map[java.lang.String, jneqsim.process.measurementdevice.vfm.UncertaintyBounds]: ... + def getConvergenceMetric(self) -> float: ... + def getMonteCarloSamples(self) -> int: ... + def getMostUncertainOutput(self) -> java.lang.String: ... + def getOutputsExceedingThreshold(self, double: float) -> java.util.Map[java.lang.String, jneqsim.process.measurementdevice.vfm.UncertaintyBounds]: ... + def getSensitivityMatrix(self) -> SensitivityMatrix: ... + def getSummary(self) -> java.lang.String: ... + def getUncertainty(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.vfm.UncertaintyBounds: ... + def isMonteCarloResult(self) -> bool: ... + def meetsUncertaintyThreshold(self, double: float) -> bool: ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.uncertainty")``. + + SensitivityMatrix: typing.Type[SensitivityMatrix] + UncertaintyAnalyzer: typing.Type[UncertaintyAnalyzer] + UncertaintyResult: typing.Type[UncertaintyResult] diff --git a/src/jneqsim/pvtsimulation/__init__.pyi b/src/jneqsim/pvtsimulation/__init__.pyi new file mode 100644 index 00000000..d65ffce0 --- /dev/null +++ b/src/jneqsim/pvtsimulation/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.pvtsimulation.flowassurance +import jneqsim.pvtsimulation.modeltuning +import jneqsim.pvtsimulation.regression +import jneqsim.pvtsimulation.reservoirproperties +import jneqsim.pvtsimulation.simulation +import jneqsim.pvtsimulation.util +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation")``. + + flowassurance: jneqsim.pvtsimulation.flowassurance.__module_protocol__ + modeltuning: jneqsim.pvtsimulation.modeltuning.__module_protocol__ + regression: jneqsim.pvtsimulation.regression.__module_protocol__ + reservoirproperties: jneqsim.pvtsimulation.reservoirproperties.__module_protocol__ + simulation: jneqsim.pvtsimulation.simulation.__module_protocol__ + util: jneqsim.pvtsimulation.util.__module_protocol__ diff --git a/src/jneqsim/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim/pvtsimulation/flowassurance/__init__.pyi new file mode 100644 index 00000000..df914194 --- /dev/null +++ b/src/jneqsim/pvtsimulation/flowassurance/__init__.pyi @@ -0,0 +1,597 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.thermo.characterization +import jneqsim.thermo.system +import typing + + + +class AsphalteneMethodComparison: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getBubblePointPressure(self) -> float: ... + def getCpaAnalyzer(self) -> 'AsphalteneStabilityAnalyzer': ... + def getCpaOnsetPressure(self) -> float: ... + def getDeBoerScreening(self) -> 'DeBoerAsphalteneScreening': ... + def getInSituDensity(self) -> float: ... + def getQuickSummary(self) -> java.lang.String: ... + def runComparison(self) -> java.lang.String: ... + def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + +class AsphalteneMultiMethodBenchmark: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def getAPIGravity(self) -> float: ... + def getAgreementMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getAllResults(self) -> java.util.Map[java.lang.String, 'AsphalteneMultiMethodBenchmark.MethodResult']: ... + def getComparisonTable(self) -> java.lang.String: ... + def getErrorStatistics(self) -> java.util.Map[java.lang.String, typing.Any]: ... + @staticmethod + def getLiteratureCases() -> java.util.List['AsphalteneMultiMethodBenchmark.LiteratureCase']: ... + def getMeasuredOnsetPressure(self) -> float: ... + def getMethodErrorSummary(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getMethodResult(self, string: typing.Union[java.lang.String, str]) -> 'AsphalteneMultiMethodBenchmark.MethodResult': ... + def getReservoirPressure(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def runAllMethods(self) -> None: ... + def setAPIGravity(self, double: float) -> None: ... + def setCpaSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setCubicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInSituDensity(self, double: float) -> None: ... + def setMeasuredOnsetPressure(self, double: float) -> None: ... + def setMeasuredOnsetTemperature(self, double: float) -> None: ... + def setMeasuredRI(self, double: float) -> None: ... + def setMeasuredRIOnset(self, double: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class LiteratureCase: + label: java.lang.String = ... + reference: java.lang.String = ... + reservoirPressure: float = ... + reservoirTemperature: float = ... + bubblePointPressure: float = ... + measuredOnsetPressure: float = ... + inSituDensity: float = ... + saturates: float = ... + aromatics: float = ... + resins: float = ... + asphaltenes: float = ... + apiGravity: float = ... + oilDescription: java.lang.String = ... + fieldObservation: java.lang.String = ... + def __init__(self): ... + class MethodResult: + methodName: java.lang.String = ... + riskLevel: java.lang.String = ... + onsetPressure: float = ... + onsetTemperature: float = ... + bubblePointPressure: float = ... + onsetPressureError: float = ... + onsetPressureRelativeError: float = ... + computationTimeMs: int = ... + details: java.util.Map = ... + precipCurvePressures: typing.MutableSequence[float] = ... + precipCurveWtPct: typing.MutableSequence[float] = ... + def __init__(self): ... + +class AsphalteneStabilityAnalyzer: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculateBubblePointPressure(self) -> float: ... + def calculateOnsetPressure(self, double: float) -> float: ... + def calculateOnsetTemperature(self, double: float) -> float: ... + def comprehensiveAssessment(self, double: float, double2: float, double3: float, double4: float) -> java.lang.String: ... + def deBoerScreening(self, double: float, double2: float, double3: float) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... + def evaluateSARAStability(self) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... + def generatePrecipitationEnvelope(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getColloidalInstabilityIndex(self) -> float: ... + def getResinToAsphalteneRatio(self) -> float: ... + def getSARAData(self) -> jneqsim.thermo.characterization.AsphalteneCharacterization: ... + def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + class AsphalteneRisk(java.lang.Enum['AsphalteneStabilityAnalyzer.AsphalteneRisk']): + STABLE: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... + LOW_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... + MODERATE_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... + HIGH_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... + SEVERE_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... + def getDescription(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]) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... + @staticmethod + def values() -> typing.MutableSequence['AsphalteneStabilityAnalyzer.AsphalteneRisk']: ... + +class BariteCelestiteSolidSolution(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getBaSO4MoleFraction(self) -> float: ... + def getSrSO4MoleFraction(self) -> float: ... + def getTotalSaturationIndex(self) -> float: ... + def setAqueousActivities(self, double: float, double2: float, double3: float) -> None: ... + def setEndMemberKsp(self, double: float, double2: float) -> None: ... + def setMargules(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class CO2CorrosionAnalyzer(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def estimateCorrosionAllowance(self, double: float) -> float: ... + def getAqueousPH(self) -> float: ... + def getBaselineCorrosionRate(self) -> float: ... + def getCO2InAqueous(self) -> float: ... + def getCO2PartialPressure(self) -> float: ... + def getCorrosionModel(self) -> 'DeWaardMilliamsCorrosion': ... + def getCorrosionRate(self) -> float: ... + def getCorrosionSeverity(self) -> java.lang.String: ... + def getH2SPartialPressure(self) -> float: ... + def getNumberOfPhases(self) -> int: ... + def getScaleCalculator(self) -> 'ScalePredictionCalculator': ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def isFreeWaterPresent(self) -> bool: ... + def run(self) -> None: ... + def runPressureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def runTemperatureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def setCO2MoleFractionInGas(self, double: float) -> None: ... + def setChlorideMoleFraction(self, double: float) -> None: ... + def setFlowVelocity(self, double: float) -> None: ... + def setGlycolFraction(self, double: float) -> None: ... + def setH2SMoleFractionInGas(self, double: float) -> None: ... + def setInhibitorEfficiency(self, double: float) -> None: ... + def setMethaneMoleFractionInGas(self, double: float) -> None: ... + def setN2MoleFractionInGas(self, double: float) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setSodiumMoleFraction(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setWaterMoleFractionInGas(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class DeBoerAsphalteneScreening: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def calculateInSituDensity(self) -> float: ... + def calculateRiskIndex(self) -> float: ... + def calculateSaturationPressure(self) -> float: ... + def evaluateRisk(self) -> 'DeBoerAsphalteneScreening.DeBoerRisk': ... + def generatePlotData(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getAPIGravity(self) -> float: ... + def getAsphalteneContent(self) -> float: ... + def getInSituDensity(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def getSaturationPressure(self) -> float: ... + def getUndersaturationPressure(self) -> float: ... + def performScreening(self) -> java.lang.String: ... + def setAsphalteneContent(self, double: float) -> None: ... + def setInSituDensity(self, double: float) -> None: ... + def setReservoirPressure(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setSaturationPressure(self, double: float) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + class DeBoerRisk(java.lang.Enum['DeBoerAsphalteneScreening.DeBoerRisk']): + NO_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... + SLIGHT_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... + MODERATE_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... + SEVERE_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... + def getDescription(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]) -> 'DeBoerAsphalteneScreening.DeBoerRisk': ... + @staticmethod + def values() -> typing.MutableSequence['DeBoerAsphalteneScreening.DeBoerRisk']: ... + +class DeWaardMilliamsCorrosion(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def calculateBaselineRate(self) -> float: ... + def calculateCorrosionRate(self) -> float: ... + def calculateOverTemperatureRange(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def estimateCorrosionAllowance(self, double: float) -> float: ... + def getComprehensiveAssessment(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getCorrosionSeverity(self) -> java.lang.String: ... + def getFeCO3SaturationIndex(self) -> float: ... + def getFeSCorrosionRate(self) -> float: ... + def getFeSScaleMorphology(self) -> java.lang.String: ... + def getFlowCorrectionFactor(self) -> float: ... + def getGlycolCorrectionFactor(self) -> float: ... + def getPHCorrectionFactor(self) -> float: ... + def getScaleCorrectionFactor(self) -> float: ... + def getSulfurCorrosionRate(self) -> float: ... + def isSourService(self) -> bool: ... + def setCO2PartialPressure(self, double: float) -> None: ... + def setFlowVelocity(self, double: float) -> None: ... + def setGlycolFraction(self, double: float) -> None: ... + def setH2SPartialPressure(self, double: float) -> None: ... + def setInhibitorEfficiency(self, double: float) -> None: ... + def setPH(self, double: float) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setSulfurDepositionRate(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setTotalPressure(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class EmulsionViscosityCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def calculateViscosityCurve(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getEffectiveViscosity(self) -> float: ... + def getEmulsionType(self) -> java.lang.String: ... + def getInversionWaterCut(self) -> float: ... + def getModel(self) -> java.lang.String: ... + def getOilViscosity(self) -> float: ... + def getRelativeViscosity(self) -> float: ... + def getViscosityRatio(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterViscosity(self) -> float: ... + def isInverted(self) -> bool: ... + def setDemulsifierEfficiency(self, double: float) -> None: ... + def setDemulsifierPresent(self, boolean: bool) -> None: ... + def setInterfacialTension(self, double: float) -> None: ... + def setMaxPackingFraction(self, double: float) -> None: ... + def setModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setOilViscosity(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setShearRate(self, double: float) -> None: ... + def setTemperatureC(self, double: float) -> None: ... + def setTightnessFactor(self, double: float) -> None: ... + def setWaterCut(self, double: float) -> None: ... + def setWaterDensity(self, double: float) -> None: ... + def setWaterViscosity(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class ErosionPredictionCalculator(java.io.Serializable): + def __init__(self): ... + def applySandLoadDefaults(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def calcMaxVelocityForCorrosionProtection(self, boolean: bool, boolean2: bool) -> float: ... + def calculate(self) -> None: ... + @staticmethod + def getAvailableCompletionTypes() -> typing.MutableSequence[java.lang.String]: ... + def getCumulativeErosion(self) -> float: ... + def getErosionRate(self) -> float: ... + def getErosionalVelocity(self) -> float: ... + def getGeometry(self) -> java.lang.String: ... + def getMixtureDensity(self) -> float: ... + def getMixtureVelocity(self) -> float: ... + def getPipeMaterial(self) -> java.lang.String: ... + def getRemainingWallThickness(self) -> float: ... + def getRiskLevel(self) -> java.lang.String: ... + @staticmethod + def getSandLoadDefaults(string: typing.Union[java.lang.String, str]) -> 'ErosionPredictionCalculator.SandLoadDefaults': ... + def getSandParticleDiameter(self) -> float: ... + def getSandRate(self) -> float: ... + def getVelocityRatio(self) -> float: ... + def isWithinApiLimits(self) -> bool: ... + def isWithinErosionLimits(self) -> bool: ... + def setApiCFactor(self, double: float) -> None: ... + def setBendRadiusRatio(self, double: float) -> None: ... + def setCorrosionAllowance(self, double: float) -> None: ... + def setDesignLife(self, double: float) -> None: ... + def setGasDensity(self, double: float) -> None: ... + def setGasVelocity(self, double: float) -> None: ... + def setGeometry(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLiquidDensity(self, double: float) -> None: ... + def setLiquidVelocity(self, double: float) -> None: ... + def setMixtureDensity(self, double: float) -> None: ... + def setMixtureVelocity(self, double: float) -> None: ... + def setMixtureViscosity(self, double: float) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSandParticleDensity(self, double: float) -> None: ... + def setSandParticleDiameter(self, double: float) -> None: ... + def setSandRate(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SandLoadDefaults(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getCompletionType(self) -> java.lang.String: ... + def getGasPpmWt(self) -> float: ... + def getLiquidPpmWt(self) -> float: ... + def getParticleSizeMicrons(self) -> float: ... + +class FloryHugginsAsphalteneModel: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calculateChiParameter(self, double: float, double2: float) -> float: ... + def calculateLiquidSolubilityParameter(self, double: float) -> float: ... + def calculateMaxDissolvedFraction(self, double: float, double2: float, double3: float) -> float: ... + def calculateOnsetPressure(self, double: float) -> float: ... + def calculatePrecipitatedFraction(self, double: float, double2: float) -> float: ... + def calibrateCorrelation(self, double: float) -> None: ... + def configureFromAPIGravity(self, double: float) -> None: ... + def configureFromSARA(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def generatePrecipitationCurve(self, double: float, double2: float, double3: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def generateSolubilityParameterProfile(self, double: float, double2: float, double3: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getAsphaltMolarVolume(self) -> float: ... + def getAsphalteneDensity(self) -> float: ... + def getAsphalteneMW(self) -> float: ... + def getAsphalteneSolubilityParameter(self) -> float: ... + def getAsphalteneWeightFraction(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def getResultsMap(self, double: float, double2: float, double3: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def isConfiguredFromAPI(self) -> bool: ... + def setAsphaltMolarVolume(self, double: float) -> None: ... + def setAsphalteneDensity(self, double: float) -> None: ... + def setAsphalteneMW(self, double: float) -> None: ... + def setAsphalteneSolubilityParameter(self, double: float) -> None: ... + def setAsphalteneWeightFraction(self, double: float) -> None: ... + def setDeltaRhoCorrelation(self, double: float, double2: float) -> None: ... + def setPressureSearchStep(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class FlowlineScaleProfile(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getMaxSI(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getResults(self) -> java.util.List['FlowlineScaleProfile.SegmentResult']: ... + def getSegmentResult(self, int: int) -> 'FlowlineScaleProfile.SegmentResult': ... + def setAutoPH(self, boolean: bool) -> None: ... + def setInletConditions(self, double: float, double2: float) -> None: ... + def setMgNaConcentrations(self, double: float, double2: float) -> None: ... + def setNumberOfSegments(self, int: int) -> None: ... + def setOutletConditions(self, double: float, double2: float) -> None: ... + def setWaterChemistry(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class SegmentResult(java.io.Serializable): + distanceFraction: float = ... + temperatureC: float = ... + pressureBar: float = ... + siCaCO3: float = ... + siBaSO4: float = ... + siSrSO4: float = ... + siCaSO4: float = ... + siFeCO3: float = ... + def __init__(self): ... + +class HydrateRiskMapper(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addProfilePoint(self, double: float, double2: float, double3: float) -> 'HydrateRiskMapper': ... + def calculate(self) -> 'HydrateRiskMapper.RiskProfile': ... + def setRiskThresholds(self, double: float, double2: float) -> 'HydrateRiskMapper': ... + class RiskLevel(java.lang.Enum['HydrateRiskMapper.RiskLevel']): + CRITICAL: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... + HIGH: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... + MEDIUM: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... + LOW: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... + _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]) -> 'HydrateRiskMapper.RiskLevel': ... + @staticmethod + def values() -> typing.MutableSequence['HydrateRiskMapper.RiskLevel']: ... + class RiskPoint(java.io.Serializable): + distanceKm: float = ... + pressureBara: float = ... + actualTemperatureC: float = ... + hydrateTemperatureC: float = ... + subcoolingC: float = ... + riskLevel: 'HydrateRiskMapper.RiskLevel' = ... + class RiskProfile(java.io.Serializable): + def getCriticalPointCount(self) -> int: ... + def getMinimumSubcoolingC(self) -> float: ... + def getOverallRisk(self) -> 'HydrateRiskMapper.RiskLevel': ... + def getPoints(self) -> java.util.List['HydrateRiskMapper.RiskPoint']: ... + def toCSV(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + +class PipelineCooldownCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getCalculatedUValue(self) -> float: ... + def getFluidTemperature(self) -> typing.MutableSequence[float]: ... + def getTemperatureAtTime(self, double: float) -> float: ... + def getTimeConstantHours(self) -> float: ... + def getTimeHours(self) -> typing.MutableSequence[float]: ... + def getTimeToReachTemperature(self, double: float) -> float: ... + def setAmbientTemperature(self, double: float) -> None: ... + def setCoatingThickness(self, double: float) -> None: ... + def setExternalHTC(self, double: float) -> None: ... + def setFluidDensity(self, double: float) -> None: ... + def setFluidSpecificHeat(self, double: float) -> None: ... + def setInitialFluidTemperature(self, double: float) -> None: ... + def setInsulationConductivity(self, double: float) -> None: ... + def setInsulationThickness(self, double: float) -> None: ... + def setInternalDiameter(self, double: float) -> None: ... + def setOverallUValue(self, double: float) -> None: ... + def setSteelDensity(self, double: float) -> None: ... + def setSteelSpecificHeat(self, double: float) -> None: ... + def setTimeStepMinutes(self, double: float) -> None: ... + def setTotalTimeHours(self, double: float) -> None: ... + def setWallThickness(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def useLayerCalculation(self) -> None: ... + +class RefractiveIndexAsphalteneScreening: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def estimateOnsetRIFromSARA(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateRIFromDensity(self, double: float) -> float: ... + def evaluateStability(self) -> 'RefractiveIndexAsphalteneScreening.RIStability': ... + def generateReport(self) -> java.lang.String: ... + def getApiGravity(self) -> float: ... + def getAsphalteneContent(self) -> float: ... + def getCriticalDilutionRatio(self) -> float: ... + def getHeptaneFractionAtOnset(self) -> float: ... + def getOilDensity(self) -> float: ... + def getPriAsphaltene(self) -> float: ... + def getRIStabilityMargin(self) -> float: ... + def getResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getRiOil(self) -> float: ... + def getRiOnset(self) -> float: ... + def setApiGravity(self, double: float) -> None: ... + def setAsphalteneContent(self, double: float) -> None: ... + def setHeptaneFractionAtOnset(self, double: float) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setPriAsphaltene(self, double: float) -> None: ... + def setRiOil(self, double: float) -> None: ... + def setRiOnset(self, double: float) -> None: ... + class RIStability(java.lang.Enum['RefractiveIndexAsphalteneScreening.RIStability']): + VERY_STABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... + STABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... + MARGINAL: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... + UNSTABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... + HIGHLY_UNSTABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... + def getDescription(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]) -> 'RefractiveIndexAsphalteneScreening.RIStability': ... + @staticmethod + def values() -> typing.MutableSequence['RefractiveIndexAsphalteneScreening.RIStability']: ... + +class ScaleMassCalculator(java.io.Serializable): + def __init__(self, scalePredictionCalculator: 'ScalePredictionCalculator'): ... + def calcBaSO4Mass(self, double: float, double2: float, double3: float) -> float: ... + def calcCaCO3Mass(self, double: float, double2: float, double3: float) -> float: ... + def calcCaSO4Mass(self, double: float, double2: float, double3: float) -> float: ... + def calcFeCO3Mass(self, double: float, double2: float, double3: float) -> float: ... + def calcSrSO4Mass(self, double: float, double2: float, double3: float) -> float: ... + def getWaterVolume(self) -> float: ... + def setWaterVolume(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + class ScaleMassResult(java.io.Serializable): + scaleType: java.lang.String = ... + saturationIndex: float = ... + massMgPerLitre: float = ... + totalMassMg: float = ... + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + +class ScalePredictionCalculator(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def enableAutoPH(self) -> None: ... + def getBaSO4SaturationIndex(self) -> float: ... + def getCaCO3SaturationIndex(self) -> float: ... + def getCaSO4SaturationIndex(self) -> float: ... + def getFeCO3SaturationIndex(self) -> float: ... + def getScaleRisks(self) -> java.util.List[java.lang.String]: ... + def getSrSO4SaturationIndex(self) -> float: ... + def hasScalingRisk(self) -> bool: ... + def setBariumConcentration(self, double: float) -> None: ... + def setBicarbonateConcentration(self, double: float) -> None: ... + def setCO2PartialPressure(self, double: float) -> None: ... + def setCalciumConcentration(self, double: float) -> None: ... + def setIronConcentration(self, double: float) -> None: ... + def setMagnesiumConcentration(self, double: float) -> None: ... + def setPH(self, double: float) -> None: ... + def setPressureBara(self, double: float) -> None: ... + def setSodiumConcentration(self, double: float) -> None: ... + def setStrontiumConcentration(self, double: float) -> None: ... + def setSulphateConcentration(self, double: float) -> None: ... + def setTemperatureCelsius(self, double: float) -> None: ... + def setTotalDissolvedSolids(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + +class WaterCompatibilityScreener(java.io.Serializable): + def __init__(self): ... + def calculate(self) -> None: ... + def getResults(self) -> java.util.List['WaterCompatibilityScreener.MixingResult']: ... + def getWorstCaseRatio(self) -> float: ... + def getWorstCaseSI(self) -> float: ... + def getWorstCaseScale(self) -> java.lang.String: ... + def setFormationWater(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float) -> None: ... + def setFormationWaterMgNa(self, double: float, double2: float) -> None: ... + def setInjectionWater(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float) -> None: ... + def setInjectionWaterMgNa(self, double: float, double2: float) -> None: ... + def setMixingRatios(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def toJson(self) -> java.lang.String: ... + class MixingResult(java.io.Serializable): + injectionWaterPct: float = ... + siCaCO3: float = ... + siBaSO4: float = ... + siSrSO4: float = ... + siCaSO4: float = ... + siFeCO3: float = ... + def __init__(self): ... + +class WaxCurveCalculator: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def calculateAtMultiplePressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> java.util.Map[float, float]: ... + def calculateWAT(self) -> float: ... + @staticmethod + def countMonotonicityViolations(doubleArray: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> int: ... + @staticmethod + def enforceNonDecreasing(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> int: ... + @staticmethod + def enforceNonIncreasing(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> int: ... + def getFailCount(self) -> int: ... + def getMonotonicityCorrections(self) -> int: ... + def getPressureBara(self) -> float: ... + def getRawWaxFractions(self) -> typing.MutableSequence[float]: ... + def getSuccessCount(self) -> int: ... + def getTemperaturesC(self) -> typing.MutableSequence[float]: ... + def getWaxAppearanceTemperatureC(self) -> float: ... + def getWaxWeightFractions(self) -> typing.MutableSequence[float]: ... + def setEnforceMonotonicity(self, boolean: bool) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTemperatureRange(self, double: float, double2: float, double3: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.flowassurance")``. + + AsphalteneMethodComparison: typing.Type[AsphalteneMethodComparison] + AsphalteneMultiMethodBenchmark: typing.Type[AsphalteneMultiMethodBenchmark] + AsphalteneStabilityAnalyzer: typing.Type[AsphalteneStabilityAnalyzer] + BariteCelestiteSolidSolution: typing.Type[BariteCelestiteSolidSolution] + CO2CorrosionAnalyzer: typing.Type[CO2CorrosionAnalyzer] + DeBoerAsphalteneScreening: typing.Type[DeBoerAsphalteneScreening] + DeWaardMilliamsCorrosion: typing.Type[DeWaardMilliamsCorrosion] + EmulsionViscosityCalculator: typing.Type[EmulsionViscosityCalculator] + ErosionPredictionCalculator: typing.Type[ErosionPredictionCalculator] + FloryHugginsAsphalteneModel: typing.Type[FloryHugginsAsphalteneModel] + FlowlineScaleProfile: typing.Type[FlowlineScaleProfile] + HydrateRiskMapper: typing.Type[HydrateRiskMapper] + PipelineCooldownCalculator: typing.Type[PipelineCooldownCalculator] + RefractiveIndexAsphalteneScreening: typing.Type[RefractiveIndexAsphalteneScreening] + ScaleMassCalculator: typing.Type[ScaleMassCalculator] + ScalePredictionCalculator: typing.Type[ScalePredictionCalculator] + WaterCompatibilityScreener: typing.Type[WaterCompatibilityScreener] + WaxCurveCalculator: typing.Type[WaxCurveCalculator] diff --git a/src/jneqsim/pvtsimulation/modeltuning/__init__.pyi b/src/jneqsim/pvtsimulation/modeltuning/__init__.pyi new file mode 100644 index 00000000..8a5364a3 --- /dev/null +++ b/src/jneqsim/pvtsimulation/modeltuning/__init__.pyi @@ -0,0 +1,40 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.pvtsimulation.simulation +import typing + + + +class TuningInterface: + def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... + def run(self) -> None: ... + def setSaturationConditions(self, double: float, double2: float) -> None: ... + +class BaseTuningClass(TuningInterface): + saturationTemperature: float = ... + saturationPressure: float = ... + def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... + def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... + def isTunePlusMolarMass(self) -> bool: ... + def isTuneVolumeCorrection(self) -> bool: ... + def run(self) -> None: ... + def setSaturationConditions(self, double: float, double2: float) -> None: ... + def setTunePlusMolarMass(self, boolean: bool) -> None: ... + def setTuneVolumeCorrection(self, boolean: bool) -> None: ... + +class TuneToSaturation(BaseTuningClass): + def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... + def run(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.modeltuning")``. + + BaseTuningClass: typing.Type[BaseTuningClass] + TuneToSaturation: typing.Type[TuneToSaturation] + TuningInterface: typing.Type[TuningInterface] diff --git a/src/jneqsim/pvtsimulation/regression/__init__.pyi b/src/jneqsim/pvtsimulation/regression/__init__.pyi new file mode 100644 index 00000000..da746cd2 --- /dev/null +++ b/src/jneqsim/pvtsimulation/regression/__init__.pyi @@ -0,0 +1,242 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import jneqsim.thermo.system +import typing + + + +class CCEDataPoint: + def __init__(self, double: float, double2: float, double3: float): ... + def getCompressibility(self) -> float: ... + def getPressure(self) -> float: ... + def getRelativeVolume(self) -> float: ... + def getTemperature(self) -> float: ... + def getYFactor(self) -> float: ... + def setCompressibility(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setRelativeVolume(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setYFactor(self, double: float) -> None: ... + +class CVDDataPoint: + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def getCumulativeMolesProduced(self) -> float: ... + def getGasComposition(self) -> typing.MutableSequence[float]: ... + def getLiquidDropout(self) -> float: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getZFactor(self) -> float: ... + def setCumulativeMolesProduced(self, double: float) -> None: ... + def setGasComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLiquidDropout(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setZFactor(self, double: float) -> None: ... + +class DLEDataPoint: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def getBo(self) -> float: ... + def getGasGravity(self) -> float: ... + def getOilDensity(self) -> float: ... + def getOilViscosity(self) -> float: ... + def getPressure(self) -> float: ... + def getRs(self) -> float: ... + def getTemperature(self) -> float: ... + def setBo(self, double: float) -> None: ... + def setGasGravity(self, double: float) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setOilViscosity(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setRs(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + +class ExperimentType(java.lang.Enum['ExperimentType']): + CCE: typing.ClassVar['ExperimentType'] = ... + CVD: typing.ClassVar['ExperimentType'] = ... + DLE: typing.ClassVar['ExperimentType'] = ... + SEPARATOR: typing.ClassVar['ExperimentType'] = ... + VISCOSITY: typing.ClassVar['ExperimentType'] = ... + SATURATION_PRESSURE: typing.ClassVar['ExperimentType'] = ... + SWELLING: typing.ClassVar['ExperimentType'] = ... + _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]) -> 'ExperimentType': ... + @staticmethod + def values() -> typing.MutableSequence['ExperimentType']: ... + +class PVTRegression: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def addCCEData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> None: ... + @typing.overload + def addCCEData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double4: float) -> None: ... + def addCVDData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double4: float) -> None: ... + def addCspViscosityRegressionParameters(self) -> None: ... + def addDLEData(self, 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], double5: float) -> None: ... + @typing.overload + def addRegressionParameter(self, regressionParameter: 'RegressionParameter') -> None: ... + @typing.overload + def addRegressionParameter(self, regressionParameter: 'RegressionParameter', double: float, double2: float, double3: float) -> None: ... + def addSeparatorData(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + @typing.overload + def addViscosityData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addViscosityData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def clearData(self) -> None: ... + def clearRegressionParameters(self) -> None: ... + def getBaseFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getCCEData(self) -> java.util.List[CCEDataPoint]: ... + def getCVDData(self) -> java.util.List[CVDDataPoint]: ... + def getDLEData(self) -> java.util.List[DLEDataPoint]: ... + def getLastResult(self) -> 'RegressionResult': ... + def getSeparatorData(self) -> java.util.List['SeparatorDataPoint']: ... + def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getViscosityData(self) -> java.util.List['ViscosityDataPoint']: ... + def runRegression(self) -> 'RegressionResult': ... + def setExperimentWeight(self, experimentType: ExperimentType, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setVerbose(self, boolean: bool) -> None: ... + +class PVTRegressionFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, list: java.util.List['RegressionParameterConfig'], enumMap: java.util.EnumMap[ExperimentType, float]): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def clone(self) -> 'PVTRegressionFunction': ... + def setBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class RegressionParameter(java.lang.Enum['RegressionParameter']): + BIP_METHANE_C7PLUS: typing.ClassVar['RegressionParameter'] = ... + BIP_C2C6_C7PLUS: typing.ClassVar['RegressionParameter'] = ... + BIP_CO2_HC: typing.ClassVar['RegressionParameter'] = ... + BIP_N2_HC: typing.ClassVar['RegressionParameter'] = ... + VOLUME_SHIFT_C7PLUS: typing.ClassVar['RegressionParameter'] = ... + TC_MULTIPLIER_C7PLUS: typing.ClassVar['RegressionParameter'] = ... + PC_MULTIPLIER_C7PLUS: typing.ClassVar['RegressionParameter'] = ... + OMEGA_MULTIPLIER_C7PLUS: typing.ClassVar['RegressionParameter'] = ... + PLUS_MOLAR_MASS_MULTIPLIER: typing.ClassVar['RegressionParameter'] = ... + GAMMA_ALPHA: typing.ClassVar['RegressionParameter'] = ... + GAMMA_ETA: typing.ClassVar['RegressionParameter'] = ... + VISCOSITY_LBC_MULTIPLIER: typing.ClassVar['RegressionParameter'] = ... + VISCOSITY_PEDERSEN_ALPHA: typing.ClassVar['RegressionParameter'] = ... + VISCOSITY_CSP_1: typing.ClassVar['RegressionParameter'] = ... + VISCOSITY_CSP_2: typing.ClassVar['RegressionParameter'] = ... + VISCOSITY_CSP_3: typing.ClassVar['RegressionParameter'] = ... + VISCOSITY_CSP_4: typing.ClassVar['RegressionParameter'] = ... + def applyToFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def getDefaultBounds(self) -> typing.MutableSequence[float]: ... + _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]) -> 'RegressionParameter': ... + @staticmethod + def values() -> typing.MutableSequence['RegressionParameter']: ... + +class RegressionParameterConfig: + def __init__(self, regressionParameter: RegressionParameter, double: float, double2: float, double3: float): ... + def getInitialGuess(self) -> float: ... + def getLowerBound(self) -> float: ... + def getOptimizedValue(self) -> float: ... + def getParameter(self) -> RegressionParameter: ... + def getUpperBound(self) -> float: ... + def setInitialGuess(self, double: float) -> None: ... + def setLowerBound(self, double: float) -> None: ... + def setOptimizedValue(self, double: float) -> None: ... + def setUpperBound(self, double: float) -> None: ... + +class RegressionResult: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, map: typing.Union[java.util.Map[ExperimentType, float], typing.Mapping[ExperimentType, float]], list: java.util.List[RegressionParameterConfig], uncertaintyAnalysis: 'UncertaintyAnalysis', doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float): ... + def generateSummary(self) -> java.lang.String: ... + def getAverageAbsoluteDeviation(self) -> float: ... + def getConfidenceInterval(self, regressionParameter: RegressionParameter) -> typing.MutableSequence[float]: ... + def getFinalChiSquare(self) -> float: ... + def getObjectiveValue(self, experimentType: ExperimentType) -> float: ... + def getObjectiveValues(self) -> java.util.Map[ExperimentType, float]: ... + def getOptimizedValue(self, regressionParameter: RegressionParameter) -> float: ... + def getParameterConfigs(self) -> java.util.List[RegressionParameterConfig]: ... + def getTotalObjective(self) -> float: ... + def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUncertainty(self) -> 'UncertaintyAnalysis': ... + def toString(self) -> java.lang.String: ... + +class SeparatorDataPoint: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getApiGravity(self) -> float: ... + def getBo(self) -> float: ... + def getGasGravity(self) -> float: ... + def getGor(self) -> float: ... + def getOilDensity(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def getSeparatorPressure(self) -> float: ... + def getSeparatorTemperature(self) -> float: ... + def setApiGravity(self, double: float) -> None: ... + def setBo(self, double: float) -> None: ... + def setGasGravity(self, double: float) -> None: ... + def setGor(self, double: float) -> None: ... + def setOilDensity(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setSeparatorPressure(self, double: float) -> None: ... + def setSeparatorTemperature(self, double: float) -> None: ... + +class UncertaintyAnalysis: + def __init__(self, doubleArray: typing.Union[typing.List[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], int: int, double5: float): ... + def generateSummary(self) -> java.lang.String: ... + def getConfidenceInterval95(self, int: int) -> float: ... + def getConfidenceIntervalBounds(self, int: int) -> typing.MutableSequence[float]: ... + def getConfidenceIntervals95(self) -> typing.MutableSequence[float]: ... + def getCorrelation(self, int: int, int2: int) -> float: ... + def getCorrelationMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDegreesOfFreedom(self) -> int: ... + def getParameterValue(self, int: int) -> float: ... + def getParameterValues(self) -> typing.MutableSequence[float]: ... + def getRMSE(self) -> float: ... + def getRelativeUncertainty(self, int: int) -> float: ... + def getResidualVariance(self) -> float: ... + def getStandardError(self, int: int) -> float: ... + def getStandardErrors(self) -> typing.MutableSequence[float]: ... + def hasHighCorrelations(self) -> bool: ... + def toString(self) -> java.lang.String: ... + +class ViscosityDataPoint: + def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]): ... + def getPhaseIndex(self) -> int: ... + def getPhaseName(self) -> java.lang.String: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + def getViscosity(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.regression")``. + + CCEDataPoint: typing.Type[CCEDataPoint] + CVDDataPoint: typing.Type[CVDDataPoint] + DLEDataPoint: typing.Type[DLEDataPoint] + ExperimentType: typing.Type[ExperimentType] + PVTRegression: typing.Type[PVTRegression] + PVTRegressionFunction: typing.Type[PVTRegressionFunction] + RegressionParameter: typing.Type[RegressionParameter] + RegressionParameterConfig: typing.Type[RegressionParameterConfig] + RegressionResult: typing.Type[RegressionResult] + SeparatorDataPoint: typing.Type[SeparatorDataPoint] + UncertaintyAnalysis: typing.Type[UncertaintyAnalysis] + ViscosityDataPoint: typing.Type[ViscosityDataPoint] diff --git a/src/jneqsim/pvtsimulation/reservoirproperties/__init__.pyi b/src/jneqsim/pvtsimulation/reservoirproperties/__init__.pyi new file mode 100644 index 00000000..e782f6a1 --- /dev/null +++ b/src/jneqsim/pvtsimulation/reservoirproperties/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.pvtsimulation.reservoirproperties.relpermeability +import typing + + + +class CompositionEstimation: + def __init__(self, double: float, double2: float): ... + @typing.overload + def estimateH2Sconcentration(self) -> float: ... + @typing.overload + def estimateH2Sconcentration(self, double: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.reservoirproperties")``. + + CompositionEstimation: typing.Type[CompositionEstimation] + relpermeability: jneqsim.pvtsimulation.reservoirproperties.relpermeability.__module_protocol__ diff --git a/src/jneqsim/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi b/src/jneqsim/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi new file mode 100644 index 00000000..21034fa1 --- /dev/null +++ b/src/jneqsim/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi @@ -0,0 +1,107 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import typing + + + +class RelPermModelFamily(java.lang.Enum['RelPermModelFamily']): + COREY: typing.ClassVar['RelPermModelFamily'] = ... + LET: typing.ClassVar['RelPermModelFamily'] = ... + _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]) -> 'RelPermModelFamily': ... + @staticmethod + def values() -> typing.MutableSequence['RelPermModelFamily']: ... + +class RelPermTableType(java.lang.Enum['RelPermTableType']): + SWOF: typing.ClassVar['RelPermTableType'] = ... + SGOF: typing.ClassVar['RelPermTableType'] = ... + SOF3: typing.ClassVar['RelPermTableType'] = ... + SLGOF: typing.ClassVar['RelPermTableType'] = ... + _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]) -> 'RelPermTableType': ... + @staticmethod + def values() -> typing.MutableSequence['RelPermTableType']: ... + +class RelativePermeabilityGenerator: + def __init__(self): ... + def generate(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getEg(self) -> float: ... + def getEo(self) -> float: ... + def getEog(self) -> float: ... + def getEw(self) -> float: ... + def getKrgMax(self) -> float: ... + def getKroMax(self) -> float: ... + def getKrwMax(self) -> float: ... + def getLg(self) -> float: ... + def getLo(self) -> float: ... + def getLog(self) -> float: ... + def getLw(self) -> float: ... + def getModelFamily(self) -> RelPermModelFamily: ... + def getNg(self) -> float: ... + def getNo(self) -> float: ... + def getNog(self) -> float: ... + def getNw(self) -> float: ... + def getRows(self) -> int: ... + def getSgcr(self) -> float: ... + def getSorg(self) -> float: ... + def getSorw(self) -> float: ... + def getSwc(self) -> float: ... + def getSwcr(self) -> float: ... + def getTableType(self) -> RelPermTableType: ... + def getTg(self) -> float: ... + def getTo(self) -> float: ... + def getTog(self) -> float: ... + def getTw(self) -> float: ... + def setEg(self, double: float) -> None: ... + def setEo(self, double: float) -> None: ... + def setEog(self, double: float) -> None: ... + def setEw(self, double: float) -> None: ... + def setKrgMax(self, double: float) -> None: ... + def setKroMax(self, double: float) -> None: ... + def setKrwMax(self, double: float) -> None: ... + def setLg(self, double: float) -> None: ... + def setLo(self, double: float) -> None: ... + def setLog(self, double: float) -> None: ... + def setLw(self, double: float) -> None: ... + def setModelFamily(self, relPermModelFamily: RelPermModelFamily) -> None: ... + def setNg(self, double: float) -> None: ... + def setNo(self, double: float) -> None: ... + def setNog(self, double: float) -> None: ... + def setNw(self, double: float) -> None: ... + def setRows(self, int: int) -> None: ... + def setSgcr(self, double: float) -> None: ... + def setSorg(self, double: float) -> None: ... + def setSorw(self, double: float) -> None: ... + def setSwc(self, double: float) -> None: ... + def setSwcr(self, double: float) -> None: ... + def setTableType(self, relPermTableType: RelPermTableType) -> None: ... + def setTg(self, double: float) -> None: ... + def setTo(self, double: float) -> None: ... + def setTog(self, double: float) -> None: ... + def setTw(self, double: float) -> None: ... + def toEclipseKeyword(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.reservoirproperties.relpermeability")``. + + RelPermModelFamily: typing.Type[RelPermModelFamily] + RelPermTableType: typing.Type[RelPermTableType] + RelativePermeabilityGenerator: typing.Type[RelativePermeabilityGenerator] diff --git a/src/jneqsim/pvtsimulation/simulation/__init__.pyi b/src/jneqsim/pvtsimulation/simulation/__init__.pyi new file mode 100644 index 00000000..4f577670 --- /dev/null +++ b/src/jneqsim/pvtsimulation/simulation/__init__.pyi @@ -0,0 +1,383 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class SimulationInterface: + def getBaseThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def run(self) -> None: ... + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class BasePVTsimulation(SimulationInterface): + thermoOps: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... + pressures: typing.MutableSequence[float] = ... + temperature: float = ... + optimizer: jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getBaseThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getPressure(self) -> float: ... + def getPressures(self) -> typing.MutableSequence[float]: ... + def getSaturationPressure(self) -> float: ... + def getSaturationTemperature(self) -> float: ... + def getTemperature(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getZsaturation(self) -> float: ... + def run(self) -> None: ... + def setExperimentalData(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setPressure(self, double: float) -> None: ... + def setPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class ConstantMassExpansion(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSaturationConditions(self) -> None: ... + def calculateAAD(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calculateRelativeVolumeDeviation(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calculateZFactorQC(self) -> typing.MutableSequence[float]: ... + def generateQCReport(self) -> java.lang.String: ... + def getBg(self) -> typing.MutableSequence[float]: ... + def getDensity(self) -> typing.MutableSequence[float]: ... + def getIsoThermalCompressibility(self) -> typing.MutableSequence[float]: ... + def getLiquidRelativeVolume(self) -> typing.MutableSequence[float]: ... + def getRelativeVolume(self) -> typing.MutableSequence[float]: ... + def getSaturationIsoThermalCompressibility(self) -> float: ... + def getSaturationPressure(self) -> float: ... + def getViscosity(self) -> typing.MutableSequence[float]: ... + def getYfactor(self) -> typing.MutableSequence[float]: ... + def getZgas(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def runTuning(self) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def validateMassBalance(self, double: float) -> bool: ... + +class ConstantVolumeDepletion(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSaturationConditions(self) -> None: ... + def calculateGasDensityQC(self) -> typing.MutableSequence[float]: ... + def calculateKValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateOilDensityQC(self) -> typing.MutableSequence[float]: ... + def generateQCReport(self) -> java.lang.String: ... + def getCummulativeMolePercDepleted(self) -> typing.MutableSequence[float]: ... + def getLiquidDropoutCurve(self) -> typing.MutableSequence[float]: ... + def getLiquidRelativeVolume(self) -> typing.MutableSequence[float]: ... + def getRelativeVolume(self) -> typing.MutableSequence[float]: ... + def getSaturationPressure(self) -> float: ... + def getZgas(self) -> typing.MutableSequence[float]: ... + def getZmix(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def runTuning(self) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def validateMaterialBalance(self, double: float) -> bool: ... + +class DensitySim(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getAqueousDensity(self) -> typing.MutableSequence[float]: ... + def getGasDensity(self) -> typing.MutableSequence[float]: ... + def getOilDensity(self) -> typing.MutableSequence[float]: ... + def getWaxFraction(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def runTuning(self) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class DifferentialLiberation(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSaturationConditions(self) -> None: ... + def calculateMaterialBalanceResidual(self) -> float: ... + def generateQCReport(self) -> java.lang.String: ... + def getBg(self) -> typing.MutableSequence[float]: ... + def getBo(self) -> typing.MutableSequence[float]: ... + def getGasStandardVolume(self) -> typing.MutableSequence[float]: ... + def getOilDensity(self) -> typing.MutableSequence[float]: ... + def getRelGasGravity(self) -> typing.MutableSequence[float]: ... + def getRelativeVolume(self) -> typing.MutableSequence[float]: ... + def getRs(self) -> typing.MutableSequence[float]: ... + def getSaturationPressure(self) -> float: ... + def getShrinkage(self) -> typing.MutableSequence[float]: ... + def getZgas(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def validateBgMonotonicity(self) -> bool: ... + def validateBoMonotonicity(self) -> bool: ... + def validateOilDensityMonotonicity(self) -> bool: ... + def validateRsMonotonicity(self) -> bool: ... + +class GOR(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getBofactor(self) -> typing.MutableSequence[float]: ... + def getGOR(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class MMPCalculator(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface): ... + def generateReport(self) -> java.lang.String: ... + def getMMP(self) -> float: ... + def getMiscibilityMechanism(self) -> 'MMPCalculator.MiscibilityMechanism': ... + def getPressures(self) -> typing.MutableSequence[float]: ... + def getRecoveries(self) -> typing.MutableSequence[float]: ... + def run(self) -> None: ... + def setMethod(self, calculationMethod: 'MMPCalculator.CalculationMethod') -> None: ... + def setNumberOfPressurePoints(self, int: int) -> None: ... + def setPressureRange(self, double: float, double2: float) -> None: ... + def setRecoveryThreshold(self, double: float) -> None: ... + def setSlimTubeParameters(self, int: int, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + class CalculationMethod(java.lang.Enum['MMPCalculator.CalculationMethod']): + SLIM_TUBE: typing.ClassVar['MMPCalculator.CalculationMethod'] = ... + KEY_TIE_LINE: typing.ClassVar['MMPCalculator.CalculationMethod'] = ... + RISING_BUBBLE: typing.ClassVar['MMPCalculator.CalculationMethod'] = ... + _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]) -> 'MMPCalculator.CalculationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['MMPCalculator.CalculationMethod']: ... + class MiscibilityMechanism(java.lang.Enum['MMPCalculator.MiscibilityMechanism']): + FIRST_CONTACT: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... + VAPORIZING: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... + CONDENSING: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... + COMBINED: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... + IMMISCIBLE: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... + UNKNOWN: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... + _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]) -> 'MMPCalculator.MiscibilityMechanism': ... + @staticmethod + def values() -> typing.MutableSequence['MMPCalculator.MiscibilityMechanism']: ... + +class MultiStageSeparatorTest(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def addSeparatorStage(self, double: float, double2: float) -> None: ... + @typing.overload + def addSeparatorStage(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def addStockTankStage(self) -> None: ... + def clearStages(self) -> None: ... + def generateReport(self) -> java.lang.String: ... + def getBo(self) -> float: ... + def getNumberOfStages(self) -> int: ... + def getRs(self) -> float: ... + def getStageResults(self) -> java.util.List['MultiStageSeparatorTest.SeparatorStageResult']: ... + def getStockTankAPIGravity(self) -> float: ... + def getStockTankOilDensity(self) -> float: ... + def getTotalGOR(self) -> float: ... + @typing.overload + def optimizeFirstStageSeparator(self) -> 'MultiStageSeparatorTest.OptimizationResult': ... + @typing.overload + def optimizeFirstStageSeparator(self, double: float, double2: float, int: int, double3: float, double4: float, int2: int) -> 'MultiStageSeparatorTest.OptimizationResult': ... + def run(self) -> None: ... + def setReservoirConditions(self, double: float, double2: float) -> None: ... + def setTypicalThreeStage(self, double: float, double2: float, double3: float, double4: float) -> None: ... + class OptimizationResult: + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getApiAtOptimum(self) -> float: ... + def getBoAtOptimum(self) -> float: ... + def getGorAtOptimum(self) -> float: ... + def getMaximumOilRecovery(self) -> float: ... + def getOptimalPressure(self) -> float: ... + def getOptimalTemperature(self) -> float: ... + def toString(self) -> java.lang.String: ... + class SeparatorStage: + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def getName(self) -> java.lang.String: ... + def getPressure(self) -> float: ... + def getTemperature(self) -> float: ... + class SeparatorStageResult: + def __init__(self, int: int, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def getCumulativeGOR(self) -> float: ... + def getGasDensity(self) -> float: ... + def getGasMW(self) -> float: ... + def getGasRate(self) -> float: ... + def getGasZFactor(self) -> float: ... + def getOilDensity(self) -> float: ... + def getOilMW(self) -> float: ... + def getOilRate(self) -> float: ... + def getOilViscosity(self) -> float: ... + def getPressure(self) -> float: ... + def getStageGOR(self) -> float: ... + def getStageName(self) -> java.lang.String: ... + def getStageNumber(self) -> int: ... + def getTemperature(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class SaturationPressure(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSaturationPressure(self) -> float: ... + def getSaturationPressure(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + +class SaturationTemperature(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcSaturationTemperature(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + +class SeparatorTest(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getBofactor(self) -> typing.MutableSequence[float]: ... + def getGOR(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def setSeparatorConditions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class SlimTubeSim(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface): ... + def getNumberOfSlimTubeNodes(self) -> int: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + def setNumberOfSlimTubeNodes(self, int: int) -> None: ... + +class SolutionGasWaterRatio(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculateRsw(self, double: float, double2: float) -> float: ... + def getCalculationMethod(self) -> 'SolutionGasWaterRatio.CalculationMethod': ... + @typing.overload + def getRsw(self, int: int) -> float: ... + @typing.overload + def getRsw(self) -> typing.MutableSequence[float]: ... + def getSalinity(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def printResults(self) -> None: ... + def runCalc(self) -> None: ... + @typing.overload + def setCalculationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setCalculationMethod(self, calculationMethod: 'SolutionGasWaterRatio.CalculationMethod') -> None: ... + @typing.overload + def setSalinity(self, double: float) -> None: ... + @typing.overload + def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + class CalculationMethod(java.lang.Enum['SolutionGasWaterRatio.CalculationMethod']): + MCCAIN: typing.ClassVar['SolutionGasWaterRatio.CalculationMethod'] = ... + SOREIDE_WHITSON: typing.ClassVar['SolutionGasWaterRatio.CalculationMethod'] = ... + ELECTROLYTE_CPA: typing.ClassVar['SolutionGasWaterRatio.CalculationMethod'] = ... + _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]) -> 'SolutionGasWaterRatio.CalculationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['SolutionGasWaterRatio.CalculationMethod']: ... + +class SwellingTest(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getPressures(self) -> typing.MutableSequence[float]: ... + def getRelativeOilVolume(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def setCummulativeMolePercentGasInjected(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInjectionGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setRelativeOilVolume(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class ViscositySim(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getAqueousViscosity(self) -> typing.MutableSequence[float]: ... + def getGasViscosity(self) -> typing.MutableSequence[float]: ... + def getOilViscosity(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def runTuning(self) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class ViscosityWaxOilSim(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getAqueousViscosity(self) -> typing.MutableSequence[float]: ... + def getGasViscosity(self) -> typing.MutableSequence[float]: ... + def getOilViscosity(self) -> typing.MutableSequence[float]: ... + def getOilwaxDispersionViscosity(self) -> typing.MutableSequence[float]: ... + def getShareRate(self) -> typing.MutableSequence[float]: ... + def getWaxFraction(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def runTuning(self) -> None: ... + def setShareRate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class WaxFractionSim(BasePVTsimulation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getBofactor(self) -> typing.MutableSequence[float]: ... + def getGOR(self) -> typing.MutableSequence[float]: ... + def getWaxFraction(self) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def runCalc(self) -> None: ... + def runTuning(self) -> None: ... + def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.simulation")``. + + BasePVTsimulation: typing.Type[BasePVTsimulation] + ConstantMassExpansion: typing.Type[ConstantMassExpansion] + ConstantVolumeDepletion: typing.Type[ConstantVolumeDepletion] + DensitySim: typing.Type[DensitySim] + DifferentialLiberation: typing.Type[DifferentialLiberation] + GOR: typing.Type[GOR] + MMPCalculator: typing.Type[MMPCalculator] + MultiStageSeparatorTest: typing.Type[MultiStageSeparatorTest] + SaturationPressure: typing.Type[SaturationPressure] + SaturationTemperature: typing.Type[SaturationTemperature] + SeparatorTest: typing.Type[SeparatorTest] + SimulationInterface: typing.Type[SimulationInterface] + SlimTubeSim: typing.Type[SlimTubeSim] + SolutionGasWaterRatio: typing.Type[SolutionGasWaterRatio] + SwellingTest: typing.Type[SwellingTest] + ViscositySim: typing.Type[ViscositySim] + ViscosityWaxOilSim: typing.Type[ViscosityWaxOilSim] + WaxFractionSim: typing.Type[WaxFractionSim] diff --git a/src/jneqsim/pvtsimulation/util/__init__.pyi b/src/jneqsim/pvtsimulation/util/__init__.pyi new file mode 100644 index 00000000..2872d8e0 --- /dev/null +++ b/src/jneqsim/pvtsimulation/util/__init__.pyi @@ -0,0 +1,441 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.pvtsimulation.simulation +import jneqsim.pvtsimulation.util.parameterfitting +import jneqsim.thermo.system +import typing + + + +class BlackOilCorrelations: + @staticmethod + def apiFromSpecificGravity(double: float) -> float: ... + @staticmethod + def baraToPsia(double: float) -> float: ... + @staticmethod + def boToBblPerStb(double: float) -> float: ... + @typing.overload + @staticmethod + def bubblePointGlaso(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def bubblePointGlaso(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def bubblePointGlasoSI(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def bubblePointStanding(double: float, double2: float, double3: float, double4: float, boolean: bool) -> float: ... + @typing.overload + @staticmethod + def bubblePointStanding(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def bubblePointStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def bubblePointVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def bubblePointVasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def bubblePointVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def celsiusToFahrenheit(double: float) -> float: ... + @typing.overload + @staticmethod + def deadOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def deadOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def deadOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def deadOilViscosityGlaso(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def deadOilViscosityGlaso(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def deadOilViscosityGlasoSI(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def deadOilViscosityKartoatmodjo(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def deadOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def deadOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... + @staticmethod + def fahrenheitToCelsius(double: float) -> float: ... + @typing.overload + @staticmethod + def gasFVF(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def gasFVF(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def gasFVFSI(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def gasFVFrbPerMscf(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def gasViscosityLeeGonzalezEakinSI(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def getDefaultUnits() -> 'BlackOilUnits': ... + @staticmethod + def gorScfToSm3(double: float) -> float: ... + @staticmethod + def gorSm3ToScfPerStb(double: float) -> float: ... + @staticmethod + def oilCompressibilityVasquesBeggsS(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @typing.overload + @staticmethod + def oilCompressibilityVasquezBeggs(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @typing.overload + @staticmethod + def oilCompressibilityVasquezBeggs(double: float, double2: float, double3: float, double4: float, double5: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @typing.overload + @staticmethod + def oilFVFStanding(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def oilFVFStanding(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def oilFVFStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def oilFVFUndersaturated(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def oilFVFUndersaturated(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def oilFVFVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def oilFVFVasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def oilFVFVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def psiaToBara(double: float) -> float: ... + @typing.overload + @staticmethod + def saturatedOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def saturatedOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def saturatedOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def saturatedOilViscosityKartoatmodjo(double: float, double2: float) -> float: ... + @typing.overload + @staticmethod + def saturatedOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def saturatedOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... + @staticmethod + def setDefaultUnits(blackOilUnits: 'BlackOilUnits') -> None: ... + @typing.overload + @staticmethod + def solutionGORStanding(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def solutionGORStanding(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def solutionGORStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def solutionGORVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def solutionGORVasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + @typing.overload + @staticmethod + def solutionGORVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def specificGravityFromAPI(double: float) -> float: ... + @typing.overload + @staticmethod + def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def undersaturatedOilViscosityBergmanSuttonSI(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def undersaturatedOilViscosityVasquesBeggsS(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float) -> float: ... + @typing.overload + @staticmethod + def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + +class BlackOilTableValidator: + @staticmethod + def interpolate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> float: ... + @staticmethod + def validate(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], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray]) -> 'BlackOilTableValidator.ValidationResult': ... + class ValidationResult: + def __init__(self): ... + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getReport(self) -> java.lang.String: ... + def hasWarnings(self) -> bool: ... + def isValid(self) -> bool: ... + +class BlackOilUnits(java.lang.Enum['BlackOilUnits']): + FIELD: typing.ClassVar['BlackOilUnits'] = ... + SI: typing.ClassVar['BlackOilUnits'] = ... + NEQSIM: typing.ClassVar['BlackOilUnits'] = ... + @staticmethod + def convertBg(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def convertBo(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def fromCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def fromFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def fromLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def fromPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def fromPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def fromScfPerStb(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toRankine(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + @staticmethod + def toScfPerStb(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + _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]) -> 'BlackOilUnits': ... + @staticmethod + def values() -> typing.MutableSequence['BlackOilUnits']: ... + +class DeclineCurveAnalysis: + @staticmethod + def cumulativeExponential(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def cumulativeHarmonic(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def cumulativeProduction(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def effectiveAnnualToNominal(double: float) -> float: ... + @staticmethod + def estimateExponentialDecline(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def estimateHyperbolicParameters(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def eur(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def forecast(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @staticmethod + def instantaneousDeclineRate(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def nominalToEffectiveAnnual(double: float) -> float: ... + @staticmethod + def rate(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def rateExponential(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def rateHarmonic(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def rateHyperbolic(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def remainingReserves(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def summary(double: float, double2: float, double3: float, double4: float) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def timeToRate(double: float, double2: float, double3: float, double4: float) -> float: ... + +class GasPseudoCriticalProperties: + @staticmethod + def pseudoCriticalPressurePiper(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def pseudoCriticalPressureStanding(double: float) -> float: ... + @staticmethod + def pseudoCriticalPressureSutton(double: float) -> float: ... + @staticmethod + def pseudoCriticalTemperaturePiper(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def pseudoCriticalTemperatureStanding(double: float) -> float: ... + @staticmethod + def pseudoCriticalTemperatureSutton(double: float) -> float: ... + @staticmethod + def pseudoReducedPressure(double: float, double2: float) -> float: ... + @staticmethod + def pseudoReducedTemperature(double: float, double2: float) -> float: ... + @staticmethod + def wichertAzizCorrection(double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + +class GasPseudoPressure: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def calculate(self, double: float, double2: float) -> float: ... + @typing.overload + def calculate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def calculateFromCorrelation(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def deltaPseudoPressure(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def getNumberOfSteps(self) -> int: ... + def pseudoPressureAt(self, double: float) -> float: ... + def pseudoPressureProfile(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setNumberOfSteps(self, int: int) -> None: ... + +class PVTReportGenerator: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addCCE(self, constantMassExpansion: jneqsim.pvtsimulation.simulation.ConstantMassExpansion) -> 'PVTReportGenerator': ... + def addCVD(self, constantVolumeDepletion: jneqsim.pvtsimulation.simulation.ConstantVolumeDepletion) -> 'PVTReportGenerator': ... + def addDLE(self, differentialLiberation: jneqsim.pvtsimulation.simulation.DifferentialLiberation) -> 'PVTReportGenerator': ... + def addDensity(self, densitySim: jneqsim.pvtsimulation.simulation.DensitySim) -> 'PVTReportGenerator': ... + def addGOR(self, gOR: jneqsim.pvtsimulation.simulation.GOR) -> 'PVTReportGenerator': ... + def addLabCCEData(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... + def addLabDLEData(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... + def addMMP(self, mMPCalculator: jneqsim.pvtsimulation.simulation.MMPCalculator) -> 'PVTReportGenerator': ... + def addSaturationPressure(self, saturationPressure: jneqsim.pvtsimulation.simulation.SaturationPressure) -> 'PVTReportGenerator': ... + def addSaturationTemperature(self, saturationTemperature: jneqsim.pvtsimulation.simulation.SaturationTemperature) -> 'PVTReportGenerator': ... + def addSeparatorTest(self, multiStageSeparatorTest: jneqsim.pvtsimulation.simulation.MultiStageSeparatorTest) -> 'PVTReportGenerator': ... + def addSlimTube(self, slimTubeSim: jneqsim.pvtsimulation.simulation.SlimTubeSim) -> 'PVTReportGenerator': ... + def addSwellingTest(self, swellingTest: jneqsim.pvtsimulation.simulation.SwellingTest) -> 'PVTReportGenerator': ... + def addViscosity(self, viscositySim: jneqsim.pvtsimulation.simulation.ViscositySim) -> 'PVTReportGenerator': ... + def addWaxFraction(self, waxFractionSim: jneqsim.pvtsimulation.simulation.WaxFractionSim) -> 'PVTReportGenerator': ... + def generateCCECSV(self) -> java.lang.String: ... + def generateDLECSV(self) -> java.lang.String: ... + def generateDensityCSV(self) -> java.lang.String: ... + def generateGORCSV(self) -> java.lang.String: ... + def generateLabComparison(self) -> java.lang.String: ... + def generateMMPCSV(self) -> java.lang.String: ... + def generateMarkdownReport(self) -> java.lang.String: ... + def generateSwellingCSV(self) -> java.lang.String: ... + def generateViscosityCSV(self) -> java.lang.String: ... + def generateWaxCSV(self) -> java.lang.String: ... + def setLabInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... + def setProjectInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... + def setReservoirConditions(self, double: float, double2: float) -> 'PVTReportGenerator': ... + def setSaturationPressure(self, double: float, boolean: bool) -> 'PVTReportGenerator': ... + def writeReport(self, writer: java.io.Writer) -> None: ... + class LabDataPoint: + def __init__(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]): ... + def getPressure(self) -> float: ... + def getProperty(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + +class SaturationPressureCorrelation: + @staticmethod + def alMarhoun(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def apiToSpecificGravity(double: float) -> float: ... + @staticmethod + def barToPsia(double: float) -> float: ... + @staticmethod + def celsiusToFahrenheit(double: float) -> float: ... + @staticmethod + def estimateWithStatistics(double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + @staticmethod + def fahrenheitToCelsius(double: float) -> float: ... + @staticmethod + def generateComparisonReport(double: float, double2: float, double3: float, double4: float) -> java.lang.String: ... + @staticmethod + def glaso(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def petroskyFarshad(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def psiaToBar(double: float) -> float: ... + @staticmethod + def scfStbToSm3Sm3(double: float) -> float: ... + @staticmethod + def sm3Sm3ToScfStb(double: float) -> float: ... + @staticmethod + def specificGravityToAPI(double: float) -> float: ... + @staticmethod + def standing(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def vasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + +class WaterPropertyCorrelations: + @staticmethod + def brineDensityBatzleWang(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def deadWaterViscosityMcCain(double: float, double2: float) -> float: ... + @staticmethod + def solutionGasWaterRatioCulberson(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def waterCompressibilityMcCain(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def waterDensity(double: float, double2: float) -> float: ... + @staticmethod + def waterFVFMcCain(double: float, double2: float) -> float: ... + @staticmethod + def waterFVFOsif(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def waterGasSurfaceTension(double: float, double2: float) -> float: ... + @staticmethod + def waterPropertiesSummary(double: float, double2: float, double3: float) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def waterViscosityMcCain(double: float, double2: float, double3: float) -> float: ... + +class ZFactorCorrelations: + @staticmethod + def compareAll(double: float, double2: float) -> java.util.Map[java.lang.String, float]: ... + @staticmethod + def dranchukAbouKassem(double: float, double2: float) -> float: ... + @staticmethod + def gasDensity(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def gasFVFFromZ(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def hallYarborough(double: float, double2: float) -> float: ... + @staticmethod + def papay(double: float, double2: float) -> float: ... + @staticmethod + def zFactorSourGas(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def zFactorSutton(double: float, double2: float, double3: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.util")``. + + BlackOilCorrelations: typing.Type[BlackOilCorrelations] + BlackOilTableValidator: typing.Type[BlackOilTableValidator] + BlackOilUnits: typing.Type[BlackOilUnits] + DeclineCurveAnalysis: typing.Type[DeclineCurveAnalysis] + GasPseudoCriticalProperties: typing.Type[GasPseudoCriticalProperties] + GasPseudoPressure: typing.Type[GasPseudoPressure] + PVTReportGenerator: typing.Type[PVTReportGenerator] + SaturationPressureCorrelation: typing.Type[SaturationPressureCorrelation] + WaterPropertyCorrelations: typing.Type[WaterPropertyCorrelations] + ZFactorCorrelations: typing.Type[ZFactorCorrelations] + parameterfitting: jneqsim.pvtsimulation.util.parameterfitting.__module_protocol__ diff --git a/src/jneqsim/pvtsimulation/util/parameterfitting/__init__.pyi b/src/jneqsim/pvtsimulation/util/parameterfitting/__init__.pyi new file mode 100644 index 00000000..856fa162 --- /dev/null +++ b/src/jneqsim/pvtsimulation/util/parameterfitting/__init__.pyi @@ -0,0 +1,168 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import jneqsim.thermo.system +import typing + + + +class AsphalteneOnsetFitting: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def addOnsetPoint(self, double: float, double2: float) -> None: ... + @typing.overload + def addOnsetPoint(self, double: float, double2: float, double3: float) -> None: ... + def addOnsetPointCelsius(self, double: float, double2: float) -> None: ... + def calculateOnsetPressure(self, double: float) -> float: ... + def clearData(self) -> None: ... + def displayCurveFit(self) -> None: ... + def getFittedAssociationEnergy(self) -> float: ... + def getFittedAssociationVolume(self) -> float: ... + def getFittedParameters(self) -> typing.MutableSequence[float]: ... + def getFunction(self) -> 'AsphalteneOnsetFunction': ... + def getNumberOfDataPoints(self) -> int: ... + def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def isSolved(self) -> bool: ... + def printResults(self) -> None: ... + @typing.overload + def setInitialGuess(self, double: float) -> None: ... + @typing.overload + def setInitialGuess(self, double: float, double2: float) -> None: ... + def setParameterType(self, fittingParameterType: 'AsphalteneOnsetFunction.FittingParameterType') -> None: ... + def setPressureRange(self, double: float, double2: float, double3: float) -> None: ... + def setPressureStdDev(self, double: float) -> None: ... + def solve(self) -> bool: ... + class OnsetDataPoint: + temperatureK: float = ... + pressureBara: float = ... + stdDev: float = ... + def __init__(self, double: float, double2: float, double3: float): ... + +class AsphalteneOnsetFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def setAsphalteneComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameterType(self, fittingParameterType: 'AsphalteneOnsetFunction.FittingParameterType') -> None: ... + def setPressureRange(self, double: float, double2: float, double3: float) -> None: ... + def setPressureTolerance(self, double: float) -> None: ... + class FittingParameterType(java.lang.Enum['AsphalteneOnsetFunction.FittingParameterType']): + ASSOCIATION_PARAMETERS: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... + BINARY_INTERACTION: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... + MOLAR_MASS: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... + COMBINED: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... + _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]) -> 'AsphalteneOnsetFunction.FittingParameterType': ... + @staticmethod + def values() -> typing.MutableSequence['AsphalteneOnsetFunction.FittingParameterType']: ... + +class CMEFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcSaturationConditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class CVDFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcSaturationConditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class DensityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class FunctionJohanSverderup(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class SaturationPressureFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class TestFitToOilFieldFluid: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class TestSaturationPresFunction: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class TestWaxTuning: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, boolean: bool): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class WaxFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.util.parameterfitting")``. + + AsphalteneOnsetFitting: typing.Type[AsphalteneOnsetFitting] + AsphalteneOnsetFunction: typing.Type[AsphalteneOnsetFunction] + CMEFunction: typing.Type[CMEFunction] + CVDFunction: typing.Type[CVDFunction] + DensityFunction: typing.Type[DensityFunction] + FunctionJohanSverderup: typing.Type[FunctionJohanSverderup] + SaturationPressureFunction: typing.Type[SaturationPressureFunction] + TestFitToOilFieldFluid: typing.Type[TestFitToOilFieldFluid] + TestSaturationPresFunction: typing.Type[TestSaturationPresFunction] + TestWaxTuning: typing.Type[TestWaxTuning] + ViscosityFunction: typing.Type[ViscosityFunction] + WaxFunction: typing.Type[WaxFunction] diff --git a/src/jneqsim/standards/__init__.pyi b/src/jneqsim/standards/__init__.pyi new file mode 100644 index 00000000..aa81e80f --- /dev/null +++ b/src/jneqsim/standards/__init__.pyi @@ -0,0 +1,74 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.standards.gasquality +import jneqsim.standards.oilquality +import jneqsim.standards.salescontract +import jneqsim.thermo.system +import jneqsim.util +import typing + + + +class StandardInterface: + def calculate(self) -> None: ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getName(self) -> java.lang.String: ... + def getReferencePressure(self) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSalesContract(self) -> jneqsim.standards.salescontract.ContractInterface: ... + def getStandardDescription(self) -> java.lang.String: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setReferencePressure(self, double: float) -> None: ... + def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + @typing.overload + def setSalesContract(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSalesContract(self, contractInterface: jneqsim.standards.salescontract.ContractInterface) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class Standard(jneqsim.util.NamedBaseClass, StandardInterface): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getReferencePressure(self) -> float: ... + def getReferenceState(self) -> java.lang.String: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSalesContract(self) -> jneqsim.standards.salescontract.ContractInterface: ... + def getStandardDescription(self) -> java.lang.String: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def setReferencePressure(self, double: float) -> None: ... + def setReferenceState(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + @typing.overload + def setSalesContract(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSalesContract(self, contractInterface: jneqsim.standards.salescontract.ContractInterface) -> None: ... + def setStandardDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards")``. + + Standard: typing.Type[Standard] + StandardInterface: typing.Type[StandardInterface] + gasquality: jneqsim.standards.gasquality.__module_protocol__ + oilquality: jneqsim.standards.oilquality.__module_protocol__ + salescontract: jneqsim.standards.salescontract.__module_protocol__ diff --git a/src/jneqsim/standards/gasquality/__init__.pyi b/src/jneqsim/standards/gasquality/__init__.pyi new file mode 100644 index 00000000..650ce9f4 --- /dev/null +++ b/src/jneqsim/standards/gasquality/__init__.pyi @@ -0,0 +1,364 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.standards +import jneqsim.thermo +import jneqsim.thermo.system +import typing + + + +class BestPracticeHydrocarbonDewPoint(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Draft_GERG2004(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Draft_ISO18453(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class GasChromotograpyhBase(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Standard_AGA3(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setDifferentialPressure(self, double: float) -> None: ... + def setFlowingTemperature(self, double: float) -> None: ... + def setOrificeDimensions(self, double: float, double2: float) -> None: ... + def setStaticPressure(self, double: float) -> None: ... + def setTapType(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_AGA7(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setFlowingConditions(self, double: float, double2: float) -> None: ... + def setMeasuredSpeedOfSound(self, double: float) -> None: ... + def setMeasuredVelocity(self, double: float) -> None: ... + def setPipeDiameter(self, double: float) -> None: ... + def setSOSDeviationLimit(self, double: float) -> None: ... + +class Standard_EN16723(jneqsim.standards.Standard): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... + def calculate(self) -> None: ... + def getEN16726(self) -> 'Standard_EN16726': ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setPart(self, int: int) -> None: ... + +class Standard_EN16726(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getNetworkType(self) -> java.lang.String: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getWobbeIndexMax(self) -> float: ... + def getWobbeIndexMin(self) -> float: ... + def isOnSpec(self) -> bool: ... + def setH2Limit(self, double: float) -> None: ... + def setNetworkType(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_GPA2145(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + @staticmethod + def getReferenceGrossHV(string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getReferenceMolarMass(string: typing.Union[java.lang.String, str]) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Standard_GPA2172(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Standard_ISO12213(jneqsim.standards.Standard): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def calculate(self) -> None: ... + def getCalculationMethod(self) -> java.lang.String: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setCalculationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_ISO13443(jneqsim.standards.Standard): + T_METER_15C: typing.ClassVar[float] = ... + T_NORMAL_0C: typing.ClassVar[float] = ... + T_US_60F: typing.ClassVar[float] = ... + T_20C: typing.ClassVar[float] = ... + T_COMBUSTION_25C: typing.ClassVar[float] = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def convertVolume(self, double: float) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + @typing.overload + def setConversionConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def setConversionConditions(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_ISO14687(jneqsim.standards.Standard): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]): ... + def calculate(self) -> None: ... + def getGrade(self) -> java.lang.String: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_ISO15112(jneqsim.standards.Standard): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float): ... + def calculate(self) -> None: ... + def getISO6976(self) -> 'Standard_ISO6976': ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getVolumeFlowRate(self) -> float: ... + def isOnSpec(self) -> bool: ... + def setAccumulationPeriod(self, double: float) -> None: ... + def setMeteringConditions(self, double: float, double2: float) -> None: ... + def setVolumeFlowRate(self, double: float) -> None: ... + +class Standard_ISO15403(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Standard_ISO18453(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setDewPointTemperatureSpec(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + +class Standard_ISO23874(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getEvaluationPressure(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setEvaluationPressure(self, double: float) -> None: ... + def setMinimumCarbonNumber(self, int: int) -> None: ... + +class Standard_ISO6578(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getCorrFactor1(self) -> float: ... + def getCorrFactor2(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setCorrectionFactors(self) -> None: ... + def useISO6578VolumeCorrectionFacotrs(self, boolean: bool) -> None: ... + +class Standard_ISO6976(jneqsim.standards.Standard, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def calculate(self) -> None: ... + def checkReferenceCondition(self) -> None: ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getAverageCarbonNumber(self) -> float: ... + def getComponentsNotDefinedByStandard(self) -> java.util.ArrayList[java.lang.String]: ... + def getEnergyRefP(self) -> float: ... + def getEnergyRefT(self) -> float: ... + def getReferenceType(self) -> java.lang.String: ... + def getTotalMolesOfInerts(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getVolRefT(self) -> float: ... + def isOnSpec(self) -> bool: ... + def removeInertsButNitrogen(self) -> None: ... + def setEnergyRefP(self, double: float) -> None: ... + def setEnergyRefT(self, double: float) -> None: ... + def setReferenceType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setVolRefT(self, double: float) -> None: ... + +class SulfurSpecificationMethod(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class UKspecifications_ICF_SI(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcPropaneNumber(self) -> float: ... + def calcWithNitrogenAsInert(self) -> float: ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + +class Standard_ISO6974(GasChromotograpyhBase): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getExpandedUncertainties(self) -> java.util.Map[java.lang.String, float]: ... + def getNormalisedComposition(self) -> java.util.Map[java.lang.String, float]: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isNormalisationApplied(self) -> bool: ... + def isOnSpec(self) -> bool: ... + def setComponentUncertainty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setCoverageFactor(self, double: float) -> None: ... + def setNormalisationTolerance(self, double: float) -> None: ... + +class Standard_ISO6976_2016(Standard_ISO6976): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def calculate(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards.gasquality")``. + + BestPracticeHydrocarbonDewPoint: typing.Type[BestPracticeHydrocarbonDewPoint] + Draft_GERG2004: typing.Type[Draft_GERG2004] + Draft_ISO18453: typing.Type[Draft_ISO18453] + GasChromotograpyhBase: typing.Type[GasChromotograpyhBase] + Standard_AGA3: typing.Type[Standard_AGA3] + Standard_AGA7: typing.Type[Standard_AGA7] + Standard_EN16723: typing.Type[Standard_EN16723] + Standard_EN16726: typing.Type[Standard_EN16726] + Standard_GPA2145: typing.Type[Standard_GPA2145] + Standard_GPA2172: typing.Type[Standard_GPA2172] + Standard_ISO12213: typing.Type[Standard_ISO12213] + Standard_ISO13443: typing.Type[Standard_ISO13443] + Standard_ISO14687: typing.Type[Standard_ISO14687] + Standard_ISO15112: typing.Type[Standard_ISO15112] + Standard_ISO15403: typing.Type[Standard_ISO15403] + Standard_ISO18453: typing.Type[Standard_ISO18453] + Standard_ISO23874: typing.Type[Standard_ISO23874] + Standard_ISO6578: typing.Type[Standard_ISO6578] + Standard_ISO6974: typing.Type[Standard_ISO6974] + Standard_ISO6976: typing.Type[Standard_ISO6976] + Standard_ISO6976_2016: typing.Type[Standard_ISO6976_2016] + SulfurSpecificationMethod: typing.Type[SulfurSpecificationMethod] + UKspecifications_ICF_SI: typing.Type[UKspecifications_ICF_SI] diff --git a/src/jneqsim/standards/oilquality/__init__.pyi b/src/jneqsim/standards/oilquality/__init__.pyi new file mode 100644 index 00000000..96051c05 --- /dev/null +++ b/src/jneqsim/standards/oilquality/__init__.pyi @@ -0,0 +1,309 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.standards +import jneqsim.thermo.system +import typing + + + +class Standard_ASTM_D1322(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearMinSmokeSpec(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setCorrelationCoefficients(self, double: float, double2: float) -> None: ... + def setMinSmokeSpec(self, double: float) -> None: ... + +class Standard_ASTM_D2500(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMeasurementPressure(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMeasurementPressure(self, double: float) -> None: ... + +class Standard_ASTM_D3230(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearMaxSaltSpec(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setBrineSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxSaltSpec(self, double: float) -> None: ... + @typing.overload + def setWaterCut(self, double: float) -> None: ... + @typing.overload + def setWaterCut(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_ASTM_D4052(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMeasurementPressure(self) -> float: ... + def getOilClassification(self) -> java.lang.String: ... + def getReferenceTemperatureC(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMeasurementPressure(self, double: float) -> None: ... + def setReferenceTemperatureC(self, double: float) -> None: ... + +class Standard_ASTM_D4294(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMeasurementTemperatureC(self) -> float: ... + def getSulfurClassification(self) -> java.lang.String: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMeasurementTemperatureC(self, double: float) -> None: ... + +class Standard_ASTM_D445(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMeasurementPressure(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMeasurementPressure(self, double: float) -> None: ... + +class Standard_ASTM_D4737(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearMinCetaneSpec(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMinCetaneSpec(self, double: float) -> None: ... + +class Standard_ASTM_D611(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearMinAnilineSpec(self) -> None: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setCorrelationCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def setMinAnilineSpec(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class Standard_ASTM_D6377(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMethodRVP(self) -> java.lang.String: ... + @typing.overload + def getRvpResult(self) -> 'Standard_ASTM_D6377.RvpResult': ... + @typing.overload + def getRvpResult(self, rvpMethod: 'Standard_ASTM_D6377.RvpMethod') -> 'Standard_ASTM_D6377.RvpResult': ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def setMethodRVP(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMethodRVP(self, rvpMethod: 'Standard_ASTM_D6377.RvpMethod') -> None: ... + def setReferenceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + class RvpMethod(java.lang.Enum['Standard_ASTM_D6377.RvpMethod']): + RVP_ASTM_D6377: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... + RVP_ASTM_D323_73_79: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... + RVP_ASTM_D323_82: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... + VPCR4: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... + VPCR4_NO_WATER: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... + @staticmethod + def fromLabel(string: typing.Union[java.lang.String, str]) -> 'Standard_ASTM_D6377.RvpMethod': ... + def getLabel(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]) -> 'Standard_ASTM_D6377.RvpMethod': ... + @staticmethod + def values() -> typing.MutableSequence['Standard_ASTM_D6377.RvpMethod']: ... + class RvpResult: + def __init__(self, double: float, rvpMethod: 'Standard_ASTM_D6377.RvpMethod', double2: float): ... + def getMethod(self) -> 'Standard_ASTM_D6377.RvpMethod': ... + def getReferenceTemperatureC(self) -> float: ... + def getValue(self) -> float: ... + def isValid(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + +class Standard_ASTM_D86(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearSpecLimits(self) -> None: ... + def getBarometricPressure(self) -> float: ... + def getBasis(self) -> 'Standard_ASTM_D86.D86Basis': ... + @typing.overload + def getCABP(self) -> float: ... + @typing.overload + def getCABP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getD86Curve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getDistillationCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getDistillationCurve(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDistillationCurveKelvin(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDistillationPressure(self) -> float: ... + @typing.overload + def getMABP(self) -> float: ... + @typing.overload + def getMABP(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMeABP(self) -> float: ... + @typing.overload + def getMeABP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPercentLoss(self) -> float: ... + def getPercentRecovered(self) -> float: ... + def getPercentResidue(self) -> float: ... + def getSlope(self) -> float: ... + def getSpecificGravity(self) -> float: ... + def getTBPCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getVABP(self) -> float: ... + @typing.overload + def getVABP(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getWABP(self) -> float: ... + @typing.overload + def getWABP(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWatsonK(self) -> float: ... + def isOnSpec(self) -> bool: ... + def setBarometricPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBasis(self, d86Basis: 'Standard_ASTM_D86.D86Basis') -> None: ... + def setDistillationPressure(self, double: float) -> None: ... + def setSpecLimit(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + class D86Basis(java.lang.Enum['Standard_ASTM_D86.D86Basis']): + MOLAR: typing.ClassVar['Standard_ASTM_D86.D86Basis'] = ... + LIQUID_VOLUME: typing.ClassVar['Standard_ASTM_D86.D86Basis'] = ... + TBP_CONVERTED: typing.ClassVar['Standard_ASTM_D86.D86Basis'] = ... + _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]) -> 'Standard_ASTM_D86.D86Basis': ... + @staticmethod + def values() -> typing.MutableSequence['Standard_ASTM_D86.D86Basis']: ... + +class Standard_ASTM_D97(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMeasurementPressure(self) -> float: ... + def getNonFlowViscosityThreshold(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMeasurementPressure(self, double: float) -> None: ... + def setNonFlowViscosityThreshold(self, double: float) -> None: ... + +class Standard_BSW(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getMaxBSW(self) -> float: ... + def getMeasurementPressure(self) -> float: ... + def getMeasurementTemperatureC(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMaxBSW(self, double: float) -> None: ... + def setMeasurementPressure(self, double: float) -> None: ... + def setMeasurementTemperatureC(self, double: float) -> None: ... + +class Standard_EN116(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearMaxCfppSpec(self) -> None: ... + def getOffset(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMaxCfppSpec(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOffset(self, double: float) -> None: ... + +class Standard_TVP(jneqsim.standards.Standard): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def clearMaxTvpSpec(self) -> None: ... + def getReferenceTemperature(self) -> float: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def isOnSpec(self) -> bool: ... + def setMaxTvpSpec(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards.oilquality")``. + + Standard_ASTM_D1322: typing.Type[Standard_ASTM_D1322] + Standard_ASTM_D2500: typing.Type[Standard_ASTM_D2500] + Standard_ASTM_D3230: typing.Type[Standard_ASTM_D3230] + Standard_ASTM_D4052: typing.Type[Standard_ASTM_D4052] + Standard_ASTM_D4294: typing.Type[Standard_ASTM_D4294] + Standard_ASTM_D445: typing.Type[Standard_ASTM_D445] + Standard_ASTM_D4737: typing.Type[Standard_ASTM_D4737] + Standard_ASTM_D611: typing.Type[Standard_ASTM_D611] + Standard_ASTM_D6377: typing.Type[Standard_ASTM_D6377] + Standard_ASTM_D86: typing.Type[Standard_ASTM_D86] + Standard_ASTM_D97: typing.Type[Standard_ASTM_D97] + Standard_BSW: typing.Type[Standard_BSW] + Standard_EN116: typing.Type[Standard_EN116] + Standard_TVP: typing.Type[Standard_TVP] diff --git a/src/jneqsim/standards/salescontract/__init__.pyi b/src/jneqsim/standards/salescontract/__init__.pyi new file mode 100644 index 00000000..af7ebe28 --- /dev/null +++ b/src/jneqsim/standards/salescontract/__init__.pyi @@ -0,0 +1,87 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.standards +import jneqsim.thermo.system +import jneqsim.util +import typing + + + +class ContractInterface: + def display(self) -> None: ... + def getContractName(self) -> java.lang.String: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSpecificationsNumber(self) -> int: ... + def getWaterDewPointSpecPressure(self) -> float: ... + def getWaterDewPointTemperature(self) -> float: ... + def prettyPrint(self) -> None: ... + def runCheck(self) -> None: ... + def setContract(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setContractName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setSpecificationsNumber(self, int: int) -> None: ... + def setWaterDewPointSpecPressure(self, double: float) -> None: ... + def setWaterDewPointTemperature(self, double: float) -> None: ... + +class ContractSpecification(jneqsim.util.NamedBaseClass): + 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], standardInterface: jneqsim.standards.StandardInterface, double: float, double2: float, string5: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, string6: typing.Union[java.lang.String, str]): ... + def getComments(self) -> java.lang.String: ... + def getCountry(self) -> java.lang.String: ... + def getMaxValue(self) -> float: ... + def getMinValue(self) -> float: ... + def getReferencePressure(self) -> float: ... + def getReferenceTemperatureCombustion(self) -> float: ... + def getReferenceTemperatureMeasurement(self) -> float: ... + def getSpecification(self) -> java.lang.String: ... + def getStandard(self) -> jneqsim.standards.StandardInterface: ... + def getTerminal(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def setComments(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCountry(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxValue(self, double: float) -> None: ... + def setMinValue(self, double: float) -> None: ... + def setReferencePressure(self, double: float) -> None: ... + def setReferenceTemperatureCombustion(self, double: float) -> None: ... + def setReferenceTemperatureMeasurement(self, double: float) -> None: ... + def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStandard(self, standardInterface: jneqsim.standards.StandardInterface) -> None: ... + def setTerminal(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class BaseContract(ContractInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def display(self) -> None: ... + def getContractName(self) -> java.lang.String: ... + def getMethod(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSpecification(self, standardInterface: jneqsim.standards.StandardInterface, 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], double: float, double2: float, string5: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, string6: typing.Union[java.lang.String, str]) -> ContractSpecification: ... + def getSpecificationsNumber(self) -> int: ... + def getWaterDewPointSpecPressure(self) -> float: ... + def getWaterDewPointTemperature(self) -> float: ... + def runCheck(self) -> None: ... + def setContract(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setContractName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setSpecificationsNumber(self, int: int) -> None: ... + def setWaterDewPointSpecPressure(self, double: float) -> None: ... + def setWaterDewPointTemperature(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards.salescontract")``. + + BaseContract: typing.Type[BaseContract] + ContractInterface: typing.Type[ContractInterface] + ContractSpecification: typing.Type[ContractSpecification] diff --git a/src/jneqsim/statistics/__init__.pyi b/src/jneqsim/statistics/__init__.pyi new file mode 100644 index 00000000..4de2aed8 --- /dev/null +++ b/src/jneqsim/statistics/__init__.pyi @@ -0,0 +1,23 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.dataanalysis +import jneqsim.statistics.experimentalequipmentdata +import jneqsim.statistics.experimentalsamplecreation +import jneqsim.statistics.montecarlosimulation +import jneqsim.statistics.parameterfitting +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics")``. + + dataanalysis: jneqsim.statistics.dataanalysis.__module_protocol__ + experimentalequipmentdata: jneqsim.statistics.experimentalequipmentdata.__module_protocol__ + experimentalsamplecreation: jneqsim.statistics.experimentalsamplecreation.__module_protocol__ + montecarlosimulation: jneqsim.statistics.montecarlosimulation.__module_protocol__ + parameterfitting: jneqsim.statistics.parameterfitting.__module_protocol__ diff --git a/src/jneqsim/statistics/dataanalysis/__init__.pyi b/src/jneqsim/statistics/dataanalysis/__init__.pyi new file mode 100644 index 00000000..e804dc52 --- /dev/null +++ b/src/jneqsim/statistics/dataanalysis/__init__.pyi @@ -0,0 +1,15 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.dataanalysis.datasmoothing +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.dataanalysis")``. + + datasmoothing: jneqsim.statistics.dataanalysis.datasmoothing.__module_protocol__ diff --git a/src/jneqsim/statistics/dataanalysis/datasmoothing/__init__.pyi b/src/jneqsim/statistics/dataanalysis/datasmoothing/__init__.pyi new file mode 100644 index 00000000..8984079f --- /dev/null +++ b/src/jneqsim/statistics/dataanalysis/datasmoothing/__init__.pyi @@ -0,0 +1,24 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jpype +import typing + + + +class DataSmoother: + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, int2: int, int3: int, int4: int): ... + def findCoefs(self) -> None: ... + def getSmoothedNumbers(self) -> typing.MutableSequence[float]: ... + def runSmoothing(self) -> None: ... + def setSmoothedNumbers(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.dataanalysis.datasmoothing")``. + + DataSmoother: typing.Type[DataSmoother] diff --git a/src/jneqsim/statistics/experimentalequipmentdata/__init__.pyi b/src/jneqsim/statistics/experimentalequipmentdata/__init__.pyi new file mode 100644 index 00000000..6651e63b --- /dev/null +++ b/src/jneqsim/statistics/experimentalequipmentdata/__init__.pyi @@ -0,0 +1,21 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata +import typing + + + +class ExperimentalEquipmentData: + def __init__(self): ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalequipmentdata")``. + + ExperimentalEquipmentData: typing.Type[ExperimentalEquipmentData] + wettedwallcolumndata: jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata.__module_protocol__ diff --git a/src/jneqsim/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi b/src/jneqsim/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi new file mode 100644 index 00000000..d585e8f5 --- /dev/null +++ b/src/jneqsim/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.experimentalequipmentdata +import typing + + + +class WettedWallColumnData(jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + def getDiameter(self) -> float: ... + def getLength(self) -> float: ... + def getVolume(self) -> float: ... + def setDiameter(self, double: float) -> None: ... + def setLength(self, double: float) -> None: ... + def setVolume(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata")``. + + WettedWallColumnData: typing.Type[WettedWallColumnData] diff --git a/src/jneqsim/statistics/experimentalsamplecreation/__init__.pyi b/src/jneqsim/statistics/experimentalsamplecreation/__init__.pyi new file mode 100644 index 00000000..0b5765ca --- /dev/null +++ b/src/jneqsim/statistics/experimentalsamplecreation/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.experimentalsamplecreation.readdatafromfile +import jneqsim.statistics.experimentalsamplecreation.samplecreator +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation")``. + + readdatafromfile: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.__module_protocol__ + samplecreator: jneqsim.statistics.experimentalsamplecreation.samplecreator.__module_protocol__ diff --git a/src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi b/src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi new file mode 100644 index 00000000..92703d0b --- /dev/null +++ b/src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi @@ -0,0 +1,42 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader +import typing + + + +class DataObjectInterface: ... + +class DataReaderInterface: + def readData(self) -> None: ... + +class DataObject(DataObjectInterface): + def __init__(self): ... + +class DataReader(DataReaderInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getSampleObjectList(self) -> java.util.ArrayList[DataObject]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def readData(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.readdatafromfile")``. + + DataObject: typing.Type[DataObject] + DataObjectInterface: typing.Type[DataObjectInterface] + DataReader: typing.Type[DataReader] + DataReaderInterface: typing.Type[DataReaderInterface] + wettedwallcolumnreader: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ diff --git a/src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi b/src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi new file mode 100644 index 00000000..6ad03530 --- /dev/null +++ b/src/jneqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi @@ -0,0 +1,52 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.statistics.experimentalsamplecreation.readdatafromfile +import typing + + + +class WettedWallColumnDataObject(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject): + def __init__(self): ... + def getCo2SupplyFlow(self) -> float: ... + def getColumnWallTemperature(self) -> float: ... + def getInletGasTemperature(self) -> float: ... + def getInletLiquidFlow(self) -> float: ... + def getInletLiquidTemperature(self) -> float: ... + def getInletTotalGasFlow(self) -> float: ... + def getOutletGasTemperature(self) -> float: ... + def getOutletLiquidTemperature(self) -> float: ... + def getPressure(self) -> float: ... + def getTime(self) -> int: ... + def setCo2SupplyFlow(self, double: float) -> None: ... + def setColumnWallTemperature(self, double: float) -> None: ... + def setInletGasTemperature(self, double: float) -> None: ... + def setInletLiquidFlow(self, double: float) -> None: ... + def setInletLiquidTemperature(self, double: float) -> None: ... + def setInletTotalGasFlow(self, double: float) -> None: ... + def setOutletGasTemperature(self, double: float) -> None: ... + def setOutletLiquidTemperature(self, double: float) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTime(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class WettedWallDataReader(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataReader): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def readData(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader")``. + + WettedWallColumnDataObject: typing.Type[WettedWallColumnDataObject] + WettedWallDataReader: typing.Type[WettedWallDataReader] diff --git a/src/jneqsim/statistics/experimentalsamplecreation/samplecreator/__init__.pyi b/src/jneqsim/statistics/experimentalsamplecreation/samplecreator/__init__.pyi new file mode 100644 index 00000000..44b40d9b --- /dev/null +++ b/src/jneqsim/statistics/experimentalsamplecreation/samplecreator/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.experimentalequipmentdata +import jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class SampleCreator: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations): ... + def setExperimentalEquipment(self, experimentalEquipmentData: jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.samplecreator")``. + + SampleCreator: typing.Type[SampleCreator] + wettedwallcolumnsamplecreator: jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator.__module_protocol__ diff --git a/src/jneqsim/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi b/src/jneqsim/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi new file mode 100644 index 00000000..e7a3938a --- /dev/null +++ b/src/jneqsim/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.statistics.experimentalsamplecreation.samplecreator +import typing + + + +class WettedWallColumnSampleCreator(jneqsim.statistics.experimentalsamplecreation.samplecreator.SampleCreator): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcdPdt(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setSampleValues(self) -> None: ... + def smoothData(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator")``. + + WettedWallColumnSampleCreator: typing.Type[WettedWallColumnSampleCreator] diff --git a/src/jneqsim/statistics/montecarlosimulation/__init__.pyi b/src/jneqsim/statistics/montecarlosimulation/__init__.pyi new file mode 100644 index 00000000..16975fdd --- /dev/null +++ b/src/jneqsim/statistics/montecarlosimulation/__init__.pyi @@ -0,0 +1,28 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.statistics.parameterfitting +import typing + + + +class MonteCarloSimulation: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, statisticsBaseClass: jneqsim.statistics.parameterfitting.StatisticsBaseClass, int: int): ... + @typing.overload + def __init__(self, statisticsInterface: jneqsim.statistics.parameterfitting.StatisticsInterface): ... + def createReportMatrix(self) -> None: ... + def runSimulation(self) -> None: ... + def setNumberOfRuns(self, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.montecarlosimulation")``. + + MonteCarloSimulation: typing.Type[MonteCarloSimulation] diff --git a/src/jneqsim/statistics/parameterfitting/__init__.pyi b/src/jneqsim/statistics/parameterfitting/__init__.pyi new file mode 100644 index 00000000..2379cc48 --- /dev/null +++ b/src/jneqsim/statistics/parameterfitting/__init__.pyi @@ -0,0 +1,514 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import Jama +import java.io +import java.lang +import java.net +import java.util +import jpype +import jpype.protocol +import jneqsim.statistics.parameterfitting.nonlinearparameterfitting +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class ExperimentType(java.lang.Enum['ExperimentType'], java.io.Serializable): + GENERIC: typing.ClassVar['ExperimentType'] = ... + VLE: typing.ClassVar['ExperimentType'] = ... + LLE: typing.ClassVar['ExperimentType'] = ... + VLLE: typing.ClassVar['ExperimentType'] = ... + SATURATION_PRESSURE: typing.ClassVar['ExperimentType'] = ... + DENSITY: typing.ClassVar['ExperimentType'] = ... + VISCOSITY: typing.ClassVar['ExperimentType'] = ... + HEAT_CAPACITY: typing.ClassVar['ExperimentType'] = ... + PVT: typing.ClassVar['ExperimentType'] = ... + TRANSPORT_PROPERTY: typing.ClassVar['ExperimentType'] = ... + _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]) -> 'ExperimentType': ... + @staticmethod + def values() -> typing.MutableSequence['ExperimentType']: ... + +class ExperimentalDataDownloader: + @staticmethod + def download(uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def downloadIfNeeded(uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.io.File: ... + @typing.overload + @staticmethod + def downloadIfNeeded(uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str]) -> java.io.File: ... + +class ExperimentalDataPoint(java.io.Serializable): + @typing.overload + def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getDependentValue(self, int: int) -> float: ... + def getDependentValues(self) -> typing.MutableSequence[float]: ... + def getDescription(self) -> java.lang.String: ... + def getMeasuredValue(self) -> float: ... + def getReference(self) -> java.lang.String: ... + def getStandardDeviation(self) -> float: ... + def toSampleValue(self, baseFunction: 'BaseFunction') -> 'SampleValue': ... + +class ExperimentalDataReader: + @typing.overload + @staticmethod + def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], csvOptions: 'ExperimentalDataReader.CsvOptions') -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromJson(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromYaml(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + class CsvOptions(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def getDependentVariableColumns(self) -> typing.MutableSequence[java.lang.String]: ... + def getDependentVariableNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getDependentVariableUnits(self) -> typing.MutableSequence[java.lang.String]: ... + def getDescriptionColumn(self) -> java.lang.String: ... + def getMeasuredValueColumn(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getReferenceColumn(self) -> java.lang.String: ... + def getResponseName(self) -> java.lang.String: ... + def getResponseUnit(self) -> java.lang.String: ... + def getSourceDependentVariableUnits(self) -> typing.MutableSequence[java.lang.String]: ... + def getSourceResponseUnit(self) -> java.lang.String: ... + def getStandardDeviationColumn(self) -> java.lang.String: ... + def resolveDependentVariableColumn(self, int: int) -> java.lang.String: ... + def resolveMeasuredValueColumn(self) -> java.lang.String: ... + def resolveStandardDeviationColumn(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], int], typing.Mapping[typing.Union[java.lang.String, str], int]]) -> java.lang.String: ... + def setDependentVariableColumns(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setDependentVariableNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setDependentVariableUnits(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setDescriptionColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMeasuredValueColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResponseName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setResponseUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourceDependentVariableUnits(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setSourceResponseUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStandardDeviationColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... + def validate(self) -> None: ... + +class ExperimentalDataSet(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + @typing.overload + def addPoint(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ExperimentalDataSet': ... + @typing.overload + def addPoint(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + @typing.overload + def addPoint(self, experimentalDataPoint: ExperimentalDataPoint) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], csvOptions: ExperimentalDataReader.CsvOptions) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromJson(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + @typing.overload + @staticmethod + def fromYaml(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + def getDependentVariableCount(self) -> int: ... + def getDependentVariableNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getDependentVariableUnits(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getPoint(self, int: int) -> ExperimentalDataPoint: ... + def getPoints(self) -> java.util.List[ExperimentalDataPoint]: ... + def getResponseName(self) -> java.lang.String: ... + def getResponseUnit(self) -> java.lang.String: ... + def size(self) -> int: ... + def split(self, double: float) -> typing.MutableSequence['ExperimentalDataSet']: ... + def toSampleSet(self, baseFunction: 'BaseFunction') -> 'SampleSet': ... + +class FittingParameter(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str], parameterTransform: 'ParameterTransform', string3: typing.Union[java.lang.String, str], double4: float, double5: float): ... + def getCategory(self) -> java.lang.String: ... + def getInitialValue(self) -> float: ... + def getInternalBounds(self) -> typing.MutableSequence[float]: ... + def getInternalInitialValue(self) -> float: ... + def getLowerBound(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPriorStandardDeviation(self) -> float: ... + def getPriorValue(self) -> float: ... + def getTransform(self) -> 'ParameterTransform': ... + def getUnit(self) -> java.lang.String: ... + def getUpperBound(self) -> float: ... + def hasPrior(self) -> bool: ... + def setCategory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialValue(self, double: float) -> None: ... + def setLowerBound(self, double: float) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPriorStandardDeviation(self, double: float) -> None: ... + def setPriorValue(self, double: float) -> None: ... + def setTransform(self, parameterTransform: 'ParameterTransform') -> None: ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpperBound(self, double: float) -> None: ... + def toExternalValue(self, double: float) -> float: ... + def validate(self) -> None: ... + +class FunctionInterface(java.lang.Cloneable): + def calcTrueValue(self, double: float) -> float: ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def clone(self) -> 'FunctionInterface': ... + def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getFittingParams(self, int: int) -> float: ... + @typing.overload + def getFittingParams(self) -> typing.MutableSequence[float]: ... + def getLowerBound(self, int: int) -> float: ... + def getNumberOfFittingParams(self) -> int: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUpperBound(self, int: int) -> float: ... + def setBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDatabaseParameters(self) -> None: ... + def setFittingParams(self, int: int, double: float) -> None: ... + def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class NumericalDerivative(java.io.Serializable): + @staticmethod + def calcDerivative(statisticsBaseClass: 'StatisticsBaseClass', int: int, int2: int) -> float: ... + +class ObjectiveFunctionType(java.lang.Enum['ObjectiveFunctionType'], java.io.Serializable): + WEIGHTED_LEAST_SQUARES: typing.ClassVar['ObjectiveFunctionType'] = ... + ABSOLUTE_DEVIATION: typing.ClassVar['ObjectiveFunctionType'] = ... + HUBER: typing.ClassVar['ObjectiveFunctionType'] = ... + CAUCHY: typing.ClassVar['ObjectiveFunctionType'] = ... + TUKEY_BIWEIGHT: typing.ClassVar['ObjectiveFunctionType'] = ... + def isRobust(self) -> bool: ... + _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]) -> 'ObjectiveFunctionType': ... + @staticmethod + def values() -> typing.MutableSequence['ObjectiveFunctionType']: ... + +class ParameterFittingReport(java.io.Serializable): + def __init__(self, parameterFittingStudy: 'ParameterFittingStudy'): ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toMarkdown(self) -> java.lang.String: ... + +class ParameterFittingSpec(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addParameter(self, fittingParameter: FittingParameter) -> 'ParameterFittingSpec': ... + @typing.overload + @staticmethod + def fromJson(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ParameterFittingSpec': ... + @typing.overload + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ParameterFittingSpec': ... + @typing.overload + @staticmethod + def fromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ParameterFittingSpec': ... + @typing.overload + @staticmethod + def fromYaml(string: typing.Union[java.lang.String, str]) -> 'ParameterFittingSpec': ... + def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getExperimentType(self) -> ExperimentType: ... + def getInitialGuess(self) -> typing.MutableSequence[float]: ... + def getInternalBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getInternalInitialGuess(self) -> typing.MutableSequence[float]: ... + def getMaxNumberOfIterations(self) -> int: ... + def getMaxRobustIterations(self) -> int: ... + def getMultiStartCount(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getObjectiveFunctionType(self) -> ObjectiveFunctionType: ... + def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getParameters(self) -> java.util.List[FittingParameter]: ... + def getRandomSeed(self) -> int: ... + def getRobustTuningConstant(self) -> float: ... + def getTrainingFraction(self) -> float: ... + def hasTransformedParameters(self) -> bool: ... + def saveJson(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def saveYaml(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def setExperimentType(self, experimentType: ExperimentType) -> None: ... + def setMaxNumberOfIterations(self, int: int) -> None: ... + def setMaxRobustIterations(self, int: int) -> None: ... + def setMultiStartCount(self, int: int) -> None: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setObjectiveFunctionType(self, objectiveFunctionType: ObjectiveFunctionType) -> None: ... + def setParameters(self, list: java.util.List[FittingParameter]) -> None: ... + def setRandomSeed(self, long: int) -> None: ... + def setRobustTuningConstant(self, double: float) -> None: ... + def setTrainingFraction(self, double: float) -> None: ... + def toExternalValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def toJson(self) -> java.lang.String: ... + def toYaml(self) -> java.lang.String: ... + def validate(self) -> None: ... + +class ParameterFittingStudy: + @typing.overload + def __init__(self, experimentalDataSet: ExperimentalDataSet, baseFunction: 'BaseFunction'): ... + @typing.overload + def __init__(self, experimentalDataSet: ExperimentalDataSet, baseFunction: 'BaseFunction', parameterFittingSpec: ParameterFittingSpec): ... + def createReport(self) -> ParameterFittingReport: ... + def fit(self) -> 'ParameterFittingStudy.Result': ... + def fitAndCreateReport(self) -> ParameterFittingReport: ... + def getDataSet(self) -> ExperimentalDataSet: ... + def getFunction(self) -> 'BaseFunction': ... + def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getResult(self) -> 'ParameterFittingStudy.Result': ... + def getSpec(self) -> ParameterFittingSpec: ... + def run(self) -> 'ParameterFittingStudy.Result': ... + def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ParameterFittingStudy': ... + def setMaxNumberOfIterations(self, int: int) -> 'ParameterFittingStudy': ... + def setMaxRobustIterations(self, int: int) -> 'ParameterFittingStudy': ... + def setMultiStartCount(self, int: int) -> 'ParameterFittingStudy': ... + def setObjectiveFunctionType(self, objectiveFunctionType: ObjectiveFunctionType) -> 'ParameterFittingStudy': ... + def setParameterBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> 'ParameterFittingStudy': ... + def setParameterNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'ParameterFittingStudy': ... + def setParameterUpdateAdapter(self, parameterUpdateAdapter: 'ParameterUpdateAdapter') -> 'ParameterFittingStudy': ... + def setRandomSeed(self, long: int) -> 'ParameterFittingStudy': ... + def setRobustTuningConstant(self, double: float) -> 'ParameterFittingStudy': ... + def setSpec(self, parameterFittingSpec: ParameterFittingSpec) -> 'ParameterFittingStudy': ... + def setValidationDataSet(self, experimentalDataSet: ExperimentalDataSet) -> 'ParameterFittingStudy': ... + class Result: + def getCalculatedValues(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getFittedParameter(self, int: int) -> float: ... + @typing.overload + def getFittedParameter(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFittedParameters(self) -> typing.MutableSequence[float]: ... + def getMeanAbsoluteError(self) -> float: ... + def getObjectiveFunctionType(self) -> ObjectiveFunctionType: ... + def getObjectiveValue(self) -> float: ... + def getOptimizerResult(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtResult: ... + def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getReducedChiSquare(self) -> float: ... + def getResiduals(self) -> typing.MutableSequence[float]: ... + def getRobustIterations(self) -> int: ... + def getRootMeanSquareError(self) -> float: ... + def getValidationCalculatedValues(self) -> typing.MutableSequence[float]: ... + def getValidationMeanAbsoluteError(self) -> float: ... + def getValidationResiduals(self) -> typing.MutableSequence[float]: ... + def getValidationRootMeanSquareError(self) -> float: ... + def getValidationWeightedResiduals(self) -> typing.MutableSequence[float]: ... + def getValidationWeightedRootMeanSquareError(self) -> float: ... + def getWeightedResiduals(self) -> typing.MutableSequence[float]: ... + def getWeightedRootMeanSquareError(self) -> float: ... + def isConverged(self) -> bool: ... + +class ParameterTransform(java.lang.Enum['ParameterTransform'], java.io.Serializable): + LINEAR: typing.ClassVar['ParameterTransform'] = ... + LOG: typing.ClassVar['ParameterTransform'] = ... + LOG10: typing.ClassVar['ParameterTransform'] = ... + LOGISTIC: typing.ClassVar['ParameterTransform'] = ... + def isTransformed(self) -> bool: ... + def toExternal(self, double: float, double2: float, double3: float) -> float: ... + def toInternal(self, double: float, double2: float, double3: float) -> float: ... + def toInternalBounds(self, double: float, double2: float) -> typing.MutableSequence[float]: ... + _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]) -> 'ParameterTransform': ... + @staticmethod + def values() -> typing.MutableSequence['ParameterTransform']: ... + +class ParameterUpdateAdapter(java.io.Serializable): + def applyParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def getParameters(self) -> typing.MutableSequence[FittingParameter]: ... + +class SampleSet(java.lang.Cloneable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, arrayList: java.util.ArrayList['SampleValue']): ... + @typing.overload + def __init__(self, sampleValueArray: typing.Union[typing.List['SampleValue'], jpype.JArray]): ... + def add(self, sampleValue: 'SampleValue') -> None: ... + def addSampleSet(self, sampleSet: 'SampleSet') -> None: ... + def clone(self) -> 'SampleSet': ... + def createNewNormalDistributedSet(self) -> 'SampleSet': ... + def getLength(self) -> int: ... + def getSample(self, int: int) -> 'SampleValue': ... + +class SampleValue(java.lang.Cloneable): + system: jneqsim.thermo.system.SystemInterface = ... + thermoOps: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def clone(self) -> 'SampleValue': ... + def getDependentValue(self, int: int) -> float: ... + def getDependentValues(self) -> typing.MutableSequence[float]: ... + def getDescription(self) -> java.lang.String: ... + def getFunction(self) -> FunctionInterface: ... + def getReference(self) -> java.lang.String: ... + def getSampleValue(self) -> float: ... + @typing.overload + def getStandardDeviation(self) -> float: ... + @typing.overload + def getStandardDeviation(self, int: int) -> float: ... + def setDependentValue(self, int: int, double: float) -> None: ... + def setDependentValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFunction(self, baseFunction: 'BaseFunction') -> None: ... + def setReference(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class StatisticsInterface: + def createNewRandomClass(self) -> 'StatisticsBaseClass': ... + def displayCurveFit(self) -> None: ... + def displayResult(self) -> None: ... + def getNumberOfTuningParameters(self) -> int: ... + def getSampleSet(self) -> SampleSet: ... + def init(self) -> None: ... + def runMonteCarloSimulation(self, int: int) -> None: ... + def setNumberOfTuningParameters(self, int: int) -> None: ... + def solve(self) -> None: ... + def writeToTextFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class BaseFunction(FunctionInterface): + params: typing.MutableSequence[float] = ... + bounds: typing.MutableSequence[typing.MutableSequence[float]] = ... + system: jneqsim.thermo.system.SystemInterface = ... + thermoOps: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... + def __init__(self): ... + def calcTrueValue(self, double: float) -> float: ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def clone(self) -> 'BaseFunction': ... + def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getFittingParams(self, int: int) -> float: ... + @typing.overload + def getFittingParams(self) -> typing.MutableSequence[float]: ... + def getLowerBound(self, int: int) -> float: ... + def getNumberOfFittingParams(self) -> int: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getUpperBound(self, int: int) -> float: ... + def setBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDatabaseParameters(self) -> None: ... + def setFittingParams(self, int: int, double: float) -> None: ... + def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + +class BinaryInteractionParameterAdapter(ParameterUpdateAdapter): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], fittingParameter: FittingParameter): ... + def applyParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def getComponent1(self) -> java.lang.String: ... + def getComponent2(self) -> java.lang.String: ... + def getParameters(self) -> typing.MutableSequence[FittingParameter]: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + +class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): + def __init__(self): ... + def addSampleSet(self, sampleSet: SampleSet) -> None: ... + def calcAbsDev(self) -> None: ... + def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... + def calcChiSquare(self) -> float: ... + def calcCoVarianceMatrix(self) -> None: ... + def calcCorrelationMatrix(self) -> None: ... + def calcDerivatives(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcDeviation(self) -> None: ... + def calcParameterStandardDeviation(self) -> None: ... + def calcParameterUncertainty(self) -> None: ... + @typing.overload + def calcTrueValue(self, double: float, sampleValue: SampleValue) -> float: ... + @typing.overload + def calcTrueValue(self, sampleValue: SampleValue) -> float: ... + def calcValue(self, sampleValue: SampleValue) -> float: ... + def checkBounds(self, matrix: Jama.Matrix) -> None: ... + def clone(self) -> 'StatisticsBaseClass': ... + def createNewRandomClass(self) -> 'StatisticsBaseClass': ... + def displayCurveFit(self) -> None: ... + def displayMatrix(self, matrix: Jama.Matrix, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def displayResult(self) -> None: ... + def displayResultWithDeviation(self) -> None: ... + def displaySimple(self) -> None: ... + def displayValues(self) -> None: ... + def getNumberOfTuningParameters(self) -> int: ... + def getSample(self, int: int) -> SampleValue: ... + def getSampleSet(self) -> SampleSet: ... + def init(self) -> None: ... + @typing.overload + def runMonteCarloSimulation(self) -> None: ... + @typing.overload + def runMonteCarloSimulation(self, int: int) -> None: ... + def setFittingParameter(self, int: int, double: float) -> None: ... + def setFittingParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setNumberOfTuningParameters(self, int: int) -> None: ... + def setSampleSet(self, sampleSet: SampleSet) -> None: ... + def solve(self) -> None: ... + def writeToTextFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.parameterfitting")``. + + BaseFunction: typing.Type[BaseFunction] + BinaryInteractionParameterAdapter: typing.Type[BinaryInteractionParameterAdapter] + ExperimentType: typing.Type[ExperimentType] + ExperimentalDataDownloader: typing.Type[ExperimentalDataDownloader] + ExperimentalDataPoint: typing.Type[ExperimentalDataPoint] + ExperimentalDataReader: typing.Type[ExperimentalDataReader] + ExperimentalDataSet: typing.Type[ExperimentalDataSet] + FittingParameter: typing.Type[FittingParameter] + FunctionInterface: typing.Type[FunctionInterface] + NumericalDerivative: typing.Type[NumericalDerivative] + ObjectiveFunctionType: typing.Type[ObjectiveFunctionType] + ParameterFittingReport: typing.Type[ParameterFittingReport] + ParameterFittingSpec: typing.Type[ParameterFittingSpec] + ParameterFittingStudy: typing.Type[ParameterFittingStudy] + ParameterTransform: typing.Type[ParameterTransform] + ParameterUpdateAdapter: typing.Type[ParameterUpdateAdapter] + SampleSet: typing.Type[SampleSet] + SampleValue: typing.Type[SampleValue] + StatisticsBaseClass: typing.Type[StatisticsBaseClass] + StatisticsInterface: typing.Type[StatisticsInterface] + nonlinearparameterfitting: jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ diff --git a/src/jneqsim/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi new file mode 100644 index 00000000..437bd441 --- /dev/null +++ b/src/jneqsim/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi @@ -0,0 +1,96 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import Jama +import java.io +import java.lang +import jpype +import jneqsim.statistics.parameterfitting +import typing + + + +class LevenbergMarquardt(jneqsim.statistics.parameterfitting.StatisticsBaseClass): + def __init__(self): ... + def clone(self) -> 'LevenbergMarquardt': ... + def getMaxNumberOfIterations(self) -> int: ... + def getResult(self) -> 'LevenbergMarquardtResult': ... + def init(self) -> None: ... + def isSolved(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setMaxNumberOfIterations(self, int: int) -> None: ... + def solve(self) -> None: ... + +class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunction): + def __init__(self): ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + def getFittingParams(self, int: int) -> float: ... + @typing.overload + def getFittingParams(self) -> typing.MutableSequence[float]: ... + def getNumberOfFittingParams(self) -> int: ... + def setFittingParam(self, int: int, double: float) -> None: ... + @typing.overload + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setFittingParams(self, int: int, double: float) -> None: ... + +class LevenbergMarquardtResult(java.io.Serializable): + def __init__(self, convergenceReason: 'LevenbergMarquardtResult.ConvergenceReason', int: int, double: float, double2: float, matrix: Jama.Matrix, matrix2: Jama.Matrix, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + 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: ... + def getIterations(self) -> int: ... + def getParameterStandardErrors(self) -> typing.MutableSequence[float]: ... + def isConverged(self) -> bool: ... + @staticmethod + def notRun() -> 'LevenbergMarquardtResult': ... + class ConvergenceReason(java.lang.Enum['LevenbergMarquardtResult.ConvergenceReason']): + NOT_RUN: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... + CHI_SQUARE_TOLERANCE: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... + GRADIENT_TOLERANCE: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... + MAX_ITERATIONS_REACHED: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... + SINGULAR_MATRIX: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... + def isConverged(self) -> bool: ... + _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]) -> 'LevenbergMarquardtResult.ConvergenceReason': ... + @staticmethod + def values() -> typing.MutableSequence['LevenbergMarquardtResult.ConvergenceReason']: ... + +class LevenbergMarquardtAbsDev(LevenbergMarquardt): + def __init__(self): ... + def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... + def calcChiSquare(self) -> float: ... + def clone(self) -> 'LevenbergMarquardtAbsDev': ... + +class LevenbergMarquardtBiasDev(LevenbergMarquardt): + def __init__(self): ... + def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... + def calcChiSquare(self) -> float: ... + def clone(self) -> 'LevenbergMarquardtBiasDev': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.parameterfitting.nonlinearparameterfitting")``. + + LevenbergMarquardt: typing.Type[LevenbergMarquardt] + LevenbergMarquardtAbsDev: typing.Type[LevenbergMarquardtAbsDev] + LevenbergMarquardtBiasDev: typing.Type[LevenbergMarquardtBiasDev] + LevenbergMarquardtFunction: typing.Type[LevenbergMarquardtFunction] + LevenbergMarquardtResult: typing.Type[LevenbergMarquardtResult] diff --git a/src/jneqsim/thermo/__init__.pyi b/src/jneqsim/thermo/__init__.pyi new file mode 100644 index 00000000..000cfef3 --- /dev/null +++ b/src/jneqsim/thermo/__init__.pyi @@ -0,0 +1,114 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.thermo.atomelement +import jneqsim.thermo.characterization +import jneqsim.thermo.component +import jneqsim.thermo.mixingrule +import jneqsim.thermo.phase +import jneqsim.thermo.system +import jneqsim.thermo.util +import typing + + + +class Fluid: + def __init__(self): ... + def addComponment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def create(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def create2(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def create2(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def createFluid(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... + def getThermoMixingRule(self) -> java.lang.String: ... + def getThermoModel(self) -> java.lang.String: ... + def isAutoSelectModel(self) -> bool: ... + def isHasWater(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setAutoSelectModel(self, boolean: bool) -> None: ... + def setHasWater(self, boolean: bool) -> None: ... + def setThermoMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class FluidCreator: + hasWater: typing.ClassVar[bool] = ... + autoSelectModel: typing.ClassVar[bool] = ... + thermoModel: typing.ClassVar[java.lang.String] = ... + thermoMixingRule: typing.ClassVar[java.lang.String] = ... + @typing.overload + @staticmethod + def create(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def create(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def create(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + +class ThermodynamicConstantsInterface(java.io.Serializable): + R: typing.ClassVar[float] = ... + pi: typing.ClassVar[float] = ... + gravity: typing.ClassVar[float] = ... + avagadroNumber: typing.ClassVar[float] = ... + referenceTemperature: typing.ClassVar[float] = ... + referencePressure: typing.ClassVar[float] = ... + atm: typing.ClassVar[float] = ... + boltzmannConstant: typing.ClassVar[float] = ... + electronCharge: typing.ClassVar[float] = ... + planckConstant: typing.ClassVar[float] = ... + vacumPermittivity: typing.ClassVar[float] = ... + faradayConstant: typing.ClassVar[float] = ... + standardStateTemperature: typing.ClassVar[float] = ... + normalStateTemperature: typing.ClassVar[float] = ... + molarMassAir: typing.ClassVar[float] = ... + +class ThermodynamicModelSettings(java.io.Serializable): + phaseFractionMinimumLimit: typing.ClassVar[float] = ... + MAX_NUMBER_OF_COMPONENTS: typing.ClassVar[int] = ... + DEFAULT_USE_WARM_START_K: typing.ClassVar[bool] = ... + @staticmethod + def isUseWarmStartKValues() -> bool: ... + @staticmethod + def setUseWarmStartKValues(boolean: bool) -> None: ... + class Flags: ... + +class ThermodynamicModelTest(ThermodynamicConstantsInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def checkFugacityCoefficients(self) -> bool: ... + def checkFugacityCoefficientsDP(self) -> bool: ... + def checkFugacityCoefficientsDT(self) -> bool: ... + def checkFugacityCoefficientsDn(self) -> bool: ... + def checkFugacityCoefficientsDn2(self) -> bool: ... + def checkNumerically(self) -> bool: ... + def runTest(self) -> None: ... + def setMaxError(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo")``. + + Fluid: typing.Type[Fluid] + FluidCreator: typing.Type[FluidCreator] + ThermodynamicConstantsInterface: typing.Type[ThermodynamicConstantsInterface] + ThermodynamicModelSettings: typing.Type[ThermodynamicModelSettings] + ThermodynamicModelTest: typing.Type[ThermodynamicModelTest] + atomelement: jneqsim.thermo.atomelement.__module_protocol__ + characterization: jneqsim.thermo.characterization.__module_protocol__ + component: jneqsim.thermo.component.__module_protocol__ + mixingrule: jneqsim.thermo.mixingrule.__module_protocol__ + phase: jneqsim.thermo.phase.__module_protocol__ + system: jneqsim.thermo.system.__module_protocol__ + util: jneqsim.thermo.util.__module_protocol__ diff --git a/src/jneqsim/thermo/atomelement/__init__.pyi b/src/jneqsim/thermo/atomelement/__init__.pyi new file mode 100644 index 00000000..45b62139 --- /dev/null +++ b/src/jneqsim/thermo/atomelement/__init__.pyi @@ -0,0 +1,85 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.thermo +import jneqsim.thermo.component +import jneqsim.thermo.phase +import typing + + + +class Element(jneqsim.thermo.ThermodynamicConstantsInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @staticmethod + def getAllElementComponentNames() -> java.util.ArrayList[java.lang.String]: ... + def getElementCoefs(self) -> typing.MutableSequence[float]: ... + def getElementNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getNumberOfElements(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class UNIFACgroup(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comparable['UNIFACgroup']): + QMixdN: typing.MutableSequence[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, int: int, int2: int): ... + def calcQComp(self, componentGEUnifac: jneqsim.thermo.component.ComponentGEUnifac) -> float: ... + def calcQMix(self, phaseGEUnifac: jneqsim.thermo.phase.PhaseGEUnifac) -> float: ... + def calcQMixdN(self, phaseGEUnifac: jneqsim.thermo.phase.PhaseGEUnifac) -> typing.MutableSequence[float]: ... + def calcXComp(self, componentGEUnifac: jneqsim.thermo.component.ComponentGEUnifac) -> float: ... + def compareTo(self, uNIFACgroup: 'UNIFACgroup') -> int: ... + def equals(self, object: typing.Any) -> bool: ... + def getGroupIndex(self) -> int: ... + def getGroupName(self) -> java.lang.String: ... + def getLnGammaComp(self) -> float: ... + def getLnGammaCompdT(self) -> float: ... + def getLnGammaCompdTdT(self) -> float: ... + def getLnGammaMix(self) -> float: ... + def getLnGammaMixdT(self) -> float: ... + def getLnGammaMixdTdT(self) -> float: ... + def getLnGammaMixdn(self, int: int) -> float: ... + def getMainGroup(self) -> int: ... + def getN(self) -> int: ... + def getQ(self) -> float: ... + def getQComp(self) -> float: ... + def getQMix(self) -> float: ... + @typing.overload + def getQMixdN(self, int: int) -> float: ... + @typing.overload + def getQMixdN(self) -> typing.MutableSequence[float]: ... + def getR(self) -> float: ... + def getSubGroup(self) -> int: ... + def getXComp(self) -> float: ... + def hashCode(self) -> int: ... + def setGroupIndex(self, int: int) -> None: ... + def setGroupName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLnGammaComp(self, double: float) -> None: ... + def setLnGammaCompdT(self, double: float) -> None: ... + def setLnGammaCompdTdT(self, double: float) -> None: ... + def setLnGammaMix(self, double: float) -> None: ... + def setLnGammaMixdT(self, double: float) -> None: ... + def setLnGammaMixdTdT(self, double: float) -> None: ... + def setLnGammaMixdn(self, double: float, int: int) -> None: ... + def setMainGroup(self, int: int) -> None: ... + def setN(self, int: int) -> None: ... + def setQ(self, double: float) -> None: ... + def setQComp(self, double: float) -> None: ... + def setQMix(self, double: float) -> None: ... + def setQMixdN(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setR(self, double: float) -> None: ... + def setSubGroup(self, int: int) -> None: ... + def setXComp(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.atomelement")``. + + Element: typing.Type[Element] + UNIFACgroup: typing.Type[UNIFACgroup] diff --git a/src/jneqsim/thermo/characterization/__init__.pyi b/src/jneqsim/thermo/characterization/__init__.pyi new file mode 100644 index 00000000..479bd5ac --- /dev/null +++ b/src/jneqsim/thermo/characterization/__init__.pyi @@ -0,0 +1,717 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import neqsim +import jneqsim.thermo.system +import typing + + + +class AsphalteneCharacterization: + CII_STABLE_LIMIT: typing.ClassVar[float] = ... + CII_UNSTABLE_LIMIT: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def addAsphalteneComponents(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def estimateAsphalteneMolecularWeight(self) -> float: ... + def estimateResinMolecularWeight(self) -> float: ... + def evaluateStability(self) -> java.lang.String: ... + def getAromatics(self) -> float: ... + def getAsphalteneAssociationEnergy(self) -> float: ... + def getAsphalteneAssociationVolume(self) -> float: ... + def getAsphaltenes(self) -> float: ... + def getColloidalInstabilityIndex(self) -> float: ... + def getMwAsphaltene(self) -> float: ... + def getMwResin(self) -> float: ... + def getResinToAsphalteneRatio(self) -> float: ... + def getResins(self) -> float: ... + def getSaturates(self) -> float: ... + def setAromatics(self, double: float) -> None: ... + def setAsphalteneAssociationEnergy(self, double: float) -> None: ... + def setAsphalteneAssociationVolume(self, double: float) -> None: ... + def setAsphaltenes(self, double: float) -> None: ... + def setC7plusProperties(self, double: float, double2: float) -> None: ... + def setMwAsphaltene(self, double: float) -> None: ... + def setMwResin(self, double: float) -> None: ... + def setResins(self, double: float) -> None: ... + def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setSaturates(self, double: float) -> None: ... + +class BiomassCharacterization(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calculate(self) -> None: ... + def getAsh(self) -> float: ... + def getCarbonWt(self) -> float: ... + def getChemicalFormula(self) -> java.lang.String: ... + def getChlorineWt(self) -> float: ... + def getFixedCarbon(self) -> float: ... + def getHCRatio(self) -> float: ... + def getHHV(self) -> float: ... + def getHydrogenWt(self) -> float: ... + def getLHV(self) -> float: ... + @staticmethod + def getLibraryFeedstocks() -> java.util.List[java.lang.String]: ... + def getMoisture(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNitrogenWt(self) -> float: ... + def getOCRatio(self) -> float: ... + def getOxygenWt(self) -> float: ... + def getStoichiometricAir(self) -> float: ... + def getSulfurWt(self) -> float: ... + def getVolatileMatter(self) -> float: ... + def isCalculated(self) -> bool: ... + @staticmethod + def library(string: typing.Union[java.lang.String, str]) -> 'BiomassCharacterization': ... + def setHHV(self, double: float) -> None: ... + def setLHV(self, double: float) -> None: ... + def setProximateAnalysis(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setUltimateAnalysis(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def toMap(self) -> java.util.Map[java.lang.String, float]: ... + def toString(self) -> java.lang.String: ... + +class Characterise(java.io.Serializable, java.lang.Cloneable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def characterisePlusFraction(self) -> None: ... + @typing.overload + def characterizeToReference(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def characterizeToReference(self, systemInterface: jneqsim.thermo.system.SystemInterface, characterizationOptions: 'CharacterizationOptions') -> jneqsim.thermo.system.SystemInterface: ... + def clone(self) -> 'Characterise': ... + def configureLumping(self) -> 'LumpingConfigBuilder': ... + def getLumpingModel(self) -> 'LumpingModelInterface': ... + def getPlusFractionModel(self) -> 'PlusFractionModelInterface': ... + def getTBPModel(self) -> 'TBPModelInterface': ... + def setAutoEstimateGammaAlpha(self, boolean: bool) -> 'Characterise': ... + def setGammaDensityModel(self, string: typing.Union[java.lang.String, str]) -> 'Characterise': ... + def setGammaMinMW(self, double: float) -> 'Characterise': ... + def setGammaShapeParameter(self, double: float) -> 'Characterise': ... + def setLumpingModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPlusFractionModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTBPModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def transferBipsFrom(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'Characterise': ... + +class CharacteriseInterface: + PVTsimMolarMass: typing.ClassVar[typing.MutableSequence[float]] = ... + def addCharacterizedPlusFraction(self) -> None: ... + def addHeavyEnd(self) -> None: ... + def addTBPFractions(self) -> None: ... + def generatePlusFractions(self, int: int, int2: int, double: float, double2: float) -> None: ... + def generateTBPFractions(self) -> None: ... + def getCoef(self, int: int) -> float: ... + def getCoefs(self) -> typing.MutableSequence[float]: ... + def getDensLastTBP(self) -> float: ... + def getDensPlus(self) -> float: ... + def getFirstPlusFractionNumber(self) -> int: ... + def getLastPlusFractionNumber(self) -> int: ... + def getMPlus(self) -> float: ... + @typing.overload + def getPlusCoefs(self, int: int) -> float: ... + @typing.overload + def getPlusCoefs(self) -> typing.MutableSequence[float]: ... + def getZPlus(self) -> float: ... + def groupTBPfractions(self) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def isPseudocomponents(self) -> bool: ... + def removeTBPfraction(self) -> None: ... + @typing.overload + def setCoefs(self, double: float, int: int) -> None: ... + @typing.overload + def setCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDensLastTBP(self, double: float) -> None: ... + def setMPlus(self, double: float) -> None: ... + def setNumberOfPseudocomponents(self, int: int) -> None: ... + def setPlusCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPseudocomponents(self, boolean: bool) -> None: ... + def setZPlus(self, double: float) -> None: ... + def solve(self) -> None: ... + +class CharacterizationOptions: + @staticmethod + def builder() -> 'CharacterizationOptions.Builder': ... + @staticmethod + def defaults() -> 'CharacterizationOptions': ... + def getCompositionTolerance(self) -> float: ... + def getNamingScheme(self) -> 'CharacterizationOptions.NamingScheme': ... + def isGenerateValidationReport(self) -> bool: ... + def isNormalizeComposition(self) -> bool: ... + def isTransferBinaryInteractionParameters(self) -> bool: ... + @staticmethod + def withBipTransfer() -> 'CharacterizationOptions': ... + class Builder: + def __init__(self): ... + def build(self) -> 'CharacterizationOptions': ... + def compositionTolerance(self, double: float) -> 'CharacterizationOptions.Builder': ... + def generateValidationReport(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... + def namingScheme(self, namingScheme: 'CharacterizationOptions.NamingScheme') -> 'CharacterizationOptions.Builder': ... + def normalizeComposition(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... + def transferBinaryInteractionParameters(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... + class NamingScheme(java.lang.Enum['CharacterizationOptions.NamingScheme']): + REFERENCE: typing.ClassVar['CharacterizationOptions.NamingScheme'] = ... + SEQUENTIAL: typing.ClassVar['CharacterizationOptions.NamingScheme'] = ... + CARBON_NUMBER: typing.ClassVar['CharacterizationOptions.NamingScheme'] = ... + _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]) -> 'CharacterizationOptions.NamingScheme': ... + @staticmethod + def values() -> typing.MutableSequence['CharacterizationOptions.NamingScheme']: ... + +class CharacterizationValidationReport: + @staticmethod + def generate(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, systemInterface3: jneqsim.thermo.system.SystemInterface) -> 'CharacterizationValidationReport': ... + def getMassDifferencePercent(self) -> float: ... + def getMolesDifferencePercent(self) -> float: ... + def getResultPseudoComponentCount(self) -> int: ... + def getSourcePseudoComponentCount(self) -> int: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def isValid(self) -> bool: ... + def toReportString(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class LumpingConfigBuilder: + def __init__(self, characterise: Characterise): ... + def build(self) -> Characterise: ... + def customBoundaries(self, *int: int) -> 'LumpingConfigBuilder': ... + def model(self, string: typing.Union[java.lang.String, str]) -> 'LumpingConfigBuilder': ... + def noLumping(self) -> 'LumpingConfigBuilder': ... + def plusFractionGroups(self, int: int) -> 'LumpingConfigBuilder': ... + def totalPseudoComponents(self, int: int) -> 'LumpingConfigBuilder': ... + +class LumpingModelInterface: + def generateLumpedComposition(self, characterise: Characterise) -> None: ... + def getCustomBoundaries(self) -> typing.MutableSequence[int]: ... + def getFractionOfHeavyEnd(self, int: int) -> float: ... + def getLumpedComponentName(self, int: int) -> java.lang.String: ... + def getLumpedComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getNumberOfLumpedComponents(self) -> int: ... + def getNumberOfPseudoComponents(self) -> int: ... + def hasCustomBoundaries(self) -> bool: ... + def setCustomBoundaries(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def setNumberOfLumpedComponents(self, int: int) -> None: ... + def setNumberOfPseudoComponents(self, int: int) -> None: ... + +class LumpingResult(java.io.Serializable): + def getCarbonNumberBoundaries(self) -> typing.MutableSequence[int]: ... + def getDensityError(self) -> float: ... + def getLumpedAverageDensity(self) -> float: ... + def getLumpedAverageMW(self) -> float: ... + def getLumpedComponentCount(self) -> int: ... + def getLumpedComponentNames(self) -> java.util.List[java.lang.String]: ... + def getMWError(self) -> float: ... + def getModelName(self) -> java.lang.String: ... + def getOriginalAverageDensity(self) -> float: ... + def getOriginalAverageMW(self) -> float: ... + def getOriginalComponentCount(self) -> int: ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def hasWarnings(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class Builder: + def __init__(self): ... + def addWarning(self, string: typing.Union[java.lang.String, str]) -> 'LumpingResult.Builder': ... + def build(self) -> 'LumpingResult': ... + def carbonNumberBoundaries(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> 'LumpingResult.Builder': ... + def lumpedAverageDensity(self, double: float) -> 'LumpingResult.Builder': ... + def lumpedAverageMW(self, double: float) -> 'LumpingResult.Builder': ... + def lumpedComponentCount(self, int: int) -> 'LumpingResult.Builder': ... + def lumpedComponentNames(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'LumpingResult.Builder': ... + def modelName(self, string: typing.Union[java.lang.String, str]) -> 'LumpingResult.Builder': ... + def originalAverageDensity(self, double: float) -> 'LumpingResult.Builder': ... + def originalAverageMW(self, double: float) -> 'LumpingResult.Builder': ... + def originalComponentCount(self, int: int) -> 'LumpingResult.Builder': ... + +class NewtonSolveAB(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def solve(self) -> None: ... + +class NewtonSolveABCD(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def solve(self) -> None: ... + +class NewtonSolveCDplus(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, plusCharacterize: 'PlusCharacterize'): ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def solve(self) -> None: ... + +class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addCut(self, assayCut: 'OilAssayCharacterisation.AssayCut') -> None: ... + def addCuts(self, collection: typing.Union[java.util.Collection['OilAssayCharacterisation.AssayCut'], typing.Sequence['OilAssayCharacterisation.AssayCut'], typing.Set['OilAssayCharacterisation.AssayCut']]) -> None: ... + def apply(self) -> None: ... + def clearCuts(self) -> None: ... + def clone(self) -> 'OilAssayCharacterisation': ... + def getCuts(self) -> java.util.List['OilAssayCharacterisation.AssayCut']: ... + def getTotalAssayMass(self) -> float: ... + def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTotalAssayMass(self, double: float) -> None: ... + class AssayCut(java.lang.Cloneable, java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def clone(self) -> 'OilAssayCharacterisation.AssayCut': ... + def getMassFraction(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getVolumeFraction(self) -> float: ... + def hasMassFraction(self) -> bool: ... + def hasMolarMass(self) -> bool: ... + def hasVolumeFraction(self) -> bool: ... + def resolveAverageBoilingPoint(self) -> float: ... + def resolveDensity(self) -> float: ... + def resolveMolarMass(self, double: float, double2: float) -> float: ... + def withApiGravity(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withAverageBoilingPointCelsius(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withAverageBoilingPointFahrenheit(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withAverageBoilingPointKelvin(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withDensity(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withMassFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withMolarMass(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withVolumeFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withVolumePercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withWeightPercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + +class PedersenAsphalteneCharacterization: + DEFAULT_ASPHALTENE_MW: typing.ClassVar[float] = ... + DEFAULT_ASPHALTENE_DENSITY: typing.ClassVar[float] = ... + HEAVY_ASPHALTENE_MW: typing.ClassVar[float] = ... + MIN_ASPHALTENE_MW: typing.ClassVar[float] = ... + MAX_ASPHALTENE_MW: typing.ClassVar[float] = ... + DEFAULT_ASPHALTENE_WEIGHT_FRACTION: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + @staticmethod + def TPflash(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + @typing.overload + @staticmethod + def TPflash(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> bool: ... + def addAsphalteneToSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> java.lang.String: ... + def addDistributedAsphaltene(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int) -> None: ... + def applyAsphalteneKij(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def assessStability(self, double: float) -> java.lang.String: ... + def calculateOnsetPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateSolubilityParameter(self, double: float) -> float: ... + def characterize(self) -> None: ... + def getAcentricFactor(self) -> float: ... + def getAsphalteneDensity(self) -> float: ... + def getAsphalteneMW(self) -> float: ... + def getAsphalteneWeightFraction(self) -> float: ... + def getBoilingPoint(self) -> float: ... + def getCriticalPressure(self) -> float: ... + def getCriticalTemperature(self) -> float: ... + def getKijAdjustment(self) -> float: ... + def getNumberOfAsphaltenePseudoComponents(self) -> int: ... + def getOmegaMultiplier(self) -> float: ... + def getPcMultiplier(self) -> float: ... + def getTbMultiplier(self) -> float: ... + def getTcMultiplier(self) -> float: ... + def isCharacterized(self) -> bool: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @staticmethod + def markAsphalteneRichLiquidPhases(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def resetTuningParameters(self) -> None: ... + def setAsphalteneDensity(self, double: float) -> None: ... + def setAsphalteneMW(self, double: float) -> None: ... + def setAsphalteneWeightFraction(self, double: float) -> None: ... + def setKijAdjustment(self, double: float) -> None: ... + def setNumberOfAsphaltenePseudoComponents(self, int: int) -> None: ... + def setOmegaMultiplier(self, double: float) -> None: ... + def setPcMultiplier(self, double: float) -> None: ... + def setTbMultiplier(self, double: float) -> None: ... + def setTcMultiplier(self, double: float) -> None: ... + def setTuningParameters(self, double: float, double2: float, double3: float) -> None: ... + def toString(self) -> java.lang.String: ... + +class PedersenPlusModelSolver(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, pedersenPlusModel: 'PlusFractionModel.PedersenPlusModel'): ... + def setJacAB(self) -> None: ... + def setJacCD(self) -> None: ... + def setfvecAB(self) -> None: ... + def setfvecCD(self) -> None: ... + def solve(self) -> None: ... + +class PlusFractionModel(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getModel(self, string: typing.Union[java.lang.String, str]) -> 'PlusFractionModelInterface': ... + class PedersenPlusModel: ... + +class PlusFractionModelInterface(java.io.Serializable): + def characterizePlusFraction(self, tBPModelInterface: 'TBPModelInterface') -> bool: ... + def getCoef(self, int: int) -> float: ... + def getCoefs(self) -> typing.MutableSequence[float]: ... + def getDens(self) -> typing.MutableSequence[float]: ... + def getDensPlus(self) -> float: ... + def getFirstPlusFractionNumber(self) -> int: ... + def getFirstTBPFractionNumber(self) -> int: ... + def getLastPlusFractionNumber(self) -> int: ... + def getM(self) -> typing.MutableSequence[float]: ... + def getMPlus(self) -> float: ... + def getMaxPlusMolarMass(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getNumberOfPlusPseudocomponents(self) -> float: ... + def getPlusComponentNumber(self) -> int: ... + def getZ(self) -> typing.MutableSequence[float]: ... + def getZPlus(self) -> float: ... + def hasPlusFraction(self) -> bool: ... + def setLastPlusFractionNumber(self, int: int) -> None: ... + +class PseudoComponentCombiner: + @typing.overload + @staticmethod + def characterizeToReference(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def characterizeToReference(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, characterizationOptions: CharacterizationOptions) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def combineReservoirFluids(int: int, collection: typing.Union[java.util.Collection[jneqsim.thermo.system.SystemInterface], typing.Sequence[jneqsim.thermo.system.SystemInterface], typing.Set[jneqsim.thermo.system.SystemInterface]]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def combineReservoirFluids(int: int, *systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def generateValidationReport(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, systemInterface3: jneqsim.thermo.system.SystemInterface) -> CharacterizationValidationReport: ... + @staticmethod + def normalizeComposition(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @staticmethod + def transferBinaryInteractionParameters(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> None: ... + +class Recombine: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface): ... + def getGOR(self) -> float: ... + def getOilDesnity(self) -> float: ... + def getRecombinedSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def runRecombination(self) -> jneqsim.thermo.system.SystemInterface: ... + def setGOR(self, double: float) -> None: ... + def setOilDesnity(self, double: float) -> None: ... + +class TBPModelInterface: + def calcAcentricFactor(self, double: float, double2: float) -> float: ... + def calcAcentricFactorKeslerLee(self, double: float, double2: float) -> float: ... + def calcCriticalViscosity(self, double: float, double2: float) -> float: ... + def calcCriticalVolume(self, double: float, double2: float) -> float: ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcParachorParameter(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTB(self, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + def calcWatsonCharacterizationFactor(self, double: float, double2: float) -> float: ... + def calcm(self, double: float, double2: float) -> float: ... + def getName(self) -> java.lang.String: ... + def isCalcm(self) -> bool: ... + def setBoilingPoint(self, double: float) -> None: ... + +class WaxModelInterface(java.io.Serializable, java.lang.Cloneable): + def addTBPWax(self) -> None: ... + def clone(self) -> 'WaxModelInterface': ... + def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... + def getParameterWaxTriplePointTemperature(self) -> typing.MutableSequence[float]: ... + def getWaxParameters(self) -> typing.MutableSequence[float]: ... + def removeWax(self) -> None: ... + @typing.overload + def setParameterWaxHeatOfFusion(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setParameterWaxHeatOfFusion(self, int: int, double: float) -> None: ... + @typing.overload + def setParameterWaxTriplePointTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setParameterWaxTriplePointTemperature(self, int: int, double: float) -> None: ... + def setWaxParameter(self, int: int, double: float) -> None: ... + def setWaxParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class PlusCharacterize(java.io.Serializable, CharacteriseInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addCharacterizedPlusFraction(self) -> None: ... + def addHeavyEnd(self) -> None: ... + def addPseudoTBPfraction(self, int: int, int2: int) -> None: ... + def addTBPFractions(self) -> None: ... + def characterizePlusFraction(self) -> None: ... + def generatePlusFractions(self, int: int, int2: int, double: float, double2: float) -> None: ... + def generateTBPFractions(self) -> None: ... + def getCarbonNumberVector(self) -> typing.MutableSequence[int]: ... + def getCoef(self, int: int) -> float: ... + def getCoefs(self) -> typing.MutableSequence[float]: ... + def getDensLastTBP(self) -> float: ... + def getDensPlus(self) -> float: ... + def getFirstPlusFractionNumber(self) -> int: ... + def getLastPlusFractionNumber(self) -> int: ... + def getLength(self) -> int: ... + def getMPlus(self) -> float: ... + def getNumberOfPseudocomponents(self) -> int: ... + @typing.overload + def getPlusCoefs(self, int: int) -> float: ... + @typing.overload + def getPlusCoefs(self) -> typing.MutableSequence[float]: ... + def getStartPlus(self) -> int: ... + def getZPlus(self) -> float: ... + def groupTBPfractions(self) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def isPseudocomponents(self) -> bool: ... + def removeTBPfraction(self) -> None: ... + def setCarbonNumberVector(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + @typing.overload + def setCoefs(self, double: float, int: int) -> None: ... + @typing.overload + def setCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDensLastTBP(self, double: float) -> None: ... + def setDensPlus(self, double: float) -> None: ... + def setFirstPlusFractionNumber(self, int: int) -> None: ... + def setHeavyTBPtoPlus(self) -> None: ... + def setMPlus(self, double: float) -> None: ... + def setNumberOfPseudocomponents(self, int: int) -> None: ... + def setPlusCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPseudocomponents(self, boolean: bool) -> None: ... + def setZPlus(self, double: float) -> None: ... + def solve(self) -> None: ... + +class TBPCharacterize(PlusCharacterize): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addHeavyEnd(self) -> None: ... + def addPlusFraction(self) -> None: ... + def addTBPFractions(self) -> None: ... + def getCalcTBPfractions(self) -> typing.MutableSequence[float]: ... + def getCarbonNumberVector(self) -> typing.MutableSequence[int]: ... + def getDensPlus(self) -> float: ... + def getLength(self) -> int: ... + @typing.overload + def getPlusCoefs(self, int: int) -> float: ... + @typing.overload + def getPlusCoefs(self) -> typing.MutableSequence[float]: ... + def getTBP_M(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getTBPdens(self, int: int) -> float: ... + @typing.overload + def getTBPdens(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getTBPfractions(self, int: int) -> float: ... + @typing.overload + def getTBPfractions(self) -> typing.MutableSequence[float]: ... + def groupTBPfractions(self) -> bool: ... + def isPseudocomponents(self) -> bool: ... + def saveCharacterizedFluid(self) -> bool: ... + def setCalcTBPfractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCarbonNumberVector(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + @typing.overload + def setCoefs(self, double: float, int: int) -> None: ... + @typing.overload + def setCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDensPlus(self, double: float) -> None: ... + def setPlusCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTBP_M(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTBPdens(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTBPfractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def solve(self) -> None: ... + def solveAB(self) -> None: ... + +class LumpingModel(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getModel(self, string: typing.Union[java.lang.String, str]) -> LumpingModelInterface: ... + class NoLumpingModel(jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel): + def __init__(self, lumpingModel: 'LumpingModel'): ... + def generateLumpedComposition(self, characterise: Characterise) -> None: ... + def getFractionOfHeavyEnd(self, int: int) -> float: ... + class PVTLumpingModel(jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel): + def __init__(self, lumpingModel: 'LumpingModel'): ... + def generateLumpedComposition(self, characterise: Characterise) -> None: ... + def getFractionOfHeavyEnd(self, int: int) -> float: ... + def setNumberOfPseudoComponents(self, int: int) -> None: ... + class StandardLumpingModel(LumpingModelInterface, java.lang.Cloneable, java.io.Serializable): + def __init__(self, lumpingModel: 'LumpingModel'): ... + def generateLumpedComposition(self, characterise: Characterise) -> None: ... + def getCustomBoundaries(self) -> typing.MutableSequence[int]: ... + def getFractionOfHeavyEnd(self, int: int) -> float: ... + def getLumpedComponentName(self, int: int) -> java.lang.String: ... + def getLumpedComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getName(self) -> java.lang.String: ... + def getNumberOfLumpedComponents(self) -> int: ... + def getNumberOfPseudoComponents(self) -> int: ... + def hasCustomBoundaries(self) -> bool: ... + def setCustomBoundaries(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def setNumberOfLumpedComponents(self, int: int) -> None: ... + def setNumberOfPseudoComponents(self, int: int) -> None: ... + +class TBPfractionModel(java.io.Serializable): + def __init__(self): ... + @staticmethod + def calcAPIGravity(double: float) -> float: ... + @staticmethod + def calcSpecificGravity(double: float) -> float: ... + def calcWatsonKFactor(self, double: float, double2: float) -> float: ... + @staticmethod + def getAvailableModels() -> typing.MutableSequence[java.lang.String]: ... + def getModel(self, string: typing.Union[java.lang.String, str]) -> TBPModelInterface: ... + def recommendTBPModel(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + class CavettModel(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcAcentricFactor(self, double: float, double2: float) -> float: ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTB(self, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + class LeeKesler(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcAcentricFactor(self, double: float, double2: float) -> float: ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + class PedersenTBPModelPR(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + class PedersenTBPModelPR2(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcTB(self, double: float, double2: float) -> float: ... + class PedersenTBPModelPRHeavyOil(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelPR): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + class PedersenTBPModelSRK(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTB(self, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + def calcm(self, double: float, double2: float) -> float: ... + class PedersenTBPModelSRKHeavyOil(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + class RiaziDaubert(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcAcentricFactor(self, double: float, double2: float) -> float: ... + def calcAcentricFactor2(self, double: float, double2: float) -> float: ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcTB(self, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + class StandingModel(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcAcentricFactor(self, double: float, double2: float) -> float: ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + class TBPBaseModel(TBPModelInterface, java.lang.Cloneable, java.io.Serializable): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcAcentricFactor(self, double: float, double2: float) -> float: ... + def calcAcentricFactorKeslerLee(self, double: float, double2: float) -> float: ... + def calcCriticalViscosity(self, double: float, double2: float) -> float: ... + def calcCriticalVolume(self, double: float, double2: float) -> float: ... + def calcParachorParameter(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTB(self, double: float, double2: float) -> float: ... + def calcWatsonCharacterizationFactor(self, double: float, double2: float) -> float: ... + def calcm(self, double: float, double2: float) -> float: ... + def getBoilingPoint(self) -> float: ... + def getName(self) -> java.lang.String: ... + def isCalcm(self) -> bool: ... + def setBoilingPoint(self, double: float) -> None: ... + class TwuModel(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): + def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def calcCriticalVolume(self, double: float, double2: float) -> float: ... + def calcPC(self, double: float, double2: float) -> float: ... + def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcTC(self, double: float, double2: float) -> float: ... + def calculateTfunc(self, double: float, double2: float) -> float: ... + def computeGradient(self, double: float, double2: float) -> float: ... + def solveMW(self, double: float) -> float: ... + +class WaxCharacterise(java.io.Serializable, java.lang.Cloneable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def clone(self) -> 'WaxCharacterise': ... + @typing.overload + def getModel(self) -> WaxModelInterface: ... + @typing.overload + def getModel(self, string: typing.Union[java.lang.String, str]) -> WaxModelInterface: ... + def setModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setModelName(self, string: typing.Union[java.lang.String, str]) -> None: ... + class PedersenWaxModel(jneqsim.thermo.characterization.WaxCharacterise.WaxBaseModel): + def __init__(self, waxCharacterise: 'WaxCharacterise'): ... + def addTBPWax(self) -> None: ... + def calcHeatOfFusion(self, int: int) -> float: ... + def calcPCwax(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def calcParaffinDensity(self, int: int) -> float: ... + def calcTriplePointTemperature(self, int: int) -> float: ... + def removeWax(self) -> None: ... + class WaxBaseModel(WaxModelInterface): + def __init__(self, waxCharacterise: 'WaxCharacterise'): ... + def addTBPWax(self) -> None: ... + def clone(self) -> 'WaxCharacterise.WaxBaseModel': ... + def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... + def getParameterWaxTriplePointTemperature(self) -> typing.MutableSequence[float]: ... + def getWaxParameters(self) -> typing.MutableSequence[float]: ... + @typing.overload + def setParameterWaxHeatOfFusion(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setParameterWaxHeatOfFusion(self, int: int, double: float) -> None: ... + @typing.overload + def setParameterWaxTriplePointTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setParameterWaxTriplePointTemperature(self, int: int, double: float) -> None: ... + def setWaxParameter(self, int: int, double: float) -> None: ... + def setWaxParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.characterization")``. + + AsphalteneCharacterization: typing.Type[AsphalteneCharacterization] + BiomassCharacterization: typing.Type[BiomassCharacterization] + Characterise: typing.Type[Characterise] + CharacteriseInterface: typing.Type[CharacteriseInterface] + CharacterizationOptions: typing.Type[CharacterizationOptions] + CharacterizationValidationReport: typing.Type[CharacterizationValidationReport] + LumpingConfigBuilder: typing.Type[LumpingConfigBuilder] + LumpingModel: typing.Type[LumpingModel] + LumpingModelInterface: typing.Type[LumpingModelInterface] + LumpingResult: typing.Type[LumpingResult] + NewtonSolveAB: typing.Type[NewtonSolveAB] + NewtonSolveABCD: typing.Type[NewtonSolveABCD] + NewtonSolveCDplus: typing.Type[NewtonSolveCDplus] + OilAssayCharacterisation: typing.Type[OilAssayCharacterisation] + PedersenAsphalteneCharacterization: typing.Type[PedersenAsphalteneCharacterization] + PedersenPlusModelSolver: typing.Type[PedersenPlusModelSolver] + PlusCharacterize: typing.Type[PlusCharacterize] + PlusFractionModel: typing.Type[PlusFractionModel] + PlusFractionModelInterface: typing.Type[PlusFractionModelInterface] + PseudoComponentCombiner: typing.Type[PseudoComponentCombiner] + Recombine: typing.Type[Recombine] + TBPCharacterize: typing.Type[TBPCharacterize] + TBPModelInterface: typing.Type[TBPModelInterface] + TBPfractionModel: typing.Type[TBPfractionModel] + WaxCharacterise: typing.Type[WaxCharacterise] + WaxModelInterface: typing.Type[WaxModelInterface] diff --git a/src/jneqsim/thermo/component/__init__.pyi b/src/jneqsim/thermo/component/__init__.pyi new file mode 100644 index 00000000..8c1efbbb --- /dev/null +++ b/src/jneqsim/thermo/component/__init__.pyi @@ -0,0 +1,2073 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.thermo +import jneqsim.thermo.atomelement +import jneqsim.thermo.component.attractiveeosterm +import jneqsim.thermo.component.repulsiveeosterm +import jneqsim.thermo.phase +import typing + + + +class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def addMoles(self, double: float) -> None: ... + @typing.overload + def addMolesChemReac(self, double: float, double2: float) -> None: ... + @typing.overload + def addMolesChemReac(self, double: float) -> None: ... + def calcActivity(self) -> bool: ... + def clone(self) -> 'ComponentInterface': ... + def createComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def doSolidCheck(self) -> bool: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffPresNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoefDiffTempNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getAcentricFactor(self) -> float: ... + def getAntoineASolid(self) -> float: ... + def getAntoineBSolid(self) -> float: ... + def getAntoineCSolid(self) -> float: ... + def getAntoineVaporPressure(self, double: float) -> float: ... + def getAntoineVaporPressuredT(self, double: float) -> float: ... + def getAntoineVaporTemperature(self, double: float) -> float: ... + def getAssociationEnergy(self) -> float: ... + def getAssociationEnergySAFT(self) -> float: ... + def getAssociationEnergySAFTVRMie(self) -> float: ... + def getAssociationScheme(self) -> java.lang.String: ... + def getAssociationVolume(self) -> float: ... + def getAssociationVolumeSAFT(self) -> float: ... + def getAssociationVolumeSAFTVRMie(self) -> float: ... + def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTermNumber(self) -> int: ... + def getCASnumber(self) -> java.lang.String: ... + def getCCsolidVaporPressure(self, double: float) -> float: ... + def getCCsolidVaporPressuredT(self, double: float) -> float: ... + @typing.overload + def getChemicalPotential(self, double: float, double2: float) -> float: ... + @typing.overload + def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialIdealReference(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdNTV(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdP(self) -> float: ... + def getChemicalPotentialdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getComponentName(self) -> java.lang.String: ... + @staticmethod + def getComponentNameFromAlias(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getComponentNameMap() -> java.util.LinkedHashMap[java.lang.String, java.lang.String]: ... + def getComponentNumber(self) -> int: ... + def getComponentType(self) -> java.lang.String: ... + def getCostaldCharacteristicVolume(self) -> float: ... + def getCp0(self, double: float) -> float: ... + def getCpA(self) -> float: ... + def getCpB(self) -> float: ... + def getCpC(self) -> float: ... + def getCpD(self) -> float: ... + def getCpE(self) -> float: ... + def getCriticalCompressibilityFactor(self) -> float: ... + def getCriticalViscosity(self) -> float: ... + def getCriticalVolume(self) -> float: ... + def getCv0(self, double: float) -> float: ... + def getDebyeDipoleMoment(self) -> float: ... + def getDielectricConstant(self, double: float) -> float: ... + def getDielectricConstantdT(self, double: float) -> float: ... + def getDielectricConstantdTdT(self, double: float) -> float: ... + def getElements(self) -> jneqsim.thermo.atomelement.Element: ... + def getEnthalpy(self, double: float) -> float: ... + def getEntropy(self, double: float, double2: float) -> float: ... + def getEpsikSAFT(self) -> float: ... + def getEpsikSAFTVRMie(self) -> float: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFormulae(self) -> java.lang.String: ... + def getFugacityCoefficient(self) -> float: ... + def getGibbsEnergy(self, double: float, double2: float) -> float: ... + def getGibbsEnergyOfFormation(self) -> float: ... + def getGresTP(self, double: float) -> float: ... + def getHID(self, double: float) -> float: ... + def getHeatOfFusion(self) -> float: ... + def getHeatOfVapourization(self, double: float) -> float: ... + def getHenryCoef(self, double: float) -> float: ... + def getHenryCoefParameter(self) -> typing.MutableSequence[float]: ... + def getHenryCoefdT(self, double: float) -> float: ... + def getHresTP(self, double: float) -> float: ... + def getHsub(self) -> float: ... + def getIdEntropy(self, double: float) -> float: ... + def getIdealGasAbsoluteEntropy(self) -> float: ... + def getIdealGasEnthalpyOfFormation(self) -> float: ... + def getIdealGasGibbsEnergyOfFormation(self) -> float: ... + def getIndex(self) -> int: ... + def getIonicCharge(self) -> float: ... + def getK(self) -> float: ... + def getLambdaASAFTVRMie(self) -> float: ... + def getLambdaRSAFTVRMie(self) -> float: ... + def getLennardJonesEnergyParameter(self) -> float: ... + def getLennardJonesMolecularDiameter(self) -> float: ... + def getLiquidConductivityParameter(self, int: int) -> float: ... + def getLiquidViscosityModel(self) -> int: ... + def getLiquidViscosityParameter(self, int: int) -> float: ... + def getLogFugacityCoefficient(self) -> float: ... + def getMatiascopemanParams(self) -> typing.MutableSequence[float]: ... + def getMatiascopemanSolidParams(self) -> typing.MutableSequence[float]: ... + def getMeltingPointTemperature(self) -> float: ... + def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getMolarMass(self) -> float: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMolarity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getName(self) -> java.lang.String: ... + @typing.overload + def getNormalBoilingPoint(self) -> float: ... + @typing.overload + def getNormalBoilingPoint(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getNormalLiquidDensity(self) -> float: ... + @typing.overload + def getNormalLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfAssociationSites(self) -> int: ... + def getNumberOfMolesInPhase(self) -> float: ... + def getNumberOfmoles(self) -> float: ... + def getOrginalNumberOfAssociationSites(self) -> int: ... + @typing.overload + def getPC(self) -> float: ... + @typing.overload + def getPC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getParachorParameter(self) -> float: ... + def getPaulingAnionicDiameter(self) -> float: ... + def getPureComponentCpLiquid(self, double: float) -> float: ... + def getPureComponentCpSolid(self, double: float) -> float: ... + def getPureComponentHeatOfVaporization(self, double: float) -> float: ... + def getPureComponentLiquidDensity(self, double: float) -> float: ... + def getPureComponentSolidDensity(self, double: float) -> float: ... + def getRacketZ(self) -> float: ... + def getRacketZCPA(self) -> float: ... + def getRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReferencePotential(self) -> float: ... + def getReferenceStateType(self) -> java.lang.String: ... + def getSchwartzentruberParams(self) -> typing.MutableSequence[float]: ... + def getSigmaSAFTVRMie(self) -> float: ... + def getSigmaSAFTi(self) -> float: ... + def getSolidVaporPressure(self, double: float) -> float: ... + def getSolidVaporPressuredT(self, double: float) -> float: ... + def getSphericalCoreRadius(self) -> float: ... + def getSresTP(self, double: float) -> float: ... + def getStokesCationicDiameter(self) -> float: ... + def getSurfTensInfluenceParam(self, int: int) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + @typing.overload + def getTC(self) -> float: ... + @typing.overload + def getTC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTriplePointDensity(self) -> float: ... + def getTriplePointPressure(self) -> float: ... + def getTriplePointTemperature(self) -> float: ... + def getTwuCoonParams(self) -> typing.MutableSequence[float]: ... + def getViscosityCorrectionFactor(self) -> float: ... + def getViscosityFrictionK(self) -> float: ... + def getVoli(self) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getVolumeCorrectionConst(self) -> float: ... + def getVolumeCorrectionT(self) -> float: ... + def getVolumeCorrectionT_CPA(self) -> float: ... + def getdfugdn(self, int: int) -> float: ... + def getdfugdp(self) -> float: ... + def getdfugdt(self) -> float: ... + def getdfugdx(self, int: int) -> float: ... + def getdrhodN(self) -> float: ... + def getmSAFTVRMie(self) -> float: ... + def getmSAFTi(self) -> float: ... + def getx(self) -> float: ... + def getz(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def insertComponentIntoDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def isHydrateFormer(self) -> bool: ... + def isHydrocarbon(self) -> bool: ... + def isInert(self) -> bool: ... + def isIsIon(self) -> bool: ... + def isIsNormalComponent(self) -> bool: ... + def isIsPlusFraction(self) -> bool: ... + def isIsTBPfraction(self) -> bool: ... + def isWaxFormer(self) -> bool: ... + def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def reducedPressure(self, double: float) -> float: ... + def reducedTemperature(self, double: float) -> float: ... + def setAcentricFactor(self, double: float) -> None: ... + def setAntoineASolid(self, double: float) -> None: ... + def setAntoineBSolid(self, double: float) -> None: ... + def setAntoineCSolid(self, double: float) -> None: ... + def setAssociationEnergy(self, double: float) -> None: ... + def setAssociationEnergySAFT(self, double: float) -> None: ... + def setAssociationEnergySAFTVRMie(self, double: float) -> None: ... + def setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAssociationVolume(self, double: float) -> None: ... + def setAssociationVolumeSAFT(self, double: float) -> None: ... + def setAssociationVolumeSAFTVRMie(self, double: float) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + def setCASnumber(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNumber(self, int: int) -> None: ... + def setComponentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCostaldCharacteristicVolume(self, double: float) -> None: ... + def setCpA(self, double: float) -> None: ... + def setCpB(self, double: float) -> None: ... + def setCpC(self, double: float) -> None: ... + def setCpD(self, double: float) -> None: ... + def setCpE(self, double: float) -> None: ... + def setCriticalCompressibilityFactor(self, double: float) -> None: ... + def setCriticalViscosity(self, double: float) -> None: ... + def setCriticalVolume(self, double: float) -> None: ... + def setDebyeDipoleMoment(self, double: float) -> None: ... + def setEpsikSAFT(self, double: float) -> None: ... + def setEpsikSAFTVRMie(self, double: float) -> None: ... + def setFormulae(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFugacityCoefficient(self, double: float) -> None: ... + def setHeatOfFusion(self, double: float) -> None: ... + def setHenryCoefParameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setIdealGasEnthalpyOfFormation(self, double: float) -> None: ... + def setIsHydrateFormer(self, boolean: bool) -> None: ... + def setIsIon(self, boolean: bool) -> None: ... + def setIsNormalComponent(self, boolean: bool) -> None: ... + def setIsPlusFraction(self, boolean: bool) -> None: ... + def setIsTBPfraction(self, boolean: bool) -> None: ... + def setK(self, double: float) -> None: ... + def setLambdaASAFTVRMie(self, double: float) -> None: ... + def setLambdaRSAFTVRMie(self, double: float) -> None: ... + def setLennardJonesEnergyParameter(self, double: float) -> None: ... + def setLennardJonesMolecularDiameter(self, double: float) -> None: ... + def setLiquidConductivityParameter(self, double: float, int: int) -> None: ... + def setLiquidViscosityModel(self, int: int) -> None: ... + def setLiquidViscosityParameter(self, double: float, int: int) -> None: ... + @typing.overload + def setMatiascopemanParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setMatiascopemanParams(self, int: int, double: float) -> None: ... + @typing.overload + def setMolarMass(self, double: float) -> None: ... + @typing.overload + def setMolarMass(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setNormalBoilingPoint(self, double: float) -> None: ... + def setNormalLiquidDensity(self, double: float) -> None: ... + def setNumberOfAssociationSites(self, int: int) -> None: ... + def setNumberOfMolesInPhase(self, double: float) -> None: ... + def setNumberOfmoles(self, double: float) -> None: ... + @typing.overload + def setPC(self, double: float) -> None: ... + @typing.overload + def setPC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setParachorParameter(self, double: float) -> None: ... + def setProperties(self, componentInterface: 'ComponentInterface') -> None: ... + def setRacketZ(self, double: float) -> None: ... + def setRacketZCPA(self, double: float) -> None: ... + def setReferencePotential(self, double: float) -> None: ... + def setSchwartzentruberParams(self, int: int, double: float) -> None: ... + def setSigmaSAFTVRMie(self, double: float) -> None: ... + def setSigmaSAFTi(self, double: float) -> None: ... + def setSolidCheck(self, boolean: bool) -> None: ... + def setSphericalCoreRadius(self, double: float) -> None: ... + def setStokesCationicDiameter(self, double: float) -> None: ... + def setSurfTensInfluenceParam(self, int: int, double: float) -> None: ... + @typing.overload + def setTC(self, double: float) -> None: ... + @typing.overload + def setTC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTriplePointTemperature(self, double: float) -> None: ... + def setTwuCoonParams(self, int: int, double: float) -> None: ... + def setViscosityAssociationFactor(self, double: float) -> None: ... + def setViscosityFrictionK(self, double: float) -> None: ... + def setVolumeCorrection(self, double: float) -> None: ... + def setVolumeCorrectionConst(self, double: float) -> None: ... + def setVolumeCorrectionT(self, double: float) -> None: ... + def setVolumeCorrectionT_CPA(self, double: float) -> None: ... + def setWaxFormer(self, boolean: bool) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + def setdfugdn(self, int: int, double: float) -> None: ... + def setdfugdp(self, double: float) -> None: ... + def setdfugdt(self, double: float) -> None: ... + def setdfugdx(self, int: int, double: float) -> None: ... + def setmSAFTVRMie(self, double: float) -> None: ... + def setmSAFTi(self, double: float) -> None: ... + def setx(self, double: float) -> None: ... + def setz(self, double: float) -> None: ... + +class Component(ComponentInterface): + dfugdx: typing.MutableSequence[float] = ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + @typing.overload + def addMolesChemReac(self, double: float) -> None: ... + @typing.overload + def addMolesChemReac(self, double: float, double2: float) -> None: ... + def calcActivity(self) -> bool: ... + def clone(self) -> 'Component': ... + def createComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def doSolidCheck(self) -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffPresNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoefDiffTempNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getAcentricFactor(self) -> float: ... + def getAntoineASolid(self) -> float: ... + def getAntoineBSolid(self) -> float: ... + def getAntoineCSolid(self) -> float: ... + def getAntoineVaporPressure(self, double: float) -> float: ... + def getAntoineVaporPressuredT(self, double: float) -> float: ... + def getAntoineVaporTemperature(self, double: float) -> float: ... + def getAssociationEnergy(self) -> float: ... + def getAssociationEnergySAFT(self) -> float: ... + def getAssociationEnergySAFTVRMie(self) -> float: ... + def getAssociationScheme(self) -> java.lang.String: ... + def getAssociationVolume(self) -> float: ... + def getAssociationVolumeSAFT(self) -> float: ... + def getAssociationVolumeSAFTVRMie(self) -> float: ... + def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTermNumber(self) -> int: ... + def getCASnumber(self) -> java.lang.String: ... + def getCCsolidVaporPressure(self, double: float) -> float: ... + def getCCsolidVaporPressuredT(self, double: float) -> float: ... + @typing.overload + def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getChemicalPotential(self, double: float, double2: float) -> float: ... + def getChemicalPotentialIdealReference(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdNTV(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getChemicalPotentialdP(self) -> float: ... + @typing.overload + def getChemicalPotentialdP(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getComponentName(self) -> java.lang.String: ... + def getComponentNumber(self) -> int: ... + def getComponentType(self) -> java.lang.String: ... + def getCostaldCharacteristicVolume(self) -> float: ... + def getCp0(self, double: float) -> float: ... + def getCpA(self) -> float: ... + def getCpB(self) -> float: ... + def getCpC(self) -> float: ... + def getCpD(self) -> float: ... + def getCpE(self) -> float: ... + def getCriticalCompressibilityFactor(self) -> float: ... + def getCriticalViscosity(self) -> float: ... + def getCriticalVolume(self) -> float: ... + def getCv0(self, double: float) -> float: ... + def getDebyeDipoleMoment(self) -> float: ... + def getDielectricConstant(self, double: float) -> float: ... + def getDielectricConstantdT(self, double: float) -> float: ... + def getDielectricConstantdTdT(self, double: float) -> float: ... + def getElements(self) -> jneqsim.thermo.atomelement.Element: ... + def getEnthalpy(self, double: float) -> float: ... + def getEntropy(self, double: float, double2: float) -> float: ... + def getEpsikSAFT(self) -> float: ... + def getEpsikSAFTVRMie(self) -> float: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFormulae(self) -> java.lang.String: ... + def getFugacityCoefficient(self) -> float: ... + def getFugacitydN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getGibbsEnergy(self, double: float, double2: float) -> float: ... + def getGibbsEnergyOfFormation(self) -> float: ... + def getGresTP(self, double: float) -> float: ... + def getHID(self, double: float) -> float: ... + def getHeatOfFusion(self) -> float: ... + def getHeatOfVapourization(self, double: float) -> float: ... + def getHenryCoef(self, double: float) -> float: ... + def getHenryCoefParameter(self) -> typing.MutableSequence[float]: ... + def getHenryCoefdT(self, double: float) -> float: ... + def getHresTP(self, double: float) -> float: ... + def getHsub(self) -> float: ... + def getIdEntropy(self, double: float) -> float: ... + def getIdealGasAbsoluteEntropy(self) -> float: ... + def getIdealGasEnthalpyOfFormation(self) -> float: ... + def getIdealGasGibbsEnergyOfFormation(self) -> float: ... + def getIndex(self) -> int: ... + def getIonicCharge(self) -> float: ... + def getIonicDiameter(self) -> float: ... + def getK(self) -> float: ... + def getLambdaASAFTVRMie(self) -> float: ... + def getLambdaRSAFTVRMie(self) -> float: ... + def getLennardJonesEnergyParameter(self) -> float: ... + def getLennardJonesMolecularDiameter(self) -> float: ... + def getLiquidConductivityParameter(self, int: int) -> float: ... + def getLiquidViscosityModel(self) -> int: ... + def getLiquidViscosityParameter(self, int: int) -> float: ... + @typing.overload + def getMatiascopemanParams(self, int: int) -> float: ... + @typing.overload + def getMatiascopemanParams(self) -> typing.MutableSequence[float]: ... + def getMatiascopemanParamsPR(self) -> typing.MutableSequence[float]: ... + def getMatiascopemanParamsUMRCPA(self) -> typing.MutableSequence[float]: ... + def getMatiascopemanParamsUMRPRU(self) -> typing.MutableSequence[float]: ... + def getMatiascopemanSolidParams(self) -> typing.MutableSequence[float]: ... + def getMeltingPointTemperature(self) -> float: ... + def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMolarMass(self) -> float: ... + def getMolarity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getName(self) -> java.lang.String: ... + @typing.overload + def getNormalBoilingPoint(self) -> float: ... + @typing.overload + def getNormalBoilingPoint(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getNormalLiquidDensity(self) -> float: ... + @typing.overload + def getNormalLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfAssociationSites(self) -> int: ... + def getNumberOfMolesInPhase(self) -> float: ... + def getNumberOfmoles(self) -> float: ... + def getOrginalNumberOfAssociationSites(self) -> int: ... + @typing.overload + def getPC(self) -> float: ... + @typing.overload + def getPC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getParachorParameter(self) -> float: ... + def getPaulingAnionicDiameter(self) -> float: ... + def getPureComponentCpLiquid(self, double: float) -> float: ... + def getPureComponentCpSolid(self, double: float) -> float: ... + def getPureComponentHeatOfVaporization(self, double: float) -> float: ... + def getPureComponentLiquidDensity(self, double: float) -> float: ... + def getPureComponentSolidDensity(self, double: float) -> float: ... + def getRacketZ(self) -> float: ... + def getRacketZCPA(self) -> float: ... + def getRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReferenceEnthalpy(self) -> float: ... + def getReferencePotential(self) -> float: ... + def getReferenceStateType(self) -> java.lang.String: ... + def getSchwartzentruberParams(self) -> typing.MutableSequence[float]: ... + def getSigmaSAFTVRMie(self) -> float: ... + def getSigmaSAFTi(self) -> float: ... + def getSolidVaporPressure(self, double: float) -> float: ... + def getSolidVaporPressuredT(self, double: float) -> float: ... + def getSphericalCoreRadius(self) -> float: ... + def getSresTP(self, double: float) -> float: ... + def getStandardDensity(self) -> float: ... + def getStokesCationicDiameter(self) -> float: ... + def getSurfTensInfluenceParam(self, int: int) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + @typing.overload + def getTC(self) -> float: ... + @typing.overload + def getTC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTriplePointDensity(self) -> float: ... + def getTriplePointPressure(self) -> float: ... + def getTriplePointTemperature(self) -> float: ... + def getTwuCoonParams(self) -> typing.MutableSequence[float]: ... + def getViscosityCorrectionFactor(self) -> float: ... + def getViscosityFrictionK(self) -> float: ... + def getVoli(self) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getVolumeCorrectionConst(self) -> float: ... + def getVolumeCorrectionT(self) -> float: ... + def getVolumeCorrectionT_CPA(self) -> float: ... + def getdfugdn(self, int: int) -> float: ... + def getdfugdp(self) -> float: ... + def getdfugdt(self) -> float: ... + def getdfugdx(self, int: int) -> float: ... + def getdrhodN(self) -> float: ... + def getmSAFTVRMie(self) -> float: ... + def getmSAFTi(self) -> float: ... + def getx(self) -> float: ... + def getz(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def insertComponentIntoDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def isHydrateFormer(self) -> bool: ... + def isHydrocarbon(self) -> bool: ... + def isInert(self) -> bool: ... + def isIsHydrateFormer(self) -> bool: ... + def isIsIon(self) -> bool: ... + def isIsNormalComponent(self) -> bool: ... + def isIsPlusFraction(self) -> bool: ... + def isIsTBPfraction(self) -> bool: ... + def isWaxFormer(self) -> bool: ... + def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def reducedPressure(self, double: float) -> float: ... + def reducedTemperature(self, double: float) -> float: ... + def setAcentricFactor(self, double: float) -> None: ... + def setAntoineASolid(self, double: float) -> None: ... + def setAntoineBSolid(self, double: float) -> None: ... + def setAntoineCSolid(self, double: float) -> None: ... + def setAssociationEnergy(self, double: float) -> None: ... + def setAssociationEnergySAFT(self, double: float) -> None: ... + def setAssociationEnergySAFTVRMie(self, double: float) -> None: ... + def setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAssociationVolume(self, double: float) -> None: ... + def setAssociationVolumeSAFT(self, double: float) -> None: ... + def setAssociationVolumeSAFTVRMie(self, double: float) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + def setCASnumber(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNumber(self, int: int) -> None: ... + def setComponentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCostaldCharacteristicVolume(self, double: float) -> None: ... + def setCpA(self, double: float) -> None: ... + def setCpB(self, double: float) -> None: ... + def setCpC(self, double: float) -> None: ... + def setCpD(self, double: float) -> None: ... + def setCpE(self, double: float) -> None: ... + def setCriticalCompressibilityFactor(self, double: float) -> None: ... + def setCriticalViscosity(self, double: float) -> None: ... + def setCriticalVolume(self, double: float) -> None: ... + def setDebyeDipoleMoment(self, double: float) -> None: ... + def setEpsikSAFT(self, double: float) -> None: ... + def setEpsikSAFTVRMie(self, double: float) -> None: ... + def setFormulae(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFugacityCoefficient(self, double: float) -> None: ... + def setHeatOfFusion(self, double: float) -> None: ... + def setHenryCoefParameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setIdealGasEnthalpyOfFormation(self, double: float) -> None: ... + def setIsHydrateFormer(self, boolean: bool) -> None: ... + def setIsIon(self, boolean: bool) -> None: ... + def setIsNormalComponent(self, boolean: bool) -> None: ... + def setIsPlusFraction(self, boolean: bool) -> None: ... + def setIsTBPfraction(self, boolean: bool) -> None: ... + def setK(self, double: float) -> None: ... + def setLambdaASAFTVRMie(self, double: float) -> None: ... + def setLambdaRSAFTVRMie(self, double: float) -> None: ... + def setLennardJonesEnergyParameter(self, double: float) -> None: ... + def setLennardJonesMolecularDiameter(self, double: float) -> None: ... + def setLiquidConductivityParameter(self, double: float, int: int) -> None: ... + def setLiquidViscosityModel(self, int: int) -> None: ... + def setLiquidViscosityParameter(self, double: float, int: int) -> None: ... + @typing.overload + def setMatiascopemanParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setMatiascopemanParams(self, int: int, double: float) -> None: ... + def setMatiascopemanParamsPR(self, int: int, double: float) -> None: ... + def setMatiascopemanSolidParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setMolarMass(self, double: float) -> None: ... + @typing.overload + def setMolarMass(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setNormalBoilingPoint(self, double: float) -> None: ... + def setNormalLiquidDensity(self, double: float) -> None: ... + def setNumberOfAssociationSites(self, int: int) -> None: ... + def setNumberOfMolesInPhase(self, double: float) -> None: ... + def setNumberOfmoles(self, double: float) -> None: ... + @typing.overload + def setPC(self, double: float) -> None: ... + @typing.overload + def setPC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setParachorParameter(self, double: float) -> None: ... + def setPaulingAnionicDiameter(self, double: float) -> None: ... + def setProperties(self, componentInterface: ComponentInterface) -> None: ... + def setRacketZ(self, double: float) -> None: ... + def setRacketZCPA(self, double: float) -> None: ... + def setReferenceEnthalpy(self, double: float) -> None: ... + def setReferencePotential(self, double: float) -> None: ... + def setSchwartzentruberParams(self, int: int, double: float) -> None: ... + def setSigmaSAFTVRMie(self, double: float) -> None: ... + def setSigmaSAFTi(self, double: float) -> None: ... + def setSolidCheck(self, boolean: bool) -> None: ... + def setSphericalCoreRadius(self, double: float) -> None: ... + def setStandardDensity(self, double: float) -> None: ... + def setStokesCationicDiameter(self, double: float) -> None: ... + def setSurfTensInfluenceParam(self, int: int, double: float) -> None: ... + @typing.overload + def setTC(self, double: float) -> None: ... + @typing.overload + def setTC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTriplePointTemperature(self, double: float) -> None: ... + def setTwuCoonParams(self, int: int, double: float) -> None: ... + def setViscosityAssociationFactor(self, double: float) -> None: ... + def setViscosityFrictionK(self, double: float) -> None: ... + def setVoli(self, double: float) -> None: ... + def setVolumeCorrection(self, double: float) -> None: ... + def setVolumeCorrectionConst(self, double: float) -> None: ... + def setVolumeCorrectionT(self, double: float) -> None: ... + def setVolumeCorrectionT_CPA(self, double: float) -> None: ... + def setWaxFormer(self, boolean: bool) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + def setdfugdn(self, int: int, double: float) -> None: ... + def setdfugdp(self, double: float) -> None: ... + def setdfugdt(self, double: float) -> None: ... + def setdfugdx(self, int: int, double: float) -> None: ... + def setmSAFTVRMie(self, double: float) -> None: ... + def setmSAFTi(self, double: float) -> None: ... + def setx(self, double: float) -> None: ... + def setz(self, double: float) -> None: ... + +class ComponentEosInterface(ComponentInterface): + def aT(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def getAder(self) -> float: ... + def getAi(self) -> float: ... + def getAiT(self) -> float: ... + def getAij(self, int: int) -> float: ... + def getBder(self) -> float: ... + def getBi(self) -> float: ... + def getBij(self, int: int) -> float: ... + def getDeltaEosParameters(self) -> typing.MutableSequence[float]: ... + def geta(self) -> float: ... + def getaDiffDiffT(self) -> float: ... + def getaDiffT(self) -> float: ... + def getaT(self) -> float: ... + def getb(self) -> float: ... + def getdAdT(self) -> float: ... + def getdAdTdn(self) -> float: ... + def getdAdndn(self, int: int) -> float: ... + def getdBdT(self) -> float: ... + def getdBdndT(self) -> float: ... + def getdBdndn(self, int: int) -> float: ... + def setAder(self, double: float) -> None: ... + def setBder(self, double: float) -> None: ... + def setdAdT(self, double: float) -> None: ... + def setdAdTdT(self, double: float) -> None: ... + def setdAdTdn(self, double: float) -> None: ... + def setdAdndn(self, int: int, double: float) -> None: ... + def setdBdTdT(self, double: float) -> None: ... + def setdBdndT(self, double: float) -> None: ... + def setdBdndn(self, int: int, double: float) -> None: ... + +class ComponentGEInterface(ComponentInterface): + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getGammaRefCor(self) -> float: ... + def getLnGamma(self) -> float: ... + def getLnGammadn(self, int: int) -> float: ... + def getLnGammadt(self) -> float: ... + def getLnGammadtdt(self) -> float: ... + def setLnGammadn(self, int: int, double: float) -> None: ... + +class ComponentCPAInterface(ComponentEosInterface): + def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def getXsiteOld(self) -> typing.MutableSequence[float]: ... + def getXsitedT(self) -> typing.MutableSequence[float]: ... + def getXsitedTdT(self) -> typing.MutableSequence[float]: ... + def getXsitedV(self) -> typing.MutableSequence[float]: ... + def setXsite(self, int: int, double: float) -> None: ... + def setXsiteOld(self, int: int, double: float) -> None: ... + def setXsitedT(self, int: int, double: float) -> None: ... + def setXsitedTdT(self, int: int, double: float) -> None: ... + def setXsitedV(self, int: int, double: float) -> None: ... + def setXsitedni(self, int: int, int2: int, double: float) -> None: ... + +class ComponentEos(Component, ComponentEosInterface): + a: float = ... + b: float = ... + m: float = ... + alpha: float = ... + aT: float = ... + sqrtAT: float = ... + aDiffT: float = ... + Bi: float = ... + Ai: float = ... + AiT: float = ... + aDiffDiffT: float = ... + Aij: typing.MutableSequence[float] = ... + Bij: typing.MutableSequence[float] = ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentEos': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def equals(self, object: typing.Any) -> bool: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getAder(self) -> float: ... + def getAi(self) -> float: ... + def getAiT(self) -> float: ... + def getAij(self, int: int) -> float: ... + def getAresnTV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getAttractiveParameter(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getBder(self) -> float: ... + def getBi(self) -> float: ... + def getBij(self, int: int) -> float: ... + @typing.overload + def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getChemicalPotential(self, double: float, double2: float) -> float: ... + def getDeltaEosParameters(self) -> typing.MutableSequence[float]: ... + def getOmegaAOverride(self) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + def geta(self) -> float: ... + def getaDiffDiffT(self) -> float: ... + def getaDiffT(self) -> float: ... + def getaT(self) -> float: ... + def getb(self) -> float: ... + def getdAdT(self) -> float: ... + def getdAdTdT(self) -> float: ... + def getdAdTdn(self) -> float: ... + def getdAdndn(self, int: int) -> float: ... + def getdBdT(self) -> float: ... + def getdBdndT(self) -> float: ... + def getdBdndn(self, int: int) -> float: ... + def getdUdSdnV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getdUdVdnS(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getdUdnSV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getdUdndnSV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def hasOmegaAOverride(self) -> bool: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def setAder(self, double: float) -> None: ... + def setAttractiveParameter(self, attractiveTermInterface: jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + def setBder(self, double: float) -> None: ... + def setOmegaA(self, double: float) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + def setdAdT(self, double: float) -> None: ... + def setdAdTdT(self, double: float) -> None: ... + def setdAdTdn(self, double: float) -> None: ... + def setdAdndn(self, int: int, double: float) -> None: ... + def setdBdTdT(self, double: float) -> None: ... + def setdBdndT(self, double: float) -> None: ... + def setdBdndn(self, int: int, double: float) -> None: ... + +class ComponentGE(Component, ComponentGEInterface): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + def getGammaRefCor(self) -> float: ... + def getLnGamma(self) -> float: ... + def getLnGammadn(self, int: int) -> float: ... + def getLnGammadt(self) -> float: ... + def getLnGammadtdt(self) -> float: ... + def setLnGammadn(self, int: int, double: float) -> None: ... + +class ComponentHydrate(Component): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcChemPotEmpty(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, int2: int) -> float: ... + def calcChemPotIdealWater(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, int2: int) -> float: ... + def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def delt(self, double: float, double2: float, int: int, int2: int, componentInterface: ComponentInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + @typing.overload + def getCavprwat(self, int: int, int2: int) -> float: ... + @typing.overload + def getCavprwat(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDGfHydrate(self) -> typing.MutableSequence[float]: ... + def getDHfHydrate(self) -> typing.MutableSequence[float]: ... + def getEmptyHydrateStructureVapourPressure(self, int: int, double: float) -> float: ... + def getEmptyHydrateVapourPressureConstant(self, int: int, int2: int) -> float: ... + def getHydrateStructure(self) -> int: ... + def getLennardJonesEnergyParameterHydrate(self) -> float: ... + def getLennardJonesMolecularDiameterHydrate(self) -> float: ... + def getMolarVolumeHydrate(self, int: int, double: float) -> float: ... + def getPot(self, double: float, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getSphericalCoreRadiusHydrate(self) -> float: ... + def potIntegral(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def readHydrateParameters(self) -> None: ... + @typing.overload + def setDGfHydrate(self, double: float, int: int) -> None: ... + @typing.overload + def setDGfHydrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setDHfHydrate(self, double: float, int: int) -> None: ... + @typing.overload + def setDHfHydrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setEmptyHydrateVapourPressureConstant(self, int: int, int2: int, double: float) -> None: ... + def setHydrateStructure(self, int: int) -> None: ... + def setLennardJonesEnergyParameterHydrate(self, double: float) -> None: ... + def setLennardJonesMolecularDiameterHydrate(self, double: float) -> None: ... + def setRefFug(self, int: int, double: float) -> None: ... + def setSolidRefFluidPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def setSphericalCoreRadiusHydrate(self, double: float) -> None: ... + +class ComponentHydrateKluda(Component): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def delt(self, int: int, double: float, double2: float, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dfugdt(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getEmptyHydrateStructureVapourPressure(self, int: int, double: float) -> float: ... + def getEmptyHydrateStructureVapourPressuredT(self, int: int, double: float) -> float: ... + def getPot(self, int: int, double: float, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def potIntegral(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def setRefFug(self, int: int, double: float) -> None: ... + def setStructure(self, int: int) -> None: ... + +class ComponentIdealGas(Component): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def clone(self) -> 'ComponentIdealGas': ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentAmmoniaEos(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentAmmoniaEos': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentDesmukhMather(ComponentGE): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentGERG2004(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentGERG2004': ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + +class ComponentGERG2008Eos(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentGERG2008Eos': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentGEUniquac(ComponentGE): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getq(self) -> float: ... + def getr(self) -> float: ... + +class ComponentGEWilson(ComponentGE): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + def getCharEnergyParamter(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getWilsonActivityCoefficient(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getWilsonInteractionEnergy(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentGeDuanSun(ComponentGE): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getGammaNRTL(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getGammaPitzer(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, double3: float) -> float: ... + def getq(self) -> float: ... + def getr(self) -> float: ... + +class ComponentGeNRTL(ComponentGE): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getq(self) -> float: ... + def getr(self) -> float: ... + +class ComponentGePitzer(ComponentGE): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentHydrateBallard(ComponentHydrate): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def delt(self, double: float, double2: float, int: int, int2: int, componentInterface: ComponentInterface) -> float: ... + @typing.overload + def delt(self, double: float, double2: float, int: int, int2: int) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getPot(self, double: float, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def potIntegral(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentHydrateGF(ComponentHydrate): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + +class ComponentHydratePVTsim(ComponentHydrate): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcDeltaChemPot(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, int2: int) -> float: ... + def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + +class ComponentHydrateStatoil(ComponentHydrate): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def delt(self, double: float, double2: float, int: int, int2: int, componentInterface: ComponentInterface) -> float: ... + @typing.overload + def delt(self, double: float, double2: float, int: int, int2: int) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getPot(self, double: float, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def potIntegral(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentLeachmanEos(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentLeachmanEos': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + +class ComponentPR(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentPR': ... + def getCachadinaInfluenceParameters(self) -> typing.MutableSequence[float]: ... + def getInfluenceParameterModel(self) -> int: ... + def getQpure(self, double: float) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getdQpuredT(self, double: float) -> float: ... + def getdQpuredTdT(self, double: float) -> float: ... + def setCachadinaInfluenceParameters(self, double: float, double2: float, double3: float) -> None: ... + def setInfluenceParameterModel(self, int: int) -> None: ... + +class ComponentRK(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentRK': ... + def getQpure(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getdQpuredT(self, double: float) -> float: ... + def getdQpuredTdT(self, double: float) -> float: ... + +class ComponentSpanWagnerEos(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentSpanWagnerEos': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + +class ComponentSrk(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentSrk': ... + def getQpure(self, double: float) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getdQpuredT(self, double: float) -> float: ... + def getdQpuredTdT(self, double: float) -> float: ... + +class ComponentTST(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentTST': ... + def getQpure(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getdQpuredT(self, double: float) -> float: ... + def getdQpuredTdT(self, double: float) -> float: ... + +class ComponentVegaEos(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentVegaEos': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + +class ComponentWater(ComponentEos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def alpha(self, double: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentWater': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getVolumeCorrection(self) -> float: ... + +class ComponentBNS(ComponentPR): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentBNS': ... + +class ComponentBWRS(ComponentSrk): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def clone(self) -> 'ComponentBWRS': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def equals(self, object: typing.Any) -> bool: ... + @typing.overload + def getABWRS(self, int: int) -> float: ... + @typing.overload + def getABWRS(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getBE(self, int: int) -> float: ... + @typing.overload + def getBE(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getBEdT(self, int: int) -> float: ... + @typing.overload + def getBEdT(self) -> typing.MutableSequence[float]: ... + def getBEdTdT(self, int: int) -> float: ... + def getBP(self, int: int) -> float: ... + @typing.overload + def getBPdT(self, int: int) -> float: ... + @typing.overload + def getBPdT(self) -> typing.MutableSequence[float]: ... + def getBPdTdT(self, int: int) -> float: ... + def getELdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getFexpdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getFpoldn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getGammaBWRS(self) -> float: ... + def getRhoc(self) -> float: ... + def getdRhodn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def setABWRS(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBE(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBEdT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBPdT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setGammaBWRS(self, double: float) -> None: ... + def setRefPhaseBWRS(self, phaseBWRSEos: jneqsim.thermo.phase.PhaseBWRSEos) -> None: ... + def setRhoc(self, double: float) -> None: ... + +class ComponentCSPsrk(ComponentSrk): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def clone(self) -> 'ComponentCSPsrk': ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getF_scale_mix_i(self) -> float: ... + def getH_scale_mix_i(self) -> float: ... + def getRefPhaseBWRS(self) -> jneqsim.thermo.phase.PhaseCSPsrkEos: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def setF_scale_mix_i(self, double: float) -> None: ... + def setH_scale_mix_i(self, double: float) -> None: ... + def setRefPhaseBWRS(self, phaseCSPsrkEos: jneqsim.thermo.phase.PhaseCSPsrkEos) -> None: ... + +class ComponentEOSCGEos(ComponentGERG2008Eos): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def clone(self) -> 'ComponentEOSCGEos': ... + +class ComponentGENRTLmodifiedHV(ComponentGeNRTL): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + +class ComponentGENRTLmodifiedWS(ComponentGeNRTL): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + +class ComponentGEUnifac(ComponentGEUniquac): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def addUNIFACgroup(self, int: int, int2: int) -> None: ... + def calclnGammak(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getNumberOfUNIFACgroups(self) -> int: ... + def getQ(self) -> float: ... + def getR(self) -> float: ... + def getUnifacGroup(self, int: int) -> jneqsim.thermo.atomelement.UNIFACgroup: ... + def getUnifacGroup2(self, int: int) -> jneqsim.thermo.atomelement.UNIFACgroup: ... + def getUnifacGroups(self) -> typing.MutableSequence[jneqsim.thermo.atomelement.UNIFACgroup]: ... + def getUnifacGroups2(self) -> java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]: ... + def initPCUNIFACGroups(self) -> None: ... + def setQ(self, double: float) -> None: ... + def setR(self, double: float) -> None: ... + def setUnifacGroups(self, arrayList: java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]) -> None: ... + +class ComponentGEUniquacmodifiedHV(ComponentGEUniquac): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + +class ComponentKentEisenberg(ComponentGeNRTL): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentModifiedFurstElectrolyteEos(ComponentSrk): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def FLRN(self) -> float: ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def calcGammaLRdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcSolventdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcSolventdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcSolventdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def calcXLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def calcdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdndV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def clone(self) -> 'ComponentModifiedFurstElectrolyteEos': ... + def dAlphaLRdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dEpsIonicdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dEpsIonicdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dEpsdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dEpsdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFBorndN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFBorndNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFBorndNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFLRdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFLRdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFLRdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFSR2dN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFSR2dNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFSR2dNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFSR2dNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getAlphai(self) -> float: ... + def getBornVal(self) -> float: ... + def getDielectricConstantdn(self) -> float: ... + def getEpsIonici(self) -> float: ... + def getEpsi(self) -> float: ... + def getIonicCoVolume(self) -> float: ... + def getSolventDiElectricConstantdn(self) -> float: ... + def getXBorni(self) -> float: ... + def getXLRi(self) -> float: ... + def initFurstParam(self) -> None: ... + +class ComponentModifiedFurstElectrolyteEosMod2004(ComponentSrk): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def FLRN(self) -> float: ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def calcGammaLRdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcSolventdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcSolventdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcSolventdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def calcXLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def calcdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdndV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def clone(self) -> 'ComponentModifiedFurstElectrolyteEosMod2004': ... + def dAlphaLRdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dEpsIonicdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dEpsIonicdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dEpsdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dEpsdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFBorndN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFBorndNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFBorndNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFLRdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFLRdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFLRdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFSR2dN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFSR2dNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFSR2dNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFSR2dNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getAlphai(self) -> float: ... + def getBornVal(self) -> float: ... + def getDielectricConstantdn(self) -> float: ... + def getEpsIonici(self) -> float: ... + def getEpsi(self) -> float: ... + def getIonicCoVolume(self) -> float: ... + def getSolventDiElectricConstantdn(self) -> float: ... + def getXBorni(self) -> float: ... + def getXLRi(self) -> float: ... + def initFurstParam(self) -> None: ... + +class ComponentPCSAFT(ComponentSrk): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def calcF1dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcF2dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdahsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdghsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdmSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdnSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> 'ComponentPCSAFT': ... + def dF_DISP1_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dF_DISP2_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dF_HC_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getDghsSAFTdi(self) -> float: ... + def getDlogghsSAFTdi(self) -> float: ... + def getDmSAFTdi(self) -> float: ... + def getDnSAFTdi(self) -> float: ... + def getdSAFTi(self) -> float: ... + def getdahsSAFTdi(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def setDghsSAFTdi(self, double: float) -> None: ... + def setDlogghsSAFTdi(self, double: float) -> None: ... + def setDmSAFTdi(self, double: float) -> None: ... + def setDnSAFTdi(self, double: float) -> None: ... + def setdSAFTi(self, double: float) -> None: ... + def setdahsSAFTdi(self, double: float) -> None: ... + +class ComponentPRvolcor(ComponentPR): + Cij: typing.MutableSequence[float] = ... + Ci: float = ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def calcc(self) -> float: ... + def calccT(self) -> float: ... + def calccTT(self) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getCi(self) -> float: ... + def getCiT(self) -> float: ... + def getCij(self, int: int) -> float: ... + def getFC(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getc(self) -> float: ... + def getcT(self) -> float: ... + def getcTT(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + +class ComponentPrCPA(ComponentPR, ComponentCPAInterface): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngi2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentPrCPA': ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsite(self, int: int, double: float) -> None: ... + +class ComponentSAFTVRMie(ComponentSrk): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + @staticmethod + def calcEffectiveDiameter(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calcF1dispI1dn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcF1dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcF2dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcF2dispZHCdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + @staticmethod + def calcMiePrefactor(double: float, double2: float) -> float: ... + def calcdF1dispVolTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdahsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdghsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdmSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdnSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> 'ComponentSAFTVRMie': ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dF_DISP_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dF_HC_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getDdSAFTidT(self) -> float: ... + def getDmSAFTdi(self) -> float: ... + def getDnSAFTdi(self) -> float: ... + def getEpsikSAFT(self) -> float: ... + def getNAssocSites(self) -> int: ... + def getSigmaSAFTi(self) -> float: ... + def getXsiteAssoc(self) -> typing.MutableSequence[float]: ... + def getdSAFTi(self) -> float: ... + def getmSAFTi(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def initAssociationArrays(self, int: int) -> None: ... + def recalcSAFTDiameter(self, double: float) -> None: ... + def setXsiteAssoc(self, int: int, double: float) -> None: ... + +class ComponentSolid(ComponentSrk): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def fugcoef(self, double: float, double2: float) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarVolumeSolid(self) -> float: ... + def getVolumeCorrection2(self) -> float: ... + def setSolidRefFluidPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + +class ComponentSoreideWhitson(ComponentPR): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def clone(self) -> 'ComponentSoreideWhitson': ... + +class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def calc_hCPAdn(self) -> float: ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentSrkCPA': ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidni(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def getXsiteOld(self) -> typing.MutableSequence[float]: ... + def getXsitedT(self) -> typing.MutableSequence[float]: ... + def getXsitedTdT(self) -> typing.MutableSequence[float]: ... + def getXsitedV(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getXsitedni(self, int: int, int2: int) -> float: ... + @typing.overload + def getXsitedni(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def resizeXsitedni(self, int: int) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsite(self, int: int, double: float) -> None: ... + @typing.overload + def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsiteOld(self, int: int, double: float) -> None: ... + def setXsitedT(self, int: int, double: float) -> None: ... + def setXsitedTdT(self, int: int, double: float) -> None: ... + def setXsitedV(self, int: int, double: float) -> None: ... + @typing.overload + def setXsitedni(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setXsitedni(self, int: int, int2: int, double: float) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + +class ComponentSrkPeneloux(ComponentSrk): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentSrkPeneloux': ... + def getVolumeCorrection(self) -> float: ... + +class ComponentSrkvolcor(ComponentSrk): + Cij: typing.MutableSequence[float] = ... + Ci: float = ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def calcc(self) -> float: ... + def calccT(self) -> float: ... + def calccTT(self) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getCi(self) -> float: ... + def getCiT(self) -> float: ... + def getCij(self, int: int) -> float: ... + def getFC(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getc(self) -> float: ... + def getcT(self) -> float: ... + def getcTT(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + +class ComponentUMRCPA(ComponentPR, ComponentCPAInterface): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calc_hCPAdn(self) -> float: ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentUMRCPA': ... + def createComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidni(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def getXsiteOld(self) -> typing.MutableSequence[float]: ... + def getXsitedT(self) -> typing.MutableSequence[float]: ... + def getXsitedTdT(self) -> typing.MutableSequence[float]: ... + def getXsitedV(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getXsitedni(self, int: int, int2: int) -> float: ... + @typing.overload + def getXsitedni(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsite(self, int: int, double: float) -> None: ... + @typing.overload + def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsiteOld(self, int: int, double: float) -> None: ... + def setXsitedT(self, int: int, double: float) -> None: ... + def setXsitedTdT(self, int: int, double: float) -> None: ... + def setXsitedV(self, int: int, double: float) -> None: ... + @typing.overload + def setXsitedni(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setXsitedni(self, int: int, int2: int, double: float) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + +class ComponentCoutinhoWax(ComponentSolid): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcLambdaIJ(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def calcLnGammaUNIQUAC(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calcSublimationEnthalpy(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def fugcoef(self, double: float, double2: float) -> float: ... + def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentElectrolyteCPA(ComponentModifiedFurstElectrolyteEos, ComponentCPAInterface): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calc_hCPAdn(self) -> float: ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentElectrolyteCPA': ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidni(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def getXsiteOld(self) -> typing.MutableSequence[float]: ... + def getXsitedT(self) -> typing.MutableSequence[float]: ... + def getXsitedTdT(self) -> typing.MutableSequence[float]: ... + def getXsitedV(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getXsitedni(self, int: int, int2: int) -> float: ... + @typing.overload + def getXsitedni(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsite(self, int: int, double: float) -> None: ... + @typing.overload + def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsiteOld(self, int: int, double: float) -> None: ... + def setXsitedT(self, int: int, double: float) -> None: ... + def setXsitedTdT(self, int: int, double: float) -> None: ... + def setXsitedV(self, int: int, double: float) -> None: ... + @typing.overload + def setXsitedni(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setXsitedni(self, int: int, int2: int, double: float) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + +class ComponentElectrolyteCPAOld(ComponentModifiedFurstElectrolyteEos, ComponentCPAInterface): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calca(self) -> float: ... + def calcb(self) -> float: ... + def clone(self) -> 'ComponentElectrolyteCPAOld': ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getVolumeCorrection(self) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def getXsiteOld(self) -> typing.MutableSequence[float]: ... + def getXsitedT(self) -> typing.MutableSequence[float]: ... + def getXsitedTdT(self) -> typing.MutableSequence[float]: ... + def getXsitedV(self) -> typing.MutableSequence[float]: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsite(self, int: int, double: float) -> None: ... + @typing.overload + def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsiteOld(self, int: int, double: float) -> None: ... + def setXsitedT(self, int: int, double: float) -> None: ... + def setXsitedTdT(self, int: int, double: float) -> None: ... + def setXsitedV(self, int: int, double: float) -> None: ... + def setXsitedni(self, int: int, int2: int, double: float) -> None: ... + def seta(self, double: float) -> None: ... + def setb(self, double: float) -> None: ... + +class ComponentGEUnifacPSRK(ComponentGEUnifac): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcaij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def calcaijdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def calclnGammak(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calclnGammakdT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + +class ComponentGEUnifacUMRPRU(ComponentGEUnifac): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calcGammaNumericalDerivatives(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def calcSum2Comp(self) -> None: ... + def calcSum2CompdTdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calcTempExpaij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calcUnifacGroupParams(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calcUnifacGroupParamsdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calcaij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def calcaijdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def calcaijdTdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def calclnGammak(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calclnGammakdTdT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calclnGammakdn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int) -> None: ... + @typing.overload + def getGamma(self) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + @typing.overload + def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... + def getaij(self, int: int, int2: int) -> float: ... + def getaijdT(self, int: int, int2: int) -> float: ... + def getaijdTdT(self, int: int, int2: int) -> float: ... + def initPCUNIFACGroups(self) -> None: ... + +class ComponentPCSAFTa(ComponentPCSAFT, ComponentCPAInterface): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def clone(self) -> 'ComponentPCSAFTa': ... + def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getXsite(self) -> typing.MutableSequence[float]: ... + def getXsiteOld(self) -> typing.MutableSequence[float]: ... + def getXsitedT(self) -> typing.MutableSequence[float]: ... + def getXsitedTdT(self) -> typing.MutableSequence[float]: ... + def getXsitedV(self) -> typing.MutableSequence[float]: ... + @typing.overload + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsite(self, int: int, double: float) -> None: ... + @typing.overload + def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def setXsiteOld(self, int: int, double: float) -> None: ... + def setXsitedT(self, int: int, double: float) -> None: ... + def setXsitedTdT(self, int: int, double: float) -> None: ... + def setXsitedV(self, int: int, double: float) -> None: ... + def setXsitedni(self, int: int, int2: int, double: float) -> None: ... + +class ComponentSrkCPAMM(ComponentSrkCPA): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def clone(self) -> 'ComponentSrkCPAMM': ... + def dFBorndN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFBorndNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFBorndNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFBorndNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFDebyeHuckeldN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFDebyeHuckeldNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFDebyeHuckeldNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFDebyeHuckeldNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFShortRangedN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFShortRangedNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFShortRangedNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFShortRangedNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getBornContribution(self) -> float: ... + def getBornRadius(self) -> float: ... + def getBornRadiusMeters(self) -> float: ... + def getIonSolventInteractionEnergy(self, double: float) -> float: ... + def getIonSolventInteractionEnergydT(self) -> float: ... + def getLogFugacityCoefficient(self) -> float: ... + def getU0_iw(self) -> float: ... + def getUT_iw(self) -> float: ... + def hasMMParameters(self) -> bool: ... + def setBornRadius(self, double: float) -> None: ... + def setU0_iw(self, double: float) -> None: ... + def setUT_iw(self, double: float) -> None: ... + +class ComponentSrkCPAs(ComponentSrkCPA): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def clone(self) -> 'ComponentSrkCPAs': ... + +class ComponentUMRCPAvolcor(ComponentUMRCPA): + Cij: typing.MutableSequence[float] = ... + Ci: float = ... + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def calcc(self) -> float: ... + def calccT(self) -> float: ... + def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... + def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getCi(self) -> float: ... + def getCiT(self) -> float: ... + def getCij(self, int: int) -> float: ... + def getc(self) -> float: ... + def getcT(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + +class ComponentWax(ComponentSolid): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def fugcoef(self, double: float, double2: float) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentWaxWilson(ComponentSolid): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def fugcoef(self, double: float, double2: float) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getCharEnergyParamter(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def getWilsonActivityCoefficient(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getWilsonInteractionEnergy(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentWonWax(ComponentSolid): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + @typing.overload + def fugcoef(self, double: float, double2: float) -> float: ... + @typing.overload + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getWonActivityCoefficient(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getWonParam(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getWonVolume(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + +class ComponentElectrolyteCPAstatoil(ComponentElectrolyteCPA): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def clone(self) -> 'ComponentElectrolyteCPAstatoil': ... + +class ComponentElectrolyteCPAAdvanced(ComponentElectrolyteCPAstatoil): + @typing.overload + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def clone(self) -> 'ComponentElectrolyteCPAAdvanced': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component")``. + + Component: typing.Type[Component] + ComponentAmmoniaEos: typing.Type[ComponentAmmoniaEos] + ComponentBNS: typing.Type[ComponentBNS] + ComponentBWRS: typing.Type[ComponentBWRS] + ComponentCPAInterface: typing.Type[ComponentCPAInterface] + ComponentCSPsrk: typing.Type[ComponentCSPsrk] + ComponentCoutinhoWax: typing.Type[ComponentCoutinhoWax] + ComponentDesmukhMather: typing.Type[ComponentDesmukhMather] + ComponentEOSCGEos: typing.Type[ComponentEOSCGEos] + ComponentElectrolyteCPA: typing.Type[ComponentElectrolyteCPA] + ComponentElectrolyteCPAAdvanced: typing.Type[ComponentElectrolyteCPAAdvanced] + ComponentElectrolyteCPAOld: typing.Type[ComponentElectrolyteCPAOld] + ComponentElectrolyteCPAstatoil: typing.Type[ComponentElectrolyteCPAstatoil] + ComponentEos: typing.Type[ComponentEos] + ComponentEosInterface: typing.Type[ComponentEosInterface] + ComponentGE: typing.Type[ComponentGE] + ComponentGEInterface: typing.Type[ComponentGEInterface] + ComponentGENRTLmodifiedHV: typing.Type[ComponentGENRTLmodifiedHV] + ComponentGENRTLmodifiedWS: typing.Type[ComponentGENRTLmodifiedWS] + ComponentGERG2004: typing.Type[ComponentGERG2004] + ComponentGERG2008Eos: typing.Type[ComponentGERG2008Eos] + ComponentGEUnifac: typing.Type[ComponentGEUnifac] + ComponentGEUnifacPSRK: typing.Type[ComponentGEUnifacPSRK] + ComponentGEUnifacUMRPRU: typing.Type[ComponentGEUnifacUMRPRU] + ComponentGEUniquac: typing.Type[ComponentGEUniquac] + ComponentGEUniquacmodifiedHV: typing.Type[ComponentGEUniquacmodifiedHV] + ComponentGEWilson: typing.Type[ComponentGEWilson] + ComponentGeDuanSun: typing.Type[ComponentGeDuanSun] + ComponentGeNRTL: typing.Type[ComponentGeNRTL] + ComponentGePitzer: typing.Type[ComponentGePitzer] + ComponentHydrate: typing.Type[ComponentHydrate] + ComponentHydrateBallard: typing.Type[ComponentHydrateBallard] + ComponentHydrateGF: typing.Type[ComponentHydrateGF] + ComponentHydrateKluda: typing.Type[ComponentHydrateKluda] + ComponentHydratePVTsim: typing.Type[ComponentHydratePVTsim] + ComponentHydrateStatoil: typing.Type[ComponentHydrateStatoil] + ComponentIdealGas: typing.Type[ComponentIdealGas] + ComponentInterface: typing.Type[ComponentInterface] + ComponentKentEisenberg: typing.Type[ComponentKentEisenberg] + ComponentLeachmanEos: typing.Type[ComponentLeachmanEos] + ComponentModifiedFurstElectrolyteEos: typing.Type[ComponentModifiedFurstElectrolyteEos] + ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ComponentModifiedFurstElectrolyteEosMod2004] + ComponentPCSAFT: typing.Type[ComponentPCSAFT] + ComponentPCSAFTa: typing.Type[ComponentPCSAFTa] + ComponentPR: typing.Type[ComponentPR] + ComponentPRvolcor: typing.Type[ComponentPRvolcor] + ComponentPrCPA: typing.Type[ComponentPrCPA] + ComponentRK: typing.Type[ComponentRK] + ComponentSAFTVRMie: typing.Type[ComponentSAFTVRMie] + ComponentSolid: typing.Type[ComponentSolid] + ComponentSoreideWhitson: typing.Type[ComponentSoreideWhitson] + ComponentSpanWagnerEos: typing.Type[ComponentSpanWagnerEos] + ComponentSrk: typing.Type[ComponentSrk] + ComponentSrkCPA: typing.Type[ComponentSrkCPA] + ComponentSrkCPAMM: typing.Type[ComponentSrkCPAMM] + ComponentSrkCPAs: typing.Type[ComponentSrkCPAs] + ComponentSrkPeneloux: typing.Type[ComponentSrkPeneloux] + ComponentSrkvolcor: typing.Type[ComponentSrkvolcor] + ComponentTST: typing.Type[ComponentTST] + ComponentUMRCPA: typing.Type[ComponentUMRCPA] + ComponentUMRCPAvolcor: typing.Type[ComponentUMRCPAvolcor] + ComponentVegaEos: typing.Type[ComponentVegaEos] + ComponentWater: typing.Type[ComponentWater] + ComponentWax: typing.Type[ComponentWax] + ComponentWaxWilson: typing.Type[ComponentWaxWilson] + ComponentWonWax: typing.Type[ComponentWonWax] + attractiveeosterm: jneqsim.thermo.component.attractiveeosterm.__module_protocol__ + repulsiveeosterm: jneqsim.thermo.component.repulsiveeosterm.__module_protocol__ diff --git a/src/jneqsim/thermo/component/attractiveeosterm/__init__.pyi b/src/jneqsim/thermo/component/attractiveeosterm/__init__.pyi new file mode 100644 index 00000000..a644198b --- /dev/null +++ b/src/jneqsim/thermo/component/attractiveeosterm/__init__.pyi @@ -0,0 +1,329 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.thermo.component +import typing + + + +class AttractiveTermInterface(java.lang.Cloneable, java.io.Serializable): + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermInterface': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def getParameters(self, int: int) -> float: ... + def getm(self) -> float: ... + def init(self) -> None: ... + def setParameters(self, int: int, double: float) -> None: ... + def setm(self, double: float) -> None: ... + +class AttractiveTermBaseClass(AttractiveTermInterface): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermBaseClass': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def equals(self, object: typing.Any) -> bool: ... + def getParameters(self, int: int) -> float: ... + def getm(self) -> float: ... + def setParameters(self, int: int, double: float) -> None: ... + def setm(self, double: float) -> None: ... + +class AttractiveTermMollerup(AttractiveTermBaseClass): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermMollerup': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermPr(AttractiveTermBaseClass): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermPr': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + def setm(self, double: float) -> None: ... + +class AttractiveTermRk(AttractiveTermBaseClass): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermRk': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermSchwartzentruber': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermSrk(AttractiveTermBaseClass): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermSrk': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + def setm(self, double: float) -> None: ... + +class AttractiveTermTwuCoon(AttractiveTermBaseClass): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermTwuCoon': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermTwuCoonParam': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermTwuCoonStatoil': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermCPAstatoil(AttractiveTermSrk): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermCPAstatoil': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermGERG(AttractiveTermPr): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def AttractiveTermGERG(self) -> typing.Any: ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def diffaT(self, double: float) -> float: ... + def diffalphaTGERG(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaTGERG(self, double: float) -> float: ... + +class AttractiveTermMatCop(AttractiveTermSrk): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermMatCop': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermMatCop5PRUMR(AttractiveTermPr): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermMatCop5PRUMR': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + +class AttractiveTermMatCopPR(AttractiveTermPr): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermMatCopPR': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + +class AttractiveTermMatCopPRUMR(AttractiveTermPr): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermMatCopPRUMR': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + +class AttractiveTermPr1978(AttractiveTermPr): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def clone(self) -> 'AttractiveTermPr1978': ... + def init(self) -> None: ... + def setm(self, double: float) -> None: ... + +class AttractiveTermPrGassem2001(AttractiveTermPr): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermPrGassem2001': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermPrLeeKesler(AttractiveTermPr): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def clone(self) -> 'AttractiveTermPrLeeKesler': ... + def init(self) -> None: ... + def setm(self, double: float) -> None: ... + +class AttractiveTermTwu(AttractiveTermSrk): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermTwu': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermUMRPRU(AttractiveTermPr): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def clone(self) -> 'AttractiveTermUMRPRU': ... + def init(self) -> None: ... + +class AtractiveTermMatCopPRUMRNew(AttractiveTermMatCopPRUMR): + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + @typing.overload + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AtractiveTermMatCopPRUMRNew': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + +class AttractiveTermPrDanesh(AttractiveTermPr1978): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermPrDanesh': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def init(self) -> None: ... + +class AttractiveTermPrDelft1998(AttractiveTermPr1978): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def aT(self, double: float) -> float: ... + def alpha(self, double: float) -> float: ... + def clone(self) -> 'AttractiveTermPrDelft1998': ... + def diffaT(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + +class AttractiveTermSoreideWhitson(AttractiveTermPr1978): + def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def alpha(self, double: float) -> float: ... + def diffalphaT(self, double: float) -> float: ... + def diffdiffalphaT(self, double: float) -> float: ... + def setSalinityFromPhase(self, double: float) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component.attractiveeosterm")``. + + AtractiveTermMatCopPRUMRNew: typing.Type[AtractiveTermMatCopPRUMRNew] + AttractiveTermBaseClass: typing.Type[AttractiveTermBaseClass] + AttractiveTermCPAstatoil: typing.Type[AttractiveTermCPAstatoil] + AttractiveTermGERG: typing.Type[AttractiveTermGERG] + AttractiveTermInterface: typing.Type[AttractiveTermInterface] + AttractiveTermMatCop: typing.Type[AttractiveTermMatCop] + AttractiveTermMatCop5PRUMR: typing.Type[AttractiveTermMatCop5PRUMR] + AttractiveTermMatCopPR: typing.Type[AttractiveTermMatCopPR] + AttractiveTermMatCopPRUMR: typing.Type[AttractiveTermMatCopPRUMR] + AttractiveTermMollerup: typing.Type[AttractiveTermMollerup] + AttractiveTermPr: typing.Type[AttractiveTermPr] + AttractiveTermPr1978: typing.Type[AttractiveTermPr1978] + AttractiveTermPrDanesh: typing.Type[AttractiveTermPrDanesh] + AttractiveTermPrDelft1998: typing.Type[AttractiveTermPrDelft1998] + AttractiveTermPrGassem2001: typing.Type[AttractiveTermPrGassem2001] + AttractiveTermPrLeeKesler: typing.Type[AttractiveTermPrLeeKesler] + AttractiveTermRk: typing.Type[AttractiveTermRk] + AttractiveTermSchwartzentruber: typing.Type[AttractiveTermSchwartzentruber] + AttractiveTermSoreideWhitson: typing.Type[AttractiveTermSoreideWhitson] + AttractiveTermSrk: typing.Type[AttractiveTermSrk] + AttractiveTermTwu: typing.Type[AttractiveTermTwu] + AttractiveTermTwuCoon: typing.Type[AttractiveTermTwuCoon] + AttractiveTermTwuCoonParam: typing.Type[AttractiveTermTwuCoonParam] + AttractiveTermTwuCoonStatoil: typing.Type[AttractiveTermTwuCoonStatoil] + AttractiveTermUMRPRU: typing.Type[AttractiveTermUMRPRU] diff --git a/src/jneqsim/thermo/component/repulsiveeosterm/__init__.pyi b/src/jneqsim/thermo/component/repulsiveeosterm/__init__.pyi new file mode 100644 index 00000000..e32f2399 --- /dev/null +++ b/src/jneqsim/thermo/component/repulsiveeosterm/__init__.pyi @@ -0,0 +1,18 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import typing + + + +class RepulsiveTermInterface: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component.repulsiveeosterm")``. + + RepulsiveTermInterface: typing.Type[RepulsiveTermInterface] diff --git a/src/jneqsim/thermo/mixingrule/__init__.pyi b/src/jneqsim/thermo/mixingrule/__init__.pyi new file mode 100644 index 00000000..e69289e6 --- /dev/null +++ b/src/jneqsim/thermo/mixingrule/__init__.pyi @@ -0,0 +1,478 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import neqsim +import jneqsim.thermo +import jneqsim.thermo.component +import jneqsim.thermo.phase +import jneqsim.thermo.system +import typing + + + +class BIPEstimationMethod(java.lang.Enum['BIPEstimationMethod']): + CHUEH_PRAUSNITZ: typing.ClassVar['BIPEstimationMethod'] = ... + KATZ_FIROOZABADI: typing.ClassVar['BIPEstimationMethod'] = ... + DEFAULT: typing.ClassVar['BIPEstimationMethod'] = ... + _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]) -> 'BIPEstimationMethod': ... + @staticmethod + def values() -> typing.MutableSequence['BIPEstimationMethod']: ... + +class BIPEstimator: + DEFAULT_CHUEH_PRAUSNITZ_EXPONENT: typing.ClassVar[float] = ... + @typing.overload + @staticmethod + def applyEstimatedBIPs(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod) -> None: ... + @typing.overload + @staticmethod + def applyEstimatedBIPs(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod, boolean: bool) -> None: ... + @staticmethod + def applyMethaneC7PlusBIPs(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + @staticmethod + def calculateBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @staticmethod + def canEstimateMercuryHydrocarbonKij(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> bool: ... + @staticmethod + def classifyHydrocarbonType(componentInterface: jneqsim.thermo.component.ComponentInterface) -> 'BIPEstimator.MercuryHydrocarbonType': ... + @staticmethod + def estimate(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, bIPEstimationMethod: BIPEstimationMethod) -> float: ... + @typing.overload + @staticmethod + def estimateChuehPrausnitz(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> float: ... + @typing.overload + @staticmethod + def estimateChuehPrausnitz(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, double: float) -> float: ... + @staticmethod + def estimateKatzFiroozabadi(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> float: ... + @staticmethod + def estimateMercuryHydrocarbonKij(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, boolean: bool) -> float: ... + @staticmethod + def printBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + class MercuryHydrocarbonType(java.lang.Enum['BIPEstimator.MercuryHydrocarbonType']): + PARAFFINIC: typing.ClassVar['BIPEstimator.MercuryHydrocarbonType'] = ... + NAPHTHENIC: typing.ClassVar['BIPEstimator.MercuryHydrocarbonType'] = ... + AROMATIC: typing.ClassVar['BIPEstimator.MercuryHydrocarbonType'] = ... + _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]) -> 'BIPEstimator.MercuryHydrocarbonType': ... + @staticmethod + def values() -> typing.MutableSequence['BIPEstimator.MercuryHydrocarbonType']: ... + +class MixingRuleHandler(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): + def __init__(self): ... + def getName(self) -> java.lang.String: ... + +class MixingRuleTypeInterface: + def getValue(self) -> int: ... + +class MixingRulesInterface(java.io.Serializable, java.lang.Cloneable): + def getName(self) -> java.lang.String: ... + +class CPAMixingRuleType(java.lang.Enum['CPAMixingRuleType'], MixingRuleTypeInterface): + CPA_RADOCH: typing.ClassVar['CPAMixingRuleType'] = ... + PCSAFTA_RADOCH: typing.ClassVar['CPAMixingRuleType'] = ... + @staticmethod + def byName(string: typing.Union[java.lang.String, str]) -> 'CPAMixingRuleType': ... + @staticmethod + def byValue(int: int) -> 'CPAMixingRuleType': ... + def getValue(self) -> int: ... + _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]) -> 'CPAMixingRuleType': ... + @staticmethod + def values() -> typing.MutableSequence['CPAMixingRuleType']: ... + +class CPAMixingRulesInterface(MixingRulesInterface): + def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltaNog(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadN(self, int: int, int2: int, int3: int, int4: int, int5: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int6: int) -> float: ... + def calcDeltadT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadTdT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadTdV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcXi(self, intArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[int]]], jpype.JArray], intArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[int]]]], jpype.JArray], int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + +class ElectrolyteMixingRulesInterface(MixingRulesInterface): + def calcW(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWTT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + @typing.overload + def calcWij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def calcWij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def getWij(self, int: int, int2: int, double: float) -> float: ... + def getWijParameter(self, int: int, int2: int) -> float: ... + def getWijT(self, int: int, int2: int, double: float) -> float: ... + def getWijTT(self, int: int, int2: int, double: float) -> float: ... + def gettWijT1Parameter(self, int: int, int2: int) -> float: ... + def gettWijT2Parameter(self, int: int, int2: int) -> float: ... + def setWijParameter(self, int: int, int2: int, double: float) -> None: ... + def setWijT1Parameter(self, int: int, int2: int, double: float) -> None: ... + def setWijT2Parameter(self, int: int, int2: int, double: float) -> None: ... + +class EosMixingRuleType(java.lang.Enum['EosMixingRuleType'], MixingRuleTypeInterface): + NO: typing.ClassVar['EosMixingRuleType'] = ... + CLASSIC: typing.ClassVar['EosMixingRuleType'] = ... + CLASSIC_HV: typing.ClassVar['EosMixingRuleType'] = ... + HV: typing.ClassVar['EosMixingRuleType'] = ... + WS: typing.ClassVar['EosMixingRuleType'] = ... + CPA_MIX: typing.ClassVar['EosMixingRuleType'] = ... + CLASSIC_T: typing.ClassVar['EosMixingRuleType'] = ... + CLASSIC_T_CPA: typing.ClassVar['EosMixingRuleType'] = ... + CLASSIC_TX_CPA: typing.ClassVar['EosMixingRuleType'] = ... + SOREIDE_WHITSON: typing.ClassVar['EosMixingRuleType'] = ... + CLASSIC_T2: typing.ClassVar['EosMixingRuleType'] = ... + @staticmethod + def byName(string: typing.Union[java.lang.String, str]) -> 'EosMixingRuleType': ... + @staticmethod + def byValue(int: int) -> 'EosMixingRuleType': ... + def getValue(self) -> int: ... + _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]) -> 'EosMixingRuleType': ... + @staticmethod + def values() -> typing.MutableSequence['EosMixingRuleType']: ... + +class EosMixingRulesInterface(MixingRulesInterface): + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcB(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getBinaryInteractionParameter(self, int: int, int2: int) -> float: ... + def getBinaryInteractionParameterT1(self, int: int, int2: int) -> float: ... + def getBinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBmixType(self) -> int: ... + def getGEPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameterT1(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameterij(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameterji(self, int: int, int2: int, double: float) -> None: ... + def setBmixType(self, int: int) -> None: ... + def setCalcEOSInteractionParameters(self, boolean: bool) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setnEOSkij(self, double: float) -> None: ... + +class HVMixingRulesInterface(EosMixingRulesInterface): + def getHVDijParameter(self, int: int, int2: int) -> float: ... + def getHVDijTParameter(self, int: int, int2: int) -> float: ... + def getHValphaParameter(self, int: int, int2: int) -> float: ... + def getKijWongSandler(self, int: int, int2: int) -> float: ... + def setClassicOrHV(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setHVDijParameter(self, int: int, int2: int, double: float) -> None: ... + def setHVDijTParameter(self, int: int, int2: int, double: float) -> None: ... + def setHValphaParameter(self, int: int, int2: int, double: float) -> None: ... + def setKijWongSandler(self, int: int, int2: int, double: float) -> None: ... + +class CPAMixingRuleHandler(MixingRuleHandler): + def __init__(self): ... + def clone(self) -> 'CPAMixingRuleHandler': ... + def getInteractionMatrix(self, intArray: typing.Union[typing.List[int], jpype.JArray], intArray2: typing.Union[typing.List[int], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + @typing.overload + def getMixingRule(self, int: int) -> CPAMixingRulesInterface: ... + @typing.overload + def getMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> CPAMixingRulesInterface: ... + @typing.overload + def getMixingRule(self, mixingRuleTypeInterface: typing.Union[MixingRuleTypeInterface, typing.Callable]) -> CPAMixingRulesInterface: ... + def resetMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> MixingRulesInterface: ... + def setAssociationScheme(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def setCrossAssociationScheme(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + class CPA_Radoch(jneqsim.thermo.mixingrule.CPAMixingRuleHandler.CPA_Radoch_base): + def __init__(self, cPAMixingRuleHandler: 'CPAMixingRuleHandler'): ... + @typing.overload + def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + @typing.overload + def calcDelta(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcDeltaNog(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadN(self, int: int, int2: int, int3: int, int4: int, int5: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int6: int) -> float: ... + def calcDeltadT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadTdT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadTdV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def getCrossAssociationEnergy(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getCrossAssociationVolume(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getName(self) -> java.lang.String: ... + class CPA_Radoch_base(CPAMixingRulesInterface): + def __init__(self, cPAMixingRuleHandler: 'CPAMixingRuleHandler'): ... + def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltaNog(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadN(self, int: int, int2: int, int3: int, int4: int, int5: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int6: int) -> float: ... + def calcDeltadT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadTdT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadTdV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDeltadV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + @typing.overload + def calcXi(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def calcXi(self, intArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[int]]], jpype.JArray], intArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[int]]]], jpype.JArray], int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + class PCSAFTa_Radoch(jneqsim.thermo.mixingrule.CPAMixingRuleHandler.CPA_Radoch): + def __init__(self, cPAMixingRuleHandler: 'CPAMixingRuleHandler'): ... + @typing.overload + def calcDelta(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + @typing.overload + def getCrossAssociationEnergy(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def getCrossAssociationEnergy(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + @typing.overload + def getCrossAssociationVolume(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def getCrossAssociationVolume(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + +class EosMixingRuleHandler(MixingRuleHandler): + mixingRuleGEModel: java.lang.String = ... + Atot: float = ... + Btot: float = ... + Ai: float = ... + Bi: float = ... + A: float = ... + B: float = ... + intparam: typing.MutableSequence[typing.MutableSequence[float]] = ... + intparamT: typing.MutableSequence[typing.MutableSequence[float]] = ... + WSintparam: typing.MutableSequence[typing.MutableSequence[float]] = ... + intparamij: typing.MutableSequence[typing.MutableSequence[float]] = ... + intparamji: typing.MutableSequence[typing.MutableSequence[float]] = ... + intparamTType: typing.MutableSequence[typing.MutableSequence[int]] = ... + nEOSkij: float = ... + calcEOSInteractionParameters: typing.ClassVar[bool] = ... + def __init__(self): ... + def clone(self) -> 'EosMixingRuleHandler': ... + def displayInteractionCoefficients(self, string: typing.Union[java.lang.String, str], phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getClassicOrHV(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getClassicOrWS(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getElectrolyteMixingRule(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> ElectrolyteMixingRulesInterface: ... + def getHVDij(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHVDijT(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHValpha(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def getMixingRule(self, int: int) -> EosMixingRulesInterface: ... + @typing.overload + def getMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> EosMixingRulesInterface: ... + def getMixingRuleName(self) -> java.lang.String: ... + def getNRTLDij(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNRTLDijT(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNRTLalpha(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSRKbinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getWSintparam(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def isCalcEOSInteractionParameters(self) -> bool: ... + 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: ... + def setMixingRuleName(self, string: typing.Union[java.lang.String, str]) -> None: ... + class ClassicSRK(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicVdW): + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def clone(self) -> 'EosMixingRuleHandler.ClassicSRK': ... + def getkij(self, double: float, int: int, int2: int) -> float: ... + class ClassicSRKT(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK): + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', int: int): ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiTT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def clone(self) -> 'EosMixingRuleHandler.ClassicSRKT': ... + def getkij(self, double: float, int: int, int2: int) -> float: ... + def getkijdT(self, double: float, int: int, int2: int) -> float: ... + def getkijdTdT(self, double: float, int: int, int2: int) -> float: ... + class ClassicSRKT2(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRKT): + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + def clone(self) -> 'EosMixingRuleHandler.ClassicSRKT': ... + def getkij(self, double: float, int: int, int2: int) -> float: ... + def getkijdT(self, double: float, int: int, int2: int) -> float: ... + def getkijdTdT(self, double: float, int: int, int2: int) -> float: ... + class ClassicSRKT2x(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRKT2): + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def getkij(self, double: float, int: int, int2: int) -> float: ... + @typing.overload + def getkij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, int: int, int2: int) -> float: ... + def getkijdn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, int2: int, int3: int) -> float: ... + def getkijdndn(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, int3: int, int4: int) -> float: ... + class ClassicVdW(EosMixingRulesInterface): + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcB(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBFull(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBi2(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBiFull(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def clone(self) -> 'EosMixingRuleHandler.ClassicVdW': ... + def equals(self, object: typing.Any) -> bool: ... + def getA(self) -> float: ... + def getB(self) -> float: ... + def getBinaryInteractionParameter(self, int: int, int2: int) -> float: ... + def getBinaryInteractionParameterT1(self, int: int, int2: int) -> float: ... + def getBinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBmixType(self) -> int: ... + def getGEPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getName(self) -> java.lang.String: ... + def getbij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def prettyPrintKij(self) -> None: ... + def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameterT1(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameterij(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameterji(self, int: int, int2: int, double: float) -> None: ... + def setBmixType(self, int: int) -> None: ... + def setCalcEOSInteractionParameters(self, boolean: bool) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setnEOSkij(self, double: float) -> None: ... + class ElectrolyteMixRule(ElectrolyteMixingRulesInterface): + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def calcW(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWTT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + @typing.overload + def calcWij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + @typing.overload + def calcWij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def getName(self) -> java.lang.String: ... + def getWij(self, int: int, int2: int, double: float) -> float: ... + def getWijParameter(self, int: int, int2: int) -> float: ... + def getWijT(self, int: int, int2: int, double: float) -> float: ... + def getWijTT(self, int: int, int2: int, double: float) -> float: ... + def gettWijT1Parameter(self, int: int, int2: int) -> float: ... + def gettWijT2Parameter(self, int: int, int2: int) -> float: ... + def isUsePredictiveModel(self) -> bool: ... + def setUsePredictiveModel(self, boolean: bool) -> None: ... + def setWijParameter(self, int: int, int2: int, double: float) -> None: ... + def setWijT1Parameter(self, int: int, int2: int, double: float) -> None: ... + def setWijT2Parameter(self, int: int, int2: int, double: float) -> None: ... + class SRKHuronVidal(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK, HVMixingRulesInterface): + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def equals(self, object: typing.Any) -> bool: ... + def getHVDijParameter(self, int: int, int2: int) -> float: ... + def getHVDijTParameter(self, int: int, int2: int) -> float: ... + def getHValphaParameter(self, int: int, int2: int) -> float: ... + def getKijWongSandler(self, int: int, int2: int) -> float: ... + def setClassicOrHV(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setHVDijParameter(self, int: int, int2: int, double: float) -> None: ... + def setHVDijTParameter(self, int: int, int2: int, double: float) -> None: ... + def setHValphaParameter(self, int: int, int2: int, double: float) -> None: ... + def setKijWongSandler(self, int: int, int2: int, double: float) -> None: ... + class SRKHuronVidal2(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK, HVMixingRulesInterface): + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getGEPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getHVDijParameter(self, int: int, int2: int) -> float: ... + def getHVDijTParameter(self, int: int, int2: int) -> float: ... + def getHValphaParameter(self, int: int, int2: int) -> float: ... + def getKijWongSandler(self, int: int, int2: int) -> float: ... + def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> None: ... + def setClassicOrHV(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setHVDijParameter(self, int: int, int2: int, double: float) -> None: ... + def setHVDijTParameter(self, int: int, int2: int, double: float) -> None: ... + def setHValphaParameter(self, int: int, int2: int, double: float) -> None: ... + def setKijWongSandler(self, int: int, int2: int, double: float) -> None: ... + class WhitsonSoreideMixingRule(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK): + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getkijWhitsonSoreideAqueous(self, componentEosInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentEosInterface], jpype.JArray], double: float, double2: float, int: int, int2: int) -> float: ... + class WongSandlerMixingRule(jneqsim.thermo.mixingrule.EosMixingRuleHandler.SRKHuronVidal2): + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... + @typing.overload + def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... + def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcB(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBTT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.mixingrule")``. + + BIPEstimationMethod: typing.Type[BIPEstimationMethod] + BIPEstimator: typing.Type[BIPEstimator] + CPAMixingRuleHandler: typing.Type[CPAMixingRuleHandler] + CPAMixingRuleType: typing.Type[CPAMixingRuleType] + CPAMixingRulesInterface: typing.Type[CPAMixingRulesInterface] + ElectrolyteMixingRulesInterface: typing.Type[ElectrolyteMixingRulesInterface] + EosMixingRuleHandler: typing.Type[EosMixingRuleHandler] + EosMixingRuleType: typing.Type[EosMixingRuleType] + EosMixingRulesInterface: typing.Type[EosMixingRulesInterface] + HVMixingRulesInterface: typing.Type[HVMixingRulesInterface] + MixingRuleHandler: typing.Type[MixingRuleHandler] + MixingRuleTypeInterface: typing.Type[MixingRuleTypeInterface] + MixingRulesInterface: typing.Type[MixingRulesInterface] diff --git a/src/jneqsim/thermo/phase/__init__.pyi b/src/jneqsim/thermo/phase/__init__.pyi new file mode 100644 index 00000000..7701d6c3 --- /dev/null +++ b/src/jneqsim/thermo/phase/__init__.pyi @@ -0,0 +1,3503 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.physicalproperties +import jneqsim.physicalproperties.system +import jneqsim.thermo +import jneqsim.thermo.component +import jneqsim.thermo.mixingrule +import jneqsim.thermo.system +import jneqsim.thermo.util.gerg +import org.netlib.util +import typing + + + +class CPAContribution(java.io.Serializable): + def __init__(self, phaseEos: 'PhaseEos'): ... + @staticmethod + def calcG(double: float, double2: float) -> float: ... + @staticmethod + def calcLngV(double: float, double2: float) -> float: ... + def calc_g(self) -> float: ... + def calc_lngV(self) -> float: ... + def calc_lngVV(self) -> float: ... + def calc_lngVVV(self) -> float: ... + +class PhaseGEInterface: + def getExcessGibbsEnergy(self, phaseInterface: 'PhaseInterface', int: int, double: float, double2: float, phaseType: 'PhaseType') -> float: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + +class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): + def FB(self) -> float: ... + def FBB(self) -> float: ... + def FBD(self) -> float: ... + def FBT(self) -> float: ... + def FBV(self) -> float: ... + def FD(self) -> float: ... + def FDT(self) -> float: ... + def FDV(self) -> float: ... + def FT(self) -> float: ... + def FTT(self) -> float: ... + def FTV(self) -> float: ... + def FV(self) -> float: ... + def FVV(self) -> float: ... + def Fn(self) -> float: ... + def FnB(self) -> float: ... + def FnV(self) -> float: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addMoles(self, int: int, double: float) -> None: ... + @typing.overload + def addMolesChemReac(self, int: int, double: float, double2: float) -> None: ... + @typing.overload + def addMolesChemReac(self, int: int, double: float) -> None: ... + def calcA(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... + def calcAT(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... + def calcAi(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int3: int) -> float: ... + def calcB(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... + def calcBi(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... + def calcBij(self, int: int, int2: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int3: int) -> float: ... + def calcMolarVolume(self, boolean: bool) -> None: ... + def calcR(self) -> float: ... + def clone(self) -> 'PhaseInterface': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def fBB(self) -> float: ... + def fBV(self) -> float: ... + def fVV(self) -> float: ... + def fb(self) -> float: ... + def fv(self) -> float: ... + def gBB(self) -> float: ... + def gBV(self) -> float: ... + def gV(self) -> float: ... + def gVV(self) -> float: ... + def gb(self) -> float: ... + def getA(self) -> float: ... + def getAT(self) -> float: ... + def getATT(self) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficientSymetric(self, int: int) -> float: ... + def getActivityCoefficientUnSymetric(self, int: int) -> float: ... + def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + @typing.overload + def getAlpha0_Leachman(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + @typing.overload + def getAlpha0_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_Vega(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_EOSCG(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_Vega(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAntoineVaporPressure(self, double: float) -> float: ... + def getB(self) -> float: ... + def getBeta(self) -> float: ... + @typing.overload + def getComponent(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... + @typing.overload + def getComponent(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getComponentWithIndex(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getComposition(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getCompressibilityX(self) -> float: ... + def getCompressibilityY(self) -> float: ... + def getCorrectedVolume(self) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCp0(self) -> float: ... + def getCpres(self) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_AGA8(self) -> float: ... + def getDensity_EOSCG(self) -> float: ... + def getDensity_GERG2008(self) -> float: ... + @typing.overload + def getDensity_Leachman(self) -> float: ... + @typing.overload + def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_Vega(self) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEnthalpydP(self) -> float: ... + def getEnthalpydT(self) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropydP(self) -> float: ... + def getEntropydT(self) -> float: ... + def getExcessGibbsEnergy(self) -> float: ... + def getExcessGibbsEnergySymetric(self) -> float: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getFugacity(self, int: int) -> float: ... + @typing.overload + def getFugacity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGamma(self) -> float: ... + def getGamma2(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getGresTP(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + def getHresTP(self) -> float: ... + def getInfiniteDiluteFugacity(self, int: int, int2: int) -> float: ... + def getInitType(self) -> int: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getIsobaricThermalExpansivity(self) -> float: ... + def getIsothermalCompressibility(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKappa(self) -> float: ... + def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getLogInfiniteDiluteFugacity(self, int: int) -> float: ... + @typing.overload + def getLogInfiniteDiluteFugacity(self, int: int, int2: int) -> float: ... + def getLogPureComponentFugacity(self, int: int) -> float: ... + def getMass(self) -> float: ... + def getMeanIonicActivity(self, int: int, int2: int) -> float: ... + def getMixGibbsEnergy(self) -> float: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRulesInterface: ... + def getMixingRuleType(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getModelName(self) -> java.lang.String: ... + def getMolalMeanIonicActivity(self, int: int, int2: int) -> float: ... + def getMolarComposition(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarMass(self) -> float: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMoleFraction(self) -> float: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfIonicComponents(self) -> int: ... + def getNumberOfMolecularComponents(self) -> int: ... + def getNumberOfMolesInPhase(self) -> float: ... + def getOsmoticCoefficient(self, int: int) -> float: ... + def getOsmoticCoefficientOfWater(self) -> float: ... + def getOsmoticCoefficientOfWaterMolality(self) -> float: ... + def getPhase(self) -> 'PhaseInterface': ... + def getPhaseFraction(self) -> float: ... + def getPhaseTypeName(self) -> java.lang.String: ... + def getPhysicalProperties(self) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel(self) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProperties_EOSCG(self) -> typing.MutableSequence[float]: ... + def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getProperties_Leachman(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getProperties_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getProperties_Vega(self) -> typing.MutableSequence[float]: ... + def getPseudoCriticalPressure(self) -> float: ... + def getPseudoCriticalTemperature(self) -> float: ... + @typing.overload + def getPureComponentFugacity(self, int: int) -> float: ... + @typing.overload + def getPureComponentFugacity(self, int: int, boolean: bool) -> float: ... + @typing.overload + def getRefPhase(self, int: int) -> 'PhaseInterface': ... + @typing.overload + def getRefPhase(self) -> typing.MutableSequence['PhaseInterface']: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSresTP(self) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalVolume(self) -> float: ... + def getType(self) -> 'PhaseType': ... + @typing.overload + def getViscosity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self) -> float: ... + @typing.overload + def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getWtFrac(self, int: int) -> float: ... + @typing.overload + def getWtFrac(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWtFraction(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getWtFractionOfWaxFormingComponents(self) -> float: ... + def getZ(self) -> float: ... + def getZvolcorr(self) -> float: ... + def geta(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... + def getb(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... + def getcomponentArray(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getdPdTVn(self) -> float: ... + def getdPdVTn(self) -> float: ... + def getdPdrho(self) -> float: ... + def getdrhodN(self) -> float: ... + def getdrhodP(self) -> float: ... + def getdrhodT(self) -> float: ... + def getg(self) -> float: ... + @typing.overload + def getpH(self) -> float: ... + @typing.overload + def getpH(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + @typing.overload + def hasComponent(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasIons(self) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def hasTBPFraction(self) -> bool: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: 'PhaseType', double2: float) -> None: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def initPhysicalProperties(self) -> None: ... + @typing.overload + def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + @typing.overload + def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initRefPhases(self, boolean: bool) -> None: ... + def isAsphalteneRich(self) -> bool: ... + def isConstantPhaseVolume(self) -> bool: ... + def isMixingRuleDefined(self) -> bool: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: 'PhaseType') -> float: ... + def normalize(self) -> None: ... + def removeComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def resetPhysicalProperties(self) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + def setBeta(self, double: float) -> None: ... + def setComponentArray(self, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> None: ... + def setConstantPhaseVolume(self, boolean: bool) -> None: ... + def setEmptyFluid(self) -> None: ... + def setInitType(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMolarVolume(self, double: float) -> None: ... + def setMoleFractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setNumberOfComponents(self, int: int) -> None: ... + def setParams(self, phaseInterface: 'PhaseInterface', 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setPhaseTypeName(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPhysicalProperties(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + @typing.overload + def setPhysicalProperties(self) -> None: ... + def setPhysicalPropertyModel(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPpm(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPressure(self, double: float) -> None: ... + def setProperties(self, phaseInterface: 'PhaseInterface') -> None: ... + @typing.overload + def setRefPhase(self, int: int, phaseInterface: 'PhaseInterface') -> None: ... + @typing.overload + def setRefPhase(self, phaseInterfaceArray: typing.Union[typing.List['PhaseInterface'], jpype.JArray]) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setTotalVolume(self, double: float) -> None: ... + def setType(self, phaseType: 'PhaseType') -> None: ... + @typing.overload + def useVolumeCorrection(self) -> bool: ... + @typing.overload + def useVolumeCorrection(self, boolean: bool) -> None: ... + +class PhaseType(java.lang.Enum['PhaseType']): + LIQUID: typing.ClassVar['PhaseType'] = ... + GAS: typing.ClassVar['PhaseType'] = ... + OIL: typing.ClassVar['PhaseType'] = ... + AQUEOUS: typing.ClassVar['PhaseType'] = ... + HYDRATE: typing.ClassVar['PhaseType'] = ... + WAX: typing.ClassVar['PhaseType'] = ... + SOLID: typing.ClassVar['PhaseType'] = ... + SOLIDCOMPLEX: typing.ClassVar['PhaseType'] = ... + ASPHALTENE: typing.ClassVar['PhaseType'] = ... + LIQUID_ASPHALTENE: typing.ClassVar['PhaseType'] = ... + @staticmethod + def byDesc(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... + @staticmethod + def byName(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... + @staticmethod + def byValue(int: int) -> 'PhaseType': ... + def getDesc(self) -> java.lang.String: ... + def getValue(self) -> int: ... + _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]) -> 'PhaseType': ... + @staticmethod + def values() -> typing.MutableSequence['PhaseType']: ... + +class StateOfMatter(java.lang.Enum['StateOfMatter']): + GAS: typing.ClassVar['StateOfMatter'] = ... + LIQUID: typing.ClassVar['StateOfMatter'] = ... + SOLID: typing.ClassVar['StateOfMatter'] = ... + @staticmethod + def fromPhaseType(phaseType: PhaseType) -> 'StateOfMatter': ... + @staticmethod + def isAsphaltene(phaseType: PhaseType) -> bool: ... + @staticmethod + def isGas(phaseType: PhaseType) -> bool: ... + @staticmethod + def isLiquid(phaseType: PhaseType) -> bool: ... + @staticmethod + def isSolid(phaseType: PhaseType) -> bool: ... + _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]) -> 'StateOfMatter': ... + @staticmethod + def values() -> typing.MutableSequence['StateOfMatter']: ... + +class Phase(PhaseInterface): + numberOfComponents: int = ... + componentArray: typing.MutableSequence[jneqsim.thermo.component.ComponentInterface] = ... + calcMolarVolume: bool = ... + physicalPropertyHandler: jneqsim.physicalproperties.PhysicalPropertyHandler = ... + chemSyst: bool = ... + thermoPropertyModelName: java.lang.String = ... + numberOfMolesInPhase: float = ... + def __init__(self): ... + def FB(self) -> float: ... + def FBB(self) -> float: ... + def FBD(self) -> float: ... + def FBT(self) -> float: ... + def FBV(self) -> float: ... + def FD(self) -> float: ... + def FDT(self) -> float: ... + def FDV(self) -> float: ... + def FT(self) -> float: ... + def FTT(self) -> float: ... + def FTV(self) -> float: ... + def FV(self) -> float: ... + def FVV(self) -> float: ... + def Fn(self) -> float: ... + def FnB(self) -> float: ... + def FnV(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addMoles(self, int: int, double: float) -> None: ... + @typing.overload + def addMolesChemReac(self, int: int, double: float) -> None: ... + @typing.overload + def addMolesChemReac(self, int: int, double: float, double2: float) -> None: ... + @typing.overload + def calcA(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + @typing.overload + def calcA(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcB(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcDiElectricConstant(self, double: float) -> float: ... + def calcDiElectricConstantdT(self, double: float) -> float: ... + def calcDiElectricConstantdTdT(self, double: float) -> float: ... + def calcMolarVolume(self, boolean: bool) -> None: ... + def calcR(self) -> float: ... + def clone(self) -> 'Phase': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def equals(self, object: typing.Any) -> bool: ... + def fBB(self) -> float: ... + def fBV(self) -> float: ... + def fVV(self) -> float: ... + def fb(self) -> float: ... + def fv(self) -> float: ... + def gBB(self) -> float: ... + def gBV(self) -> float: ... + def gV(self) -> float: ... + def gVV(self) -> float: ... + def gb(self) -> float: ... + def getA(self) -> float: ... + def getAT(self) -> float: ... + def getATT(self) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficientSymetric(self, int: int) -> float: ... + def getActivityCoefficientUnSymetric(self, int: int) -> float: ... + def getAiT(self) -> float: ... + def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + @typing.overload + def getAlpha0_Leachman(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + @typing.overload + def getAlpha0_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_Vega(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_EOSCG(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_Vega(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAntoineVaporPressure(self, double: float) -> float: ... + def getB(self) -> float: ... + def getBeta(self) -> float: ... + def getBi(self) -> float: ... + @typing.overload + def getComponent(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... + @typing.overload + def getComponent(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getComponentWithIndex(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getComposition(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getCompressibilityX(self) -> float: ... + def getCompressibilityY(self) -> float: ... + def getCorrectedVolume(self) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCp0(self) -> float: ... + def getCpres(self) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCvres(self) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_AGA8(self) -> float: ... + def getDensity_EOSCG(self) -> float: ... + def getDensity_GERG2008(self) -> float: ... + @typing.overload + def getDensity_Leachman(self) -> float: ... + @typing.overload + def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_Vega(self) -> float: ... + def getDielectricConstant(self) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEnthalpydP(self) -> float: ... + def getEnthalpydT(self) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropydP(self) -> float: ... + def getEntropydT(self) -> float: ... + def getExcessGibbsEnergy(self) -> float: ... + def getExcessGibbsEnergySymetric(self) -> float: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getFugacity(self, int: int) -> float: ... + @typing.overload + def getFugacity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGamma(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getGresTP(self) -> float: ... + def getHID(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + def getHresTP(self) -> float: ... + def getHresdP(self) -> float: ... + @typing.overload + def getInfiniteDiluteFugacity(self, int: int) -> float: ... + @typing.overload + def getInfiniteDiluteFugacity(self, int: int, int2: int) -> float: ... + def getInitType(self) -> int: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getIsobaricThermalExpansivity(self) -> float: ... + def getIsothermalCompressibility(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKappa(self) -> float: ... + def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getLogInfiniteDiluteFugacity(self, int: int) -> float: ... + @typing.overload + def getLogInfiniteDiluteFugacity(self, int: int, int2: int) -> float: ... + @typing.overload + def getLogPureComponentFugacity(self, int: int) -> float: ... + @typing.overload + def getLogPureComponentFugacity(self, int: int, boolean: bool) -> float: ... + def getMass(self) -> float: ... + def getMeanIonicActivity(self, int: int, int2: int) -> float: ... + def getMixGibbsEnergy(self) -> float: ... + def getMixingRuleType(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getModelName(self) -> java.lang.String: ... + def getMolalMeanIonicActivity(self, int: int, int2: int) -> float: ... + def getMolarComposition(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMolarMass(self) -> float: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMoleFraction(self) -> float: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfIonicComponents(self) -> int: ... + def getNumberOfMolecularComponents(self) -> int: ... + def getNumberOfMolesInPhase(self) -> float: ... + def getOsmoticCoefficient(self, int: int) -> float: ... + def getOsmoticCoefficientOfWater(self) -> float: ... + def getOsmoticCoefficientOfWaterMolality(self) -> float: ... + def getPhase(self) -> PhaseInterface: ... + def getPhysicalProperties(self) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel(self) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProperties_EOSCG(self) -> typing.MutableSequence[float]: ... + def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getProperties_Leachman(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getProperties_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getProperties_Vega(self) -> typing.MutableSequence[float]: ... + def getPseudoCriticalPressure(self) -> float: ... + def getPseudoCriticalTemperature(self) -> float: ... + @typing.overload + def getPureComponentFugacity(self, int: int) -> float: ... + @typing.overload + def getPureComponentFugacity(self, int: int, boolean: bool) -> float: ... + @typing.overload + def getRefPhase(self, int: int) -> PhaseInterface: ... + @typing.overload + def getRefPhase(self) -> typing.MutableSequence[PhaseInterface]: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSresTP(self) -> float: ... + def getSresTV(self) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoPropertyModelName(self) -> java.lang.String: ... + def getTotalVolume(self) -> float: ... + def getType(self) -> PhaseType: ... + @typing.overload + def getViscosity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self) -> float: ... + @typing.overload + def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getWtFrac(self, int: int) -> float: ... + @typing.overload + def getWtFrac(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWtFraction(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getWtFractionOfWaxFormingComponents(self) -> float: ... + def getZ(self) -> float: ... + def getZvolcorr(self) -> float: ... + def geta(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def getb(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def getcomponentArray(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getdPdTVn(self) -> float: ... + def getdPdVTn(self) -> float: ... + def getdPdrho(self) -> float: ... + def getdrhodN(self) -> float: ... + def getdrhodP(self) -> float: ... + def getdrhodT(self) -> float: ... + def getg(self) -> float: ... + @typing.overload + def getpH(self) -> float: ... + @typing.overload + def getpH(self, string: typing.Union[java.lang.String, str]) -> float: ... + def groupTBPfractions(self) -> typing.MutableSequence[float]: ... + @typing.overload + def hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + @typing.overload + def hasComponent(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def hasTBPFraction(self) -> bool: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + @typing.overload + def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def initPhysicalProperties(self) -> None: ... + @typing.overload + def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + @typing.overload + def initRefPhases(self, boolean: bool) -> None: ... + @typing.overload + def initRefPhases(self, boolean: bool, string: typing.Union[java.lang.String, str]) -> None: ... + def isConstantPhaseVolume(self) -> bool: ... + def isMixingRuleDefined(self) -> bool: ... + def normalize(self) -> None: ... + def removeComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def resetPhysicalProperties(self) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + def setBeta(self, double: float) -> None: ... + def setComponentArray(self, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> None: ... + def setConstantPhaseVolume(self, boolean: bool) -> None: ... + def setEmptyFluid(self) -> None: ... + def setInitType(self, int: int) -> None: ... + def setMolarVolume(self, double: float) -> None: ... + def setMoleFractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setNumberOfComponents(self, int: int) -> None: ... + def setParams(self, phaseInterface: PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setPhysicalProperties(self) -> None: ... + @typing.overload + def setPhysicalProperties(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPhysicalPropertyModel(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPpm(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPressure(self, double: float) -> None: ... + def setProperties(self, phaseInterface: PhaseInterface) -> None: ... + @typing.overload + def setRefPhase(self, int: int, phaseInterface: PhaseInterface) -> None: ... + @typing.overload + def setRefPhase(self, phaseInterfaceArray: typing.Union[typing.List[PhaseInterface], jpype.JArray]) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setTotalVolume(self, double: float) -> None: ... + def setType(self, phaseType: PhaseType) -> None: ... + @typing.overload + def useVolumeCorrection(self) -> bool: ... + @typing.overload + def useVolumeCorrection(self, boolean: bool) -> None: ... + +class PhaseEosInterface(PhaseInterface): + def F(self) -> float: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + def displayInteractionCoefficients(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getAresTV(self) -> float: ... + def getEosMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... + def getMixingRuleName(self) -> java.lang.String: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureAttractive(self) -> float: ... + def getPressureRepulsive(self) -> float: ... + def getSresTV(self) -> float: ... + +class PhaseCPAInterface(PhaseEosInterface): + def calc_g(self) -> float: ... + def calc_hCPA(self) -> float: ... + def calc_lngV(self) -> float: ... + def calc_lngVV(self) -> float: ... + def calc_lngVVV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + +class PhaseDefault(Phase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, componentInterface: jneqsim.thermo.component.ComponentInterface): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def getGibbsEnergy(self) -> float: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setComponentType(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class PhaseEos(Phase, PhaseEosInterface): + delta1: float = ... + delta2: float = ... + def __init__(self): ... + def F(self) -> float: ... + def FB(self) -> float: ... + def FBB(self) -> float: ... + def FBD(self) -> float: ... + def FBT(self) -> float: ... + def FBV(self) -> float: ... + def FD(self) -> float: ... + def FDT(self) -> float: ... + def FDV(self) -> float: ... + def FT(self) -> float: ... + def FTT(self) -> float: ... + def FTV(self) -> float: ... + def FV(self) -> float: ... + def FVV(self) -> float: ... + def FVVV(self) -> float: ... + def Fn(self) -> float: ... + def FnB(self) -> float: ... + def FnV(self) -> float: ... + @typing.overload + def calcA(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + @typing.overload + def calcA(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + @typing.overload + def calcAT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + @typing.overload + def calcAT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcATT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcAi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcAij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcB(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcBi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcBij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def calcf(self) -> float: ... + def calcg(self) -> float: ... + def clone(self) -> 'PhaseEos': ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def dFdxMatrix(self) -> typing.MutableSequence[float]: ... + def dFdxMatrixSimple(self) -> typing.MutableSequence[float]: ... + def dFdxdxMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def dFdxdxMatrixSimple(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def displayInteractionCoefficients(self, string: typing.Union[java.lang.String, str]) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def fBB(self) -> float: ... + def fBV(self) -> float: ... + def fVV(self) -> float: ... + def fVVV(self) -> float: ... + def fb(self) -> float: ... + def fv(self) -> float: ... + def gBB(self) -> float: ... + def gBV(self) -> float: ... + def gV(self) -> float: ... + def gVV(self) -> float: ... + def gVVV(self) -> float: ... + def gb(self) -> float: ... + def getA(self) -> float: ... + def getAT(self) -> float: ... + def getATT(self) -> float: ... + def getAresTV(self) -> float: ... + def getB(self) -> float: ... + def getCpres(self) -> float: ... + def getCvres(self) -> float: ... + def getEosMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... + def getF(self) -> float: ... + def getGradientVector(self) -> typing.MutableSequence[float]: ... + def getGresTP(self) -> float: ... + def getHresTP(self) -> float: ... + def getHresdP(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getKappa(self) -> float: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... + def getMixingRuleName(self) -> java.lang.String: ... + def getPressureAttractive(self) -> float: ... + def getPressureRepulsive(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def getSresTP(self) -> float: ... + def getSresTV(self) -> float: ... + def getUSVHessianMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def geta(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def getb(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def getdPdTVn(self) -> float: ... + def getdPdVTn(self) -> float: ... + def getdPdrho(self) -> float: ... + def getdTVndSVnJaobiMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getdUdSVn(self) -> float: ... + def getdUdSdSVn(self) -> float: ... + def getdUdSdVn(self, phaseInterface: PhaseInterface) -> float: ... + def getdUdVSn(self) -> float: ... + def getdUdVdVSn(self, phaseInterface: PhaseInterface) -> float: ... + def getdVdrho(self) -> float: ... + def getdrhodN(self) -> float: ... + def getdrhodP(self) -> float: ... + def getdrhodT(self) -> float: ... + def getf_loc(self) -> float: ... + def getg(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class PhaseGE(Phase, PhaseGEInterface): + def __init__(self): ... + @typing.overload + def getActivityCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int) -> float: ... + def getActivityCoefficientInfDil(self, int: int) -> float: ... + def getActivityCoefficientInfDilWater(self, int: int, int2: int) -> float: ... + def getActivityCoefficientSymetric(self, int: int) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def getZ(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, double2: float, double3: float, double4: float, int: int, phaseType: PhaseType, int2: int) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class PhaseHydrate(Phase): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseHydrate': ... + def getCavityOccupancy(self, string: typing.Union[java.lang.String, str], int: int, int2: int) -> float: ... + def getCpres(self) -> float: ... + def getCvres(self) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHresTP(self) -> float: ... + def getHydrationNumber(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getLargeCavityOccupancy(self, int: int) -> float: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRulesInterface: ... + def getSmallCavityOccupancy(self, int: int) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def getSresTP(self) -> float: ... + def getStableHydrateStructure(self) -> int: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getViscosity(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSolidRefFluidPhase(self, phaseInterface: PhaseInterface) -> None: ... + +class PhaseIdealGas(Phase): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseIdealGas': ... + def getCpres(self) -> float: ... + def getCvres(self) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHresTP(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def getSresTP(self) -> float: ... + def getZ(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + +class PhaseAmmoniaEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def clone(self) -> 'PhaseAmmoniaEos': ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + def getAlpha0(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getHresTP(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + def getIsothermalCompressibility(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getViscosity(self) -> float: ... + def getdPdTVn(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhaseDesmukhMather(PhaseGE): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, int2: int) -> float: ... + def getAij(self, int: int, int2: int) -> float: ... + def getBetaDesMatij(self, int: int, int2: int) -> float: ... + def getBij(self, int: int, int2: int) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getIonicStrength(self) -> float: ... + def getSolventDensity(self) -> float: ... + def getSolventMolarMass(self) -> float: ... + def getSolventWeight(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + @typing.overload + def init(self, double: float, double2: float, double3: float, double4: float, int: int, phaseType: PhaseType, int2: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setBij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseDuanSun(PhaseGE): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseGENRTL(PhaseGE): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseGERG2004Eos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseGERG2004Eos': ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setxFracGERG(self) -> None: ... + +class PhaseGERG2008Eos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def clone(self) -> 'PhaseGERG2008Eos': ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + def dFdTdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def getAlpha0(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphaRes(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_GERG2008(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGergModelType(self) -> jneqsim.thermo.util.gerg.GERG2008Type: ... + def getGibbsEnergy(self) -> float: ... + def getGresTP(self) -> float: ... + def getHresTP(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... + def getZ(self) -> float: ... + def getdPdTVn(self) -> float: ... + def getdPdVTn(self) -> float: ... + def getdPdrho(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def invalidateCache(self) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + +class PhaseGEUniquac(PhaseGE): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + +class PhaseGEWilson(PhaseGE): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseLeachmanEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def clone(self) -> 'PhaseLeachmanEos': ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getZ(self) -> float: ... + def getdPdTVn(self) -> float: ... + def getdPdVTn(self) -> float: ... + def getdPdrho(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def invalidateCache(self) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhasePitzer(PhaseGE): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getActivityCoefficient(self, int: int, int2: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int) -> float: ... + @typing.overload + def getBeta0ij(self, int: int, int2: int) -> float: ... + @typing.overload + def getBeta0ij(self, int: int, int2: int, double: float) -> float: ... + @typing.overload + def getBeta1ij(self, int: int, int2: int) -> float: ... + @typing.overload + def getBeta1ij(self, int: int, int2: int, double: float) -> float: ... + def getBeta2ij(self, int: int, int2: int) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCphiij(self, int: int, int2: int) -> float: ... + @typing.overload + def getCphiij(self, int: int, int2: int, double: float) -> float: ... + def getCpres(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + def getCvres(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getHresTP(self) -> float: ... + def getHresdP(self) -> float: ... + def getIonicStrength(self) -> float: ... + def getPsiijk(self, int: int, int2: int, int3: int) -> float: ... + def getSolventWeight(self) -> float: ... + def getSresTP(self) -> float: ... + def getSresTV(self) -> float: ... + def getThetaij(self, int: int, int2: int) -> float: ... + def isParametersLoaded(self) -> bool: ... + def loadParametersFromDatabase(self) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setBeta0T(self, int: int, int2: int, double: float, double2: float) -> None: ... + def setBeta1T(self, int: int, int2: int, double: float, double2: float) -> None: ... + def setBeta2(self, int: int, int2: int, double: float) -> None: ... + def setBinaryParameters(self, int: int, int2: int, double: float, double2: float, double3: float) -> None: ... + def setCphiT(self, int: int, int2: int, double: float, double2: float) -> None: ... + def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setPsi(self, int: int, int2: int, int3: int, double: float) -> None: ... + def setTheta(self, int: int, int2: int, double: float) -> None: ... + +class PhasePrEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhasePrEos': ... + +class PhaseRK(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseRK': ... + +class PhaseSpanWagnerEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSpanWagnerEos': ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def getZ(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def invalidateCache(self) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhaseSrkEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkEos': ... + +class PhaseTSTEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseTSTEos': ... + +class PhaseVegaEos(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def clone(self) -> 'PhaseVegaEos': ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getZ(self) -> float: ... + def getdPdTVn(self) -> float: ... + def getdPdVTn(self) -> float: ... + def getdPdrho(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def invalidateCache(self) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhaseWaterIAPWS(PhaseEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcPressure(self) -> float: ... + def calcPressuredV(self) -> float: ... + def clone(self) -> 'PhaseWaterIAPWS': ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhaseBNS(PhasePrEos): + def __init__(self, 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], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray], doubleArray7: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseBNS': ... + def setBnsBips(self, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseBWRSEos(PhaseSrkEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcPVT(self) -> None: ... + def calcPressure2(self) -> float: ... + def clone(self) -> 'PhaseBWRSEos': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getEL(self) -> float: ... + def getELdRho(self) -> float: ... + def getELdRhodedRho(self) -> float: ... + def getELdRhodedRhodedRho(self) -> float: ... + def getF(self) -> float: ... + def getFdRho(self) -> float: ... + def getFexp(self) -> float: ... + def getFexpdT(self) -> float: ... + def getFexpdV(self) -> float: ... + def getFexpdVdV(self) -> float: ... + def getFexpdVdVdV(self) -> float: ... + def getFpol(self) -> float: ... + def getFpoldRho(self) -> float: ... + def getFpoldT(self) -> float: ... + def getFpoldV(self) -> float: ... + def getFpoldVdV(self) -> float: ... + def getFpoldVdVdV(self) -> float: ... + def getGammadRho(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + def getMolarDensity(self) -> float: ... + def getdFdN(self, int: int) -> float: ... + def getdFdNdN(self, int: int, int2: int) -> float: ... + def getdFdNdT(self, int: int) -> float: ... + def getdFdNdV(self, int: int) -> float: ... + def getdRhodV(self) -> float: ... + def getdRhodVdV(self) -> float: ... + def getdRhodVdVdV(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhaseCSPsrkEos(PhaseSrkEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseCSPsrkEos': ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getAcrefBWRSPhase(self) -> float: ... + def getBrefBWRSPhase(self) -> float: ... + def getF(self) -> float: ... + def getF_scale_mix(self) -> float: ... + def getH_scale_mix(self) -> float: ... + def getRefBWRSPhase(self) -> PhaseSrkEos: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setAcrefBWRSPhase(self, double: float) -> None: ... + def setBrefBWRSPhase(self, double: float) -> None: ... + def setF_scale_mix(self, double: float) -> None: ... + def setH_scale_mix(self, double: float) -> None: ... + def setRefBWRSPhase(self, phaseBWRSEos: PhaseBWRSEos) -> None: ... + +class PhaseEOSCGEos(PhaseGERG2008Eos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseEOSCGEos': ... + def dFdN(self, int: int) -> float: ... + def dFdNdN(self, int: int, int2: int) -> float: ... + def dFdNdT(self, int: int) -> float: ... + def dFdNdV(self, int: int) -> float: ... + def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... + def getdPdTVn(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + +class PhaseGENRTLmodifiedHV(PhaseGENRTL): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getHresTP(self) -> float: ... + def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setParams(self, phaseInterface: PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + +class PhaseGEUnifac(PhaseGEUniquac): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcaij(self) -> None: ... + def checkGroups(self) -> None: ... + def getAij(self, int: int, int2: int) -> float: ... + def getBij(self, int: int, int2: int) -> float: ... + def getCij(self, int: int, int2: int) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getGibbsEnergy(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, double2: float, double3: float, double4: float, int: int, phaseType: PhaseType, int2: int) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def setAij(self, int: int, int2: int, double: float) -> None: ... + def setBij(self, int: int, int2: int, double: float) -> None: ... + def setCij(self, int: int, int2: int, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseGEUniquacmodifiedHV(PhaseGEUniquac): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + +class PhaseKentEisenberg(PhaseGENRTL): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int) -> float: ... + @typing.overload + def getActivityCoefficient(self, int: int, int2: int) -> float: ... + +class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): + def __init__(self): ... + def FBorn(self) -> float: ... + def FBornD(self) -> float: ... + def FBornDD(self) -> float: ... + def FBornDX(self) -> float: ... + def FBornT(self) -> float: ... + def FBornTD(self) -> float: ... + def FBornTT(self) -> float: ... + def FBornTX(self) -> float: ... + def FBornX(self) -> float: ... + def FBornXX(self) -> float: ... + def FLR(self) -> float: ... + def FLRGammaLR(self) -> float: ... + def FLRV(self) -> float: ... + def FLRVV(self) -> float: ... + def FLRXLR(self) -> float: ... + def FSR2(self) -> float: ... + def FSR2T(self) -> float: ... + def FSR2TT(self) -> float: ... + def FSR2TV(self) -> float: ... + def FSR2TW(self) -> float: ... + def FSR2Teps(self) -> float: ... + def FSR2Tn(self) -> float: ... + def FSR2V(self) -> float: ... + def FSR2VV(self) -> float: ... + def FSR2VVV(self) -> float: ... + def FSR2VVeps(self) -> float: ... + def FSR2VW(self) -> float: ... + def FSR2W(self) -> float: ... + def FSR2WW(self) -> float: ... + def FSR2eps(self) -> float: ... + def FSR2epsV(self) -> float: ... + def FSR2epsW(self) -> float: ... + def FSR2epseps(self) -> float: ... + def FSR2epsepsV(self) -> float: ... + def FSR2epsepseps(self) -> float: ... + def FSR2n(self) -> float: ... + def FSR2nT(self) -> float: ... + def FSR2nV(self) -> float: ... + def FSR2nW(self) -> float: ... + def FSR2neps(self) -> float: ... + def FSR2nn(self) -> float: ... + def XBorndndn(self, int: int, int2: int) -> float: ... + def XLRdGammaLR(self) -> float: ... + def XLRdndn(self, int: int, int2: int) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcBornX(self) -> float: ... + def calcDiElectricConstant(self, double: float) -> float: ... + def calcDiElectricConstantdT(self, double: float) -> float: ... + def calcDiElectricConstantdTdT(self, double: float) -> float: ... + def calcDiElectricConstantdTdV(self, double: float) -> float: ... + def calcDiElectricConstantdV(self, double: float) -> float: ... + def calcDiElectricConstantdVdV(self, double: float) -> float: ... + def calcEps(self) -> float: ... + def calcEpsIonic(self) -> float: ... + def calcEpsIonicdV(self) -> float: ... + def calcEpsIonicdVdV(self) -> float: ... + def calcEpsV(self) -> float: ... + def calcEpsVV(self) -> float: ... + def calcGammaLRdV(self) -> float: ... + def calcShieldingParameter(self) -> float: ... + def calcShieldingParameterdT(self) -> float: ... + def calcSolventDiElectricConstant(self, double: float) -> float: ... + def calcSolventDiElectricConstantdT(self, double: float) -> float: ... + def calcSolventDiElectricConstantdTdT(self, double: float) -> float: ... + def calcW(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcXLR(self) -> float: ... + def calcXLRdT(self) -> float: ... + def clone(self) -> 'PhaseModifiedFurstElectrolyteEos': ... + def dFBorndT(self) -> float: ... + def dFBorndTdT(self) -> float: ... + def dFLRdT(self) -> float: ... + def dFLRdTdT(self) -> float: ... + def dFLRdTdV(self) -> float: ... + def dFLRdV(self) -> float: ... + def dFLRdVdV(self) -> float: ... + def dFLRdVdVdV(self) -> float: ... + def dFSR2dT(self) -> float: ... + def dFSR2dTdT(self) -> float: ... + def dFSR2dTdV(self) -> float: ... + def dFSR2dV(self) -> float: ... + def dFSR2dVdV(self) -> float: ... + def dFSR2dVdVdV(self) -> float: ... + def dFdAlphaLR(self) -> float: ... + def dFdAlphaLRdAlphaLR(self) -> float: ... + def dFdAlphaLRdGamma(self) -> float: ... + def dFdAlphaLRdV(self) -> float: ... + def dFdAlphaLRdX(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getAlphaLR2(self) -> float: ... + def getAlphaLRT(self) -> float: ... + def getAlphaLRV(self) -> float: ... + def getDielectricConstantdT(self) -> float: ... + def getDielectricConstantdV(self) -> float: ... + def getDielectricMixingRule(self) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... + def getDielectricT(self) -> float: ... + def getDielectricV(self) -> float: ... + def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getEps(self) -> float: ... + def getEpsIonic(self) -> float: ... + def getEpsIonicdV(self) -> float: ... + def getEpsIonicdVdV(self) -> float: ... + def getEpsdV(self) -> float: ... + def getEpsdVdV(self) -> float: ... + def getF(self) -> float: ... + def getShieldingParameter(self) -> float: ... + def getSolventDiElectricConstant(self) -> float: ... + def getSolventDiElectricConstantdT(self) -> float: ... + def getSolventDiElectricConstantdTdT(self) -> float: ... + def getW(self) -> float: ... + def getWT(self) -> float: ... + def getXLR(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def reInitFurstParam(self) -> None: ... + def setDielectricMixingRule(self, dielectricMixingRule: 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule') -> None: ... + def setFurstIonicCoefficient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def volInit(self) -> None: ... + class DielectricMixingRule(java.lang.Enum['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule']): + MOLAR_AVERAGE: typing.ClassVar['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule'] = ... + VOLUME_AVERAGE: typing.ClassVar['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule'] = ... + LOOYENGA: typing.ClassVar['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule'] = ... + _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]) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... + @staticmethod + def values() -> typing.MutableSequence['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule']: ... + +class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): + def __init__(self): ... + def FBorn(self) -> float: ... + def FBornD(self) -> float: ... + def FBornDD(self) -> float: ... + def FBornDX(self) -> float: ... + def FBornT(self) -> float: ... + def FBornTD(self) -> float: ... + def FBornTT(self) -> float: ... + def FBornTX(self) -> float: ... + def FBornX(self) -> float: ... + def FBornXX(self) -> float: ... + def FLR(self) -> float: ... + def FLRGammaLR(self) -> float: ... + def FLRV(self) -> float: ... + def FLRVV(self) -> float: ... + def FLRXLR(self) -> float: ... + def FSR2(self) -> float: ... + def FSR2T(self) -> float: ... + def FSR2TT(self) -> float: ... + def FSR2TV(self) -> float: ... + def FSR2TW(self) -> float: ... + def FSR2Teps(self) -> float: ... + def FSR2Tn(self) -> float: ... + def FSR2V(self) -> float: ... + def FSR2VV(self) -> float: ... + def FSR2VVV(self) -> float: ... + def FSR2VVeps(self) -> float: ... + def FSR2VW(self) -> float: ... + def FSR2W(self) -> float: ... + def FSR2WW(self) -> float: ... + def FSR2eps(self) -> float: ... + def FSR2epsV(self) -> float: ... + def FSR2epsW(self) -> float: ... + def FSR2epseps(self) -> float: ... + def FSR2epsepsV(self) -> float: ... + def FSR2epsepseps(self) -> float: ... + def FSR2n(self) -> float: ... + def FSR2nT(self) -> float: ... + def FSR2nV(self) -> float: ... + def FSR2nW(self) -> float: ... + def FSR2neps(self) -> float: ... + def FSR2nn(self) -> float: ... + def XBorndndn(self, int: int, int2: int) -> float: ... + def XLRdGammaLR(self) -> float: ... + def XLRdndn(self, int: int, int2: int) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcBornX(self) -> float: ... + def calcDiElectricConstant(self, double: float) -> float: ... + def calcDiElectricConstantdT(self, double: float) -> float: ... + def calcDiElectricConstantdTdT(self, double: float) -> float: ... + def calcDiElectricConstantdTdV(self, double: float) -> float: ... + def calcDiElectricConstantdV(self, double: float) -> float: ... + def calcDiElectricConstantdVdV(self, double: float) -> float: ... + def calcEps(self) -> float: ... + def calcEpsIonic(self) -> float: ... + def calcEpsIonicdV(self) -> float: ... + def calcEpsIonicdVdV(self) -> float: ... + def calcEpsV(self) -> float: ... + def calcEpsVV(self) -> float: ... + def calcGammaLRdV(self) -> float: ... + def calcShieldingParameter(self) -> float: ... + def calcSolventDiElectricConstant(self, double: float) -> float: ... + def calcSolventDiElectricConstantdT(self, double: float) -> float: ... + def calcSolventDiElectricConstantdTdT(self, double: float) -> float: ... + def calcW(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcWi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcXLR(self) -> float: ... + def clone(self) -> 'PhaseModifiedFurstElectrolyteEosMod2004': ... + def dFBorndT(self) -> float: ... + def dFBorndTdT(self) -> float: ... + def dFLRdT(self) -> float: ... + def dFLRdTdT(self) -> float: ... + def dFLRdTdV(self) -> float: ... + def dFLRdV(self) -> float: ... + def dFLRdVdV(self) -> float: ... + def dFLRdVdVdV(self) -> float: ... + def dFSR2dT(self) -> float: ... + def dFSR2dTdT(self) -> float: ... + def dFSR2dTdV(self) -> float: ... + def dFSR2dV(self) -> float: ... + def dFSR2dVdV(self) -> float: ... + def dFSR2dVdVdV(self) -> float: ... + def dFdAlphaLR(self) -> float: ... + def dFdAlphaLRdAlphaLR(self) -> float: ... + def dFdAlphaLRdGamma(self) -> float: ... + def dFdAlphaLRdV(self) -> float: ... + def dFdAlphaLRdX(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getAlphaLR2(self) -> float: ... + def getAlphaLRT(self) -> float: ... + def getAlphaLRV(self) -> float: ... + def getDielectricConstantdT(self) -> float: ... + def getDielectricConstantdV(self) -> float: ... + def getDielectricT(self) -> float: ... + def getDielectricV(self) -> float: ... + def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getEps(self) -> float: ... + def getEpsIonic(self) -> float: ... + def getEpsIonicdV(self) -> float: ... + def getEpsIonicdVdV(self) -> float: ... + def getEpsdV(self) -> float: ... + def getEpsdVdV(self) -> float: ... + def getF(self) -> float: ... + def getShieldingParameter(self) -> float: ... + def getSolventDiElectricConstant(self) -> float: ... + def getSolventDiElectricConstantdT(self) -> float: ... + def getSolventDiElectricConstantdTdT(self) -> float: ... + def getW(self) -> float: ... + def getWT(self) -> float: ... + def getXLR(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def reInitFurstParam(self) -> None: ... + def setFurstIonicCoefficient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def volInit(self) -> None: ... + +class PhasePCSAFT(PhaseSrkEos): + def __init__(self): ... + def F_DISP1_SAFT(self) -> float: ... + def F_DISP2_SAFT(self) -> float: ... + def F_HC_SAFT(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcF1dispI1(self) -> float: ... + def calcF1dispI1dN(self) -> float: ... + def calcF1dispI1dNdN(self) -> float: ... + def calcF1dispI1dm(self) -> float: ... + def calcF1dispSumTerm(self) -> float: ... + def calcF2dispI2(self) -> float: ... + def calcF2dispI2dN(self) -> float: ... + def calcF2dispI2dNdN(self) -> float: ... + def calcF2dispI2dm(self) -> float: ... + def calcF2dispSumTerm(self) -> float: ... + def calcF2dispZHC(self) -> float: ... + def calcF2dispZHCdN(self) -> float: ... + def calcF2dispZHCdNdN(self) -> float: ... + def calcF2dispZHCdm(self) -> float: ... + def calcdF1dispI1dT(self) -> float: ... + def calcdF1dispI1dTdT(self) -> float: ... + def calcdF1dispI1dTdV(self) -> float: ... + def calcdF1dispSumTermdT(self) -> float: ... + def calcdF1dispSumTermdTdT(self) -> float: ... + def calcdF2dispI2dT(self) -> float: ... + def calcdF2dispI2dTdT(self) -> float: ... + def calcdF2dispI2dTdV(self) -> float: ... + def calcdF2dispSumTermdT(self) -> float: ... + def calcdF2dispSumTermdTdT(self) -> float: ... + def calcdF2dispZHCdT(self) -> float: ... + def calcdF2dispZHCdTdT(self) -> float: ... + def calcdF2dispZHCdTdV(self) -> float: ... + def calcdSAFT(self) -> float: ... + def calcdmeanSAFT(self) -> float: ... + def calcmSAFT(self) -> float: ... + def calcmdSAFT(self) -> float: ... + def calcmmin1SAFT(self) -> float: ... + def clone(self) -> 'PhasePCSAFT': ... + def dF_DISP1_SAFTdT(self) -> float: ... + def dF_DISP1_SAFTdTdT(self) -> float: ... + def dF_DISP1_SAFTdTdV(self) -> float: ... + def dF_DISP1_SAFTdV(self) -> float: ... + def dF_DISP1_SAFTdVdV(self) -> float: ... + def dF_DISP2_SAFTdT(self) -> float: ... + def dF_DISP2_SAFTdTdT(self) -> float: ... + def dF_DISP2_SAFTdTdV(self) -> float: ... + def dF_DISP2_SAFTdV(self) -> float: ... + def dF_DISP2_SAFTdVdV(self) -> float: ... + def dF_HC_SAFTdT(self) -> float: ... + def dF_HC_SAFTdTdT(self) -> float: ... + def dF_HC_SAFTdTdV(self) -> float: ... + def dF_HC_SAFTdV(self) -> float: ... + def dF_HC_SAFTdVdV(self) -> float: ... + def dF_HC_SAFTdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def getAHSSAFT(self) -> float: ... + def getDSAFT(self) -> float: ... + def getDgHSSAFTdN(self) -> float: ... + def getDmeanSAFT(self) -> float: ... + def getDnSAFTdV(self) -> float: ... + def getF(self) -> float: ... + def getF1dispI1(self) -> float: ... + def getF1dispSumTerm(self) -> float: ... + def getF1dispVolTerm(self) -> float: ... + def getF2dispI2(self) -> float: ... + def getF2dispSumTerm(self) -> float: ... + def getF2dispZHC(self) -> float: ... + def getF2dispZHCdN(self) -> float: ... + def getF2dispZHCdm(self) -> float: ... + def getGhsSAFT(self) -> float: ... + def getMmin1SAFT(self) -> float: ... + def getNSAFT(self) -> float: ... + def getNmSAFT(self) -> float: ... + def getVolumeSAFT(self) -> float: ... + def getaSAFT(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getaSAFTdm(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getd2DSAFTdTdT(self) -> float: ... + def getdDSAFTdT(self) -> float: ... + def getmSAFT(self) -> float: ... + def getmdSAFT(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume22(self, double: float, double2: float, double3: float, double4: float, int: int) -> float: ... + def setAHSSAFT(self, double: float) -> None: ... + def setDSAFT(self, double: float) -> None: ... + def setDgHSSAFTdN(self, double: float) -> None: ... + def setDmeanSAFT(self, double: float) -> None: ... + def setDnSAFTdV(self, double: float) -> None: ... + def setF1dispVolTerm(self, double: float) -> None: ... + def setF2dispI2(self, double: float) -> None: ... + def setF2dispSumTerm(self, double: float) -> None: ... + def setF2dispZHC(self, double: float) -> None: ... + def setF2dispZHCdm(self, double: float) -> None: ... + def setGhsSAFT(self, double: float) -> None: ... + def setMmin1SAFT(self, double: float) -> None: ... + def setNSAFT(self, double: float) -> None: ... + def setNmSAFT(self, double: float) -> None: ... + def setVolumeSAFT(self, double: float) -> None: ... + def setmSAFT(self, double: float) -> None: ... + def setmdSAFT(self, double: float) -> None: ... + def volInit(self) -> None: ... + +class PhasePrCPA(PhasePrEos, PhaseCPAInterface): + cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... + cpamix: jneqsim.thermo.mixingrule.CPAMixingRulesInterface = ... + def __init__(self): ... + def FCPA(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calc_g(self) -> float: ... + def calc_hCPA(self) -> float: ... + def calc_hCPAdT(self) -> float: ... + def calc_hCPAdTdT(self) -> float: ... + def calc_lngV(self) -> float: ... + def calc_lngVV(self) -> float: ... + def calc_lngVVV(self) -> float: ... + def calc_lngni(self, int: int) -> float: ... + def clone(self) -> 'PhasePrCPA': ... + def dFCPAdT(self) -> float: ... + def dFCPAdTdT(self) -> float: ... + def dFCPAdV(self) -> float: ... + def dFCPAdVdV(self) -> float: ... + def dFCPAdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getF(self) -> float: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def setHcpatot(self, double: float) -> None: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + def solveX(self) -> bool: ... + +class PhasePrEosvolcor(PhasePrEos): + C: float = ... + Ctot: float = ... + def __init__(self): ... + def F(self) -> float: ... + def FBC(self) -> float: ... + def FC(self) -> float: ... + def FCC(self) -> float: ... + def FCD(self) -> float: ... + def FCV(self) -> float: ... + def FTC(self) -> float: ... + def FnC(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcC(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcCT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcCi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcCiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcCij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcf(self) -> float: ... + def calcg(self) -> float: ... + def clone(self) -> 'PhasePrEosvolcor': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def fBB(self) -> float: ... + def fBV(self) -> float: ... + def fVV(self) -> float: ... + def fVVV(self) -> float: ... + def fb(self) -> float: ... + def fbc(self) -> float: ... + def fc(self) -> float: ... + def fcc(self) -> float: ... + def fcv(self) -> float: ... + def fv(self) -> float: ... + def gBB(self) -> float: ... + def gBC(self) -> float: ... + def gBV(self) -> float: ... + def gCC(self) -> float: ... + def gCV(self) -> float: ... + def gV(self) -> float: ... + def gVV(self) -> float: ... + def gVVV(self) -> float: ... + def gb(self) -> float: ... + def gc(self) -> float: ... + def getC(self) -> float: ... + def getCT(self) -> float: ... + def getCTT(self) -> float: ... + def getc(self) -> float: ... + def getcij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getcijT(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getcijTT(self, componentPRvolcor: jneqsim.thermo.component.ComponentPRvolcor, componentPRvolcor2: jneqsim.thermo.component.ComponentPRvolcor) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + +class PhaseSAFTVRMie(PhaseSrkEos): + def __init__(self): ... + def F_ASSOC_SAFT(self) -> float: ... + def F_DISP_SAFT(self) -> float: ... + def F_HC_SAFT(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @staticmethod + def calcA1MieAtEta(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def calcA2MieAtEta(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calcA3Mie(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def calcAS1Bare(double: float, double2: float) -> float: ... + @staticmethod + def calcBBare(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def calcDufalI(double: float, double2: float) -> float: ... + @staticmethod + def calcDufalIdRhoStar(double: float, double2: float) -> float: ... + @staticmethod + def calcDufalIdTr(double: float, double2: float) -> float: ... + def calcF1dispI1dN(self) -> float: ... + def calcF1dispI1dm(self) -> float: ... + def calcF2dispI2dN(self) -> float: ... + def calcF2dispI2dm(self) -> float: ... + @staticmethod + def calcG1Chain(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def calcG2Chain(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calcGHS_x0(double: float, double2: float) -> float: ... + @staticmethod + def calcGMie(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + @staticmethod + def calcKHS(double: float) -> float: ... + @staticmethod + def calcMieAlpha(double: float, double2: float) -> float: ... + @staticmethod + def calcPadeF(int: int, double: float) -> float: ... + def calcdSAFT(self) -> float: ... + def calcdmeanSAFT(self) -> float: ... + def calcmSAFT(self) -> float: ... + def calcmmin1SAFT(self) -> float: ... + def clone(self) -> 'PhaseSAFTVRMie': ... + def dF_ASSOC_SAFTdT(self) -> float: ... + def dF_ASSOC_SAFTdTdT(self) -> float: ... + def dF_ASSOC_SAFTdTdV(self) -> float: ... + def dF_ASSOC_SAFTdV(self) -> float: ... + def dF_ASSOC_SAFTdVdV(self) -> float: ... + def dF_DISP_SAFTdT(self) -> float: ... + def dF_DISP_SAFTdTdT(self) -> float: ... + def dF_DISP_SAFTdTdV(self) -> float: ... + def dF_DISP_SAFTdV(self) -> float: ... + def dF_DISP_SAFTdVdV(self) -> float: ... + def dF_HC_SAFTdT(self) -> float: ... + def dF_HC_SAFTdTdT(self) -> float: ... + def dF_HC_SAFTdTdV(self) -> float: ... + def dF_HC_SAFTdV(self) -> float: ... + def dF_HC_SAFTdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getA1Disp(self) -> float: ... + def getA2Disp(self) -> float: ... + def getA3Disp(self) -> float: ... + def getADispPerComp(self, int: int) -> float: ... + def getAHSSAFT(self) -> float: ... + def getCrossAssociationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getDSAFT(self) -> float: ... + def getDa1DispDeta(self) -> float: ... + def getDa2DispDeta(self) -> float: ... + def getDa3DispDeta(self) -> float: ... + def getDaHSSAFTdN(self) -> float: ... + def getDeltaAssoc(self, int: int, int2: int) -> float: ... + def getDgHSSAFTdN(self) -> float: ... + def getF(self) -> float: ... + def getF1dispSumTerm(self) -> float: ... + def getF1dispVolTerm(self) -> float: ... + def getF2dispSumTerm(self) -> float: ... + def getF2dispZHC(self) -> float: ... + def getGcpaAssoc(self) -> float: ... + def getGhsSAFT(self) -> float: ... + def getHcpatot(self) -> float: ... + def getMmin1SAFT(self) -> float: ... + def getNSAFT(self) -> float: ... + def getSiteOffset(self, int: int) -> int: ... + def getTotalNumberOfAssociationSites(self) -> int: ... + def getUseASSOC(self) -> int: ... + def getUseDISP(self) -> int: ... + def getUseHS(self) -> int: ... + def getVolumeSAFT(self) -> float: ... + def getd2DSAFTdTdT(self) -> float: ... + def getdDSAFTdT(self) -> float: ... + def getdDSAFTdTprime(self, double: float, double2: float, double3: float) -> float: ... + def getmSAFT(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def volInit(self) -> None: ... + +class PhaseSolid(PhaseSrkEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSolid': ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + def getCpres(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + def getCvres(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + def getDensityTemp(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + def getHresTP(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + def getSresTP(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def isAsphaltenePhase(self) -> bool: ... + def isUseEosProperties(self) -> bool: ... + def setSolidRefFluidPhase(self, phaseInterface: PhaseInterface) -> None: ... + def setUseEosProperties(self, boolean: bool) -> None: ... + def updatePhaseTypeForAsphaltene(self) -> None: ... + +class PhaseSoreideWhitson(PhasePrEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addSalinity(self, double: float) -> None: ... + def clone(self) -> 'PhaseSoreideWhitson': ... + def getSalinity(self, double: float) -> float: ... + def getSalinityConcentration(self) -> float: ... + def setSalinityConcentration(self, double: float) -> None: ... + +class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): + cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... + cpamix: jneqsim.thermo.mixingrule.CPAMixingRulesInterface = ... + def __init__(self): ... + def FCPA(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcDelta(self) -> None: ... + def calcPressure(self) -> float: ... + def calcRootVolFinder(self, phaseType: PhaseType) -> float: ... + def calcXsitedV(self) -> None: ... + def clone(self) -> 'PhaseSrkCPA': ... + def croeneckerProduct(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 dFCPAdT(self) -> float: ... + def dFCPAdTdT(self) -> float: ... + def dFCPAdTdV(self) -> float: ... + def dFCPAdV(self) -> float: ... + def dFCPAdVdV(self) -> float: ... + def dFCPAdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getF(self) -> float: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + def getdFdNtemp(self) -> typing.MutableSequence[float]: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def initCPAMatrix(self, int: int) -> None: ... + def initCPAMatrixOld(self, int: int) -> None: ... + def initOld2(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeOld(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setGcpav(self, double: float) -> None: ... + def setHcpatot(self, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + def solveX(self) -> bool: ... + def solveX2(self, int: int) -> bool: ... + def solveX2Old(self, int: int) -> bool: ... + def solveXOld(self) -> bool: ... + +class PhaseSrkEosvolcor(PhaseSrkEos): + C: float = ... + Ctot: float = ... + def __init__(self): ... + def F(self) -> float: ... + def FBC(self) -> float: ... + def FC(self) -> float: ... + def FCC(self) -> float: ... + def FCD(self) -> float: ... + def FCV(self) -> float: ... + def FTC(self) -> float: ... + def FnC(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcC(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcCT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcCi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcCiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcCij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcf(self) -> float: ... + def calcg(self) -> float: ... + def clone(self) -> 'PhaseSrkEosvolcor': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def fBB(self) -> float: ... + def fBV(self) -> float: ... + def fVV(self) -> float: ... + def fVVV(self) -> float: ... + def fb(self) -> float: ... + def fbc(self) -> float: ... + def fc(self) -> float: ... + def fcc(self) -> float: ... + def fcv(self) -> float: ... + def fv(self) -> float: ... + def gBB(self) -> float: ... + def gBC(self) -> float: ... + def gBV(self) -> float: ... + def gCC(self) -> float: ... + def gCV(self) -> float: ... + def gV(self) -> float: ... + def gVV(self) -> float: ... + def gVVV(self) -> float: ... + def gb(self) -> float: ... + def gc(self) -> float: ... + def getC(self) -> float: ... + def getCT(self) -> float: ... + def getCTT(self) -> float: ... + def getc(self) -> float: ... + def getcij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getcijT(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getcijTT(self, componentSrkvolcor: jneqsim.thermo.component.ComponentSrkvolcor, componentSrkvolcor2: jneqsim.thermo.component.ComponentSrkvolcor) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + +class PhaseSrkPenelouxEos(PhaseSrkEos): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkPenelouxEos': ... + +class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): + cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... + cpamix: jneqsim.thermo.mixingrule.CPAMixingRulesInterface = ... + def __init__(self): ... + def FCPA(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcDelta(self) -> None: ... + def calcPressure(self) -> float: ... + def calcRootVolFinder(self, phaseType: PhaseType) -> float: ... + def calcXsitedV(self) -> None: ... + def clone(self) -> 'PhaseUMRCPA': ... + def croeneckerProduct(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 dFCPAdT(self) -> float: ... + def dFCPAdTdT(self) -> float: ... + def dFCPAdTdV(self) -> float: ... + def dFCPAdV(self) -> float: ... + def dFCPAdVdV(self) -> float: ... + def dFCPAdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getF(self) -> float: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + def getdFdNtemp(self) -> typing.MutableSequence[float]: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def initCPAMatrix(self, int: int) -> None: ... + def initCPAMatrixOld(self, int: int) -> None: ... + def initOld2(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeOld(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setGcpav(self, double: float) -> None: ... + def setHcpatot(self, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + def solveX(self) -> bool: ... + def solveX2(self, int: int) -> bool: ... + def solveX2Old(self, int: int) -> bool: ... + def solveXOld(self) -> bool: ... + +class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): + cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... + cpamix: jneqsim.thermo.mixingrule.CPAMixingRulesInterface = ... + def __init__(self): ... + def FCPA(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcDelta(self) -> None: ... + def calcPressure(self) -> float: ... + def calcRootVolFinder(self, phaseType: PhaseType) -> float: ... + def calcXsitedV(self) -> None: ... + def clone(self) -> 'PhaseElectrolyteCPA': ... + def croeneckerProduct(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 dFCPAdT(self) -> float: ... + def dFCPAdTdT(self) -> float: ... + def dFCPAdTdV(self) -> float: ... + def dFCPAdV(self) -> float: ... + def dFCPAdVdV(self) -> float: ... + def dFCPAdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getF(self) -> float: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setGcpav(self, double: float) -> None: ... + def setHcpatot(self, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + def solveX(self) -> bool: ... + def solveX2(self, int: int) -> bool: ... + +class PhaseElectrolyteCPAMM(PhaseSrkCPA): + def __init__(self): ... + def FBorn(self) -> float: ... + def FBornD(self) -> float: ... + def FBornDD(self) -> float: ... + def FBornDX(self) -> float: ... + def FBornN(self) -> float: ... + def FBornX(self) -> float: ... + def FBornXT(self) -> float: ... + def FDebyeHuckel(self) -> float: ... + def FDebyeHuckelN(self) -> float: ... + def FDebyeHuckelX(self) -> float: ... + def FSR2V(self) -> float: ... + def FSR2VV(self) -> float: ... + def FSR2VVV(self) -> float: ... + def FSR2VVeps(self) -> float: ... + def FSR2VW(self) -> float: ... + def FSR2W(self) -> float: ... + def FSR2eps(self) -> float: ... + def FSR2epsV(self) -> float: ... + def FSR2epsW(self) -> float: ... + def FSR2epseps(self) -> float: ... + def FSR2epsepsV(self) -> float: ... + def FSR2epsepseps(self) -> float: ... + def FShortRange(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcBornRadius(self, double: float, int: int) -> float: ... + def calcBornX(self) -> float: ... + def calcIonSolventW(self) -> float: ... + def calcIonSolventWdT(self) -> float: ... + def calcIonicPackingFraction(self) -> float: ... + def calcIonicStrengthSum(self) -> float: ... + def calcKappa(self) -> float: ... + def calcKappadT(self) -> float: ... + def calcMMWi(self, int: int) -> float: ... + def calcMMWiT(self, int: int) -> float: ... + def calcMeanIonDiameter(self) -> float: ... + def calcMixturePermittivity(self) -> float: ... + def calcPackingFraction(self) -> float: ... + def calcPackingFractiondV(self) -> float: ... + def calcSolventPermittivity(self, double: float) -> float: ... + def calcSolventPermittivitydT(self, double: float) -> float: ... + def calcSolventPermittivitydTdT(self, double: float) -> float: ... + def calcSolventPermittivitydn(self, int: int, double: float) -> float: ... + def calcSolventPermittivitydndT(self, int: int, double: float) -> float: ... + def calcSolventPermittivitydndn(self, int: int, int2: int, double: float) -> float: ... + def calcWi(self, int: int, double: float, double2: float, int2: int) -> float: ... + def calcWiT(self, int: int, double: float, double2: float, int2: int) -> float: ... + def calcWij(self, int: int, int2: int, double: float, double2: float, int3: int) -> float: ... + def clone(self) -> 'PhaseElectrolyteCPAMM': ... + def dFBorndT(self) -> float: ... + def dFBorndTdT(self) -> float: ... + def dFBorndV(self) -> float: ... + def dFDebyeHuckeldT(self) -> float: ... + def dFDebyeHuckeldTdT(self) -> float: ... + def dFDebyeHuckeldTdV(self) -> float: ... + def dFDebyeHuckeldV(self) -> float: ... + def dFDebyeHuckeldVdV(self) -> float: ... + def dFDebyeHuckeldVdVdV(self) -> float: ... + def dFShortRangedT(self) -> float: ... + def dFShortRangedTdT(self) -> float: ... + def dFShortRangedTdV(self) -> float: ... + def dFShortRangedV(self) -> float: ... + def dFShortRangedVdV(self) -> float: ... + def dFShortRangedVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getBornX(self) -> float: ... + def getDebyeLength(self) -> float: ... + def getDielectricMixingRule(self) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... + def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getF(self) -> float: ... + def getIonSolventW(self) -> float: ... + def getKappa(self) -> float: ... + def getMeanIonDiameter(self) -> float: ... + def getMixturePermittivity(self) -> float: ... + def getPackingFraction(self) -> float: ... + def getPackingFractiondV(self) -> float: ... + def getSolventPermittivity(self) -> float: ... + def getSolventPermittivitydT(self) -> float: ... + def getSrW(self) -> float: ... + def getSrWT(self) -> float: ... + def getTauDH(self) -> float: ... + def getTauDHprime(self) -> float: ... + def getWij(self, int: int, int2: int) -> float: ... + def getWijT(self, int: int, int2: int) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def initElectrolyteProperties(self) -> None: ... + def initMixingRuleWij(self) -> None: ... + def isBornOn(self) -> bool: ... + def isDebyeHuckelOn(self) -> bool: ... + def isShortRangeOn(self) -> bool: ... + def setBornOn(self, boolean: bool) -> None: ... + def setDebyeHuckelOn(self, boolean: bool) -> None: ... + def setDielectricMixingRule(self, dielectricMixingRule: 'PhaseElectrolyteCPAMM.DielectricMixingRule') -> None: ... + def setShortRangeOn(self, boolean: bool) -> None: ... + class DielectricMixingRule(java.lang.Enum['PhaseElectrolyteCPAMM.DielectricMixingRule']): + MOLAR_AVERAGE: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... + VOLUME_AVERAGE: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... + LOOYENGA: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... + OSTER: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... + LICHTENECKER: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... + _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]) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... + @staticmethod + def values() -> typing.MutableSequence['PhaseElectrolyteCPAMM.DielectricMixingRule']: ... + +class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): + cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... + cpamix: jneqsim.thermo.mixingrule.CPAMixingRulesInterface = ... + def __init__(self): ... + def FCPA(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcXsitedT(self) -> None: ... + def calc_g(self) -> float: ... + def calc_hCPA(self) -> float: ... + def calc_hCPAdT(self) -> float: ... + def calc_hCPAdTdT(self) -> float: ... + def calc_lngV(self) -> float: ... + def calc_lngVV(self) -> float: ... + def calc_lngVVV(self) -> float: ... + def calc_lngni(self, int: int) -> float: ... + def clone(self) -> 'PhaseElectrolyteCPAOld': ... + def dFCPAdT(self) -> float: ... + def dFCPAdTdT(self) -> float: ... + def dFCPAdV(self) -> float: ... + def dFCPAdVdV(self) -> float: ... + def dFCPAdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getF(self) -> float: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + def getdFdVdXdXdVtotal(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume3(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setGcpav(self, double: float) -> None: ... + def setHcpatot(self, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + def setXsiteOld(self) -> None: ... + def setXsitedV(self, double: float) -> None: ... + def solveX(self) -> bool: ... + +class PhaseGENRTLmodifiedWS(PhaseGENRTLmodifiedHV): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, 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[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseGEUnifacPSRK(PhaseGEUnifac): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcbij(self) -> None: ... + def calccij(self) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhaseGEUnifacUMRPRU(PhaseGEUnifac): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcCommontemp(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> None: ... + def calcaij(self) -> None: ... + def calcbij(self) -> None: ... + def calccij(self) -> None: ... + @typing.overload + def getExcessGibbsEnergy(self) -> float: ... + @typing.overload + def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getFCommontemp(self) -> float: ... + def getQmix(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getQmixdN(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getVCommontemp(self) -> float: ... + def initQmix(self) -> None: ... + def initQmixdN(self) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + +class PhasePCSAFTRahmat(PhasePCSAFT): + def __init__(self): ... + def F_DISP1_SAFT(self) -> float: ... + def F_DISP2_SAFT(self) -> float: ... + def F_HC_SAFT(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcF1dispI1(self) -> float: ... + def calcF1dispI1dN(self) -> float: ... + def calcF1dispI1dNdN(self) -> float: ... + def calcF1dispI1dNdNdN(self) -> float: ... + def calcF1dispI1dm(self) -> float: ... + def calcF1dispSumTerm(self) -> float: ... + def calcF2dispI2(self) -> float: ... + def calcF2dispI2dN(self) -> float: ... + def calcF2dispI2dNdN(self) -> float: ... + def calcF2dispI2dNdNdN(self) -> float: ... + def calcF2dispI2dm(self) -> float: ... + def calcF2dispSumTerm(self) -> float: ... + def calcF2dispZHC(self) -> float: ... + def calcF2dispZHCdN(self) -> float: ... + def calcF2dispZHCdNdN(self) -> float: ... + def calcF2dispZHCdNdNdN(self) -> float: ... + def calcF2dispZHCdm(self) -> float: ... + def calcdF1dispI1dT(self) -> float: ... + def calcdF1dispSumTermdT(self) -> float: ... + def calcdF2dispI2dT(self) -> float: ... + def calcdF2dispSumTermdT(self) -> float: ... + def calcdF2dispZHCdT(self) -> float: ... + def calcdSAFT(self) -> float: ... + def calcdmeanSAFT(self) -> float: ... + def calcmSAFT(self) -> float: ... + def calcmdSAFT(self) -> float: ... + def calcmmin1SAFT(self) -> float: ... + def clone(self) -> 'PhasePCSAFTRahmat': ... + def dF_DISP1_SAFTdT(self) -> float: ... + def dF_DISP1_SAFTdV(self) -> float: ... + def dF_DISP1_SAFTdVdV(self) -> float: ... + def dF_DISP1_SAFTdVdVdV(self) -> float: ... + def dF_DISP2_SAFTdT(self) -> float: ... + def dF_DISP2_SAFTdV(self) -> float: ... + def dF_DISP2_SAFTdVdV(self) -> float: ... + def dF_DISP2_SAFTdVdVdV(self) -> float: ... + def dF_HC_SAFTdT(self) -> float: ... + def dF_HC_SAFTdV(self) -> float: ... + def dF_HC_SAFTdVdV(self) -> float: ... + def dF_HC_SAFTdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getF(self) -> float: ... + def getaSAFT(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getaSAFTdm(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getdDSAFTdT(self) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def volInit(self) -> None: ... + +class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): + cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... + cpamix: jneqsim.thermo.mixingrule.CPAMixingRulesInterface = ... + def __init__(self): ... + def FCPA(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calc_hCPA(self) -> float: ... + def calc_hCPAdT(self) -> float: ... + def calc_hCPAdTdT(self) -> float: ... + def calc_lngni(self, int: int) -> float: ... + def clone(self) -> 'PhasePCSAFTa': ... + def dFCPAdT(self) -> float: ... + def dFCPAdTdT(self) -> float: ... + def dFCPAdTdV(self) -> float: ... + def dFCPAdV(self) -> float: ... + def dFCPAdVdV(self) -> float: ... + def dFCPAdVdVdV(self) -> float: ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... + def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getF(self) -> float: ... + def getGcpa(self) -> float: ... + def getGcpav(self) -> float: ... + def getHcpatot(self) -> float: ... + def getTotalNumberOfAccociationSites(self) -> int: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def setHcpatot(self, double: float) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setTotalNumberOfAccociationSites(self, int: int) -> None: ... + def solveX(self) -> bool: ... + def volInit(self) -> None: ... + +class PhasePureComponentSolid(PhaseSolid): + def __init__(self): ... + def clone(self) -> 'PhasePureComponentSolid': ... + +class PhaseSolidComplex(PhaseSolid): + def __init__(self): ... + def clone(self) -> 'PhaseSolidComplex': ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + +class PhaseSrkCPAs(PhaseSrkCPA): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calc_g(self) -> float: ... + def calc_lngV(self) -> float: ... + def calc_lngVV(self) -> float: ... + def calc_lngVVV(self) -> float: ... + def clone(self) -> 'PhaseSrkCPAs': ... + +class PhaseUMRCPAvolcor(PhaseUMRCPA): + C: float = ... + Ctot: float = ... + def __init__(self): ... + def FBC(self) -> float: ... + def FC(self) -> float: ... + def FCC(self) -> float: ... + def FCD(self) -> float: ... + def FCV(self) -> float: ... + def FTC(self) -> float: ... + def FnC(self) -> float: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcC(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcCT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def calcCi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcCiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcCij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcf(self) -> float: ... + def calcg(self) -> float: ... + def clone(self) -> 'PhaseUMRCPAvolcor': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def fBB(self) -> float: ... + def fBV(self) -> float: ... + def fVV(self) -> float: ... + def fVVV(self) -> float: ... + def fb(self) -> float: ... + def fbc(self) -> float: ... + def fc(self) -> float: ... + def fcc(self) -> float: ... + def fcv(self) -> float: ... + def fv(self) -> float: ... + def gBB(self) -> float: ... + def gBC(self) -> float: ... + def gBV(self) -> float: ... + def gCC(self) -> float: ... + def gCV(self) -> float: ... + def gV(self) -> float: ... + def gVV(self) -> float: ... + def gVVV(self) -> float: ... + def gb(self) -> float: ... + def gc(self) -> float: ... + def getC(self) -> float: ... + def getCT(self) -> float: ... + def getCTT(self) -> float: ... + def getc(self) -> float: ... + def getcij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getcijT(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + +class PhaseWax(PhaseSolid): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseWax': ... + def getWaxComponentModel(self) -> java.lang.String: ... + @typing.overload + def init(self) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, double2: float) -> None: ... + @typing.overload + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def setWaxComponentModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class PhaseElectrolyteCPAstatoil(PhaseElectrolyteCPA): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calc_g(self) -> float: ... + def calc_lngV(self) -> float: ... + def calc_lngVV(self) -> float: ... + def calc_lngVVV(self) -> float: ... + def clone(self) -> 'PhaseElectrolyteCPAstatoil': ... + +class PhaseSrkCPABroydenImplicit(PhaseSrkCPAs): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkCPABroydenImplicit': ... + @staticmethod + def getProfileSummary() -> java.lang.String: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + @staticmethod + def resetProfileCounters() -> None: ... + +class PhaseSrkCPAandersonMixing(PhaseSrkCPAs): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkCPAandersonMixing': ... + @staticmethod + def getProfileSummary() -> java.lang.String: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + @staticmethod + def resetProfileCounters() -> None: ... + +class PhaseSrkCPAandersonReduced(PhaseSrkCPAs): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkCPAandersonReduced': ... + @staticmethod + def getAndersonConvergedCount() -> int: ... + @staticmethod + def getCallCount() -> int: ... + @staticmethod + def getNewtonFallbackCount() -> int: ... + @staticmethod + def getProfileSummary() -> java.lang.String: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + @staticmethod + def resetProfileCounters() -> None: ... + +class PhaseSrkCPAfullyImplicit(PhaseSrkCPAs): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkCPAfullyImplicit': ... + @staticmethod + def getProfileSummary() -> java.lang.String: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + @staticmethod + def resetProfileCounters() -> None: ... + +class PhaseSrkCPAfullyImplicitReduced(PhaseSrkCPAs): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkCPAfullyImplicitReduced': ... + def getCallCount(self) -> int: ... + def getFallbackCount(self) -> int: ... + def getJacobianEvals(self) -> int: ... + def getLastFullSites(self) -> int: ... + def getLastNumTypes(self) -> int: ... + def getTotalIters(self) -> int: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + +class PhaseSrkCPAreduced(PhaseSrkCPAs): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseSrkCPAreduced': ... + def getBroydenUpdates(self) -> int: ... + def getCallCount(self) -> int: ... + def getFallbackCount(self) -> int: ... + def getJacobianEvals(self) -> int: ... + def getLastFullSites(self) -> int: ... + def getLastNumTypes(self) -> int: ... + def getTotalIters(self) -> int: ... + def initCPAMatrix(self, int: int) -> None: ... + def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def resetProfiling(self) -> None: ... + +class PhaseElectrolyteCPAAdvanced(PhaseElectrolyteCPAstatoil): + def __init__(self): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def calcBornX(self) -> float: ... + def calcWi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcWiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def clone(self) -> 'PhaseElectrolyteCPAAdvanced': ... + def dFdT(self) -> float: ... + def dFdTdT(self) -> float: ... + def dFdTdV(self) -> float: ... + def dFdV(self) -> float: ... + def dFdVdV(self) -> float: ... + def dFdVdVdV(self) -> float: ... + def getAdvancedBornEnergy(self) -> float: ... + def getAdvancedSREnergy(self) -> float: ... + def getF(self) -> float: ... + def getIonPairFractionReduction(self) -> float: ... + def setAdvancedBornOn(self, double: float) -> None: ... + def setAdvancedSROn(self, double: float) -> None: ... + def setIonPairOn(self, double: float) -> None: ... + def volInit(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.phase")``. + + CPAContribution: typing.Type[CPAContribution] + Phase: typing.Type[Phase] + PhaseAmmoniaEos: typing.Type[PhaseAmmoniaEos] + PhaseBNS: typing.Type[PhaseBNS] + PhaseBWRSEos: typing.Type[PhaseBWRSEos] + PhaseCPAInterface: typing.Type[PhaseCPAInterface] + PhaseCSPsrkEos: typing.Type[PhaseCSPsrkEos] + PhaseDefault: typing.Type[PhaseDefault] + PhaseDesmukhMather: typing.Type[PhaseDesmukhMather] + PhaseDuanSun: typing.Type[PhaseDuanSun] + PhaseEOSCGEos: typing.Type[PhaseEOSCGEos] + PhaseElectrolyteCPA: typing.Type[PhaseElectrolyteCPA] + PhaseElectrolyteCPAAdvanced: typing.Type[PhaseElectrolyteCPAAdvanced] + PhaseElectrolyteCPAMM: typing.Type[PhaseElectrolyteCPAMM] + PhaseElectrolyteCPAOld: typing.Type[PhaseElectrolyteCPAOld] + PhaseElectrolyteCPAstatoil: typing.Type[PhaseElectrolyteCPAstatoil] + PhaseEos: typing.Type[PhaseEos] + PhaseEosInterface: typing.Type[PhaseEosInterface] + PhaseGE: typing.Type[PhaseGE] + PhaseGEInterface: typing.Type[PhaseGEInterface] + PhaseGENRTL: typing.Type[PhaseGENRTL] + PhaseGENRTLmodifiedHV: typing.Type[PhaseGENRTLmodifiedHV] + PhaseGENRTLmodifiedWS: typing.Type[PhaseGENRTLmodifiedWS] + PhaseGERG2004Eos: typing.Type[PhaseGERG2004Eos] + PhaseGERG2008Eos: typing.Type[PhaseGERG2008Eos] + PhaseGEUnifac: typing.Type[PhaseGEUnifac] + PhaseGEUnifacPSRK: typing.Type[PhaseGEUnifacPSRK] + PhaseGEUnifacUMRPRU: typing.Type[PhaseGEUnifacUMRPRU] + PhaseGEUniquac: typing.Type[PhaseGEUniquac] + PhaseGEUniquacmodifiedHV: typing.Type[PhaseGEUniquacmodifiedHV] + PhaseGEWilson: typing.Type[PhaseGEWilson] + PhaseHydrate: typing.Type[PhaseHydrate] + PhaseIdealGas: typing.Type[PhaseIdealGas] + PhaseInterface: typing.Type[PhaseInterface] + PhaseKentEisenberg: typing.Type[PhaseKentEisenberg] + PhaseLeachmanEos: typing.Type[PhaseLeachmanEos] + PhaseModifiedFurstElectrolyteEos: typing.Type[PhaseModifiedFurstElectrolyteEos] + PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[PhaseModifiedFurstElectrolyteEosMod2004] + PhasePCSAFT: typing.Type[PhasePCSAFT] + PhasePCSAFTRahmat: typing.Type[PhasePCSAFTRahmat] + PhasePCSAFTa: typing.Type[PhasePCSAFTa] + PhasePitzer: typing.Type[PhasePitzer] + PhasePrCPA: typing.Type[PhasePrCPA] + PhasePrEos: typing.Type[PhasePrEos] + PhasePrEosvolcor: typing.Type[PhasePrEosvolcor] + PhasePureComponentSolid: typing.Type[PhasePureComponentSolid] + PhaseRK: typing.Type[PhaseRK] + PhaseSAFTVRMie: typing.Type[PhaseSAFTVRMie] + PhaseSolid: typing.Type[PhaseSolid] + PhaseSolidComplex: typing.Type[PhaseSolidComplex] + PhaseSoreideWhitson: typing.Type[PhaseSoreideWhitson] + PhaseSpanWagnerEos: typing.Type[PhaseSpanWagnerEos] + PhaseSrkCPA: typing.Type[PhaseSrkCPA] + PhaseSrkCPABroydenImplicit: typing.Type[PhaseSrkCPABroydenImplicit] + PhaseSrkCPAandersonMixing: typing.Type[PhaseSrkCPAandersonMixing] + PhaseSrkCPAandersonReduced: typing.Type[PhaseSrkCPAandersonReduced] + PhaseSrkCPAfullyImplicit: typing.Type[PhaseSrkCPAfullyImplicit] + PhaseSrkCPAfullyImplicitReduced: typing.Type[PhaseSrkCPAfullyImplicitReduced] + PhaseSrkCPAreduced: typing.Type[PhaseSrkCPAreduced] + PhaseSrkCPAs: typing.Type[PhaseSrkCPAs] + PhaseSrkEos: typing.Type[PhaseSrkEos] + PhaseSrkEosvolcor: typing.Type[PhaseSrkEosvolcor] + PhaseSrkPenelouxEos: typing.Type[PhaseSrkPenelouxEos] + PhaseTSTEos: typing.Type[PhaseTSTEos] + PhaseType: typing.Type[PhaseType] + PhaseUMRCPA: typing.Type[PhaseUMRCPA] + PhaseUMRCPAvolcor: typing.Type[PhaseUMRCPAvolcor] + PhaseVegaEos: typing.Type[PhaseVegaEos] + PhaseWaterIAPWS: typing.Type[PhaseWaterIAPWS] + PhaseWax: typing.Type[PhaseWax] + StateOfMatter: typing.Type[StateOfMatter] diff --git a/src/jneqsim/thermo/system/__init__.pyi b/src/jneqsim/thermo/system/__init__.pyi new file mode 100644 index 00000000..d0b90d95 --- /dev/null +++ b/src/jneqsim/thermo/system/__init__.pyi @@ -0,0 +1,1808 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.chemicalreactions +import jneqsim.physicalproperties +import jneqsim.physicalproperties.interfaceproperties +import jneqsim.physicalproperties.system +import jneqsim.standards +import jneqsim.thermo.characterization +import jneqsim.thermo.component +import jneqsim.thermo.mixingrule +import jneqsim.thermo.phase +import jneqsim.thermo.util.gerg +import jneqsim.util.validation +import typing + + + +class FluidBuilder(java.io.Serializable): + @staticmethod + def acidGas(double: float, double2: float) -> 'SystemInterface': ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'FluidBuilder': ... + def addPlusFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'FluidBuilder': ... + def addTBPFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'FluidBuilder': ... + def build(self) -> 'SystemInterface': ... + @staticmethod + def co2Rich(double: float, double2: float) -> 'SystemInterface': ... + @staticmethod + def create(double: float, double2: float) -> 'FluidBuilder': ... + @staticmethod + def dryExportGas(double: float, double2: float) -> 'SystemInterface': ... + @staticmethod + def gasCondensate(double: float, double2: float) -> 'SystemInterface': ... + @staticmethod + def leanNaturalGas(double: float, double2: float) -> 'SystemInterface': ... + @staticmethod + def richNaturalGas(double: float, double2: float) -> 'SystemInterface': ... + @staticmethod + def typicalBlackOil(double: float, double2: float) -> 'SystemInterface': ... + def withEOS(self, eOSType: 'FluidBuilder.EOSType') -> 'FluidBuilder': ... + def withLumpedComponents(self, int: int) -> 'FluidBuilder': ... + @typing.overload + def withMixingRule(self, int: int) -> 'FluidBuilder': ... + @typing.overload + def withMixingRule(self, string: typing.Union[java.lang.String, str]) -> 'FluidBuilder': ... + def withMultiPhaseCheck(self) -> 'FluidBuilder': ... + def withSolidPhaseCheck(self) -> 'FluidBuilder': ... + class EOSType(java.lang.Enum['FluidBuilder.EOSType']): + SRK: typing.ClassVar['FluidBuilder.EOSType'] = ... + PR: typing.ClassVar['FluidBuilder.EOSType'] = ... + SRK_CPA: typing.ClassVar['FluidBuilder.EOSType'] = ... + PR_CPA: typing.ClassVar['FluidBuilder.EOSType'] = ... + ELECTROLYTE_CPA: typing.ClassVar['FluidBuilder.EOSType'] = ... + GERG2008: typing.ClassVar['FluidBuilder.EOSType'] = ... + SRK_PENELOUX: typing.ClassVar['FluidBuilder.EOSType'] = ... + PR_1978: typing.ClassVar['FluidBuilder.EOSType'] = ... + PR_LK: typing.ClassVar['FluidBuilder.EOSType'] = ... + _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]) -> 'FluidBuilder.EOSType': ... + @staticmethod + def values() -> typing.MutableSequence['FluidBuilder.EOSType']: ... + +class SystemInterface(java.lang.Cloneable, java.io.Serializable): + def addCapeOpenProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addCharacterized(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponents(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def addComponents(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addFluid(self, systemInterface: 'SystemInterface') -> 'SystemInterface': ... + @typing.overload + def addFluid(self, systemInterface: 'SystemInterface', int: int) -> 'SystemInterface': ... + @staticmethod + def addFluids(systemInterface: 'SystemInterface', systemInterface2: 'SystemInterface') -> 'SystemInterface': ... + def addGasToLiquid(self, double: float) -> None: ... + def addLiquidToGas(self, double: float) -> None: ... + @typing.overload + def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> None: ... + @typing.overload + def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool, boolean2: bool, int: int) -> None: ... + def addPhase(self) -> None: ... + @typing.overload + def addPhaseFractionToPhase(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addPhaseFractionToPhase(self, double: float, 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]) -> None: ... + def addPlusFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addSalt(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addSolidComplexPhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + @typing.overload + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def addTBPfraction2(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addTBPfraction3(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addTBPfraction4(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + def addToComponentNames(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def allowPhaseShift(self) -> bool: ... + @typing.overload + def allowPhaseShift(self, boolean: bool) -> None: ... + def autoSelectMixingRule(self) -> None: ... + def autoSelectModel(self) -> 'SystemInterface': ... + def calcHenrysConstant(self, string: typing.Union[java.lang.String, str]) -> float: ... + def calcInterfaceProperties(self) -> None: ... + def calcKIJ(self, boolean: bool) -> None: ... + def calcResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def calc_x_y(self) -> None: ... + def calc_x_y_nonorm(self) -> None: ... + def calculateDensityFromBoilingPoint(self, double: float, double2: float) -> float: ... + def calculateMolarMassFromDensityAndBoilingPoint(self, double: float, double2: float) -> float: ... + def changeComponentName(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def characterizeToReference(systemInterface: 'SystemInterface', systemInterface2: 'SystemInterface') -> 'SystemInterface': ... + @typing.overload + def checkStability(self) -> bool: ... + @typing.overload + def checkStability(self, boolean: bool) -> None: ... + def chemicalReactionInit(self) -> None: ... + def clearAll(self) -> None: ... + def clone(self) -> 'SystemInterface': ... + @staticmethod + def combineReservoirFluids(int: int, *systemInterface: 'SystemInterface') -> 'SystemInterface': ... + def createDatabase(self, boolean: bool) -> None: ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def deleteFluidPhase(self, int: int) -> None: ... + @typing.overload + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def display(self) -> None: ... + def doEnhancedMultiPhaseCheck(self) -> bool: ... + def doMultiPhaseCheck(self) -> bool: ... + def doSolidPhaseCheck(self) -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + @typing.overload + def getBeta(self) -> float: ... + @typing.overload + def getBeta(self, int: int) -> float: ... + def getCASNumbers(self) -> typing.MutableSequence[java.lang.String]: ... + def getCapeOpenProperties10(self) -> typing.MutableSequence[java.lang.String]: ... + def getCapeOpenProperties11(self) -> typing.MutableSequence[java.lang.String]: ... + def getCharacterization(self) -> jneqsim.thermo.characterization.Characterise: ... + def getChemicalReactionOperations(self) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... + def getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... + def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... + def getCompNames(self) -> typing.MutableSequence[java.lang.String]: ... + @typing.overload + def getComponent(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... + @typing.overload + def getComponent(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponentNameTag(self) -> java.lang.String: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getCorrectedVolume(self) -> float: ... + def getCorrectedVolumeFraction(self, int: int) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensityAtReferenceConditions(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> float: ... + def getEmptySystemClone(self) -> 'SystemInterface': ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergy(self, double: float) -> float: ... + @typing.overload + def getExergy(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFluidInfo(self) -> java.lang.String: ... + def getFluidName(self) -> java.lang.String: ... + def getGamma(self) -> float: ... + def getGamma2(self) -> float: ... + def getGasPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getGibbsEnergy(self) -> float: ... + def getHeatOfVaporization(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + def getHydrateCheck(self) -> bool: ... + def getHydrateFraction(self) -> float: ... + def getHydratePhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getIdealLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInterfacialTension(self, int: int, int2: int) -> float: ... + @typing.overload + def getInterfacialTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInterfacialTension(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInterphaseProperties(self) -> jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKappa(self) -> float: ... + @typing.overload + def getKinematicViscosity(self) -> float: ... + @typing.overload + def getKinematicViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKvector(self) -> typing.MutableSequence[float]: ... + def getLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getLiquidVolume(self) -> float: ... + def getLowestGibbsEnergyPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxNumberOfPhases(self) -> int: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getMixingRuleName(self) -> java.lang.String: ... + def getModelName(self) -> java.lang.String: ... + def getMolarComposition(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarMass(self) -> float: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMolarRate(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMoleFraction(self, int: int) -> float: ... + def getMoleFractionsSum(self) -> float: ... + def getMolecularWeights(self) -> typing.MutableSequence[float]: ... + def getNormalBoilingPointTemperatures(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfMoles(self) -> float: ... + def getNumberOfOilFractionComponents(self) -> int: ... + def getNumberOfPhases(self) -> int: ... + def getOilAssayCharacterisation(self) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + def getOilFractionIDs(self) -> typing.MutableSequence[int]: ... + def getOilFractionLiquidDensityAt25C(self) -> typing.MutableSequence[float]: ... + def getOilFractionMolecularMass(self) -> typing.MutableSequence[float]: ... + def getOilFractionNormalBoilingPoints(self) -> typing.MutableSequence[float]: ... + def getPC(self) -> float: ... + @typing.overload + def getPhase(self, int: int) -> jneqsim.thermo.phase.PhaseInterface: ... + @typing.overload + def getPhase(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + @typing.overload + def getPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhaseFraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPhaseIndex(self, int: int) -> int: ... + @typing.overload + def getPhaseIndex(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... + @typing.overload + def getPhaseNumberOfPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> int: ... + @typing.overload + def getPhaseNumberOfPhase(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getPhaseOfType(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhases(self) -> typing.MutableSequence[jneqsim.thermo.phase.PhaseInterface]: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, int: int) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProperties(self) -> 'SystemProperties': ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getStandard(self) -> jneqsim.standards.StandardInterface: ... + @typing.overload + def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getTC(self) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, int: int) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalNumberOfMoles(self) -> float: ... + @typing.overload + def getViscosity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self) -> float: ... + @typing.overload + def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVolumeFraction(self, int: int) -> float: ... + def getWaxCharacterisation(self) -> jneqsim.thermo.characterization.WaxCharacterise: ... + def getWaxModel(self) -> jneqsim.thermo.characterization.WaxModelInterface: ... + def getWeightBasedComposition(self) -> typing.MutableSequence[float]: ... + def getWtFraction(self, int: int) -> float: ... + def getZ(self) -> float: ... + def getZvolcorr(self) -> float: ... + def getdVdPtn(self) -> float: ... + def getdVdTpn(self) -> float: ... + def getpH(self) -> float: ... + def getzvector(self) -> typing.MutableSequence[float]: ... + @typing.overload + def hasComponent(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + def hasHydratePhase(self) -> bool: ... + def hasIons(self) -> bool: ... + @typing.overload + def hasPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> bool: ... + @typing.overload + def hasPhaseType(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def hasSolidPhase(self) -> bool: ... + def hashCode(self) -> int: ... + @typing.overload + def init(self, int: int) -> None: ... + @typing.overload + def init(self, int: int, int2: int) -> None: ... + def initBeta(self) -> None: ... + def initNumeric(self) -> None: ... + @typing.overload + def initPhysicalProperties(self) -> None: ... + @typing.overload + def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + @typing.overload + def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initProperties(self) -> None: ... + def initRefPhases(self) -> None: ... + def initThermoProperties(self) -> None: ... + def initTotalNumberOfMoles(self, double: float) -> None: ... + def init_x_y(self) -> None: ... + def invertPhaseTypes(self) -> None: ... + @typing.overload + def isChemicalSystem(self) -> bool: ... + @typing.overload + def isChemicalSystem(self, boolean: bool) -> None: ... + def isForcePhaseTypes(self) -> bool: ... + @typing.overload + def isImplementedCompositionDeriativesofFugacity(self) -> bool: ... + @typing.overload + def isImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... + def isImplementedPressureDeriativesofFugacity(self) -> bool: ... + def isImplementedTemperatureDeriativesofFugacity(self) -> bool: ... + def isInitialized(self) -> bool: ... + def isMultiphaseWaxCheck(self) -> bool: ... + def isNumericDerivatives(self) -> bool: ... + def isPhase(self, int: int) -> bool: ... + def normalizeBeta(self) -> None: ... + def orderByDensity(self) -> None: ... + @typing.overload + def phaseToSystem(self, int: int) -> 'SystemInterface': ... + @typing.overload + def phaseToSystem(self, int: int, int2: int) -> 'SystemInterface': ... + @typing.overload + def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... + @typing.overload + def phaseToSystem(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> 'SystemInterface': ... + def prettyPrint(self) -> None: ... + def reInitPhaseType(self) -> None: ... + def readFluid(self, string: typing.Union[java.lang.String, str]) -> None: ... + def readObject(self, int: int) -> 'SystemInterface': ... + def readObjectFromFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... + def removeComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def removePhase(self, int: int) -> None: ... + def removePhaseKeepTotalComposition(self, int: int) -> None: ... + def renameComponent(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def replacePhase(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def reset(self) -> None: ... + def resetCharacterisation(self) -> None: ... + def resetDatabase(self) -> None: ... + def resetPhysicalProperties(self) -> None: ... + def reset_x_y(self) -> None: ... + def save(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def saveFluid(self, int: int) -> None: ... + @typing.overload + def saveFluid(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def saveObject(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def saveObjectToFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def saveToDataBase(self) -> None: ... + def setAllComponentsInPhase(self, int: int) -> None: ... + def setAllPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setBeta(self, double: float) -> None: ... + @typing.overload + def setBeta(self, int: int, double: float) -> None: ... + @typing.overload + def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + @typing.overload + def setBinaryInteractionParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setBmixType(self, int: int) -> None: ... + @typing.overload + def setComponentCriticalParameters(self, int: int, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setComponentCriticalParameters(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def setComponentFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNameTag(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNameTagOnNormalComponents(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def setComponentVolumeCorrection(self, int: int, double: float) -> None: ... + @typing.overload + def setComponentVolumeCorrection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setEmptyFluid(self) -> None: ... + def setEnhancedMultiPhaseCheck(self, boolean: bool) -> None: ... + def setFluidInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFluidName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setForcePhaseTypes(self, boolean: bool) -> None: ... + @typing.overload + def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setForceSinglePhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setHeavyTBPfractionAsPlusFraction(self) -> bool: ... + def setHydrateCheck(self, boolean: bool) -> None: ... + def setImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... + def setImplementedPressureDeriativesofFugacity(self, boolean: bool) -> None: ... + def setImplementedTemperatureDeriativesofFugacity(self, boolean: bool) -> None: ... + @typing.overload + def setLiquidDensityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setLiquidDensityModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setMaxNumberOfPhases(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setModel(self, string: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... + def setMolarComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarCompositionOfNamedComponents(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarCompositionOfPlusFluid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarCompositionPlus(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMultiPhaseCheck(self, boolean: bool) -> None: ... + def setMultiphaseWaxCheck(self, boolean: bool) -> None: ... + def setNumberOfPhases(self, int: int) -> None: ... + def setNumericDerivatives(self, boolean: bool) -> None: ... + def setPC(self, double: float) -> None: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> None: ... + def setPhaseIndex(self, int: int, int2: int) -> None: ... + @typing.overload + def setPhaseType(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPhaseType(self, int: int, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + @typing.overload + def setPhysicalPropertyModel(self, int: int) -> None: ... + @typing.overload + def setPhysicalPropertyModel(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSolidPhaseCheck(self, boolean: bool) -> None: ... + @typing.overload + def setSolidPhaseCheck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTC(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, int: int) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalNumberOfMoles(self, double: float) -> None: ... + def setUseTVasIndependentVariables(self, boolean: bool) -> None: ... + def setWaxModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toCompJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def tuneModel(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def useVolumeCorrection(self, boolean: bool) -> None: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + +class SystemProperties: + nCols: typing.ClassVar[int] = ... + def __init__(self, systemInterface: SystemInterface): ... + def getProperties(self) -> java.util.HashMap[java.lang.String, float]: ... + @staticmethod + def getPropertyNames() -> typing.MutableSequence[java.lang.String]: ... + def getValues(self) -> typing.MutableSequence[float]: ... + +class SystemThermo(SystemInterface): + characterization: jneqsim.thermo.characterization.Characterise = ... + componentNameTag: java.lang.String = ... + maxNumberOfPhases: int = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def addCapeOpenProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addCharacterized(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def addFluid(self, systemInterface: SystemInterface) -> SystemInterface: ... + @typing.overload + def addFluid(self, systemInterface: SystemInterface, int: int) -> SystemInterface: ... + def addGasToLiquid(self, double: float) -> None: ... + def addHydratePhase(self) -> None: ... + def addHydratePhase2(self) -> None: ... + def addLiquidToGas(self, double: float) -> None: ... + @typing.overload + def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> None: ... + @typing.overload + def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool, boolean2: bool, int: int) -> None: ... + def addPhase(self) -> None: ... + @typing.overload + def addPhaseFractionToPhase(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addPhaseFractionToPhase(self, double: float, 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]) -> None: ... + def addPlusFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addSalt(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addSolidComplexPhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addSolidPhase(self) -> None: ... + @typing.overload + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + @typing.overload + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def addTBPfraction2(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addTBPfraction3(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addTBPfraction4(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + def addToComponentNames(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def allowPhaseShift(self) -> bool: ... + @typing.overload + def allowPhaseShift(self, boolean: bool) -> None: ... + def autoSelectMixingRule(self) -> None: ... + def autoSelectModel(self) -> SystemInterface: ... + def calcHenrysConstant(self, string: typing.Union[java.lang.String, str]) -> float: ... + def calcInterfaceProperties(self) -> None: ... + def calcKIJ(self, boolean: bool) -> None: ... + def calc_x_y(self) -> None: ... + def calc_x_y_nonorm(self) -> None: ... + def calculateDensityFromBoilingPoint(self, double: float, double2: float) -> float: ... + def calculateMolarMassFromDensityAndBoilingPoint(self, double: float, double2: float) -> float: ... + def changeComponentName(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def checkStability(self) -> bool: ... + @typing.overload + def checkStability(self, boolean: bool) -> None: ... + def chemicalReactionInit(self) -> None: ... + def clearAll(self) -> None: ... + def clone(self) -> 'SystemThermo': ... + def createDatabase(self, boolean: bool) -> None: ... + def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def deleteFluidPhase(self, int: int) -> None: ... + @typing.overload + def display(self) -> None: ... + @typing.overload + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def doEnhancedMultiPhaseCheck(self) -> bool: ... + def doMultiPhaseCheck(self) -> bool: ... + def doSolidPhaseCheck(self) -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + def getAntoineVaporPressure(self, double: float) -> float: ... + @typing.overload + def getBeta(self) -> float: ... + @typing.overload + def getBeta(self, int: int) -> float: ... + def getCASNumbers(self) -> typing.MutableSequence[java.lang.String]: ... + def getCapeOpenProperties10(self) -> typing.MutableSequence[java.lang.String]: ... + def getCapeOpenProperties11(self) -> typing.MutableSequence[java.lang.String]: ... + def getCharacterization(self) -> jneqsim.thermo.characterization.Characterise: ... + def getChemicalReactionOperations(self) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... + def getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... + def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... + def getCompNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getComponentNameTag(self) -> java.lang.String: ... + def getCorrectedVolume(self) -> float: ... + def getCorrectedVolumeFraction(self, int: int) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEmptySystemClone(self) -> SystemInterface: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergy(self, double: float) -> float: ... + @typing.overload + def getExergy(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFluidInfo(self) -> java.lang.String: ... + def getFluidName(self) -> java.lang.String: ... + def getGamma(self) -> float: ... + def getGasPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getGibbsEnergy(self) -> float: ... + def getHeatOfVaporization(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + def getHydrateCheck(self) -> bool: ... + def getIdealLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInterfacialTension(self, int: int, int2: int) -> float: ... + @typing.overload + def getInterfacialTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInterfacialTension(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInterphaseProperties(self) -> jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKappa(self) -> float: ... + @typing.overload + def getKinematicViscosity(self) -> float: ... + @typing.overload + def getKinematicViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKvector(self) -> typing.MutableSequence[float]: ... + def getLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getLiquidVolume(self) -> float: ... + def getLowestGibbsEnergyPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxNumberOfPhases(self) -> int: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getMixingRuleName(self) -> java.lang.String: ... + def getModelName(self) -> java.lang.String: ... + def getMolarComposition(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarMass(self) -> float: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMolarRate(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMoleFraction(self, int: int) -> float: ... + def getMoleFractionsSum(self) -> float: ... + def getMolecularWeights(self) -> typing.MutableSequence[float]: ... + def getNormalBoilingPointTemperatures(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfOilFractionComponents(self) -> int: ... + def getNumberOfPhases(self) -> int: ... + def getOilAssayCharacterisation(self) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + def getOilFractionIDs(self) -> typing.MutableSequence[int]: ... + def getOilFractionLiquidDensityAt25C(self) -> typing.MutableSequence[float]: ... + def getOilFractionMolecularMass(self) -> typing.MutableSequence[float]: ... + def getOilFractionNormalBoilingPoints(self) -> typing.MutableSequence[float]: ... + def getPC(self) -> float: ... + @typing.overload + def getPhase(self, int: int) -> jneqsim.thermo.phase.PhaseInterface: ... + @typing.overload + def getPhase(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + @typing.overload + def getPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhaseFraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getPhaseIndex(self, int: int) -> int: ... + @typing.overload + def getPhaseIndex(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... + @typing.overload + def getPhaseNumberOfPhase(self, string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + def getPhaseNumberOfPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> int: ... + def getPhaseOfType(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhases(self) -> typing.MutableSequence[jneqsim.thermo.phase.PhaseInterface]: ... + @typing.overload + def getPressure(self) -> float: ... + @typing.overload + def getPressure(self, int: int) -> float: ... + @typing.overload + def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProperties(self) -> SystemProperties: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + @typing.overload + def getProperty(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> float: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getStandard(self) -> jneqsim.standards.StandardInterface: ... + @typing.overload + def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getSumBeta(self) -> float: ... + def getTC(self) -> float: ... + @typing.overload + def getTemperature(self, int: int) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalNumberOfMoles(self) -> float: ... + @typing.overload + def getViscosity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self) -> float: ... + def getVolumeFraction(self, int: int) -> float: ... + def getWaxCharacterisation(self) -> jneqsim.thermo.characterization.WaxCharacterise: ... + def getWaxModel(self) -> jneqsim.thermo.characterization.WaxModelInterface: ... + def getWeightBasedComposition(self) -> typing.MutableSequence[float]: ... + def getWtFraction(self, int: int) -> float: ... + def getZ(self) -> float: ... + def getZvolcorr(self) -> float: ... + def getdPdVtn(self) -> float: ... + def getdVdPtn(self) -> float: ... + def getdVdTpn(self) -> float: ... + def getzvector(self) -> typing.MutableSequence[float]: ... + @typing.overload + def hasPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> bool: ... + @typing.overload + def hasPhaseType(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def hasTBPFraction(self) -> bool: ... + @typing.overload + def init(self, int: int) -> None: ... + @typing.overload + def init(self, int: int, int2: int) -> None: ... + @typing.overload + def initAnalytic(self, int: int) -> None: ... + @typing.overload + def initAnalytic(self, int: int, int2: int) -> None: ... + def initBeta(self) -> None: ... + @typing.overload + def initNumeric(self) -> None: ... + @typing.overload + def initNumeric(self, int: int) -> None: ... + @typing.overload + def initNumeric(self, int: int, int2: int) -> None: ... + @typing.overload + def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def initPhysicalProperties(self) -> None: ... + @typing.overload + def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initRefPhases(self) -> None: ... + def initTotalNumberOfMoles(self, double: float) -> None: ... + def init_x_y(self) -> None: ... + def invertPhaseTypes(self) -> None: ... + def isBetaValid(self) -> bool: ... + @typing.overload + def isChemicalSystem(self) -> bool: ... + @typing.overload + def isChemicalSystem(self, boolean: bool) -> None: ... + def isForcePhaseTypes(self) -> bool: ... + @typing.overload + def isImplementedCompositionDeriativesofFugacity(self) -> bool: ... + @typing.overload + def isImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... + def isImplementedPressureDeriativesofFugacity(self) -> bool: ... + def isImplementedTemperatureDeriativesofFugacity(self) -> bool: ... + def isInitialized(self) -> bool: ... + def isMultiphaseWaxCheck(self) -> bool: ... + def isNumericDerivatives(self) -> bool: ... + def isPhase(self, int: int) -> bool: ... + def normalizeBeta(self) -> None: ... + def orderByDensity(self) -> None: ... + @typing.overload + def phaseToSystem(self, int: int) -> SystemInterface: ... + @typing.overload + def phaseToSystem(self, int: int, int2: int) -> SystemInterface: ... + @typing.overload + def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + @typing.overload + def phaseToSystem(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> SystemInterface: ... + def reInitPhaseInformation(self) -> None: ... + def reInitPhaseType(self) -> None: ... + def readFluid(self, string: typing.Union[java.lang.String, str]) -> None: ... + def readObject(self, int: int) -> SystemInterface: ... + def readObjectFromFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def removeComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def removePhase(self, int: int) -> None: ... + def removePhaseKeepTotalComposition(self, int: int) -> None: ... + def renameComponent(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def replacePhase(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def reset(self) -> None: ... + def resetCharacterisation(self) -> None: ... + def resetDatabase(self) -> None: ... + def resetPhysicalProperties(self) -> None: ... + def reset_x_y(self) -> None: ... + def save(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def saveFluid(self, int: int) -> None: ... + @typing.overload + def saveFluid(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def saveObject(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def saveObjectToFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def saveToDataBase(self) -> None: ... + def setAllComponentsInPhase(self, int: int) -> None: ... + def setAllPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setBeta(self, double: float) -> None: ... + @typing.overload + def setBeta(self, int: int, double: float) -> None: ... + @typing.overload + def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + @typing.overload + def setBinaryInteractionParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setBmixType(self, int: int) -> None: ... + @typing.overload + def setComponentCriticalParameters(self, int: int, double: float, double2: float, double3: float) -> None: ... + @typing.overload + def setComponentCriticalParameters(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def setComponentFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNameTag(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNameTagOnNormalComponents(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def setComponentVolumeCorrection(self, int: int, double: float) -> None: ... + @typing.overload + def setComponentVolumeCorrection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setEmptyFluid(self) -> None: ... + def setEnhancedMultiPhaseCheck(self, boolean: bool) -> None: ... + def setFluidInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFluidName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setForcePhaseTypes(self, boolean: bool) -> None: ... + @typing.overload + def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setForceSinglePhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setHeavyTBPfractionAsPlusFraction(self) -> bool: ... + def setHydrateCheck(self, boolean: bool) -> None: ... + def setImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... + def setImplementedPressureDeriativesofFugacity(self, boolean: bool) -> None: ... + def setImplementedTemperatureDeriativesofFugacity(self, boolean: bool) -> None: ... + def setLastTBPasPlus(self) -> bool: ... + def setMaxNumberOfPhases(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRuleGEmodel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRuleParametersForComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setModel(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def setModelName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMolarComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarCompositionOfNamedComponents(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarCompositionOfPlusFluid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarCompositionPlus(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMultiPhaseCheck(self, boolean: bool) -> None: ... + def setMultiphaseWaxCheck(self, boolean: bool) -> None: ... + def setNumberOfPhases(self, int: int) -> None: ... + def setNumericDerivatives(self, boolean: bool) -> None: ... + def setPC(self, double: float) -> None: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> None: ... + def setPhaseIndex(self, int: int, int2: int) -> None: ... + @typing.overload + def setPhaseType(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setPhaseType(self, int: int, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSolidPhaseCheck(self, boolean: bool) -> None: ... + @typing.overload + def setSolidPhaseCheck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTC(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, int: int) -> None: ... + @typing.overload + def setTemperature(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTotalNumberOfMoles(self, double: float) -> None: ... + def setUseTVasIndependentVariables(self, boolean: bool) -> None: ... + def setWaxModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def toCompJson(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + def tuneModel(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def useTVasIndependentVariables(self) -> bool: ... + def useVolumeCorrection(self, boolean: bool) -> None: ... + @typing.overload + def write(self) -> java.lang.String: ... + @typing.overload + def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + +class SystemEos(SystemThermo): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def equals(self, object: typing.Any) -> bool: ... + +class SystemIdealGas(SystemThermo): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemIdealGas': ... + +class SystemAmmoniaEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def clone(self) -> 'SystemAmmoniaEos': ... + +class SystemBWRSEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemBWRSEos': ... + +class SystemBnsEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool): ... + def clone(self) -> 'SystemBnsEos': ... + def setAssociatedGas(self, boolean: bool) -> None: ... + @typing.overload + def setComposition(self, double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def setComposition(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setRelativeDensity(self, double: float) -> None: ... + +class SystemDesmukhMather(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemDesmukhMather': ... + +class SystemDuanSun(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def clone(self) -> 'SystemDuanSun': ... + +class SystemEOSCGEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemEOSCGEos': ... + def commonInitialization(self) -> None: ... + +class SystemGERG2004Eos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGERG2004Eos': ... + def commonInitialization(self) -> None: ... + +class SystemGERG2008Eos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGERG2008Eos': ... + def commonInitialization(self) -> None: ... + def getGergModelType(self) -> jneqsim.thermo.util.gerg.GERG2008Type: ... + def isUsingAmmoniaExtendedModel(self) -> bool: ... + def isUsingHydrogenEnhancedModel(self) -> bool: ... + def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + def useAmmoniaExtendedModel(self) -> None: ... + def useHydrogenEnhancedModel(self) -> None: ... + +class SystemGEWilson(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGEWilson': ... + +class SystemKentEisenberg(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemKentEisenberg': ... + +class SystemLeachmanEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def clone(self) -> 'SystemLeachmanEos': ... + def commonInitialization(self) -> None: ... + +class SystemNRTL(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemNRTL': ... + +class SystemPitzer(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPitzer': ... + @typing.overload + def setMixingRule(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setMultiPhaseCheck(self, boolean: bool) -> None: ... + +class SystemPrEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrEos': ... + +class SystemRKEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemRKEos': ... + +class SystemSpanWagnerEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + def clone(self) -> 'SystemSpanWagnerEos': ... + def commonInitialization(self) -> None: ... + +class SystemSrkEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkEos': ... + +class SystemTSTEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemTSTEos': ... + +class SystemUNIFAC(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemUNIFAC': ... + +class SystemUNIFACpsrk(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemUNIFACpsrk': ... + +class SystemVegaEos(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def clone(self) -> 'SystemVegaEos': ... + def commonInitialization(self) -> None: ... + +class SystemWaterIF97(SystemEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def clone(self) -> 'SystemWaterIF97': ... + def commonInitialization(self) -> None: ... + +class SystemCSPsrkEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemCSPsrkEos': ... + +class SystemFurstElectrolyteEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemFurstElectrolyteEos': ... + +class SystemFurstElectrolyteEosMod2004(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemFurstElectrolyteEosMod2004': ... + +class SystemGERGwaterEos(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGERGwaterEos': ... + +class SystemPCSAFT(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + @typing.overload + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def clone(self) -> 'SystemPCSAFT': ... + def commonInitialization(self) -> None: ... + +class SystemPCSAFTa(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPCSAFTa': ... + +class SystemPrCPA(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrCPA': ... + +class SystemPrDanesh(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrDanesh': ... + +class SystemPrEos1978(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrEos1978': ... + +class SystemPrEosDelft1998(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrEosDelft1998': ... + +class SystemPrEosvolcor(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + +class SystemPrGassemEos(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrGassemEos': ... + +class SystemPrLeeKeslerEos(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrLeeKeslerEos': ... + +class SystemPrMathiasCopeman(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrMathiasCopeman': ... + +class SystemPsrkEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPsrkEos': ... + +class SystemSAFTVRMie(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + +class SystemSrkCPA(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float) -> None: ... + @typing.overload + def addComponent(self, int: int, double: float, int2: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... + @typing.overload + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def clone(self) -> 'SystemSrkCPA': ... + def commonInitialization(self) -> None: ... + +class SystemSrkEosvolcor(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + +class SystemSrkMathiasCopeman(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkMathiasCopeman': ... + +class SystemSrkPenelouxEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkPenelouxEos': ... + +class SystemSrkSchwartzentruberEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkSchwartzentruberEos': ... + +class SystemSrkTwuCoonEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkTwuCoonEos': ... + +class SystemSrkTwuCoonParamEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkTwuCoonParamEos': ... + +class SystemSrkTwuCoonStatoilEos(SystemSrkEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkTwuCoonStatoilEos': ... + +class SystemUMRCPAEoS(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + +class SystemUMRPRUEos(SystemPrEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemUMRPRUEos': ... + def commonInitialization(self) -> None: ... + +class SystemElectrolyteCPA(SystemFurstElectrolyteEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemElectrolyteCPA': ... + +class SystemElectrolyteCPAAdvanced(SystemFurstElectrolyteEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemElectrolyteCPAAdvanced': ... + +class SystemElectrolyteCPAMM(SystemSrkCPA): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemElectrolyteCPAMM': ... + def getDebyeLength(self, int: int) -> float: ... + def getMixturePermittivity(self, int: int) -> float: ... + def getSolventPermittivity(self, int: int) -> float: ... + @typing.overload + def initHuronVidalIonParameters(self) -> None: ... + @typing.overload + def initHuronVidalIonParameters(self, double: float) -> None: ... + def setBornOn(self, boolean: bool) -> None: ... + def setDebyeHuckelOn(self, boolean: bool) -> None: ... + @typing.overload + def setDielectricMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setDielectricMixingRule(self, dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule) -> None: ... + def setShortRangeOn(self, boolean: bool) -> None: ... + +class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemElectrolyteCPAstatoil': ... + +class SystemSoreideWhitson(SystemPrEos1978): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + @typing.overload + def addSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addSalinity(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def calcSalinity(self) -> bool: ... + def clone(self) -> 'SystemSoreideWhitson': ... + def getSalinity(self) -> float: ... + def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + +class SystemSrkCPAs(SystemSrkCPA): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAs': ... + +class SystemUMRCPAvolcor(SystemUMRCPAEoS): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + +class SystemUMRPRUMCEos(SystemUMRPRUEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemUMRPRUMCEos': ... + +class SystemSrkCPAstatoil(SystemSrkCPAs): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoil': ... + +class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + +class SystemSrkCPAstatoilAndersonMixing(SystemSrkCPAstatoil): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilAndersonMixing': ... + +class SystemSrkCPAstatoilAndersonReduced(SystemSrkCPAstatoil): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilAndersonReduced': ... + +class SystemSrkCPAstatoilBroydenImplicit(SystemSrkCPAstatoil): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilBroydenImplicit': ... + +class SystemSrkCPAstatoilFullyImplicit(SystemSrkCPAstatoil): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilFullyImplicit': ... + +class SystemSrkCPAstatoilFullyImplicitReduced(SystemSrkCPAstatoil): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilFullyImplicitReduced': ... + +class SystemSrkCPAstatoilReduced(SystemSrkCPAstatoil): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilReduced': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.system")``. + + FluidBuilder: typing.Type[FluidBuilder] + SystemAmmoniaEos: typing.Type[SystemAmmoniaEos] + SystemBWRSEos: typing.Type[SystemBWRSEos] + SystemBnsEos: typing.Type[SystemBnsEos] + SystemCSPsrkEos: typing.Type[SystemCSPsrkEos] + SystemDesmukhMather: typing.Type[SystemDesmukhMather] + SystemDuanSun: typing.Type[SystemDuanSun] + SystemEOSCGEos: typing.Type[SystemEOSCGEos] + SystemElectrolyteCPA: typing.Type[SystemElectrolyteCPA] + SystemElectrolyteCPAAdvanced: typing.Type[SystemElectrolyteCPAAdvanced] + SystemElectrolyteCPAMM: typing.Type[SystemElectrolyteCPAMM] + SystemElectrolyteCPAstatoil: typing.Type[SystemElectrolyteCPAstatoil] + SystemEos: typing.Type[SystemEos] + SystemFurstElectrolyteEos: typing.Type[SystemFurstElectrolyteEos] + SystemFurstElectrolyteEosMod2004: typing.Type[SystemFurstElectrolyteEosMod2004] + SystemGERG2004Eos: typing.Type[SystemGERG2004Eos] + SystemGERG2008Eos: typing.Type[SystemGERG2008Eos] + SystemGERGwaterEos: typing.Type[SystemGERGwaterEos] + SystemGEWilson: typing.Type[SystemGEWilson] + SystemIdealGas: typing.Type[SystemIdealGas] + SystemInterface: typing.Type[SystemInterface] + SystemKentEisenberg: typing.Type[SystemKentEisenberg] + SystemLeachmanEos: typing.Type[SystemLeachmanEos] + SystemNRTL: typing.Type[SystemNRTL] + SystemPCSAFT: typing.Type[SystemPCSAFT] + SystemPCSAFTa: typing.Type[SystemPCSAFTa] + SystemPitzer: typing.Type[SystemPitzer] + SystemPrCPA: typing.Type[SystemPrCPA] + SystemPrDanesh: typing.Type[SystemPrDanesh] + SystemPrEos: typing.Type[SystemPrEos] + SystemPrEos1978: typing.Type[SystemPrEos1978] + SystemPrEosDelft1998: typing.Type[SystemPrEosDelft1998] + SystemPrEosvolcor: typing.Type[SystemPrEosvolcor] + SystemPrGassemEos: typing.Type[SystemPrGassemEos] + SystemPrLeeKeslerEos: typing.Type[SystemPrLeeKeslerEos] + SystemPrMathiasCopeman: typing.Type[SystemPrMathiasCopeman] + SystemProperties: typing.Type[SystemProperties] + SystemPsrkEos: typing.Type[SystemPsrkEos] + SystemRKEos: typing.Type[SystemRKEos] + SystemSAFTVRMie: typing.Type[SystemSAFTVRMie] + SystemSoreideWhitson: typing.Type[SystemSoreideWhitson] + SystemSpanWagnerEos: typing.Type[SystemSpanWagnerEos] + SystemSrkCPA: typing.Type[SystemSrkCPA] + SystemSrkCPAs: typing.Type[SystemSrkCPAs] + SystemSrkCPAstatoil: typing.Type[SystemSrkCPAstatoil] + SystemSrkCPAstatoilAndersonMixing: typing.Type[SystemSrkCPAstatoilAndersonMixing] + SystemSrkCPAstatoilAndersonReduced: typing.Type[SystemSrkCPAstatoilAndersonReduced] + SystemSrkCPAstatoilBroydenImplicit: typing.Type[SystemSrkCPAstatoilBroydenImplicit] + SystemSrkCPAstatoilFullyImplicit: typing.Type[SystemSrkCPAstatoilFullyImplicit] + SystemSrkCPAstatoilFullyImplicitReduced: typing.Type[SystemSrkCPAstatoilFullyImplicitReduced] + SystemSrkCPAstatoilReduced: typing.Type[SystemSrkCPAstatoilReduced] + SystemSrkEos: typing.Type[SystemSrkEos] + SystemSrkEosvolcor: typing.Type[SystemSrkEosvolcor] + SystemSrkMathiasCopeman: typing.Type[SystemSrkMathiasCopeman] + SystemSrkPenelouxEos: typing.Type[SystemSrkPenelouxEos] + SystemSrkSchwartzentruberEos: typing.Type[SystemSrkSchwartzentruberEos] + SystemSrkTwuCoonEos: typing.Type[SystemSrkTwuCoonEos] + SystemSrkTwuCoonParamEos: typing.Type[SystemSrkTwuCoonParamEos] + SystemSrkTwuCoonStatoilEos: typing.Type[SystemSrkTwuCoonStatoilEos] + SystemTSTEos: typing.Type[SystemTSTEos] + SystemThermo: typing.Type[SystemThermo] + SystemUMRCPAEoS: typing.Type[SystemUMRCPAEoS] + SystemUMRCPAvolcor: typing.Type[SystemUMRCPAvolcor] + SystemUMRPRUEos: typing.Type[SystemUMRPRUEos] + SystemUMRPRUMCEos: typing.Type[SystemUMRPRUMCEos] + SystemUMRPRUMCEosNew: typing.Type[SystemUMRPRUMCEosNew] + SystemUNIFAC: typing.Type[SystemUNIFAC] + SystemUNIFACpsrk: typing.Type[SystemUNIFACpsrk] + SystemVegaEos: typing.Type[SystemVegaEos] + SystemWaterIF97: typing.Type[SystemWaterIF97] diff --git a/src/jneqsim/thermo/util/Vega/__init__.pyi b/src/jneqsim/thermo/util/Vega/__init__.pyi new file mode 100644 index 00000000..012a82bc --- /dev/null +++ b/src/jneqsim/thermo/util/Vega/__init__.pyi @@ -0,0 +1,55 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.phase +import org.netlib.util +import typing + + + +class NeqSimVega: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def getAlpha0_Vega(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_Vega(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getMolarDensity(self) -> float: ... + @typing.overload + def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getPressure(self) -> float: ... + def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def propertiesVega(self) -> typing.MutableSequence[float]: ... + @typing.overload + def propertiesVega(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + +class Vega: + def __init__(self): ... + def DensityVega(self, int: int, double: float, double2: float, doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def PressureVega(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def SetupVega(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def propertiesVega(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.Vega")``. + + NeqSimVega: typing.Type[NeqSimVega] + Vega: typing.Type[Vega] diff --git a/src/jneqsim/thermo/util/__init__.pyi b/src/jneqsim/thermo/util/__init__.pyi new file mode 100644 index 00000000..dd4afede --- /dev/null +++ b/src/jneqsim/thermo/util/__init__.pyi @@ -0,0 +1,99 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.thermo.system +import jneqsim.thermo.util.Vega +import jneqsim.thermo.util.amines +import jneqsim.thermo.util.benchmark +import jneqsim.thermo.util.constants +import jneqsim.thermo.util.derivatives +import jneqsim.thermo.util.empiric +import jneqsim.thermo.util.gerg +import jneqsim.thermo.util.humidair +import jneqsim.thermo.util.hydrogen +import jneqsim.thermo.util.jni +import jneqsim.thermo.util.leachman +import jneqsim.thermo.util.readwrite +import jneqsim.thermo.util.referenceequations +import jneqsim.thermo.util.spanwagner +import jneqsim.thermo.util.steam +import typing + + + +class FluidClassifier: + @staticmethod + def calculateC7PlusContent(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def classify(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ReservoirFluidType': ... + @staticmethod + def classifyByC7Plus(double: float) -> 'ReservoirFluidType': ... + @staticmethod + def classifyByGOR(double: float) -> 'ReservoirFluidType': ... + @staticmethod + def classifyWithPhaseEnvelope(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 'ReservoirFluidType': ... + @staticmethod + def estimateAPIGravity(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + @staticmethod + def generateClassificationReport(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + +class ProducedWaterFluidBuilder: + @staticmethod + def addGasToWater(systemInterface: jneqsim.thermo.system.SystemInterface, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def createFromIons(double: float, double2: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def createFromTDS(double: float, double2: float, double3: float, double4: float) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def createFromType(double: float, double2: float, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + +class ReservoirFluidType(java.lang.Enum['ReservoirFluidType']): + DRY_GAS: typing.ClassVar['ReservoirFluidType'] = ... + WET_GAS: typing.ClassVar['ReservoirFluidType'] = ... + GAS_CONDENSATE: typing.ClassVar['ReservoirFluidType'] = ... + VOLATILE_OIL: typing.ClassVar['ReservoirFluidType'] = ... + BLACK_OIL: typing.ClassVar['ReservoirFluidType'] = ... + HEAVY_OIL: typing.ClassVar['ReservoirFluidType'] = ... + UNKNOWN: typing.ClassVar['ReservoirFluidType'] = ... + def getDisplayName(self) -> java.lang.String: ... + def getTypicalC7PlusRange(self) -> java.lang.String: ... + def getTypicalGORRange(self) -> java.lang.String: ... + def toString(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]) -> 'ReservoirFluidType': ... + @staticmethod + def values() -> typing.MutableSequence['ReservoirFluidType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util")``. + + FluidClassifier: typing.Type[FluidClassifier] + ProducedWaterFluidBuilder: typing.Type[ProducedWaterFluidBuilder] + ReservoirFluidType: typing.Type[ReservoirFluidType] + Vega: jneqsim.thermo.util.Vega.__module_protocol__ + amines: jneqsim.thermo.util.amines.__module_protocol__ + benchmark: jneqsim.thermo.util.benchmark.__module_protocol__ + constants: jneqsim.thermo.util.constants.__module_protocol__ + derivatives: jneqsim.thermo.util.derivatives.__module_protocol__ + empiric: jneqsim.thermo.util.empiric.__module_protocol__ + gerg: jneqsim.thermo.util.gerg.__module_protocol__ + humidair: jneqsim.thermo.util.humidair.__module_protocol__ + hydrogen: jneqsim.thermo.util.hydrogen.__module_protocol__ + jni: jneqsim.thermo.util.jni.__module_protocol__ + leachman: jneqsim.thermo.util.leachman.__module_protocol__ + readwrite: jneqsim.thermo.util.readwrite.__module_protocol__ + referenceequations: jneqsim.thermo.util.referenceequations.__module_protocol__ + spanwagner: jneqsim.thermo.util.spanwagner.__module_protocol__ + steam: jneqsim.thermo.util.steam.__module_protocol__ diff --git a/src/jneqsim/thermo/util/amines/__init__.pyi b/src/jneqsim/thermo/util/amines/__init__.pyi new file mode 100644 index 00000000..f2d92316 --- /dev/null +++ b/src/jneqsim/thermo/util/amines/__init__.pyi @@ -0,0 +1,92 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.thermo.system +import typing + + + +class AmineHeatOfAbsorption(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, amineType: 'AmineHeatOfAbsorption.AmineType', double: float, double2: float, double3: float): ... + def calcHeatOfAbsorptionCO2(self) -> float: ... + def calcHeatOfAbsorptionH2S(self) -> float: ... + def calcTotalHeatReleased(self) -> float: ... + def getAbsorptionProperties(self) -> java.util.Map[java.lang.String, float]: ... + def getAmineConcentration(self) -> float: ... + def getAmineType(self) -> 'AmineHeatOfAbsorption.AmineType': ... + def getCO2Loading(self) -> float: ... + def getTemperature(self) -> float: ... + def setAmineConcentration(self, double: float) -> None: ... + def setAmineType(self, amineType: 'AmineHeatOfAbsorption.AmineType') -> None: ... + def setCO2Loading(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + class AmineType(java.lang.Enum['AmineHeatOfAbsorption.AmineType']): + MEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... + DEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... + MDEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... + AMDEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... + def getMaxLoading(self) -> float: ... + def getMolarMass(self) -> float: ... + def getName(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]) -> 'AmineHeatOfAbsorption.AmineType': ... + @staticmethod + def values() -> typing.MutableSequence['AmineHeatOfAbsorption.AmineType']: ... + +class AmineSystem(java.io.Serializable): + @typing.overload + def __init__(self, amineType: 'AmineSystem.AmineType'): ... + @typing.overload + def __init__(self, amineType: 'AmineSystem.AmineType', double: float, double2: float): ... + def calcBubblePointPressure(self) -> float: ... + def createSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getAmineType(self) -> 'AmineSystem.AmineType': ... + def getCO2PartialPressure(self) -> float: ... + def getHeatCalculator(self) -> AmineHeatOfAbsorption: ... + def getHeatOfAbsorptionCO2(self) -> float: ... + def getHeatOfAbsorptionH2S(self) -> float: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalHeatReleased(self) -> float: ... + def getpH(self) -> float: ... + def runTPflash(self) -> jneqsim.thermo.system.SystemInterface: ... + def setAmineConcentration(self, double: float) -> None: ... + def setCO2Loading(self, double: float) -> None: ... + def setH2SLoading(self, double: float) -> None: ... + def setPiperazineConcentration(self, double: float) -> None: ... + def toString(self) -> java.lang.String: ... + class AmineType(java.lang.Enum['AmineSystem.AmineType']): + MEA: typing.ClassVar['AmineSystem.AmineType'] = ... + DEA: typing.ClassVar['AmineSystem.AmineType'] = ... + MDEA: typing.ClassVar['AmineSystem.AmineType'] = ... + AMDEA: typing.ClassVar['AmineSystem.AmineType'] = ... + _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]) -> 'AmineSystem.AmineType': ... + @staticmethod + def values() -> typing.MutableSequence['AmineSystem.AmineType']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.amines")``. + + AmineHeatOfAbsorption: typing.Type[AmineHeatOfAbsorption] + AmineSystem: typing.Type[AmineSystem] diff --git a/src/jneqsim/thermo/util/benchmark/__init__.pyi b/src/jneqsim/thermo/util/benchmark/__init__.pyi new file mode 100644 index 00000000..af230659 --- /dev/null +++ b/src/jneqsim/thermo/util/benchmark/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import typing + + + +class TPflash_benchmark: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class TPflash_benchmark_UMR: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class TPflash_benchmark_fullcomp: + def __init__(self): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.benchmark")``. + + TPflash_benchmark: typing.Type[TPflash_benchmark] + TPflash_benchmark_UMR: typing.Type[TPflash_benchmark_UMR] + TPflash_benchmark_fullcomp: typing.Type[TPflash_benchmark_fullcomp] diff --git a/src/jneqsim/thermo/util/constants/__init__.pyi b/src/jneqsim/thermo/util/constants/__init__.pyi new file mode 100644 index 00000000..5c303492 --- /dev/null +++ b/src/jneqsim/thermo/util/constants/__init__.pyi @@ -0,0 +1,194 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import typing + + + +class FurstElectrolyteConstants(java.io.Serializable): + furstParams: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_MDEA: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_MEG: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_MeOH: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_EtOH: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_MEA: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_TEG: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsCPA_TDep: typing.ClassVar[typing.MutableSequence[float]] = ... + EPSILON_WATER_REF: typing.ClassVar[float] = ... + furstParamsGasIon: typing.ClassVar[typing.MutableSequence[float]] = ... + furstParamsOIIon: typing.ClassVar[typing.MutableSequence[float]] = ... + @staticmethod + def clearIonSpecificWij() -> None: ... + @staticmethod + def getFurstParam(int: int) -> float: ... + @staticmethod + def getFurstParamCPA(int: int) -> float: ... + @staticmethod + def getFurstParamEtOH(int: int) -> float: ... + @staticmethod + def getFurstParamGasIon(int: int) -> float: ... + @staticmethod + def getFurstParamMDEA(int: int) -> float: ... + @staticmethod + def getFurstParamMEA(int: int) -> float: ... + @staticmethod + def getFurstParamMEG(int: int) -> float: ... + @staticmethod + def getFurstParamMeOH(int: int) -> float: ... + @staticmethod + def getFurstParamOIIon(int: int) -> float: ... + @staticmethod + def getFurstParamTDep(int: int) -> float: ... + @staticmethod + def getFurstParamTEG(int: int) -> float: ... + @staticmethod + def getIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @staticmethod + def getMixtureDielectricConstant(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @staticmethod + def getPredictiveWij(double: float, double2: float, boolean: bool) -> float: ... + @staticmethod + def getPredictiveWijIntercept(double: float, boolean: bool) -> float: ... + @staticmethod + def getPredictiveWijSlope(double: float, boolean: bool) -> float: ... + @staticmethod + def hasIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def setFurstParam(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamCPA(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamEtOH(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamGasIon(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamMDEA(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamMEA(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamMEG(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamMeOH(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamOIIon(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamTDep(int: int, double: float) -> None: ... + @staticmethod + def setFurstParamTEG(int: int, double: float) -> None: ... + @staticmethod + def setFurstParams(string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + +class IonParametersAdvanced(java.io.Serializable): + T_REF: typing.ClassVar[float] = ... + @staticmethod + def calcBornRadius(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def calcIonPairConstant(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def calcW(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def calcWdT(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def calcWdTdT(string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getIonData(string: typing.Union[java.lang.String, str]) -> 'IonParametersAdvanced.AdvancedIonData': ... + @staticmethod + def getIonPairData(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'IonParametersAdvanced.IonPairData': ... + @staticmethod + def hasIonData(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def hasIonPairData(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def setW0(string: typing.Union[java.lang.String, str], double: float) -> None: ... + @staticmethod + def setWParameters(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + class AdvancedIonData(java.io.Serializable): + sigma: float = ... + w0: float = ... + wT: float = ... + wTT: float = ... + rBorn0: float = ... + rBornT: float = ... + charge: int = ... + dGhydration: float = ... + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, int: int, double7: float): ... + class IonPairData(java.io.Serializable): + k0: float = ... + dH: float = ... + dIP: float = ... + def __init__(self, double: float, double2: float, double3: float): ... + +class IonParametersMM: + T_REF: typing.ClassVar[float] = ... + WATER: typing.ClassVar[java.lang.String] = ... + METHANOL: typing.ClassVar[java.lang.String] = ... + ETHANOL: typing.ClassVar[java.lang.String] = ... + MEG: typing.ClassVar[java.lang.String] = ... + DEG: typing.ClassVar[java.lang.String] = ... + TEG: typing.ClassVar[java.lang.String] = ... + MDEA: typing.ClassVar[java.lang.String] = ... + SUPPORTED_SOLVENTS: typing.ClassVar[java.util.List] = ... + @staticmethod + def getAvailableIons() -> typing.MutableSequence[java.lang.String]: ... + @staticmethod + def getBornRadius(string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getCharge(string: typing.Union[java.lang.String, str]) -> int: ... + @typing.overload + @staticmethod + def getInteractionEnergy(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + @staticmethod + def getInteractionEnergy(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> float: ... + @typing.overload + @staticmethod + def getInteractionEnergydT(string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + @staticmethod + def getInteractionEnergydT(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getIonData(string: typing.Union[java.lang.String, str]) -> 'IonParametersMM.IonData': ... + @staticmethod + def getSigma(string: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getU0(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def getUT(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @staticmethod + def hasIonData(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def hasSolventSpecificData(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def isSupportedSolvent(string: typing.Union[java.lang.String, str]) -> bool: ... + class IonData: + sigma: float = ... + u0_iw: float = ... + uT_iw: float = ... + charge: int = ... + def __init__(self, double: float, double2: float, double3: float, int: int): ... + def getBornRadius(self) -> float: ... + def getInteractionEnergy(self, double: float) -> float: ... + class SolventInteractionData: + u0_is: float = ... + uT_is: float = ... + def __init__(self, double: float, double2: float): ... + def getInteractionEnergy(self, double: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.constants")``. + + FurstElectrolyteConstants: typing.Type[FurstElectrolyteConstants] + IonParametersAdvanced: typing.Type[IonParametersAdvanced] + IonParametersMM: typing.Type[IonParametersMM] diff --git a/src/jneqsim/thermo/util/derivatives/__init__.pyi b/src/jneqsim/thermo/util/derivatives/__init__.pyi new file mode 100644 index 00000000..58c39c3f --- /dev/null +++ b/src/jneqsim/thermo/util/derivatives/__init__.pyi @@ -0,0 +1,114 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.thermo.system +import typing + + + +class DifferentiableFlash(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def computeFlashGradients(self) -> 'FlashGradients': ... + def computePropertyGradient(self, string: typing.Union[java.lang.String, str]) -> 'PropertyGradient': ... + def extractFugacityJacobian(self, int: int) -> 'FugacityJacobian': ... + def getFugacityJacobians(self) -> typing.MutableSequence['FugacityJacobian']: ... + +class FlashGradients(java.io.Serializable): + @typing.overload + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double6: float, double7: float, doubleArray5: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + @typing.overload + def __init__(self, int: int, string: typing.Union[java.lang.String, str]): ... + def getBeta(self) -> float: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getDBetadP(self) -> float: ... + def getDBetadT(self) -> float: ... + @typing.overload + def getDBetadz(self, int: int) -> float: ... + @typing.overload + def getDBetadz(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getDKdP(self, int: int) -> float: ... + @typing.overload + def getDKdP(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getDKdT(self, int: int) -> float: ... + @typing.overload + def getDKdT(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getDKdz(self, int: int, int2: int) -> float: ... + @typing.overload + def getDKdz(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDKdzRow(self, int: int) -> typing.MutableSequence[float]: ... + def getDxdT(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getDydT(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getErrorMessage(self) -> java.lang.String: ... + def getKValue(self, int: int) -> float: ... + def getKValues(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfPhases(self) -> int: ... + def isValid(self) -> bool: ... + def toFlatArray(self) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + +class FugacityJacobian(java.io.Serializable): + def __init__(self, int: int, 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[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def checkSymmetry(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> bool: ... + def directionalDerivative(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + @typing.overload + def getDlnPhidP(self, int: int) -> float: ... + @typing.overload + def getDlnPhidP(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getDlnPhidT(self, int: int) -> float: ... + @typing.overload + def getDlnPhidT(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getDlnPhidn(self, int: int, int2: int) -> float: ... + @typing.overload + def getDlnPhidn(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDlnPhidnRow(self, int: int) -> typing.MutableSequence[float]: ... + @typing.overload + def getLnPhi(self, int: int) -> float: ... + @typing.overload + def getLnPhi(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + def getPhaseIndex(self) -> int: ... + def getPhaseType(self) -> java.lang.String: ... + def toString(self) -> java.lang.String: ... + +class PropertyGradient(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def directionalDerivative(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getDerivativeWrtComponent(self, int: int) -> float: ... + def getDerivativeWrtComposition(self) -> typing.MutableSequence[float]: ... + def getDerivativeWrtPressure(self) -> float: ... + def getDerivativeWrtTemperature(self) -> float: ... + def getNumberOfComponents(self) -> int: ... + def getPropertyName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def toArray(self) -> typing.MutableSequence[float]: ... + def toString(self) -> java.lang.String: ... + @staticmethod + def zero(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, int: int) -> 'PropertyGradient': ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.derivatives")``. + + DifferentiableFlash: typing.Type[DifferentiableFlash] + FlashGradients: typing.Type[FlashGradients] + FugacityJacobian: typing.Type[FugacityJacobian] + PropertyGradient: typing.Type[PropertyGradient] diff --git a/src/jneqsim/thermo/util/empiric/__init__.pyi b/src/jneqsim/thermo/util/empiric/__init__.pyi new file mode 100644 index 00000000..a039a5cc --- /dev/null +++ b/src/jneqsim/thermo/util/empiric/__init__.pyi @@ -0,0 +1,44 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import typing + + + +class BukacekWaterInGas: + def __init__(self): ... + @staticmethod + def getWaterInGas(double: float, double2: float) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @staticmethod + def waterDewPointTemperature(double: float, double2: float) -> float: ... + +class DuanSun: + def __init__(self): ... + def bublePointPressure(self, double: float, double2: float, double3: float) -> float: ... + def calcCO2solubility(self, double: float, double2: float, double3: float) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class Water: + def __init__(self): ... + def density(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @staticmethod + def waterDensity(double: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.empiric")``. + + BukacekWaterInGas: typing.Type[BukacekWaterInGas] + DuanSun: typing.Type[DuanSun] + Water: typing.Type[Water] diff --git a/src/jneqsim/thermo/util/gerg/__init__.pyi b/src/jneqsim/thermo/util/gerg/__init__.pyi new file mode 100644 index 00000000..3b266f12 --- /dev/null +++ b/src/jneqsim/thermo/util/gerg/__init__.pyi @@ -0,0 +1,195 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.phase +import org.netlib.util +import typing + + + +class DETAIL: + def __init__(self): ... + def DensityDetail(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def MolarMassDetail(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... + def PressureDetail(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def PropertiesDetail(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW) -> None: ... + def SetupDetail(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def sq(self, double: float) -> float: ... + +class EOSCG: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, eOSCGCorrelationBackend: 'EOSCGCorrelationBackend'): ... + def alpha0(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[org.netlib.util.doubleW], jpype.JArray]) -> None: ... + def alphar(self, int: int, int2: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[typing.MutableSequence[org.netlib.util.doubleW]], jpype.JArray]) -> None: ... + def density(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def molarMass(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... + def pressure(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def properties(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def setup(self) -> None: ... + +class EOSCGCorrelationBackend: + def __init__(self): ... + def alpha0(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[org.netlib.util.doubleW], jpype.JArray]) -> None: ... + def alphar(self, int: int, int2: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[typing.MutableSequence[org.netlib.util.doubleW]], jpype.JArray]) -> None: ... + def density(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def molarMass(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... + def pressure(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def properties(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def setup(self) -> None: ... + +class EOSCGModel: + def __init__(self): ... + def DensityEOSCG(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def MolarMassEOSCG(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... + def PressureEOSCG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def PropertiesEOSCG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def SetupEOSCG(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class GERG2008: + def __init__(self): ... + def DensityGERG(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def MolarMassGERG(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... + def PressureGERG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def PropertiesGERG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def SetupGERG(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class GERG2008Type(java.lang.Enum['GERG2008Type']): + STANDARD: typing.ClassVar['GERG2008Type'] = ... + HYDROGEN_ENHANCED: typing.ClassVar['GERG2008Type'] = ... + AMMONIA_EXTENDED: typing.ClassVar['GERG2008Type'] = ... + def getDescription(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def toString(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]) -> 'GERG2008Type': ... + @staticmethod + def values() -> typing.MutableSequence['GERG2008Type']: ... + +class NeqSimAGA8Detail: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getMolarDensity(self) -> float: ... + @typing.overload + def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarMass(self) -> float: ... + def getPressure(self) -> float: ... + def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def normalizeComposition(self) -> None: ... + @typing.overload + def propertiesDetail(self) -> typing.MutableSequence[float]: ... + @typing.overload + def propertiesDetail(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + +class NeqSimEOSCG: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + @staticmethod + def clearCache() -> None: ... + def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_EOSCG(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getMolarDensity(self) -> float: ... + @typing.overload + def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarMass(self) -> float: ... + def getPressure(self) -> float: ... + def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def normalizeComposition(self) -> None: ... + def propertiesEOSCG(self) -> typing.MutableSequence[float]: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + +class NeqSimGERG2008: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, gERG2008Type: GERG2008Type): ... + @staticmethod + def clearCache() -> None: ... + def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getModelType(self) -> GERG2008Type: ... + @typing.overload + def getMolarDensity(self) -> float: ... + @typing.overload + def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarMass(self) -> float: ... + def getPressure(self) -> float: ... + def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def normalizeComposition(self) -> None: ... + @typing.overload + def propertiesGERG(self) -> typing.MutableSequence[float]: ... + @typing.overload + def propertiesGERG(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def setModelType(self, gERG2008Type: GERG2008Type) -> None: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + +class GERG2008H2(GERG2008): + def __init__(self): ... + def SetupGERG(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + +class GERG2008NH3(GERG2008): + def __init__(self): ... + def SetupGERG(self) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.gerg")``. + + DETAIL: typing.Type[DETAIL] + EOSCG: typing.Type[EOSCG] + EOSCGCorrelationBackend: typing.Type[EOSCGCorrelationBackend] + EOSCGModel: typing.Type[EOSCGModel] + GERG2008: typing.Type[GERG2008] + GERG2008H2: typing.Type[GERG2008H2] + GERG2008NH3: typing.Type[GERG2008NH3] + GERG2008Type: typing.Type[GERG2008Type] + NeqSimAGA8Detail: typing.Type[NeqSimAGA8Detail] + NeqSimEOSCG: typing.Type[NeqSimEOSCG] + NeqSimGERG2008: typing.Type[NeqSimGERG2008] diff --git a/src/jneqsim/thermo/util/humidair/__init__.pyi b/src/jneqsim/thermo/util/humidair/__init__.pyi new file mode 100644 index 00000000..7be24693 --- /dev/null +++ b/src/jneqsim/thermo/util/humidair/__init__.pyi @@ -0,0 +1,30 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import typing + + + +class HumidAir: + @staticmethod + def cairSat(double: float) -> float: ... + @staticmethod + def dewPointTemperature(double: float, double2: float) -> float: ... + @staticmethod + def enthalpy(double: float, double2: float) -> float: ... + @staticmethod + def humidityRatioFromRH(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def relativeHumidity(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def saturationPressureWater(double: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.humidair")``. + + HumidAir: typing.Type[HumidAir] diff --git a/src/jneqsim/thermo/util/hydrogen/__init__.pyi b/src/jneqsim/thermo/util/hydrogen/__init__.pyi new file mode 100644 index 00000000..f9cfcb9a --- /dev/null +++ b/src/jneqsim/thermo/util/hydrogen/__init__.pyi @@ -0,0 +1,58 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import typing + + + +class ParaOrthoH2Correction(java.io.Serializable): + @staticmethod + def estimateEquilibrationTimeSeconds(double: float, conversionCatalyst: 'ParaOrthoH2Correction.ConversionCatalyst') -> float: ... + @staticmethod + def getConversionHeatJPerKg(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def getCpCorrectionJPerKgK(double: float) -> float: ... + @staticmethod + def getEquilibriumOrthoFraction(double: float) -> float: ... + @staticmethod + def getEquilibriumParaFraction(double: float) -> float: ... + @staticmethod + def getEquilibriumRotationalCpJPerKgK(double: float) -> float: ... + @staticmethod + def getFrozenNormalRotationalCpJPerKgK(double: float) -> float: ... + @staticmethod + def getNormalParaFraction() -> float: ... + @staticmethod + def getNormalToEquilibriumHeatJPerKg(double: float) -> float: ... + @typing.overload + @staticmethod + def getThermalConductivityCorrectionFactor(double: float) -> float: ... + @typing.overload + @staticmethod + def getThermalConductivityCorrectionFactor(double: float, double2: float) -> float: ... + class ConversionCatalyst(java.lang.Enum['ParaOrthoH2Correction.ConversionCatalyst']): + NONE: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... + ACTIVATED_CHARCOAL: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... + HYDROUS_FERRIC_OXIDE: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... + PARAMAGNETIC_OXIDE: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... + _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]) -> 'ParaOrthoH2Correction.ConversionCatalyst': ... + @staticmethod + def values() -> typing.MutableSequence['ParaOrthoH2Correction.ConversionCatalyst']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.hydrogen")``. + + ParaOrthoH2Correction: typing.Type[ParaOrthoH2Correction] diff --git a/src/jneqsim/thermo/util/jni/__init__.pyi b/src/jneqsim/thermo/util/jni/__init__.pyi new file mode 100644 index 00000000..41c4037d --- /dev/null +++ b/src/jneqsim/thermo/util/jni/__init__.pyi @@ -0,0 +1,53 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import typing + + + +class GERG2004EOS: + nameList: typing.MutableSequence[java.lang.String] = ... + def __init__(self): ... + @staticmethod + def AOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def CPOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def CVOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def GOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def HOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def POTDX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float) -> float: ... + @staticmethod + def RJTOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def SALLOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def SFUGOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def SOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def SPHIOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> typing.MutableSequence[float]: ... + @staticmethod + def UOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def WOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + @staticmethod + def ZOTPX(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, int: int) -> float: ... + def getNameList(self) -> typing.MutableSequence[java.lang.String]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.jni")``. + + GERG2004EOS: typing.Type[GERG2004EOS] diff --git a/src/jneqsim/thermo/util/leachman/__init__.pyi b/src/jneqsim/thermo/util/leachman/__init__.pyi new file mode 100644 index 00000000..da6badba --- /dev/null +++ b/src/jneqsim/thermo/util/leachman/__init__.pyi @@ -0,0 +1,58 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.phase +import org.netlib.util +import typing + + + +class Leachman: + def __init__(self): ... + def DensityLeachman(self, int: int, double: float, double2: float, doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... + def PressureLeachman(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + @typing.overload + def SetupLeachman(self) -> None: ... + @typing.overload + def SetupLeachman(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def propertiesLeachman(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + +class NeqSimLeachman: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, string: typing.Union[java.lang.String, str]): ... + def getAlpha0_Leachman(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphares_Leachman(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getMolarDensity(self) -> float: ... + @typing.overload + def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getPressure(self) -> float: ... + def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + @typing.overload + def propertiesLeachman(self) -> typing.MutableSequence[float]: ... + @typing.overload + def propertiesLeachman(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.leachman")``. + + Leachman: typing.Type[Leachman] + NeqSimLeachman: typing.Type[NeqSimLeachman] diff --git a/src/jneqsim/thermo/util/readwrite/__init__.pyi b/src/jneqsim/thermo/util/readwrite/__init__.pyi new file mode 100644 index 00000000..ada466d5 --- /dev/null +++ b/src/jneqsim/thermo/util/readwrite/__init__.pyi @@ -0,0 +1,155 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.nio.file +import java.util +import jpype +import jpype.protocol +import jneqsim.thermo.system +import typing + + + +class EclipseFluidReadWrite: + pseudoName: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + @staticmethod + def addWaterToFluid(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + @staticmethod + def readE300File(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def setComposition(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def setComposition(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def toE300String(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + @typing.overload + @staticmethod + def toE300String(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> java.lang.String: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], double: float) -> None: ... + +class JsonFluidReadWrite: + @typing.overload + @staticmethod + def convertE300ToJson(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def convertE300ToJson(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + @staticmethod + def convertJsonToE300(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def convertJsonToE300(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def readString(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def readString(string: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def readString(string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def toJsonString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + @typing.overload + @staticmethod + def toJsonString(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> java.lang.String: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + @typing.overload + @staticmethod + def write(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], double: float) -> None: ... + +class TablePrinter(java.io.Serializable): + def __init__(self): ... + @staticmethod + def convertDoubleToString(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + @typing.overload + @staticmethod + def printTable(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + @staticmethod + def printTable(stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + +class WhitsonPVTReader: + def __init__(self): ... + def getComponentNames(self) -> java.util.List[java.lang.String]: ... + def getGammaParameters(self) -> typing.MutableSequence[float]: ... + def getLBCParameters(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + def getOmegaA(self) -> float: ... + def getOmegaB(self) -> float: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + @staticmethod + def read(string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.readwrite")``. + + EclipseFluidReadWrite: typing.Type[EclipseFluidReadWrite] + JsonFluidReadWrite: typing.Type[JsonFluidReadWrite] + TablePrinter: typing.Type[TablePrinter] + WhitsonPVTReader: typing.Type[WhitsonPVTReader] diff --git a/src/jneqsim/thermo/util/referenceequations/__init__.pyi b/src/jneqsim/thermo/util/referenceequations/__init__.pyi new file mode 100644 index 00000000..66ccfabd --- /dev/null +++ b/src/jneqsim/thermo/util/referenceequations/__init__.pyi @@ -0,0 +1,41 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.phase +import org.netlib.util +import typing + + + +class Ammonia2023: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def getAlpha0(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlphaRes(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getDensity(self) -> float: ... + def getThermalConductivity(self) -> float: ... + def getViscosity(self) -> float: ... + def properties(self) -> typing.MutableSequence[float]: ... + def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + +class methaneBWR32: + def __init__(self): ... + def calcPressure(self, double: float, double2: float) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def molDens(self, double: float, double2: float, boolean: bool) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.referenceequations")``. + + Ammonia2023: typing.Type[Ammonia2023] + methaneBWR32: typing.Type[methaneBWR32] diff --git a/src/jneqsim/thermo/util/spanwagner/__init__.pyi b/src/jneqsim/thermo/util/spanwagner/__init__.pyi new file mode 100644 index 00000000..52f76b4a --- /dev/null +++ b/src/jneqsim/thermo/util/spanwagner/__init__.pyi @@ -0,0 +1,23 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.thermo.phase +import typing + + + +class NeqSimSpanWagner: + @staticmethod + def getProperties(double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> typing.MutableSequence[float]: ... + @staticmethod + def getSaturationPressure(double: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.spanwagner")``. + + NeqSimSpanWagner: typing.Type[NeqSimSpanWagner] diff --git a/src/jneqsim/thermo/util/steam/__init__.pyi b/src/jneqsim/thermo/util/steam/__init__.pyi new file mode 100644 index 00000000..7853ef0c --- /dev/null +++ b/src/jneqsim/thermo/util/steam/__init__.pyi @@ -0,0 +1,36 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import typing + + + +class Iapws_if97: + @staticmethod + def T4_p(double: float) -> float: ... + @staticmethod + def cp_pt(double: float, double2: float) -> float: ... + @staticmethod + def h_pt(double: float, double2: float) -> float: ... + @staticmethod + def p4_T(double: float) -> float: ... + @staticmethod + def psat_t(double: float) -> float: ... + @staticmethod + def s_pt(double: float, double2: float) -> float: ... + @staticmethod + def tsat_p(double: float) -> float: ... + @staticmethod + def v_pt(double: float, double2: float) -> float: ... + @staticmethod + def w_pt(double: float, double2: float) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.steam")``. + + Iapws_if97: typing.Type[Iapws_if97] diff --git a/src/jneqsim/thermodynamicoperations/__init__.pyi b/src/jneqsim/thermodynamicoperations/__init__.pyi new file mode 100644 index 00000000..edb5a678 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/__init__.pyi @@ -0,0 +1,272 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.api.ioc +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations.chemicalequilibrium +import jneqsim.thermodynamicoperations.flashops +import jneqsim.thermodynamicoperations.phaseenvelopeops +import jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops +import jneqsim.thermodynamicoperations.propertygenerator +import org.jfree.chart +import typing + + + +class OperationInterface(java.lang.Runnable, java.io.Serializable): + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def OLGApropTable(self, double: float, double2: float, int: int, double3: float, double4: float, int2: int, string: typing.Union[java.lang.String, str], int3: int) -> None: ... + def OLGApropTablePH(self, double: float, double2: float, int: int, double3: float, double4: float, int2: int, string: typing.Union[java.lang.String, str], int3: int) -> None: ... + @typing.overload + def PHflash(self, double: float) -> None: ... + @typing.overload + def PHflash(self, double: float, int: int) -> None: ... + @typing.overload + def PHflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PHflash2(self, double: float, int: int) -> None: ... + def PHflashGERG2008(self, double: float) -> None: ... + def PHflashLeachman(self, double: float) -> None: ... + def PHflashVega(self, double: float) -> None: ... + def PHsolidFlash(self, double: float) -> None: ... + @typing.overload + def PSflash(self, double: float) -> None: ... + @typing.overload + def PSflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PSflash2(self, double: float) -> None: ... + def PSflashGERG2008(self, double: float) -> None: ... + def PSflashLeachman(self, double: float) -> None: ... + def PSflashVega(self, double: float) -> None: ... + @typing.overload + def PUflash(self, double: float) -> None: ... + @typing.overload + def PUflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def PUflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def PVFflash(self, double: float) -> None: ... + @typing.overload + def PVFflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def PVflash(self, double: float) -> None: ... + @typing.overload + def PVflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PVrefluxFlash(self, double: float, int: int) -> None: ... + @typing.overload + def THflash(self, double: float) -> None: ... + @typing.overload + def THflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def TPSolidflash(self) -> None: ... + def TPVflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def TPflash(self) -> None: ... + @typing.overload + def TPflash(self, boolean: bool) -> None: ... + def TPflashSoreideWhitson(self) -> None: ... + def TPgradientFlash(self, double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def TSflash(self, double: float) -> None: ... + @typing.overload + def TSflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def TUflash(self, double: float) -> None: ... + @typing.overload + def TUflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def TVflash(self, double: float) -> None: ... + @typing.overload + def TVflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def TVfractionFlash(self, double: float) -> None: ... + @typing.overload + def VHflash(self, double: float, double2: float) -> None: ... + @typing.overload + def VHflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def VSflash(self, double: float, double2: float) -> None: ... + @typing.overload + def VSflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def VUflash(self, double: float, double2: float) -> None: ... + @typing.overload + def VUflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def addIonToScaleSaturation(self, int: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def asphalteneOnsetPressure(self) -> float: ... + @typing.overload + def asphalteneOnsetPressure(self, double: float, double2: float) -> float: ... + @typing.overload + def asphalteneOnsetTemperature(self) -> float: ... + @typing.overload + def asphalteneOnsetTemperature(self, double: float, double2: float, double3: float) -> float: ... + @typing.overload + def bubblePointPressureFlash(self) -> None: ... + @typing.overload + def bubblePointPressureFlash(self, boolean: bool) -> None: ... + def bubblePointTemperatureFlash(self) -> None: ... + def calcCricoP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calcCricoT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calcCricondenBar(self) -> float: ... + def calcHPTphaseEnvelope(self) -> None: ... + def calcImobilePhaseHydrateTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcIonComposition(self, int: int) -> None: ... + @typing.overload + def calcPTphaseEnvelope(self) -> None: ... + @typing.overload + def calcPTphaseEnvelope(self, boolean: bool) -> None: ... + @typing.overload + def calcPTphaseEnvelope(self, boolean: bool, double: float) -> None: ... + @typing.overload + def calcPTphaseEnvelope(self, double: float) -> None: ... + @typing.overload + def calcPTphaseEnvelope(self, double: float, double2: float) -> None: ... + def calcPTphaseEnvelope2(self) -> None: ... + def calcPTphaseEnvelopeNew(self) -> None: ... + def calcPTphaseEnvelopeNew3(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + @typing.overload + def calcPTphaseEnvelopeWithQualityLines(self, boolean: bool, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + @typing.overload + def calcPTphaseEnvelopeWithQualityLines(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calcPTphaseEnvelopeWithStabilityAnalysis(self) -> None: ... + def calcPloadingCurve(self) -> None: ... + def calcSaltSaturation(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def calcSolidComlexTemperature(self) -> None: ... + @typing.overload + def calcSolidComlexTemperature(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calcTOLHydrateFormationTemperature(self) -> float: ... + def calcWAT(self) -> None: ... + @typing.overload + def capillaryDewPointTemperatureFlash(self, double: float) -> None: ... + @typing.overload + def capillaryDewPointTemperatureFlash(self, double: float, double2: float) -> None: ... + def checkScalePotential(self, int: int) -> None: ... + def chemicalEquilibrium(self) -> None: ... + def constantPhaseFractionPressureFlash(self, double: float) -> None: ... + def constantPhaseFractionTemperatureFlash(self, double: float) -> None: ... + def criticalPointFlash(self) -> None: ... + def dTPflash(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def dewPointMach(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def dewPointPressureFlash(self) -> None: ... + def dewPointPressureFlashHC(self) -> None: ... + def dewPointTemperatureCondensationRate(self) -> float: ... + @typing.overload + def dewPointTemperatureFlash(self) -> None: ... + @typing.overload + def dewPointTemperatureFlash(self, boolean: bool) -> None: ... + def display(self) -> None: ... + def displayResult(self) -> None: ... + def flash(self, flashType: 'ThermodynamicOperations.FlashType', double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def freezingPointTemperatureFlash(self) -> None: ... + @typing.overload + def freezingPointTemperatureFlash(self, string: typing.Union[java.lang.String, str]) -> None: ... + def gasHydrateTPflash(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDataPoints(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getEnvelopeSegments(self) -> java.util.List[jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.EnvelopeSegment]: ... + def getJfreeChart(self) -> org.jfree.chart.JFreeChart: ... + def getOperation(self) -> OperationInterface: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getThermoOperationThread(self) -> java.lang.Thread: ... + def hydrateEquilibriumLine(self, double: float, double2: float) -> None: ... + def hydrateFormationPressure(self) -> None: ... + @typing.overload + def hydrateFormationTemperature(self) -> None: ... + @typing.overload + def hydrateFormationTemperature(self, double: float) -> None: ... + @typing.overload + def hydrateFormationTemperature(self, int: int) -> None: ... + def hydrateInhibitorConcentration(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def hydrateInhibitorConcentrationSet(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @typing.overload + def hydrateTPflash(self) -> None: ... + @typing.overload + def hydrateTPflash(self, boolean: bool) -> None: ... + def isRunAsThread(self) -> bool: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def propertyFlash(self, list: java.util.List[float], list2: java.util.List[float], int: int, list3: java.util.List[typing.Union[java.lang.String, str]], list4: java.util.List[java.util.List[float]]) -> jneqsim.api.ioc.CalculationResult: ... + def reactivePHflash(self, double: float, int: int) -> None: ... + def reactivePSflash(self, double: float) -> None: ... + def reactiveTPflash(self) -> None: ... + def run(self) -> None: ... + def saturateWithWater(self) -> None: ... + def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setRunAsThread(self, boolean: bool) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setThermoOperationThread(self, thread: java.lang.Thread) -> None: ... + def waitAndCheckForFinishedCalculation(self, int: int) -> bool: ... + def waitToFinishCalculation(self) -> None: ... + def waterDewPointLine(self, double: float, double2: float) -> None: ... + def waterDewPointTemperatureFlash(self) -> None: ... + def waterDewPointTemperatureMultiphaseFlash(self) -> None: ... + def waterPrecipitationTemperature(self) -> None: ... + class FlashType(java.lang.Enum['ThermodynamicOperations.FlashType']): + TP: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... + PT: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... + PH: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... + PS: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... + TV: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... + TS: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... + _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]) -> 'ThermodynamicOperations.FlashType': ... + @staticmethod + def values() -> typing.MutableSequence['ThermodynamicOperations.FlashType']: ... + +class BaseOperation(OperationInterface): + def __init__(self): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations")``. + + BaseOperation: typing.Type[BaseOperation] + OperationInterface: typing.Type[OperationInterface] + ThermodynamicOperations: typing.Type[ThermodynamicOperations] + chemicalequilibrium: jneqsim.thermodynamicoperations.chemicalequilibrium.__module_protocol__ + flashops: jneqsim.thermodynamicoperations.flashops.__module_protocol__ + phaseenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ + propertygenerator: jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ diff --git a/src/jneqsim/thermodynamicoperations/chemicalequilibrium/__init__.pyi b/src/jneqsim/thermodynamicoperations/chemicalequilibrium/__init__.pyi new file mode 100644 index 00000000..83f601bf --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/chemicalequilibrium/__init__.pyi @@ -0,0 +1,29 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import org.jfree.chart +import typing + + + +class ChemicalEquilibrium(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def displayResult(self) -> None: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.chemicalequilibrium")``. + + ChemicalEquilibrium: typing.Type[ChemicalEquilibrium] diff --git a/src/jneqsim/thermodynamicoperations/flashops/__init__.pyi b/src/jneqsim/thermodynamicoperations/flashops/__init__.pyi new file mode 100644 index 00000000..0ac7e598 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/flashops/__init__.pyi @@ -0,0 +1,515 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.thermo +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import jneqsim.thermodynamicoperations.flashops.reactiveflash +import jneqsim.thermodynamicoperations.flashops.saturationops +import org.ejml.simple +import org.jfree.chart +import typing + + + +class Flash(jneqsim.thermodynamicoperations.BaseOperation): + minGibsPhaseLogZ: typing.MutableSequence[float] = ... + minGibsLogFugCoef: typing.MutableSequence[float] = ... + def __init__(self): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def displayResult(self) -> None: ... + def findLowestGibbsEnergyPhase(self) -> int: ... + def getLastStabilityAnalysisFailureMessage(self) -> java.lang.String: ... + def getLastStabilityOutcome(self) -> java.lang.String: ... + def getLastTangentPlaneDistances(self) -> typing.MutableSequence[float]: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def hasLastStabilityAnalysisFailed(self) -> bool: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def solidPhaseFlash(self) -> None: ... + def stabilityAnalysis(self) -> None: ... + def stabilityCheck(self) -> bool: ... + +class RachfordRice(java.io.Serializable): + def __init__(self): ... + def calcBeta(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcBetaMichelsen2001(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcBetaNielsen2023(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcBetaS(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getBeta(self) -> typing.MutableSequence[float]: ... + @staticmethod + def getMethod() -> java.lang.String: ... + @staticmethod + def setMethod(string: typing.Union[java.lang.String, str]) -> None: ... + +class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int): ... + def init(self) -> None: ... + def setJac(self) -> None: ... + def setSpec(self, double: float) -> None: ... + def setfvec(self) -> None: ... + def setu(self) -> None: ... + def solve(self, int: int) -> int: ... + +class SysNewtonRhapsonTPflash(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def getNumberOfComponents(self) -> int: ... + def init(self) -> None: ... + def setJac(self) -> None: ... + def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setfvec(self) -> None: ... + def setu(self) -> None: ... + def solve(self) -> float: ... + +class SysNewtonRhapsonTPflashNew(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def init(self) -> None: ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def setu(self) -> None: ... + def solve(self, int: int) -> None: ... + +class CalcIonicComposition(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def run(self) -> None: ... + +class CriticalPointFlash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcMmatrix(self) -> None: ... + def calcdpd(self) -> float: ... + def getCriticalEigenVector(self) -> org.ejml.simple.SimpleMatrix: ... + def run(self) -> None: ... + +class ImprovedVUflashQfunc(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class OptimizedVUflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PHflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + def solveQ2(self) -> float: ... + +class PHflashGERG2008(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + def solveQ2(self) -> float: ... + +class PHflashLeachman(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PHflashSingleComp(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class PHflashVega(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PHsolidFlash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class PSflashSingleComp(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class PUflash(Flash): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PVFflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class PVrefluxflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class QfuncFlash(Flash): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class TPflash(Flash): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def accselerateSucsSubs(self) -> None: ... + def equals(self, object: typing.Any) -> bool: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def resetK(self) -> None: ... + def run(self) -> None: ... + def setNewK(self) -> None: ... + def sucsSubs(self) -> None: ... + +class TPgradientFlash(Flash): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def run(self) -> None: ... + def setJac(self) -> None: ... + def setNewX(self) -> None: ... + def setfvec(self) -> None: ... + +class TVflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdV(self) -> float: ... + def calcdQdVdP(self) -> float: ... + def getIterations(self) -> int: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class TVfractionFlash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdV(self) -> float: ... + def calcdQdVdP(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def isConverged(self) -> bool: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class VHflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class VHflashQfunc(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def calcdQdT(self) -> float: ... + def calcdQdTP(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class VSflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def calcdQdT(self) -> float: ... + def calcdQdTP(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class VUflash(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class VUflashQfunc(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def calcdQdT(self) -> float: ... + def calcdQdTP(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class VUflashSingleComp(Flash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + +class PSFlash(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def onPhaseSolve(self) -> None: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PSFlashGERG2008(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PSFlashLeachman(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PSFlashVega(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class PVflash(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class SaturateWithWater(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def run(self) -> None: ... + +class SolidFlash(TPflash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def calcE(self) -> None: ... + def calcMultiPhaseBeta(self) -> None: ... + def calcQ(self) -> float: ... + def calcSolidBeta(self) -> None: ... + def checkGibbs(self) -> None: ... + def checkX(self) -> None: ... + def run(self) -> None: ... + def setSolidComponent(self, int: int) -> None: ... + def setXY(self) -> None: ... + def solveBeta(self, boolean: bool) -> None: ... + +class SolidFlash1(TPflash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcE(self) -> None: ... + def calcGradientAndHesian(self) -> None: ... + def calcMultiPhaseBeta(self) -> None: ... + def calcQ(self) -> float: ... + def calcQbeta(self) -> None: ... + def calcSolidBeta(self) -> float: ... + def checkAndAddSolidPhase(self) -> int: ... + def checkGibbs(self) -> None: ... + def checkX(self) -> None: ... + def run(self) -> None: ... + def setXY(self) -> None: ... + def solveBeta(self) -> None: ... + def solvebeta1(self) -> float: ... + +class SolidFlash12(TPflash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcE(self) -> None: ... + def calcMultiPhaseBeta(self) -> None: ... + def calcQ(self) -> float: ... + def calcSolidBeta(self) -> None: ... + def checkAndAddSolidPhase(self) -> int: ... + def checkGibbs(self) -> None: ... + def checkX(self) -> None: ... + def run(self) -> None: ... + def setXY(self) -> None: ... + def solveBeta(self) -> None: ... + def solvebeta1(self) -> float: ... + +class THflash(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class TPHydrateFlash(TPflash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def equals(self, object: typing.Any) -> bool: ... + def getCavityOccupancy(self, string: typing.Union[java.lang.String, str], int: int, int2: int) -> float: ... + def getHydrateFraction(self) -> float: ... + def getStableHydrateStructure(self) -> int: ... + def hashCode(self) -> int: ... + def isGasHydrateOnlyMode(self) -> bool: ... + def isHydrateFormed(self) -> bool: ... + def run(self) -> None: ... + def setGasHydrateOnlyMode(self, boolean: bool) -> None: ... + +class TPflashSAFT(TPflash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def run(self) -> None: ... + +class TPmultiflash(TPflash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def calcE(self) -> None: ... + def calcMultiPhaseBeta(self) -> None: ... + def calcQ(self) -> float: ... + def run(self) -> None: ... + def setDoubleArrays(self) -> None: ... + def setXY(self) -> None: ... + def solveBeta(self) -> float: ... + def stabilityAnalysis(self) -> None: ... + def stabilityAnalysis2(self) -> None: ... + def stabilityAnalysis3(self) -> None: ... + def stabilityAnalysisEnhanced(self) -> None: ... + +class TPmultiflashWAX(TPflash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def calcE(self) -> None: ... + def calcMultiPhaseBeta(self) -> None: ... + def calcQ(self) -> float: ... + def run(self) -> None: ... + def setXY(self) -> None: ... + def solveBeta(self, boolean: bool) -> None: ... + def stabilityAnalysis(self) -> None: ... + +class TSFlash(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def calcdQdT(self) -> float: ... + def calcdQdTT(self) -> float: ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def onPhaseSolve(self) -> None: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class TUflash(QfuncFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def calcdQdP(self) -> float: ... + def calcdQdPP(self) -> float: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def run(self) -> None: ... + def solveQ(self) -> float: ... + +class dTPflash(TPflash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def run(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.flashops")``. + + CalcIonicComposition: typing.Type[CalcIonicComposition] + CriticalPointFlash: typing.Type[CriticalPointFlash] + Flash: typing.Type[Flash] + ImprovedVUflashQfunc: typing.Type[ImprovedVUflashQfunc] + OptimizedVUflash: typing.Type[OptimizedVUflash] + PHflash: typing.Type[PHflash] + PHflashGERG2008: typing.Type[PHflashGERG2008] + PHflashLeachman: typing.Type[PHflashLeachman] + PHflashSingleComp: typing.Type[PHflashSingleComp] + PHflashVega: typing.Type[PHflashVega] + PHsolidFlash: typing.Type[PHsolidFlash] + PSFlash: typing.Type[PSFlash] + PSFlashGERG2008: typing.Type[PSFlashGERG2008] + PSFlashLeachman: typing.Type[PSFlashLeachman] + PSFlashVega: typing.Type[PSFlashVega] + PSflashSingleComp: typing.Type[PSflashSingleComp] + PUflash: typing.Type[PUflash] + PVFflash: typing.Type[PVFflash] + PVflash: typing.Type[PVflash] + PVrefluxflash: typing.Type[PVrefluxflash] + QfuncFlash: typing.Type[QfuncFlash] + RachfordRice: typing.Type[RachfordRice] + SaturateWithWater: typing.Type[SaturateWithWater] + SolidFlash: typing.Type[SolidFlash] + SolidFlash1: typing.Type[SolidFlash1] + SolidFlash12: typing.Type[SolidFlash12] + SysNewtonRhapsonPHflash: typing.Type[SysNewtonRhapsonPHflash] + SysNewtonRhapsonTPflash: typing.Type[SysNewtonRhapsonTPflash] + SysNewtonRhapsonTPflashNew: typing.Type[SysNewtonRhapsonTPflashNew] + THflash: typing.Type[THflash] + TPHydrateFlash: typing.Type[TPHydrateFlash] + TPflash: typing.Type[TPflash] + TPflashSAFT: typing.Type[TPflashSAFT] + TPgradientFlash: typing.Type[TPgradientFlash] + TPmultiflash: typing.Type[TPmultiflash] + TPmultiflashWAX: typing.Type[TPmultiflashWAX] + TSFlash: typing.Type[TSFlash] + TUflash: typing.Type[TUflash] + TVflash: typing.Type[TVflash] + TVfractionFlash: typing.Type[TVfractionFlash] + VHflash: typing.Type[VHflash] + VHflashQfunc: typing.Type[VHflashQfunc] + VSflash: typing.Type[VSflash] + VUflash: typing.Type[VUflash] + VUflashQfunc: typing.Type[VUflashQfunc] + VUflashSingleComp: typing.Type[VUflashSingleComp] + dTPflash: typing.Type[dTPflash] + reactiveflash: jneqsim.thermodynamicoperations.flashops.reactiveflash.__module_protocol__ + saturationops: jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ diff --git a/src/jneqsim/thermodynamicoperations/flashops/reactiveflash/__init__.pyi b/src/jneqsim/thermodynamicoperations/flashops/reactiveflash/__init__.pyi new file mode 100644 index 00000000..5f785799 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/flashops/reactiveflash/__init__.pyi @@ -0,0 +1,126 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class DIISAccelerator(java.io.Serializable): + def __init__(self, int: int, int2: int): ... + def addEntry(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def canExtrapolate(self) -> bool: ... + def extrapolate(self) -> typing.MutableSequence[float]: ... + def getCount(self) -> int: ... + def reset(self) -> None: ... + +class FormulaMatrix(java.io.Serializable): + @typing.overload + def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def computeElementVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get(self, int: int, int2: int) -> float: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getElementNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getIonicCharges(self) -> typing.MutableSequence[float]: ... + def getMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfElements(self) -> int: ... + def getNumberOfIndependentReactions(self) -> int: ... + def getRank(self) -> int: ... + def hasIonicSpecies(self) -> bool: ... + def isIon(self, int: int) -> bool: ... + +class ModifiedRANDSolver(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, formulaMatrix: FormulaMatrix): ... + def getDiisStepsAccepted(self) -> int: ... + def getFinalResidual(self) -> float: ... + def getG0(self) -> typing.MutableSequence[float]: ... + def getIterationsUsed(self) -> int: ... + def getLagrangeMultipliers(self) -> typing.MutableSequence[float]: ... + def getLnPhiRef(self) -> typing.MutableSequence[float]: ... + def getMoleFractions(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMoles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPhaseAmounts(self) -> typing.MutableSequence[float]: ... + def getTotalMoles(self) -> float: ... + def isConverged(self) -> bool: ... + def isElectrolyteEOS(self) -> bool: ... + def isUseDIIS(self) -> bool: ... + def setUseDIIS(self, boolean: bool) -> None: ... + def solve(self) -> bool: ... + +class ReactiveMultiphasePHflash(jneqsim.thermodynamicoperations.BaseOperation): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def displayResult(self) -> None: ... + def getEquilibriumTemperature(self) -> float: ... + def getLastTPflash(self) -> 'ReactiveMultiphaseTPflash': ... + def getNumberOfPhases(self) -> int: ... + def getOuterIterations(self) -> int: ... + def getSummary(self) -> java.lang.String: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalInnerIterations(self) -> int: ... + def isConverged(self) -> bool: ... + def run(self) -> None: ... + def setEntropySpec(self, double: float) -> None: ... + def setMaxNumberOfPhases(self, int: int) -> None: ... + def setUseChemicalReactionInit(self, boolean: bool) -> None: ... + def setUseDIIS(self, boolean: bool) -> None: ... + +class ReactiveMultiphaseTPflash(jneqsim.thermodynamicoperations.BaseOperation): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def displayResult(self) -> None: ... + def getDiisStepsAccepted(self) -> int: ... + def getEquilibriumMoles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getEquilibriumTotalMoles(self) -> float: ... + def getFinalGibbsEnergy(self) -> float: ... + def getFormulaMatrix(self) -> FormulaMatrix: ... + def getLagrangeMultipliers(self) -> typing.MutableSequence[float]: ... + def getNumberOfReactions(self) -> int: ... + def getSummary(self) -> java.lang.String: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalIterations(self) -> int: ... + def isConverged(self) -> bool: ... + def isUseChemicalReactionInit(self) -> bool: ... + def isUseDIIS(self) -> bool: ... + def run(self) -> None: ... + def setMaxNumberOfPhases(self, int: int) -> None: ... + def setUseChemicalReactionInit(self, boolean: bool) -> None: ... + def setUseDIIS(self, boolean: bool) -> None: ... + +class ReactiveStabilityAnalysis(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, formulaMatrix: FormulaMatrix): ... + def getMostUnstableTrial(self) -> typing.MutableSequence[float]: ... + def getNumberOfUnstableTrials(self) -> int: ... + def getTpdValues(self) -> java.util.List[float]: ... + def getUnstableTrialCompositions(self) -> java.util.List[typing.MutableSequence[float]]: ... + def isUnstable(self) -> bool: ... + def run(self) -> bool: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.flashops.reactiveflash")``. + + DIISAccelerator: typing.Type[DIISAccelerator] + FormulaMatrix: typing.Type[FormulaMatrix] + ModifiedRANDSolver: typing.Type[ModifiedRANDSolver] + ReactiveMultiphasePHflash: typing.Type[ReactiveMultiphasePHflash] + ReactiveMultiphaseTPflash: typing.Type[ReactiveMultiphaseTPflash] + ReactiveStabilityAnalysis: typing.Type[ReactiveStabilityAnalysis] diff --git a/src/jneqsim/thermodynamicoperations/flashops/saturationops/__init__.pyi b/src/jneqsim/thermodynamicoperations/flashops/saturationops/__init__.pyi new file mode 100644 index 00000000..0b2c605d --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/flashops/saturationops/__init__.pyi @@ -0,0 +1,372 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import jpype +import jneqsim.thermo +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import org.jfree.chart +import typing + + + +class ConstantDutyFlashInterface(jneqsim.thermodynamicoperations.OperationInterface): + def isSuperCritical(self) -> bool: ... + +class CricondenBarTemp(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def init(self) -> None: ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def setu(self) -> None: ... + def solve(self) -> float: ... + +class CricondenBarTemp1(java.io.Serializable): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def displayResult(self) -> None: ... + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def init(self) -> None: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + def setu(self) -> None: ... + def solve(self) -> float: ... + +class ConstantDutyFlash(ConstantDutyFlashInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def isSuperCritical(self) -> bool: ... + def run(self) -> None: ... + def setSuperCritical(self, boolean: bool) -> None: ... + +class AsphalteneOnsetPressureFlash(ConstantDutyFlash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + @typing.overload + def getOnsetPressure(self) -> float: ... + @typing.overload + def getOnsetPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPrecipitatedFraction(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def isOnsetFound(self) -> bool: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setMinPressure(self, double: float) -> None: ... + def setPressureStep(self, double: float) -> None: ... + +class AsphalteneOnsetTemperatureFlash(ConstantDutyFlash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + @typing.overload + def getOnsetTemperature(self) -> float: ... + @typing.overload + def getOnsetTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def isOnsetFound(self) -> bool: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setSearchDecreasing(self, boolean: bool) -> None: ... + def setTemperatureStep(self, double: float) -> None: ... + +class ConstantDutyPressureFlash(ConstantDutyFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class ConstantDutyTemperatureFlash(ConstantDutyFlash): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class AddIonToScaleSaturation(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class BubblePointPressureFlash(ConstantDutyPressureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class BubblePointPressureFlashDer(ConstantDutyPressureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class BubblePointTemperatureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class BubblePointTemperatureNoDer(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class CalcSaltSatauration(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class CapillaryDewPointFlash(ConstantDutyTemperatureFlash): + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getBulkDewPointTemperature(self) -> float: ... + def getCapillaryPressure(self) -> float: ... + def getContactAngle(self) -> float: ... + def getPoreRadius(self) -> float: ... + def getSurfaceTension(self) -> float: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setContactAngle(self, double: float) -> None: ... + def setPoreRadius(self, double: float) -> None: ... + +class CheckScalePotential(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class CricondenbarFlash(ConstantDutyPressureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcx(self) -> float: ... + def initMoleFraction(self) -> float: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def run2(self) -> None: ... + def setJac(self) -> None: ... + def setfvec(self) -> None: ... + +class DewPointPressureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class DewPointTemperatureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class DewPointTemperatureFlashDer(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class FreezeOut(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): + FCompTemp: typing.MutableSequence[float] = ... + FCompNames: typing.MutableSequence[java.lang.String] = ... + noFreezeFlash: bool = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): + noFreezeFlash: bool = ... + Niterations: int = ... + name: java.lang.String = ... + phaseName: java.lang.String = ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def calcFunc(self) -> float: ... + @typing.overload + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def printToFile(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def run(self) -> None: ... + +class FreezingPointTemperatureFlashOld(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class FreezingPointTemperatureFlashTR(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): + noFreezeFlash: bool = ... + Niterations: int = ... + FCompNames: typing.MutableSequence[java.lang.String] = ... + FCompTemp: typing.MutableSequence[float] = ... + compnr: int = ... + name: java.lang.String = ... + CCequation: bool = ... + @typing.overload + def __init__(self, boolean: bool): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def getNiterations(self) -> int: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class FugTestConstP(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): + temp: float = ... + pres: float = ... + testSystem: jneqsim.thermo.system.SystemInterface = ... + testSystem2: jneqsim.thermo.system.SystemInterface = ... + testOps: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... + testOps2: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... + compNumber: int = ... + compName: java.lang.String = ... + compNameGiven: bool = ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def initTestSystem2(self, int: int) -> None: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class HCdewPointPressureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class HydrateEquilibriumLine(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def run(self) -> None: ... + +class HydrateFormationPressureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setFug(self) -> None: ... + +class HydrateFormationTemperatureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def run2(self) -> None: ... + def setFug(self) -> None: ... + def stop(self) -> None: ... + +class HydrateInhibitorConcentrationFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float): ... + @staticmethod + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def stop(self) -> None: ... + +class HydrateInhibitorwtFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def stop(self) -> None: ... + +class SolidComplexTemperatureCalc(ConstantDutyTemperatureFlash): + Kcomplex: float = ... + HrefComplex: float = ... + TrefComplex: float = ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getHrefComplex(self) -> float: ... + def getKcomplex(self) -> float: ... + def getTrefComplex(self) -> float: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def runOld(self) -> None: ... + def setHrefComplex(self, double: float) -> None: ... + def setKcomplex(self, double: float) -> None: ... + def setTrefComplex(self, double: float) -> None: ... + +class WATcalc(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class WaterDewPointEquilibriumLine(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def run(self) -> None: ... + +class WaterDewPointTemperatureFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class WaterDewPointTemperatureMultiphaseFlash(ConstantDutyTemperatureFlash): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.flashops.saturationops")``. + + AddIonToScaleSaturation: typing.Type[AddIonToScaleSaturation] + AsphalteneOnsetPressureFlash: typing.Type[AsphalteneOnsetPressureFlash] + AsphalteneOnsetTemperatureFlash: typing.Type[AsphalteneOnsetTemperatureFlash] + BubblePointPressureFlash: typing.Type[BubblePointPressureFlash] + BubblePointPressureFlashDer: typing.Type[BubblePointPressureFlashDer] + BubblePointTemperatureFlash: typing.Type[BubblePointTemperatureFlash] + BubblePointTemperatureNoDer: typing.Type[BubblePointTemperatureNoDer] + CalcSaltSatauration: typing.Type[CalcSaltSatauration] + CapillaryDewPointFlash: typing.Type[CapillaryDewPointFlash] + CheckScalePotential: typing.Type[CheckScalePotential] + ConstantDutyFlash: typing.Type[ConstantDutyFlash] + ConstantDutyFlashInterface: typing.Type[ConstantDutyFlashInterface] + ConstantDutyPressureFlash: typing.Type[ConstantDutyPressureFlash] + ConstantDutyTemperatureFlash: typing.Type[ConstantDutyTemperatureFlash] + CricondenBarTemp: typing.Type[CricondenBarTemp] + CricondenBarTemp1: typing.Type[CricondenBarTemp1] + CricondenbarFlash: typing.Type[CricondenbarFlash] + DewPointPressureFlash: typing.Type[DewPointPressureFlash] + DewPointTemperatureFlash: typing.Type[DewPointTemperatureFlash] + DewPointTemperatureFlashDer: typing.Type[DewPointTemperatureFlashDer] + FreezeOut: typing.Type[FreezeOut] + FreezingPointTemperatureFlash: typing.Type[FreezingPointTemperatureFlash] + FreezingPointTemperatureFlashOld: typing.Type[FreezingPointTemperatureFlashOld] + FreezingPointTemperatureFlashTR: typing.Type[FreezingPointTemperatureFlashTR] + FugTestConstP: typing.Type[FugTestConstP] + HCdewPointPressureFlash: typing.Type[HCdewPointPressureFlash] + HydrateEquilibriumLine: typing.Type[HydrateEquilibriumLine] + HydrateFormationPressureFlash: typing.Type[HydrateFormationPressureFlash] + HydrateFormationTemperatureFlash: typing.Type[HydrateFormationTemperatureFlash] + HydrateInhibitorConcentrationFlash: typing.Type[HydrateInhibitorConcentrationFlash] + HydrateInhibitorwtFlash: typing.Type[HydrateInhibitorwtFlash] + SolidComplexTemperatureCalc: typing.Type[SolidComplexTemperatureCalc] + WATcalc: typing.Type[WATcalc] + WaterDewPointEquilibriumLine: typing.Type[WaterDewPointEquilibriumLine] + WaterDewPointTemperatureFlash: typing.Type[WaterDewPointTemperatureFlash] + WaterDewPointTemperatureMultiphaseFlash: typing.Type[WaterDewPointTemperatureMultiphaseFlash] diff --git a/src/jneqsim/thermodynamicoperations/phaseenvelopeops/__init__.pyi b/src/jneqsim/thermodynamicoperations/phaseenvelopeops/__init__.pyi new file mode 100644 index 00000000..10fb5fe4 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/phaseenvelopeops/__init__.pyi @@ -0,0 +1,17 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops +import jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves +import typing + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops")``. + + multicomponentenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.__module_protocol__ + reactivecurves: jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves.__module_protocol__ diff --git a/src/jneqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi b/src/jneqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi new file mode 100644 index 00000000..d8f01541 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi @@ -0,0 +1,180 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jpype +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import org.jfree.chart +import typing + + + +class EnvelopeSegment(java.io.Serializable): + def __init__(self, phaseType: 'EnvelopeSegment.PhaseType', 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], doubleArray5: typing.Union[typing.List[float], jpype.JArray]): ... + def getDensities(self) -> typing.MutableSequence[float]: ... + def getEnthalpies(self) -> typing.MutableSequence[float]: ... + def getEntropies(self) -> typing.MutableSequence[float]: ... + def getPhaseType(self) -> 'EnvelopeSegment.PhaseType': ... + def getPressures(self) -> typing.MutableSequence[float]: ... + def getTemperatures(self) -> typing.MutableSequence[float]: ... + def size(self) -> int: ... + class PhaseType(java.lang.Enum['EnvelopeSegment.PhaseType']): + DEW: typing.ClassVar['EnvelopeSegment.PhaseType'] = ... + BUBBLE: typing.ClassVar['EnvelopeSegment.PhaseType'] = ... + _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]) -> 'EnvelopeSegment.PhaseType': ... + @staticmethod + def values() -> typing.MutableSequence['EnvelopeSegment.PhaseType']: ... + +class HPTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def displayResult(self) -> None: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class PTPhaseEnvelopeMichelsen(jneqsim.thermodynamicoperations.BaseOperation): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... + def calcQualityLines(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def checkPhaseCount(self, double: float, double2: float) -> int: ... + def checkStabilityAlongEnvelope(self) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getBubblePointPressures(self) -> typing.MutableSequence[float]: ... + def getBubblePointTemperatures(self) -> typing.MutableSequence[float]: ... + def getCricondenBar(self) -> typing.MutableSequence[float]: ... + def getCricondenTherm(self) -> typing.MutableSequence[float]: ... + def getCriticalPressure(self) -> float: ... + def getCriticalTemperature(self) -> float: ... + def getDewPointPressures(self) -> typing.MutableSequence[float]: ... + def getDewPointTemperatures(self) -> typing.MutableSequence[float]: ... + def getNumberOfCriticalPoints(self) -> int: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getQualityBetaValues(self) -> typing.MutableSequence[float]: ... + def getQualityLine(self, double: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSegments(self) -> java.util.List[EnvelopeSegment]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getThreePhaseRegionP(self) -> typing.MutableSequence[float]: ... + def getThreePhaseRegionT(self) -> typing.MutableSequence[float]: ... + def isEnvelopeClosed(self) -> bool: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setDPmax(self, double: float) -> None: ... + def setDTmax(self, double: float) -> None: ... + def setMaxPressure(self, double: float) -> None: ... + def setMinPressure(self, double: float) -> None: ... + +class PTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): + points2: typing.MutableSequence[typing.MutableSequence[float]] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def calcHydrateLine(self) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def isBubblePointFirst(self) -> bool: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + def setBubblePointFirst(self, boolean: bool) -> None: ... + def tempKWilson(self, double: float, double2: float) -> float: ... + +class PTphaseEnvelopeNew3(jneqsim.thermodynamicoperations.OperationInterface): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def coarse(self) -> None: ... + def displayResult(self) -> None: ... + def findBettaTransitionsAndRefine(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getBettaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBettaTransitionRegion(self) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... + def getCricondenbar(self) -> float: ... + def getCricondentherm(self) -> float: ... + def getDewPointPressures(self) -> typing.MutableSequence[float]: ... + def getDewPointTemperatures(self) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPhaseMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressurePhaseEnvelope(self) -> java.util.List[float]: ... + def getPressures(self) -> typing.MutableSequence[float]: ... + def getRefinedTransitionPoints(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getTemperaturePhaseEnvelope(self) -> java.util.List[float]: ... + def getTemperatures(self) -> typing.MutableSequence[float]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class SysNewtonRhapsonPhaseEnvelope(java.io.Serializable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def calcCrit(self) -> None: ... + def calcInc(self, int: int) -> None: ... + def calcInc2(self, int: int) -> None: ... + def calc_x_y(self) -> None: ... + def findSpecEq(self) -> None: ... + def findSpecEqInit(self) -> None: ... + def getNpCrit(self) -> int: ... + def init(self) -> None: ... + def setJac(self) -> None: ... + def setJac2(self) -> None: ... + def setfvec(self) -> None: ... + def setfvec22(self) -> None: ... + def setu(self) -> None: ... + def sign(self, double: float, double2: float) -> float: ... + def solve(self, int: int) -> None: ... + def useAsSpecEq(self, int: int) -> None: ... + +class CricondenBarFlash(PTphaseEnvelope): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]): ... + def run(self) -> None: ... + +class CricondenThermFlash(PTphaseEnvelope): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]): ... + def run(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops")``. + + CricondenBarFlash: typing.Type[CricondenBarFlash] + CricondenThermFlash: typing.Type[CricondenThermFlash] + EnvelopeSegment: typing.Type[EnvelopeSegment] + HPTphaseEnvelope: typing.Type[HPTphaseEnvelope] + PTPhaseEnvelopeMichelsen: typing.Type[PTPhaseEnvelopeMichelsen] + PTphaseEnvelope: typing.Type[PTphaseEnvelope] + PTphaseEnvelopeNew3: typing.Type[PTphaseEnvelopeNew3] + SysNewtonRhapsonPhaseEnvelope: typing.Type[SysNewtonRhapsonPhaseEnvelope] diff --git a/src/jneqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi b/src/jneqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi new file mode 100644 index 00000000..8884d512 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi @@ -0,0 +1,54 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import org.jfree.chart +import typing + + + +class PloadingCurve(jneqsim.thermodynamicoperations.OperationInterface): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def displayResult(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + +class PloadingCurve2(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def displayResult(self) -> None: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def run(self) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves")``. + + PloadingCurve: typing.Type[PloadingCurve] + PloadingCurve2: typing.Type[PloadingCurve2] diff --git a/src/jneqsim/thermodynamicoperations/propertygenerator/__init__.pyi b/src/jneqsim/thermodynamicoperations/propertygenerator/__init__.pyi new file mode 100644 index 00000000..28533b78 --- /dev/null +++ b/src/jneqsim/thermodynamicoperations/propertygenerator/__init__.pyi @@ -0,0 +1,130 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import jneqsim.thermo.system +import jneqsim.thermodynamicoperations +import typing + + + +class OLGApropertyTableGenerator(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcPhaseEnvelope(self) -> None: ... + def displayResult(self) -> None: ... + def run(self) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class OLGApropertyTableGeneratorKeywordFormat(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcPhaseEnvelope(self) -> None: ... + def displayResult(self) -> None: ... + def initCalc(self) -> None: ... + def run(self) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class OLGApropertyTableGeneratorWater(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcPhaseEnvelope(self) -> None: ... + def calcRSWTOB(self) -> None: ... + def displayResult(self) -> None: ... + def extrapolateTable(self) -> None: ... + def initCalc(self) -> None: ... + def run(self) -> None: ... + def setFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class OLGApropertyTableGeneratorWaterEven(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcPhaseEnvelope(self) -> None: ... + def calcRSWTOB(self) -> None: ... + def displayResult(self) -> None: ... + def extrapolateTable(self) -> None: ... + def initCalc(self) -> None: ... + def run(self) -> None: ... + def setFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class OLGApropertyTableGeneratorWaterKeywordFormat(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcPhaseEnvelope(self) -> None: ... + def calcRSWTOB(self) -> None: ... + def displayResult(self) -> None: ... + def initCalc(self) -> None: ... + def run(self) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class OLGApropertyTableGeneratorWaterStudents(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcPhaseEnvelope(self) -> None: ... + def calcRSWTOB(self) -> None: ... + def displayResult(self) -> None: ... + def extrapolateTable(self) -> None: ... + def initCalc(self) -> None: ... + def run(self) -> None: ... + def setFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class OLGApropertyTableGeneratorWaterStudentsPH(jneqsim.thermodynamicoperations.BaseOperation): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcPhaseEnvelope(self) -> None: ... + def calcRSWTOB(self) -> None: ... + def displayResult(self) -> None: ... + def extrapolateTable(self) -> None: ... + def initCalc(self) -> None: ... + def run(self) -> None: ... + def setEnthalpyRange(self, double: float, double2: float, int: int) -> None: ... + def setFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureRange(self, double: float, double2: float, int: int) -> None: ... + def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.propertygenerator")``. + + OLGApropertyTableGenerator: typing.Type[OLGApropertyTableGenerator] + OLGApropertyTableGeneratorKeywordFormat: typing.Type[OLGApropertyTableGeneratorKeywordFormat] + OLGApropertyTableGeneratorWater: typing.Type[OLGApropertyTableGeneratorWater] + OLGApropertyTableGeneratorWaterEven: typing.Type[OLGApropertyTableGeneratorWaterEven] + OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[OLGApropertyTableGeneratorWaterKeywordFormat] + OLGApropertyTableGeneratorWaterStudents: typing.Type[OLGApropertyTableGeneratorWaterStudents] + OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[OLGApropertyTableGeneratorWaterStudentsPH] diff --git a/src/jneqsim/util/__init__.pyi b/src/jneqsim/util/__init__.pyi new file mode 100644 index 00000000..9fbc8362 --- /dev/null +++ b/src/jneqsim/util/__init__.pyi @@ -0,0 +1,118 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.lang.annotation +import java.util.concurrent +import jneqsim.util.agentic +import jneqsim.util.annotation +import jneqsim.util.database +import jneqsim.util.exception +import jneqsim.util.generator +import jneqsim.util.nucleation +import jneqsim.util.serialization +import jneqsim.util.unit +import jneqsim.util.util +import jneqsim.util.validation +import typing + + + +class ExcludeFromJacocoGeneratedReport(java.lang.annotation.Annotation): + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + def toString(self) -> java.lang.String: ... + +class NamedInterface: + def getName(self) -> java.lang.String: ... + def getTagName(self) -> java.lang.String: ... + def getTagNumber(self) -> java.lang.String: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTagName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class NeqSimLogging: + def __init__(self): ... + @staticmethod + def resetAllLoggers() -> None: ... + @staticmethod + def setGlobalLogging(string: typing.Union[java.lang.String, str]) -> None: ... + +class NeqSimThreadPool: + @staticmethod + def execute(runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + @staticmethod + def getDefaultPoolSize() -> int: ... + @staticmethod + def getKeepAliveTimeSeconds() -> int: ... + @staticmethod + def getMaxQueueCapacity() -> int: ... + @staticmethod + def getPool() -> java.util.concurrent.ExecutorService: ... + @staticmethod + def getPoolSize() -> int: ... + @staticmethod + def isAllowCoreThreadTimeout() -> bool: ... + @staticmethod + def isShutdown() -> bool: ... + @staticmethod + def isTerminated() -> bool: ... + _newCompletionService__T = typing.TypeVar('_newCompletionService__T') # + @staticmethod + def newCompletionService() -> java.util.concurrent.CompletionService[_newCompletionService__T]: ... + @staticmethod + def resetPoolSize() -> None: ... + @staticmethod + def setAllowCoreThreadTimeout(boolean: bool) -> None: ... + @staticmethod + def setKeepAliveTimeSeconds(long: int) -> None: ... + @staticmethod + def setMaxQueueCapacity(int: int) -> None: ... + @staticmethod + def setPoolSize(int: int) -> None: ... + @staticmethod + def shutdown() -> None: ... + @staticmethod + def shutdownAndAwait(long: int, timeUnit: java.util.concurrent.TimeUnit) -> bool: ... + @staticmethod + def shutdownNow() -> None: ... + _submit_1__T = typing.TypeVar('_submit_1__T') # + @typing.overload + @staticmethod + def submit(runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> java.util.concurrent.Future[typing.Any]: ... + @typing.overload + @staticmethod + def submit(callable: typing.Union[java.util.concurrent.Callable[_submit_1__T], typing.Callable[[], _submit_1__T]]) -> java.util.concurrent.Future[_submit_1__T]: ... + +class NamedBaseClass(NamedInterface, java.io.Serializable): + name: java.lang.String = ... + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def getName(self) -> java.lang.String: ... + def getTagNumber(self) -> java.lang.String: ... + def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util")``. + + ExcludeFromJacocoGeneratedReport: typing.Type[ExcludeFromJacocoGeneratedReport] + NamedBaseClass: typing.Type[NamedBaseClass] + NamedInterface: typing.Type[NamedInterface] + NeqSimLogging: typing.Type[NeqSimLogging] + NeqSimThreadPool: typing.Type[NeqSimThreadPool] + agentic: jneqsim.util.agentic.__module_protocol__ + annotation: jneqsim.util.annotation.__module_protocol__ + database: jneqsim.util.database.__module_protocol__ + exception: jneqsim.util.exception.__module_protocol__ + generator: jneqsim.util.generator.__module_protocol__ + nucleation: jneqsim.util.nucleation.__module_protocol__ + serialization: jneqsim.util.serialization.__module_protocol__ + unit: jneqsim.util.unit.__module_protocol__ + util: jneqsim.util.util.__module_protocol__ + validation: jneqsim.util.validation.__module_protocol__ diff --git a/src/jneqsim/util/agentic/__init__.pyi b/src/jneqsim/util/agentic/__init__.pyi new file mode 100644 index 00000000..a9f7a6df --- /dev/null +++ b/src/jneqsim/util/agentic/__init__.pyi @@ -0,0 +1,271 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.processmodel +import typing + + + +class AgentBenchmarkSuite(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addConvergenceResult(self, string: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def addProblem(self, benchmarkProblem: 'AgentBenchmarkSuite.BenchmarkProblem') -> None: ... + def addResult(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + @staticmethod + def createStandardSuite() -> 'AgentBenchmarkSuite': ... + def evaluate(self) -> 'AgentBenchmarkSuite.BenchmarkReport': ... + def getProblems(self) -> java.util.List['AgentBenchmarkSuite.BenchmarkProblem']: ... + def getSuiteName(self) -> java.lang.String: ... + def toJson(self) -> java.lang.String: ... + class BenchmarkProblem(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], problemCategory: 'AgentBenchmarkSuite.ProblemCategory', difficulty: 'AgentBenchmarkSuite.Difficulty', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, string4: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> 'AgentBenchmarkSuite.ProblemCategory': ... + def getDescription(self) -> java.lang.String: ... + def getDifficulty(self) -> 'AgentBenchmarkSuite.Difficulty': ... + def getExpectedValue(self) -> float: ... + def getId(self) -> java.lang.String: ... + def getReferenceSource(self) -> java.lang.String: ... + def getTolerancePct(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class BenchmarkReport(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List['AgentBenchmarkSuite.ProblemResult'], int: int, int2: int, int3: int): ... + def getConvergenceRate(self) -> float: ... + def getFailed(self) -> int: ... + def getFailedProblems(self) -> java.util.List['AgentBenchmarkSuite.ProblemResult']: ... + def getNotAttempted(self) -> int: ... + def getPassRate(self) -> float: ... + def getPassed(self) -> int: ... + def getResults(self) -> java.util.List['AgentBenchmarkSuite.ProblemResult']: ... + def getResultsByCategory(self, problemCategory: 'AgentBenchmarkSuite.ProblemCategory') -> java.util.List['AgentBenchmarkSuite.ProblemResult']: ... + def toJson(self) -> java.lang.String: ... + class Difficulty(java.lang.Enum['AgentBenchmarkSuite.Difficulty']): + BASIC: typing.ClassVar['AgentBenchmarkSuite.Difficulty'] = ... + INTERMEDIATE: typing.ClassVar['AgentBenchmarkSuite.Difficulty'] = ... + ADVANCED: typing.ClassVar['AgentBenchmarkSuite.Difficulty'] = ... + _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]) -> 'AgentBenchmarkSuite.Difficulty': ... + @staticmethod + def values() -> typing.MutableSequence['AgentBenchmarkSuite.Difficulty']: ... + class ProblemCategory(java.lang.Enum['AgentBenchmarkSuite.ProblemCategory']): + THERMO: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + FLASH: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + PROCESS: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + PIPELINE: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + ECONOMICS: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + SAFETY: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + _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]) -> 'AgentBenchmarkSuite.ProblemCategory': ... + @staticmethod + def values() -> typing.MutableSequence['AgentBenchmarkSuite.ProblemCategory']: ... + class ProblemResult(java.io.Serializable): + def __init__(self, benchmarkProblem: 'AgentBenchmarkSuite.BenchmarkProblem', double: float, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getActualValue(self) -> float: ... + def getDetail(self) -> java.lang.String: ... + def getProblem(self) -> 'AgentBenchmarkSuite.BenchmarkProblem': ... + def getVerdict(self) -> java.lang.String: ... + def isPassed(self) -> bool: ... + +class AgentFeedbackCollector(java.io.Serializable): + def __init__(self): ... + @staticmethod + def classifyFailure(string: typing.Union[java.lang.String, str]) -> 'AgentFeedbackCollector.FailureCategory': ... + def computeLearningTrend(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateRemediations(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getAverageSimulationSuccessRate(self) -> float: ... + def getDiscoveredAPIGaps(self) -> java.util.List['AgentFeedbackCollector.APIGap']: ... + def getFailureCategoryCounts(self) -> java.util.Map[java.lang.String, int]: ... + def getMostImpactfulGap(self) -> 'AgentFeedbackCollector.APIGap': ... + def getOverallSuccessRate(self) -> float: ... + def getSessionCount(self) -> int: ... + def getSuccessRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSummaryReport(self) -> java.lang.String: ... + def recordAPIGap(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def recordSession(self, agentSession: 'AgentSession') -> None: ... + class APIGap(java.io.Serializable): + description: java.lang.String = ... + suggestedPackage: java.lang.String = ... + priority: java.lang.String = ... + discoveredAt: int = ... + class FailureCategory(java.lang.Enum['AgentFeedbackCollector.FailureCategory']): + CONVERGENCE: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... + MISSING_API: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... + INVALID_INPUT: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... + CODE_ERROR: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... + TIMEOUT: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... + OTHER: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... + _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]) -> 'AgentFeedbackCollector.FailureCategory': ... + @staticmethod + def values() -> typing.MutableSequence['AgentFeedbackCollector.FailureCategory']: ... + class SessionSummary(java.io.Serializable): + sessionId: java.lang.String = ... + agentName: java.lang.String = ... + taskDescription: java.lang.String = ... + outcome: 'AgentSession.Outcome' = ... + durationSeconds: float = ... + totalSimulations: int = ... + successfulSimulations: int = ... + failureCategory: java.lang.String = ... + +class AgentSession(java.io.Serializable): + def addMetadata(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def beginPhase(self, phase: 'AgentSession.Phase') -> None: ... + def complete(self, outcome: 'AgentSession.Outcome') -> None: ... + def endPhase(self, phase: 'AgentSession.Phase') -> None: ... + def fail(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getAgentName(self) -> java.lang.String: ... + def getDurationSeconds(self) -> float: ... + def getFailureReason(self) -> java.lang.String: ... + def getOutcome(self) -> 'AgentSession.Outcome': ... + def getPhases(self) -> java.util.List['AgentSession.PhaseRecord']: ... + def getSessionId(self) -> java.lang.String: ... + def getSimulationRunCount(self) -> int: ... + def getSimulationRuns(self) -> java.util.List['AgentSession.SimulationRun']: ... + def getSuccessfulSimulationCount(self) -> int: ... + def getTaskDescription(self) -> java.lang.String: ... + def getToolInvocationCount(self) -> int: ... + def getToolInvocations(self) -> java.util.List['AgentSession.ToolInvocation']: ... + def recordSimulationRun(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> None: ... + def recordToolUse(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def start(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgentSession': ... + def toJson(self) -> java.lang.String: ... + class Outcome(java.lang.Enum['AgentSession.Outcome']): + SUCCESS: typing.ClassVar['AgentSession.Outcome'] = ... + PARTIAL: typing.ClassVar['AgentSession.Outcome'] = ... + FAILED: typing.ClassVar['AgentSession.Outcome'] = ... + ABANDONED: typing.ClassVar['AgentSession.Outcome'] = ... + _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]) -> 'AgentSession.Outcome': ... + @staticmethod + def values() -> typing.MutableSequence['AgentSession.Outcome']: ... + class Phase(java.lang.Enum['AgentSession.Phase']): + SCOPE: typing.ClassVar['AgentSession.Phase'] = ... + RESEARCH: typing.ClassVar['AgentSession.Phase'] = ... + ANALYSIS: typing.ClassVar['AgentSession.Phase'] = ... + VALIDATION: typing.ClassVar['AgentSession.Phase'] = ... + REPORTING: typing.ClassVar['AgentSession.Phase'] = ... + _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]) -> 'AgentSession.Phase': ... + @staticmethod + def values() -> typing.MutableSequence['AgentSession.Phase']: ... + class PhaseRecord(java.io.Serializable): + phase: 'AgentSession.Phase' = ... + startTimeMillis: int = ... + endTimeMillis: int = ... + def getDurationSeconds(self) -> float: ... + class SimulationRun(java.io.Serializable): + description: java.lang.String = ... + success: bool = ... + durationSeconds: float = ... + timestamp: int = ... + class ToolInvocation(java.io.Serializable): + toolName: java.lang.String = ... + description: java.lang.String = ... + timestamp: int = ... + +class AgenticEngineeringKernel(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + @staticmethod + def assessReadiness(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def evaluateTrust(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def planWorkflow(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def runStudy(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class SimulationQualityGate(java.io.Serializable): + DEFAULT_MASS_BALANCE_TOLERANCE: typing.ClassVar[float] = ... + DEFAULT_ENERGY_BALANCE_TOLERANCE: typing.ClassVar[float] = ... + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def getErrorCount(self) -> int: ... + def getIssues(self) -> java.util.List['SimulationQualityGate.QualityIssue']: ... + def getWarningCount(self) -> int: ... + def isPassed(self) -> bool: ... + def setEnergyBalanceTolerance(self, double: float) -> None: ... + def setMassBalanceTolerance(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def validate(self) -> None: ... + class QualityIssue(java.io.Serializable): + severity: 'SimulationQualityGate.Severity' = ... + category: java.lang.String = ... + message: java.lang.String = ... + remediation: java.lang.String = ... + def __init__(self, severity: 'SimulationQualityGate.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + class Severity(java.lang.Enum['SimulationQualityGate.Severity']): + ERROR: typing.ClassVar['SimulationQualityGate.Severity'] = ... + WARNING: typing.ClassVar['SimulationQualityGate.Severity'] = ... + INFO: typing.ClassVar['SimulationQualityGate.Severity'] = ... + _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]) -> 'SimulationQualityGate.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['SimulationQualityGate.Severity']: ... + +class TaskResultValidator(java.io.Serializable): + @staticmethod + def validate(string: typing.Union[java.lang.String, str]) -> 'TaskResultValidator.ValidationReport': ... + class ValidationReport(java.io.Serializable): + def __init__(self): ... + def addError(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def getErrorCount(self) -> int: ... + def getErrors(self) -> java.util.List['TaskResultValidator.ValidationReport.Issue']: ... + def getWarningCount(self) -> int: ... + def getWarnings(self) -> java.util.List['TaskResultValidator.ValidationReport.Issue']: ... + def isValid(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class Issue(java.io.Serializable): + field: java.lang.String = ... + message: java.lang.String = ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.agentic")``. + + AgentBenchmarkSuite: typing.Type[AgentBenchmarkSuite] + AgentFeedbackCollector: typing.Type[AgentFeedbackCollector] + AgentSession: typing.Type[AgentSession] + AgenticEngineeringKernel: typing.Type[AgenticEngineeringKernel] + SimulationQualityGate: typing.Type[SimulationQualityGate] + TaskResultValidator: typing.Type[TaskResultValidator] diff --git a/src/jneqsim/util/annotation/__init__.pyi b/src/jneqsim/util/annotation/__init__.pyi new file mode 100644 index 00000000..b3d356a6 --- /dev/null +++ b/src/jneqsim/util/annotation/__init__.pyi @@ -0,0 +1,73 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.lang.annotation +import java.util +import jpype +import typing + + + +class AIExposable(java.lang.annotation.Annotation): + def category(self) -> java.lang.String: ... + def description(self) -> java.lang.String: ... + def equals(self, object: typing.Any) -> bool: ... + def example(self) -> java.lang.String: ... + def hashCode(self) -> int: ... + def priority(self) -> int: ... + def safe(self) -> bool: ... + def tags(self) -> typing.MutableSequence[java.lang.String]: ... + def toString(self) -> java.lang.String: ... + +class AIParameter(java.lang.annotation.Annotation): + def defaultValue(self) -> java.lang.String: ... + def description(self) -> java.lang.String: ... + def equals(self, object: typing.Any) -> bool: ... + def hashCode(self) -> int: ... + def maxValue(self) -> float: ... + def minValue(self) -> float: ... + def name(self) -> java.lang.String: ... + def options(self) -> typing.MutableSequence[java.lang.String]: ... + def required(self) -> bool: ... + def toString(self) -> java.lang.String: ... + def unit(self) -> java.lang.String: ... + +class AISchemaDiscovery(java.io.Serializable): + def __init__(self): ... + def discoverCommonMethods(self, class_: typing.Type[typing.Any]) -> java.util.List['AISchemaDiscovery.MethodSchema']: ... + def discoverCoreAPIs(self) -> java.util.Map[java.lang.String, java.util.List['AISchemaDiscovery.MethodSchema']]: ... + def discoverMethods(self, class_: typing.Type[typing.Any]) -> java.util.List['AISchemaDiscovery.MethodSchema']: ... + def generateMethodPrompt(self, list: java.util.List['AISchemaDiscovery.MethodSchema']) -> java.lang.String: ... + def getQuickStartPrompt(self) -> java.lang.String: ... + class MethodSchema(java.io.Serializable): + 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], string5: typing.Union[java.lang.String, str], int: int, boolean: bool, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], list: java.util.List['AISchemaDiscovery.ParameterSchema'], string7: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> java.lang.String: ... + def getClassName(self) -> java.lang.String: ... + def getDescription(self) -> java.lang.String: ... + def getExample(self) -> java.lang.String: ... + def getMethodName(self) -> java.lang.String: ... + def getParameters(self) -> java.util.List['AISchemaDiscovery.ParameterSchema']: ... + def getPriority(self) -> int: ... + def getReturnType(self) -> java.lang.String: ... + def getTags(self) -> typing.MutableSequence[java.lang.String]: ... + def isSafe(self) -> bool: ... + def toPromptText(self) -> java.lang.String: ... + class ParameterSchema(java.io.Serializable): + 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], double: float, double2: float, string5: typing.Union[java.lang.String, str], boolean: bool, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def getName(self) -> java.lang.String: ... + def getType(self) -> java.lang.String: ... + def toPromptText(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.annotation")``. + + AIExposable: typing.Type[AIExposable] + AIParameter: typing.Type[AIParameter] + AISchemaDiscovery: typing.Type[AISchemaDiscovery] diff --git a/src/jneqsim/util/database/__init__.pyi b/src/jneqsim/util/database/__init__.pyi new file mode 100644 index 00000000..031de4c8 --- /dev/null +++ b/src/jneqsim/util/database/__init__.pyi @@ -0,0 +1,180 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.sql +import jneqsim.util.util +import typing + + + +class AspenIP21Database(jneqsim.util.util.FileSystemSettings, java.io.Serializable): + def __init__(self): ... + @typing.overload + def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + @typing.overload + def getResultSet(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + def getStatement(self) -> java.sql.Statement: ... + def openConnection(self, string: typing.Union[java.lang.String, str]) -> java.sql.Connection: ... + def setStatement(self, statement: java.sql.Statement) -> None: ... + +class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): + dataBasePath: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def createTemporaryTables(self) -> bool: ... + def execute(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getConnection(self) -> java.sql.Connection: ... + @staticmethod + def getConnectionString() -> java.lang.String: ... + @staticmethod + def getDataBaseType() -> java.lang.String: ... + def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + def getStatement(self) -> java.sql.Statement: ... + def openConnection(self) -> java.sql.Connection: ... + @staticmethod + def setConnectionString(string: typing.Union[java.lang.String, str]) -> None: ... + def setCreateTemporaryTables(self, boolean: bool) -> None: ... + @typing.overload + @staticmethod + def setDataBaseType(string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setPassword(string: typing.Union[java.lang.String, str]) -> None: ... + def setStatement(self, statement: java.sql.Statement) -> None: ... + @staticmethod + def setUsername(string: typing.Union[java.lang.String, str]) -> None: ... + +class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, java.lang.AutoCloseable): + dataBasePath: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def close(self) -> None: ... + @staticmethod + def createTemporaryTables() -> bool: ... + def execute(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def executeQuery(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def getComponentNames() -> typing.MutableSequence[java.lang.String]: ... + def getConnection(self) -> java.sql.Connection: ... + @staticmethod + def getConnectionString() -> java.lang.String: ... + @staticmethod + def getDataBaseType() -> java.lang.String: ... + def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + def getStatement(self) -> java.sql.Statement: ... + @staticmethod + def hasComponent(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def hasTempComponent(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def initH2DatabaseFromCSVfiles() -> None: ... + def openConnection(self) -> java.sql.Connection: ... + @staticmethod + def replaceTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setConnectionString(string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setCreateTemporaryTables(boolean: bool) -> None: ... + @typing.overload + @staticmethod + def setDataBaseType(string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setPassword(string: typing.Union[java.lang.String, str]) -> None: ... + def setStatement(self, statement: java.sql.Statement) -> None: ... + @staticmethod + def setUsername(string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def updateTable(string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def useExtendedComponentDatabase(boolean: bool) -> None: ... + +class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): + dataBasePath: typing.ClassVar[java.lang.String] = ... + username: typing.ClassVar[java.lang.String] = ... + password: typing.ClassVar[java.lang.String] = ... + connectionString: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + def createTemporaryTables(self) -> bool: ... + def execute(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getConnection(self) -> java.sql.Connection: ... + @staticmethod + def getConnectionString() -> java.lang.String: ... + @staticmethod + def getDataBaseType() -> java.lang.String: ... + def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + def getStatement(self) -> java.sql.Statement: ... + def openConnection(self) -> java.sql.Connection: ... + @staticmethod + def setConnectionString(string: typing.Union[java.lang.String, str]) -> None: ... + def setCreateTemporaryTables(self, boolean: bool) -> None: ... + @typing.overload + @staticmethod + def setDataBaseType(string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setPassword(string: typing.Union[java.lang.String, str]) -> None: ... + def setStatement(self, statement: java.sql.Statement) -> None: ... + @staticmethod + def setUsername(string: typing.Union[java.lang.String, str]) -> None: ... + +class NeqSimFluidDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): + useOnlineBase: typing.ClassVar[bool] = ... + def __init__(self): ... + def execute(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getConnection(self) -> java.sql.Connection: ... + @typing.overload + def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + @typing.overload + def getResultSet(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + def openConnection(self, string: typing.Union[java.lang.String, str]) -> java.sql.Connection: ... + +class NeqSimContractDataBase(NeqSimDataBase): + dataBasePath: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + @staticmethod + def initH2DatabaseFromCSVfiles() -> None: ... + @typing.overload + @staticmethod + def updateTable(string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + +class NeqSimProcessDesignDataBase(NeqSimDataBase): + dataBasePath: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + @staticmethod + def initH2DatabaseFromCSVfiles() -> None: ... + @typing.overload + @staticmethod + def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + @staticmethod + def updateTable(string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.database")``. + + AspenIP21Database: typing.Type[AspenIP21Database] + NeqSimBlobDatabase: typing.Type[NeqSimBlobDatabase] + NeqSimContractDataBase: typing.Type[NeqSimContractDataBase] + NeqSimDataBase: typing.Type[NeqSimDataBase] + NeqSimExperimentDatabase: typing.Type[NeqSimExperimentDatabase] + NeqSimFluidDataBase: typing.Type[NeqSimFluidDataBase] + NeqSimProcessDesignDataBase: typing.Type[NeqSimProcessDesignDataBase] diff --git a/src/jneqsim/util/exception/__init__.pyi b/src/jneqsim/util/exception/__init__.pyi new file mode 100644 index 00000000..02dd9845 --- /dev/null +++ b/src/jneqsim/util/exception/__init__.pyi @@ -0,0 +1,82 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import typing + + + +class ThermoException(java.lang.Exception): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + +class InvalidInputException(ThermoException): + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + 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]): ... + def getRemediation(self) -> java.lang.String: ... + +class InvalidOutputException(ThermoException): + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + 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]): ... + def getRemediation(self) -> java.lang.String: ... + +class IsNaNException(ThermoException): + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + 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 getRemediation(self) -> java.lang.String: ... + +class NotImplementedException(ThermoException): + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + +class NotInitializedException(ThermoException): + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + @typing.overload + 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]): ... + def getRemediation(self) -> java.lang.String: ... + +class TooManyIterationsException(ThermoException): + @typing.overload + def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], long: int): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], long: int): ... + def getRemediation(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.exception")``. + + InvalidInputException: typing.Type[InvalidInputException] + InvalidOutputException: typing.Type[InvalidOutputException] + IsNaNException: typing.Type[IsNaNException] + NotImplementedException: typing.Type[NotImplementedException] + NotInitializedException: typing.Type[NotInitializedException] + ThermoException: typing.Type[ThermoException] + TooManyIterationsException: typing.Type[TooManyIterationsException] diff --git a/src/jneqsim/util/generator/__init__.pyi b/src/jneqsim/util/generator/__init__.pyi new file mode 100644 index 00000000..cecd9fbe --- /dev/null +++ b/src/jneqsim/util/generator/__init__.pyi @@ -0,0 +1,25 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jpype +import jneqsim.thermo.system +import typing + + + +class PropertyGenerator: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def calculate(self) -> java.util.HashMap[java.lang.String, typing.MutableSequence[float]]: ... + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.generator")``. + + PropertyGenerator: typing.Type[PropertyGenerator] diff --git a/src/jneqsim/util/nucleation/__init__.pyi b/src/jneqsim/util/nucleation/__init__.pyi new file mode 100644 index 00000000..2b8b7d5c --- /dev/null +++ b/src/jneqsim/util/nucleation/__init__.pyi @@ -0,0 +1,182 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.thermo.system +import typing + + + +class ClassicalNucleationTheory: + K_BOLTZMANN: typing.ClassVar[float] = ... + N_AVOGADRO: typing.ClassVar[float] = ... + R_GAS: typing.ClassVar[float] = ... + def __init__(self, double: float, double2: float, double3: float): ... + def calculate(self) -> None: ... + def calculateParticleDiameter(self, double: float, double2: float) -> float: ... + @staticmethod + def fromThermoSystem(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> 'ClassicalNucleationTheory': ... + def getCoagulationKernel(self) -> float: ... + def getCondensedPhaseDensity(self) -> float: ... + def getContactAngle(self) -> float: ... + def getContactAngleFactor(self) -> float: ... + def getCriticalNucleusMolecules(self) -> float: ... + def getCriticalRadius(self) -> float: ... + def getDimensionlessFreeEnergyBarrier(self) -> float: ... + def getFilterCaptureEfficiency(self, double: float) -> float: ... + def getFractionSmallerThan(self, double: float) -> float: ... + def getFreeEnergyBarrier(self) -> float: ... + def getGeometricStdDev(self) -> float: ... + def getGrowthRate(self) -> float: ... + def getKnudsenNumber(self) -> float: ... + @typing.overload + def getMeanParticleDiameter(self) -> float: ... + @typing.overload + def getMeanParticleDiameter(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeanParticleRadius(self) -> float: ... + def getNucleationRate(self) -> float: ... + def getParticleMassConcentration(self) -> float: ... + def getParticleNumberDensity(self) -> float: ... + def getParticleSizePercentiles(self) -> typing.MutableSequence[float]: ... + def getSupersaturationRatio(self) -> float: ... + def getZeldovichFactor(self) -> float: ... + @staticmethod + def heterogeneousContactAngleFactor(double: float) -> float: ... + def isCalculated(self) -> bool: ... + def isHeterogeneous(self) -> bool: ... + @staticmethod + def naphthalene() -> 'ClassicalNucleationTheory': ... + @staticmethod + def paraffinWax() -> 'ClassicalNucleationTheory': ... + def setCarrierGasMolarMass(self, double: float) -> None: ... + def setContactAngle(self, double: float) -> None: ... + def setGasDiffusivity(self, double: float) -> None: ... + def setGasViscosity(self, double: float) -> None: ... + def setHeterogeneous(self, boolean: bool) -> None: ... + def setMeanFreePath(self, double: float) -> None: ... + def setPartialPressure(self, double: float) -> None: ... + def setResidenceTime(self, double: float) -> None: ... + def setSaturationPressure(self, double: float) -> None: ... + def setStickingCoefficient(self, double: float) -> None: ... + def setSubstanceName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSupersaturationRatio(self, double: float) -> None: ... + def setSurfaceTension(self, double: float) -> None: ... + def setTemperature(self, double: float) -> None: ... + def setTotalPressure(self, double: float) -> None: ... + @staticmethod + def sulfurS8() -> 'ClassicalNucleationTheory': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + @staticmethod + def waterIce() -> 'ClassicalNucleationTheory': ... + +class MulticomponentNucleation: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def calculate(self) -> None: ... + def getComponentCondensationFractions(self) -> java.util.List[float]: ... + def getComponentNucleationRates(self) -> java.util.List[float]: ... + def getComponentSupersaturations(self) -> java.util.List[float]: ... + def getCondensableComponentNames(self) -> java.util.List[java.lang.String]: ... + def getDominantComponent(self) -> java.lang.String: ... + def getEffectiveDensity(self) -> float: ... + def getEffectiveMW(self) -> float: ... + def getEffectiveSupersaturation(self) -> float: ... + def getEffectiveSurfaceTension(self) -> float: ... + def getMeanParticleDiameter(self) -> float: ... + def getMode(self) -> 'MulticomponentNucleation.NucleationMode': ... + def getNumberOfCondensableComponents(self) -> int: ... + def getPseudocomponentCNT(self) -> ClassicalNucleationTheory: ... + def getTotalNucleationRate(self) -> float: ... + def isCalculated(self) -> bool: ... + def setCondensableThreshold(self, double: float) -> None: ... + def setHeterogeneous(self, boolean: bool, double: float) -> None: ... + def setMode(self, nucleationMode: 'MulticomponentNucleation.NucleationMode') -> None: ... + def setResidenceTime(self, double: float) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class NucleationMode(java.lang.Enum['MulticomponentNucleation.NucleationMode']): + PSEUDOCOMPONENT: typing.ClassVar['MulticomponentNucleation.NucleationMode'] = ... + INDEPENDENT: typing.ClassVar['MulticomponentNucleation.NucleationMode'] = ... + _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]) -> 'MulticomponentNucleation.NucleationMode': ... + @staticmethod + def values() -> typing.MutableSequence['MulticomponentNucleation.NucleationMode']: ... + +class PopulationBalanceModel: + def __init__(self, classicalNucleationTheory: ClassicalNucleationTheory): ... + def getBinDiameters(self) -> typing.MutableSequence[float]: ... + def getBinEdges(self) -> typing.MutableSequence[float]: ... + def getBinNumberDensities(self) -> typing.MutableSequence[float]: ... + def getBinVolumeDensities(self) -> typing.MutableSequence[float]: ... + def getCurrentTime(self) -> float: ... + def getGeometricStdDev(self) -> float: ... + def getMeanDiameter(self) -> float: ... + def getMedianDiameter(self) -> float: ... + def getNumberOfBins(self) -> int: ... + def getTotalMassConcentration(self) -> float: ... + def getTotalNumberDensity(self) -> float: ... + def getTotalVolumeConcentration(self) -> float: ... + def isSolved(self) -> bool: ... + def setMaxDiameter(self, double: float) -> None: ... + def setMinDiameter(self, double: float) -> None: ... + def setNumberOfBins(self, int: int) -> None: ... + def setTimeSteps(self, int: int) -> None: ... + def setTotalTime(self, double: float) -> None: ... + def solve(self) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + +class SpinodalDecompositionDetector: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def analyze(self) -> None: ... + def getDominantWavelength(self) -> float: ... + def getHessianMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMinEigenvalue(self) -> float: ... + def getRecommendation(self) -> java.lang.String: ... + def getStabilityMargin(self) -> float: ... + def getStabilityState(self) -> 'SpinodalDecompositionDetector.StabilityState': ... + def getUnstableComponentPair(self) -> java.lang.String: ... + def isAnalyzed(self) -> bool: ... + def isInsideSpinodal(self) -> bool: ... + def isMetastable(self) -> bool: ... + def isStable(self) -> bool: ... + def setPhaseIndex(self, int: int) -> None: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def toString(self) -> java.lang.String: ... + class StabilityState(java.lang.Enum['SpinodalDecompositionDetector.StabilityState']): + STABLE: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... + METASTABLE: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... + UNSTABLE: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... + UNKNOWN: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... + _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]) -> 'SpinodalDecompositionDetector.StabilityState': ... + @staticmethod + def values() -> typing.MutableSequence['SpinodalDecompositionDetector.StabilityState']: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.nucleation")``. + + ClassicalNucleationTheory: typing.Type[ClassicalNucleationTheory] + MulticomponentNucleation: typing.Type[MulticomponentNucleation] + PopulationBalanceModel: typing.Type[PopulationBalanceModel] + SpinodalDecompositionDetector: typing.Type[SpinodalDecompositionDetector] diff --git a/src/jneqsim/util/serialization/__init__.pyi b/src/jneqsim/util/serialization/__init__.pyi new file mode 100644 index 00000000..bcd85c2b --- /dev/null +++ b/src/jneqsim/util/serialization/__init__.pyi @@ -0,0 +1,32 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import typing + + + +class NeqSimXtream: + def __init__(self): ... + @staticmethod + def openNeqsim(string: typing.Union[java.lang.String, str]) -> typing.Any: ... + @staticmethod + def saveNeqsim(object: typing.Any, string: typing.Union[java.lang.String, str]) -> bool: ... + +class SerializationManager: + def __init__(self): ... + @staticmethod + def open(string: typing.Union[java.lang.String, str]) -> typing.Any: ... + @staticmethod + def save(object: typing.Any, string: typing.Union[java.lang.String, str]) -> None: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.serialization")``. + + NeqSimXtream: typing.Type[NeqSimXtream] + SerializationManager: typing.Type[SerializationManager] diff --git a/src/jneqsim/util/unit/__init__.pyi b/src/jneqsim/util/unit/__init__.pyi new file mode 100644 index 00000000..684b7330 --- /dev/null +++ b/src/jneqsim/util/unit/__init__.pyi @@ -0,0 +1,146 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import java.util +import jneqsim.thermo +import typing + + + +class NeqSimUnitSet: + def __init__(self): ... + def getComponentConcentrationUnit(self) -> java.lang.String: ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTemperatureUnit(self) -> java.lang.String: ... + def setComponentConcentrationUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def setNeqSimUnits(string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + +class Unit: + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class Units: + activeUnits: typing.ClassVar[java.util.Map] = ... + defaultUnits: typing.ClassVar[java.util.Map] = ... + metricUnits: typing.ClassVar[java.util.Map] = ... + def __init__(self): ... + @staticmethod + def activateDefaultUnits() -> None: ... + @staticmethod + def activateFieldUnits() -> None: ... + @staticmethod + def activateMetricUnits() -> None: ... + @staticmethod + def activateSIUnits() -> None: ... + def getMolarVolumeUnits(self) -> typing.MutableSequence[java.lang.String]: ... + def getPressureUnits(self) -> typing.MutableSequence[java.lang.String]: ... + @staticmethod + def getSymbol(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getSymbolName(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getTemperatureUnits(self) -> typing.MutableSequence[java.lang.String]: ... + @staticmethod + def setUnit(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + class UnitDescription: + symbol: java.lang.String = ... + symbolName: java.lang.String = ... + def __init__(self, units: 'Units', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + +class BaseUnit(Unit, jneqsim.thermo.ThermodynamicConstantsInterface): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class EnergyUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class LengthUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class PowerUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class PressureUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class RateUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str], double2: float, double3: float, double4: float): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class TemperatureUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + +class TimeUnit(BaseUnit): + def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... + def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSIvalue(self) -> float: ... + @typing.overload + def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.unit")``. + + BaseUnit: typing.Type[BaseUnit] + EnergyUnit: typing.Type[EnergyUnit] + LengthUnit: typing.Type[LengthUnit] + NeqSimUnitSet: typing.Type[NeqSimUnitSet] + PowerUnit: typing.Type[PowerUnit] + PressureUnit: typing.Type[PressureUnit] + RateUnit: typing.Type[RateUnit] + TemperatureUnit: typing.Type[TemperatureUnit] + TimeUnit: typing.Type[TimeUnit] + Unit: typing.Type[Unit] + Units: typing.Type[Units] diff --git a/src/jneqsim/util/util/__init__.pyi b/src/jneqsim/util/util/__init__.pyi new file mode 100644 index 00000000..620e9bf8 --- /dev/null +++ b/src/jneqsim/util/util/__init__.pyi @@ -0,0 +1,35 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import typing + + + +class DoubleCloneable(java.lang.Cloneable): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float): ... + def clone(self) -> 'DoubleCloneable': ... + def doubleValue(self) -> float: ... + def set(self, double: float) -> None: ... + +class FileSystemSettings: + root: typing.ClassVar[java.lang.String] = ... + tempDir: typing.ClassVar[java.lang.String] = ... + defaultFileTreeRoot: typing.ClassVar[java.lang.String] = ... + defaultDatabaseRootRoot: typing.ClassVar[java.lang.String] = ... + relativeFilePath: typing.ClassVar[java.lang.String] = ... + fileExtension: typing.ClassVar[java.lang.String] = ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.util")``. + + DoubleCloneable: typing.Type[DoubleCloneable] + FileSystemSettings: typing.Type[FileSystemSettings] diff --git a/src/jneqsim/util/validation/__init__.pyi b/src/jneqsim/util/validation/__init__.pyi new file mode 100644 index 00000000..86798429 --- /dev/null +++ b/src/jneqsim/util/validation/__init__.pyi @@ -0,0 +1,132 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import jneqsim.process.equipment +import jneqsim.process.ml +import jneqsim.process.processmodel +import jneqsim.thermo.system +import jneqsim.util.validation.contracts +import typing + + + +class AIIntegrationHelper(java.io.Serializable): + def createRLEnvironment(self) -> jneqsim.process.ml.RLEnvironment: ... + @staticmethod + def forProcess(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'AIIntegrationHelper': ... + def getAPIDocumentation(self) -> java.lang.String: ... + def getIssuesAsText(self) -> typing.MutableSequence[java.lang.String]: ... + def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def getValidationReport(self) -> java.lang.String: ... + def isReady(self) -> bool: ... + def safeRun(self) -> 'AIIntegrationHelper.ExecutionResult': ... + def validate(self) -> 'ValidationResult': ... + def validateEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ValidationResult': ... + def validateFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationResult': ... + class ExecutionResult(java.io.Serializable): + @staticmethod + def error(string: typing.Union[java.lang.String, str], exception: java.lang.Exception) -> 'AIIntegrationHelper.ExecutionResult': ... + @staticmethod + def failure(string: typing.Union[java.lang.String, str], validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... + def getException(self) -> java.lang.Exception: ... + def getMessage(self) -> java.lang.String: ... + def getStatus(self) -> 'AIIntegrationHelper.ExecutionResult.Status': ... + def getValidation(self) -> 'ValidationResult': ... + def isSuccess(self) -> bool: ... + @staticmethod + def success(validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... + def toAIReport(self) -> java.lang.String: ... + @staticmethod + def warning(string: typing.Union[java.lang.String, str], validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... + class Status(java.lang.Enum['AIIntegrationHelper.ExecutionResult.Status']): + SUCCESS: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... + WARNING: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... + FAILURE: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... + ERROR: typing.ClassVar['AIIntegrationHelper.ExecutionResult.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]) -> 'AIIntegrationHelper.ExecutionResult.Status': ... + @staticmethod + def values() -> typing.MutableSequence['AIIntegrationHelper.ExecutionResult.Status']: ... + +class SimulationValidator: + @staticmethod + def getValidationReport(*object: typing.Any) -> java.lang.String: ... + @staticmethod + def isReady(object: typing.Any) -> bool: ... + @staticmethod + def validate(object: typing.Any) -> 'ValidationResult': ... + @typing.overload + @staticmethod + def validateAndRun(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ValidationResult': ... + @typing.overload + @staticmethod + def validateAndRun(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ValidationResult': ... + @staticmethod + def validateOutput(object: typing.Any) -> 'ValidationResult': ... + +class ValidationResult: + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addError(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def addInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def getErrors(self) -> java.util.List['ValidationResult.ValidationIssue']: ... + def getIssues(self) -> java.util.List['ValidationResult.ValidationIssue']: ... + def getReport(self) -> java.lang.String: ... + def getValidationTimeMs(self) -> int: ... + def getWarnings(self) -> java.util.List['ValidationResult.ValidationIssue']: ... + def hasWarnings(self) -> bool: ... + def isReady(self) -> bool: ... + def isValid(self) -> bool: ... + def setValidationTimeMs(self, long: int) -> None: ... + def toString(self) -> java.lang.String: ... + class Severity(java.lang.Enum['ValidationResult.Severity']): + CRITICAL: typing.ClassVar['ValidationResult.Severity'] = ... + MAJOR: typing.ClassVar['ValidationResult.Severity'] = ... + MINOR: typing.ClassVar['ValidationResult.Severity'] = ... + INFO: typing.ClassVar['ValidationResult.Severity'] = ... + _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]) -> 'ValidationResult.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['ValidationResult.Severity']: ... + class ValidationIssue: + def __init__(self, severity: 'ValidationResult.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getCategory(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getRemediation(self) -> java.lang.String: ... + def getSeverity(self) -> 'ValidationResult.Severity': ... + def toString(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.validation")``. + + AIIntegrationHelper: typing.Type[AIIntegrationHelper] + SimulationValidator: typing.Type[SimulationValidator] + ValidationResult: typing.Type[ValidationResult] + contracts: jneqsim.util.validation.contracts.__module_protocol__ diff --git a/src/jneqsim/util/validation/contracts/__init__.pyi b/src/jneqsim/util/validation/contracts/__init__.pyi new file mode 100644 index 00000000..4244d6e2 --- /dev/null +++ b/src/jneqsim/util/validation/contracts/__init__.pyi @@ -0,0 +1,71 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jneqsim.process.equipment.separator +import jneqsim.process.equipment.stream +import jneqsim.process.processmodel +import jneqsim.thermo.system +import jneqsim.util.validation +import typing + + + +_ModuleContract__T = typing.TypeVar('_ModuleContract__T') # +class ModuleContract(typing.Generic[_ModuleContract__T]): + def checkPostconditions(self, t: _ModuleContract__T) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions(self, t: _ModuleContract__T) -> jneqsim.util.validation.ValidationResult: ... + def getContractName(self) -> java.lang.String: ... + def getProvidesDescription(self) -> java.lang.String: ... + def getRequirementsDescription(self) -> java.lang.String: ... + +class ProcessSystemContract(ModuleContract[jneqsim.process.processmodel.ProcessSystem]): + def checkPostconditions(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + def getContractName(self) -> java.lang.String: ... + @staticmethod + def getInstance() -> 'ProcessSystemContract': ... + def getProvidesDescription(self) -> java.lang.String: ... + def getRequirementsDescription(self) -> java.lang.String: ... + def validateConnectivity(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + +class SeparatorContract(ModuleContract[jneqsim.process.equipment.separator.Separator]): + def checkPostconditions(self, separator: jneqsim.process.equipment.separator.Separator) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions(self, separator: jneqsim.process.equipment.separator.Separator) -> jneqsim.util.validation.ValidationResult: ... + def getContractName(self) -> java.lang.String: ... + @staticmethod + def getInstance() -> 'SeparatorContract': ... + def getProvidesDescription(self) -> java.lang.String: ... + def getRequirementsDescription(self) -> java.lang.String: ... + +class StreamContract(ModuleContract[jneqsim.process.equipment.stream.StreamInterface]): + def checkPostconditions(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.util.validation.ValidationResult: ... + def getContractName(self) -> java.lang.String: ... + @staticmethod + def getInstance() -> 'StreamContract': ... + def getProvidesDescription(self) -> java.lang.String: ... + def getRequirementsDescription(self) -> java.lang.String: ... + +class ThermodynamicSystemContract(ModuleContract[jneqsim.thermo.system.SystemInterface]): + def checkPostconditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.util.validation.ValidationResult: ... + def getContractName(self) -> java.lang.String: ... + @staticmethod + def getInstance() -> 'ThermodynamicSystemContract': ... + def getProvidesDescription(self) -> java.lang.String: ... + def getRequirementsDescription(self) -> java.lang.String: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.validation.contracts")``. + + ModuleContract: typing.Type[ModuleContract] + ProcessSystemContract: typing.Type[ProcessSystemContract] + SeparatorContract: typing.Type[SeparatorContract] + StreamContract: typing.Type[StreamContract] + ThermodynamicSystemContract: typing.Type[ThermodynamicSystemContract]