From f537edbb8e3f40b50fa68e3d72da5125528de689 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:40:30 +0100 Subject: [PATCH 1/8] update --- src/neqsim/thermo/thermoTools.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/neqsim/thermo/thermoTools.py b/src/neqsim/thermo/thermoTools.py index 08b25694..af377377 100644 --- a/src/neqsim/thermo/thermoTools.py +++ b/src/neqsim/thermo/thermoTools.py @@ -336,23 +336,28 @@ def _as_float_matrix(values) -> list[list[float]]: } +# Create case-insensitive lookup for fluid types +_fluid_type_lower = {k.lower(): v for k, v in fluid_type.items()} + + def fluid(name="srk", temperature=298.15, pressure=1.01325): """ Create a thermodynamic fluid system. Parameters: - name (str): The name of the equation of state to use. Default is "srk". + name (str): The name of the equation of state to use (case-insensitive). Default is "srk". temperature (float): The temperature of the fluid in Kelvin. Default is 298.15 K. pressure (float): The pressure of the fluid in bar. Default is 1.01325 bar. Returns: object: An instance of the specified thermodynamic fluid system. """ - if name not in fluid_type: + name_lower = name.lower() + if name_lower not in _fluid_type_lower: raise ValueError( f"Fluid model {name} not found. Available models are {list(fluid_type.keys())}" ) - fluid_function = fluid_type[name] + fluid_function = _fluid_type_lower[name_lower] return fluid_function(temperature, pressure) From 557a7c92a64c170aa3b8c2c9df9e7dcf77f3b952 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:48:02 +0100 Subject: [PATCH 2/8] update --- src/neqsim/thermo/thermoTools.py | 162 ++++++++++++++++++++++++++----- 1 file changed, 137 insertions(+), 25 deletions(-) diff --git a/src/neqsim/thermo/thermoTools.py b/src/neqsim/thermo/thermoTools.py index af377377..42ca1d96 100644 --- a/src/neqsim/thermo/thermoTools.py +++ b/src/neqsim/thermo/thermoTools.py @@ -300,41 +300,82 @@ def _as_float_matrix(values) -> list[list[float]]: thermodynamicoperations = jneqsim.thermodynamicoperations.ThermodynamicOperations fluidcreator = jneqsim.thermo.Fluid() fluid_type = { + # SRK-based equations of state "srk": jneqsim.thermo.system.SystemSrkEos, "SRK-EoS": jneqsim.thermo.system.SystemSrkEos, - "Psrk-EoS": jneqsim.thermo.system.SystemPsrkEos, - "PSRK-EoS": jneqsim.thermo.system.SystemPsrkEos, - "RK-EoS": jneqsim.thermo.system.SystemRKEos, - "pr": jneqsim.thermo.system.SystemPrEos, - "PR-EoS": jneqsim.thermo.system.SystemPrEos, - "pr-umr": jneqsim.thermo.system.SystemUMRPRUMCEos, - "srk-s": jneqsim.thermo.system.SystemSrkSchwartzentruberEos, - "GERG-water": jneqsim.thermo.system.SystemGERGwaterEos, + "srk-mc": jneqsim.thermo.system.SystemSrkMathiasCopeman, "SRK-MC": jneqsim.thermo.system.SystemSrkMathiasCopeman, - "PR-MC": jneqsim.thermo.system.SystemPrMathiasCopeman, + "srk-peneloux": jneqsim.thermo.system.SystemSrkPenelouxEos, + "SRK-Peneloux": jneqsim.thermo.system.SystemSrkPenelouxEos, + "srk-twucoon": jneqsim.thermo.system.SystemSrkTwuCoonEos, + "SRK-TwuCoon": jneqsim.thermo.system.SystemSrkTwuCoonEos, + "srk-twoCoon": jneqsim.thermo.system.SystemSrkTwuCoonParamEos, + "SRK-TwuCoon-EOS": jneqsim.thermo.system.SystemSrkTwuCoonStatoilEos, + "srk-twucoon-statoil": jneqsim.thermo.system.SystemSrkTwuCoonStatoilEos, + "srk-s": jneqsim.thermo.system.SystemSrkSchwartzentruberEos, "scrk": jneqsim.thermo.system.SystemSrkSchwartzentruberEos, "ScRK-EoS": jneqsim.thermo.system.SystemSrkSchwartzentruberEos, - "nrtl": jneqsim.thermo.system.SystemNRTL, - "unifac": jneqsim.thermo.system.SystemUNIFAC, - "electrolyte": jneqsim.thermo.system.SystemFurstElectrolyteEos, - "Electrolyte-ScRK-EoS": jneqsim.thermo.system.SystemFurstElectrolyteEos, - "Electrolyte-CPA-EoS": jneqsim.thermo.system.SystemElectrolyteCPAstatoil, - "cpa-el": jneqsim.thermo.system.SystemElectrolyteCPA, - "cpa-s": jneqsim.thermo.system.SystemSrkCPAs, - "cpa-statoil": jneqsim.thermo.system.SystemSrkCPAstatoil, + "srk-volcor": jneqsim.thermo.system.SystemSrkEosvolcor, + "SRK-volcor": jneqsim.thermo.system.SystemSrkEosvolcor, + # PR-based equations of state + "pr": jneqsim.thermo.system.SystemPrEos, + "PR-EoS": jneqsim.thermo.system.SystemPrEos, + "pr-mc": jneqsim.thermo.system.SystemPrMathiasCopeman, + "PR-MC": jneqsim.thermo.system.SystemPrMathiasCopeman, + "pr-danesh": jneqsim.thermo.system.SystemPrDanesh, + "PR-Danesh": jneqsim.thermo.system.SystemPrDanesh, + "pr-volcor": jneqsim.thermo.system.SystemPrEosvolcor, + "PR-volcor": jneqsim.thermo.system.SystemPrEosvolcor, + "pr-umr": jneqsim.thermo.system.SystemUMRPRUMCEos, + "UMR-PRU": jneqsim.thermo.system.SystemUMRPRUMCEos, + # PSRK + "psrk": jneqsim.thermo.system.SystemPsrkEos, + "Psrk-EoS": jneqsim.thermo.system.SystemPsrkEos, + "PSRK-EoS": jneqsim.thermo.system.SystemPsrkEos, + # CSP-SRK + "csp-srk": jneqsim.thermo.system.SystemCSPsrkEos, + "CSP-SRK": jneqsim.thermo.system.SystemCSPsrkEos, + # RK + "rk": jneqsim.thermo.system.SystemRKEos, + "RK-EoS": jneqsim.thermo.system.SystemRKEos, + # CPA equations of state "cpa": jneqsim.thermo.system.SystemSrkCPAstatoil, - "CPA-SRK-EoS": jneqsim.thermo.system.SystemSrkCPA, "cpa-srk": jneqsim.thermo.system.SystemSrkCPA, - "srk-twoCoon": jneqsim.thermo.system.SystemSrkTwuCoonParamEos, + "CPA-SRK-EoS": jneqsim.thermo.system.SystemSrkCPA, + "cpa-srk-s": jneqsim.thermo.system.SystemSrkCPAs, + "cpa-s": jneqsim.thermo.system.SystemSrkCPAs, + "sCPA": jneqsim.thermo.system.SystemSrkCPAs, + "cpa-statoil": jneqsim.thermo.system.SystemSrkCPAstatoil, "cpa-pr": jneqsim.thermo.system.SystemPrCPA, "CPA-PR-EoS": jneqsim.thermo.system.SystemPrCPA, - "SRK-TwuCoon-EOS": jneqsim.thermo.system.SystemSrkTwuCoonStatoilEos, - "span-wagner": jneqsim.thermo.system.SystemSpanWagnerEos, + # Electrolyte models + "electrolyte": jneqsim.thermo.system.SystemFurstElectrolyteEos, + "Electrolyte-ScRK-EoS": jneqsim.thermo.system.SystemFurstElectrolyteEos, + "Electrolyte-CPA-EoS": jneqsim.thermo.system.SystemElectrolyteCPAstatoil, + "cpa-el": jneqsim.thermo.system.SystemElectrolyteCPA, + "electrolyte-cpa": jneqsim.thermo.system.SystemElectrolyteCPA, + # Activity coefficient models + "nrtl": jneqsim.thermo.system.SystemNRTL, + "NRTL": jneqsim.thermo.system.SystemNRTL, + "unifac": jneqsim.thermo.system.SystemUNIFAC, + "UNIFAC": jneqsim.thermo.system.SystemUNIFAC, + # Reference equations of state + "gerg-water": jneqsim.thermo.system.SystemGERGwaterEos, + "GERG-water": jneqsim.thermo.system.SystemGERGwaterEos, "gerg-2008": jneqsim.thermo.system.SystemGERG2008Eos, + "GERG-2008": jneqsim.thermo.system.SystemGERG2008Eos, + "span-wagner": jneqsim.thermo.system.SystemSpanWagnerEos, + "Span-Wagner": jneqsim.thermo.system.SystemSpanWagnerEos, "bwrs": jneqsim.thermo.system.SystemBWRSEos, + "BWRS": jneqsim.thermo.system.SystemBWRSEos, + # Other "ideal-gas": jneqsim.thermo.system.SystemIdealGas, + "ideal": jneqsim.thermo.system.SystemIdealGas, } +# Special fluid types that require additional configuration +_special_fluid_types = {"gerg-2008-h2", "gerg-h2"} + # Create case-insensitive lookup for fluid types _fluid_type_lower = {k.lower(): v for k, v in fluid_type.items()} @@ -345,14 +386,85 @@ def fluid(name="srk", temperature=298.15, pressure=1.01325): Create a thermodynamic fluid system. Parameters: - name (str): The name of the equation of state to use (case-insensitive). Default is "srk". - temperature (float): The temperature of the fluid in Kelvin. Default is 298.15 K. - pressure (float): The pressure of the fluid in bar. Default is 1.01325 bar. + name (str): The name of the equation of state to use (case-insensitive). Default is "srk". + temperature (float): The temperature of the fluid in Kelvin. Default is 298.15 K. + pressure (float): The pressure of the fluid in bar. Default is 1.01325 bar. Returns: - object: An instance of the specified thermodynamic fluid system. + object: An instance of the specified thermodynamic fluid system. + + Available models: + + **SRK-based equations of state:** + + - ``srk``: Standard Soave-Redlich-Kwong equation of state + - ``srk-mc``: SRK with Mathias-Copeman alpha function + - ``srk-peneloux``: SRK with Peneloux volume correction + - ``srk-twucoon``: SRK with Twu-Coon alpha function + - ``srk-twucoon-statoil``: SRK with Twu-Coon (Statoil parameters) + - ``srk-s`` / ``scrk``: SRK-Schwartzentruber equation of state + - ``srk-volcor``: SRK with volume correction + + **PR-based equations of state:** + + - ``pr``: Standard Peng-Robinson equation of state + - ``pr-mc``: PR with Mathias-Copeman alpha function + - ``pr-danesh``: PR with Danesh modifications for heavy oil + - ``pr-volcor``: PR with volume correction + - ``pr-umr``: UMR-PRU (Universal Mixing Rule PR) + + **Predictive and other cubic EoS:** + + - ``psrk``: Predictive SRK equation of state + - ``csp-srk``: Corresponding States Principle SRK + - ``rk``: Redlich-Kwong equation of state + + **CPA equations of state (for associating fluids):** + + - ``cpa``: CPA-SRK (Statoil version) - recommended for water/glycol + - ``cpa-srk``: CPA-SRK equation of state + - ``cpa-srk-s`` / ``sCPA``: Simplified CPA-SRK + - ``cpa-pr``: CPA with Peng-Robinson + + **Electrolyte models:** + + - ``electrolyte``: Furst electrolyte equation of state + - ``electrolyte-cpa``: Electrolyte CPA equation of state + + **Activity coefficient models:** + + - ``nrtl``: NRTL activity coefficient model + - ``unifac``: UNIFAC activity coefficient model + + **Reference equations of state:** + + - ``gerg-2008``: GERG-2008 multiparameter equation of state for natural gas + - ``gerg-2008-h2`` / ``gerg-h2``: GERG-2008 with hydrogen extension (Beckmüller et al. 2022). + Improved hydrogen parameters for H2-containing gas mixtures. + - ``gerg-water``: GERG equation with water + - ``span-wagner``: Span-Wagner equation of state for CO2 + - ``bwrs``: Benedict-Webb-Rubin-Starling equation of state + + **Other:** + + - ``ideal-gas`` / ``ideal``: Ideal gas equation of state + + Example: + >>> from neqsim.thermo import fluid + >>> # Create a fluid using SRK equation of state + >>> my_fluid = fluid("srk", temperature=300, pressure=10) + >>> # Create a fluid for associating components using CPA + >>> cpa_fluid = fluid("cpa", temperature=298.15, pressure=1.01325) """ name_lower = name.lower() + + # Handle special fluid types that need extra configuration + if name_lower in _special_fluid_types: + if name_lower in ("gerg-2008-h2", "gerg-h2"): + system = jneqsim.thermo.system.SystemGERG2008Eos(temperature, pressure) + system.useHydrogenEnhancedModel() + return system + if name_lower not in _fluid_type_lower: raise ValueError( f"Fluid model {name} not found. Available models are {list(fluid_type.keys())}" From 217c29fd956dc2c1dd0131e5f9877a727f569941 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:51:18 +0100 Subject: [PATCH 3/8] update --- src/neqsim/thermo/thermoTools.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/neqsim/thermo/thermoTools.py b/src/neqsim/thermo/thermoTools.py index 42ca1d96..4d1ce32d 100644 --- a/src/neqsim/thermo/thermoTools.py +++ b/src/neqsim/thermo/thermoTools.py @@ -368,6 +368,10 @@ def _as_float_matrix(values) -> list[list[float]]: "Span-Wagner": jneqsim.thermo.system.SystemSpanWagnerEos, "bwrs": jneqsim.thermo.system.SystemBWRSEos, "BWRS": jneqsim.thermo.system.SystemBWRSEos, + # Leachman hydrogen reference EoS + "leachman": jneqsim.thermo.system.SystemLeachmanEos, + "Leachman": jneqsim.thermo.system.SystemLeachmanEos, + "leachman-h2": jneqsim.thermo.system.SystemLeachmanEos, # Other "ideal-gas": jneqsim.thermo.system.SystemIdealGas, "ideal": jneqsim.thermo.system.SystemIdealGas, @@ -443,6 +447,8 @@ def fluid(name="srk", temperature=298.15, pressure=1.01325): Improved hydrogen parameters for H2-containing gas mixtures. - ``gerg-water``: GERG equation with water - ``span-wagner``: Span-Wagner equation of state for CO2 + - ``leachman`` / ``leachman-h2``: Leachman equation of state for pure hydrogen. + High-accuracy reference equation supporting normal, para, and ortho hydrogen. - ``bwrs``: Benedict-Webb-Rubin-Starling equation of state **Other:** From 3f4ed18f149e82511b7adb699bee9d77a3399e21 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:56:32 +0100 Subject: [PATCH 4/8] volcorr update --- src/neqsim/thermo/thermoTools.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/neqsim/thermo/thermoTools.py b/src/neqsim/thermo/thermoTools.py index 4d1ce32d..73de6859 100644 --- a/src/neqsim/thermo/thermoTools.py +++ b/src/neqsim/thermo/thermoTools.py @@ -401,20 +401,22 @@ def fluid(name="srk", temperature=298.15, pressure=1.01325): **SRK-based equations of state:** + Volume correction is ON by default. Use ``fluid.useVolumeCorrection(False)`` to disable. + - ``srk``: Standard Soave-Redlich-Kwong equation of state - ``srk-mc``: SRK with Mathias-Copeman alpha function - ``srk-peneloux``: SRK with Peneloux volume correction - ``srk-twucoon``: SRK with Twu-Coon alpha function - ``srk-twucoon-statoil``: SRK with Twu-Coon (Statoil parameters) - ``srk-s`` / ``scrk``: SRK-Schwartzentruber equation of state - - ``srk-volcor``: SRK with volume correction **PR-based equations of state:** + Volume correction is ON by default. Use ``fluid.useVolumeCorrection(False)`` to disable. + - ``pr``: Standard Peng-Robinson equation of state - ``pr-mc``: PR with Mathias-Copeman alpha function - ``pr-danesh``: PR with Danesh modifications for heavy oil - - ``pr-volcor``: PR with volume correction - ``pr-umr``: UMR-PRU (Universal Mixing Rule PR) **Predictive and other cubic EoS:** From 7777626fbfea33780c5834fa4b8ca11682f04e7b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 12:58:52 +0000 Subject: [PATCH 5/8] [pre-commit.ci lite] apply automatic fixes --- conda/meta.yaml | 4 +- src/jneqsim-stubs/jneqsim-stubs/__init__.pyi | 3 +- .../jneqsim-stubs/api/__init__.pyi | 3 +- .../jneqsim-stubs/api/ioc/__init__.pyi | 13 +- .../jneqsim-stubs/blackoil/__init__.pyi | 63 +- .../jneqsim-stubs/blackoil/io/__init__.pyi | 278 +- .../chemicalreactions/__init__.pyi | 40 +- .../chemicalequilibrium/__init__.pyi | 109 +- .../chemicalreaction/__init__.pyi | 154 +- .../chemicalreactions/kinetics/__init__.pyi | 24 +- .../datapresentation/__init__.pyi | 24 +- .../filehandling/__init__.pyi | 23 +- .../datapresentation/jfreechart/__init__.pyi | 41 +- .../jneqsim-stubs/fluidmechanics/__init__.pyi | 5 +- .../fluidmechanics/flowleg/__init__.pyi | 63 +- .../flowleg/pipeleg/__init__.pyi | 9 +- .../fluidmechanics/flownode/__init__.pyi | 433 +- .../flownode/fluidboundary/__init__.pyi | 11 +- .../heatmasstransfercalc/__init__.pyi | 159 +- .../equilibriumfluidboundary/__init__.pyi | 17 +- .../finitevolumeboundary/__init__.pyi | 15 +- .../fluidboundarynode/__init__.pyi | 13 +- .../fluidboundarynonreactivenode/__init__.pyi | 9 +- .../fluidboundaryreactivenode/__init__.pyi | 9 +- .../fluidboundarysolver/__init__.pyi | 20 +- .../fluidboundaryreactivesolver/__init__.pyi | 9 +- .../fluidboundarysystem/__init__.pyi | 52 +- .../fluidboundarynonreactive/__init__.pyi | 18 +- .../fluidboundarysystemreactive/__init__.pyi | 18 +- .../nonequilibriumfluidboundary/__init__.pyi | 19 +- .../filmmodelboundary/__init__.pyi | 24 +- .../reactivefilmmodel/__init__.pyi | 27 +- .../enhancementfactor/__init__.pyi | 28 +- .../__init__.pyi | 125 +- .../interphaseonephase/__init__.pyi | 17 +- .../interphasepipeflow/__init__.pyi | 43 +- .../interphasetwophase/__init__.pyi | 25 +- .../interphasepipeflow/__init__.pyi | 263 +- .../interphasereactorflow/__init__.pyi | 71 +- .../stirredcell/__init__.pyi | 47 +- .../flownode/multiphasenode/__init__.pyi | 19 +- .../multiphasenode/waxnode/__init__.pyi | 32 +- .../flownode/onephasenode/__init__.pyi | 17 +- .../onephasepipeflownode/__init__.pyi | 21 +- .../flownode/twophasenode/__init__.pyi | 40 +- .../twophasepipeflownode/__init__.pyi | 104 +- .../twophasereactorflownode/__init__.pyi | 51 +- .../twophasestirredcellnode/__init__.pyi | 28 +- .../fluidmechanics/flowsolver/__init__.pyi | 41 +- .../onephaseflowsolver/__init__.pyi | 9 +- .../onephasepipeflowsolver/__init__.pyi | 34 +- .../twophaseflowsolver/__init__.pyi | 11 +- .../stirredcellsolver/__init__.pyi | 31 +- .../twophasepipeflowsolver/__init__.pyi | 109 +- .../fluidmechanics/flowsystem/__init__.pyi | 133 +- .../onephaseflowsystem/__init__.pyi | 9 +- .../pipeflowsystem/__init__.pyi | 29 +- .../twophaseflowsystem/__init__.pyi | 21 +- .../shipsystem/__init__.pyi | 45 +- .../stirredcellsystem/__init__.pyi | 13 +- .../twophasepipeflowsystem/__init__.pyi | 384 +- .../twophasereactorflowsystem/__init__.pyi | 13 +- .../geometrydefinitions/__init__.pyi | 82 +- .../internalgeometry/__init__.pyi | 11 +- .../internalgeometry/packings/__init__.pyi | 12 +- .../internalgeometry/wall/__init__.pyi | 185 +- .../geometrydefinitions/pipe/__init__.pyi | 46 +- .../geometrydefinitions/reactor/__init__.pyi | 14 +- .../stirredcell/__init__.pyi | 7 +- .../surrounding/__init__.pyi | 59 +- .../fluidmechanics/util/__init__.pyi | 69 +- .../fluidmechanicsvisualization/__init__.pyi | 11 +- .../flownodevisualization/__init__.pyi | 25 +- .../__init__.pyi | 13 +- .../__init__.pyi | 13 +- .../__init__.pyi | 13 +- .../flowsystemvisualization/__init__.pyi | 33 +- .../onephaseflowvisualization/__init__.pyi | 13 +- .../pipeflowvisualization/__init__.pyi | 13 +- .../twophaseflowvisualization/__init__.pyi | 13 +- .../__init__.pyi | 37 +- .../util/timeseries/__init__.pyi | 64 +- .../jneqsim-stubs/integration/__init__.pyi | 181 +- .../jneqsim-stubs/mathlib/__init__.pyi | 3 +- .../mathlib/generalmath/__init__.pyi | 12 +- .../mathlib/nonlinearsolver/__init__.pyi | 41 +- .../physicalproperties/__init__.pyi | 47 +- .../interfaceproperties/__init__.pyi | 111 +- .../solidadsorption/__init__.pyi | 13 +- .../surfacetension/__init__.pyi | 179 +- .../physicalproperties/methods/__init__.pyi | 37 +- .../__init__.pyi | 29 +- .../conductivity/__init__.pyi | 24 +- .../diffusivity/__init__.pyi | 36 +- .../viscosity/__init__.pyi | 88 +- .../gasphysicalproperties/__init__.pyi | 33 +- .../conductivity/__init__.pyi | 20 +- .../density/__init__.pyi | 16 +- .../diffusivity/__init__.pyi | 36 +- .../viscosity/__init__.pyi | 20 +- .../liquidphysicalproperties/__init__.pyi | 33 +- .../conductivity/__init__.pyi | 16 +- .../density/__init__.pyi | 42 +- .../diffusivity/__init__.pyi | 162 +- .../viscosity/__init__.pyi | 26 +- .../methods/methodinterface/__init__.pyi | 46 +- .../solidphysicalproperties/__init__.pyi | 33 +- .../conductivity/__init__.pyi | 16 +- .../density/__init__.pyi | 16 +- .../diffusivity/__init__.pyi | 28 +- .../viscosity/__init__.pyi | 16 +- .../mixingrule/__init__.pyi | 25 +- .../physicalproperties/system/__init__.pyi | 140 +- .../__init__.pyi | 9 +- .../system/gasphysicalproperties/__init__.pyi | 19 +- .../liquidphysicalproperties/__init__.pyi | 33 +- .../solidphysicalproperties/__init__.pyi | 5 +- .../physicalproperties/util/__init__.pyi | 7 +- .../util/parameterfitting/__init__.pyi | 7 +- .../__init__.pyi | 11 +- .../purecompinterfacetension/__init__.pyi | 21 +- .../purecompviscosity/__init__.pyi | 11 +- .../chungmethod/__init__.pyi | 21 +- .../linearliquidmodel/__init__.pyi | 21 +- .../jneqsim-stubs/process/__init__.pyi | 9 +- .../process/advisory/__init__.pyi | 130 +- .../jneqsim-stubs/process/alarm/__init__.pyi | 238 +- .../process/calibration/__init__.pyi | 460 +- .../process/conditionmonitor/__init__.pyi | 9 +- .../process/controllerdevice/__init__.pyi | 313 +- .../controllerdevice/structure/__init__.pyi | 23 +- .../process/costestimation/__init__.pyi | 20 +- .../costestimation/compressor/__init__.pyi | 10 +- .../costestimation/separator/__init__.pyi | 10 +- .../process/costestimation/valve/__init__.pyi | 10 +- .../process/equipment/__init__.pyi | 245 +- .../process/equipment/absorber/__init__.pyi | 128 +- .../process/equipment/adsorber/__init__.pyi | 23 +- .../process/equipment/battery/__init__.pyi | 5 +- .../process/equipment/blackoil/__init__.pyi | 13 +- .../process/equipment/compressor/__init__.pyi | 647 ++- .../equipment/diffpressure/__init__.pyi | 104 +- .../equipment/distillation/__init__.pyi | 127 +- .../process/equipment/ejector/__init__.pyi | 48 +- .../equipment/electrolyzer/__init__.pyi | 61 +- .../process/equipment/expander/__init__.pyi | 82 +- .../process/equipment/filter/__init__.pyi | 30 +- .../process/equipment/flare/__init__.pyi | 120 +- .../process/equipment/flare/dto/__init__.pyi | 46 +- .../equipment/heatexchanger/__init__.pyi | 407 +- .../process/equipment/manifold/__init__.pyi | 21 +- .../process/equipment/membrane/__init__.pyi | 27 +- .../process/equipment/mixer/__init__.pyi | 41 +- .../process/equipment/network/__init__.pyi | 181 +- .../process/equipment/pipeline/__init__.pyi | 633 ++- .../pipeline/twophasepipe/__init__.pyi | 514 +- .../twophasepipe/closure/__init__.pyi | 76 +- .../twophasepipe/numerics/__init__.pyi | 190 +- .../equipment/powergeneration/__init__.pyi | 38 +- .../process/equipment/pump/__init__.pyi | 182 +- .../process/equipment/reactor/__init__.pyi | 196 +- .../process/equipment/reservoir/__init__.pyi | 526 +- .../process/equipment/separator/__init__.pyi | 207 +- .../separator/sectiontype/__init__.pyi | 84 +- .../process/equipment/splitter/__init__.pyi | 72 +- .../process/equipment/stream/__init__.pyi | 315 +- .../process/equipment/subsea/__init__.pyi | 29 +- .../process/equipment/tank/__init__.pyi | 309 +- .../process/equipment/util/__init__.pyi | 624 ++- .../process/equipment/valve/__init__.pyi | 427 +- .../process/equipment/well/__init__.pyi | 3 +- .../equipment/well/allocation/__init__.pyi | 85 +- .../process/fielddevelopment/__init__.pyi | 3 +- .../fielddevelopment/concept/__init__.pyi | 353 +- .../fielddevelopment/evaluation/__init__.pyi | 189 +- .../fielddevelopment/facility/__init__.pyi | 137 +- .../fielddevelopment/screening/__init__.pyi | 296 +- .../process/integration/__init__.pyi | 3 +- .../process/integration/ml/__init__.pyi | 145 +- .../jneqsim-stubs/process/logic/__init__.pyi | 37 +- .../process/logic/action/__init__.pyi | 52 +- .../process/logic/condition/__init__.pyi | 66 +- .../process/logic/control/__init__.pyi | 24 +- .../process/logic/esd/__init__.pyi | 13 +- .../process/logic/hipps/__init__.pyi | 27 +- .../process/logic/shutdown/__init__.pyi | 13 +- .../process/logic/sis/__init__.pyi | 104 +- .../process/logic/startup/__init__.pyi | 21 +- .../process/logic/voting/__init__.pyi | 34 +- .../process/measurementdevice/__init__.pyi | 465 +- .../measurementdevice/online/__init__.pyi | 11 +- .../simpleflowregime/__init__.pyi | 112 +- .../measurementdevice/vfm/__init__.pyi | 213 +- .../process/mechanicaldesign/__init__.pyi | 157 +- .../mechanicaldesign/absorber/__init__.pyi | 14 +- .../mechanicaldesign/adsorber/__init__.pyi | 10 +- .../mechanicaldesign/compressor/__init__.pyi | 10 +- .../mechanicaldesign/data/__init__.pyi | 27 +- .../designstandards/__init__.pyi | 149 +- .../mechanicaldesign/ejector/__init__.pyi | 32 +- .../heatexchanger/__init__.pyi | 165 +- .../mechanicaldesign/pipeline/__init__.pyi | 51 +- .../mechanicaldesign/separator/__init__.pyi | 19 +- .../separator/sectiontype/__init__.pyi | 35 +- .../mechanicaldesign/valve/__init__.pyi | 457 +- .../jneqsim-stubs/process/ml/__init__.pyi | 369 +- .../process/ml/controllers/__init__.pyi | 68 +- .../process/ml/examples/__init__.pyi | 25 +- .../process/ml/multiagent/__init__.pyi | 196 +- .../process/ml/surrogate/__init__.pyi | 142 +- .../jneqsim-stubs/process/mpc/__init__.pyi | 1104 +++-- .../process/processmodel/__init__.pyi | 641 ++- .../process/processmodel/graph/__init__.pyi | 258 +- .../processmodel/lifecycle/__init__.pyi | 167 +- .../processmodel/processmodules/__init__.pyi | 184 +- .../jneqsim-stubs/process/safety/__init__.pyi | 271 +- .../process/safety/dto/__init__.pyi | 44 +- .../process/safety/envelope/__init__.pyi | 82 +- .../process/safety/release/__init__.pyi | 92 +- .../process/safety/risk/__init__.pyi | 181 +- .../process/safety/scenario/__init__.pyi | 173 +- .../process/streaming/__init__.pyi | 136 +- .../process/sustainability/__init__.pyi | 64 +- .../jneqsim-stubs/process/util/__init__.pyi | 3 +- .../process/util/event/__init__.pyi | 176 +- .../process/util/example/__init__.pyi | 93 +- .../process/util/export/__init__.pyi | 85 +- .../util/fielddevelopment/__init__.pyi | 725 ++- .../process/util/fire/__init__.pyi | 286 +- .../process/util/monitor/__init__.pyi | 172 +- .../process/util/optimization/__init__.pyi | 766 ++- .../process/util/report/__init__.pyi | 55 +- .../process/util/report/safety/__init__.pyi | 131 +- .../process/util/scenario/__init__.pyi | 105 +- .../process/util/sensitivity/__init__.pyi | 59 +- .../process/util/uncertainty/__init__.pyi | 166 +- .../jneqsim-stubs/pvtsimulation/__init__.pyi | 3 +- .../pvtsimulation/flowassurance/__init__.pyi | 119 +- .../pvtsimulation/modeltuning/__init__.pyi | 13 +- .../pvtsimulation/regression/__init__.pyi | 240 +- .../reservoirproperties/__init__.pyi | 5 +- .../pvtsimulation/simulation/__init__.pyi | 308 +- .../pvtsimulation/util/__init__.pyi | 410 +- .../util/parameterfitting/__init__.pyi | 184 +- .../jneqsim-stubs/standards/__init__.pyi | 82 +- .../standards/gasquality/__init__.pyi | 144 +- .../standards/oilquality/__init__.pyi | 23 +- .../standards/salescontract/__init__.pyi | 76 +- .../jneqsim-stubs/statistics/__init__.pyi | 11 +- .../statistics/dataanalysis/__init__.pyi | 3 +- .../dataanalysis/datasmoothing/__init__.pyi | 14 +- .../experimentalequipmentdata/__init__.pyi | 9 +- .../wettedwallcolumndata/__init__.pyi | 9 +- .../experimentalsamplecreation/__init__.pyi | 11 +- .../readdatafromfile/__init__.pyi | 13 +- .../wettedwallcolumnreader/__init__.pyi | 17 +- .../samplecreator/__init__.pyi | 24 +- .../__init__.pyi | 13 +- .../montecarlosimulation/__init__.pyi | 16 +- .../statistics/parameterfitting/__init__.pyi | 122 +- .../nonlinearparameterfitting/__init__.pyi | 31 +- .../jneqsim-stubs/thermo/__init__.pyi | 49 +- .../thermo/atomelement/__init__.pyi | 31 +- .../thermo/characterization/__init__.pyi | 569 ++- .../thermo/component/__init__.pyi | 4229 ++++++++++++++--- .../component/attractiveeosterm/__init__.pyi | 183 +- .../component/repulsiveeosterm/__init__.pyi | 5 +- .../thermo/mixingrule/__init__.pyi | 1545 +++++- .../jneqsim-stubs/thermo/phase/__init__.pyi | 3266 ++++++++++--- .../jneqsim-stubs/thermo/system/__init__.pyi | 1531 ++++-- .../thermo/util/Vega/__init__.pyi | 75 +- .../jneqsim-stubs/thermo/util/__init__.pyi | 57 +- .../thermo/util/benchmark/__init__.pyi | 17 +- .../thermo/util/constants/__init__.pyi | 67 +- .../thermo/util/derivatives/__init__.pyi | 102 +- .../thermo/util/empiric/__init__.pyi | 25 +- .../thermo/util/gerg/__init__.pyi | 394 +- .../thermo/util/humidair/__init__.pyi | 5 +- .../thermo/util/jni/__init__.pyi | 344 +- .../thermo/util/leachman/__init__.pyi | 81 +- .../thermo/util/readwrite/__init__.pyi | 61 +- .../util/referenceequations/__init__.pyi | 13 +- .../thermo/util/spanwagner/__init__.pyi | 9 +- .../thermo/util/steam/__init__.pyi | 5 +- .../thermodynamicoperations/__init__.pyi | 312 +- .../chemicalequilibrium/__init__.pyi | 17 +- .../flashops/__init__.pyi | 395 +- .../flashops/saturationops/__init__.pyi | 199 +- .../phaseenvelopeops/__init__.pyi | 11 +- .../multicomponentenvelopeops/__init__.pyi | 235 +- .../reactivecurves/__init__.pyi | 45 +- .../propertygenerator/__init__.pyi | 133 +- .../jneqsim-stubs/util/__init__.pyi | 32 +- .../util/annotation/__init__.pyi | 56 +- .../jneqsim-stubs/util/database/__init__.pyi | 90 +- .../jneqsim-stubs/util/exception/__init__.pyi | 157 +- .../jneqsim-stubs/util/generator/__init__.pyi | 16 +- .../util/serialization/__init__.pyi | 13 +- .../jneqsim-stubs/util/unit/__init__.pyi | 109 +- .../jneqsim-stubs/util/util/__init__.pyi | 7 +- .../util/validation/__init__.pyi | 138 +- .../util/validation/contracts/__init__.pyi | 62 +- src/jneqsim-stubs/jpype-stubs/__init__.pyi | 10 +- src/neqsim/process/unitop.py | 6 +- src/neqsim/thermo/thermoTools.py | 4 +- 305 files changed, 31486 insertions(+), 9630 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 3f315891..d1278629 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -38,9 +38,9 @@ about: home: https://github.com/Equinor/neqsim-python summary: NeqSim is a tool for thermodynamic and process calculations description: | - NeqSim Python is a Python interface to the NeqSim Java library for + NeqSim Python is a Python interface to the NeqSim Java library for estimation of fluid behavior and process design for oil and gas production. - It provides toolboxes like thermoTools and processTools to streamline + It provides toolboxes like thermoTools and processTools to streamline the use of NeqSim in Python. license: Apache-2.0 license_family: Apache diff --git a/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi index 48b48797..c946a19f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,7 +22,6 @@ import jneqsim.thermodynamicoperations import jneqsim.util import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("neqsim")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi index 9a813888..a4f6baec 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.api.ioc import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.api")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi index eb216820..c3b82f33 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,16 +9,19 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi index dc3079a4..a730a346 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,20 @@ 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': ... + 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' = ... + pvt: "BlackOilPVTTable" = ... + blackOilSystem: "SystemBlackOil" = ... rho_o_sc: float = ... rho_g_sc: float = ... rho_w_sc: float = ... @@ -27,8 +32,21 @@ class BlackOilConverter: def __init__(self): ... class BlackOilFlash: - 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': ... + 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: O_std: float = ... @@ -51,7 +69,9 @@ class BlackOilFlashResult: def __init__(self): ... class BlackOilPVTTable: - def __init__(self, list: java.util.List['BlackOilPVTTable.Record'], double: float): ... + 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: ... @@ -62,6 +82,7 @@ class BlackOilPVTTable: def mu_g(self, double: float) -> float: ... def mu_o(self, double: float) -> float: ... def mu_w(self, double: float) -> float: ... + class Record: p: float = ... Rs: float = ... @@ -72,11 +93,28 @@ class BlackOilPVTTable: 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): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ): ... class SystemBlackOil: - def __init__(self, blackOilPVTTable: BlackOilPVTTable, double: float, double2: float, double3: float): ... - def copyShallow(self) -> 'SystemBlackOil': ... + 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: ... @@ -101,7 +139,6 @@ class SystemBlackOil: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi index 41fddeed..ebd07a6b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,80 +15,148 @@ 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CMGEOSExporter.Units": ... @staticmethod - def values() -> typing.MutableSequence['CMGEOSExporter.Units']: ... + 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': ... + def fromFile( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> "EclipseBlackOilImporter.Result": ... @staticmethod - def fromReader(reader: java.io.Reader) -> 'EclipseBlackOilImporter.Result': ... + def fromReader(reader: java.io.Reader) -> "EclipseBlackOilImporter.Result": ... + class Result: pvt: jneqsim.blackoil.BlackOilPVTTable = ... system: jneqsim.blackoil.SystemBlackOil = ... @@ -98,72 +166,140 @@ class EclipseBlackOilImporter: 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EclipseBlackOilImporter.Units": ... @staticmethod - def values() -> typing.MutableSequence['EclipseBlackOilImporter.Units']: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EclipseEOSExporter.Units": ... @staticmethod - def values() -> typing.MutableSequence['EclipseEOSExporter.Units']: ... - + def values() -> typing.MutableSequence["EclipseEOSExporter.Units"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil.io")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi index 21860ed2..a5d9f3bd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,9 +15,9 @@ import jneqsim.thermo.phase import jneqsim.thermo.system import typing - - -class ChemicalReactionOperations(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): +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]]: ... @@ -25,39 +25,53 @@ class ChemicalReactionOperations(jneqsim.thermo.ThermodynamicConstantsInterface, 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 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 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 getReactionList( + self, + ) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList: ... def hasReactions(self) -> bool: ... - def reacHeat(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + 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: ... + 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 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__ + chemicalequilibrium: ( + jneqsim.chemicalreactions.chemicalequilibrium.__module_protocol__ + ) chemicalreaction: jneqsim.chemicalreactions.chemicalreaction.__module_protocol__ kinetics: jneqsim.chemicalreactions.kinetics.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi index e0d77caf..908e3dbb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,27 +16,70 @@ 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]): ... + 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]): ... + 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 __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: ... + 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 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 __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: ... @@ -44,7 +87,14 @@ class ChemicalEquilibrium(java.io.Serializable): 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 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: ... @@ -59,24 +109,49 @@ class ChemicalEquilibrium(java.io.Serializable): 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): ... +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 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): +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: ... - + 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] + LinearProgrammingChemicalEquilibrium: typing.Type[ + LinearProgrammingChemicalEquilibrium + ] ReferencePotComparator: typing.Type[ReferencePotComparator] diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi index 7d29bac4..a26be063 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,14 +16,31 @@ 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: ... +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: ... @@ -34,52 +51,125 @@ class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.Thermodynamic @typing.overload def getRateFactor(self) -> float: ... @typing.overload - def getRateFactor(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + 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 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 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: ... + 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: ... + 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 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 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]]: ... + 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 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]: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi index 4582d9a0..d92d0dcf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,27 @@ import jneqsim.chemicalreactions import jneqsim.thermo.phase import typing - - class Kinetics(java.io.Serializable): - def __init__(self, chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations): ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi index b0c27dc0..9049d753 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.datapresentation.filehandling import jneqsim.datapresentation.jfreechart import typing - - class DataHandling: def __init__(self): ... def getItemCount(self, int: int) -> int: ... @@ -22,17 +20,31 @@ class DataHandling: 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: ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi index 1a332122..0870b3b0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,27 @@ 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: ... + 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi index 41806bf3..bffb7cec 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,27 +13,52 @@ 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]): ... + 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]): ... + 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 __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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi index e8ed463d..ba2a8adf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,12 +13,9 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi index fb4311a1..f15c1e44 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,46 +13,73 @@ 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 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 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 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: ... + 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: ... + 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 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 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi index 68ab91bf..e536bd22 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi index 8425f104..882f34a3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,8 +20,6 @@ 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: ... @@ -38,19 +36,31 @@ class FlowNodeInterface(java.lang.Cloneable): 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 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 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 getNextNode(self) -> "FlowNodeInterface": ... + def getOperations( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getPhaseFraction(self, int: int) -> float: ... def getPrandtlNumber(self, int: int) -> float: ... @typing.overload @@ -82,15 +92,24 @@ class FlowNodeInterface(java.lang.Cloneable): def init(self) -> None: ... def initBulkSystem(self) -> None: ... def initFlowCalc(self) -> None: ... - def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 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 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 setGeometryDefinitionInterface( + self, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ) -> None: ... def setInterphaseModelType(self, int: int) -> None: ... - def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 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 @@ -100,19 +119,27 @@ class FlowNodeInterface(java.lang.Cloneable): @typing.overload def setVelocityIn(self, int: int, double: float) -> None: ... @typing.overload - def setVelocityIn(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + 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: ... + 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: ... + 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 setVelocityOut( + self, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... def setVerticalPositionOfNode(self, double: float) -> None: ... @typing.overload def setWallFrictionFactor(self, int: int, double: float) -> None: ... @@ -120,139 +147,273 @@ class FlowNodeInterface(java.lang.Cloneable): 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: ... + 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: ... + 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': ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "FlowPattern": ... @staticmethod - def values() -> typing.MutableSequence['FlowPattern']: ... + 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: ... + 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "FlowPatternModel": ... @staticmethod - def values() -> typing.MutableSequence['FlowPatternModel']: ... + 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: ... + 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: ... + 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 calculateBubbleArea(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + 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 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: ... + def calculateDropletArea( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> 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: ... -class InterfacialAreaModel(java.lang.Enum['InterfacialAreaModel']): - GEOMETRIC: typing.ClassVar['InterfacialAreaModel'] = ... - EMPIRICAL_CORRELATION: typing.ClassVar['InterfacialAreaModel'] = ... - USER_DEFINED: typing.ClassVar['InterfacialAreaModel'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InterfacialAreaModel": ... @staticmethod - def values() -> typing.MutableSequence['InterfacialAreaModel']: ... + def values() -> typing.MutableSequence["InterfacialAreaModel"]: ... class MassTransferCoefficientCalculator: @staticmethod def calculateDittusBoelterSherwood(double: float, double2: float) -> 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: ... + 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 calculateRanzMarshallSherwood(double: float, double2: float) -> float: ... -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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WallHeatTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['WallHeatTransferModel']: ... + def values() -> typing.MutableSequence["WallHeatTransferModel"]: ... class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface): molarFlowRate: typing.MutableSequence[float] = ... @@ -270,16 +431,28 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface @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 __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]]: ... + 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 @@ -290,19 +463,31 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface 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 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 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 getOperations( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getPhaseFraction(self, int: int) -> float: ... def getPrandtlNumber(self, int: int) -> float: ... @typing.overload @@ -333,17 +518,29 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface def increaseMolarRate(self, double: float) -> None: ... def init(self) -> None: ... def initBulkSystem(self) -> None: ... - def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 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 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 setGeometryDefinitionInterface( + self, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ) -> None: ... def setInterphaseModelType(self, int: int) -> None: ... - def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 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 setOperations( + self, + thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations, + ) -> None: ... def setPhaseFraction(self, int: int, double: float) -> None: ... @typing.overload def setVelocity(self, double: float) -> None: ... @@ -352,19 +549,27 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface @typing.overload def setVelocityIn(self, double: float) -> None: ... @typing.overload - def setVelocityIn(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + 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: ... + 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: ... + 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 setVelocityOut( + self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... def setVerticalPositionOfNode(self, double: float) -> None: ... @typing.overload def setWallFrictionFactor(self, double: float) -> None: ... @@ -372,8 +577,12 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi index a14f83ec..87d6582e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ 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__ + heatmasstransfercalc: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.__module_protocol__ + ) + interphasetransportcoefficient: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi index 4da50665..1fe48ace 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,27 +17,37 @@ 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 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 getBinaryMassTransferCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getBulkSystemOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + 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 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 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 setInterphaseSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setMassTransferCalc(self, boolean: bool) -> None: ... def solve(self) -> None: ... @typing.overload @@ -52,59 +62,74 @@ class FluidBoundaryInterface(java.lang.Cloneable): 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: ... + 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InterfacialAreaModel": ... @staticmethod - def values() -> typing.MutableSequence['InterfacialAreaModel']: ... + 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "MassTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['MassTransferModel']: ... + 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WallHeatTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['WallHeatTransferModel']: ... + def values() -> typing.MutableSequence["WallHeatTransferModel"]: ... class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): interphaseHeatFlux: typing.MutableSequence[float] = ... @@ -112,28 +137,46 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): heatTransferCalc: bool = ... thermodynamicCorrections: typing.MutableSequence[bool] = ... finiteFluxCorrection: typing.MutableSequence[bool] = ... - binaryMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] = ... + 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): ... + 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 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 getBinaryMassTransferCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getBulkSystemOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + 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 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 getInterphaseOpertions( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getMassTransferCoefficientMatrix(self) -> typing.MutableSequence[Jama.Matrix]: ... + def getMassTransferCoefficientMatrix( + self, + ) -> typing.MutableSequence[Jama.Matrix]: ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -141,10 +184,14 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): def initMassTransferCalc(self) -> None: ... def isHeatTransferCalc(self) -> bool: ... def massTransSolve(self) -> None: ... - def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 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 setInterphaseSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setMassTransferCalc(self, boolean: bool) -> None: ... def setSolverType(self, int: int) -> None: ... @typing.overload @@ -159,8 +206,12 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): 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: ... - + 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")``. @@ -170,6 +221,12 @@ class __module_protocol__(Protocol): 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi index 9d218f41..6a1dd224 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,19 +12,22 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import jneqsim.thermo.system import typing - - -class EquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): +class EquilibriumFluidBoundary( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary +): @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi index c4b2b51b..93c977e3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,15 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi index 13e342b7..fb7db6ac 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing - - class FluidBoundaryNodeInterface: def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -22,11 +20,14 @@ class FluidBoundaryNode(FluidBoundaryNodeInterface): 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi index 0352e096..1877686c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing - - -class FluidBoundaryNodeNonReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode): +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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi index 595bb4dd..9fa0f45b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing - - -class FluidBoundaryNodeReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode): +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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi index aee2c3cf..0a9ddf4e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem import typing - - class FluidBoundarySolverInterface: def getMolarFlux(self, int: int) -> float: ... def solve(self) -> None: ... @@ -19,9 +17,16 @@ class FluidBoundarySolver(FluidBoundarySolverInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface): ... + 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 __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: ... @@ -29,10 +34,11 @@ class FluidBoundarySolver(FluidBoundarySolverInterface): 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__ + fluidboundaryreactivesolver: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi index eb963873..efccbf8b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,12 +8,11 @@ else: import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver import typing - - -class FluidBoundaryReactiveSolver(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.FluidBoundarySolver): +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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi index 6ca7b29d..0bfc1bab 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,23 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite 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 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 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: ... @@ -29,23 +38,40 @@ 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 __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 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi index eea1a2f0..1eb55f19 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,17 +11,21 @@ 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): +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 __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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi index 2daa6377..56604d41 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,17 +11,21 @@ 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): +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 __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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi index 6f80cd92..37e20a75 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,19 +11,21 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequ import jneqsim.thermo.system import typing - - -class NonEquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): +class NonEquilibriumFluidBoundary( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary +): molFractionDifference: typing.MutableSequence[typing.MutableSequence[float]] = ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + 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 clone(self) -> "NonEquilibriumFluidBoundary": ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -37,9 +39,10 @@ class NonEquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary. 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__ + filmmodelboundary: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi index 3bf40546..90fbb94c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,11 +14,14 @@ import jneqsim.thermo import jneqsim.thermo.system import typing - - -class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, jneqsim.thermo.ThermodynamicConstantsInterface): +class KrishnaStandartFilmModel( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, + jneqsim.thermo.ThermodynamicConstantsInterface, +): @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcBinaryMassTransferCoefficients(self, int: int) -> float: ... @@ -29,18 +32,21 @@ class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.hea def calcRedCorrectionMatrix(self, int: int) -> None: ... def calcRedPhiMatrix(self, int: int) -> None: ... def calcTotalMassTransferCoefficientMatrix(self, int: int) -> None: ... - def clone(self) -> 'KrishnaStandartFilmModel': ... + 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 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__ + reactivefilmmodel: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi index 18c88ea7..0605442c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequ import jneqsim.thermo.system import typing - - -class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): +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): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcFluxes(self) -> typing.MutableSequence[float]: ... @@ -24,7 +26,7 @@ class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatma def calcHeatTransferCoefficients(self, int: int) -> None: ... def calcHeatTransferCorrection(self, int: int) -> None: ... def calcMolFractionDifference(self) -> None: ... - def clone(self) -> 'ReactiveFluidBoundary': ... + def clone(self) -> "ReactiveFluidBoundary": ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -38,18 +40,23 @@ class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatma def solve(self) -> None: ... def updateMassTrans(self) -> None: ... -class ReactiveKrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): +class ReactiveKrishnaStandartFilmModel( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel +): @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + 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__ + enhancementfactor: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi index 774d694d..62fe4493 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import jpype import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import typing - - class EnhancementFactorInterface: def calcEnhancementVec(self, int: int) -> None: ... def getEnhancementVec(self, int: int) -> float: ... @@ -20,7 +18,10 @@ class EnhancementFactor(EnhancementFactorInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... @typing.overload def calcEnhancementVec(self, int: int) -> None: ... @typing.overload @@ -34,24 +35,33 @@ class EnhancementFactor(EnhancementFactorInterface): @typing.overload def getHattaNumber(self) -> typing.MutableSequence[float]: ... @typing.overload - def setEnhancementVec(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + 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 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): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi index bc6265e2..5f984b14 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,45 +10,120 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici 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: ... + 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: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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: ... + 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: ... + 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: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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: ... - + 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi index e7791a37..af6ae6f4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,20 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow import typing - - -class InterphaseOnePhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): +class InterphaseOnePhase( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - + 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__ + interphasepipeflow: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi index 12d08770..b2e4d19c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,23 +9,44 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase import typing - - -class InterphasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase): +class InterphasePipeFlow( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi index 6871db55..bd4f5228 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,19 +12,26 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell import typing - - -class InterphaseTwoPhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): +class InterphaseTwoPhase( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - + 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi index 49eb281c..b38e883a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,88 +10,257 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.thermo import typing - - -class InterphaseTwoPhasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): +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: ... + 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): +class InterphaseDropletFlow( + 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 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 __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 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: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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 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 InterphaseSlugFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): +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: ... + 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: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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 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): +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: ... + 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: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi index b3baf11f..dff0cc40 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,32 +10,71 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.thermo import typing - - -class InterphaseReactorFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): +class InterphaseReactorFlow( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... -class InterphasePackedBed(InterphaseReactorFlow, jneqsim.thermo.ThermodynamicConstantsInterface): +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: ... + 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: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi index de38a3cc..01193480 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,21 +9,46 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow import typing - - -class InterphaseStirredCellFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.InterphaseStratifiedFlow): +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: ... + 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: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi index ddb10290..60cc5d1a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,28 +13,33 @@ 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 __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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi index 184b718e..6c3e876a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,22 +14,36 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - -class WaxDepositionFlowNode(jneqsim.fluidmechanics.flownode.multiphasenode.MultiPhaseFlowNode): +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): ... + 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 __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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi index bb517645..5fbf5ef4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,25 +11,28 @@ 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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcReynoldsNumber(self) -> float: ... - def clone(self) -> 'onePhaseFlowNode': ... + 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__ + onephasepipeflownode: ( + jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi index 7b538aa9..62fa2226 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,18 +12,23 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - -class onePhasePipeFlowNode(jneqsim.fluidmechanics.flownode.onephasenode.onePhaseFlowNode): +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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcReynoldsNumber(self) -> float: ... - def clone(self) -> 'onePhasePipeFlowNode': ... + def clone(self) -> "onePhasePipeFlowNode": ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi index ae07d727..8c091c2a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,15 +15,17 @@ 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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcFluxes(self) -> None: ... def calcGasLiquidContactArea(self) -> float: ... @@ -34,9 +36,13 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): def canCalculateMassTransfer(self) -> bool: ... def checkAndInitiatePhaseTransition(self) -> bool: ... def checkPhaseFormation(self) -> None: ... - def clone(self) -> 'TwoPhaseFlowNode': ... + def clone(self) -> "TwoPhaseFlowNode": ... def enforceMinimumPhaseFractions(self) -> None: ... - def getInterfacialAreaModel(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel: ... + def getInterfacialAreaModel( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel + ): ... def getInterfacialAreaPerVolume(self) -> float: ... def getNucleationDiameter(self, boolean: bool) -> float: ... def init(self) -> None: ... @@ -48,8 +54,13 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): 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 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: ... @@ -57,11 +68,16 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): 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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi index e0a8cca9..1fb3901b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,78 +13,122 @@ 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): ... + 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 __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 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: ... + 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): ... + 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 __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 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 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): ... + 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 __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 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: ... + 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 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): ... + 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 __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 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 main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setSlugFrequency(self, double: float) -> None: ... def setSlugLengthRatio(self, double: float) -> None: ... @@ -92,16 +136,26 @@ class StratifiedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFl @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + 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 __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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi index 5178367d..626c0c3b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,44 +13,67 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - -class TwoPhasePackedBedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): +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): ... + 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 __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 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: ... + 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): +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): ... + 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 __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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi index 742b80a5..11e8fedd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,20 +13,27 @@ 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): ... + 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 __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 clone(self) -> "StirredCellNode": ... def getDt(self) -> float: ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getStirrerDiameter(self) -> typing.MutableSequence[float]: ... @@ -34,12 +41,16 @@ class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowN def init(self) -> None: ... def initFlowCalc(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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: ... + def setStirrerDiameter( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setStirrerSpeed(self, double: float) -> None: ... @typing.overload @@ -49,7 +60,6 @@ class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowN @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi index 97c4bae1..8af62722 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,32 +11,32 @@ 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "AdvectionScheme": ... @staticmethod - def values() -> typing.MutableSequence['AdvectionScheme']: ... + def values() -> typing.MutableSequence["AdvectionScheme"]: ... class FlowSolverInterface: def setBoundarySpecificationType(self, int: int) -> None: ... @@ -77,7 +77,6 @@ class FlowSolver(FlowSolverInterface, java.io.Serializable): 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")``. @@ -85,5 +84,9 @@ class __module_protocol__(Protocol): 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__ + onephaseflowsolver: ( + jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.__module_protocol__ + ) + twophaseflowsolver: ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi index 4c753bbf..c9a60408 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,13 @@ 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__ + onephasepipeflowsolver: ( + jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi index 4eb13069..90dd00a2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,34 @@ import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem import jneqsim.thermo import typing - - -class OnePhasePipeFlowSolver(jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver): +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): + 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 __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: ... @@ -38,7 +51,6 @@ class OnePhaseFixedStaggeredGrid(OnePhasePipeFlowSolver, jneqsim.thermo.Thermody 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi index c076e8ef..5ff04415 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ 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__ + stirredcellsolver: ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver.__module_protocol__ + ) + twophasepipeflowsolver: ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi index 65f532c1..11632de8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,33 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo import typing - - -class StirredCellSolver(jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): +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): ... + 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 __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 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: ... @@ -32,7 +48,6 @@ class StirredCellSolver(jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.two 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi index d4119cb0..4ce6253b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,27 +11,47 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo import typing - - -class TwoPhasePipeFlowSolver(jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver): +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': ... + def __init__( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + int: int, + ): ... + def clone(self) -> "TwoPhasePipeFlowSolver": ... -class TwoPhaseFixedStaggeredGridSolver(TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): +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): ... + 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 __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 getMassTransferMode(self) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... - def getSolverTypeEnum(self) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... + def clone(self) -> "TwoPhaseFixedStaggeredGridSolver": ... + def getMassTransferMode( + self, + ) -> "TwoPhaseFixedStaggeredGridSolver.MassTransferMode": ... + def getSolverTypeEnum(self) -> "TwoPhaseFixedStaggeredGridSolver.SolverType": ... def initComposition(self, int: int, int2: int) -> None: ... def initFinalResults(self, int: int) -> None: ... def initMatrix(self) -> None: ... @@ -46,45 +66,72 @@ class TwoPhaseFixedStaggeredGridSolver(TwoPhasePipeFlowSolver, jneqsim.thermo.Th def setEnergyMatrixTDMA(self, int: int) -> None: ... def setImpulsMatrixTDMA(self, int: int) -> None: ... def setMassConservationMatrix(self, int: int) -> None: ... - def setMassTransferMode(self, massTransferMode: 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode') -> 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 setSolverType( + self, solverType: "TwoPhaseFixedStaggeredGridSolver.SolverType" + ) -> None: ... def solveTDMA(self) -> None: ... - 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoPhaseFixedStaggeredGridSolver.SolverType": ... @staticmethod - def values() -> typing.MutableSequence['TwoPhaseFixedStaggeredGridSolver.SolverType']: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi index ec0cb934..e57cef5d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,18 +19,26 @@ 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 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 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: ... @@ -47,19 +55,43 @@ class FlowSystemInterface: def getTotalPressureDrop(self, int: int) -> float: ... def init(self) -> None: ... def print_(self) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> 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 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 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: ... @@ -81,13 +113,23 @@ class FlowSystem(FlowSystemInterface, java.io.Serializable): 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 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 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: ... @@ -104,32 +146,59 @@ class FlowSystem(FlowSystemInterface, java.io.Serializable): def getTotalPressureDrop(self, int: int) -> float: ... def init(self) -> None: ... def print_(self) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> 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 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 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__ + onephaseflowsystem: ( + jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.__module_protocol__ + ) + twophaseflowsystem: ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi index c9fb0710..cf27e7f5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ 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 @@ -20,9 +18,10 @@ class OnePhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): @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__ + pipeflowsystem: ( + jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi index 87483bf3..d25231a9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,9 @@ import java.util import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem import typing - - -class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem): +class PipeFlowSystem( + jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem +): def __init__(self): ... def createSystem(self) -> None: ... def init(self) -> None: ... @@ -22,15 +22,25 @@ class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePha @typing.overload def runTransientClosedOutlet(self, double: float, double2: float) -> None: ... @typing.overload - def runTransientClosedOutlet(self, double: float, double2: float, int: int) -> None: ... + def runTransientClosedOutlet( + self, double: float, double2: float, int: int + ) -> None: ... @typing.overload - def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float) -> None: ... + def runTransientControlledOutletPressure( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float, int: int) -> None: ... + def runTransientControlledOutletPressure( + self, double: float, double2: float, double3: float, int: int + ) -> None: ... @typing.overload - def runTransientControlledOutletVelocity(self, double: float, double2: float, double3: float) -> None: ... + 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 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: ... @@ -43,7 +53,6 @@ class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePha @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi index ae05f3e1..04722872 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,6 @@ 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 @@ -23,12 +21,19 @@ class TwoPhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): @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__ + 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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi index 6c0e45d6..cbc0a5ca 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.standards.gasquality import jneqsim.thermo.system import typing - - class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): totalTankVolume: float = ... numberOffTimeSteps: int = ... @@ -23,20 +21,31 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS volume: typing.MutableSequence[float] = ... tankTemperature: typing.MutableSequence[float] = ... endVolume: float = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: 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 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 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 @@ -44,9 +53,18 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS @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: ... + 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 @@ -55,8 +73,11 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi index 007411f6..e5dd1285 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,16 @@ import jpype import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import typing - - -class StirredCellSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): +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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -28,7 +30,6 @@ class StirredCellSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.Two @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi index 2cdb462e..9fe6ea49 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,15 +15,17 @@ import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import jneqsim.thermo.system import typing - - class PipeFlowResult(java.io.Serializable): @staticmethod - def builder() -> 'PipeFlowResult.Builder': ... + def builder() -> "PipeFlowResult.Builder": ... @staticmethod - def fromPipeSystem(twoPhasePipeFlowSystem: 'TwoPhasePipeFlowSystem') -> 'PipeFlowResult': ... + def fromPipeSystem( + twoPhasePipeFlowSystem: "TwoPhasePipeFlowSystem", + ) -> "PipeFlowResult": ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getFlowPatternProfile(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... + 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: ... @@ -47,61 +49,120 @@ class PipeFlowResult(java.io.Serializable): @typing.overload def getTotalMassTransferRate(self, int: int) -> float: ... @typing.overload - def getTotalMassTransferRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 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': ... + 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): +class TwoPhasePipeFlowSystem( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem +): def __init__(self): ... @staticmethod - def builder() -> 'TwoPhasePipeFlowSystemBuilder': ... + def builder() -> "TwoPhasePipeFlowSystemBuilder": ... @staticmethod - def buriedPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + 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 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: ... + 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: ... + 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 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 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: ... @@ -112,18 +173,28 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste 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 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 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 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 getGasMassTransferCoefficientProfile( + self, double: float + ) -> typing.MutableSequence[float]: ... def getGasQualityProfile(self) -> typing.MutableSequence[float]: ... def getGravitationalPressureDrop(self) -> float: ... def getGravitationalPressureGradient(self, int: int) -> float: ... @@ -134,48 +205,82 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste 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 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 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 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 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: ... + 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 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 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 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 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 getStantonNumberHeatProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getSummaryReport(self) -> java.lang.String: ... - def getSuperficialVelocityProfile(self, int: int) -> typing.MutableSequence[float]: ... + 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 getThermalConductivityProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getTimeStep(self) -> float: ... def getTotalCondensationRate(self) -> float: ... def getTotalEnthalpyProfile(self) -> typing.MutableSequence[float]: ... @@ -191,43 +296,83 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste 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 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: ... + def getWallHeatTransferModel( + self, + ) -> jneqsim.fluidmechanics.flownode.WallHeatTransferModel: ... @staticmethod - def horizontalPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int) -> 'TwoPhasePipeFlowSystem': ... + 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 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: ... + 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 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: ... + 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 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 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 setWallHeatTransferModel( + self, + wallHeatTransferModel: jneqsim.fluidmechanics.flownode.WallHeatTransferModel, + ) -> None: ... def solve(self) -> PipeFlowResult: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @@ -244,44 +389,83 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste 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 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': ... + 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': ... + 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': ... + 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': ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi index f523ccba..3bdd4f0c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,16 @@ import jpype import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import typing - - -class TwoPhaseReactorFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): +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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -28,7 +30,6 @@ class TwoPhaseReactorFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsy @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi index 8d08de57..c1869877 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,24 +16,30 @@ import jneqsim.fluidmechanics.geometrydefinitions.surrounding import jneqsim.thermo import typing - - class GeometryDefinitionInterface(java.lang.Cloneable): - def clone(self) -> 'GeometryDefinitionInterface': ... + def clone(self) -> "GeometryDefinitionInterface": ... def getArea(self) -> float: ... def getCircumference(self) -> float: ... def getDiameter(self) -> float: ... - def getGeometry(self) -> 'GeometryDefinitionInterface': ... + 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 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 getSurroundingEnvironment( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment + ): ... def getWallHeatTransferCoefficient(self) -> float: ... def init(self) -> None: ... def setDiameter(self, double: float) -> None: ... @@ -43,11 +49,21 @@ class GeometryDefinitionInterface(java.lang.Cloneable): @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 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): +class GeometryDefinition( + GeometryDefinitionInterface, jneqsim.thermo.ThermodynamicConstantsInterface +): diameter: float = ... radius: float = ... innerSurfaceRoughness: float = ... @@ -71,14 +87,24 @@ class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.Thermodynam def getInnerSurfaceRoughness(self) -> float: ... def getInnerWallTemperature(self) -> float: ... def getNodeLength(self) -> float: ... - def getPacking(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface: ... + 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 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: ... @@ -88,19 +114,35 @@ class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.Thermodynam @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 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__ + 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__ + stirredcell: ( + jneqsim.fluidmechanics.geometrydefinitions.stirredcell.__module_protocol__ + ) + surrounding: ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi index 7463f8c9..1d34ea88 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ 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__ + packings: ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.__module_protocol__ + ) + wall: ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi index ec83b712..167b916a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jneqsim.util import typing - - class PackingInterface: def getSize(self) -> float: ... def getSurfaceAreaPrVolume(self) -> float: ... @@ -21,7 +19,12 @@ 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 __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: ... @@ -43,7 +46,6 @@ class RachigRingPacking(Packing): @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi index 581cfc98..6f5ddf14 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ 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): ... + 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): ... + def __init__(self, pipeMaterial: "PipeMaterial", double: float): ... @staticmethod - def carbonSteel(double: float) -> 'MaterialLayer': ... + def carbonSteel(double: float) -> "MaterialLayer": ... @staticmethod - def concrete(double: float) -> 'MaterialLayer': ... + def concrete(double: float) -> "MaterialLayer": ... def getConductivity(self) -> float: ... def getCv(self) -> float: ... def getCylindricalThermalResistance(self, double: float) -> float: ... @@ -33,7 +38,7 @@ class MaterialLayer: def getInsideTemperature(self) -> float: ... def getMaterialName(self) -> java.lang.String: ... def getOutsideTemperature(self) -> float: ... - def getPipeMaterial(self) -> 'PipeMaterial': ... + def getPipeMaterial(self) -> "PipeMaterial": ... def getSpecificHeatCapacity(self) -> float: ... def getThermalDiffusivity(self) -> float: ... def getThermalMassPerArea(self) -> float: ... @@ -42,11 +47,11 @@ class MaterialLayer: def isInsulation(self) -> bool: ... def isMetal(self) -> bool: ... @staticmethod - def mineralWool(double: float) -> 'MaterialLayer': ... + def mineralWool(double: float) -> "MaterialLayer": ... @staticmethod - def polyethylene(double: float) -> 'MaterialLayer': ... + def polyethylene(double: float) -> "MaterialLayer": ... @staticmethod - def polyurethaneFoam(double: float) -> 'MaterialLayer': ... + def polyurethaneFoam(double: float) -> "MaterialLayer": ... def setConductivity(self, double: float) -> None: ... def setCv(self, double: float) -> None: ... def setDensity(self, double: float) -> None: ... @@ -56,40 +61,40 @@ class MaterialLayer: def setSpecificHeatCapacity(self, double: float) -> None: ... def setThickness(self, double: float) -> None: ... @staticmethod - def stainlessSteel316(double: float) -> 'MaterialLayer': ... + 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'] = ... +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: ... @@ -99,51 +104,80 @@ class PipeMaterial(java.lang.Enum['PipeMaterial']): def isInsulation(self) -> bool: ... def isMetal(self) -> bool: ... def isSoil(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "PipeMaterial": ... @staticmethod - def values() -> typing.MutableSequence['PipeMaterial']: ... + 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 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 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': ... + 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': ... + 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': ... + def subseaPipe( + double: float, double2: float, double3: float, double4: float + ) -> "PipeWallBuilder": ... @staticmethod - def withInnerDiameter(double: float) -> 'PipeWallBuilder': ... + def withInnerDiameter(double: float) -> "PipeWallBuilder": ... @staticmethod - def withInnerRadius(double: float) -> 'PipeWallBuilder': ... + def withInnerRadius(double: float) -> "PipeWallBuilder": ... class WallInterface: def addMaterialLayer(self, materialLayer: MaterialLayer) -> None: ... @@ -173,7 +207,9 @@ class PipeWall(Wall): 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 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: ... @@ -183,7 +219,6 @@ class PipeWall(Wall): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi index a4eb9437..2c4e8736 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import jneqsim.fluidmechanics.geometrydefinitions.surrounding import typing - - class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -20,29 +18,53 @@ class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): 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 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 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': ... + def clone(self) -> "PipeData": ... @staticmethod - def createFromBuilder(pipeWallBuilder: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWallBuilder) -> 'PipeData': ... + 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi index 765c65d4..415d1201 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jneqsim.fluidmechanics.geometrydefinitions import typing - - class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -20,14 +18,18 @@ class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition) def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, int: int): ... - def clone(self) -> 'ReactorData': ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi index 4d6bd40b..d92aa426 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,6 @@ else: import jneqsim.fluidmechanics.geometrydefinitions import typing - - class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -17,8 +15,7 @@ class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition) def __init__(self, double: float): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'StirredCell': ... - + def clone(self) -> "StirredCell": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.stirredcell")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi index 9b28a946..6f082f19 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import typing - - class SurroundingEnvironment: def getHeatTransferCoefficient(self) -> float: ... def getTemperature(self) -> float: ... @@ -30,41 +28,62 @@ class PipeSurroundingEnvironment(SurroundingEnvironmentBaseClass): @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': ... + 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: ... + def calcBuriedPipeHeatTransferCoefficient( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def calcBuriedPipeThermalResistance(double: float, double2: float, double3: float) -> float: ... + def calcBuriedPipeThermalResistance( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def exposedToAir(double: float, double2: float) -> 'PipeSurroundingEnvironment': ... + def exposedToAir(double: float, double2: float) -> "PipeSurroundingEnvironment": ... def getBurialDepth(self) -> float: ... - def getEnvironmentType(self) -> 'PipeSurroundingEnvironment.EnvironmentType': ... + 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeSurroundingEnvironment.EnvironmentType": ... @staticmethod - def values() -> typing.MutableSequence['PipeSurroundingEnvironment.EnvironmentType']: ... - + def values() -> ( + typing.MutableSequence["PipeSurroundingEnvironment.EnvironmentType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.surrounding")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi index 2cc6ee48..304e42bc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,34 +11,60 @@ 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: ... + 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': ... + 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRegimeDetector.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['FlowRegimeDetector.FlowRegime']: ... + def values() -> typing.MutableSequence["FlowRegimeDetector.FlowRegime"]: ... class FrictionFactorCalculator: RE_LAMINAR_LIMIT: typing.ClassVar[float] = ... @@ -50,15 +76,18 @@ class FrictionFactorCalculator: @staticmethod def calcHaalandFrictionFactor(double: float, double2: float) -> float: ... @staticmethod - def calcPressureDropPerLength(double: float, double2: float, double3: float, double4: float) -> float: ... + 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__ + fluidmechanicsvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.__module_protocol__ + ) timeseries: jneqsim.fluidmechanics.util.timeseries.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi index 4ab16300..2bda0082 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza 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__ + flownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.__module_protocol__ + ) + flowsystemvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi index 4eb052b8..595c5378 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization import typing - - class FlowNodeVisualizationInterface: def getBulkComposition(self, int: int, int2: int) -> float: ... def getDistanceToCenterOfNode(self) -> float: ... @@ -28,7 +26,9 @@ class FlowNodeVisualizationInterface: 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: ... + def setData( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... class FlowNodeVisualization(FlowNodeVisualizationInterface): temperature: typing.MutableSequence[float] = ... @@ -40,7 +40,9 @@ class FlowNodeVisualization(FlowNodeVisualizationInterface): wallContactLength: typing.MutableSequence[float] = ... bulkComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... interfaceComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... - effectiveMassTransferCoefficient: 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 = ... @@ -62,13 +64,18 @@ class FlowNodeVisualization(FlowNodeVisualizationInterface): 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: ... - + 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__ + onephaseflownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.__module_protocol__ + ) + twophaseflownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi index 529b2ea9..30a87a4a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization import typing - - -class OnePhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): +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__ + onephasepipeflownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi index 22e3a21e..943e8ab4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,13 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization import typing - - -class OnePhasePipeFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization): +class OnePhasePipeFlowNodeVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization +): def __init__(self): ... - def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi index 89734b0d..8ffb9cf2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,13 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization import typing - - -class TwoPhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): +class TwoPhaseFlowNodeVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization +): def __init__(self): ... - def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi index 5fcd20b8..44d0d17b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,18 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali 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: ... + def setNextData( + self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface + ) -> None: ... @typing.overload - def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... + def setNextData( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + ) -> None: ... def setPoints(self) -> None: ... class FlowSystemVisualization(FlowSystemVisualizationInterface): @@ -28,16 +32,25 @@ class FlowSystemVisualization(FlowSystemVisualizationInterface): 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: ... + def setNextData( + self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface + ) -> None: ... @typing.overload - def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... + 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__ + onephaseflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.__module_protocol__ + ) + twophaseflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi index e8afd882..0c62933b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,18 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization import typing - - -class OnePhaseFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization): +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__ + pipeflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi index 620aa4af..4d82997b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,12 @@ 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]]] = ... +class PipeFlowVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.OnePhaseFlowVisualization +): + bulkComposition: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] = ... @typing.overload def __init__(self): ... @typing.overload @@ -21,7 +23,6 @@ class PipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualizat 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi index 5af529e1..9a2e025a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,18 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization import typing - - -class TwoPhaseFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization): +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__ + twophasepipeflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi index 73b872c6..bdafa337 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,16 +9,30 @@ 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]]]] = ... +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 @@ -26,7 +40,6 @@ class TwoPhasePipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvi 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi index 60872ad4..a82f241a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,48 +12,70 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo.system import typing - - class TimeSeries(java.io.Serializable): def __init__(self): ... - def getOutletBoundaryType(self) -> 'TimeSeries.OutletBoundaryType': ... + 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]: ... + 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 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TimeSeries.OutletBoundaryType": ... @staticmethod - def values() -> typing.MutableSequence['TimeSeries.OutletBoundaryType']: ... - + def values() -> typing.MutableSequence["TimeSeries.OutletBoundaryType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.timeseries")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi index abf1d28b..9f441d31 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,47 +12,75 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - class EquipmentValidator: def __init__(self): ... @staticmethod - def isEquipmentReady(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> bool: ... + def isEquipmentReady( + processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> bool: ... @staticmethod - def validateEquipment(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... + def validateEquipment( + processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateSequence(*processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... + def validateSequence( + *processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> "ValidationFramework.ValidationResult": ... class StreamValidator: def __init__(self): ... @staticmethod - def hasStreamBeenRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... + def hasStreamBeenRun( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> bool: ... @staticmethod - def isStreamReady(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... + def isStreamReady( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> bool: ... @staticmethod - def validateStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + 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': ... + 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': ... + def validateStreamHasRun( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ValidationFramework.ValidationResult": ... class ThermoValidator: def __init__(self): ... @staticmethod - def isSystemReady(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def isSystemReady( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> bool: ... @staticmethod - def validateCpAeos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateCpAeos( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateForEquilibrium(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateForEquilibrium( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateSrkEos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateSrkEos( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateSystem(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + 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': ... + 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] = ... @@ -73,67 +101,130 @@ class ValidationFramework: 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': ... + 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': ... + 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': ... + 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 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 __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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ValidationFramework.ValidationError.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ValidationFramework.ValidationError.Severity']: ... + 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 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi index 1268c6e8..8d4339cf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,7 +9,6 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi index cf8aaf86..08ece27e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,12 +8,14 @@ else: 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]: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi index dbd97c1d..a5b9d6ce 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,18 @@ 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 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: ... @@ -30,9 +32,22 @@ class NewtonRhapson(java.io.Serializable): 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: ... + 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: ... + 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): ... @@ -41,7 +56,12 @@ 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 __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: ... @@ -49,14 +69,15 @@ class SysNewtonRhapson(java.io.Serializable): def getNpCrit(self) -> int: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi index 833ca43a..d68c019e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,37 +15,48 @@ 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'] = ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyType": ... @staticmethod - def values() -> typing.MutableSequence['PhysicalPropertyType']: ... - + 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__ + interfaceproperties: ( + jneqsim.physicalproperties.interfaceproperties.__module_protocol__ + ) methods: jneqsim.physicalproperties.methods.__module_protocol__ mixingrule: jneqsim.physicalproperties.mixingrule.__module_protocol__ system: jneqsim.physicalproperties.system.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi index 31339608..a107db12 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,32 +13,59 @@ 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 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: ... + 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: ... def initAdsorption(self) -> None: ... - def setAdsorptionCalc(self, adsorptionInterfaceArray: typing.Union[typing.List[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface], jpype.JArray]) -> 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: ... + 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 @@ -46,34 +73,66 @@ class InterfaceProperties(InterphasePropertiesInterface, java.io.Serializable): @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 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: ... + 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: ... def initAdsorption(self) -> None: ... - def setAdsorptionCalc(self, adsorptionInterfaceArray: typing.Union[typing.List[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface], jpype.JArray]) -> 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: ... - + 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__ + solidadsorption: ( + jneqsim.physicalproperties.interfaceproperties.solidadsorption.__module_protocol__ + ) + surfacetension: ( + jneqsim.physicalproperties.interfaceproperties.surfacetension.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi index 9a0dc8d8..67ca8613 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,14 +10,14 @@ import jneqsim.thermo import jneqsim.thermo.system import typing - - class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface): def calcAdsorption(self, int: int) -> None: ... @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceExcess( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... class PotentialTheoryAdsorption(AdsorptionInterface): @@ -29,11 +29,12 @@ class PotentialTheoryAdsorption(AdsorptionInterface): @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceExcess( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def readDBParameters(self) -> None: ... def setSolidMaterial(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.solidadsorption")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi index d9d0043f..736bc897 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,50 +11,169 @@ 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): ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 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: ... + 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 __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: ... + 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): +class SurfaceTension( + jneqsim.physicalproperties.interfaceproperties.InterfaceProperties, + SurfaceTensionInterface, +): @typing.overload def __init__(self): ... @typing.overload @@ -78,9 +197,16 @@ class GTSurfaceTension(SurfaceTension): 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: ... + 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: ... + def solveWithRefcomp( + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + int3: int, + ) -> float: ... class GTSurfaceTensionSimple(SurfaceTension): @typing.overload @@ -89,13 +215,23 @@ class GTSurfaceTensionSimple(SurfaceTension): 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 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: ... + def setDmudn2( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[float]]], + jpype.JArray, + ], + ) -> None: ... class LGTSurfaceTension(SurfaceTension): @typing.overload @@ -116,7 +252,6 @@ class ParachorSurfaceTension(SurfaceTension): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi index 68b6c72c..3d1c04d7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,26 +15,37 @@ 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 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 __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__ + 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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi index 535a6cfe..308ecca1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,17 +12,26 @@ import jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosit 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 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__ + 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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi index 5bbc5bd6..83cf819b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,25 +11,31 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.system 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 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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... class PFCTConductivityMethodMod86(Conductivity): referenceSystem: typing.ClassVar[jneqsim.thermo.system.SystemInterface] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi index 68d90647..f1181a7c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,22 +10,34 @@ 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]]: ... +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 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi index 893a288b..8fd7b603 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,25 +12,34 @@ import jneqsim.physicalproperties.system import jneqsim.thermo import typing - - -class Viscosity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): +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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcPureComponentViscosity(self) -> None: ... - def clone(self) -> 'Viscosity': ... + 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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... -class FrictionTheoryViscosityMethod(Viscosity, jneqsim.thermo.ThermodynamicConstantsInterface): +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 __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: ... @@ -38,29 +47,51 @@ class FrictionTheoryViscosityMethod(Viscosity, jneqsim.thermo.ThermodynamicConst 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 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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class KTAViscosityMethodMod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class LBCViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'LBCViscosityMethod': ... + 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: ... + def setDenseContributionParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class LeeViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... @staticmethod def calcLowPressureViscosity(double: float, double2: float) -> float: ... @typing.overload @@ -70,34 +101,45 @@ class LeeViscosityMethod(Viscosity): def calcViscosity(double: float, double2: float, double3: float) -> float: ... class MethaneViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class MuznyModViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class MuznyViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class PFCTViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... def getPureComponentViscosity(self, int: int) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... class PFCTViscosityMethodHeavyOil(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... class PFCTViscosityMethodMod86(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi index 3d5a53ad..85ae476b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,21 +13,32 @@ import jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity import jneqsim.physicalproperties.system import typing - - -class GasPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): +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: ... - + 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__ + 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-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi index 1dceae9a..8d4b5eae 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,19 +10,23 @@ 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi index 4aba4d2e..b474b4ef 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,13 +10,15 @@ 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): ... +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': ... - + def clone(self) -> "Density": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi index ca799dd7..4d14e87f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,24 +10,36 @@ 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]]: ... +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 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 getMaxwellStefanBinaryDiffusionCoefficient( + self, int: int, int2: int + ) -> float: ... def isTemperatureInValidRange(self) -> bool: ... def setEnableTemperatureWarnings(self, boolean: bool) -> None: ... class WilkeLeeDiffusivity(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi index 3f8a06f9..9d58e45d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,23 +10,27 @@ 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi index a6846849..79d7a46b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,29 @@ 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 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__ + 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-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi index 62fc06f7..1ed87d7e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,17 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Conductivity(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): +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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... def calcPureComponentConductivity(self) -> None: ... - def clone(self) -> 'Conductivity': ... - + def clone(self) -> "Conductivity": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi index bd085daf..4a111f97 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,25 +10,37 @@ 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): ... +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': ... - -class Density(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> "Costald": ... + +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 Water(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> "Density": ... + +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': ... - + def clone(self) -> "Water": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi index a583844b..dff2f7e0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,85 +10,157 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing - - class DiffusivityModelSelector: @staticmethod - def createAutoSelectedModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> 'Diffusivity': ... + def createAutoSelectedModel( + physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, + ) -> "Diffusivity": ... @staticmethod - def createModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, diffusivityModelType: 'DiffusivityModelSelector.DiffusivityModelType') -> 'Diffusivity': ... + def createModel( + physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, + diffusivityModelType: "DiffusivityModelSelector.DiffusivityModelType", + ) -> "Diffusivity": ... @staticmethod - def getModelSelectionReason(phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> java.lang.String: ... + 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'] = ... - 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) # + 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" + ] = ... + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DiffusivityModelSelector.DiffusivityModelType": ... @staticmethod - def values() -> typing.MutableSequence['DiffusivityModelSelector.DiffusivityModelType']: ... + 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: ... + 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): ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HaydukMinhasDiffusivity.SolventType": ... @staticmethod - def values() -> typing.MutableSequence['HaydukMinhasDiffusivity.SolventType']: ... + def values() -> ( + typing.MutableSequence["HaydukMinhasDiffusivity.SolventType"] + ): ... class HighPressureDiffusivity(Diffusivity): @typing.overload - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + 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 __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 calcBinaryDiffusionCoefficient2(self, int: int, int2: int, int3: int) -> float: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcBinaryDiffusionCoefficient2( + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi index 20b5c21b..f8fed742 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,32 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Viscosity(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): +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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... - def clone(self) -> 'Viscosity': ... + 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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class Water(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'Water': ... - + def clone(self) -> "Water": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi index 6e22bfa4..acafabf5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,31 +9,45 @@ import jneqsim.physicalproperties.methods import jneqsim.thermo import typing - - -class ConductivityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): +class ConductivityInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, + jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface, +): def calcConductivity(self) -> float: ... - def clone(self) -> 'ConductivityInterface': ... + def clone(self) -> "ConductivityInterface": ... -class DensityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): +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 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 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: ... + def getMaxwellStefanBinaryDiffusionCoefficient( + self, int: int, int2: int + ) -> float: ... -class ViscosityInterface(jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): +class ViscosityInterface( + jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface +): def calcViscosity(self) -> float: ... - def clone(self) -> 'ViscosityInterface': ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi index 2b1af6e3..1f74c105 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,29 @@ 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 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__ + 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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi index c825dc55..d6c01b3e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,13 +10,15 @@ 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): ... +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': ... - + def clone(self) -> "Conductivity": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi index b040be27..55362c1e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,13 +10,15 @@ 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): ... +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': ... - + def clone(self) -> "Density": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi index 4a643c08..9355bd17 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,26 @@ 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]]: ... +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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi index 05e66fcd..8a8bb111 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,20 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing - - -class Viscosity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): +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 __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... - def clone(self) -> 'Viscosity': ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi index 47abd115..ff0e2338 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,31 @@ import jneqsim.thermo import jneqsim.thermo.phase import typing - - class PhysicalPropertyMixingRuleInterface(java.lang.Cloneable): - def clone(self) -> 'PhysicalPropertyMixingRuleInterface': ... + def clone(self) -> "PhysicalPropertyMixingRuleInterface": ... def getViscosityGij(self, int: int, int2: int) -> float: ... - def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + 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): +class PhysicalPropertyMixingRule( + PhysicalPropertyMixingRuleInterface, jneqsim.thermo.ThermodynamicConstantsInterface +): Gij: typing.MutableSequence[typing.MutableSequence[float]] = ... def __init__(self): ... - def clone(self) -> 'PhysicalPropertyMixingRule': ... + 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 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] + PhysicalPropertyMixingRuleInterface: typing.Type[ + PhysicalPropertyMixingRuleInterface + ] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi index 714df8bc..ed72dd6d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,13 +18,21 @@ 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 = ... +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 = ... @@ -32,85 +40,133 @@ class PhysicalProperties(java.lang.Cloneable, jneqsim.thermo.ThermodynamicConsta @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 __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 clone(self) -> "PhysicalProperties": ... def getConductivity(self) -> float: ... - def getConductivityModel(self) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... + def getConductivityModel( + self, + ) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... 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: ... + 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 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 getMixingRule(self) -> jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface: ... + 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 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: ... + 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 init( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType, + ) -> None: ... def setBinaryDiffusionCoefficientMethod(self, int: int) -> None: ... - def setConductivityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConductivityModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDensityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDiffusionCoefficientModel(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 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: ... + 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: ... + 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'] = ... +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': ... + def byName( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyModel": ... @staticmethod - def byValue(int: int) -> 'PhysicalPropertyModel': ... + def byValue(int: int) -> "PhysicalPropertyModel": ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyModel": ... @staticmethod - def values() -> typing.MutableSequence['PhysicalPropertyModel']: ... - + 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__ + 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-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi index 2eef4c1f..a2439e48 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,11 +9,10 @@ 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): ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi index 06ed955d..150b05aa 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,18 +9,21 @@ 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': ... + 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): ... + 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): ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi index 01620630..05babcd3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,28 +9,37 @@ 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': ... + 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': ... + 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): ... + 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): ... + 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): ... + 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): ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi index 15663403..bc024b28 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi index b370d2ff..cba76fa1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,9 @@ else: 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__ + parameterfitting: ( + jneqsim.physicalproperties.util.parameterfitting.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi index 8472550e..d1c65431 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,9 @@ else: 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__ + purecomponentparameterfitting: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi index 02780107..f105ed84 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfi 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__ + purecompinterfacetension: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension.__module_protocol__ + ) + purecompviscosity: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi index 83490b4a..c9722906 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing - - -class ParachorFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ParachorFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi index cb694af1..ffe9f92a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfi 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__ + 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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi index 353c3046..79f98106 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing - - -class ChungFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ChungFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi index abde4dda..5fad580c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ViscosityFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi index 1b1d4927..751046eb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -30,9 +30,9 @@ import jneqsim.process.util import jneqsim.util import typing - - -class SimulationInterface(jneqsim.util.NamedInterface, java.lang.Runnable, 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: ... @@ -69,7 +69,6 @@ class SimulationBaseClass(jneqsim.util.NamedBaseClass, SimulationInterface): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi index 219675b2..3bac2121 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,65 +11,118 @@ 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 __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 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 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 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 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: ... + 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 __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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.ConstraintViolation.Severity": ... @staticmethod - def values() -> typing.MutableSequence['PredictionResult.ConstraintViolation.Severity']: ... + 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): ... + 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]): ... + 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 deterministic( + double: float, string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.PredictedValue": ... def getConfidence(self) -> float: ... def getLower95(self) -> float: ... def getMean(self) -> float: ... @@ -77,21 +130,26 @@ class PredictionResult(java.io.Serializable): 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.PredictionStatus": ... @staticmethod - def values() -> typing.MutableSequence['PredictionResult.PredictionStatus']: ... - + def values() -> typing.MutableSequence["PredictionResult.PredictionStatus"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.advisory")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi index 6bf354d9..8d335522 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,121 +13,184 @@ 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': ... + 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': ... + 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': ... + 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 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: ... + def handle(self, alarmEvent: "AlarmEvent") -> bool: ... class AlarmConfig(java.io.Serializable): @staticmethod - def builder() -> 'AlarmConfig.Builder': ... + 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 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: ... + 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': ... + 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']: ... + 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']: ... + 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']: ... + 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': ... + 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': ... + 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 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 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "AlarmEventType": ... @staticmethod - def values() -> typing.MutableSequence['AlarmEventType']: ... + def values() -> typing.MutableSequence["AlarmEventType"]: ... -class AlarmLevel(java.lang.Enum['AlarmLevel'], java.io.Serializable): - LOLO: typing.ClassVar['AlarmLevel'] = ... - LO: typing.ClassVar['AlarmLevel'] = ... - HI: typing.ClassVar['AlarmLevel'] = ... - HIHI: typing.ClassVar['AlarmLevel'] = ... - def getDirection(self) -> 'AlarmLevel.Direction': ... +class AlarmLevel(java.lang.Enum["AlarmLevel"], java.io.Serializable): + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AlarmLevel.Direction": ... @staticmethod - def values() -> typing.MutableSequence['AlarmLevel.Direction']: ... + 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: ... + def displayAlarmHistory(processAlarmManager: "ProcessAlarmManager") -> None: ... @typing.overload @staticmethod - def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager', int: int) -> None: ... + def displayAlarmHistory( + processAlarmManager: "ProcessAlarmManager", int: int + ) -> None: ... @staticmethod - def displayAlarmStatistics(processAlarmManager: 'ProcessAlarmManager') -> None: ... + def displayAlarmStatistics(processAlarmManager: "ProcessAlarmManager") -> None: ... @staticmethod - def displayAlarmStatus(processAlarmManager: 'ProcessAlarmManager', string: typing.Union[java.lang.String, str]) -> None: ... + def displayAlarmStatus( + processAlarmManager: "ProcessAlarmManager", + string: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod def formatAlarmEvent(alarmEvent: AlarmEvent) -> java.lang.String: ... @staticmethod @@ -137,18 +200,36 @@ class AlarmReporter: 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 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 isAcknowledged(self) -> bool: ... def isActive(self) -> bool: ... def reset(self) -> None: ... - def snapshot(self, string: typing.Union[java.lang.String, str]) -> 'AlarmStatusSnapshot': ... + def snapshot( + self, string: typing.Union[java.lang.String, str] + ) -> "AlarmStatusSnapshot": ... class AlarmStatusSnapshot(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], alarmLevel: AlarmLevel, boolean: bool, double: float, double2: float): ... + 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: ... @@ -158,19 +239,42 @@ class AlarmStatusSnapshot(java.io.Serializable): 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 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi index d3d77104..e4706c0b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,42 +17,97 @@ 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': ... + 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 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 getLastResult(self) -> "BatchResult": ... def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + 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 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': ... + 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 __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 __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 __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: ... @@ -61,15 +116,46 @@ class BatchParameterEstimator(java.io.Serializable): 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): ... + 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 __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 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 @@ -87,21 +173,32 @@ class BatchResult(java.io.Serializable): def getUncertainty(self, int: int) -> float: ... def isConverged(self) -> bool: ... def printSummary(self) -> None: ... - def toCalibrationResult(self) -> 'CalibrationResult': ... + 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': ... + def createEstimator(self) -> "EnKFParameterEstimator": ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 __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: ... @@ -116,7 +213,7 @@ class CalibrationQuality(java.io.Serializable): class CalibrationResult(java.io.Serializable): @staticmethod - def failure(string: typing.Union[java.lang.String, str]) -> 'CalibrationResult': ... + 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: ... @@ -127,30 +224,73 @@ class CalibrationResult(java.io.Serializable): 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 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': ... + 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': ... + 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 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 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 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': ... + 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 __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]: ... @@ -160,12 +300,21 @@ class EnKFParameterEstimator(java.io.Serializable): 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: ... + 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): ... + 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 = ... @@ -173,45 +322,128 @@ class EnKFParameterEstimator(java.io.Serializable): 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): ... + 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': ... + 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': ... + 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]: ... + 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': ... + 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': ... + 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): ... + 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 __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): ... + 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 __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: ... @@ -226,35 +458,104 @@ class EstimationTestHarness(java.io.Serializable): 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 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: ... + 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: ... + 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 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: ... + 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 __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 getRelativeError( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTimestamp(self) -> java.time.Instant: ... -class ProcessSimulationFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +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 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: ... @@ -265,7 +566,9 @@ class ProcessSimulationFunction(jneqsim.statistics.parameterfitting.nonlinearpar @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 setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setUseAnalyticalJacobian(self, boolean: bool) -> None: ... class WellRoutingEstimationExample: @@ -274,13 +577,24 @@ class WellRoutingEstimationExample: 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]]: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi index e2024f0f..c63c3909 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import jneqsim.process.processmodel import typing - - class ConditionMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def __init__(self): ... @@ -20,7 +18,9 @@ class ConditionMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def conditionAnalysis(self) -> None: ... @typing.overload - def conditionAnalysis(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -29,7 +29,6 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi index da900342..0caaa203 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,10 +13,10 @@ import jneqsim.process.measurementdevice import jneqsim.util import typing - - class ControllerDeviceInterface(java.io.Serializable): - def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def addGainSchedulePoint( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload @@ -26,20 +26,28 @@ class ControllerDeviceInterface(java.io.Serializable): @typing.overload def autoTuneFromEventLog(self, boolean: bool) -> bool: ... @typing.overload - def autoTuneStepResponse(self, double: float, double2: float, double3: float) -> None: ... + 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 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 getEventLog(self) -> java.util.List["ControllerEvent"]: ... def getIntegralAbsoluteError(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getResponse(self) -> float: ... def getSettlingTime(self) -> float: ... - def getStepResponseTuningMethod(self) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... + def getStepResponseTuningMethod( + self, + ) -> "ControllerDeviceInterface.StepResponseTuningMethod": ... def getUnit(self) -> java.lang.String: ... def hashCode(self) -> int: ... def isActive(self) -> bool: ... @@ -47,36 +55,69 @@ class ControllerDeviceInterface(java.io.Serializable): def resetEventLog(self) -> None: ... def resetPerformanceMetrics(self) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + 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: ... + 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 setControllerSetPoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDerivativeFilterTime(self, double: float) -> None: ... def setOutputLimits(self, double: float, double2: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setStepResponseTuningMethod(self, stepResponseTuningMethod: 'ControllerDeviceInterface.StepResponseTuningMethod') -> None: ... - def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControllerDeviceInterface.StepResponseTuningMethod": ... @staticmethod - def values() -> typing.MutableSequence['ControllerDeviceInterface.StepResponseTuningMethod']: ... + 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 __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getError(self) -> float: ... def getMeasuredValue(self) -> float: ... def getResponse(self) -> float: ... @@ -88,7 +129,9 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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: ... + def addGainSchedulePoint( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload @@ -98,9 +141,13 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def autoTuneFromEventLog(self, boolean: bool) -> bool: ... @typing.overload - def autoTuneStepResponse(self, double: float, double2: float, double3: float) -> None: ... + 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 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: ... @@ -108,10 +155,14 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getResponse(self) -> float: ... def getSettlingTime(self) -> float: ... - def getStepResponseTuningMethod(self) -> ControllerDeviceInterface.StepResponseTuningMethod: ... + def getStepResponseTuningMethod( + self, + ) -> ControllerDeviceInterface.StepResponseTuningMethod: ... def getTd(self) -> float: ... def getTi(self) -> float: ... def getUnit(self) -> java.lang.String: ... @@ -122,21 +173,33 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @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 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: ... + 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 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 setOutputLimits(self, double: float, double2: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setStepResponseTuningMethod(self, stepResponseTuningMethod: ControllerDeviceInterface.StepResponseTuningMethod) -> 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 setTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): @@ -144,20 +207,32 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addQualityConstraint(self, qualityConstraint: 'ModelPredictiveController.QualityConstraint') -> None: ... + 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': ... + 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': ... + 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 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 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: ... @@ -171,20 +246,28 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def getControlWeight(self) -> float: ... def getControllerSetPoint(self) -> float: ... def getLastAppliedControl(self) -> float: ... - def getLastMovingHorizonEstimate(self) -> 'ModelPredictiveController.MovingHorizonEstimate': ... + 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 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 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: ... @@ -195,27 +278,39 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def ingestPlantSample(self, double: float, double2: float) -> None: ... @typing.overload - def ingestPlantSample(self, double: float, double2: float, double3: float) -> None: ... + 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 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: ... + 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 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: ... + 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: ... + 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: ... @@ -232,17 +327,38 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def setProcessModel(self, double: float, double2: float) -> None: ... @typing.overload - def setProcessModel(self, double: float, double2: float, double3: float) -> None: ... + 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 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: ... + 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 builder() -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... def getClosedLoopTimeConstantRatio(self) -> float: ... def getControlWeightFactor(self) -> float: ... def getMaximumHorizon(self) -> int: ... @@ -252,18 +368,40 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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': ... + 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: ... @@ -277,26 +415,51 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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': ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi index f4fe6803..cd3ab2c3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import jneqsim.process.controllerdevice import jneqsim.process.measurementdevice import typing - - class ControlStructureInterface(java.io.Serializable): def getOutput(self) -> float: ... def isActive(self) -> bool: ... @@ -19,14 +17,22 @@ class ControlStructureInterface(java.io.Serializable): def setActive(self, boolean: bool) -> None: ... class CascadeControllerStructure(ControlStructureInterface): - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface): ... + 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 __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: ... @@ -34,14 +40,17 @@ class FeedForwardControllerStructure(ControlStructureInterface): def setFeedForwardGain(self, double: float) -> None: ... class RatioControllerStructure(ControlStructureInterface): - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice.structure")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi index 7b03c873..8cea3da4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,13 +12,18 @@ import jneqsim.process.costestimation.valve import jneqsim.process.mechanicaldesign import typing - - class CostEstimateBaseClass(java.io.Serializable): @typing.overload - def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign): ... + def __init__( + self, + systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, + ): ... @typing.overload - def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, double: float): ... + 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: ... @@ -29,12 +34,13 @@ class UnitCostEstimateBaseClass(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... def equals(self, object: typing.Any) -> bool: ... def getTotalCost(self) -> float: ... def hashCode(self) -> int: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi index 919a5424..21e016c9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ 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 __init__( + self, + compressorMechanicalDesign: jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign, + ): ... def getTotalCost(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.compressor")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi index 35af7c89..8050d4ec 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi index e3d93149..9a376f35 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ 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 __init__( + self, + valveMechanicalDesign: jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign, + ): ... def getTotalCost(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.valve")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi index 0eec06a4..63250ca4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -45,75 +45,96 @@ 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'] = ... - HeatExchanger: typing.ClassVar['EquipmentEnum'] = ... - Cooler: typing.ClassVar['EquipmentEnum'] = ... - Heater: typing.ClassVar['EquipmentEnum'] = ... - Mixer: typing.ClassVar['EquipmentEnum'] = ... - Splitter: typing.ClassVar['EquipmentEnum'] = ... - Reactor: typing.ClassVar['EquipmentEnum'] = ... - Column: 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'] = ... - Expander: typing.ClassVar['EquipmentEnum'] = ... - SimpleTEGAbsorber: typing.ClassVar['EquipmentEnum'] = ... - Tank: typing.ClassVar['EquipmentEnum'] = ... - ComponentSplitter: 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'] = ... +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"] = ... + HeatExchanger: typing.ClassVar["EquipmentEnum"] = ... + Cooler: typing.ClassVar["EquipmentEnum"] = ... + Heater: typing.ClassVar["EquipmentEnum"] = ... + Mixer: typing.ClassVar["EquipmentEnum"] = ... + Splitter: typing.ClassVar["EquipmentEnum"] = ... + Reactor: typing.ClassVar["EquipmentEnum"] = ... + Column: 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"] = ... + Expander: typing.ClassVar["EquipmentEnum"] = ... + SimpleTEGAbsorber: typing.ClassVar["EquipmentEnum"] = ... + Tank: typing.ClassVar["EquipmentEnum"] = ... + ComponentSplitter: 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"] = ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "EquipmentEnum": ... @staticmethod - def values() -> typing.MutableSequence['EquipmentEnum']: ... + def values() -> typing.MutableSequence["EquipmentEnum"]: ... class EquipmentFactory: @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: ... + 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': ... + 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': ... + def createEquipment( + string: typing.Union[java.lang.String, str], equipmentEnum: EquipmentEnum + ) -> "ProcessEquipmentInterface": ... @staticmethod - def createGORfitter(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.util.GORfitter: ... + def createGORfitter( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.util.GORfitter: ... @staticmethod - def createReservoirCVDsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirCVDsim: ... + 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: ... + 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: ... + def createReservoirTPsim( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.process.equipment.reservoir.ReservoirTPsim: ... class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): def displayResult(self) -> None: ... @@ -121,10 +142,16 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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], double: float) -> float: ... + 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: ... def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -132,14 +159,18 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): 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 getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... @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 getRestCapacity(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[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: ... @@ -149,9 +180,16 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): def hashCode(self) -> int: ... def initMechanicalDesign(self) -> None: ... 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 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 setPressure(self, double: float) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -159,7 +197,9 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class TwoPortInterface: @@ -172,13 +212,19 @@ class TwoPortInterface: 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 setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOutletTemperature(self, double: float) -> None: ... -class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface): +class ProcessEquipmentBaseClass( + jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface +): hasController: bool = ... report: typing.MutableSequence[typing.MutableSequence[java.lang.String]] = ... properties: java.util.HashMap = ... @@ -189,26 +235,38 @@ class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEqui def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getController( + self, + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... def getEnergyStream(self) -> jneqsim.process.equipment.stream.EnergyStream: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getExergyChange( + 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 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 getProperty( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... def getReport_json(self) -> java.lang.String: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[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: ... @@ -222,18 +280,30 @@ class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEqui @typing.overload def isActive(self, boolean: bool) -> None: ... def isSetEnergyStream(self) -> bool: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def runConditionAnalysis(self, processEquipmentInterface: ProcessEquipmentInterface) -> None: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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 setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> 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 setFlowValveController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def setEnergyStream( + self, energyStream: jneqsim.process.equipment.stream.EnergyStream + ) -> None: ... + def setFlowValveController( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... def setMinimumFlow(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... @@ -243,13 +313,19 @@ class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEqui @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... 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 __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 getInletTemperature(self) -> float: ... @@ -261,16 +337,21 @@ class TwoPortEquipment(ProcessEquipmentBaseClass, TwoPortInterface): 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 setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOutletTemperature(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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi index 4bf26175..bcef58d7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.process.equipment.stream import jneqsim.process.mechanicaldesign.absorber import typing - - class AbsorberInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... @@ -24,22 +22,34 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte @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 __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 getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign: ... + 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 getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... - def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStageEfficiency(self) -> float: ... def getWettingRate(self) -> float: ... @typing.overload @@ -58,12 +68,20 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte 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 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 calcNTU( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calcNumberOfTheoreticalStages(self) -> float: ... def calcY0(self) -> float: ... def displayResult(self) -> None: ... @@ -74,67 +92,109 @@ class SimpleTEGAbsorber(SimpleAbsorber): 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: ... + 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: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 getSolventInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def guessTemperature(self) -> float: ... def isSetWaterInDryGas(self, boolean: bool) -> None: ... def mixStream(self) -> None: ... - def replaceSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 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 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 setSolventOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setWaterInDryGas(self, double: float) -> None: ... 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 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 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: ... + 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: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 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: ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi index 5ec06169..874d92e0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,26 +12,34 @@ import jneqsim.process.equipment.stream import jneqsim.process.mechanicaldesign.adsorber import typing - - 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 __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 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 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 getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getStageEfficiency(self) -> float: ... @typing.overload @@ -48,7 +56,6 @@ class SimpleAdsorber(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setStageEfficiency(self, double: float) -> None: ... def setdT(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.adsorber")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi index 11d61d4c..2e63cf24 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.util import jneqsim.process.equipment import typing - - class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self): ... @@ -31,7 +29,6 @@ class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi index 7fb003db..6f4bb176 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,14 @@ import java.lang import jneqsim.blackoil import typing - - class BlackOilSeparator: - def __init__(self, string: typing.Union[java.lang.String, str], systemBlackOil: jneqsim.blackoil.SystemBlackOil, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemBlackOil: jneqsim.blackoil.SystemBlackOil, + double: float, + double2: float, + ): ... def getGasOut(self) -> jneqsim.blackoil.SystemBlackOil: ... def getInlet(self) -> jneqsim.blackoil.SystemBlackOil: ... def getName(self) -> java.lang.String: ... @@ -21,7 +25,6 @@ class BlackOilSeparator: def run(self) -> None: ... def setInlet(self, systemBlackOil: jneqsim.blackoil.SystemBlackOil) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.blackoil")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi index e1ffa803..3e94f6cb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,8 +17,6 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class AntiSurge(java.io.Serializable): def __init__(self): ... def equals(self, object: typing.Any) -> bool: ... @@ -37,17 +35,37 @@ class BoundaryCurveInterface(java.io.Serializable): 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: ... + 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 generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChart': ... + def __init__(self, compressor: "Compressor"): ... + def generateCompressorChart( + self, string: typing.Union[java.lang.String, str] + ) -> "CompressorChart": ... 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 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: ... @@ -59,25 +77,58 @@ class CompressorChartInterface(java.lang.Cloneable): 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 getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getStoneWallCurve(self) -> "StoneWallCurve": ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... - def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + 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: ... @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 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 setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOperatingMW(self, double: float) -> 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 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: ... @@ -88,13 +139,15 @@ class CompressorChartReader: 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 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 setCurvesToCompressor(self, compressor: "Compressor") -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class CompressorCurve(java.io.Serializable): @@ -106,13 +159,29 @@ class CompressorCurve(java.io.Serializable): @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 __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 CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +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: ... @@ -127,7 +196,9 @@ class CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, j def hashCode(self) -> int: ... def isStoneWall(self) -> bool: ... def isSurge(self) -> bool: ... - def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -135,11 +206,17 @@ class CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, j 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 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: ... + def setFluid( + self, arrayList: java.util.ArrayList[jneqsim.thermo.system.SystemInterface] + ) -> None: ... class BoundaryCurve(BoundaryCurveInterface): def equals(self, object: typing.Any) -> bool: ... @@ -151,9 +228,18 @@ class BoundaryCurve(BoundaryCurveInterface): 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: ... + 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): +class Compressor( + jneqsim.process.equipment.TwoPortEquipment, + CompressorInterface, + jneqsim.process.ml.StateVectorProvider, +): thermoSystem: jneqsim.thermo.system.SystemInterface = ... dH: float = ... inletEnthalpy: float = ... @@ -168,11 +254,17 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @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 copy(self) -> 'Compressor': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def copy(self) -> "Compressor": ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def findOutPressure(self, double: float, double2: float, double3: float) -> float: ... + def findOutPressure( + self, double: float, double2: float, double3: float + ) -> float: ... def generateCompressorCurves(self) -> None: ... def getActualCompressionRatio(self) -> float: ... def getAntiSurge(self) -> AntiSurge: ... @@ -183,15 +275,21 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getDistanceToStoneWall(self) -> float: ... def getDistanceToSurge(self) -> float: ... def getEnergy(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getIsentropicEfficiency(self) -> float: ... def getMaxOutletPressure(self) -> float: ... def getMaximumSpeed(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... def getMinimumSpeed(self) -> float: ... def getNumberOfCompressorCalcSteps(self) -> int: ... def getOutTemperature(self) -> float: ... @@ -202,7 +300,9 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def getPolytropicHead(self) -> float: ... @typing.overload - def getPolytropicHead(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPolytropicHead( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPolytropicHeadMeter(self) -> float: ... def getPolytropicMethod(self) -> java.lang.String: ... @typing.overload @@ -210,8 +310,12 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPropertyProfile(self) -> CompressorPropertyProfile: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed(self) -> typing.MutableSequence[float]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed( + self, + ) -> typing.MutableSequence[float]: ... def getSpeed(self) -> float: ... def getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getSurgeFlowRate(self) -> float: ... @@ -249,9 +353,15 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def setAntiSurge(self, antiSurge: AntiSurge) -> 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 setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setCompressorChart( + self, compressorChartInterface: CompressorChartInterface + ) -> None: ... + def setCompressorChartType( + self, string: typing.Union[java.lang.String, str] + ) -> 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: ... @@ -263,16 +373,24 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + 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 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 setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setPropertyProfile( + self, compressorPropertyProfile: CompressorPropertyProfile + ) -> None: ... def setSolveSpeed(self, boolean: bool) -> None: ... def setSpeed(self, double: float) -> None: ... def setUseEnergyEfficiencyChart(self, boolean: bool) -> None: ... @@ -286,17 +404,36 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def useOutTemperature(self, boolean: bool) -> None: ... def usePolytropicCalc(self) -> bool: ... 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 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: ... @@ -311,10 +448,10 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): 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 getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getStoneWallCurve(self) -> "StoneWallCurve": ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... - def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... def getSurgeFlowAtSpeed(self, double: float) -> float: ... def getSurgeHeadAtSpeed(self, double: float) -> float: ... def hashCode(self) -> int: ... @@ -322,32 +459,89 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): 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 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 setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMaxSpeedCurve(self, double: float) -> None: ... def setMinSpeedCurve(self, double: float) -> 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 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 CompressorChartAlternativeMapLookup(CompressorChart, CompressorChartInterface, java.io.Serializable): +class CompressorChartAlternativeMapLookup( + 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 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: ... + 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 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: ... @@ -361,23 +555,56 @@ class CompressorChartAlternativeMapLookup(CompressorChart, CompressorChartInterf 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 getStoneWallCurve(self) -> 'StoneWallCurve': ... - def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + 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 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 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 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: ... @@ -385,17 +612,92 @@ class CompressorChartAlternativeMapLookup(CompressorChart, CompressorChartInterf 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 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: ... @@ -424,18 +726,36 @@ class CompressorChartMWInterpolation(CompressorChart): 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 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 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 __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: ... @@ -444,12 +764,18 @@ 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 __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): +class CompressorChartAlternativeMapLookupExtrapolate( + CompressorChartAlternativeMapLookup +): def __init__(self): ... def getClosestRefSpeeds(self, double: float) -> java.util.ArrayList[float]: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... @@ -459,7 +785,11 @@ 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]): ... + 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 @@ -472,13 +802,22 @@ class SafeSplineStoneWallCurve(StoneWallCurve): 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: ... + 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]): ... + 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 @@ -491,23 +830,57 @@ class SafeSplineSurgeCurve(SurgeCurve): 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: ... + 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 __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 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 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: ... @@ -515,26 +888,72 @@ class CompressorChartKhader2015(CompressorChartAlternativeMapLookupExtrapolate): 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 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: ... + 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]): ... + 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]): ... - + 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")``. @@ -544,8 +963,12 @@ class __module_protocol__(Protocol): BoundaryCurveInterface: typing.Type[BoundaryCurveInterface] Compressor: typing.Type[Compressor] CompressorChart: typing.Type[CompressorChart] - CompressorChartAlternativeMapLookup: typing.Type[CompressorChartAlternativeMapLookup] - CompressorChartAlternativeMapLookupExtrapolate: typing.Type[CompressorChartAlternativeMapLookupExtrapolate] + CompressorChartAlternativeMapLookup: typing.Type[ + CompressorChartAlternativeMapLookup + ] + CompressorChartAlternativeMapLookupExtrapolate: typing.Type[ + CompressorChartAlternativeMapLookupExtrapolate + ] CompressorChartGenerator: typing.Type[CompressorChartGenerator] CompressorChartInterface: typing.Type[CompressorChartInterface] CompressorChartKhader2015: typing.Type[CompressorChartKhader2015] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi index ae746b77..a2f87991 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,26 +11,69 @@ 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': ... + 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': ... + 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': ... + 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: ... + 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: ... + 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: ... + 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]: ... @@ -41,18 +84,46 @@ 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 __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: ... + 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: ... + 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: ... + 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: ... + def calculatePressureDrop( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -61,8 +132,9 @@ class Orifice(jneqsim.process.equipment.TwoPortEquipment): 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi index 445a56e9..98861204 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,10 +14,8 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing - - class DistillationColumnMatrixSolver: - def __init__(self, distillationColumn: 'DistillationColumn'): ... + def __init__(self, distillationColumn: "DistillationColumn"): ... def solve(self, uUID: java.util.UUID) -> None: ... class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface): @@ -26,26 +24,52 @@ class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface) def setNumberOfTrays(self, int: int) -> None: ... class TrayInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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 DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, boolean: bool, boolean2: bool): ... +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: ... + 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 componentMassBalanceCheck(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def addFeedStream( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + int: int, + ) -> None: ... + def componentMassBalanceCheck( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def displayResult(self) -> None: ... def energyBalanceCheck(self) -> None: ... - def findOptimalNumberOfTrays(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> int: ... - def getCondenser(self) -> 'Condenser': ... + def findOptimalNumberOfTrays( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + ) -> int: ... + def getCondenser(self) -> "Condenser": ... def getCondenserTemperature(self) -> float: ... def getEnergyBalanceError(self) -> float: ... def getEnthalpyBalanceTolerance(self) -> float: ... - def getFeedStreams(self, int: int) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getFeedStreams( + self, int: int + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getFsFactor(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInternalDiameter(self) -> float: ... @@ -54,7 +78,9 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getLastMassResidual(self) -> float: ... def getLastSolveTimeSeconds(self) -> float: ... def getLastTemperatureResidual(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -62,17 +88,19 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getMassBalanceError(self) -> float: ... def getMassBalanceTolerance(self) -> float: ... def getNumerOfTrays(self) -> int: ... - def getReboiler(self) -> 'Reboiler': ... + def getReboiler(self) -> "Reboiler": ... def getReboilerTemperature(self) -> float: ... def getTemperatureTolerance(self) -> float: ... - def getTray(self, int: int) -> 'SimpleTray': ... - def getTrays(self) -> java.util.ArrayList['SimpleTray']: ... + def getTray(self, int: int) -> "SimpleTray": ... + def getTrays(self) -> java.util.ArrayList["SimpleTray"]: ... def init(self) -> None: ... def isDoInitializion(self) -> bool: ... def isDoMultiPhaseCheck(self) -> bool: ... def isEnforceEnergyBalanceTolerance(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def massBalanceCheck(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -91,7 +119,7 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def setNumberOfTrays(self, int: int) -> None: ... def setReboilerTemperature(self, double: float) -> None: ... def setRelaxationFactor(self, double: float) -> None: ... - def setSolverType(self, solverType: 'DistillationColumn.SolverType') -> None: ... + def setSolverType(self, solverType: "DistillationColumn.SolverType") -> None: ... def setTemperatureTolerance(self, double: float) -> None: ... def setTopCondenserDuty(self, double: float) -> None: ... def setTopPressure(self, double: float) -> None: ... @@ -99,21 +127,29 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - 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_SOLVER: typing.ClassVar['DistillationColumn.SolverType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... + + 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_SOLVER: 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.SolverType": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.SolverType']: ... + def values() -> typing.MutableSequence["DistillationColumn.SolverType"]: ... class SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -122,13 +158,19 @@ class SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): def calcMixStreamEnthalpy0(self) -> float: ... def getFeedRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getGasOutStream(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 getLiquidFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + 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 getVaporFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVaporFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def guessTemperature(self) -> float: ... def init(self) -> None: ... def massBalance(self) -> float: ... @@ -148,9 +190,15 @@ class Condenser(SimpleTray): @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 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: ... @typing.overload @@ -158,7 +206,9 @@ class Condenser(SimpleTray): @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 setSeparation_with_liquid_reflux( + self, boolean: bool, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTotalCondenser(self, boolean: bool) -> None: ... class Reboiler(SimpleTray): @@ -178,7 +228,9 @@ 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: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -191,7 +243,6 @@ class VLSolidTray(SimpleTray): def setHeatInput(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi index 2da2b3c5..b02941d3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,11 +13,16 @@ import jneqsim.process.mechanicaldesign.ejector import jneqsim.process.util.report import typing - - class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... - def getDesignResult(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getDesignResult( + self, + ) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... def getDiffuserEfficiency(self) -> float: ... def getEfficiencyIsentropic(self) -> float: ... def getEntrainmentRatio(self) -> float: ... @@ -25,7 +30,9 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getMotiveStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -47,12 +54,34 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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): ... + 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 empty() -> "EjectorDesignResult": ... def getBodyVolume(self) -> float: ... def getConnectedPipingVolume(self) -> float: ... def getDiffuserOutletArea(self) -> float: ... @@ -77,7 +106,6 @@ class EjectorDesignResult: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi index e3b36e50..4060e9c8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,21 @@ 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: ... + 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 @@ -30,32 +36,53 @@ class CO2Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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 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 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 getHydrogenOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getHydrogenOutStream( + 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 getOxygenOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOxygenOutStream( + 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: ... - + def setInletStream( + 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.electrolyzer")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi index 4f3c1c3f..25f3c9cf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,9 +14,10 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing - - -class ExpanderInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +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: ... @@ -25,7 +26,11 @@ class Expander(jneqsim.process.equipment.compressor.Compressor, ExpanderInterfac @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def run(self) -> None: ... @typing.overload @@ -35,18 +40,28 @@ 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 __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: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... 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 __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: ... @@ -54,8 +69,12 @@ class TurboExpanderCompressor(Expander): 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 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: ... @@ -69,10 +88,14 @@ class TurboExpanderCompressor(Expander): 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 getExpanderFeedStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getExpanderIsentropicEfficiency(self) -> float: ... def getExpanderOutPressure(self) -> float: ... - def getExpanderOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExpanderOutletStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getExpanderSpeed(self) -> float: ... def getGearRatio(self) -> float: ... def getHeadFromQN(self, double: float) -> float: ... @@ -88,11 +111,15 @@ class TurboExpanderCompressor(Expander): @typing.overload def getPowerCompressor(self) -> float: ... @typing.overload - def getPowerCompressor(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getPowerExpander( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getQNratiocompressor(self) -> float: ... def getQNratioexpander(self) -> float: ... def getQn(self) -> float: ... @@ -117,7 +144,9 @@ class TurboExpanderCompressor(Expander): 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 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: ... @@ -129,19 +158,32 @@ class TurboExpanderCompressor(Expander): 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 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 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: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi index 6556cd57..388fe5fc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,30 +12,42 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report 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 __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 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: ... + 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: ... + 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): ... - + 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.filter")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi index 5695b2ee..343dbf17 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,41 +14,63 @@ 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): ... + 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': ... + def evaluateCapacity(self) -> "Flare.CapacityCheckResult": ... @typing.overload - def evaluateCapacity(self, double: float, double2: float, double3: float) -> 'Flare.CapacityCheckResult': ... + 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: ... + 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 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 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: ... @@ -60,18 +82,29 @@ class Flare(jneqsim.process.equipment.TwoPortEquipment): 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 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 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 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: ... @@ -104,39 +137,54 @@ class FlareStack(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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 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 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlareStack.RadiationModel": ... @staticmethod - def values() -> typing.MutableSequence['FlareStack.RadiationModel']: ... - + def values() -> typing.MutableSequence["FlareStack.RadiationModel"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.flare")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi index 78d20c59..931d5f89 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,20 @@ 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 __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: ... @@ -26,7 +36,15 @@ class FlareCapacityDTO(java.io.Serializable): 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 __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: ... @@ -35,7 +53,22 @@ class FlareDispersionSurrogateDTO(java.io.Serializable): 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 __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: ... @@ -50,7 +83,6 @@ class FlarePerformanceDTO(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi index edd91752..cc7867f9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,31 +16,43 @@ import jneqsim.process.ml import jneqsim.process.util.report import typing - - class HeaterInterface(jneqsim.process.SimulationInterface): - def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOutTP(self, double: float, double2: float) -> None: ... - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setdT(self, double: float) -> None: ... -class MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... +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 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 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 getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getThermalEffectiveness(self) -> float: ... def getUAvalue(self) -> float: ... @@ -48,14 +60,25 @@ class MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipme @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + 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: ... + 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 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 setThermalEffectiveness(self, double: float) -> None: ... @@ -65,10 +88,16 @@ class MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipme @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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 __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 @@ -92,26 +121,38 @@ class UtilityStreamSpecification(java.io.Serializable): @typing.overload def setApproachTemperature(self, double: float) -> None: ... @typing.overload - def setApproachTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... + 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: ... + 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: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @@ -120,12 +161,20 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface): @typing.overload def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getEnergyInput(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign + ): ... def getPressureDrop(self) -> float: ... def getUtilitySpecification(self) -> UtilityStreamSpecification: ... def initMechanicalDesign(self) -> None: ... @@ -144,51 +193,92 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface): @typing.overload def setOutPressure(self, double: float) -> None: ... @typing.overload - def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutPressure( + 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) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + 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 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 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: ... + 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 __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: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... -class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider): +class HeatExchanger( + Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider +): 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 addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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 addInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcThermalEffectivenes(self, double: float, double2: float) -> float: ... def displayResult(self) -> None: ... def getDeltaT(self) -> float: ... @@ -196,24 +286,34 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect 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 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 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.heatexchanger.HeatExchangerMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign + ): ... @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getThermalEffectiveness(self) -> float: ... @@ -226,26 +326,45 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + 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: ... 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: ... + 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 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 setOutStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... @typing.overload - def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setThermalEffectiveness(self, double: float) -> None: ... def setUAvalue(self, double: float) -> None: ... def setUseDeltaT(self, boolean: bool) -> None: ... @@ -253,14 +372,22 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... 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 __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: ... @@ -270,14 +397,18 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): def getDuty(self) -> float: ... @typing.overload def getDuty(self, int: int) -> float: ... - def getEntropyProduction(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 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 getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @@ -286,7 +417,9 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... @@ -299,19 +432,32 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + 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: ... + 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 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: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... def setTemperatureApproach(self, double: float) -> None: ... @@ -322,18 +468,35 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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 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 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 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: ... @@ -345,12 +508,16 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... @@ -363,16 +530,27 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + 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: ... + 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 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: ... @@ -382,21 +560,29 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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 __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: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @@ -404,30 +590,52 @@ 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: ... + 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: ... + 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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAirMassFlow(self) -> float: ... def getAirVolumeFlow(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> 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 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 setPressure(self, double: float) -> None: ... def setRelativeHumidity(self, double: float) -> None: ... @@ -435,17 +643,30 @@ 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi index b88090b4..259d7709 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,29 +13,34 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing - - class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getNumberOfOutputStreams(self) -> int: ... - def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi index 346a1535..5c323dd0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,20 +11,24 @@ 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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def clearPermeateFractions(self) -> None: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPermeateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getRetentateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRetentateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def needRecalculation(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -35,11 +39,16 @@ class MembraneSeparator(jneqsim.process.equipment.ProcessEquipmentBaseClass): @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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi index 1b4efe85..bcef2d26 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,25 +13,33 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class MixerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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: ... + def replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -41,7 +49,9 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface) def getNumberOfInputStreams(self) -> int: ... def getOutTemperature(self) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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: ... @@ -52,7 +62,11 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface) def isSetOutTemperature(self, boolean: bool) -> None: ... def mixStream(self) -> None: ... def removeInputStream(self, int: int) -> None: ... - def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -64,7 +78,9 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface) @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class StaticMixer(Mixer): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -78,7 +94,9 @@ class StaticMixer(Mixer): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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]): ... @@ -96,7 +114,6 @@ class StaticPhaseMixer(StaticMixer): @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi index f89739bd..1eaad608 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,23 +17,57 @@ import jneqsim.process.equipment.valve import jneqsim.process.util.report import typing - - 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 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 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 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: ... @@ -43,47 +77,99 @@ class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setAdvectionScheme( + self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme + ) -> None: ... def setCompositionalTracking(self, boolean: bool) -> None: ... - def setDefaultHeatTransferCoefficients(self, double: float, double2: float) -> 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: ... + 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 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': ... + 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 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 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: ... + 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 @@ -92,29 +178,40 @@ class WellFlowlineNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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 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: ... + 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: ... + 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 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: ... + def setChoke( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... + class ManifoldNode: - def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... + def getBranches(self) -> java.util.List["WellFlowlineNetwork.Branch"]: ... def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... def getName(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.network")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi index 602642b2..2ad43c56 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,51 +21,87 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - 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 getFittingsList(self) -> java.util.ArrayList['Fittings.Fitting']: ... + def add( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def getFittingsList(self) -> java.util.ArrayList["Fittings.Fitting"]: ... + class Fitting(java.io.Serializable): @typing.overload - def __init__(self, fittings: 'Fittings', string: typing.Union[java.lang.String, str]): ... + 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 __init__( + self, + fittings: "Fittings", + string: typing.Union[java.lang.String, str], + double: float, + ): ... def getFittingName(self) -> java.lang.String: ... def getLtoD(self) -> float: ... - def setFittingName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFittingName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLtoD(self, double: float) -> None: ... -class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface): +class PipeLineInterface( + jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface +): def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... - def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> 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 setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... @typing.overload def getOutletPressure(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getSuperficialVelocity(self, int: int, int2: int) -> float: ... def getTimes(self) -> typing.MutableSequence[float]: ... @@ -80,28 +116,59 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface): def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... def setEquilibriumMassTransfer(self, boolean: bool) -> 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 setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setPipeOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setPipeWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> 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 setPipeOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setPipeWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> 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: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class AdiabaticPipe(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcFlow(self) -> float: ... def calcPressureOut(self) -> float: ... def calcWallFrictionFactor(self, double: float) -> float: ... @@ -113,29 +180,41 @@ class AdiabaticPipe(Pipeline): def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeWallRoughness(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletElevation(self, double: float) -> None: ... def setLength(self, double: float) -> None: ... def setOutPressure(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... def setOutletElevation(self, double: float) -> None: ... - def setPipeSpecification(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 setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> 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 __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: ... @@ -157,36 +236,62 @@ class AdiabaticTwoPhasePipe(Pipeline): @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 setFlowLimit( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletElevation(self, double: float) -> None: ... def setLength(self, double: float) -> None: ... def setOutPressure(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... def setOutletElevation(self, double: float) -> None: ... - def setPipeSpecification(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 setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPressureOutLimit(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): ... + 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 __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 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: ... - def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getOutletMassFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getOutletMoleFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getPressureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getSimulationTime(self) -> float: ... - def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTemperatureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getVelocityProfile(self) -> typing.MutableSequence[float]: ... def isCompositionalTracking(self) -> bool: ... def resetSimulationTime(self) -> None: ... @@ -198,7 +303,9 @@ class OnePhasePipeLine(Pipeline): 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 setAdvectionScheme( + self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme + ) -> None: ... def setCompositionalTracking(self, boolean: bool) -> None: ... def setInternalTimeStep(self, double: float) -> None: ... @@ -206,28 +313,43 @@ class PipeBeggsAndBrills(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 calcFlowRegime(self) -> 'PipeBeggsAndBrills.FlowRegime': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + 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 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 calcTemperatureDifference( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def calculateMissingValue(self) -> None: ... def convertSystemUnitToImperial(self) -> None: ... def convertSystemUnitToMetric(self) -> None: ... def displayResult(self) -> None: ... - def estimateHeatTransferCoefficent(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def estimateHeatTransferCoefficent( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def getAngle(self) -> float: ... - def getCalculationMode(self) -> 'PipeBeggsAndBrills.CalculationMode': ... + def getCalculationMode(self) -> "PipeBeggsAndBrills.CalculationMode": ... def getDiameter(self) -> float: ... def getElevation(self) -> float: ... def getElevationProfile(self) -> java.util.List[float]: ... - def getFlowRegime(self) -> 'PipeBeggsAndBrills.FlowRegime': ... - def getFlowRegimeProfile(self) -> java.util.List['PipeBeggsAndBrills.FlowRegime']: ... + def getFlowRegime(self) -> "PipeBeggsAndBrills.FlowRegime": ... + def getFlowRegimeProfile( + self, + ) -> java.util.List["PipeBeggsAndBrills.FlowRegime"]: ... def getGasSuperficialVelocityProfile(self) -> java.util.List[float]: ... def getHeatTransferCoefficient(self) -> float: ... - def getHeatTransferMode(self) -> 'PipeBeggsAndBrills.HeatTransferMode': ... + def getHeatTransferMode(self) -> "PipeBeggsAndBrills.HeatTransferMode": ... def getIncrementsProfile(self) -> java.util.List[int]: ... def getInletSuperficialVelocity(self) -> float: ... def getInsulationThermalConductivity(self) -> float: ... @@ -250,7 +372,7 @@ class PipeBeggsAndBrills(Pipeline): def getPressureDropProfile(self) -> java.util.List[float]: ... def getPressureProfile(self) -> java.util.List[float]: ... def getSegmentElevation(self, int: int) -> float: ... - def getSegmentFlowRegime(self, int: int) -> 'PipeBeggsAndBrills.FlowRegime': ... + 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: ... @@ -280,13 +402,19 @@ class PipeBeggsAndBrills(Pipeline): @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: ... - def setConstantSurfaceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCalculationMode( + self, calculationMode: "PipeBeggsAndBrills.CalculationMode" + ) -> None: ... + 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 setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeatTransferMode(self, heatTransferMode: 'PipeBeggsAndBrills.HeatTransferMode') -> 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: ... @@ -297,12 +425,18 @@ class PipeBeggsAndBrills(Pipeline): @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: ... + 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 setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeWallThermalConductivity(self, double: float) -> None: ... def setRunIsothermal(self, boolean: bool) -> None: ... def setThickness(self, double: float) -> None: ... @@ -310,63 +444,95 @@ class PipeBeggsAndBrills(Pipeline): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - 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) # + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeBeggsAndBrills.HeatTransferMode": ... @staticmethod - def values() -> typing.MutableSequence['PipeBeggsAndBrills.HeatTransferMode']: ... + def values() -> ( + typing.MutableSequence["PipeBeggsAndBrills.HeatTransferMode"] + ): ... 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 __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: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOutPressure(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... @@ -374,22 +540,30 @@ 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 __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 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 setCorrelationType( + self, correlationType: "TubingPerformance.CorrelationType" + ) -> None: ... def setDiameter(self, double: float) -> None: ... def setFormationThermalConductivity(self, double: float) -> None: ... def setGeothermalGradient(self, double: float) -> None: ... @@ -400,59 +574,87 @@ class TubingPerformance(Pipeline): 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubingPerformance.TemperatureModel": ... @staticmethod - def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... + 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 getAccumulationTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getAccumulationTracker( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... def getDiameter(self) -> float: ... def getDistanceToHydrateRisk(self) -> float: ... def getFirstHydrateRiskSection(self) -> int: ... - def getFlowRegimeProfile(self) -> typing.MutableSequence[jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime]: ... + 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 getInsulationType(self) -> 'TwoFluidPipe.InsulationType': ... + def getInsulationType(self) -> "TwoFluidPipe.InsulationType": ... def getLastSlugArrivalTime(self) -> float: ... def getLength(self) -> float: ... def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getLiquidInventory(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLiquidInventory( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... def getMaxSimulationTime(self) -> float: ... def getMaxSlugLengthAtOutlet(self) -> float: ... @@ -467,14 +669,18 @@ class TwoFluidPipe(Pipeline): def getRoughness(self) -> float: ... def getSimulationTime(self) -> float: ... def getSlugStatisticsSummary(self) -> java.lang.String: ... - def getSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... + def getSlugTracker( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... 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 getTemperatureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getTotalSlugVolumeAtOutlet(self) -> float: ... def getWallTemperatureProfile(self) -> typing.MutableSequence[float]: ... def getWallThickness(self) -> float: ... @@ -498,68 +704,102 @@ class TwoFluidPipe(Pipeline): def runTransient(self, double: float, uUID: java.util.UUID) -> 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 setElevationProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setEnableJouleThomson(self, boolean: bool) -> None: ... def setEnableSlugTracking(self, boolean: bool) -> None: ... def setEnableWaterOilSlip(self, boolean: bool) -> 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 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 setInsulationType(self, insulationType: 'TwoFluidPipe.InsulationType') -> None: ... + def setInsulationType( + self, insulationType: "TwoFluidPipe.InsulationType" + ) -> None: ... def setLength(self, double: float) -> None: ... def setMaxSimulationTime(self, double: float) -> None: ... def setNumberOfSections(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: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRoughness(self, double: float) -> None: ... def setSoilThermalResistance(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 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 setThermodynamicUpdateInterval(self, int: int) -> 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + 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"] = ... + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoFluidPipe.InsulationType": ... @staticmethod - def values() -> typing.MutableSequence['TwoFluidPipe.InsulationType']: ... + def values() -> typing.MutableSequence["TwoFluidPipe.InsulationType"]: ... 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 __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: ... @@ -570,12 +810,18 @@ 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 __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 calcJoukowskyPressureSurge( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def getCurrentTime(self) -> float: ... def getDiameter(self) -> float: ... def getFlowProfile(self) -> typing.MutableSequence[float]: ... @@ -597,7 +843,9 @@ class WaterHammerPipe(Pipeline): @typing.overload def getPressureProfile(self) -> typing.MutableSequence[float]: ... @typing.overload - def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getPressureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getTimeHistory(self) -> java.util.List[float]: ... def getValveOpening(self) -> float: ... def getVelocityProfile(self) -> typing.MutableSequence[float]: ... @@ -617,53 +865,76 @@ class WaterHammerPipe(Pipeline): @typing.overload def setDiameter(self, double: float) -> None: ... @typing.overload - def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setDownstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... + def setDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDownstreamBoundary( + self, boundaryType: "WaterHammerPipe.BoundaryType" + ) -> 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 setLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... def setPipeElasticModulus(self, double: float) -> None: ... def setRoughness(self, double: float) -> None: ... - def setUpstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... + def setUpstreamBoundary( + self, boundaryType: "WaterHammerPipe.BoundaryType" + ) -> None: ... def setValveOpening(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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WaterHammerPipe.BoundaryType": ... @staticmethod - def values() -> typing.MutableSequence['WaterHammerPipe.BoundaryType']: ... + 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 addFitting(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addFittingFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + 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 calcPressureOut(self) -> float: ... def getTotalEqLenth(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 setTotalEqLenth(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi index 3b90303b..643b737a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,16 +18,47 @@ import jneqsim.process.equipment.stream 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: ... + 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 = ... @@ -37,6 +68,7 @@ class DriftFluxModel(java.io.Serializable): voidFraction: float = ... liquidHoldup: float = ... def __init__(self): ... + class EnergyEquationResult(java.io.Serializable): newTemperature: float = ... jouleThomsonDeltaT: float = ... @@ -51,42 +83,79 @@ 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 __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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EntrainmentDeposition.EntrainmentModel": ... @staticmethod - def values() -> typing.MutableSequence['EntrainmentDeposition.EntrainmentModel']: ... + def values() -> ( + typing.MutableSequence["EntrainmentDeposition.EntrainmentModel"] + ): ... + class EntrainmentResult(java.io.Serializable): entrainmentRate: float = ... depositionRate: float = ... @@ -100,7 +169,16 @@ class EntrainmentDeposition(java.io.Serializable): 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 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: ... @@ -110,45 +188,83 @@ class FlashTable(java.io.Serializable): 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 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 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRegimeDetector.DetectionMethod": ... @staticmethod - def values() -> typing.MutableSequence['FlowRegimeDetector.DetectionMethod']: ... + def values() -> ( + typing.MutableSequence["FlowRegimeDetector.DetectionMethod"] + ): ... 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 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 getOverflowingZones( + self, + ) -> java.util.List["LiquidAccumulationTracker.AccumulationZone"]: ... def getTotalAccumulatedVolume(self) -> float: ... - def identifyAccumulationZones(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> None: ... + 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: ... + def updateAccumulation( + self, + pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray], + double: float, + ) -> None: ... + class AccumulationZone(java.io.Serializable): startPosition: float = ... endPosition: float = ... @@ -162,6 +278,7 @@ class LiquidAccumulationTracker(java.io.Serializable): timeSinceSlug: float = ... sectionIndices: java.util.List = ... def __init__(self): ... + class SlugCharacteristics(java.io.Serializable): frontPosition: float = ... tailPosition: float = ... @@ -177,8 +294,10 @@ 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 __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]: ... @@ -186,7 +305,7 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): def getEffectiveLiquidHoldup(self) -> float: ... def getEffectiveMixtureDensity(self) -> float: ... def getElevation(self) -> float: ... - def getFlowRegime(self) -> 'PipeSection.FlowRegime': ... + def getFlowRegime(self) -> "PipeSection.FlowRegime": ... def getFrictionPressureGradient(self) -> float: ... def getGasDensity(self) -> float: ... def getGasEnthalpy(self) -> float: ... @@ -224,9 +343,14 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): 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 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 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: ... @@ -255,49 +379,66 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeSection.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['PipeSection.FlowRegime']: ... + 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 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 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 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 = ... @@ -325,10 +466,16 @@ class ThermodynamicCoupling(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcMassTransferRate(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 calcMassTransferRate( + 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: ... @@ -338,10 +485,18 @@ class ThermodynamicCoupling(java.io.Serializable): 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 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: ... + 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 = ... @@ -368,15 +523,28 @@ class ThermodynamicCoupling(java.io.Serializable): class ThreeFluidConservationEquations(java.io.Serializable): def __init__(self): ... - def calcRHS(self, threeFluidSection: 'ThreeFluidSection', double: float, threeFluidSection2: 'ThreeFluidSection', threeFluidSection3: 'ThreeFluidSection') -> 'ThreeFluidConservationEquations.ThreeFluidRHS': ... + 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 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 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 = ... @@ -392,13 +560,20 @@ class ThreeFluidConservationEquations(java.io.Serializable): oilWaterInterfacialShear: float = ... def __init__(self): ... -class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.pipeline.PipeLineInterface): +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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAccumulationTracker(self) -> LiquidAccumulationTracker: ... def getAmbientTemperature(self) -> float: ... def getCalculationIdentifier(self) -> java.util.UUID: ... @@ -417,7 +592,9 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def getOverallHeatTransferCoeff(self) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeElasticity(self) -> float: ... - def getPressureHistory(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureHistory( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPressureProfile(self) -> typing.MutableSequence[float]: ... def getRoughness(self) -> float: ... def getSections(self) -> typing.MutableSequence[PipeSection]: ... @@ -441,52 +618,84 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def setCalculationIdentifier(self, uUID: java.util.UUID) -> 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 setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInclinationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setElevationProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> 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 setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletBoundaryCondition( + self, boundaryCondition: "TransientPipe.BoundaryCondition" + ) -> None: ... def setInletMassFlow(self, double: float) -> None: ... def setInletPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setLength(self, double: float) -> None: ... def setMaxSimulationTime(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... def setNumberOfSections(self, int: int) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOutletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... + def setOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOutletBoundaryCondition( + self, boundaryCondition: "TransientPipe.BoundaryCondition" + ) -> None: ... def setOutletMassFlow(self, double: float) -> None: ... 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 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeDiameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setRoughness(self, double: float) -> None: ... def setThermodynamicUpdateInterval(self, int: int) -> None: ... def setUpdateThermodynamics(self, boolean: bool) -> 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TransientPipe.BoundaryCondition": ... @staticmethod - def values() -> typing.MutableSequence['TransientPipe.BoundaryCondition']: ... + def values() -> typing.MutableSequence["TransientPipe.BoundaryCondition"]: ... class TwoFluidConservationEquations(java.io.Serializable): NUM_EQUATIONS: typing.ClassVar[int] = ... @@ -499,18 +708,60 @@ class TwoFluidConservationEquations(java.io.Serializable): 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 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 getFluxCalculator( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.AUSMPlusFluxCalculator + ): ... def getHeatTransferCoefficient(self) -> float: ... - def getInterfacialFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.InterfacialFriction: ... + 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 getReconstructor( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.MUSCLReconstructor + ): ... def getSurfaceTemperature(self) -> float: ... - def getWallFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... + def getWallFriction( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... def isEnableWaterOilSlip(self) -> bool: ... def isHeatTransferEnabled(self) -> bool: ... def isIncludeEnergyEquation(self) -> bool: ... @@ -527,13 +778,15 @@ class TwoFluidSection(PipeSection): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + 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 clone(self) -> "TwoFluidSection": ... def extractPrimitiveVariables(self) -> None: ... @staticmethod - def fromPipeSection(pipeSection: PipeSection) -> 'TwoFluidSection': ... + def fromPipeSection(pipeSection: PipeSection) -> "TwoFluidSection": ... def getEnergyPerLength(self) -> float: ... def getEnergySource(self) -> float: ... def getGasHydraulicDiameter(self) -> float: ... @@ -595,7 +848,9 @@ class TwoFluidSection(PipeSection): def setOilMomentumPerLength(self, double: float) -> None: ... def setOilVelocity(self, double: float) -> None: ... def setOilViscosity(self, double: float) -> None: ... - def setStateVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStateVector( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setStratifiedLiquidLevel(self, double: float) -> None: ... def setWaterCut(self, double: float) -> None: ... def setWaterDensity(self, double: float) -> None: ... @@ -616,8 +871,10 @@ class ThreeFluidSection(TwoFluidSection, java.lang.Cloneable, java.io.Serializab @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 __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: ... @@ -675,7 +932,6 @@ class ThreeFluidSection(TwoFluidSection, java.lang.Cloneable, java.io.Serializab 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")``. @@ -693,4 +949,6 @@ class __module_protocol__(Protocol): 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__ + numerics: ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi index 2c162846..b1da4a66 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,28 @@ import java.io 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: ... + 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 = ... @@ -35,8 +46,33 @@ class GeometryCalculator(java.io.Serializable): class InterfacialFriction(java.io.Serializable): def __init__(self): ... - 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': ... + 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 = ... @@ -46,11 +82,28 @@ class InterfacialFriction(java.io.Serializable): 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 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 = ... @@ -60,7 +113,6 @@ class WallFriction(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi index 079f096a..7a83432c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,30 +10,52 @@ 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 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 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 = ... @@ -44,10 +66,19 @@ class AUSMPlusFluxCalculator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + 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' = ... + gasFlux: "AUSMPlusFluxCalculator.PhaseFlux" = ... + liquidFlux: "AUSMPlusFluxCalculator.PhaseFlux" = ... interfaceMach: float = ... def __init__(self): ... @@ -55,83 +86,150 @@ class MUSCLReconstructor(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, slopeLimiter: 'MUSCLReconstructor.SlopeLimiter'): ... + 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MUSCLReconstructor.SlopeLimiter": ... @staticmethod - def values() -> typing.MutableSequence['MUSCLReconstructor.SlopeLimiter']: ... + 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 __init__(self, method: "TimeIntegrator.Method"): ... def advanceTime(self, double: float) -> None: ... 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 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 getMethod(self) -> "TimeIntegrator.Method": ... def getMinTimeStep(self) -> float: ... def reset(self) -> None: ... def setCflNumber(self, double: float) -> None: ... def setCurrentTime(self, double: float) -> None: ... def setMaxTimeStep(self, double: float) -> None: ... - def setMethod(self, method: 'TimeIntegrator.Method') -> 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 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + 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 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"] = ... + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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]]: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi index d7545e9d..bed3627d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,15 +14,18 @@ import jneqsim.process.mechanicaldesign.compressor import jneqsim.thermo.system import typing - - 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 __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 getOxidantStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -32,7 +35,9 @@ class FuelCell(jneqsim.process.equipment.TwoPortEquipment): @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: ... + def setOxidantStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class GasTurbine(jneqsim.process.equipment.TwoPortEquipment): thermoSystem: jneqsim.thermo.system.SystemInterface = ... @@ -45,16 +50,24 @@ class GasTurbine(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcIdealAirFuelRatio(self) -> float: ... def getHeat(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... def getPower(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: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class SolarPanel(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -62,7 +75,13 @@ class SolarPanel(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, double2: float, double3: float): ... + 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: ... @@ -91,7 +110,6 @@ class WindTurbine(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi index b68e42cb..7a6a72a1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,18 +16,30 @@ 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 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 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 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: ... @@ -42,10 +54,30 @@ class PumpChartInterface(java.lang.Cloneable): 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 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 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: ... @@ -61,9 +93,18 @@ class PumpCurve(java.io.Serializable): @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]): ... + 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): +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: ... @@ -82,14 +123,20 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calculateAsCompressor(self, boolean: bool) -> None: ... def displayResult(self) -> None: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getDuty(self) -> float: ... def getEnergy(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getIsentropicEfficiency(self) -> float: ... def getMinimumFlow(self) -> float: ... def getMolarFlow(self) -> float: ... @@ -119,34 +166,54 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface): @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + 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 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: ... + 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 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 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 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: ... @@ -164,12 +231,34 @@ class PumpChart(PumpChartInterface, java.io.Serializable): def isUsePumpChart(self) -> bool: ... def isUseViscosityCorrection(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 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 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: ... @@ -177,16 +266,27 @@ class PumpChart(PumpChartInterface, java.io.Serializable): def setUseViscosityCorrection(self, boolean: bool) -> None: ... def useRealKappa(self) -> bool: ... -class PumpChartAlternativeMapLookupExtrapolate(jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, PumpChartInterface): +class PumpChartAlternativeMapLookupExtrapolate( + jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, + PumpChartInterface, +): def __init__(self): ... - def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> 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 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 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: ... @@ -198,7 +298,12 @@ class PumpChartAlternativeMapLookupExtrapolate(jneqsim.process.equipment.compres 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 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: ... @@ -208,7 +313,11 @@ 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 __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: ... @@ -233,14 +342,15 @@ class ESPPump(Pump): def setNumberOfStages(self, int: int) -> None: ... def setSurgingGVF(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] Pump: typing.Type[Pump] PumpChart: typing.Type[PumpChart] - PumpChartAlternativeMapLookupExtrapolate: typing.Type[PumpChartAlternativeMapLookupExtrapolate] + PumpChartAlternativeMapLookupExtrapolate: typing.Type[ + PumpChartAlternativeMapLookupExtrapolate + ] PumpChartInterface: typing.Type[PumpChartInterface] PumpCurve: typing.Type[PumpCurve] PumpInterface: typing.Type[PumpInterface] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi index 65ea127c..fa2a74c6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing - - class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAirFuelRatioMass(self) -> float: ... @@ -33,60 +31,137 @@ class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): @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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FurnaceBurner.BurnerDesign": ... @staticmethod - def values() -> typing.MutableSequence['FurnaceBurner.BurnerDesign']: ... + 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): ... + 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: ... + 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 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 getConvergenceTolerance(self) -> float: ... def getDampingComposition(self) -> float: ... - def getDetailedMoleBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getDetailedMoleBalance( + self, + ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 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 getEnergyMode(self) -> "GibbsReactor.EnergyMode": ... def getEnthalpyOfReactions(self) -> float: ... def getFinalConvergenceError(self) -> float: ... - def getFugacityCoefficient(self, object: typing.Any) -> typing.MutableSequence[float]: ... + def getFugacityCoefficient( + self, object: typing.Any + ) -> typing.MutableSequence[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 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 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: ... @@ -96,7 +171,9 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): 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 getObjectiveMinimizationVectorLabels( + self, + ) -> java.util.List[java.lang.String]: ... def getOutletMole(self) -> java.util.List[float]: ... def getOutletMoles(self) -> java.util.List[float]: ... @typing.overload @@ -107,7 +184,11 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): def getUseAllDatabaseSpecies(self) -> bool: ... def hasConverged(self) -> bool: ... def isComponentInert(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def performIterationUpdate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> 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 @@ -117,13 +198,15 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setComponentAsInert(self, int: int) -> None: ... @typing.overload - def setComponentAsInert(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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 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: ... @@ -133,21 +216,51 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GibbsReactor.EnergyMode": ... @staticmethod - def values() -> typing.MutableSequence['GibbsReactor.EnergyMode']: ... + 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 __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: ... @@ -165,13 +278,16 @@ 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): ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reactor")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi index dceea0d3..6f738af8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,24 +16,34 @@ import jneqsim.thermo.system import jneqsim.util import typing - - class ReservoirCVDsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + 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): ... + 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 __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: ... @@ -41,49 +51,77 @@ class ReservoirTPsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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: ... + 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 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: ... + 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 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 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 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': ... + 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 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 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: ... + 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -92,84 +130,173 @@ class SimpleReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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: ... + 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 __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 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 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 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: ... + 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: ... + 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubingPerformance.TemperatureModel": ... @staticmethod - def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... + def values() -> ( + typing.MutableSequence["TubingPerformance.TemperatureModel"] + ): ... class Well(jneqsim.util.NamedBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -178,22 +305,34 @@ class Well(jneqsim.util.NamedBaseClass): 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: ... + 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 addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> None: ... + def addLayer( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> None: ... def getIPRTablePressures(self) -> typing.MutableSequence[float]: ... def getIPRTableRates(self) -> typing.MutableSequence[float]: ... - def getLayer(self, int: int) -> 'WellFlow.ReservoirLayer': ... - def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getLayer(self, int: int) -> "WellFlow.ReservoirLayer": ... + def getLayerFlowRates( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getNumberOfLayers(self) -> int: ... def getWellProductionIndex(self) -> float: ... def isCalculatingOutletPressure(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: ... + def loadIPRFromFile( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -202,119 +341,222 @@ class WellFlow(jneqsim.process.equipment.TwoPortEquipment): 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 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: ... @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 setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... + 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 setVogelParameters( + self, double: float, double2: float, double3: float + ) -> None: ... def setWellProductionIndex(self, double: float) -> None: ... def solveFlowFromOutletPressure(self, boolean: bool) -> None: ... - 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellFlow.InflowPerformanceModel": ... @staticmethod - def values() -> typing.MutableSequence['WellFlow.InflowPerformanceModel']: ... + def values() -> typing.MutableSequence["WellFlow.InflowPerformanceModel"]: ... + class ReservoirLayer: name: java.lang.String = ... stream: jneqsim.process.equipment.stream.StreamInterface = ... reservoirPressure: float = ... productivityIndex: float = ... calculatedRate: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ): ... 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 __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 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 getReservoirPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTubingVLP(self) -> TubingPerformance: ... - def getVLPSolverMode(self) -> 'WellSystem.VLPSolverMode': ... + def getVLPSolverMode(self) -> "WellSystem.VLPSolverMode": ... def getWellFlowIPR(self) -> WellFlow: ... - def getWellheadPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellSystem.IPRModel": ... @staticmethod - def values() -> typing.MutableSequence['WellSystem.IPRModel']: ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellSystem.VLPSolverMode": ... @staticmethod - def values() -> typing.MutableSequence['WellSystem.VLPSolverMode']: ... - + def values() -> typing.MutableSequence["WellSystem.VLPSolverMode"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reservoir")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi index a0b396e0..ce29a321 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,8 +19,6 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class SeparatorInterface(jneqsim.process.SimulationInterface): @typing.overload def getHeatInput(self) -> float: ... @@ -31,25 +29,49 @@ class SeparatorInterface(jneqsim.process.SimulationInterface): @typing.overload def setHeatInput(self, double: float) -> None: ... @typing.overload - def setHeatInput(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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 Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorInterface, jneqsim.process.ml.StateVectorProvider): +class Separator( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + SeparatorInterface, + jneqsim.process.ml.StateVectorProvider, +): numberOfInputStreams: int = ... @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 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: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + 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: ... def calcLiquidVolume(self) -> float: ... def displayResult(self) -> 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 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 getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @typing.overload @@ -58,11 +80,15 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def getDeRatedGasLoadFactor(self, int: int) -> float: ... def getDesignLiquidLevelFraction(self) -> float: ... def getEfficiency(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 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: ... @@ -85,25 +111,39 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... def getOrientation(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 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 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 getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getUnwettedArea(self) -> float: ... @@ -126,19 +166,34 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn @typing.overload def setDuty(self, double: float) -> None: ... @typing.overload - def setDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEfficiency(self, double: float) -> 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 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: ... @typing.overload def setHeatDuty(self, double: float) -> None: ... @typing.overload - def setHeatDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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 setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setHeatInput( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInternalDiameter(self, double: float) -> None: ... def setLiquidCarryoverFraction(self, double: float) -> None: ... def setLiquidLevel(self, double: float) -> None: ... @@ -149,37 +204,59 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... 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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... 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 __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: ... + 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: ... + 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 __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: ... @@ -187,37 +264,59 @@ class Hydrocyclone(Separator): 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 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 __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: ... + 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: ... + 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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getGasOutletFlowFraction(self) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @@ -239,9 +338,18 @@ class ThreePhaseSeparator(Separator): 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 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 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: ... @@ -250,14 +358,19 @@ class ThreePhaseSeparator(Separator): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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): ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi index b43c0620..78bbdec1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,20 @@ 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 __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 getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.sectiontype.SepDesignSection: ... def getMinimumLiquidSealHeight(self) -> float: ... def getOuterDiameter(self) -> float: ... def getPressureDrop(self) -> float: ... @@ -29,37 +34,80 @@ class SeparatorSection(jneqsim.util.NamedBaseClass): 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: ... + 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 __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: ... + 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 __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: ... + 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 __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: ... + 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 __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 __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: ... + 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 __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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi index 1bb50d07..aaf7ff59 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,13 +13,15 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing - - 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 __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: ... @typing.overload @@ -27,32 +29,53 @@ class ComponentSplitter(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getSplitNumber(self) -> int: ... - def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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: ... + 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: ... + 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 getSplitStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def hashCode(self) -> int: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setSplitNumber(self, int: int) -> None: ... class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInterface): @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 __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 calcSplitFactors(self) -> None: ... def displayResult(self) -> None: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -63,7 +86,9 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte 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 getSplitStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def needRecalculation(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -73,15 +98,24 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> 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 setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 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 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.splitter")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi index 7a439e77..75619111 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,14 +15,12 @@ import jneqsim.standards.gasquality import jneqsim.thermo.system 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 clone(self) -> "EnergyStream": ... def equals(self, object: typing.Any) -> bool: ... def getDuty(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -35,121 +33,239 @@ class StreamInterface(jneqsim.process.equipment.ProcessEquipmentInterface): 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: ... + def TVP( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def clone(self) -> 'StreamInterface': ... + def clone(self) -> "StreamInterface": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'StreamInterface': ... + 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 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 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: ... + 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 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 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: ... + 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: ... + 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 __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: ... + 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 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 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): +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 __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: ... + def TVP( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def clone(self) -> 'Stream': ... + def clone(self) -> "Stream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'Stream': ... + 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 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 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: ... + 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 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]]: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -160,36 +276,60 @@ class Stream(jneqsim.process.equipment.ProcessEquipmentBaseClass, StreamInterfac 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 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 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: ... + 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 toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... 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): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'EquilibriumStream': ... + def clone(self) -> "EquilibriumStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'EquilibriumStream': ... + def clone( + self, string: typing.Union[java.lang.String, str] + ) -> "EquilibriumStream": ... @typing.overload def run(self) -> None: ... @typing.overload @@ -199,13 +339,23 @@ 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): ... + 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 __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'IronIonSaturationStream': ... + def clone(self) -> "IronIonSaturationStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'IronIonSaturationStream': ... + def clone( + self, string: typing.Union[java.lang.String, str] + ) -> "IronIonSaturationStream": ... def displayResult(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -216,13 +366,21 @@ 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): ... + 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 __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'NeqStream': ... + def clone(self) -> "NeqStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'NeqStream': ... + def clone(self, string: typing.Union[java.lang.String, str]) -> "NeqStream": ... @typing.overload def run(self) -> None: ... @typing.overload @@ -232,20 +390,29 @@ 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): ... + 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 __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'ScalePotentialCheckStream': ... + def clone(self) -> "ScalePotentialCheckStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'ScalePotentialCheckStream': ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi index ecc2f48a..4397f58f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,13 +14,17 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - 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 __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 getPipeline( + self, + ) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload def run(self) -> None: ... @@ -31,16 +35,23 @@ class SimpleFlowLine(jneqsim.process.equipment.TwoPortEquipment): 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 getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getPipeline( + self, + ) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.subsea")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi index 44eff9db..a0730f17 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,14 +14,18 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class Tank(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 __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 displayResult(self) -> None: ... def getEfficiency(self) -> float: ... def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -30,7 +34,9 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -46,49 +52,79 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setEfficiency(self, double: float) -> None: ... def setGasCarryunderFraction(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setLiquidCarryoverFraction(self, double: float) -> None: ... - def setOutComposition(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 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 toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... 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 __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 clearHistory(self) -> None: ... @staticmethod - def createTwoPhaseFluid(string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + 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 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 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 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 getFireHeatInput( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFlareHeaderMach(self, double: float) -> float: ... - def getFlareHeaderVelocity(self, double: float, string: typing.Union[java.lang.String, str]) -> 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 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]: ... @@ -97,11 +133,17 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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 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 getPeakDischargeRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPeakOutletLiquidFraction(self) -> float: ... @typing.overload def getPressure(self) -> float: ... @@ -116,7 +158,9 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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 getTotalMassDischarged( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getVaporFraction(self) -> float: ... def getVentTemperature(self) -> float: ... def getVolume(self) -> float: ... @@ -129,101 +173,165 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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]: ... + 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': ... + def runSimulation( + self, double: float, double2: float + ) -> "VesselDepressurization.SimulationResult": ... @typing.overload - def runSimulation(self, double: float, double2: float, int: int) -> 'VesselDepressurization.SimulationResult': ... + 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 setCalculationType(self, calculationType: 'VesselDepressurization.CalculationType') -> 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 setFireHeatFlux( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFixedQ(self, double: float) -> None: ... def setFixedU(self, double: float) -> None: ... - def setFlowDirection(self, flowDirection: 'VesselDepressurization.FlowDirection') -> None: ... - def setHeatTransferType(self, heatTransferType: 'VesselDepressurization.HeatTransferType') -> None: ... + def setFlowDirection( + self, flowDirection: "VesselDepressurization.FlowDirection" + ) -> None: ... + def setHeatTransferType( + self, heatTransferType: "VesselDepressurization.HeatTransferType" + ) -> None: ... def setInitialLiquidLevel(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setLinerMaterial(self, double: float, linerMaterial: 'VesselDepressurization.LinerMaterial') -> None: ... - def setLinerProperties(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.CalculationType": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.CalculationType']: ... - class FlowDirection(java.lang.Enum['VesselDepressurization.FlowDirection']): - DISCHARGE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... - FILLING: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["VesselDepressurization.CalculationType"] + ): ... + + class FlowDirection(java.lang.Enum["VesselDepressurization.FlowDirection"]): + DISCHARGE: typing.ClassVar["VesselDepressurization.FlowDirection"] = ... + FILLING: 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.LinerMaterial": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.LinerMaterial']: ... + def values() -> ( + typing.MutableSequence["VesselDepressurization.LinerMaterial"] + ): ... + class SimulationResult: def getEndTime(self) -> float: ... def getFinalPressure(self) -> float: ... @@ -245,40 +353,55 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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'] = ... + + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.VesselOrientation": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.VesselOrientation']: ... - + def values() -> ( + typing.MutableSequence["VesselDepressurization.VesselOrientation"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.tank")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi index 3999d113..8307c6bf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,21 +20,23 @@ import jneqsim.process.util.uncertainty import jneqsim.thermo.system 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AccelerationMethod": ... @staticmethod - def values() -> typing.MutableSequence['AccelerationMethod']: ... + def values() -> typing.MutableSequence["AccelerationMethod"]: ... class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -45,44 +47,133 @@ class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getTolerance(self) -> float: ... def isActivateWhenLess(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 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 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 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], 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 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], + 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: ... @@ -91,10 +182,16 @@ class BroydenAccelerator(java.io.Serializable): 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 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 getInverseJacobian( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getIterationCount(self) -> int: ... def getMaxStepSize(self) -> float: ... def getRelaxationFactor(self) -> float: ... @@ -108,47 +205,108 @@ class BroydenAccelerator(java.io.Serializable): 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: ... + 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: ... + 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: @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]: ... + 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]: ... + 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]: ... + 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]: ... + 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + 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"] = ... + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CalculatorLibrary.Preset": ... @staticmethod - def values() -> typing.MutableSequence['CalculatorLibrary.Preset']: ... + def values() -> typing.MutableSequence["CalculatorLibrary.Preset"]: ... class FlowRateAdjuster(jneqsim.process.equipment.TwoPortEquipment): desiredGasFlow: float = ... @@ -157,35 +315,73 @@ class FlowRateAdjuster(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 __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: ... + 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 __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: ... + 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: ... + 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 GORfitter(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 @@ -205,24 +401,38 @@ class GORfitter(jneqsim.process.equipment.TwoPortEquipment): 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: ... + 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 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: ... + 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): ... + 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 __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def getGFV(self) -> float: ... def getGOR(self) -> float: ... @typing.overload @@ -243,35 +453,63 @@ class MPFMfitter(jneqsim.process.equipment.TwoPortEquipment): 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: ... + 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: ... + 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: ... + 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 __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: ... + 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 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 __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: ... @@ -287,7 +525,9 @@ class NeqSimUnit(jneqsim.process.equipment.TwoPortEquipment): 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 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: ... @@ -296,16 +536,27 @@ 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): ... + 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: ... + def setPressureDrop( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... -class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.equipment.mixer.MixerInterface): +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 addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def compositionBalanceCheck(self) -> float: ... def displayResult(self) -> None: ... @@ -328,7 +579,9 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getPriority(self) -> int: ... - def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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: ... @@ -336,11 +589,17 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def getWegsteinQMax(self) -> float: ... def getWegsteinQMin(self) -> float: ... def guessTemperature(self) -> float: ... - def initiateDownstreamProperties(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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 replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def resetAccelerationState(self) -> None: ... def resetIterations(self) -> None: ... @typing.overload @@ -351,16 +610,22 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def setCompositionTolerance(self, double: float) -> None: ... def setDownstreamProperties(self) -> None: ... @typing.overload - def setDownstreamProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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 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 setMinimumFlow(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setPressure(self, double: float) -> None: ... def setPriority(self, int: int) -> None: ... def setTemperature(self, double: float) -> None: ... @@ -374,7 +639,9 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class RecycleController(java.io.Serializable): def __init__(self): ... @@ -383,14 +650,18 @@ class RecycleController(java.io.Serializable): 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 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 getTearStreamSensitivityMatrix( + self, + ) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... def getTearStreamVariableNames(self) -> java.util.List[java.lang.String]: ... def getTotalIterations(self) -> int: ... def hasHigherPriorityLevel(self) -> bool: ... @@ -407,7 +678,9 @@ class RecycleController(java.io.Serializable): @typing.overload def setAccelerationMethod(self, accelerationMethod: AccelerationMethod) -> None: ... @typing.overload - def setAccelerationMethod(self, accelerationMethod: AccelerationMethod, int: int) -> None: ... + def setAccelerationMethod( + self, accelerationMethod: AccelerationMethod, int: int + ) -> None: ... def setCurrentPriorityLevel(self, int: int) -> None: ... def setUseCoordinatedAcceleration(self, boolean: bool) -> None: ... def solvedAll(self) -> bool: ... @@ -419,50 +692,121 @@ class SetPoint(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], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface): ... + 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: ... + 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: ... + 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]]: ... + 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: ... + 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 StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 @@ -470,20 +814,28 @@ class StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): @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 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 __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: ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi index 7615fbc3..7fa08bdd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,9 +16,10 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - -class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +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: ... @@ -31,7 +32,7 @@ class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsi def getPercentValveOpening(self) -> float: ... def getTargetPercentValveOpening(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getTravelModel(self) -> 'ValveTravelModel': ... + def getTravelModel(self) -> "ValveTravelModel": ... def getTravelTime(self) -> float: ... def getTravelTimeConstant(self) -> float: ... def hashCode(self) -> int: ... @@ -40,35 +41,43 @@ class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsi @typing.overload def setCv(self, double: float) -> None: ... @typing.overload - def setCv(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ValveTravelModel": ... @staticmethod - def values() -> typing.MutableSequence['ValveTravelModel']: ... + def values() -> typing.MutableSequence["ValveTravelModel"]: ... class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcKv(self) -> None: ... def calculateMolarFlow(self) -> float: ... def calculateOutletPressure(self, double: float) -> float: ... @@ -84,20 +93,30 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @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 getDeltaPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + 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 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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... def getOpeningTravelTime(self) -> float: ... def getOutletPressure(self) -> float: ... def getPercentValveOpening(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getTargetPercentValveOpening(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTravelModel(self) -> ValveTravelModel: ... @@ -127,8 +146,12 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @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 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: ... @@ -140,12 +163,16 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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 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: ... @@ -154,13 +181,19 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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 __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: ... @@ -179,7 +212,11 @@ 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 __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 @@ -193,14 +230,22 @@ 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 __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 __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: ... @@ -226,18 +271,29 @@ 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 __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 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 getVotingLogic(self) -> "HIPPSValve.VotingLogic": ... def hasTripped(self) -> bool: ... def isPartialStrokeTestActive(self) -> bool: ... def isProofTestDue(self) -> bool: ... @@ -245,7 +301,10 @@ class HIPPSValve(ThrottlingValve): def performPartialStrokeTest(self, double: float) -> None: ... def performProofTest(self) -> None: ... def recordSpuriousTrip(self) -> None: ... - def removePressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def removePressureTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def reset(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @@ -256,35 +315,50 @@ class HIPPSValve(ThrottlingValve): 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 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'] = ... + + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HIPPSValve.VotingLogic": ... @staticmethod - def values() -> typing.MutableSequence['HIPPSValve.VotingLogic']: ... + 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 __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 getPressureTransmitter( + self, + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def hasTripped(self) -> bool: ... def isTripEnabled(self) -> bool: ... - def linkToPressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def linkToPressureTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def reset(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @@ -299,7 +373,11 @@ 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 __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: ... @@ -319,22 +397,30 @@ 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 __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 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 getValveType(self) -> "SafetyReliefValve.ValveType": ... def initMechanicalDesign(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -352,120 +438,184 @@ class SafetyReliefValve(ThrottlingValve): 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyReliefValve.ValveType": ... @staticmethod - def values() -> typing.MutableSequence['SafetyReliefValve.ValveType']: ... + 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 __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 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyValve.FluidService": ... @staticmethod - def values() -> typing.MutableSequence['SafetyValve.FluidService']: ... + 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 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 getRelievingStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getSetPressure(self) -> java.util.Optional[float]: ... - def getSizingStandard(self) -> 'SafetyValve.SizingStandard': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyValve.SizingStandard": ... @staticmethod - def values() -> typing.MutableSequence['SafetyValve.SizingStandard']: ... + 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 __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: ... @@ -477,32 +627,44 @@ class LevelControlValve(ControlValve): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAutoMode(self, boolean: bool) -> None: ... - def setControlAction(self, controlAction: 'LevelControlValve.ControlAction') -> 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LevelControlValve.ControlAction": ... @staticmethod - def values() -> typing.MutableSequence['LevelControlValve.ControlAction']: ... + 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 __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 getControlMode(self) -> "PressureControlValve.ControlMode": ... def getControllerGain(self) -> float: ... def getPressureSetpoint(self) -> float: ... def getProcessVariable(self) -> float: ... @@ -512,24 +674,31 @@ class PressureControlValve(ControlValve): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAutoMode(self, boolean: bool) -> None: ... - def setControlMode(self, controlMode: 'PressureControlValve.ControlMode') -> 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PressureControlValve.ControlMode": ... @staticmethod - def values() -> typing.MutableSequence['PressureControlValve.ControlMode']: ... - + def values() -> typing.MutableSequence["PressureControlValve.ControlMode"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.valve")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi index c94eaa47..7766f1a2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi index c126383c..688c6dda 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,10 +12,27 @@ 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 __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]: ... @@ -30,35 +47,54 @@ class AllocationResult(java.io.Serializable): 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 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 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellProductionAllocator.AllocationMethod": ... @staticmethod - def values() -> typing.MutableSequence['WellProductionAllocator.AllocationMethod']: ... + 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: ... @@ -76,11 +112,16 @@ class WellProductionAllocator(java.io.Serializable): 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi index 7836cd30..2f38feb0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,7 +11,6 @@ import jneqsim.process.fielddevelopment.facility import jneqsim.process.fielddevelopment.screening import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi index 2df9cdd8..5e165ff7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,29 +10,34 @@ import java.lang import java.util import typing - - class FieldConcept(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... + 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': ... + 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 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 getInfrastructure(self) -> "InfrastructureInput": ... def getName(self) -> java.lang.String: ... def getProductionRateUnit(self) -> java.lang.String: ... - def getReservoir(self) -> 'ReservoirInput': ... + 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 getWells(self) -> "WellsInput": ... def hasWaterInjection(self) -> bool: ... def hashCode(self) -> int: ... def isSubseaTieback(self) -> bool: ... @@ -42,32 +47,48 @@ class FieldConcept(java.io.Serializable): def needsH2STreatment(self) -> bool: ... @typing.overload @staticmethod - def oilDevelopment(string: typing.Union[java.lang.String, str]) -> 'FieldConcept': ... + 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 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': ... + 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 InfrastructureInput(java.io.Serializable): @staticmethod - def builder() -> 'InfrastructureInput.Builder': ... + 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 getExportType(self) -> "InfrastructureInput.ExportType": ... def getHostCapacityAvailable(self) -> float: ... - def getPowerSupply(self) -> 'InfrastructureInput.PowerSupply': ... - def getProcessingLocation(self) -> 'InfrastructureInput.ProcessingLocation': ... + def getPowerSupply(self) -> "InfrastructureInput.PowerSupply": ... + def getProcessingLocation(self) -> "InfrastructureInput.ProcessingLocation": ... def getTiebackLength(self) -> float: ... def getTiebackLengthKm(self) -> float: ... def getWaterDepth(self) -> float: ... @@ -78,80 +99,113 @@ class InfrastructureInput(java.io.Serializable): def isInsulatedFlowline(self) -> bool: ... def isLongTieback(self) -> bool: ... @staticmethod - def subseaTieback() -> 'InfrastructureInput.Builder': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InfrastructureInput.ProcessingLocation": ... @staticmethod - def values() -> typing.MutableSequence['InfrastructureInput.ProcessingLocation']: ... + def values() -> ( + typing.MutableSequence["InfrastructureInput.ProcessingLocation"] + ): ... class ReservoirInput(java.io.Serializable): @staticmethod - def blackOil() -> 'ReservoirInput.Builder': ... + def blackOil() -> "ReservoirInput.Builder": ... @staticmethod - def builder() -> 'ReservoirInput.Builder': ... + def builder() -> "ReservoirInput.Builder": ... @staticmethod - def gasCondensate() -> 'ReservoirInput.Builder': ... + 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 getFluidType(self) -> "ReservoirInput.FluidType": ... def getGasGravity(self) -> float: ... def getGor(self) -> float: ... def getGorUnit(self) -> java.lang.String: ... @@ -168,54 +222,67 @@ class ReservoirInput(java.io.Serializable): def isHighCO2(self) -> bool: ... def isSour(self) -> bool: ... @staticmethod - def leanGas() -> 'ReservoirInput.Builder': ... + def leanGas() -> "ReservoirInput.Builder": ... @staticmethod - def richGas() -> 'ReservoirInput.Builder': ... + 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': ... + 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': ... + 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 reservoirPressure(self, double: float) -> 'ReservoirInput.Builder': ... - def reservoirTemperature(self, double: float) -> '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) # + 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 reservoirPressure(self, double: float) -> "ReservoirInput.Builder": ... + def reservoirTemperature(self, double: float) -> "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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservoirInput.FluidType": ... @staticmethod - def values() -> typing.MutableSequence['ReservoirInput.FluidType']: ... + def values() -> typing.MutableSequence["ReservoirInput.FluidType"]: ... class WellsInput(java.io.Serializable): @staticmethod - def builder() -> 'WellsInput.Builder': ... - def getCompletionType(self) -> 'WellsInput.CompletionType': ... + 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 getProducerType(self) -> "WellsInput.WellType": ... def getProductivityIndex(self) -> float: ... def getRatePerWell(self) -> float: ... def getRatePerWellSm3d(self) -> float: ... @@ -230,48 +297,70 @@ class WellsInput(java.io.Serializable): 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellsInput.WellType": ... @staticmethod - def values() -> typing.MutableSequence['WellsInput.WellType']: ... - + def values() -> typing.MutableSequence["WellsInput.WellType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.concept")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi index 96a3e808..d85a2563 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,35 +14,45 @@ import jneqsim.process.fielddevelopment.facility import jneqsim.process.fielddevelopment.screening 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 __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': ... + 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 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 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 getViableConcepts(self) -> java.util.List["ConceptKPIs"]: ... def toString(self) -> java.lang.String: ... + class ProgressListener: def onProgress(self, int: int, int2: int) -> None: ... @@ -50,16 +60,32 @@ 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): ... + 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': ... + 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': ... + 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 builder( + string: typing.Union[java.lang.String, str] + ) -> "ConceptKPIs.Builder": ... def getAnnualEmissionsTonnes(self) -> float: ... def getAnnualOpexMUSD(self) -> float: ... def getBlowdownTimeMinutes(self) -> float: ... @@ -67,15 +93,27 @@ class ConceptKPIs(java.io.Serializable): def getCo2IntensityKgPerBoe(self) -> float: ... def getConceptName(self) -> java.lang.String: ... def getEconomicScore(self) -> float: ... - def getEconomicsReport(self) -> jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport: ... + 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 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 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]: ... @@ -83,8 +121,12 @@ class ConceptKPIs(java.io.Serializable): 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 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: ... @@ -92,37 +134,66 @@ class ConceptKPIs(java.io.Serializable): 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': ... - + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.evaluation")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi index acb1aaff..be60dde9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,100 +11,122 @@ import java.util import jneqsim.process.fielddevelopment.concept import typing - - class BlockConfig(java.io.Serializable): @staticmethod - def co2Amine(double: float) -> 'BlockConfig': ... + def co2Amine(double: float) -> "BlockConfig": ... @staticmethod - def co2Membrane(double: float) -> 'BlockConfig': ... + def co2Membrane(double: float) -> "BlockConfig": ... @typing.overload @staticmethod - def compression(int: int) -> 'BlockConfig': ... + 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 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: ... + _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': ... + def getType(self) -> "BlockType": ... @staticmethod - def inletSeparation(double: float, double2: float) -> 'BlockConfig': ... + def inletSeparation(double: float, double2: float) -> "BlockConfig": ... @typing.overload @staticmethod - def of(blockType: 'BlockType') -> 'BlockConfig': ... + def of(blockType: "BlockType") -> "BlockConfig": ... @typing.overload @staticmethod - def of(blockType: 'BlockType', string: typing.Union[java.lang.String, str]) -> 'BlockConfig': ... + 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': ... + 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': ... + def oilStabilization(int: int, double: float) -> "BlockConfig": ... @staticmethod - def tegDehydration(double: float) -> 'BlockConfig': ... + 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "BlockType": ... @staticmethod - def values() -> typing.MutableSequence['BlockType']: ... + def values() -> typing.MutableSequence["BlockType"]: ... class FacilityBuilder(java.io.Serializable): @typing.overload - def addBlock(self, blockConfig: BlockConfig) -> 'FacilityBuilder': ... + 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': ... + 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': ... + def addCompression(self, int: int) -> "FacilityBuilder": ... @typing.overload - def addCompression(self, int: int, double: float) -> 'FacilityBuilder': ... - def addTegDehydration(self, double: float) -> 'FacilityBuilder': ... + 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': ... + 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': ... + 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: ... @@ -123,7 +145,6 @@ class FacilityConfig(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi index 43fd794d..e24ee3fe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,15 +12,20 @@ import jneqsim.process.fielddevelopment.concept import jneqsim.process.fielddevelopment.facility import typing - - class EconomicsEstimator: def __init__(self): ... - def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EconomicsEstimator.EconomicsReport': ... - def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EconomicsEstimator.EconomicsReport': ... + def estimate( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> "EconomicsEstimator.EconomicsReport": ... + def quickEstimate( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "EconomicsEstimator.EconomicsReport": ... + class EconomicsReport(java.io.Serializable): @staticmethod - def builder() -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def builder() -> "EconomicsEstimator.EconomicsReport.Builder": ... def getAccuracyRangePercent(self) -> float: ... def getAnnualOpexMUSD(self) -> float: ... def getCapexBreakdown(self) -> java.util.Map[java.lang.String, float]: ... @@ -36,28 +41,58 @@ class EconomicsEstimator: 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': ... + 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 quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EmissionsTracker.EmissionsReport': ... + def estimate( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> "EmissionsTracker.EmissionsReport": ... + def quickEstimate( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "EmissionsTracker.EmissionsReport": ... + class EmissionsReport(java.io.Serializable): @staticmethod - def builder() -> 'EmissionsTracker.EmissionsReport.Builder': ... + def builder() -> "EmissionsTracker.EmissionsReport.Builder": ... def getEmissionSources(self) -> java.util.Map[java.lang.String, float]: ... def getFlaringEmissionsTonnesPerYear(self) -> float: ... def getFugitiveEmissionsTonnesPerYear(self) -> float: ... @@ -70,89 +105,148 @@ class EmissionsTracker: 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': ... + 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 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 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 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 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 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowAssuranceResult": ... @staticmethod - def values() -> typing.MutableSequence['FlowAssuranceResult']: ... + 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: ... + 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 SafetyReport(java.io.Serializable): @staticmethod - def builder() -> 'SafetyReport.Builder': ... + def builder() -> "SafetyReport.Builder": ... def getEstimatedBlowdownTimeMinutes(self) -> float: ... def getInventoryTonnes(self) -> float: ... def getMinimumMetalTempC(self) -> float: ... - def getOverallLevel(self) -> 'SafetyReport.SafetyLevel': ... + 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]: ... @@ -162,40 +256,60 @@ class SafetyReport(java.io.Serializable): 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyReport.SafetyLevel": ... @staticmethod - def values() -> typing.MutableSequence['SafetyReport.SafetyLevel']: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi index 84794a8a..4eedb390 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.process.integration.ml import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi index 6a2b3479..9a067c81 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,71 +11,142 @@ 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]] = ... + 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: ... + 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]: ... + 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]: ... + def extractMinimalFeatures( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> typing.MutableSequence[float]: ... @staticmethod - def extractStandardFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[float]: ... + 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]: ... + 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]: ... + 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 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 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: ... + 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'): ... + 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 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 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HybridModelAdapter.CombinationStrategy": ... @staticmethod - def values() -> typing.MutableSequence['HybridModelAdapter.CombinationStrategy']: ... - + def values() -> ( + typing.MutableSequence["HybridModelAdapter.CombinationStrategy"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration.ml")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi index f758cca6..10926e36 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,8 +19,6 @@ import jneqsim.process.logic.startup import jneqsim.process.logic.voting import typing - - class LogicAction: def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... @@ -32,24 +30,28 @@ class LogicCondition: 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: ... + 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "LogicState": ... @staticmethod - def values() -> typing.MutableSequence['LogicState']: ... + def values() -> typing.MutableSequence["LogicState"]: ... class ProcessLogic: def activate(self) -> None: ... @@ -58,12 +60,13 @@ class ProcessLogic: 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi index 7a84e6ab..ada8b6dd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,17 +14,19 @@ 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 __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 __init__( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -32,9 +34,20 @@ class CloseValveAction(jneqsim.process.logic.LogicAction): 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]): ... + 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 __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: ... @@ -50,14 +63,18 @@ 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 __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 __init__( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -77,7 +94,9 @@ class ParallelActionGroup(jneqsim.process.logic.LogicAction): def toString(self) -> java.lang.String: ... class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): - def __init__(self, separator: jneqsim.process.equipment.separator.Separator, boolean: bool): ... + 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: ... @@ -85,14 +104,22 @@ class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): 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 __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 __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: ... @@ -106,7 +133,6 @@ class TripValveAction(jneqsim.process.logic.LogicAction): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi index dca059fb..8104f6d8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,29 +11,53 @@ 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]): ... + 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 __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: ... + 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]): ... + 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 __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: ... + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class TimerCondition(jneqsim.process.logic.LogicCondition): def __init__(self, double: float): ... @@ -43,22 +67,36 @@ class TimerCondition(jneqsim.process.logic.LogicCondition): def getElapsed(self) -> float: ... def getExpectedValue(self) -> java.lang.String: ... def getRemaining(self) -> float: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + 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): ... + 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 __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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi index ae104c9f..6e537f2b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,13 +13,22 @@ 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): ... + 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 __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: ... @@ -27,14 +36,15 @@ class PressureControlLogic(jneqsim.process.logic.ProcessLogic): 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi index 7fa79b3f..84e19821 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,12 @@ 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 addAction( + self, logicAction: jneqsim.process.logic.LogicAction, double: float + ) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getActionCount(self) -> int: ... @@ -25,12 +25,13 @@ class ESDLogic(jneqsim.process.logic.ProcessLogic): 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi index d50527b0..fe604bcb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,33 +13,42 @@ 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 __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 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi index 94e4628f..f8683cc1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,12 @@ 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 addAction( + self, logicAction: jneqsim.process.logic.LogicAction, double: float + ) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getActionCount(self) -> int: ... @@ -28,7 +28,9 @@ class ShutdownLogic(jneqsim.process.logic.ProcessLogic): 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 getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def isEmergencyMode(self) -> bool: ... @@ -37,7 +39,6 @@ class ShutdownLogic(jneqsim.process.logic.ProcessLogic): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi index a443ae77..1abe5720 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,16 +11,21 @@ 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 __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 getType(self) -> "Detector.DetectorType": ... def isBypassed(self) -> bool: ... def isFaulty(self) -> bool: ... def isTripped(self) -> bool: ... @@ -31,41 +36,55 @@ class Detector: 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'] = ... + + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Detector.DetectorType": ... @staticmethod - def values() -> typing.MutableSequence['Detector.DetectorType']: ... + 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 __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: ... @@ -75,8 +94,10 @@ class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): 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 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: ... @@ -88,28 +109,29 @@ class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "VotingLogic": ... @staticmethod - def values() -> typing.MutableSequence['VotingLogic']: ... - + def values() -> typing.MutableSequence["VotingLogic"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.sis")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi index ecd33252..405f727a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,30 +11,35 @@ 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi index 507ad254..8b858f6f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,11 +8,10 @@ else: import java.lang import typing +_VotingEvaluator__T = typing.TypeVar("_VotingEvaluator__T") # - -_VotingEvaluator__T = typing.TypeVar('_VotingEvaluator__T') # class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): - def __init__(self, votingPattern: 'VotingPattern'): ... + def __init__(self, votingPattern: "VotingPattern"): ... def addInput(self, t: _VotingEvaluator__T, boolean: bool) -> None: ... def clearInputs(self) -> None: ... def evaluateAverage(self) -> float: ... @@ -20,32 +19,33 @@ class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): def evaluateMedian(self) -> float: ... def evaluateMidValue(self) -> float: ... def getFaultyInputCount(self) -> int: ... - def getPattern(self) -> 'VotingPattern': ... + 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "VotingPattern": ... @staticmethod - def values() -> typing.MutableSequence['VotingPattern']: ... - + def values() -> typing.MutableSequence["VotingPattern"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.voting")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi index 5127a6d5..c2d11d24 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,40 +21,54 @@ import jneqsim.process.measurementdevice.vfm import jneqsim.util import typing - - class MeasurementDeviceInterface(jneqsim.util.NamedInterface, java.io.Serializable): def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... 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 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 getMaximumValue(self) -> float: ... def getMeasuredPercentValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getOnlineSignal( + self, + ) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... def getOnlineValue(self) -> float: ... def getUnit(self) -> java.lang.String: ... def hashCode(self) -> int: ... def isLogging(self) -> bool: ... def isOnlineSignal(self) -> bool: ... - def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... + def setAlarmConfig( + self, alarmConfig: jneqsim.process.alarm.AlarmConfig + ) -> None: ... def setLogging(self, boolean: bool) -> None: ... def setMaximumValue(self, double: float) -> None: ... def setMinimumValue(self, double: float) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... -class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceInterface): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... +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 displayResult(self) -> None: ... def doConditionAnalysis(self) -> bool: ... - def evaluateAlarm(self, double: float, double2: float, double3: float) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... + 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: ... @@ -65,46 +79,73 @@ class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceI @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getOnlineSignal( + self, + ) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... def getUnit(self) -> java.lang.String: ... def isLogging(self) -> bool: ... def isOnlineSignal(self) -> bool: ... def runConditionAnalysis(self) -> None: ... - def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> 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 setIsOnlineSignal(self, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 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 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 setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class CompressorMonitor(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor): ... + 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: ... + 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 __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: ... @@ -113,7 +154,9 @@ class FireDetector(MeasurementDeviceBaseClass): @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSignalLevel(self) -> float: ... def isFireDetected(self) -> bool: ... def reset(self) -> None: ... @@ -125,40 +168,61 @@ class FireDetector(MeasurementDeviceBaseClass): class FlowInducedVibrationAnalyser(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + 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 __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 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 setSupportArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSupportDistance(self, double: float) -> None: ... 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 __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 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 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: ... @@ -169,59 +233,90 @@ class GasDetector(MeasurementDeviceBaseClass): 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'] = ... + + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GasDetector.GasType": ... @staticmethod - def values() -> typing.MutableSequence['GasDetector.GasType']: ... + 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): ... + 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: ... + 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): ... + 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 __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 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 __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 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 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 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: ... @@ -229,66 +324,123 @@ class PushButton(MeasurementDeviceBaseClass): 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 __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: ... + 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): ... + 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 __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 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): ... + 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 __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: ... + 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 getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def setComponents(self) -> None: ... class CricondenbarAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 __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: ... + 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 __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 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): ... + 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 __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 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: ... @@ -296,98 +448,172 @@ class HydrocarbonDewPointAnalyser(StreamMeasurementDeviceBaseClass): class MolarMassAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 __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 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): ... + 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 __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 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 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: ... + 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): ... + 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 __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: ... + 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): ... + 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 __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 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): ... + 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 __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 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): ... + 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 __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... 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 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): ... + 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 __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 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): ... + 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 __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 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: ... @@ -395,32 +621,55 @@ class WaterDewPointAnalyser(StreamMeasurementDeviceBaseClass): class WellAllocator(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 __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: ... + 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): ... + 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 __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 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")``. @@ -430,7 +679,9 @@ class __module_protocol__(Protocol): FireDetector: typing.Type[FireDetector] FlowInducedVibrationAnalyser: typing.Type[FlowInducedVibrationAnalyser] GasDetector: typing.Type[GasDetector] - HydrateEquilibriumTemperatureAnalyser: typing.Type[HydrateEquilibriumTemperatureAnalyser] + HydrateEquilibriumTemperatureAnalyser: typing.Type[ + HydrateEquilibriumTemperatureAnalyser + ] HydrocarbonDewPointAnalyser: typing.Type[HydrocarbonDewPointAnalyser] LevelTransmitter: typing.Type[LevelTransmitter] MeasurementDeviceBaseClass: typing.Type[MeasurementDeviceBaseClass] @@ -450,5 +701,7 @@ class __module_protocol__(Protocol): WellAllocator: typing.Type[WellAllocator] pHProbe: typing.Type[pHProbe] online: jneqsim.process.measurementdevice.online.__module_protocol__ - simpleflowregime: jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ + simpleflowregime: ( + jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ + ) vfm: jneqsim.process.measurementdevice.vfm.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi index 70182b12..c7277908 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,18 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi index be5923a5..fa9c7832 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import jneqsim.process.measurementdevice import jneqsim.thermo.system import typing - - class FluidSevereSlug: def getGasConstant(self) -> float: ... def getLiqDensity(self) -> float: ... @@ -40,49 +38,127 @@ class SevereSlugAnalyser(jneqsim.process.measurementdevice.MeasurementDeviceBase @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): ... + 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): ... + 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): ... + 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): ... + 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): ... + 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 __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: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getMeasuredValue(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... + 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 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi index 3d206d84..026709d1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,54 +14,92 @@ 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'): ... + 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SoftSensor.PropertyType": ... @staticmethod - def values() -> typing.MutableSequence['SoftSensor.PropertyType']: ... + 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]): ... + 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 __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: ... @@ -73,12 +111,12 @@ class UncertaintyBounds(java.io.Serializable): def getUpper99(self) -> float: ... def isWithin95CI(self, double: float) -> bool: ... def isWithin99CI(self, double: float) -> bool: ... - def scale(self, double: float) -> 'UncertaintyBounds': ... + def scale(self, double: float) -> "UncertaintyBounds": ... def toString(self) -> java.lang.String: ... class VFMResult(java.io.Serializable): @staticmethod - def builder() -> 'VFMResult.Builder': ... + def builder() -> "VFMResult.Builder": ... def getAdditionalProperties(self) -> java.util.Map[java.lang.String, float]: ... def getGasFlowRate(self) -> float: ... def getGasOilRatio(self) -> float: ... @@ -86,7 +124,7 @@ class VFMResult(java.io.Serializable): 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 getQuality(self) -> "VFMResult.Quality": ... def getTimestamp(self) -> java.time.Instant: ... def getTotalLiquidFlowRate(self) -> float: ... def getWaterCut(self) -> float: ... @@ -94,54 +132,98 @@ class VFMResult(java.io.Serializable): 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': ... + 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': ... + 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': ... + 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': ... + 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': ... + 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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VFMResult.Quality": ... @staticmethod - def values() -> typing.MutableSequence['VFMResult.Quality']: ... + 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): ... +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 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 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: ... @@ -149,8 +231,18 @@ class VirtualFlowMeter(jneqsim.process.measurementdevice.StreamMeasurementDevice 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 __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: ... @@ -159,7 +251,6 @@ class VirtualFlowMeter(jneqsim.process.measurementdevice.StreamMeasurementDevice 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi index 59004555..5da6e0a1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -23,12 +23,10 @@ import jneqsim.process.mechanicaldesign.valve import jneqsim.process.processmodel import typing - - class DesignLimitData(java.io.Serializable): - EMPTY: typing.ClassVar['DesignLimitData'] = ... + EMPTY: typing.ClassVar["DesignLimitData"] = ... @staticmethod - def builder() -> 'DesignLimitData.Builder': ... + def builder() -> "DesignLimitData.Builder": ... def equals(self, object: typing.Any) -> bool: ... def getCorrosionAllowance(self) -> float: ... def getJointEfficiency(self) -> float: ... @@ -38,14 +36,15 @@ class DesignLimitData(java.io.Serializable): 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': ... + 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 MechanicalDesign(java.io.Serializable): maxDesignVolumeFlow: float = ... @@ -76,31 +75,59 @@ class MechanicalDesign(java.io.Serializable): 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 __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 displayResults(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getCompanySpecificDesignStandards(self) -> java.lang.String: ... def getConstrutionMaterial(self) -> java.lang.String: ... def getCorrosionAllowance(self) -> float: ... - def getCostEstimate(self) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... + def getCostEstimate( + self, + ) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... def getDefaultLiquidDensity(self) -> float: ... def getDefaultLiquidViscosity(self) -> float: ... def getDesignCorrosionAllowance(self) -> float: ... - def getDesignDataSources(self) -> java.util.List[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource]: ... + 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 getDesignStandard( + self, + ) -> java.util.Hashtable[ + java.lang.String, + jneqsim.process.mechanicaldesign.designstandards.DesignStandard, + ]: ... def getInnerDiameter(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 getLastMarginResult(self) -> "MechanicalDesignMarginResult": ... + def getMaterialDesignStandard( + self, + ) -> ( + jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard + ): ... + def getMaterialPipeDesignStandard( + self, + ) -> ( + jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard + ): ... def getMaxAllowableStress(self) -> float: ... def getMaxDesignGassVolumeFlow(self) -> float: ... def getMaxDesignOilVolumeFlow(self) -> float: ... @@ -121,7 +148,9 @@ class MechanicalDesign(java.io.Serializable): def getModuleWidth(self) -> float: ... def getOuterDiameter(self) -> float: ... def getPressureMarginFactor(self) -> float: ... - def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getProcessEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getTantanLength(self) -> float: ... def getTensileStrength(self) -> float: ... def getVolumeTotal(self) -> float: ... @@ -138,20 +167,50 @@ class MechanicalDesign(java.io.Serializable): 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 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 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: ... - def setDesignStandard(self, hashtable: java.util.Hashtable[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.designstandards.DesignStandard]) -> 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: ... + def setDesignStandard( + self, + hashtable: java.util.Hashtable[ + typing.Union[java.lang.String, str], + jneqsim.process.mechanicaldesign.designstandards.DesignStandard, + ], + ) -> 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 setMaterialDesignStandard( + self, + materialPlateDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard, + ) -> None: ... + def setMaterialPipeDesignStandard( + self, + materialPipeDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard, + ) -> None: ... def setMaxDesignDuty(self, double: float) -> None: ... def setMaxDesignGassVolumeFlow(self, double: float) -> None: ... def setMaxDesignOilVolumeFlow(self, double: float) -> None: ... @@ -173,7 +232,10 @@ class MechanicalDesign(java.io.Serializable): 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 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: ... @@ -186,13 +248,29 @@ class MechanicalDesign(java.io.Serializable): def setWeigthInternals(self, double: float) -> None: ... def setWeigthVesselShell(self, double: float) -> None: ... @typing.overload - def validateOperatingEnvelope(self) -> 'MechanicalDesignMarginResult': ... + def validateOperatingEnvelope(self) -> "MechanicalDesignMarginResult": ... @typing.overload - def validateOperatingEnvelope(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'MechanicalDesignMarginResult': ... + 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): ... + 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: ... @@ -207,7 +285,9 @@ class MechanicalDesignMarginResult(java.io.Serializable): class SystemMechanicalDesign(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def equals(self, object: typing.Any) -> bool: ... - def getMechanicalWeight(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMechanicalWeight( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getTotalNumberOfModules(self) -> int: ... def getTotalPlotSpace(self) -> float: ... @@ -215,10 +295,11 @@ class SystemMechanicalDesign(java.io.Serializable): def getTotalWeight(self) -> float: ... def hashCode(self) -> int: ... def runDesignCalculation(self) -> None: ... - def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompanySpecificDesignStandards( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesign(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign")``. @@ -230,7 +311,9 @@ class __module_protocol__(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__ + designstandards: ( + jneqsim.process.mechanicaldesign.designstandards.__module_protocol__ + ) ejector: jneqsim.process.mechanicaldesign.ejector.__module_protocol__ heatexchanger: jneqsim.process.mechanicaldesign.heatexchanger.__module_protocol__ pipeline: jneqsim.process.mechanicaldesign.pipeline.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi index 79c9eb65..c55e67c9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,13 @@ 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): ... +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: ... @@ -21,7 +24,6 @@ class AbsorberMechanicalDesign(jneqsim.process.mechanicaldesign.separator.Separa 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi index 9e19863e..47115cd4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ 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 __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getOuterDiameter(self) -> float: ... def getWallThickness(self) -> float: ... @@ -21,7 +22,6 @@ class AdsorberMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign 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.adsorber")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi index a3a481ca..613cc70f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def getOuterDiameter(self) -> float: ... @@ -22,7 +23,6 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi 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.compressor")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi index 1ac7ea03..751cf9a8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,19 +12,30 @@ import jpype.protocol import jneqsim.process.mechanicaldesign import typing - - class MechanicalDesignDataSource: - 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 getDesignLimits( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... 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]: ... + 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]: ... - + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.data")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi index 964e8746..b1d225cf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,66 +10,114 @@ import java.lang import jneqsim.process.mechanicaldesign import typing - - 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 __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 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 AbsorptionColumnDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + 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 __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 __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 __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 __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 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 __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 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 __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 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: ... @@ -79,45 +127,86 @@ 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 __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 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 __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: ... + 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): ... + 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 __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: ... + def getSafetyMargins( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... class SeparatorDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + 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 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 __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] + AdsorptionDehydrationDesignStandard: typing.Type[ + AdsorptionDehydrationDesignStandard + ] CompressorDesignStandard: typing.Type[CompressorDesignStandard] DesignStandard: typing.Type[DesignStandard] GasScrubberDesignStandard: typing.Type[GasScrubberDesignStandard] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi index 19202819..f79de0eb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ 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 __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def getBodyVolume(self) -> float: ... def getConnectedPipingVolume(self) -> float: ... def getDiffuserOutletArea(self) -> float: ... @@ -37,8 +38,27 @@ class EjectorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign) 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi index d42124de..4f6431ac 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,52 +12,75 @@ import jneqsim.process.equipment.heatexchanger import jneqsim.process.mechanicaldesign import typing - - class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getApproachTemperature(self) -> float: ... def getCalculatedUA(self) -> float: ... - def getCandidateTypes(self) -> java.util.List['HeatExchangerType']: ... + def getCandidateTypes(self) -> java.util.List["HeatExchangerType"]: ... def getLogMeanTemperatureDifference(self) -> float: ... - def getManualSelection(self) -> 'HeatExchangerType': ... - def getSelectedSizingResult(self) -> 'HeatExchangerSizingResult': ... - def getSelectedType(self) -> 'HeatExchangerType': ... - def getSelectionCriterion(self) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... - def getSizingResults(self) -> java.util.List['HeatExchangerSizingResult']: ... + def getManualSelection(self) -> "HeatExchangerType": ... + def getSelectedSizingResult(self) -> "HeatExchangerSizingResult": ... + def getSelectedType(self) -> "HeatExchangerType": ... + def getSelectionCriterion( + self, + ) -> "HeatExchangerMechanicalDesign.SelectionCriterion": ... + def getSizingResults(self) -> java.util.List["HeatExchangerSizingResult"]: ... def getSizingSummary(self) -> java.lang.String: ... def getUsedOverallHeatTransferCoefficient(self) -> float: ... @typing.overload - def setCandidateTypes(self, list: java.util.List['HeatExchangerType']) -> None: ... + def setCandidateTypes(self, list: java.util.List["HeatExchangerType"]) -> None: ... @typing.overload - def setCandidateTypes(self, *heatExchangerType: 'HeatExchangerType') -> None: ... - def setManualSelection(self, heatExchangerType: 'HeatExchangerType') -> None: ... - def setSelectionCriterion(self, selectionCriterion: 'HeatExchangerMechanicalDesign.SelectionCriterion') -> 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) # + def setCandidateTypes(self, *heatExchangerType: "HeatExchangerType") -> None: ... + def setManualSelection(self, heatExchangerType: "HeatExchangerType") -> None: ... + def setSelectionCriterion( + self, selectionCriterion: "HeatExchangerMechanicalDesign.SelectionCriterion" + ) -> 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerMechanicalDesign.SelectionCriterion": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerMechanicalDesign.SelectionCriterion']: ... + def values() -> ( + typing.MutableSequence["HeatExchangerMechanicalDesign.SelectionCriterion"] + ): ... class HeatExchangerSizingResult: @staticmethod - def builder() -> 'HeatExchangerSizingResult.Builder': ... + 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 getMetric( + self, selectionCriterion: HeatExchangerMechanicalDesign.SelectionCriterion + ) -> float: ... def getModuleHeight(self) -> float: ... def getModuleLength(self) -> float: ... def getModuleWidth(self) -> float: ... @@ -67,48 +90,82 @@ class HeatExchangerSizingResult: def getRequiredUA(self) -> float: ... def getTubeCount(self) -> int: ... def getTubePasses(self) -> int: ... - def getType(self) -> 'HeatExchangerType': ... + 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': ... + 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'] = ... - def createSizingResult(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger, double: float, double2: float, double3: float) -> HeatExchangerSizingResult: ... +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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "HeatExchangerType": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerType']: ... - + def values() -> typing.MutableSequence["HeatExchangerType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.heatexchanger")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi index 2d02ff25..e5114a44 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class PipeDesign: NPS5: typing.ClassVar[typing.MutableSequence[float]] = ... S5i: typing.ClassVar[typing.MutableSequence[float]] = ... @@ -88,34 +86,63 @@ class PipeDesign: @staticmethod def erosionalVelocity(double: float, double2: float) -> float: ... @staticmethod - def gaugeFromThickness(double: float, boolean: bool, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + 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]: ... + 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: ... + 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]): ... + 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): ... + 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 PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def readDesignSpecifications(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pipeline")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi index f85d2fc4..017da93f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,25 +10,30 @@ import jneqsim.process.mechanicaldesign import jneqsim.process.mechanicaldesign.separator.sectiontype import typing - - class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def readDesignSpecifications(self) -> None: ... def setDesign(self) -> None: ... class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def readDesignSpecifications(self) -> None: ... def setDesign(self) -> None: ... - 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] - sectiontype: jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ + sectiontype: ( + jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi index e976dd2c..6be9fe19 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ 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 __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... def getANSIclass(self) -> int: ... def getNominalSize(self) -> java.lang.String: ... @@ -28,26 +29,40 @@ class SepDesignSection: def setTotalWeight(self, double: float) -> None: ... class DistillationTraySection(SepDesignSection): - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + 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 __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 __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 __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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi index e13a5725..6677b070 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,13 +14,28 @@ import jneqsim.process.equipment.valve import jneqsim.process.mechanicaldesign 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 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: ... @@ -31,7 +46,10 @@ class ValveCharacteristic(java.io.Serializable): def getOpeningFactor(self, double: float) -> float: ... class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + 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: ... @@ -40,9 +58,15 @@ class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getValveSizingMethod(self) -> ControlValveSizingInterface: ... def getValveSizingStandard(self) -> java.lang.String: ... def readDesignSpecifications(self) -> 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 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: ... class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): @typing.overload @@ -50,12 +74,38 @@ class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): @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 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: ... @@ -68,29 +118,59 @@ class LinearCharacteristic(ValveCharacteristic): def getOpeningFactor(self, double: float) -> float: ... class SafetyValveMechanicalDesign(ValveMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + 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 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']: ... + 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 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 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 getFluidService( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... def getOverpressureMarginBar(self) -> float: ... def getOverpressureMarginPa(self) -> float: ... def getRelievingPressureBar(self) -> float: ... @@ -99,7 +179,9 @@ class SafetyValveMechanicalDesign(ValveMechanicalDesign): def getScenarioName(self) -> java.lang.String: ... def getSetPressureBar(self) -> float: ... def getSetPressurePa(self) -> float: ... - def getSizingStandard(self) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... + def getSizingStandard( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... def isActiveScenario(self) -> bool: ... def isControllingScenario(self) -> bool: ... @@ -108,34 +190,147 @@ class ControlValveSizing_IEC_60534(ControlValveSizing): def __init__(self): ... @typing.overload def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... - def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 findOutletPressureForFixedKvLiquid( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def getD(self) -> float: ... def getD1(self) -> float: ... def getD2(self) -> float: ... @@ -153,21 +348,69 @@ class ControlValveSizing_IEC_60534(ControlValveSizing): 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControlValveSizing_IEC_60534.FluidType": ... @staticmethod - def values() -> typing.MutableSequence['ControlValveSizing_IEC_60534.FluidType']: ... + def values() -> ( + typing.MutableSequence["ControlValveSizing_IEC_60534.FluidType"] + ): ... class ControlValveSizing_simple(ControlValveSizing): @typing.overload @@ -176,36 +419,118 @@ class ControlValveSizing_simple(ControlValveSizing): 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 findOutletPressureForFixedKv( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... 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: ... + 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: ... + 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 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]: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi index b1b85088..616bdb3f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,34 +19,54 @@ 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 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 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 __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 getType(self) -> "Constraint.Type": ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def getVariableName(self) -> java.lang.String: ... @@ -54,74 +74,151 @@ class Constraint(java.io.Serializable): 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Constraint.Type": ... @staticmethod - def values() -> typing.MutableSequence['Constraint.Type']: ... + 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 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 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 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']: ... + 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': ... + 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 = ... @@ -131,8 +228,19 @@ class EpisodeRunner(java.io.Serializable): 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 __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 = ... @@ -141,18 +249,42 @@ class EpisodeRunner(java.io.Serializable): 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 __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): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... @staticmethod - def forSeparator(separatorInterface: jneqsim.process.equipment.separator.SeparatorInterface) -> 'EquipmentStateAdapter': ... + 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': ... + 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): ... @@ -168,38 +300,82 @@ class GymEnvironment(java.io.Serializable): def getObservationLow(self) -> typing.MutableSequence[float]: ... def isDone(self) -> bool: ... @typing.overload - def reset(self) -> 'GymEnvironment.ResetResult': ... + 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 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': ... + 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]]): ... + 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]]): ... + 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 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 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': ... + 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 = ... @@ -208,20 +384,40 @@ class RLEnvironment(java.io.Serializable): hardViolation: bool = ... violationExplanation: java.lang.String = ... def __init__(self): ... + class StepResult(java.io.Serializable): - observation: 'StateVector' = ... + 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'): ... + 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': ... + 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 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: ... @@ -242,24 +438,43 @@ class StateVectorProvider: 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 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi index bc9f4ebe..6942429a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,40 +10,80 @@ 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 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 __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 __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 __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): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi index ec6eafba..b8a8b16f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,14 +15,16 @@ 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class SeparatorCompressorMultiAgentEnv(jneqsim.process.ml.multiagent.MultiAgentEnvironment): +class SeparatorCompressorMultiAgentEnv( + jneqsim.process.ml.multiagent.MultiAgentEnvironment +): def __init__(self): ... def applyFeedDisturbance(self, double: float) -> None: ... def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... @@ -42,15 +44,22 @@ 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 __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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi index 5cfaaaa8..f8890a15 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,22 +17,42 @@ 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 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 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: ... + 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 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: ... @@ -40,25 +60,52 @@ class MultiAgentEnvironment(java.io.Serializable): 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MultiAgentEnvironment.CoordinationMode": ... @staticmethod - def values() -> typing.MutableSequence['MultiAgentEnvironment.CoordinationMode']: ... + def values() -> ( + typing.MutableSequence["MultiAgentEnvironment.CoordinationMode"] + ): ... + class MultiAgentStepResult(java.io.Serializable): observations: java.util.Map = ... rewards: java.util.Map = ... @@ -66,11 +113,54 @@ class MultiAgentEnvironment(java.io.Serializable): 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): ... + 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, java.io.Serializable): - 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 __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]: ... @@ -82,31 +172,63 @@ class ProcessAgent(Agent, java.io.Serializable): 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': ... + 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 __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 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): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi index 76ace2dd..17bb5f73 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,13 +15,29 @@ 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 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: ... @@ -30,41 +46,103 @@ class PhysicsConstraintValidator(java.io.Serializable): 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': ... + 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 __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 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']: ... + 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 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]: ... + 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: ... + 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 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 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: ... @@ -76,17 +154,29 @@ class SurrogateModelRegistry(java.io.Serializable): 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 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 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: ... + 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]: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi index 9d0ae072..ba1bda2d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,83 +15,168 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - class ControllerDataExchange(java.io.Serializable): - def __init__(self, processLinkedMPC: 'ProcessLinkedMPC'): ... + 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 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 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: ... + 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 __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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControllerDataExchange.QualityStatus": ... @staticmethod - def values() -> typing.MutableSequence['ControllerDataExchange.QualityStatus']: ... + def values() -> ( + typing.MutableSequence["ControllerDataExchange.QualityStatus"] + ): ... class IndustrialMPCExporter(java.io.Serializable): - def __init__(self, processLinkedMPC: 'ProcessLinkedMPC'): ... + 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 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': ... + 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): ... + 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: ... @@ -99,15 +184,23 @@ class LinearizationResult(java.io.Serializable): 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 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 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]: ... @@ -127,101 +220,196 @@ class MPCVariable(java.io.Serializable): def getMinValue(self) -> float: ... def getName(self) -> java.lang.String: ... def getPropertyName(self) -> java.lang.String: ... - def getType(self) -> 'MPCVariable.MPCVariableType': ... + def getType(self) -> "MPCVariable.MPCVariableType": ... def getUnit(self) -> java.lang.String: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> 'MPCVariable': ... + 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MPCVariable.MPCVariableType": ... @staticmethod - def values() -> typing.MutableSequence['MPCVariable.MPCVariableType']: ... + 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 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': ... + 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 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': ... + 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 __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 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 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 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': ... + 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessDerivativeCalculator.DerivativeMethod": ... @staticmethod - def values() -> typing.MutableSequence['ProcessDerivativeCalculator.DerivativeMethod']: ... + def values() -> ( + typing.MutableSequence["ProcessDerivativeCalculator.DerivativeMethod"] + ): ... + class DerivativeResult: value: float = ... errorEstimate: float = ... @@ -232,92 +420,168 @@ class ProcessDerivativeCalculator: 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessDerivativeCalculator.VariableType": ... @staticmethod - def values() -> typing.MutableSequence['ProcessDerivativeCalculator.VariableType']: ... + 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: ... + 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': ... + 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': ... + 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': ... + 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': ... + 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': ... + 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 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 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 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 getDisturbanceVariables(self) -> java.util.List["DisturbanceVariable"]: ... def getLastMoves(self) -> typing.MutableSequence[float]: ... def getLinearizationResult(self) -> LinearizationResult: ... - def getManipulatedVariables(self) -> java.util.List['ManipulatedVariable']: ... + 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 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 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 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 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 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: ... @@ -330,53 +594,127 @@ class ProcessVariableAccessor: @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 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: ... + 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: ... + 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SoftSensorExporter.SensorType": ... @staticmethod - def values() -> typing.MutableSequence['SoftSensorExporter.SensorType']: ... + 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 __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: ... @@ -384,29 +722,67 @@ class SoftSensorExporter(java.io.Serializable): 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 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]: ... + 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 __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': ... + 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 __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]]: ... @@ -416,18 +792,39 @@ class StateSpaceExporter(java.io.Serializable): 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 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 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 __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: ... @@ -449,84 +846,202 @@ class StepResponse(java.io.Serializable): 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 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': ... + 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 __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 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 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': ... + 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': ... + 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 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 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': ... + 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 __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 __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': ... + 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 __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': ... + 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]): ... + 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 __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: ... @@ -544,25 +1059,47 @@ class ControlledVariable(MPCVariable): 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 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': ... + 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]): ... + 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 __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: ... @@ -573,23 +1110,41 @@ class DisturbanceVariable(MPCVariable): def getType(self) -> MPCVariable.MPCVariableType: ... def isMeasured(self) -> bool: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> 'DisturbanceVariable': ... + 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': ... + 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]): ... + 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 __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: ... @@ -601,20 +1156,32 @@ class ManipulatedVariable(MPCVariable): 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 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, java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + 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: ... @@ -639,7 +1206,6 @@ class StateVariable(MPCVariable, java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi index c79220ae..054a30a2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -30,8 +30,6 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class DexpiMetadata: TAG_NAME: typing.ClassVar[java.lang.String] = ... LINE_NUMBER: typing.ClassVar[java.lang.String] = ... @@ -52,7 +50,14 @@ class DexpiMetadata: 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 __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: ... @@ -64,14 +69,24 @@ class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): class DexpiRoundTripProfile: @staticmethod - def minimalRunnableProfile() -> 'DexpiRoundTripProfile': ... - def validate(self, processSystem: 'ProcessSystem') -> 'DexpiRoundTripProfile.ValidationResult': ... + 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 __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: ... @@ -79,48 +94,84 @@ class DexpiStream(jneqsim.process.equipment.stream.Stream): class DexpiXmlReader: @typing.overload @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem') -> None: ... + 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: ... + 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: ... + 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: ... + 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': ... + 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': ... + 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': ... + def read(inputStream: java.io.InputStream) -> "ProcessSystem": ... @typing.overload @staticmethod - def read(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessSystem': ... + 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): ... + 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: ... + 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: ... + def write( + processSystem: "ProcessSystem", outputStream: java.io.OutputStream + ) -> None: ... class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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 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: ... @@ -128,45 +179,87 @@ class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): 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: ... + 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 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: ... + 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: ... + 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: ... + def loadProcessFromYaml( + string: typing.Union[java.lang.String, str], processSystem: "ProcessSystem" + ) -> None: ... class ProcessModel(java.lang.Runnable): def __init__(self): ... - def add(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> bool: ... - @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 get(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... - def getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... + def add( + self, + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + ) -> bool: ... + @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 get(self, string: typing.Union[java.lang.String, str]) -> "ProcessSystem": ... + def getAllProcesses(self) -> java.util.Collection["ProcessSystem"]: ... def getConvergenceSummary(self) -> java.lang.String: ... def getError(self) -> float: ... def getExecutionPartitionInfo(self) -> java.lang.String: ... @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']]: ... + 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 getFailedMassBalanceReport( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.lang.String: ... def getFlowTolerance(self) -> float: ... def getLastIterationCount(self) -> int: ... def getLastMaxFlowError(self) -> float: ... @@ -175,7 +268,9 @@ class ProcessModel(java.lang.Runnable): @typing.overload def getMassBalanceReport(self) -> java.lang.String: ... @typing.overload - def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMassBalanceReport( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getMaxIterations(self) -> int: ... def getPressureTolerance(self) -> float: ... def getReport_json(self) -> java.lang.String: ... @@ -201,30 +296,48 @@ class ProcessModel(java.lang.Runnable): class ProcessModule(jneqsim.process.SimulationBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def add(self, processModule: 'ProcessModule') -> None: ... + def add(self, processModule: "ProcessModule") -> None: ... @typing.overload - def add(self, processSystem: 'ProcessSystem') -> None: ... - def buildModelGraph(self) -> jneqsim.process.processmodel.graph.ProcessModelGraph: ... + 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']: ... + 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 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 getAddedModules(self) -> java.util.List['ProcessModule']: ... - def getAddedUnitOperations(self) -> java.util.List['ProcessSystem']: ... - def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - @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 copy(self) -> "ProcessModule": ... + def getAddedModules(self) -> java.util.List["ProcessModule"]: ... + def getAddedUnitOperations(self) -> java.util.List["ProcessSystem"]: ... + def getCalculationOrder( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @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 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 getReport(self) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... + 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: ... @@ -249,96 +362,190 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def add(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def add(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def add(self, processEquipmentInterfaceArray: typing.Union[typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], jpype.JArray]) -> None: ... - @typing.overload - def add(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 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) # + def add( + self, + int: int, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def add( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def add( + self, + processEquipmentInterfaceArray: typing.Union[ + typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], + jpype.JArray, + ], + ) -> None: ... + @typing.overload + def add( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> 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 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 buildGraph(self) -> jneqsim.process.processmodel.graph.ProcessGraph: ... @typing.overload - def checkMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + 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 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: ... - def copy(self) -> 'ProcessSystem': ... - def createBatchStudy(self) -> jneqsim.process.util.optimization.BatchStudy.Builder: ... + def copy(self) -> "ProcessSystem": ... + def createBatchStudy( + self, + ) -> jneqsim.process.util.optimization.BatchStudy.Builder: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def exportState(self) -> jneqsim.process.processmodel.lifecycle.ProcessSystemState: ... - def exportStateToFile(self, string: typing.Union[java.lang.String, str]) -> 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 generateCombinationScenarios(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... - def generateSafetyScenarios(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def exportToGraphviz( + self, + string: typing.Union[java.lang.String, str], + graphvizExportOptions: "ProcessSystemGraphvizExporter.GraphvizExportOptions", + ) -> None: ... + def generateCombinationScenarios( + self, int: int + ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def generateSafetyScenarios( + self, + ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... def getAlarmManager(self) -> jneqsim.process.alarm.ProcessAlarmManager: ... def getAllUnitNames(self) -> java.util.ArrayList[java.lang.String]: ... def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getConditionMonitor(self) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... + def getConditionMonitor( + self, + ) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getEmissions(self) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + 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 getEmissions( + self, double: float + ) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getExecutionPartitionInfo(self) -> java.lang.String: ... def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getFailedMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + 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']: ... + 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 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 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 getHistorySnapshot( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... 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 getMassBalanceReport( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getMaxParallelism(self) -> int: ... - def getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getMeasurementDevice( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def getMinimumFlowForMassBalanceError(self) -> float: ... def getName(self) -> java.lang.String: ... def getParallelLevelCount(self) -> int: ... - def getParallelPartition(self) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... + def getParallelPartition( + self, + ) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... def getRecycleBlockCount(self) -> int: ... def getRecycleBlockReport(self) -> java.lang.String: ... - def getRecycleBlocks(self) -> java.util.List[java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]]: ... + def getRecycleBlocks( + self, + ) -> java.util.List[ + java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface] + ]: ... def getReport_json(self) -> java.lang.String: ... def getSurroundingTemperature(self) -> float: ... @typing.overload @@ -346,11 +553,17 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): @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 getTopologicalOrder( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getTotalCO2Emissions(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getUnitNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... - def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUnitOperations( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def hasAdjusters(self) -> bool: ... def hasMultiInputEquipment(self) -> bool: ... def hasRecycleLoops(self) -> bool: ... @@ -358,21 +571,38 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def hasUnitName(self, string: typing.Union[java.lang.String, str]) -> bool: ... def hashCode(self) -> int: ... def invalidateGraph(self) -> None: ... - def isInRecycleLoop(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isInRecycleLoop( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def isParallelExecutionBeneficial(self) -> bool: ... def isRunStep(self) -> bool: ... def isUseGraphBasedExecution(self) -> bool: ... def isUseOptimizedExecution(self) -> bool: ... - def loadProcessFromYaml(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... - def loadStateFromFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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 open(string: typing.Union[java.lang.String, str]) -> "ProcessSystem": ... 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 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 reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def reset(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -406,9 +636,18 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def run_step(self, uUID: java.util.UUID) -> None: ... def save(self, string: typing.Union[java.lang.String, str]) -> 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 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 setMassBalanceErrorThreshold(self, double: float) -> None: ... def setMinimumFlowForMassBalanceError(self, double: float) -> None: ... @@ -423,8 +662,14 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def storeInitialState(self) -> None: ... def validateStructure(self) -> java.util.List[java.lang.String]: ... def view(self) -> None: ... + class MassBalanceResult: - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + 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: ... @@ -433,17 +678,29 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): class ProcessSystemGraphvizExporter: def __init__(self): ... @typing.overload - def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... + def export( + self, + processSystem: ProcessSystem, + string: typing.Union[java.lang.String, str], + graphvizExportOptions: "ProcessSystemGraphvizExporter.GraphvizExportOptions", + ) -> None: ... + class GraphvizExportOptions: @staticmethod - def builder() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def builder() -> ( + "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder" + ): ... @staticmethod - def defaults() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... + def defaults() -> "ProcessSystemGraphvizExporter.GraphvizExportOptions": ... def getFlowRateUnit(self) -> java.lang.String: ... def getPressureUnit(self) -> java.lang.String: ... - def getTablePlacement(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + def getTablePlacement( + self, + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement": ... def getTemperatureUnit(self) -> java.lang.String: ... def includeStreamFlowRates(self) -> bool: ... def includeStreamPressures(self) -> bool: ... @@ -452,31 +709,77 @@ class ProcessSystemGraphvizExporter: 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> ( + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ): ... @staticmethod - def values() -> typing.MutableSequence['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement']: ... + def values() -> ( + typing.MutableSequence[ + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ] + ): ... class XmlUtil: @staticmethod @@ -487,17 +790,25 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac def calcDesign(self) -> None: ... def displayResult(self) -> None: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getExergyChange( + 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 getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getOperations(self) -> ProcessSystem: ... def getPreferedThermodynamicModel(self) -> java.lang.String: ... @typing.overload @@ -505,7 +816,9 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac @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 getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecification(self) -> java.lang.String: ... @typing.overload def getTemperature(self) -> float: ... @@ -514,8 +827,13 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac 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: ... + 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 @@ -524,28 +842,43 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac 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 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 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: ... + 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi index 648bf4fa..866a028b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,158 +13,253 @@ 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'): ... + 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): ... + 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 __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 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 getSource(self) -> "ProcessNode": ... def getSourceIndex(self) -> int: ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getTarget(self) -> 'ProcessNode': ... + 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessEdge.EdgeType": ... @staticmethod - def values() -> typing.MutableSequence['ProcessEdge.EdgeType']: ... + 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: ... + 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 analyzeCycles(self) -> 'ProcessGraph.CycleAnalysisResult': ... - def analyzeTearStreamSensitivity(self, list: java.util.List['ProcessNode']) -> 'ProcessGraph.SensitivityAnalysisResult': ... - def findStronglyConnectedComponents(self) -> 'ProcessGraph.SCCResult': ... + def addEdge( + self, + processNode: "ProcessNode", + processNode2: "ProcessNode", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> ProcessEdge: ... + def addNode( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ProcessNode": ... + 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 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 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': ... + def getNode(self, int: int) -> "ProcessNode": ... @typing.overload - def getNode(self, string: typing.Union[java.lang.String, str]) -> 'ProcessNode': ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> "ProcessNode": ... @typing.overload - def getNode(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessNode': ... + 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 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 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 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 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 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 getLevels(self) -> java.util.List[java.util.List["ProcessNode"]]: ... def getMaxParallelism(self) -> int: ... - def getNodeToLevel(self) -> java.util.Map['ProcessNode', 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']]: ... + 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 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: ... + 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 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 getIndependentSubSystems( + self, + ) -> java.util.List["ProcessModelGraph.SubSystemGraph"]: ... def getInterSystemConnectionCount(self) -> int: ... - def getInterSystemConnections(self) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... + 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 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 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 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 partitionSubSystemsForParallelExecution( + self, + ) -> "ProcessModelGraph.ModuleParallelPartition": ... def toString(self) -> java.lang.String: ... + class InterSystemConnection(java.io.Serializable): def getEdge(self) -> ProcessEdge: ... - def getSourceNode(self) -> 'ProcessNode': ... + def getSourceNode(self) -> "ProcessNode": ... def getSourceSystemName(self) -> java.lang.String: ... - def getTargetNode(self) -> 'ProcessNode': ... + 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 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: ... @@ -176,31 +271,46 @@ class ProcessModelGraph(java.io.Serializable): class ProcessModelGraphBuilder: @typing.overload @staticmethod - def buildModelGraph(string: typing.Union[java.lang.String, str], *processSystem: jneqsim.process.processmodel.ProcessSystem) -> ProcessModelGraph: ... + 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: ... + def buildModelGraph( + processModule: jneqsim.process.processmodel.ProcessModule, + ) -> ProcessModelGraph: ... class ProcessNode(java.io.Serializable): - def __init__(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi index 32aa695e..62cc5949 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,100 +14,156 @@ 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 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 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 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 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: ... + 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 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ModelMetadata.LifecyclePhase": ... @staticmethod - def values() -> typing.MutableSequence['ModelMetadata.LifecyclePhase']: ... + 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 __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 __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 ProcessSystemState(java.io.Serializable): def __init__(self): ... - def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def applyTo( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemState": ... @staticmethod - def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessSystemState': ... + def fromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "ProcessSystemState": ... def getChecksum(self) -> java.lang.String: ... 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 getEquipmentStates( + self, + ) -> java.util.List["ProcessSystemState.EquipmentState"]: ... def getLastModifiedAt(self) -> java.time.Instant: ... def getMetadata(self) -> ModelMetadata: ... def getName(self) -> java.lang.String: ... @@ -115,10 +171,14 @@ class ProcessSystemState(java.io.Serializable): def getTimestamp(self) -> java.time.Instant: ... def getVersion(self) -> java.lang.String: ... @staticmethod - def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + def loadFromFile( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemState": ... 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 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: ... @@ -126,26 +186,33 @@ class ProcessSystemState(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def validateIntegrity(self) -> bool: ... + class EquipmentState(java.io.Serializable): def __init__(self): ... @staticmethod - def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessSystemState.EquipmentState': ... - def getFluidState(self) -> 'ProcessSystemState.FluidState': ... + def fromEquipment( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ProcessSystemState.EquipmentState": ... + def getFluidState(self) -> "ProcessSystemState.FluidState": ... def getName(self) -> java.lang.String: ... def getNumericProperties(self) -> java.util.Map[java.lang.String, float]: ... - def getStringProperties(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 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.lifecycle")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi index e087cba1..ccbf1aae 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,26 @@ 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -33,13 +41,21 @@ class AdsorptionDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBas @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 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 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 getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @typing.overload @@ -50,14 +66,22 @@ class CO2RemovalModule(jneqsim.process.processmodel.ProcessModuleBaseClass): 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -66,21 +90,31 @@ class DPCUModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @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 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -88,20 +122,35 @@ class GlycolDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseCla 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: ... + 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 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -111,13 +160,21 @@ class MEGReclaimerModule(jneqsim.process.processmodel.ProcessModuleBaseClass): 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -126,17 +183,27 @@ class MixerGasProcessingModule(jneqsim.process.processmodel.ProcessModuleBaseCla @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 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -146,18 +213,28 @@ class PropaneCoolingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @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 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -166,17 +243,27 @@ class SeparationTrainModule(jneqsim.process.processmodel.ProcessModuleBaseClass) @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 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -185,17 +272,27 @@ class SeparationTrainModuleSimple(jneqsim.process.processmodel.ProcessModuleBase @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 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 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -204,8 +301,9 @@ class WellFluidModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi index 8e227b3b..931bb252 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,22 +19,22 @@ import jneqsim.process.safety.risk 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': ... + def builder() -> "BoundaryConditions.Builder": ... @staticmethod - def defaultConditions() -> 'BoundaryConditions': ... + 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 getAmbientTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getAtmosphericPressure(self) -> float: ... def getAtmosphericPressureBar(self) -> float: ... def getPasquillStabilityClass(self) -> str: ... @@ -42,63 +42,80 @@ class BoundaryConditions(java.io.Serializable): @typing.overload def getSeaWaterTemperature(self) -> float: ... @typing.overload - def getSeaWaterTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 gulfOfMexico() -> "BoundaryConditions": ... def hashCode(self) -> int: ... def isOffshore(self) -> bool: ... @staticmethod - def northSeaSummer() -> 'BoundaryConditions': ... + def northSeaSummer() -> "BoundaryConditions": ... @staticmethod - def northSeaWinter() -> 'BoundaryConditions': ... + def northSeaWinter() -> "BoundaryConditions": ... @staticmethod - def onshoreIndustrial() -> 'BoundaryConditions': ... + def onshoreIndustrial() -> "BoundaryConditions": ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... @typing.overload - def ambientTemperature(self, double: float) -> 'BoundaryConditions.Builder': ... + 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': ... + 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 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]: ... @@ -106,23 +123,55 @@ class InitiatingEvent(java.lang.Enum['InitiatingEvent']): 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "InitiatingEvent": ... @staticmethod - def values() -> typing.MutableSequence['InitiatingEvent']: ... + 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 __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 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']: ... + 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: ... @@ -135,23 +184,51 @@ class ProcessSafetyAnalyzer(java.io.Serializable): @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: ... + 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]: ... + 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: ... + 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: ... + 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 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']: ... + 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: ... @@ -160,27 +237,73 @@ class ProcessSafetyLoadCase(java.io.Serializable): class ProcessSafetyResultRepository: def findAll(self) -> java.util.List[ProcessSafetyAnalysisSummary]: ... - def save(self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary) -> None: ... + def save( + self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary + ) -> None: ... class ProcessSafetyScenario(java.io.Serializable): - def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def applyTo( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi index 27f08fba..1f3c1c1b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,30 +11,58 @@ 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 __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 __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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi index e96f3909..2ee6e68f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,14 +10,21 @@ 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 __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 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]: ... @@ -29,45 +36,68 @@ class SafetyEnvelope: def getSafeTemperatureAtPressure(self, double: float) -> float: ... def getTemperature(self) -> typing.MutableSequence[float]: ... def getTemperatureAtPressure(self, double: float) -> float: ... - def getType(self) -> 'SafetyEnvelope.EnvelopeType': ... + 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'] = ... + + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyEnvelope.EnvelopeType": ... @staticmethod - def values() -> typing.MutableSequence['SafetyEnvelope.EnvelopeType']: ... + 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 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: ... + 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: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi index 8bd5e0d2..f2ead7fb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,59 +10,88 @@ 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: ... + 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': ... + def calculateSourceTerm(self, double: float) -> "SourceTermResult": ... @typing.overload - def calculateSourceTerm(self, double: float, double2: float) -> 'SourceTermResult': ... + def calculateSourceTerm( + self, double: float, double2: float + ) -> "SourceTermResult": ... + class Builder: def __init__(self): ... @typing.overload - def backPressure(self, double: float) -> 'LeakModel.Builder': ... + 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': ... + 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': ... + 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': ... + 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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReleaseOrientation": ... @staticmethod - def values() -> typing.MutableSequence['ReleaseOrientation']: ... + 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 __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: ... @@ -86,7 +115,6 @@ class SourceTermResult(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi index bb7ccffe..485bec71 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,99 +11,155 @@ import jneqsim.process.processmodel import jneqsim.process.safety import typing - - 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): ... + 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): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + initiatingEvent: jneqsim.process.safety.InitiatingEvent, + ): ... @staticmethod - def builder() -> 'RiskEvent.Builder': ... + def builder() -> "RiskEvent.Builder": ... def getAbsoluteFrequency(self) -> float: ... def getConditionalProbability(self) -> float: ... - def getConsequenceCategory(self) -> 'RiskEvent.ConsequenceCategory': ... + 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 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 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 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiskEvent.ConsequenceCategory": ... @staticmethod - def values() -> typing.MutableSequence['RiskEvent.ConsequenceCategory']: ... + def values() -> typing.MutableSequence["RiskEvent.ConsequenceCategory"]: ... 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 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: ... + def addInitiatingEvent( + self, + string: typing.Union[java.lang.String, str], + double: float, + consequenceCategory: RiskEvent.ConsequenceCategory, + ) -> RiskEvent: ... @staticmethod - def builder() -> 'RiskModel.Builder': ... + 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': ... + def runDeterministicAnalysis(self) -> "RiskResult": ... + def runMonteCarloAnalysis(self, int: int) -> "RiskResult": ... @typing.overload - def runSensitivityAnalysis(self, double: float, double2: float) -> 'SensitivityResult': ... + 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 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 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': ... + 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 __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 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: ... @@ -115,8 +171,16 @@ class RiskResult: 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 __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: ... @@ -124,7 +188,11 @@ class RiskResult: def getRiskContribution(self) -> float: ... class SensitivityResult: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + 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: ... @@ -133,12 +201,17 @@ class SensitivityResult: 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi index 66aa84a7..a81a7699 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,87 +12,154 @@ import jneqsim.process.processmodel import jneqsim.process.safety 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 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']: ... + 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: ... + 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 __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 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'] = ... + + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AutomaticScenarioGenerator.HazopDeviation": ... @staticmethod - def values() -> typing.MutableSequence['AutomaticScenarioGenerator.HazopDeviation']: ... + 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): ... + 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 __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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.scenario")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi index 8a47f9d6..e7ff02fe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,53 +14,97 @@ 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 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 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: ... + 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]): ... + 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 __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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TimestampedValue.Quality": ... @staticmethod - def values() -> typing.MutableSequence['TimestampedValue.Quality']: ... + def values() -> typing.MutableSequence["TimestampedValue.Quality"]: ... class ProcessDataPublisher(StreamingDataInterface): @typing.overload @@ -69,22 +113,48 @@ class ProcessDataPublisher(StreamingDataInterface): 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 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi index 75b89bf0..611b1b61 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,39 +12,44 @@ 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 calculateEmissions(self) -> "EmissionsTracker.EmissionsReport": ... def getCumulativeCO2e(self) -> float: ... def getGridEmissionFactor(self) -> float: ... - def getHistory(self) -> java.util.List['EmissionsTracker.EmissionsSnapshot']: ... + 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EmissionsTracker.EmissionCategory": ... @staticmethod - def values() -> typing.MutableSequence['EmissionsTracker.EmissionCategory']: ... + def values() -> typing.MutableSequence["EmissionsTracker.EmissionCategory"]: ... + class EmissionsReport(java.io.Serializable): timestamp: java.time.Instant = ... processName: java.lang.String = ... @@ -55,21 +60,31 @@ class EmissionsTracker(java.io.Serializable): 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 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 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' = ... + category: "EmissionsTracker.EmissionCategory" = ... directCO2eKgPerHr: float = ... indirectCO2eKgPerHr: float = ... powerConsumptionKW: float = ... @@ -77,7 +92,6 @@ class EmissionsTracker(java.io.Serializable): def __init__(self): ... def getTotalCO2e(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.sustainability")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi index 08f58144..f8ddd403 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,7 +18,6 @@ import jneqsim.process.util.sensitivity import jneqsim.process.util.uncertainty import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi index a09c5942..e2e06c89 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,101 +11,175 @@ 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'): ... + 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': ... + def alarm( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessEvent": ... 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') # + _getProperty_1__T = typing.TypeVar("_getProperty_1__T") # @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + 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 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': ... + def getType(self) -> "ProcessEvent.EventType": ... @staticmethod - def info(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... + 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': ... + 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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessEvent.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ProcessEvent.Severity']: ... + 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 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 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi index d5a8baeb..6b98aed4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,103 +9,138 @@ import java.lang import jpype import typing - - class AdvancedProcessLogicExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class BeggsAndBrillsValidationExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class ConfigurableLogicExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class DynamicLogicExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class ESDBlowdownSystemExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class ESDLogicExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class ESDValveExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class FireGasSISExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class FourWellManifoldWithHeatTransferAdjustmentExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class HIPPSExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class HIPPSWithESDExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class IntegratedSafetySystemExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class IntegratedSafetySystemWithLogicExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class ProcessLogicAlarmIntegratedExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class ProcessLogicIntegratedExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class SelectiveLogicExecutionExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class SeparatorFireDepressurizationExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class SeparatorHeatInputExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class TransientPipeHeatTransferExample: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + 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.util.example")``. @@ -118,14 +153,20 @@ class __module_protocol__(Protocol): ESDLogicExample: typing.Type[ESDLogicExample] ESDValveExample: typing.Type[ESDValveExample] FireGasSISExample: typing.Type[FireGasSISExample] - FourWellManifoldWithHeatTransferAdjustmentExample: typing.Type[FourWellManifoldWithHeatTransferAdjustmentExample] + FourWellManifoldWithHeatTransferAdjustmentExample: typing.Type[ + FourWellManifoldWithHeatTransferAdjustmentExample + ] HIPPSExample: typing.Type[HIPPSExample] HIPPSWithESDExample: typing.Type[HIPPSWithESDExample] IntegratedSafetySystemExample: typing.Type[IntegratedSafetySystemExample] - IntegratedSafetySystemWithLogicExample: typing.Type[IntegratedSafetySystemWithLogicExample] + IntegratedSafetySystemWithLogicExample: typing.Type[ + IntegratedSafetySystemWithLogicExample + ] ProcessLogicAlarmIntegratedExample: typing.Type[ProcessLogicAlarmIntegratedExample] ProcessLogicIntegratedExample: typing.Type[ProcessLogicIntegratedExample] SelectiveLogicExecutionExample: typing.Type[SelectiveLogicExecutionExample] - SeparatorFireDepressurizationExample: typing.Type[SeparatorFireDepressurizationExample] + SeparatorFireDepressurizationExample: typing.Type[ + SeparatorFireDepressurizationExample + ] SeparatorHeatInputExample: typing.Type[SeparatorHeatInputExample] TransientPipeHeatTransferExample: typing.Type[TransientPipeHeatTransferExample] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi index 45830704..158bc0a0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,21 +13,31 @@ 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 __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 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 getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def hasChanges(self) -> bool: ... def toString(self) -> java.lang.String: ... @@ -35,42 +45,75 @@ 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 __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 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 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 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 getCollectedData( + self, + ) -> java.util.List["TimeSeriesExporter.TimeSeriesPoint"]: ... def getDataPointCount(self) -> int: ... - def importFromHistorian(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi index 442c8db3..1d2a7fd4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,41 +16,112 @@ import jneqsim.process.processmodel import jneqsim.process.util.optimization import typing - - 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.optimization.ProductionOptimizer.ScenarioComparisonResult: ... + 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.optimization.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 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.optimization.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 __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.optimization.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 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 getTopOptions( + self, int: int + ) -> java.util.List["FacilityCapacity.DebottleneckOption"]: ... def getTotalPotentialGain(self) -> float: ... - def getUtilizationRecords(self) -> java.util.List[jneqsim.process.util.optimization.ProductionOptimizer.UtilizationRecord]: ... + def getUtilizationRecords( + self, + ) -> java.util.List[ + jneqsim.process.util.optimization.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 __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 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: ... @@ -58,9 +129,29 @@ class FacilityCapacity(java.io.Serializable): 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: ... + + 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: ... @@ -82,55 +173,128 @@ class ProductionProfile(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @staticmethod - def calculateCumulativeProduction(declineParameters: 'ProductionProfile.DeclineParameters', double: float) -> float: ... + 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 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]): ... + 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]): ... + 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 __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 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionProfile.DeclineType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionProfile.DeclineType']: ... + 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 __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 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 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 __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: ... @@ -146,34 +310,117 @@ class SensitivityAnalysis(java.io.Serializable): @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 __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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.ProductionOptimizer.OptimizationResult], float]]) -> java.util.Map[java.lang.String, float]: ... + 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.optimization.ProductionOptimizer.OptimizationResult + ], + typing.Callable[ + [ + jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult + ], + typing.Callable[ + [ + jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult + ], + typing.Callable[ + [ + jneqsim.process.util.optimization.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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SensitivityAnalysis.DistributionType": ... @staticmethod - def values() -> typing.MutableSequence['SensitivityAnalysis.DistributionType']: ... + 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 __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 getHistogramData( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMax(self) -> float: ... def getMean(self) -> float: ... def getMin(self) -> float: ... @@ -186,41 +433,88 @@ class SensitivityAnalysis(java.io.Serializable): 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 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 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': ... + 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: ... + + 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 __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: ... @@ -228,40 +522,129 @@ class SensitivityAnalysis(java.io.Serializable): 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': ... + 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 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': ... + 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': ... + 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': ... + 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 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 __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']): + 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 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: ... @@ -270,88 +653,160 @@ class WellScheduler(java.io.Serializable): def getExpectedProductionGain(self) -> float: ... def getPriority(self) -> int: ... def getStartDate(self) -> java.time.LocalDate: ... - def getType(self) -> 'WellScheduler.InterventionType': ... + 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 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.InterventionType": ... @staticmethod - def values() -> typing.MutableSequence['WellScheduler.InterventionType']: ... + 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 __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 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 __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 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 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 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.WellStatus": ... @staticmethod - def values() -> typing.MutableSequence['WellScheduler.WellStatus']: ... - + def values() -> typing.MutableSequence["WellScheduler.WellStatus"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.fielddevelopment")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi index 17d8ea12..ca664f2a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,26 @@ 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: ... + 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': ... + 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: ... @@ -31,27 +39,82 @@ class FireHeatTransferCalculator: 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]] = ... + STANDARD_ORIFICE_LETTERS: typing.ClassVar[ + typing.MutableSequence[java.lang.String] + ] = ... @staticmethod def calculateBlowdownPressure(double: float, double2: float) -> float: ... @staticmethod def calculateCv(double: float, double2: float) -> float: ... @staticmethod - def calculateMassFlowCapacity(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + 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': ... + 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 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': ... + 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: ... + def getNextLargerOrifice( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def getStandardOrificeArea(string: typing.Union[java.lang.String, str]) -> float: ... + def getStandardOrificeArea( + string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod - def validateSizing(pSVSizingResult: 'ReliefValveSizing.PSVSizingResult', boolean: bool) -> java.lang.String: ... + def validateSizing( + pSVSizingResult: "ReliefValveSizing.PSVSizingResult", boolean: bool + ) -> java.lang.String: ... + 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 __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: ... @@ -66,15 +129,43 @@ class ReliefValveSizing: class SeparatorFireExposure: @staticmethod - def applyFireHeating(separator: jneqsim.process.equipment.separator.Separator, fireExposureResult: 'SeparatorFireExposure.FireExposureResult', double: float) -> float: ... + 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': ... + 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': ... + 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 __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: ... @@ -84,10 +175,13 @@ class SeparatorFireExposure: def totalFireHeat(self) -> float: ... def unwettedArea(self) -> float: ... def unwettedRadiativeHeat(self) -> float: ... - def unwettedWall(self) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... + 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: ... @@ -95,16 +189,36 @@ class SeparatorFireExposure: 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 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: ... @@ -113,10 +227,37 @@ class SeparatorFireExposure: 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): ... + 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): ... - def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + int: int, + ): ... + def advanceTimeStep( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... def getHeatAbsorbed(self, double: float, double2: float) -> float: ... def getHeatFlux(self) -> float: ... def getInnerWallTemperature(self) -> float: ... @@ -133,15 +274,56 @@ class TransientWallHeatTransfer: class VesselHeatTransferCalculator: GRAVITY: typing.ClassVar[float] = ... @staticmethod - def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... + def calculateCompleteHeatTransfer( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + ) -> "VesselHeatTransferCalculator.HeatTransferResult": ... @staticmethod - def calculateGrashofNumber(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateGrashofNumber( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> float: ... + def calculateInternalFilmCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + ) -> float: ... @staticmethod - def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool) -> float: ... + def calculateMixedConvectionCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + boolean: bool, + ) -> float: ... @staticmethod - def calculateNucleateBoilingHeatFlux(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + 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 @@ -149,15 +331,38 @@ class VesselHeatTransferCalculator: @staticmethod def calculateNusseltVerticalSurface(double: float, double2: float) -> float: ... @staticmethod - def calculatePrandtlNumber(double: float, double2: float, double3: float) -> float: ... + 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: ... + 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: ... + 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 __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: ... @@ -173,7 +378,6 @@ class VesselRuptureCalculator: @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi index 68434f20..5e3e0cf0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -31,18 +31,24 @@ 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): ... + 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: ... + def __init__( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ): ... + def applyConfig( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> None: ... class FluidComponentResponse: name: java.lang.String = ... @@ -50,7 +56,11 @@ class FluidComponentResponse: @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): ... + 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: ... @@ -63,14 +73,20 @@ class FluidResponse: @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): ... + 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 addScenario( + self, string: typing.Union[java.lang.String, str], scenarioKPI: "ScenarioKPI" + ) -> None: ... def clear(self) -> None: ... def getScenarioCount(self) -> int: ... def printDashboard(self) -> None: ... @@ -78,7 +94,7 @@ class KPIDashboard: class ScenarioKPI: def __init__(self): ... @staticmethod - def builder() -> 'ScenarioKPI.Builder': ... + def builder() -> "ScenarioKPI.Builder": ... def calculateEnvironmentalScore(self) -> float: ... def calculateOverallScore(self) -> float: ... def calculateProcessScore(self) -> float: ... @@ -105,45 +121,56 @@ class ScenarioKPI: 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': ... + 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]): ... + 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): ... + def __init__( + self, wellAllocator: jneqsim.process.measurementdevice.WellAllocator + ): ... class ComponentSplitterResponse(BaseResponse): data: java.util.HashMap = ... - def __init__(self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter): ... + def __init__( + self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter + ): ... class CompressorResponse(BaseResponse): suctionTemperature: float = ... @@ -166,7 +193,9 @@ class CompressorResponse(BaseResponse): def __init__(self): ... @typing.overload def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... - def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + def applyConfig( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> None: ... class DistillationColumnResponse(BaseResponse): massBalanceError: float = ... @@ -177,7 +206,10 @@ class DistillationColumnResponse(BaseResponse): trayLiquidFlowRate: typing.MutableSequence[float] = ... trayFeedFlow: typing.MutableSequence[float] = ... trayMassBalance: typing.MutableSequence[float] = ... - def __init__(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn): ... + def __init__( + self, + distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn, + ): ... class EjectorResponse(BaseResponse): data: java.util.HashMap = ... @@ -193,7 +225,9 @@ class FlareResponse(BaseResponse): class FurnaceBurnerResponse(BaseResponse): data: java.util.HashMap = ... - def __init__(self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner): ... + def __init__( + self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner + ): ... class HXResponse(BaseResponse): feedTemperature1: float = ... @@ -207,7 +241,9 @@ class HXResponse(BaseResponse): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger): ... + def __init__( + self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger + ): ... class HeaterResponse(BaseResponse): data: java.util.HashMap = ... @@ -220,7 +256,9 @@ class MPMResponse(BaseResponse): gasDensity: float = ... oilDensity: float = ... waterDensity: float = ... - def __init__(self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter): ... + def __init__( + self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter + ): ... class ManifoldResponse(BaseResponse): data: java.util.HashMap = ... @@ -237,7 +275,10 @@ class MultiStreamHeatExchanger2Response(BaseResponse): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2): ... + def __init__( + self, + multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2, + ): ... class MultiStreamHeatExchangerResponse(BaseResponse): data: java.util.HashMap = ... @@ -245,7 +286,10 @@ class MultiStreamHeatExchangerResponse(BaseResponse): dischargeTemperature: typing.MutableSequence[float] = ... duty: typing.MutableSequence[float] = ... flowRate: typing.MutableSequence[float] = ... - def __init__(self, multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger): ... + def __init__( + self, + multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger, + ): ... class PipeBeggsBrillsResponse(BaseResponse): inletPressure: float = ... @@ -258,7 +302,9 @@ class PipeBeggsBrillsResponse(BaseResponse): outletVolumeFlow: float = ... inletMassFlow: float = ... outletMassFlow: float = ... - def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + def __init__( + self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills + ): ... class PipelineResponse(BaseResponse): data: java.util.HashMap = ... @@ -288,15 +334,18 @@ class RecycleResponse(BaseResponse): class SeparatorResponse(BaseResponse): gasLoadFactor: float = ... - feed: 'StreamResponse' = ... - gas: 'StreamResponse' = ... - liquid: 'StreamResponse' = ... - oil: 'StreamResponse' = ... - water: 'StreamResponse' = ... + feed: "StreamResponse" = ... + gas: "StreamResponse" = ... + liquid: "StreamResponse" = ... + oil: "StreamResponse" = ... + water: "StreamResponse" = ... @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... class SplitterResponse(BaseResponse): data: java.util.HashMap = ... @@ -306,8 +355,12 @@ 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 __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): @@ -322,17 +375,24 @@ class ThreePhaseSeparatorResponse(BaseResponse): @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... class TurboExpanderCompressorResponse(BaseResponse): - def __init__(self, turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi index 483b594b..9723490f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,167 +17,414 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class BatchStudy(java.io.Serializable): @staticmethod - def builder(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'BatchStudy.Builder': ... + def builder( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "BatchStudy.Builder": ... def getTotalCases(self) -> int: ... - def run(self) -> 'BatchStudy.BatchStudyResult': ... + 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 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 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 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': ... + 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': ... + 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': ... + def vary( + self, string: typing.Union[java.lang.String, str], *double: float + ) -> "BatchStudy.Builder": ... + class CaseResult(java.io.Serializable): - parameters: 'BatchStudy.ParameterSet' = ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BatchStudy.Objective": ... @staticmethod - def values() -> typing.MutableSequence['BatchStudy.Objective']: ... + 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'): ... + 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 __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 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']: ... + 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 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': ... + 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: ... + 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: ... + def formatUtilizationTable( + list: java.util.List["ProductionOptimizer.UtilizationRecord"], + ) -> java.lang.String: ... @staticmethod - def formatUtilizationTimeline(list: java.util.List['ProductionOptimizer.IterationRecord']) -> java.lang.String: ... + def formatUtilizationTimeline( + list: java.util.List["ProductionOptimizer.IterationRecord"], + ) -> java.lang.String: ... @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': ... + 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': ... - 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': ... + 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": ... + 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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ConstraintSeverity": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.ConstraintSeverity']: ... + 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 __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 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 __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 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 __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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ObjectiveType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.ObjectiveType']: ... + 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 defaultUtilizationLimit(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def enableCaching(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... - def equipmentConstraintRule(self, equipmentConstraintRule: 'ProductionOptimizer.EquipmentConstraintRule') -> 'ProductionOptimizer.OptimizationConfig': ... + 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 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: ... @@ -188,54 +435,186 @@ class ProductionOptimizer: def getSocialWeight(self) -> float: ... def getSwarmSize(self) -> int: ... def getUtilizationMarginFraction(self) -> float: ... - def inertiaWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def maxIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def rateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConfig': ... - def searchMode(self, searchMode: 'ProductionOptimizer.SearchMode') -> 'ProductionOptimizer.OptimizationConfig': ... - def socialWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def swarmSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def tolerance(self, double: float) -> '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 inertiaWeight( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def maxIterations( + self, int: int + ) -> "ProductionOptimizer.OptimizationConfig": ... + def rateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.OptimizationConfig": ... + def searchMode( + self, searchMode: "ProductionOptimizer.SearchMode" + ) -> "ProductionOptimizer.OptimizationConfig": ... + def socialWeight( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def swarmSize(self, int: int) -> "ProductionOptimizer.OptimizationConfig": ... + def tolerance( + self, double: float + ) -> "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": ... + class OptimizationConstraint: - 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 __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 getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... - def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... + def getSeverity(self) -> "ProductionOptimizer.ConstraintSeverity": ... @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: ... + 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 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: ... + 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): ... + 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 __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 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 getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + 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 getBottleneck( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getBottleneckUtilization(self) -> float: ... - def getConstraintStatuses(self) -> java.util.List['ProductionOptimizer.ConstraintStatus']: ... + def getConstraintStatuses( + self, + ) -> java.util.List["ProductionOptimizer.ConstraintStatus"]: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... - def getIterationHistory(self) -> java.util.List['ProductionOptimizer.IterationRecord']: ... + 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 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 __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: ... @@ -243,73 +622,188 @@ class ProductionOptimizer: def getUtilization(self) -> float: ... def getUtilizationLimit(self) -> float: ... def getUtilizationMargin(self) -> float: ... - def getUtilizations(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def getUtilizations( + self, + ) -> java.util.List["ProductionOptimizer.UtilizationRecord"]: ... def isFeasible(self) -> bool: ... + 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 __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']: ... + 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 __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': ... + def objectiveValue( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ScenarioKpi": ... @staticmethod - def optimalRate(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... + def optimalRate( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ScenarioKpi": ... @staticmethod - def score() -> 'ProductionOptimizer.ScenarioKpi': ... + def score() -> "ProductionOptimizer.ScenarioKpi": ... + class ScenarioRequest: @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']): ... + 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 __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 getObjectives( + self, + ) -> java.util.List["ProductionOptimizer.OptimizationObjective"]: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getVariables(self) -> java.util.List['ProductionOptimizer.ManipulatedVariable']: ... + def getVariables( + self, + ) -> java.util.List["ProductionOptimizer.ManipulatedVariable"]: ... + class ScenarioResult: - def __init__(self, string: typing.Union[java.lang.String, str], optimizationResult: 'ProductionOptimizer.OptimizationResult'): ... + 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + 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"] = ... + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.SearchMode": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.SearchMode']: ... + 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 __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 __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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.optimization")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi index ab661a59..239eda83 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,17 +12,21 @@ import jneqsim.process.util.report.safety import jneqsim.thermo.system import typing - - class Report: @typing.overload - def __init__(self, processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass): ... + 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): ... + def __init__( + self, + processModuleBaseClass: jneqsim.process.processmodel.ProcessModuleBaseClass, + ): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload @@ -30,31 +34,42 @@ class Report: @typing.overload def generateJsonReport(self) -> java.lang.String: ... @typing.overload - def generateJsonReport(self, reportConfig: 'ReportConfig') -> java.lang.String: ... + def generateJsonReport(self, reportConfig: "ReportConfig") -> java.lang.String: ... class ReportConfig: - detailLevel: 'ReportConfig.DetailLevel' = ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReportConfig.DetailLevel": ... @staticmethod - def values() -> typing.MutableSequence['ReportConfig.DetailLevel']: ... - + def values() -> typing.MutableSequence["ReportConfig.DetailLevel"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi index d5f7220e..0116431c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,61 +12,105 @@ import jneqsim.process.processmodel import jneqsim.process.util.report import typing - - class ProcessSafetyReport: - def getConditionFindings(self) -> java.util.List['ProcessSafetyReport.ConditionFinding']: ... + 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 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 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 __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 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 __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 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 __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 getSeverity(self) -> "SeverityLevel": ... def getUnitName(self) -> java.lang.String: ... + class SystemKpiSnapshot: - def __init__(self, double: float, double2: float, severityLevel: 'SeverityLevel', severityLevel2: 'SeverityLevel'): ... + def __init__( + self, + double: float, + double2: float, + severityLevel: "SeverityLevel", + severityLevel2: "SeverityLevel", + ): ... def getEntropyChangeKjPerK(self) -> float: ... - def getEntropySeverity(self) -> 'SeverityLevel': ... + def getEntropySeverity(self) -> "SeverityLevel": ... def getExergyChangeKj(self) -> float: ... - def getExergySeverity(self) -> 'SeverityLevel': ... + 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': ... + 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 __init__(self, processSafetyThresholds: "ProcessSafetyThresholds"): ... def getEntropyChangeCritical(self) -> float: ... def getEntropyChangeWarning(self) -> float: ... def getExergyChangeCritical(self) -> float: ... @@ -75,30 +119,37 @@ class ProcessSafetyThresholds: 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': ... + 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "SeverityLevel": ... @staticmethod - def values() -> typing.MutableSequence['SeverityLevel']: ... - + def values() -> typing.MutableSequence["SeverityLevel"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report.safety")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi index 542d6bb5..80bbb183 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,15 +13,17 @@ 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 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 @@ -31,18 +33,38 @@ class ProcessScenarioRunner: 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': ... + 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 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 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]: ... @@ -50,34 +72,79 @@ class ScenarioExecutionSummary: 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: ... + 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 __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 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: ... + 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi index 348d0703..0f07062d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,36 +11,65 @@ 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': ... + 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': ... + 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': ... + 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': ... + 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': ... + 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]): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi index 928ed93f..26ef88c0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,72 +13,170 @@ 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 __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 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: ... + 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: ... + 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 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): ... + 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 __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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "UncertaintyAnalyzer.InputUncertainty.DistributionType": ... @staticmethod - def values() -> typing.MutableSequence['UncertaintyAnalyzer.InputUncertainty.DistributionType']: ... + 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): ... + 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 __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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi index d65ffce0..c44c1037 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,7 +13,6 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi index fef1d550..2d47a1d5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,23 @@ 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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def getBubblePointPressure(self) -> float: ... - def getCpaAnalyzer(self) -> 'AsphalteneStabilityAnalyzer': ... + def getCpaAnalyzer(self) -> "AsphalteneStabilityAnalyzer": ... def getCpaOnsetPressure(self) -> float: ... - def getDeBoerScreening(self) -> 'DeBoerAsphalteneScreening': ... + 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: ... + def setSARAFractions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... class AsphalteneStabilityAnalyzer: @typing.overload @@ -31,31 +36,53 @@ class AsphalteneStabilityAnalyzer: 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 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AsphalteneStabilityAnalyzer.AsphalteneRisk": ... @staticmethod - def values() -> typing.MutableSequence['AsphalteneStabilityAnalyzer.AsphalteneRisk']: ... + def values() -> ( + typing.MutableSequence["AsphalteneStabilityAnalyzer.AsphalteneRisk"] + ): ... class DeBoerAsphalteneScreening: @typing.overload @@ -63,12 +90,19 @@ class DeBoerAsphalteneScreening: @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 __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 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: ... @@ -82,23 +116,32 @@ class DeBoerAsphalteneScreening: 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 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DeBoerAsphalteneScreening.DeBoerRisk": ... @staticmethod - def values() -> typing.MutableSequence['DeBoerAsphalteneScreening.DeBoerRisk']: ... - + def values() -> ( + typing.MutableSequence["DeBoerAsphalteneScreening.DeBoerRisk"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.flowassurance")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi index 8a5364a3..bbb209e9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,6 @@ else: import jneqsim.pvtsimulation.simulation import typing - - class TuningInterface: def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... def run(self) -> None: ... @@ -18,7 +16,9 @@ class TuningInterface: class BaseTuningClass(TuningInterface): saturationTemperature: float = ... saturationPressure: float = ... - def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... + def __init__( + self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface + ): ... def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... def isTunePlusMolarMass(self) -> bool: ... def isTuneVolumeCorrection(self) -> bool: ... @@ -28,10 +28,11 @@ class BaseTuningClass(TuningInterface): def setTuneVolumeCorrection(self, boolean: bool) -> None: ... class TuneToSaturation(BaseTuningClass): - def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi index 149799e7..117e5e52 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ 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: ... @@ -28,7 +26,9 @@ class CCEDataPoint: def setYFactor(self, double: float) -> None: ... class CVDDataPoint: - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + 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: ... @@ -36,14 +36,23 @@ class CVDDataPoint: 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 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 __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getBo(self) -> float: ... def getGasGravity(self) -> float: ... def getOilDensity(self) -> float: ... @@ -59,90 +68,162 @@ class DLEDataPoint: 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ExperimentType": ... @staticmethod - def values() -> typing.MutableSequence['ExperimentType']: ... + 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: ... + 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 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: ... + 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 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: ... + 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: ... + 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: ... 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 getLastResult(self) -> "RegressionResult": ... + def getSeparatorData(self) -> java.util.List["SeparatorDataPoint"]: ... def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def runRegression(self) -> 'RegressionResult': ... - def setExperimentWeight(self, experimentType: ExperimentType, double: float) -> None: ... + 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: ... +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: ... + 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'] = ... - def applyToFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RegressionParameter": ... @staticmethod - def values() -> typing.MutableSequence['RegressionParameter']: ... + def values() -> typing.MutableSequence["RegressionParameter"]: ... class RegressionParameterConfig: - def __init__(self, regressionParameter: RegressionParameter, double: float, double2: float, double3: float): ... + def __init__( + self, + regressionParameter: RegressionParameter, + double: float, + double2: float, + double3: float, + ): ... def getInitialGuess(self) -> float: ... def getLowerBound(self) -> float: ... def getOptimizedValue(self) -> float: ... @@ -154,10 +235,22 @@ class RegressionParameterConfig: 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 __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 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]: ... @@ -165,11 +258,19 @@ class RegressionResult: def getParameterConfigs(self) -> java.util.List[RegressionParameterConfig]: ... def getTotalObjective(self) -> float: ... def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getUncertainty(self) -> 'UncertaintyAnalysis': ... + 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 __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: ... @@ -188,13 +289,27 @@ class SeparatorDataPoint: 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 __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 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 getCorrelationMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDegreesOfFreedom(self) -> int: ... def getParameterValue(self, int: int) -> float: ... def getParameterValues(self) -> typing.MutableSequence[float]: ... @@ -206,7 +321,6 @@ class UncertaintyAnalysis: def hasHighCorrelations(self) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.regression")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi index b99e8f30..0f11ef52 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,8 +7,6 @@ else: import typing - - class CompositionEstimation: def __init__(self, double: float, double2: float): ... @typing.overload @@ -16,7 +14,6 @@ class CompositionEstimation: @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi index 9dbf3090..cc44d39c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,24 +13,36 @@ 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 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: ... + 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 = ... + 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 getOptimizer( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ): ... def getPressure(self) -> float: ... def getPressures(self) -> typing.MutableSequence[float]: ... def getSaturationPressure(self) -> float: ... @@ -39,20 +51,35 @@ class BasePVTsimulation(SimulationInterface): 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 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: ... + 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: ... + 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 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]: ... @@ -66,17 +93,25 @@ class ConstantMassExpansion(BasePVTsimulation): 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 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 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 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]: ... @@ -87,10 +122,16 @@ class ConstantVolumeDepletion(BasePVTsimulation): 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 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 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): @@ -100,10 +141,16 @@ class DensitySim(BasePVTsimulation): 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 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 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): ... @@ -121,7 +168,9 @@ class DifferentialLiberation(BasePVTsimulation): 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 main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def validateBgMonotonicity(self) -> bool: ... def validateBoMonotonicity(self) -> bool: ... @@ -133,82 +182,135 @@ class GOR(BasePVTsimulation): 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 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: ... + 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 __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 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 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: ... + 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MMPCalculator.MiscibilityMechanism": ... @staticmethod - def values() -> typing.MutableSequence['MMPCalculator.MiscibilityMechanism']: ... + 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 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 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': ... + 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 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: ... + 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 __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: ... @@ -216,16 +318,29 @@ class MultiStageSeparatorTest(BasePVTsimulation): 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 __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 __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: ... @@ -247,14 +362,18 @@ class SaturationPressure(BasePVTsimulation): def calcSaturationPressure(self) -> float: ... def getSaturationPressure(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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 main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... class SeparatorTest(BasePVTsimulation): @@ -262,15 +381,27 @@ class SeparatorTest(BasePVTsimulation): 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 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: ... + 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 __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 main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... def setNumberOfSlimTubeNodes(self, int: int) -> None: ... @@ -279,12 +410,22 @@ class SwellingTest(BasePVTsimulation): 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 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: ... + 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): ... @@ -292,10 +433,16 @@ class ViscositySim(BasePVTsimulation): 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 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 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): ... @@ -306,11 +453,19 @@ class ViscosityWaxOilSim(BasePVTsimulation): 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 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: ... + 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): ... @@ -318,11 +473,16 @@ class WaxFractionSim(BasePVTsimulation): 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi index c635b10b..18555f67 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.pvtsimulation.util.parameterfitting import jneqsim.thermo.system import typing - - class BlackOilCorrelations: @staticmethod def apiFromSpecificGravity(double: float) -> float: ... @@ -24,28 +22,58 @@ class BlackOilCorrelations: def boToBblPerStb(double: float) -> float: ... @typing.overload @staticmethod - def bubblePointGlaso(double: float, double2: float, double3: float, double4: float) -> float: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + def bubblePointStandingSI( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def bubblePointVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + 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: ... + 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: ... + def bubblePointVasquezBeggs( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod def celsiusToFahrenheit(double: float) -> float: ... @typing.overload @@ -53,7 +81,9 @@ class BlackOilCorrelations: def deadOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def deadOilViscosityBeggsRobinson( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def deadOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... @typing.overload @@ -61,7 +91,9 @@ class BlackOilCorrelations: def deadOilViscosityGlaso(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityGlaso(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def deadOilViscosityGlaso( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def deadOilViscosityGlasoSI(double: float, double2: float) -> float: ... @typing.overload @@ -69,7 +101,9 @@ class BlackOilCorrelations: def deadOilViscosityKartoatmodjo(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def deadOilViscosityKartoatmodjo( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def deadOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... @staticmethod @@ -79,55 +113,102 @@ class BlackOilCorrelations: def gasFVF(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def gasFVF(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + 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: ... + def gasViscosityLeeGonzalezEakin( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def gasViscosityLeeGonzalezEakin( + double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod - def gasViscosityLeeGonzalezEakinSI(double: float, double2: float, double3: float) -> float: ... + def gasViscosityLeeGonzalezEakinSI( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def getDefaultUnits() -> 'BlackOilUnits': ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + def oilFVFVasquezBeggs( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod def psiaToBara(double: float) -> float: ... @typing.overload @@ -135,59 +216,109 @@ class BlackOilCorrelations: def saturatedOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def saturatedOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def saturatedOilViscosityBeggsRobinson( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod - def saturatedOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... + 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: ... + def saturatedOilViscosityKartoatmodjo( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def saturatedOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... @staticmethod - def setDefaultUnits(blackOilUnits: 'BlackOilUnits') -> None: ... + def setDefaultUnits(blackOilUnits: "BlackOilUnits") -> None: ... @typing.overload @staticmethod - def solutionGORStanding(double: float, double2: float, double3: float, double4: float) -> float: ... + 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: ... + 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: ... + def solutionGORStandingSI( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def solutionGORVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + 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: ... + 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: ... + 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: ... + def undersaturatedOilViscosityBergmanSutton( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def undersaturatedOilViscosityBergmanSutton( + double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod - def undersaturatedOilViscosityBergmanSuttonSI(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityBergmanSuttonSI( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def undersaturatedOilViscosityVasquesBeggsS(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityVasquesBeggsS( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityVasquezBeggs( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + 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': ... + 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: ... @@ -197,67 +328,112 @@ class BlackOilTableValidator: 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'] = ... +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: ... + def convertBg(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def convertBo(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def convertBo(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromCentipoise(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromFahrenheit(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromLbPerFt3(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromPerPsi(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromPsia(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromScfPerStb(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromScfPerStb(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toCentipoise(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toFahrenheit(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toLbPerFt3(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toPerPsi(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toPsia(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toRankine(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "BlackOilUnits": ... @staticmethod - def values() -> typing.MutableSequence['BlackOilUnits']: ... + def values() -> typing.MutableSequence["BlackOilUnits"]: ... 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 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: ... @@ -268,13 +444,32 @@ class PVTReportGenerator: 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 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 __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: ... @@ -282,7 +477,9 @@ class PVTReportGenerator: class SaturationPressureCorrelation: @staticmethod - def alMarhoun(double: float, double2: float, double3: float, double4: float) -> float: ... + def alMarhoun( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def apiToSpecificGravity(double: float) -> float: ... @staticmethod @@ -290,15 +487,23 @@ class SaturationPressureCorrelation: @staticmethod def celsiusToFahrenheit(double: float) -> float: ... @staticmethod - def estimateWithStatistics(double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + 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: ... + 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: ... + def glaso( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def petroskyFarshad(double: float, double2: float, double3: float, double4: float) -> float: ... + def petroskyFarshad( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def psiaToBar(double: float) -> float: ... @staticmethod @@ -308,10 +513,13 @@ class SaturationPressureCorrelation: @staticmethod def specificGravityToAPI(double: float) -> float: ... @staticmethod - def standing(double: float, double2: float, double3: float, double4: float) -> float: ... + def standing( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def vasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... - + def vasquezBeggs( + double: float, double2: float, double3: float, double4: float + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi index 856fa162..ac74824f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import jneqsim.thermo.system import typing - - class AsphalteneOnsetFitting: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload @@ -26,130 +24,218 @@ class AsphalteneOnsetFitting: def getFittedAssociationEnergy(self) -> float: ... def getFittedAssociationVolume(self) -> float: ... def getFittedParameters(self) -> typing.MutableSequence[float]: ... - def getFunction(self) -> 'AsphalteneOnsetFunction': ... + def getFunction(self) -> "AsphalteneOnsetFunction": ... def getNumberOfDataPoints(self) -> int: ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + 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 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): +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: ... + 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AsphalteneOnsetFunction.FittingParameterType": ... @staticmethod - def values() -> typing.MutableSequence['AsphalteneOnsetFunction.FittingParameterType']: ... + def values() -> ( + typing.MutableSequence["AsphalteneOnsetFunction.FittingParameterType"] + ): ... -class CMEFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +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: ... + 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: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class CVDFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +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: ... + 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: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class DensityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class DensityFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class FunctionJohanSverderup(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class FunctionJohanSverderup( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class SaturationPressureFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class SaturationPressureFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... + 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: ... + 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: ... + 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +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: ... + 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: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class WaxFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class WaxFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi index aa81e80f..302db806 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,55 +14,97 @@ 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 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 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: ... + 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 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: ... + 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: ... + 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]): ... + 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 __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 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi index d1bd2c5b..5a88dd9e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,57 +12,87 @@ 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: ... + 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 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: ... + 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 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: ... + 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 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: ... + 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 getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... 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: ... + 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 getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class Standard_ISO6578(jneqsim.standards.Standard): @@ -70,36 +100,65 @@ class Standard_ISO6578(jneqsim.standards.Standard): 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: ... + 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 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): +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): ... + 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 __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 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 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: ... + 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 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: ... @@ -111,11 +170,17 @@ class Standard_ISO6976(jneqsim.standards.Standard, jneqsim.thermo.ThermodynamicC 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: ... + 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 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): @@ -123,11 +188,17 @@ class UKspecifications_ICF_SI(jneqsim.standards.Standard): 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: ... + 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 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): @@ -137,14 +208,25 @@ 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 __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: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi index 263ef45b..e6fd5a4d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,23 +11,30 @@ import jneqsim.standards import jneqsim.thermo.system import typing - - 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: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> 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 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: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setMethodRVP(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceTemperature(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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi index af7ebe28..caf2163b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,12 +12,12 @@ 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 getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecificationsNumber(self) -> int: ... def getWaterDewPointSpecPressure(self) -> float: ... def getWaterDewPointTemperature(self) -> float: ... @@ -25,13 +25,32 @@ class ContractInterface: 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 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 __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: ... @@ -51,7 +70,9 @@ class ContractSpecification(jneqsim.util.NamedBaseClass): 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 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: ... @@ -61,24 +82,53 @@ class BaseContract(ContractInterface): @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 __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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi index 4de2aed8..988675cc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,12 +12,15 @@ 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__ + 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-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi index e804dc52..02866800 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.statistics.dataanalysis.datasmoothing import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.dataanalysis")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi index 8984079f..8fe00ad0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,16 +8,20 @@ else: 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi index 6651e63b..b12540fa 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,14 +8,13 @@ else: 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__ + wettedwallcolumndata: ( + jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi index d585e8f5..471d5a4f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,9 +8,9 @@ else: import jneqsim.statistics.experimentalequipmentdata import typing - - -class WettedWallColumnData(jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData): +class WettedWallColumnData( + jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData +): @typing.overload def __init__(self): ... @typing.overload @@ -22,7 +22,6 @@ class WettedWallColumnData(jneqsim.statistics.experimentalequipmentdata.Experime 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi index 0b5765ca..f8bcb991 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ 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__ + readdatafromfile: ( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.__module_protocol__ + ) + samplecreator: ( + jneqsim.statistics.experimentalsamplecreation.samplecreator.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi index 92703d0b..06b126ee 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader import typing - - class DataObjectInterface: ... class DataReaderInterface: @@ -28,10 +26,11 @@ class DataReader(DataReaderInterface): 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 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")``. @@ -39,4 +38,6 @@ class __module_protocol__(Protocol): DataObjectInterface: typing.Type[DataObjectInterface] DataReader: typing.Type[DataReader] DataReaderInterface: typing.Type[DataReaderInterface] - wettedwallcolumnreader: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ + wettedwallcolumnreader: ( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi index 6ad03530..6d00383f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,9 +10,9 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.readdatafromfile import typing - - -class WettedWallColumnDataObject(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject): +class WettedWallColumnDataObject( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject +): def __init__(self): ... def getCo2SupplyFlow(self) -> float: ... def getColumnWallTemperature(self) -> float: ... @@ -35,16 +35,19 @@ class WettedWallColumnDataObject(jneqsim.statistics.experimentalsamplecreation.r def setPressure(self, double: float) -> None: ... def setTime(self, string: typing.Union[java.lang.String, str]) -> None: ... -class WettedWallDataReader(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataReader): +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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi index 44b40d9b..eac7d937 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,19 +11,27 @@ 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: ... - + 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__ + wettedwallcolumnsamplecreator: ( + jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi index e7a3938a..432ec387 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,20 +10,21 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.samplecreator import typing - - -class WettedWallColumnSampleCreator(jneqsim.statistics.experimentalsamplecreation.samplecreator.SampleCreator): +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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi index 16975fdd..507779ef 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,20 +8,24 @@ else: 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): ... + def __init__( + self, + statisticsBaseClass: jneqsim.statistics.parameterfitting.StatisticsBaseClass, + int: int, + ): ... @typing.overload - def __init__(self, statisticsInterface: jneqsim.statistics.parameterfitting.StatisticsInterface): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi index d5fd8de6..c85e08bb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,12 +15,12 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - 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 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: ... @@ -30,29 +30,42 @@ class FunctionInterface(java.lang.Cloneable): 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 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: ... + 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: ... + def calcDerivative( + statisticsBaseClass: "StatisticsBaseClass", int: int, int2: int + ) -> float: ... class SampleSet(java.lang.Cloneable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, arrayList: java.util.ArrayList['SampleValue']): ... + 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 __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': ... + def getSample(self, int: int) -> "SampleValue": ... class SampleValue(java.lang.Cloneable): system: jneqsim.thermo.system.SystemInterface = ... @@ -60,10 +73,21 @@ class SampleValue(java.lang.Cloneable): @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 __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: ... @@ -75,14 +99,18 @@ class SampleValue(java.lang.Cloneable): @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 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 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: ... + def setThermodynamicSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class StatisticsInterface: - def createNewRandomClass(self) -> 'StatisticsBaseClass': ... + def createNewRandomClass(self) -> "StatisticsBaseClass": ... def displayCurveFit(self) -> None: ... def displayResult(self) -> None: ... def getNumberOfTuningParameters(self) -> int: ... @@ -100,8 +128,10 @@ class BaseFunction(FunctionInterface): 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 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: ... @@ -111,22 +141,35 @@ class BaseFunction(FunctionInterface): 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 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: ... + def setInitialGuess( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setThermodynamicSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... 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 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 calcDerivatives( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcDeviation(self) -> None: ... def calcParameterStandardDeviation(self) -> None: ... def calcParameterUncertainty(self) -> None: ... @@ -136,10 +179,12 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): 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 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 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: ... @@ -153,13 +198,14 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): @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 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")``. @@ -170,4 +216,6 @@ class __module_protocol__(Protocol): SampleValue: typing.Type[SampleValue] StatisticsBaseClass: typing.Type[StatisticsBaseClass] StatisticsInterface: typing.Type[StatisticsInterface] - nonlinearparameterfitting: jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ + nonlinearparameterfitting: ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi index 9519068c..61d3e757 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,23 @@ import jpype import jneqsim.statistics.parameterfitting import typing - - class LevenbergMarquardt(jneqsim.statistics.parameterfitting.StatisticsBaseClass): def __init__(self): ... - def clone(self) -> 'LevenbergMarquardt': ... + def clone(self) -> "LevenbergMarquardt": ... def getMaxNumberOfIterations(self) -> int: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def getFittingParams(self, int: int) -> float: ... @typing.overload @@ -32,24 +34,29 @@ class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunctio 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: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... class LevenbergMarquardtAbsDev(LevenbergMarquardt): def __init__(self): ... - def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... - def clone(self) -> 'LevenbergMarquardtAbsDev': ... + def clone(self) -> "LevenbergMarquardtAbsDev": ... class LevenbergMarquardtBiasDev(LevenbergMarquardt): def __init__(self): ... - def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... - def clone(self) -> 'LevenbergMarquardtBiasDev': ... - + def clone(self) -> "LevenbergMarquardtBiasDev": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.parameterfitting.nonlinearparameterfitting")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi index 0dd7ddb9..44472949 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,27 +17,43 @@ 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: ... + 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: ... + 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 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 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 setThermoMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setThermoModel(self, string: typing.Union[java.lang.String, str]) -> None: ... class FluidCreator: @@ -47,13 +63,21 @@ class FluidCreator: thermoMixingRule: typing.ClassVar[java.lang.String] = ... @typing.overload @staticmethod - def create(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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: ... + 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] = ... @@ -90,7 +114,6 @@ class ThermodynamicModelTest(ThermodynamicConstantsInterface): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi index 45b62139..4072cfb7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ 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 @@ -22,19 +20,29 @@ class Element(jneqsim.thermo.ThermodynamicConstantsInterface): 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: ... + def getNumberOfElements( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... -class UNIFACgroup(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comparable['UNIFACgroup']): +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 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 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: ... @@ -72,12 +80,13 @@ class UNIFACgroup(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comp 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi index 87b452e5..1f799836 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,18 @@ 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 __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: ... @@ -44,7 +46,9 @@ class AsphalteneCharacterization: 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 setSARAFractions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setSaturates(self, double: float) -> None: ... class Characterise(java.io.Serializable, java.lang.Cloneable): @@ -54,29 +58,45 @@ class Characterise(java.io.Serializable, java.lang.Cloneable): 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 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 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 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 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': ... + 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 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]: ... @@ -97,52 +117,79 @@ class CharacteriseInterface: @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 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 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': ... + def builder() -> "CharacterizationOptions.Builder": ... @staticmethod - def defaults() -> 'CharacterizationOptions': ... + def defaults() -> "CharacterizationOptions": ... def getCompositionTolerance(self) -> float: ... - def getNamingScheme(self) -> 'CharacterizationOptions.NamingScheme': ... + def getNamingScheme(self) -> "CharacterizationOptions.NamingScheme": ... def isGenerateValidationReport(self) -> bool: ... def isNormalizeComposition(self) -> bool: ... def isTransferBinaryInteractionParameters(self) -> bool: ... @staticmethod - def withBipTransfer() -> 'CharacterizationOptions': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CharacterizationOptions.NamingScheme": ... @staticmethod - def values() -> typing.MutableSequence['CharacterizationOptions.NamingScheme']: ... + 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 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: ... @@ -167,7 +214,11 @@ class NewtonSolveAB(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + tBPCharacterize: "TBPCharacterize", + ): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... @@ -176,7 +227,11 @@ class NewtonSolveABCD(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + tBPCharacterize: "TBPCharacterize", + ): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... @@ -185,25 +240,39 @@ class NewtonSolveCDplus(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, plusCharacterize: 'PlusCharacterize'): ... + 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 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 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 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 clone(self) -> "OilAssayCharacterisation.AssayCut": ... def getMassFraction(self) -> float: ... def getName(self) -> java.lang.String: ... def getVolumeFraction(self) -> float: ... @@ -213,16 +282,34 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): 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': ... + 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] = ... @@ -242,11 +329,27 @@ class PedersenAsphalteneCharacterization: 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 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 assessStability(self, double: float) -> java.lang.String: ... - def calculateOnsetPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + 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: ... @@ -264,9 +367,13 @@ class PedersenAsphalteneCharacterization: def getTcMultiplier(self) -> float: ... def isCharacterized(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @staticmethod - def markAsphalteneRichLiquidPhases(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def markAsphalteneRichLiquidPhases( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> bool: ... def resetTuningParameters(self) -> None: ... def setAsphalteneDensity(self, double: float) -> None: ... def setAsphalteneMW(self, double: float) -> None: ... @@ -277,14 +384,20 @@ class PedersenAsphalteneCharacterization: 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 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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + pedersenPlusModel: "PlusFractionModel.PedersenPlusModel", + ): ... def setJacAB(self) -> None: ... def setJacCD(self) -> None: ... def setfvecAB(self) -> None: ... @@ -293,11 +406,16 @@ class PedersenPlusModelSolver(java.io.Serializable): class PlusFractionModel(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def getModel(self, string: typing.Union[java.lang.String, str]) -> 'PlusFractionModelInterface': ... + 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 characterizePlusFraction( + self, tBPModelInterface: "TBPModelInterface" + ) -> bool: ... def getCoef(self, int: int) -> float: ... def getCoefs(self) -> typing.MutableSequence[float]: ... def getDens(self) -> typing.MutableSequence[float]: ... @@ -319,25 +437,54 @@ class PlusFractionModelInterface(java.io.Serializable): class PseudoComponentCombiner: @typing.overload @staticmethod - def characterizeToReference(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + def normalizeComposition( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> None: ... @staticmethod - def transferBinaryInteractionParameters(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> None: ... + 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 __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: ... @@ -352,10 +499,17 @@ class TBPModelInterface: 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 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 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: ... @@ -363,21 +517,31 @@ class TBPModelInterface: class WaxModelInterface(java.io.Serializable, java.lang.Cloneable): def addTBPWax(self) -> None: ... - def clone(self) -> 'WaxModelInterface': ... + def clone(self) -> "WaxModelInterface": ... def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... - def getParameterWaxTriplePointTemperature(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: ... + 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: ... + def setParameterWaxTriplePointTemperature( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature(self, int: int, double: float) -> None: ... + 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: ... + def setWaxParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class PlusCharacterize(java.io.Serializable, CharacteriseInterface): @typing.overload @@ -389,7 +553,9 @@ class PlusCharacterize(java.io.Serializable, CharacteriseInterface): 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 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: ... @@ -411,18 +577,24 @@ class PlusCharacterize(java.io.Serializable, CharacteriseInterface): def hasPlusFraction(self) -> bool: ... def isPseudocomponents(self) -> bool: ... def removeTBPfraction(self) -> None: ... - def setCarbonNumberVector(self, intArray: typing.Union[typing.List[int], 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 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 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: ... @@ -455,37 +627,64 @@ class TBPCharacterize(PlusCharacterize): 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: ... + 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 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 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 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'): ... + + class PVTLumpingModel( + jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel + ): + def __init__(self, lumpingModel: "LumpingModel"): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... - class StandardLumpingModel(LumpingModelInterface, java.lang.Cloneable, java.io.Serializable): - def __init__(self, lumpingModel: 'LumpingModel'): ... + + class StandardLumpingModel( + LumpingModelInterface, java.lang.Cloneable, java.io.Serializable + ): + def __init__(self, lumpingModel: "LumpingModel"): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... def getLumpedComponentName(self, int: int) -> java.lang.String: ... - def getLumpedComponentNames(self) -> typing.MutableSequence[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: ... @@ -501,70 +700,131 @@ class TBPfractionModel(java.io.Serializable): 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: ... + 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 __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 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 __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 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'): ... + + 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'): ... + + 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 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'): ... + + 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 __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 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 __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... - def calcAcentricFactorKeslerLee(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 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 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 __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 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: ... @@ -572,39 +832,56 @@ class TBPfractionModel(java.io.Serializable): class WaxCharacterise(java.io.Serializable, java.lang.Cloneable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def clone(self) -> 'WaxCharacterise': ... + def clone(self) -> "WaxCharacterise": ... @typing.overload def getModel(self) -> WaxModelInterface: ... @typing.overload - def getModel(self, string: typing.Union[java.lang.String, str]) -> WaxModelInterface: ... + 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'): ... + + 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 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 __init__(self, waxCharacterise: "WaxCharacterise"): ... def addTBPWax(self) -> None: ... - def clone(self) -> 'WaxCharacterise.WaxBaseModel': ... + def clone(self) -> "WaxCharacterise.WaxBaseModel": ... def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... - def getParameterWaxTriplePointTemperature(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: ... + 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: ... + def setParameterWaxTriplePointTemperature( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature(self, int: int, double: float) -> None: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi index a3fbf401..a7fbff97 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,22 +15,49 @@ 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: ... +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 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 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: ... @@ -43,7 +70,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def getAssociationScheme(self) -> java.lang.String: ... def getAssociationVolume(self) -> float: ... def getAssociationVolumeSAFT(self) -> float: ... - def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTerm( + self, + ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... def getAttractiveTermNumber(self) -> int: ... def getCASnumber(self) -> java.lang.String: ... def getCCsolidVaporPressure(self, double: float) -> float: ... @@ -51,18 +80,34 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la @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 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 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: ... + 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 getComponentNameMap() -> ( + java.util.LinkedHashMap[java.lang.String, java.lang.String] + ): ... def getComponentNumber(self) -> int: ... def getComponentType(self) -> java.lang.String: ... def getCp0(self, double: float) -> float: ... @@ -113,21 +158,29 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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: ... + 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 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: ... + 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 getNormalLiquidDensity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNumberOfAssociationSites(self) -> int: ... def getNumberOfMolesInPhase(self) -> float: ... def getNumberOfmoles(self) -> float: ... @@ -161,7 +214,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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 getTotalFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTriplePointDensity(self) -> float: ... def getTriplePointPressure(self) -> float: ... def getTriplePointTemperature(self) -> float: ... @@ -181,8 +236,12 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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 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: ... @@ -191,10 +250,18 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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 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: ... @@ -203,7 +270,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def setAntoineCSolid(self, double: float) -> None: ... def setAssociationEnergy(self, double: float) -> None: ... def setAssociationEnergySAFT(self, double: float) -> None: ... - def setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> 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 setAttractiveTerm(self, int: int) -> None: ... @@ -223,7 +292,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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 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: ... @@ -237,13 +308,17 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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: ... + 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 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: ... @@ -252,9 +327,11 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la @typing.overload def setPC(self, double: float) -> None: ... @typing.overload - def setPC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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 setProperties(self, componentInterface: "ComponentInterface") -> None: ... def setRacketZ(self, double: float) -> None: ... def setRacketZCPA(self, double: float) -> None: ... def setReferencePotential(self, double: float) -> None: ... @@ -267,7 +344,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la @typing.overload def setTC(self, double: float) -> None: ... @typing.overload - def setTC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -290,22 +369,63 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la 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: ... + 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 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 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: ... @@ -318,24 +438,40 @@ class Component(ComponentInterface): def getAssociationScheme(self) -> java.lang.String: ... def getAssociationVolume(self) -> float: ... def getAssociationVolumeSAFT(self) -> float: ... - def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + 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: ... + 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: ... + 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 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: ... @@ -360,7 +496,9 @@ class Component(ComponentInterface): 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 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: ... @@ -393,21 +531,29 @@ class Component(ComponentInterface): 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: ... + 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 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: ... + 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 getNormalLiquidDensity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNumberOfAssociationSites(self) -> int: ... def getNumberOfMolesInPhase(self) -> float: ... def getNumberOfmoles(self) -> float: ... @@ -443,7 +589,9 @@ class Component(ComponentInterface): 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 getTotalFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTriplePointDensity(self) -> float: ... def getTriplePointPressure(self) -> float: ... def getTriplePointTemperature(self) -> float: ... @@ -463,8 +611,12 @@ class Component(ComponentInterface): 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 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: ... @@ -474,10 +626,18 @@ class Component(ComponentInterface): 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 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: ... @@ -486,7 +646,9 @@ class Component(ComponentInterface): def setAntoineCSolid(self, double: float) -> None: ... def setAssociationEnergy(self, double: float) -> None: ... def setAssociationEnergySAFT(self, double: float) -> None: ... - def setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> 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 setAttractiveTerm(self, int: int) -> None: ... @@ -506,7 +668,9 @@ class Component(ComponentInterface): 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 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: ... @@ -520,15 +684,21 @@ class Component(ComponentInterface): 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: ... + 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: ... + 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 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: ... @@ -537,7 +707,9 @@ class Component(ComponentInterface): @typing.overload def setPC(self, double: float) -> None: ... @typing.overload - def setPC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -555,7 +727,9 @@ class Component(ComponentInterface): @typing.overload def setTC(self, double: float) -> None: ... @typing.overload - def setTC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -580,10 +754,35 @@ 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 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: ... @@ -619,7 +818,26 @@ 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 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: ... @@ -628,10 +846,22 @@ class ComponentGEInterface(ComponentInterface): 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 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]: ... @@ -658,19 +888,67 @@ class ComponentEos(Component, ComponentEosInterface): 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 __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 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: ... @@ -681,14 +959,22 @@ class ComponentEos(Component, ComponentEosInterface): 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 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: ... + 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]: ... @@ -705,17 +991,38 @@ class ComponentEos(Component, ComponentEosInterface): 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 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 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 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 setAttractiveParameter( + self, + attractiveTermInterface: jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface, + ) -> None: ... def setAttractiveTerm(self, int: int) -> None: ... def setBder(self, double: float) -> None: ... def seta(self, double: float) -> None: ... @@ -729,12 +1036,41 @@ class ComponentEos(Component, ComponentEosInterface): 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 __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: ... + 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: ... @@ -745,62 +1081,164 @@ class ComponentGE(Component, ComponentGEInterface): 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: ... + 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: ... + 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 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 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 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: ... + 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 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 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: ... + 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 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: ... @@ -808,57 +1246,173 @@ 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 __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: ... + 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 __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 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: ... + 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 __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: ... + 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 getLngamma(self) -> float: ... - def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> 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 __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 clone(self) -> "ComponentGERG2004": ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -866,168 +1420,599 @@ class ComponentGERG2004(ComponentEos): 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 __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 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: ... + 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): ... + 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: ... + 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 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 getlnGammadn(self, int: int) -> float: ... def getlnGammadt(self) -> 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): ... + 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: ... + 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: ... + 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 __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 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 getLngamma(self) -> 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): ... + 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 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 getLngamma(self) -> 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 __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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 __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 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: ... @@ -1035,12 +2020,26 @@ class ComponentLeachmanEos(ComponentEos): 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 __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 clone(self) -> "ComponentPR": ... def getQpure(self, double: float) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... @@ -1049,12 +2048,26 @@ class ComponentPR(ComponentEos): 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 __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 clone(self) -> "ComponentRK": ... def getQpure(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... @@ -1062,18 +2075,66 @@ class ComponentRK(ComponentEos): 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 __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 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: ... @@ -1081,12 +2142,26 @@ class ComponentSpanWagnerEos(ComponentEos): 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 __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 clone(self) -> "ComponentSrk": ... def getQpure(self, double: float) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... @@ -1095,12 +2170,26 @@ class ComponentSrk(ComponentEos): 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 __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 clone(self) -> "ComponentTST": ... def getQpure(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... @@ -1108,18 +2197,66 @@ class ComponentTST(ComponentEos): 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 __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 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: ... @@ -1127,36 +2264,117 @@ class ComponentVegaEos(ComponentEos): 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 __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 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 __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': ... + 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 __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: ... @@ -1175,149 +2393,626 @@ class ComponentBWRS(ComponentSrk): def getBPdT(self, int: int) -> float: ... @typing.overload def getBPdT(self) -> typing.MutableSequence[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 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 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 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 __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 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: ... + 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': ... + 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): ... + 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: ... + 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): ... + 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: ... + 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: ... def getlnGammadn(self, int: int) -> float: ... def getlnGammadt(self) -> float: ... class ComponentGEUnifac(ComponentGEUniquac): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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: ... + 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: ... + 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 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 getUnifacGroups( + self, + ) -> typing.MutableSequence[jneqsim.thermo.atomelement.UNIFACgroup]: ... + def getUnifacGroups2( + self, + ) -> java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]: ... def setQ(self, double: float) -> None: ... def setR(self, double: float) -> None: ... - def setUnifacGroups(self, arrayList: java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]) -> 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): ... + 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: ... + 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 __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 __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 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 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: ... @@ -1331,43 +3026,247 @@ class ComponentModifiedFurstElectrolyteEos(ComponentSrk): 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 __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 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 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: ... @@ -1381,29 +3280,120 @@ class ComponentModifiedFurstElectrolyteEosMod2004(ComponentSrk): 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 dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + 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 dFdNdT( + 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 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: ... @@ -1415,91 +3405,302 @@ 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 __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 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 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: ... + 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 __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 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: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(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): ... + 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 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: ... + 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': ... + 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 __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 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 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]: ... @@ -1514,18 +3715,27 @@ class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): 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: ... + 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: ... + 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: ... + 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: ... @@ -1533,65 +3743,227 @@ class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): 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 __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 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 __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 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 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: ... + 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 __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 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 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]: ... @@ -1605,49 +3977,146 @@ class ComponentUMRCPA(ComponentPR, ComponentCPAInterface): 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: ... + 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: ... + 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: ... + 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 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): ... +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 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 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]: ... @@ -1661,45 +4130,131 @@ class ComponentElectrolyteCPA(ComponentModifiedFurstElectrolyteEos, ComponentCPA 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: ... + 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: ... + 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: ... + 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: ... +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 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]: ... @@ -1708,11 +4263,15 @@ class ComponentElectrolyteCPAOld(ComponentModifiedFurstElectrolyteEos, Component 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: ... + 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: ... + 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: ... @@ -1723,72 +4282,244 @@ class ComponentElectrolyteCPAOld(ComponentModifiedFurstElectrolyteEos, Component 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: ... + 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: ... + 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 __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: ... + 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 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: ... 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 __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: ... + 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: ... + 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: ... @@ -1797,24 +4528,131 @@ class ComponentPCSAFTa(ComponentPCSAFT, ComponentCPAInterface): 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 __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 getBornContribution(self) -> float: ... def getBornRadius(self) -> float: ... def getBornRadiusMeters(self) -> float: ... @@ -1829,54 +4667,131 @@ class ComponentSrkCPAMM(ComponentSrkCPA): 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': ... + 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 ComponentWax(ComponentSolid): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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 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): ... + 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: ... + 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): ... + 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: ... + 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': ... - + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component")``. @@ -1919,8 +4834,12 @@ class __module_protocol__(Protocol): ComponentInterface: typing.Type[ComponentInterface] ComponentKentEisenberg: typing.Type[ComponentKentEisenberg] ComponentLeachmanEos: typing.Type[ComponentLeachmanEos] - ComponentModifiedFurstElectrolyteEos: typing.Type[ComponentModifiedFurstElectrolyteEos] - ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ComponentModifiedFurstElectrolyteEosMod2004] + ComponentModifiedFurstElectrolyteEos: typing.Type[ + ComponentModifiedFurstElectrolyteEos + ] + ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ + ComponentModifiedFurstElectrolyteEosMod2004 + ] ComponentPCSAFT: typing.Type[ComponentPCSAFT] ComponentPCSAFTa: typing.Type[ComponentPCSAFTa] ComponentPR: typing.Type[ComponentPR] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi index aa4dd6da..2d6435d4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,10 @@ 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 clone(self) -> "AttractiveTermInterface": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -28,10 +26,12 @@ class AttractiveTermInterface(java.lang.Cloneable, java.io.Serializable): def setm(self, double: float) -> None: ... class AttractiveTermBaseClass(AttractiveTermInterface): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermBaseClass": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -44,12 +44,18 @@ class AttractiveTermBaseClass(AttractiveTermInterface): class AttractiveTermMollerup(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 clone(self) -> "AttractiveTermMollerup": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -57,10 +63,12 @@ class AttractiveTermMollerup(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermPr(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermPr": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -69,10 +77,12 @@ class AttractiveTermPr(AttractiveTermBaseClass): def setm(self, double: float) -> None: ... class AttractiveTermRk(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermRk": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -81,12 +91,18 @@ class AttractiveTermRk(AttractiveTermBaseClass): class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 clone(self) -> "AttractiveTermSchwartzentruber": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -94,10 +110,12 @@ class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermSrk(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermSrk": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -106,10 +124,12 @@ class AttractiveTermSrk(AttractiveTermBaseClass): def setm(self, double: float) -> None: ... class AttractiveTermTwuCoon(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermTwuCoon": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -118,12 +138,18 @@ class AttractiveTermTwuCoon(AttractiveTermBaseClass): class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 clone(self) -> "AttractiveTermTwuCoonParam": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -132,12 +158,18 @@ class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 clone(self) -> "AttractiveTermTwuCoonStatoil": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -145,10 +177,12 @@ class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermCPAstatoil(AttractiveTermSrk): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermCPAstatoil": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -156,7 +190,9 @@ class AttractiveTermCPAstatoil(AttractiveTermSrk): def init(self) -> None: ... class AttractiveTermGERG(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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: ... @@ -167,12 +203,18 @@ class AttractiveTermGERG(AttractiveTermPr): class AttractiveTermMatCop(AttractiveTermSrk): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 clone(self) -> "AttractiveTermMatCop": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -181,12 +223,18 @@ class AttractiveTermMatCop(AttractiveTermSrk): class AttractiveTermMatCopPR(AttractiveTermPr): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 clone(self) -> "AttractiveTermMatCopPR": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -194,28 +242,38 @@ class AttractiveTermMatCopPR(AttractiveTermPr): class AttractiveTermMatCopPRUMR(AttractiveTermPr): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 __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 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, 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 __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermPrGassem2001': ... + def clone(self) -> "AttractiveTermPrGassem2001": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -223,10 +281,12 @@ class AttractiveTermPrGassem2001(AttractiveTermPr): def init(self) -> None: ... class AttractiveTermTwu(AttractiveTermSrk): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 clone(self) -> "AttractiveTermTwu": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -234,28 +294,38 @@ class AttractiveTermTwu(AttractiveTermSrk): def init(self) -> None: ... class AttractiveTermUMRPRU(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... - def clone(self) -> 'AttractiveTermUMRPRU': ... + 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): ... + 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 __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 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 __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermPrDanesh': ... + def clone(self) -> "AttractiveTermPrDanesh": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -263,23 +333,26 @@ class AttractiveTermPrDanesh(AttractiveTermPr1978): def init(self) -> None: ... class AttractiveTermPrDelft1998(AttractiveTermPr1978): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi index e32f2399..1910a740 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,11 +7,8 @@ else: import typing - - class RepulsiveTermInterface: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component.repulsiveeosterm")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi index 606ca257..b4670a2e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,48 +15,83 @@ 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) # +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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BIPEstimationMethod": ... @staticmethod - def values() -> typing.MutableSequence['BIPEstimationMethod']: ... + 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: ... + 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: ... + def applyEstimatedBIPs( + systemInterface: jneqsim.thermo.system.SystemInterface, + bIPEstimationMethod: BIPEstimationMethod, + boolean: bool, + ) -> None: ... @staticmethod - def applyMethaneC7PlusBIPs(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def applyMethaneC7PlusBIPs( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> None: ... @staticmethod - def calculateBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateBIPMatrix( + systemInterface: jneqsim.thermo.system.SystemInterface, + bIPEstimationMethod: BIPEstimationMethod, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @staticmethod - def estimate(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, bIPEstimationMethod: BIPEstimationMethod) -> float: ... + 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: ... + 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: ... + 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: ... + def estimateKatzFiroozabadi( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + ) -> float: ... @staticmethod - def printBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def printBIPMatrix( + systemInterface: jneqsim.thermo.system.SystemInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... -class MixingRuleHandler(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): +class MixingRuleHandler( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable +): def __init__(self): ... def getName(self) -> java.lang.String: ... @@ -66,42 +101,175 @@ class MixingRuleTypeInterface: 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'] = ... +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': ... + def byName(string: typing.Union[java.lang.String, str]) -> "CPAMixingRuleType": ... @staticmethod - def byValue(int: int) -> 'CPAMixingRuleType': ... + def byValue(int: int) -> "CPAMixingRuleType": ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "CPAMixingRuleType": ... @staticmethod - def values() -> typing.MutableSequence['CPAMixingRuleType']: ... + 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: ... + 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: ... + 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: ... + 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: ... @@ -114,55 +282,130 @@ class ElectrolyteMixingRulesInterface(MixingRulesInterface): 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'] = ... +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': ... + def byName(string: typing.Union[java.lang.String, str]) -> "EosMixingRuleType": ... @staticmethod - def byValue(int: int) -> 'EosMixingRuleType': ... + def byValue(int: int) -> "EosMixingRuleType": ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "EosMixingRuleType": ... @staticmethod - def values() -> typing.MutableSequence['EosMixingRuleType']: ... + 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 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 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 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 setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setnEOSkij(self, double: float) -> None: ... class HVMixingRulesInterface(EosMixingRulesInterface): @@ -177,59 +420,325 @@ class HVMixingRulesInterface(EosMixingRulesInterface): 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]]: ... + 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: ... + 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]]: ... + 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'): ... + 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: ... + 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 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: ... + 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: ... + 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: ... + 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'): ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 = ... @@ -248,115 +757,395 @@ class EosMixingRuleHandler(MixingRuleHandler): 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 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 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 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 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 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: ... + 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 __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'): ... + 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 __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 __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: ... + 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: ... + 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 __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 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 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 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 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: ... + 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: ... + 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 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: ... @@ -369,16 +1158,83 @@ class EosMixingRuleHandler(MixingRuleHandler): 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): + + 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]): ... + 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 __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: ... @@ -388,55 +1244,304 @@ class EosMixingRuleHandler(MixingRuleHandler): 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): + + 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]): ... + 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 __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 init( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> 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): + + 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]): ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi index 7fa18474..765f8ac8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,10 +18,8 @@ import jneqsim.thermo.util.gerg import org.netlib.util import typing - - class CPAContribution(java.io.Serializable): - def __init__(self, phaseEos: 'PhaseEos'): ... + def __init__(self, phaseEos: "PhaseEos"): ... @staticmethod def calcG(double: float, double2: float) -> float: ... @staticmethod @@ -32,12 +30,36 @@ class CPAContribution(java.io.Serializable): 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: ... + 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): +class PhaseInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable +): def FB(self) -> float: ... def FBB(self) -> float: ... def FBD(self) -> float: ... @@ -54,23 +76,77 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C 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 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 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 clone(self) -> "PhaseInterface": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -94,7 +170,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @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 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]: ... @@ -102,26 +180,46 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @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_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 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 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 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: ... @@ -145,7 +243,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getDensity_Leachman(self) -> float: ... @typing.overload - def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDensity_Vega(self) -> float: ... @typing.overload def getEnthalpy(self) -> float: ... @@ -177,13 +277,17 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKappa(self) -> float: ... def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -195,7 +299,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C 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 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]: ... @@ -215,11 +321,15 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C def getOsmoticCoefficient(self, int: int) -> float: ... def getOsmoticCoefficientOfWater(self) -> float: ... def getOsmoticCoefficientOfWaterMolality(self) -> float: ... - def getPhase(self) -> 'PhaseInterface': ... + 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: ... + def getPhysicalProperties( + self, + ) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel( + self, + ) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -229,7 +339,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @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_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: ... @@ -238,9 +350,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getPureComponentFugacity(self, int: int, boolean: bool) -> float: ... @typing.overload - def getRefPhase(self, int: int) -> 'PhaseInterface': ... + def getRefPhase(self, int: int) -> "PhaseInterface": ... @typing.overload - def getRefPhase(self) -> typing.MutableSequence['PhaseInterface']: ... + def getRefPhase(self) -> typing.MutableSequence["PhaseInterface"]: ... @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload @@ -253,9 +365,11 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalVolume(self) -> float: ... - def getType(self) -> 'PhaseType': ... + def getType(self) -> "PhaseType": ... @typing.overload def getViscosity(self) -> float: ... @typing.overload @@ -269,13 +383,21 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C 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 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 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: ... @@ -288,13 +410,17 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @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: ... + 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, double: float, int: int, int2: int, phaseType: 'PhaseType', double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: "PhaseType", double2: float + ) -> None: ... @typing.overload def init(self) -> None: ... @typing.overload @@ -302,89 +428,153 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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 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 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 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: ... + 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 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 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 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: ... + 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 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: ... + def setProperties(self, phaseInterface: "PhaseInterface") -> None: ... @typing.overload - def setRefPhase(self, int: int, phaseInterface: 'PhaseInterface') -> None: ... + def setRefPhase(self, int: int, phaseInterface: "PhaseInterface") -> None: ... @typing.overload - def setRefPhase(self, phaseInterfaceArray: typing.Union[typing.List['PhaseInterface'], jpype.JArray]) -> None: ... + 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: ... + 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'] = ... +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': ... + def byDesc(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... + def byName(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... @staticmethod - def byValue(int: int) -> 'PhaseType': ... + 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... @staticmethod - def values() -> typing.MutableSequence['PhaseType']: ... + def values() -> typing.MutableSequence["PhaseType"]: ... -class StateOfMatter(java.lang.Enum['StateOfMatter']): - GAS: typing.ClassVar['StateOfMatter'] = ... - LIQUID: typing.ClassVar['StateOfMatter'] = ... - SOLID: typing.ClassVar['StateOfMatter'] = ... +class StateOfMatter(java.lang.Enum["StateOfMatter"]): + GAS: typing.ClassVar["StateOfMatter"] = ... + LIQUID: typing.ClassVar["StateOfMatter"] = ... + SOLID: typing.ClassVar["StateOfMatter"] = ... @staticmethod - def fromPhaseType(phaseType: PhaseType) -> 'StateOfMatter': ... + def fromPhaseType(phaseType: PhaseType) -> "StateOfMatter": ... @staticmethod def isAsphaltene(phaseType: PhaseType) -> bool: ... @staticmethod @@ -393,19 +583,23 @@ class StateOfMatter(java.lang.Enum['StateOfMatter']): def isLiquid(phaseType: PhaseType) -> bool: ... @staticmethod def isSolid(phaseType: PhaseType) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "StateOfMatter": ... @staticmethod - def values() -> typing.MutableSequence['StateOfMatter']: ... + def values() -> typing.MutableSequence["StateOfMatter"]: ... class Phase(PhaseInterface): numberOfComponents: int = ... - componentArray: typing.MutableSequence[jneqsim.thermo.component.ComponentInterface] = ... + componentArray: typing.MutableSequence[ + jneqsim.thermo.component.ComponentInterface + ] = ... calcMolarVolume: bool = ... physicalPropertyHandler: jneqsim.physicalproperties.PhysicalPropertyHandler = ... chemSyst: bool = ... @@ -429,31 +623,94 @@ class Phase(PhaseInterface): 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 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 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 clone(self) -> "Phase": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -478,7 +735,9 @@ class Phase(PhaseInterface): @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 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: ... @@ -487,15 +746,27 @@ class Phase(PhaseInterface): @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_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 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: ... @@ -503,11 +774,19 @@ class Phase(PhaseInterface): @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 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 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: ... @@ -532,7 +811,9 @@ class Phase(PhaseInterface): @typing.overload def getDensity_Leachman(self) -> float: ... @typing.overload - def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDensity_Vega(self) -> float: ... def getDiElectricConstant(self) -> float: ... @typing.overload @@ -569,13 +850,17 @@ class Phase(PhaseInterface): @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKappa(self) -> float: ... def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -589,7 +874,9 @@ class Phase(PhaseInterface): def getMass(self) -> float: ... def getMeanIonicActivity(self, int: int, int2: int) -> float: ... def getMixGibbsEnergy(self) -> float: ... - def getMixingRuleType(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + 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]: ... @@ -610,8 +897,12 @@ class Phase(PhaseInterface): 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: ... + def getPhysicalProperties( + self, + ) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel( + self, + ) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -621,7 +912,9 @@ class Phase(PhaseInterface): @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_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: ... @@ -646,7 +939,9 @@ class Phase(PhaseInterface): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... @@ -663,13 +958,21 @@ class Phase(PhaseInterface): 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 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 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: ... @@ -683,7 +986,9 @@ class Phase(PhaseInterface): 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: ... + 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: ... @@ -693,44 +998,91 @@ class Phase(PhaseInterface): @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 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: ... + 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 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 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 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 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 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 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 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 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: ... @@ -747,7 +1099,9 @@ class PhaseEosInterface(PhaseInterface): 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 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: ... @@ -766,7 +1120,9 @@ class PhaseCPAInterface(PhaseEosInterface): 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... def getHcpatot(self) -> float: ... @@ -777,11 +1133,21 @@ 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 __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 @@ -792,14 +1158,35 @@ class PhaseDefault(Phase): 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: ... + 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: ... + 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 = ... @@ -824,25 +1211,84 @@ class PhaseEos(Phase, PhaseEosInterface): 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 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 clone(self) -> "PhaseEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -856,8 +1302,12 @@ class PhaseEos(Phase, PhaseEosInterface): 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 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: ... @@ -885,7 +1335,9 @@ class PhaseEos(Phase, PhaseEosInterface): def getHresTP(self) -> float: ... def getHresdP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getKappa(self) -> float: ... @@ -899,13 +1351,21 @@ class PhaseEos(Phase, PhaseEosInterface): 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 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 getdTVndSVnJaobiMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getdUdSVn(self) -> float: ... def getdUdSdSVn(self) -> float: ... def getdUdSdVn(self, phaseInterface: PhaseInterface) -> float: ... @@ -922,22 +1382,52 @@ class PhaseEos(Phase, PhaseEosInterface): @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: ... + 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: ... + 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: ... + 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: ... @@ -964,7 +1454,9 @@ class PhaseGE(Phase, PhaseGEInterface): @typing.overload def getEntropy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @@ -982,15 +1474,38 @@ class PhaseGE(Phase, PhaseGEInterface): @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: ... + 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: ... + 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 @@ -998,11 +1513,21 @@ class PhaseHydrate(Phase): @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 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 @@ -1012,7 +1537,9 @@ class PhaseHydrate(Phase): def getHresTP(self) -> float: ... def getHydrationNumber(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getLargeCavityOccupancy(self, int: int) -> float: ... @@ -1025,7 +1552,9 @@ class PhaseHydrate(Phase): def getSresTP(self) -> float: ... def getStableHydrateStructure(self) -> int: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload @@ -1037,23 +1566,52 @@ class PhaseHydrate(Phase): @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: ... + 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 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, jneqsim.thermo.ThermodynamicConstantsInterface): 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 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 @@ -1062,7 +1620,9 @@ class PhaseIdealGas(Phase, jneqsim.thermo.ThermodynamicConstantsInterface): 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @@ -1077,32 +1637,63 @@ class PhaseIdealGas(Phase, jneqsim.thermo.ThermodynamicConstantsInterface): @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: ... + 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 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 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 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]]: ... + 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 @@ -1126,12 +1717,16 @@ class PhaseAmmoniaEos(PhaseEos): def getGibbsEnergy(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1139,7 +1734,9 @@ class PhaseAmmoniaEos(PhaseEos): @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload @@ -1152,17 +1749,36 @@ class PhaseAmmoniaEos(PhaseEos): @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 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: ... + 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 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: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -1173,7 +1789,14 @@ class PhaseDesmukhMather(PhaseGE): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + 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: ... @@ -1184,70 +1807,225 @@ class PhaseDesmukhMather(PhaseGE): @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: ... + 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: ... + 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: ... + 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 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 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: ... + 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: ... + 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: ... + 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 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: ... + 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: ... + 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: ... + 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': ... + 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 @@ -1266,11 +2044,15 @@ class PhaseGERG2004Eos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1278,19 +2060,36 @@ class PhaseGERG2004Eos(PhaseEos): @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 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 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 clone(self) -> "PhaseGERG2008Eos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1299,8 +2098,12 @@ class PhaseGERG2008Eos(PhaseEos): 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]]: ... + 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 @@ -1327,11 +2130,15 @@ class PhaseGERG2008Eos(PhaseEos): def getGresTP(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... @@ -1344,61 +2151,189 @@ class PhaseGERG2008Eos(PhaseEos): @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 setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + 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 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: ... + 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 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: ... + 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: ... + 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 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: ... + 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: ... + 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 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 clone(self) -> "PhaseLeachmanEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1425,11 +2360,15 @@ class PhaseLeachmanEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getZ(self) -> float: ... @@ -1441,19 +2380,38 @@ class PhaseLeachmanEos(PhaseEos): @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 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 PhasePitzer(PhaseGE): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + 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 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: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... def getBeta0ij(self, int: int, int2: int) -> float: ... @@ -1472,46 +2430,106 @@ class PhasePitzer(PhaseGE): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + 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 getSolventWeight(self) -> float: ... def getSresTP(self) -> float: ... def getSresTV(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 setBinaryParameters(self, int: int, int2: int, double: float, double2: float, double3: 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: ... + 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 setBinaryParameters( + self, int: int, int2: int, double: float, double2: float, double3: 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 setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> 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': ... + 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': ... + 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: ... + 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': ... + 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 @@ -1530,11 +2548,15 @@ class PhaseSpanWagnerEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1547,34 +2569,67 @@ class PhaseSpanWagnerEos(PhaseEos): @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 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 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': ... + 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': ... + 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 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 clone(self) -> "PhaseVegaEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1601,11 +2656,15 @@ class PhaseVegaEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getZ(self) -> float: ... @@ -1617,18 +2676,35 @@ class PhaseVegaEos(PhaseEos): @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 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 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 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': ... + def clone(self) -> "PhaseWaterIAPWS": ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -1647,7 +2723,9 @@ class PhaseWaterIAPWS(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload @@ -1659,31 +2737,70 @@ class PhaseWaterIAPWS(PhaseEos): @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 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 __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: ... + 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 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 clone(self) -> "PhaseBWRSEos": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -1709,7 +2826,9 @@ class PhaseBWRSEos(PhaseSrkEos): def getFpoldVdVdV(self) -> float: ... def getGammadRho(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMolarDensity(self) -> float: ... @@ -1722,16 +2841,33 @@ class PhaseBWRSEos(PhaseSrkEos): @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: ... + 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 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: ... @@ -1746,8 +2882,17 @@ class PhaseCSPsrkEos(PhaseSrkEos): @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 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: ... @@ -1757,16 +2902,26 @@ class PhaseCSPsrkEos(PhaseSrkEos): 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 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 getAlphares_GERG2008( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... def getdPdTVn(self) -> float: ... @typing.overload @@ -1774,41 +2929,142 @@ class PhaseEOSCGEos(PhaseGERG2008Eos): @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 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: ... + 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 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: ... + 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: ... + 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 __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: ... @@ -1817,43 +3073,91 @@ class PhaseGEUnifac(PhaseGEUniquac): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + 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 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: ... + 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: ... + 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 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 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: ... + 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 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: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -1906,9 +3210,17 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): 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 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: ... @@ -1928,13 +3240,37 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): 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 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 clone(self) -> "PhaseModifiedFurstElectrolyteEos": ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFLRdT(self) -> float: ... @@ -1966,10 +3302,14 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): def getDiElectricConstantdT(self) -> float: ... def getDiElectricConstantdV(self) -> float: ... def getDielectricConstant(self) -> float: ... - def getDielectricMixingRule(self) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... + def getDielectricMixingRule( + self, + ) -> "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule": ... def getDielectricT(self) -> float: ... def getDielectricV(self) -> float: ... - def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getElectrolyteMixingRule( + self, + ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getEps(self) -> float: ... def getEpsIonic(self) -> float: ... def getEpsIonicdV(self) -> float: ... @@ -1989,25 +3329,57 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): @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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule": ... @staticmethod - def values() -> typing.MutableSequence['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule']: ... + def values() -> ( + typing.MutableSequence[ + "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule" + ] + ): ... class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def __init__(self): ... @@ -2056,9 +3428,17 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): 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 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: ... @@ -2077,12 +3457,36 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): 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 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 clone(self) -> "PhaseModifiedFurstElectrolyteEosMod2004": ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFLRdT(self) -> float: ... @@ -2116,7 +3520,9 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def getDielectricConstant(self) -> float: ... def getDielectricT(self) -> float: ... def getDielectricV(self) -> float: ... - def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getElectrolyteMixingRule( + self, + ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getEps(self) -> float: ... def getEpsIonic(self) -> float: ... def getEpsIonicdV(self) -> float: ... @@ -2136,10 +3542,21 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): @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 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 setFurstIonicCoefficient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def volInit(self) -> None: ... class PhasePCSAFT(PhaseSrkEos): @@ -2148,9 +3565,17 @@ class PhasePCSAFT(PhaseSrkEos): 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 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: ... @@ -2183,7 +3608,7 @@ class PhasePCSAFT(PhaseSrkEos): def calcmSAFT(self) -> float: ... def calcmdSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> 'PhasePCSAFT': ... + def clone(self) -> "PhasePCSAFT": ... def dF_DISP1_SAFTdT(self) -> float: ... def dF_DISP1_SAFTdTdT(self) -> float: ... def dF_DISP1_SAFTdTdV(self) -> float: ... @@ -2224,8 +3649,22 @@ class PhasePCSAFT(PhaseSrkEos): 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 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: ... @@ -2235,9 +3674,20 @@ class PhasePCSAFT(PhaseSrkEos): @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 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: ... @@ -2263,9 +3713,17 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): 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 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: ... @@ -2274,7 +3732,7 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> 'PhasePrCPA': ... + def clone(self) -> "PhasePrCPA": ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -2287,7 +3745,9 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2298,7 +3758,9 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): @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 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: ... @@ -2316,17 +3778,51 @@ class PhasePrEosvolcor(PhasePrEos): 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 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 clone(self) -> "PhasePrEosvolcor": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -2357,23 +3853,45 @@ class PhasePrEosvolcor(PhasePrEos): 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: ... + 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: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... class PhaseSolid(PhaseSrkEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + 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': ... + 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 @@ -2395,7 +3913,9 @@ class PhaseSolid(PhaseSrkEos): def getEnthalpy(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -2408,7 +3928,9 @@ class PhaseSolid(PhaseSrkEos): @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 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: ... @@ -2418,11 +3940,19 @@ class PhaseSolid(PhaseSrkEos): 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 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 clone(self) -> "PhaseSoreideWhitson": ... def getSalinity(self, double: float) -> float: ... def getSalinityConcentration(self) -> float: ... def setSalinityConcentration(self, double: float) -> None: ... @@ -2433,15 +3963,31 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): 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 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 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: ... @@ -2455,7 +4001,9 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2467,20 +4015,57 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): @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 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 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 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: ... @@ -2500,17 +4085,51 @@ class PhaseSrkEosvolcor(PhaseSrkEos): 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 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 clone(self) -> "PhaseSrkEosvolcor": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -2541,23 +4160,45 @@ class PhaseSrkEosvolcor(PhaseSrkEos): 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: ... + 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: ... + 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': ... + 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 = ... @@ -2565,15 +4206,31 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): 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 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 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: ... @@ -2587,7 +4244,9 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2599,20 +4258,57 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): @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 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 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 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: ... @@ -2625,15 +4321,31 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): 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 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 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: ... @@ -2647,7 +4359,9 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2658,17 +4372,45 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): @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 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 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 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: ... @@ -2687,9 +4429,17 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def FDebyeHuckelX(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 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: ... @@ -2706,8 +4456,10 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): 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 clone(self) -> 'PhaseElectrolyteCPAMM': ... + def calcSolventPermittivitydndn( + self, int: int, int2: int, double: float + ) -> float: ... + def clone(self) -> "PhaseElectrolyteCPAMM": ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFBorndV(self) -> float: ... @@ -2731,7 +4483,9 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def dFdVdVdV(self) -> float: ... def getBornX(self) -> float: ... def getDebyeLength(self) -> float: ... - def getDielectricMixingRule(self) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... + def getDielectricMixingRule( + self, + ) -> "PhaseElectrolyteCPAMM.DielectricMixingRule": ... def getF(self) -> float: ... def getIonSolventW(self) -> float: ... def getKappa(self) -> float: ... @@ -2747,29 +4501,49 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): @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 init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def initElectrolyteProperties(self) -> None: ... def initMixingRuleWij(self) -> None: ... def isShortRangeOn(self) -> bool: ... def setBornOn(self, boolean: bool) -> None: ... def setDebyeHuckelOn(self, boolean: bool) -> None: ... - def setDielectricMixingRule(self, dielectricMixingRule: 'PhaseElectrolyteCPAMM.DielectricMixingRule') -> 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhaseElectrolyteCPAMM.DielectricMixingRule": ... @staticmethod - def values() -> typing.MutableSequence['PhaseElectrolyteCPAMM.DielectricMixingRule']: ... + def values() -> ( + typing.MutableSequence["PhaseElectrolyteCPAMM.DielectricMixingRule"] + ): ... class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... @@ -2777,9 +4551,17 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface 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 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: ... @@ -2789,7 +4571,7 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> 'PhaseElectrolyteCPAOld': ... + def clone(self) -> "PhaseElectrolyteCPAOld": ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -2802,7 +4584,9 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2814,16 +4598,44 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface @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 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 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: ... @@ -2833,69 +4645,201 @@ 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: ... + 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 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: ... + 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 __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: ... + 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: ... + 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 __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 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 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: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhasePCSAFTRahmat(PhasePCSAFT): def __init__(self): ... @@ -2903,9 +4847,17 @@ class PhasePCSAFTRahmat(PhasePCSAFT): 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 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: ... @@ -2933,7 +4885,7 @@ class PhasePCSAFTRahmat(PhasePCSAFT): def calcmSAFT(self) -> float: ... def calcmdSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> 'PhasePCSAFTRahmat': ... + def clone(self) -> "PhasePCSAFTRahmat": ... def dF_DISP1_SAFTdT(self) -> float: ... def dF_DISP1_SAFTdV(self) -> float: ... def dF_DISP1_SAFTdVdV(self) -> float: ... @@ -2951,16 +4903,39 @@ class PhasePCSAFTRahmat(PhasePCSAFT): 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 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 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): @@ -2969,14 +4944,22 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): 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 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 clone(self) -> "PhasePCSAFTa": ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -2989,7 +4972,9 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): 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 getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -3000,69 +4985,110 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): @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 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 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': ... + def clone(self) -> "PhasePureComponentSolid": ... class PhaseSolidComplex(PhaseSolid): def __init__(self): ... - def clone(self) -> 'PhaseSolidComplex': ... + 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: ... + 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 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': ... + def clone(self) -> "PhaseSrkCPAs": ... class PhaseWax(PhaseSolid): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + 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 addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseWax": ... @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 init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> 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 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': ... - + def clone(self) -> "PhaseElectrolyteCPAstatoil": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.phase")``. @@ -3103,7 +5129,9 @@ class __module_protocol__(Protocol): PhaseKentEisenberg: typing.Type[PhaseKentEisenberg] PhaseLeachmanEos: typing.Type[PhaseLeachmanEos] PhaseModifiedFurstElectrolyteEos: typing.Type[PhaseModifiedFurstElectrolyteEos] - PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[PhaseModifiedFurstElectrolyteEosMod2004] + PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[ + PhaseModifiedFurstElectrolyteEosMod2004 + ] PhasePCSAFT: typing.Type[PhasePCSAFT] PhasePCSAFTRahmat: typing.Type[PhasePCSAFTRahmat] PhasePCSAFTa: typing.Type[PhasePCSAFTa] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi index c476f5ee..85b94222 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,89 +22,222 @@ import jneqsim.thermo.util.gerg import jneqsim.util.validation import typing - - 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: ... + 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: ... + 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: ... + 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: ... + 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': ... + def addFluid(self, systemInterface: "SystemInterface") -> "SystemInterface": ... @typing.overload - def addFluid(self, systemInterface: 'SystemInterface', int: int) -> 'SystemInterface': ... + def addFluid( + self, systemInterface: "SystemInterface", int: int + ) -> "SystemInterface": ... @staticmethod - def addFluids(systemInterface: 'SystemInterface', systemInterface2: 'SystemInterface') -> 'SystemInterface': ... + 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 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: ... + 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 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 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: ... + 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': ... + 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': ... + def clone(self) -> "SystemInterface": ... @staticmethod - def combineReservoirFluids(int: int, *systemInterface: 'SystemInterface') -> 'SystemInterface': ... + 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 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: ... @@ -122,14 +255,18 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): 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 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 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: ... @@ -146,7 +283,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getDensity(self) -> float: ... @typing.overload def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEmptySystemClone(self) -> 'SystemInterface': ... + def getEmptySystemClone(self) -> "SystemInterface": ... @typing.overload def getEnthalpy(self) -> float: ... @typing.overload @@ -158,7 +295,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getExergy(self, double: float) -> float: ... @typing.overload - def getExergy(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... @@ -171,27 +310,45 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): 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: ... + 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: ... + 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: ... + 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: ... + 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 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 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: ... @@ -219,7 +376,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getNumberOfMoles(self) -> float: ... def getNumberOfOilFractionComponents(self) -> int: ... def getNumberOfPhases(self) -> int: ... - def getOilAssayCharacterisation(self) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + 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]: ... @@ -228,36 +387,63 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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: ... + 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: ... + 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: ... + def getPhaseIndex( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> int: ... @typing.overload - def getPhaseNumberOfPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> int: ... + 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]: ... + 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': ... + 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: ... + 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]]: ... + 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 @@ -265,7 +451,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getStandard(self) -> jneqsim.standards.StandardInterface: ... @typing.overload - def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getStandard( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.standards.StandardInterface: ... def getTC(self) -> float: ... @typing.overload def getTemperature(self) -> float: ... @@ -276,7 +464,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalNumberOfMoles(self) -> float: ... @typing.overload def getViscosity(self) -> float: ... @@ -287,7 +477,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 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: ... @@ -299,7 +491,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 hasComponent( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> bool: ... def hasHydratePhase(self) -> bool: ... @typing.overload def hasPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> bool: ... @@ -317,9 +511,13 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initPhysicalProperties( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def initProperties(self) -> None: ... def initRefPhases(self) -> None: ... def initThermoProperties(self) -> None: ... @@ -344,23 +542,37 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def normalizeBeta(self) -> None: ... def orderByDensity(self) -> None: ... @typing.overload - def phaseToSystem(self, int: int) -> 'SystemInterface': ... + def phaseToSystem(self, int: int) -> "SystemInterface": ... @typing.overload - def phaseToSystem(self, int: int, int2: int) -> 'SystemInterface': ... + def phaseToSystem(self, int: int, int2: int) -> "SystemInterface": ... @typing.overload - def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... + def phaseToSystem( + self, string: typing.Union[java.lang.String, str] + ) -> "SystemInterface": ... @typing.overload - def phaseToSystem(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> 'SystemInterface': ... + 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 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 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: ... @@ -370,9 +582,17 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 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: ... @@ -382,31 +602,62 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def setBeta(self, int: int, double: float) -> None: ... @typing.overload - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + 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 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: ... + 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 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: ... + def setForceSinglePhase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setForceSinglePhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + 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: ... @@ -414,42 +665,78 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def setImplementedTemperatureDeriativesofFugacity(self, boolean: bool) -> 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: ... + 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: ... + 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 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 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: ... + 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: ... + 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: ... + 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: ... + 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 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 @@ -457,16 +744,27 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 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 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 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: ... + 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] = ... @@ -484,8 +782,16 @@ class SystemThermo(SystemInterface): 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: ... + 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 @@ -493,69 +799,182 @@ class SystemThermo(SystemInterface): @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: ... + 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 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 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 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: ... + 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 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: ... + 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 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 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: ... @@ -574,7 +993,9 @@ class SystemThermo(SystemInterface): 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 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]: ... @@ -605,7 +1026,9 @@ class SystemThermo(SystemInterface): @typing.overload def getExergy(self, double: float) -> float: ... @typing.overload - def getExergy(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... @@ -615,27 +1038,45 @@ class SystemThermo(SystemInterface): def getHeatOfVaporization(self) -> float: ... def getHelmholtzEnergy(self) -> float: ... def getHydrateCheck(self) -> bool: ... - def getIdealLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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: ... + 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: ... + 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: ... + 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 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 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: ... @@ -662,7 +1103,9 @@ class SystemThermo(SystemInterface): def getNumberOfComponents(self) -> int: ... def getNumberOfOilFractionComponents(self) -> int: ... def getNumberOfPhases(self) -> int: ... - def getOilAssayCharacterisation(self) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + 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]: ... @@ -671,22 +1114,40 @@ class SystemThermo(SystemInterface): @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: ... + 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: ... + 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: ... + def getPhaseIndex( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> int: ... @typing.overload - def getPhaseNumberOfPhase(self, string: typing.Union[java.lang.String, str]) -> int: ... + 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]: ... + 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 @@ -697,10 +1158,19 @@ class SystemThermo(SystemInterface): @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: ... + 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]]: ... + 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 @@ -708,7 +1178,9 @@ class SystemThermo(SystemInterface): @typing.overload def getStandard(self) -> jneqsim.standards.StandardInterface: ... @typing.overload - def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getStandard( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.standards.StandardInterface: ... def getSumBeta(self) -> float: ... def getTC(self) -> float: ... @typing.overload @@ -720,7 +1192,9 @@ class SystemThermo(SystemInterface): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalNumberOfMoles(self) -> float: ... @typing.overload def getViscosity(self) -> float: ... @@ -731,7 +1205,9 @@ class SystemThermo(SystemInterface): @typing.overload def getVolume(self) -> float: ... def getVolumeFraction(self, int: int) -> float: ... - def getWaxCharacterisation(self) -> jneqsim.thermo.characterization.WaxCharacterise: ... + 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: ... @@ -763,11 +1239,15 @@ class SystemThermo(SystemInterface): @typing.overload def initNumeric(self, int: int, int2: int) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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 initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... def initRefPhases(self) -> None: ... def initTotalNumberOfMoles(self, double: float) -> None: ... def init_x_y(self) -> None: ... @@ -795,19 +1275,33 @@ class SystemThermo(SystemInterface): @typing.overload def phaseToSystem(self, int: int, int2: int) -> SystemInterface: ... @typing.overload - def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def phaseToSystem( + self, string: typing.Union[java.lang.String, str] + ) -> SystemInterface: ... @typing.overload - def phaseToSystem(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> SystemInterface: ... + 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 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 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: ... @@ -817,9 +1311,17 @@ class SystemThermo(SystemInterface): @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 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: ... @@ -829,31 +1331,62 @@ class SystemThermo(SystemInterface): @typing.overload def setBeta(self, int: int, double: float) -> None: ... @typing.overload - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + 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 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: ... + 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 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: ... + def setForceSinglePhase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setForceSinglePhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + 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: ... @@ -866,37 +1399,74 @@ class SystemThermo(SystemInterface): @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 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 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 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: ... + 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: ... + 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: ... + 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 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 @@ -904,19 +1474,30 @@ class SystemThermo(SystemInterface): @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 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 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 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: ... + 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 @@ -932,7 +1513,7 @@ class SystemIdealGas(SystemThermo): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemIdealGas': ... + def clone(self) -> "SystemIdealGas": ... class SystemAmmoniaEos(SystemEos): @typing.overload @@ -944,22 +1525,46 @@ class SystemAmmoniaEos(SystemEos): @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: ... + 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 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': ... + 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 @@ -968,7 +1573,7 @@ class SystemBWRSEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemBWRSEos': ... + def clone(self) -> "SystemBWRSEos": ... class SystemBnsEos(SystemEos): @typing.overload @@ -976,21 +1581,50 @@ class SystemBnsEos(SystemEos): @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 __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: ... + 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: ... + 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: ... + 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 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): @@ -1000,7 +1634,7 @@ class SystemDesmukhMather(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemDesmukhMather': ... + def clone(self) -> "SystemDesmukhMather": ... class SystemDuanSun(SystemEos): @typing.overload @@ -1012,22 +1646,46 @@ class SystemDuanSun(SystemEos): @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: ... + 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 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': ... + 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 @@ -1036,7 +1694,7 @@ class SystemEOSCGEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemEOSCGEos': ... + def clone(self) -> "SystemEOSCGEos": ... def commonInitialization(self) -> None: ... class SystemGERG2004Eos(SystemEos): @@ -1046,7 +1704,7 @@ class SystemGERG2004Eos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERG2004Eos': ... + def clone(self) -> "SystemGERG2004Eos": ... def commonInitialization(self) -> None: ... class SystemGERG2008Eos(SystemEos): @@ -1056,11 +1714,13 @@ class SystemGERG2008Eos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERG2008Eos': ... + def clone(self) -> "SystemGERG2008Eos": ... def commonInitialization(self) -> None: ... def getGergModelType(self) -> jneqsim.thermo.util.gerg.GERG2008Type: ... def isUsingHydrogenEnhancedModel(self) -> bool: ... - def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + def setGergModelType( + self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type + ) -> None: ... def useHydrogenEnhancedModel(self) -> None: ... class SystemGEWilson(SystemEos): @@ -1070,7 +1730,7 @@ class SystemGEWilson(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGEWilson': ... + def clone(self) -> "SystemGEWilson": ... class SystemKentEisenberg(SystemEos): @typing.overload @@ -1079,7 +1739,7 @@ class SystemKentEisenberg(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemKentEisenberg': ... + def clone(self) -> "SystemKentEisenberg": ... class SystemLeachmanEos(SystemEos): @typing.overload @@ -1091,22 +1751,46 @@ class SystemLeachmanEos(SystemEos): @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: ... + 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 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 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): @@ -1116,7 +1800,7 @@ class SystemNRTL(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemNRTL': ... + def clone(self) -> "SystemNRTL": ... class SystemPitzer(SystemEos): @typing.overload @@ -1125,15 +1809,24 @@ class SystemPitzer(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPitzer': ... + 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: ... + 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 setMixingRule( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... class SystemPrEos(SystemEos): @typing.overload @@ -1142,7 +1835,7 @@ class SystemPrEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEos': ... + def clone(self) -> "SystemPrEos": ... class SystemRKEos(SystemEos): @typing.overload @@ -1151,7 +1844,7 @@ class SystemRKEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemRKEos': ... + def clone(self) -> "SystemRKEos": ... class SystemSpanWagnerEos(SystemEos): @typing.overload @@ -1163,22 +1856,46 @@ class SystemSpanWagnerEos(SystemEos): @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: ... + 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 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 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): @@ -1188,7 +1905,7 @@ class SystemSrkEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkEos': ... + def clone(self) -> "SystemSrkEos": ... class SystemTSTEos(SystemEos): @typing.overload @@ -1197,7 +1914,7 @@ class SystemTSTEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemTSTEos': ... + def clone(self) -> "SystemTSTEos": ... class SystemUNIFAC(SystemEos): @typing.overload @@ -1206,7 +1923,7 @@ class SystemUNIFAC(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUNIFAC': ... + def clone(self) -> "SystemUNIFAC": ... class SystemUNIFACpsrk(SystemEos): @typing.overload @@ -1215,7 +1932,7 @@ class SystemUNIFACpsrk(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUNIFACpsrk': ... + def clone(self) -> "SystemUNIFACpsrk": ... class SystemVegaEos(SystemEos): @typing.overload @@ -1231,18 +1948,42 @@ class SystemVegaEos(SystemEos): @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 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): @@ -1259,18 +2000,42 @@ class SystemWaterIF97(SystemEos): @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 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): @@ -1280,21 +2045,21 @@ class SystemCSPsrkEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemCSPsrkEos': ... + 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': ... + 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': ... + def clone(self) -> "SystemFurstElectrolyteEosMod2004": ... class SystemGERGwaterEos(SystemPrEos): @typing.overload @@ -1303,7 +2068,7 @@ class SystemGERGwaterEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERGwaterEos': ... + def clone(self) -> "SystemGERGwaterEos": ... class SystemPCSAFT(SystemSrkEos): @typing.overload @@ -1313,10 +2078,25 @@ class SystemPCSAFT(SystemSrkEos): @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 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): @@ -1326,7 +2106,7 @@ class SystemPCSAFTa(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPCSAFTa': ... + def clone(self) -> "SystemPCSAFTa": ... class SystemPrCPA(SystemPrEos): @typing.overload @@ -1335,7 +2115,7 @@ class SystemPrCPA(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrCPA': ... + def clone(self) -> "SystemPrCPA": ... class SystemPrDanesh(SystemPrEos): @typing.overload @@ -1344,7 +2124,7 @@ class SystemPrDanesh(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrDanesh': ... + def clone(self) -> "SystemPrDanesh": ... class SystemPrEos1978(SystemPrEos): @typing.overload @@ -1353,7 +2133,7 @@ class SystemPrEos1978(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEos1978': ... + def clone(self) -> "SystemPrEos1978": ... class SystemPrEosDelft1998(SystemPrEos): @typing.overload @@ -1362,7 +2142,7 @@ class SystemPrEosDelft1998(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEosDelft1998': ... + def clone(self) -> "SystemPrEosDelft1998": ... class SystemPrEosvolcor(SystemPrEos): @typing.overload @@ -1377,7 +2157,7 @@ class SystemPrGassemEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrGassemEos': ... + def clone(self) -> "SystemPrGassemEos": ... class SystemPrMathiasCopeman(SystemPrEos): @typing.overload @@ -1386,7 +2166,7 @@ class SystemPrMathiasCopeman(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrMathiasCopeman': ... + def clone(self) -> "SystemPrMathiasCopeman": ... class SystemPsrkEos(SystemSrkEos): @typing.overload @@ -1395,7 +2175,7 @@ class SystemPsrkEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPsrkEos': ... + def clone(self) -> "SystemPsrkEos": ... class SystemSrkCPA(SystemSrkEos): @typing.overload @@ -1407,22 +2187,46 @@ class SystemSrkCPA(SystemSrkEos): @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: ... + 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 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): @@ -1438,7 +2242,7 @@ class SystemSrkMathiasCopeman(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkMathiasCopeman': ... + def clone(self) -> "SystemSrkMathiasCopeman": ... class SystemSrkPenelouxEos(SystemSrkEos): @typing.overload @@ -1447,7 +2251,7 @@ class SystemSrkPenelouxEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkPenelouxEos': ... + def clone(self) -> "SystemSrkPenelouxEos": ... class SystemSrkSchwartzentruberEos(SystemSrkEos): @typing.overload @@ -1456,7 +2260,7 @@ class SystemSrkSchwartzentruberEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkSchwartzentruberEos': ... + def clone(self) -> "SystemSrkSchwartzentruberEos": ... class SystemSrkTwuCoonEos(SystemSrkEos): @typing.overload @@ -1465,7 +2269,7 @@ class SystemSrkTwuCoonEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonEos': ... + def clone(self) -> "SystemSrkTwuCoonEos": ... class SystemSrkTwuCoonParamEos(SystemSrkEos): @typing.overload @@ -1474,7 +2278,7 @@ class SystemSrkTwuCoonParamEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonParamEos': ... + def clone(self) -> "SystemSrkTwuCoonParamEos": ... class SystemSrkTwuCoonStatoilEos(SystemSrkEos): @typing.overload @@ -1483,7 +2287,7 @@ class SystemSrkTwuCoonStatoilEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonStatoilEos': ... + def clone(self) -> "SystemSrkTwuCoonStatoilEos": ... class SystemUMRCPAEoS(SystemPrEos): @typing.overload @@ -1498,7 +2302,7 @@ class SystemUMRPRUEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUMRPRUEos': ... + def clone(self) -> "SystemUMRPRUEos": ... def commonInitialization(self) -> None: ... class SystemElectrolyteCPA(SystemFurstElectrolyteEos): @@ -1506,7 +2310,7 @@ class SystemElectrolyteCPA(SystemFurstElectrolyteEos): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemElectrolyteCPA': ... + def clone(self) -> "SystemElectrolyteCPA": ... class SystemElectrolyteCPAMM(SystemSrkCPA): @typing.overload @@ -1515,7 +2319,7 @@ class SystemElectrolyteCPAMM(SystemSrkCPA): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemElectrolyteCPAMM': ... + def clone(self) -> "SystemElectrolyteCPAMM": ... def getDebyeLength(self, int: int) -> float: ... def getMixturePermittivity(self, int: int) -> float: ... def getSolventPermittivity(self, int: int) -> float: ... @@ -1526,9 +2330,14 @@ class SystemElectrolyteCPAMM(SystemSrkCPA): 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: ... + def setDielectricMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setDielectricMixingRule(self, dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule) -> None: ... + def setDielectricMixingRule( + self, + dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule, + ) -> None: ... def setShortRangeOn(self, boolean: bool) -> None: ... class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): @@ -1536,7 +2345,7 @@ class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemElectrolyteCPAstatoil': ... + def clone(self) -> "SystemElectrolyteCPAstatoil": ... class SystemSoreideWhitson(SystemPrEos1978): @typing.overload @@ -1546,13 +2355,22 @@ class SystemSoreideWhitson(SystemPrEos1978): @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: ... + 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 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 clone(self) -> "SystemSoreideWhitson": ... def getSalinity(self) -> float: ... - def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSalinity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class SystemSrkCPAs(SystemSrkCPA): @typing.overload @@ -1561,7 +2379,7 @@ class SystemSrkCPAs(SystemSrkCPA): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAs': ... + def clone(self) -> "SystemSrkCPAs": ... class SystemUMRPRUMCEos(SystemUMRPRUEos): @typing.overload @@ -1570,7 +2388,7 @@ class SystemUMRPRUMCEos(SystemUMRPRUEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUMRPRUMCEos': ... + def clone(self) -> "SystemUMRPRUMCEos": ... class SystemSrkCPAstatoil(SystemSrkCPAs): @typing.overload @@ -1579,7 +2397,7 @@ class SystemSrkCPAstatoil(SystemSrkCPAs): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoil': ... + def clone(self) -> "SystemSrkCPAstatoil": ... class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): @typing.overload @@ -1587,7 +2405,6 @@ class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): @typing.overload def __init__(self, double: float, double2: float): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.system")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi index 012a82bc..370c0a05 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,42 +11,89 @@ 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]]: ... + 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: ... + 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 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]: ... + 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 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 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi index 006054bf..f9ecd942 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,46 +22,57 @@ import jneqsim.thermo.util.spanwagner import jneqsim.thermo.util.steam import typing - - class FluidClassifier: @staticmethod - def calculateC7PlusContent(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateC7PlusContent( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def classify(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ReservoirFluidType': ... + def classify( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ReservoirFluidType": ... @staticmethod - def classifyByC7Plus(double: float) -> 'ReservoirFluidType': ... + def classifyByC7Plus(double: float) -> "ReservoirFluidType": ... @staticmethod - def classifyByGOR(double: float) -> 'ReservoirFluidType': ... + def classifyByGOR(double: float) -> "ReservoirFluidType": ... @staticmethod - def classifyWithPhaseEnvelope(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 'ReservoirFluidType': ... + def classifyWithPhaseEnvelope( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> "ReservoirFluidType": ... @staticmethod - def estimateAPIGravity(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def estimateAPIGravity( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def generateClassificationReport(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + def generateClassificationReport( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> java.lang.String: ... -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'] = ... +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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservoirFluidType": ... @staticmethod - def values() -> typing.MutableSequence['ReservoirFluidType']: ... - + def values() -> typing.MutableSequence["ReservoirFluidType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi index af230659..90911ef5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,23 +9,26 @@ 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: ... + 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi index 24fcb6ff..57376c1a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import java.util import jpype import typing - - class FurstElectrolyteConstants(java.io.Serializable): furstParams: typing.ClassVar[typing.MutableSequence[float]] = ... furstParamsCPA: typing.ClassVar[typing.MutableSequence[float]] = ... @@ -48,9 +46,15 @@ class FurstElectrolyteConstants(java.io.Serializable): @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]: ... + 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: ... + 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 @@ -58,7 +62,10 @@ class FurstElectrolyteConstants(java.io.Serializable): @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: ... + 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 @@ -82,7 +89,12 @@ class FurstElectrolyteConstants(java.io.Serializable): @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: ... + def setIonSpecificWij( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> None: ... class IonParametersMM: T_REF: typing.ClassVar[float] = ... @@ -102,30 +114,53 @@ class IonParametersMM: 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: ... + 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: ... + 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: ... + 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: ... + 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': ... + 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: ... + 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: ... + 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: ... + 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 = ... @@ -134,13 +169,13 @@ class IonParametersMM: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi index 58c39c3f..a607952b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,31 @@ 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']: ... + 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]): ... + 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: ... @@ -46,8 +59,12 @@ class FlashGradients(java.io.Serializable): @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 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]: ... @@ -58,9 +75,30 @@ class FlashGradients(java.io.Serializable): 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 __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: ... @@ -86,10 +124,32 @@ class FugacityJacobian(java.io.Serializable): 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 __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]: ... @@ -102,8 +162,12 @@ class PropertyGradient(java.io.Serializable): 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': ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi index a039a5cc..66f243f7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,33 +9,40 @@ 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: ... + 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: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi index d34e6454..76c4a585 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,77 +11,318 @@ 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 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 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 __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 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 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: ... + 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 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: ... + 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'] = ... +class GERG2008Type(java.lang.Enum["GERG2008Type"]): + STANDARD: typing.ClassVar["GERG2008Type"] = ... + HYDROGEN_ENHANCED: 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) # + _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "GERG2008Type": ... @staticmethod - def values() -> typing.MutableSequence['GERG2008Type']: ... + def values() -> typing.MutableSequence["GERG2008Type"]: ... class NeqSimAGA8Detail: @typing.overload @@ -91,21 +332,33 @@ class NeqSimAGA8Detail: @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + 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 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 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 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 propertiesDetail( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... class NeqSimEOSCG: @@ -114,18 +367,28 @@ class NeqSimEOSCG: @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_EOSCG(self) -> typing.MutableSequence[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: ... + 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 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 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: ... @@ -136,28 +399,46 @@ class NeqSimGERG2008: @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... @typing.overload - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, gERG2008Type: GERG2008Type): ... + def __init__( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + gERG2008Type: GERG2008Type, + ): ... def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_GERG2008(self) -> typing.MutableSequence[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 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 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 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 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 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: ... @@ -165,8 +446,9 @@ class GERG2008H2(GERG2008): def __init__(self): ... def SetupGERG(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi index 7be24693..1189ec12 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,8 +7,6 @@ else: import typing - - class HumidAir: @staticmethod def cairSat(double: float) -> float: ... @@ -23,7 +21,6 @@ class HumidAir: @staticmethod def saturationPressureWater(double: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.humidair")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi index 41c4037d..ee39c8bd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,43 +9,349 @@ 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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]: ... + 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]: ... + 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: ... + 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]: ... + 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: ... + 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: ... + 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 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi index da6badba..2a3fa1a2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,46 +11,97 @@ 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: ... + 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: ... + 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 __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]]: ... + 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: ... + 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 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]: ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi index e8ccac9f..22f20048 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,39 +12,66 @@ import jpype import jneqsim.thermo.system import typing - - class EclipseFluidReadWrite: pseudoName: typing.ClassVar[java.lang.String] = ... def __init__(self): ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + 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], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + 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], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def readE300File(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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: ... + def setComposition( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> 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]]: ... + 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: ... + 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: ... + def printTable( + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ] + ) -> None: ... class WhitsonPVTReader: def __init__(self): ... @@ -56,11 +83,15 @@ class WhitsonPVTReader: def getOmegaB(self) -> float: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi index 66ccfabd..543ceca4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,15 @@ 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 getAlphaRes( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getDensity(self) -> float: ... def getThermalConductivity(self) -> float: ... def getViscosity(self) -> float: ... @@ -30,10 +30,11 @@ 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi index 53a1bcd4..0e12dba8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,12 +8,11 @@ else: import jneqsim.thermo.phase import typing - - class NeqSimSpanWagner: @staticmethod - def getProperties(double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> typing.MutableSequence[float]: ... - + def getProperties( + double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType + ) -> typing.MutableSequence[float]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.spanwagner")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi index 7853ef0c..39b6b988 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,8 +7,6 @@ else: import typing - - class Iapws_if97: @staticmethod def T4_p(double: float) -> float: ... @@ -29,7 +27,6 @@ class Iapws_if97: @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi index 83b2004d..0efd2205 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,15 +18,27 @@ 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 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 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 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: ... @@ -35,14 +47,36 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + 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 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: ... @@ -51,7 +85,9 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def PSflash(self, double: float) -> None: ... @typing.overload - def PSflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -59,53 +95,104 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @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: ... + 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: ... + def PUflash( + self, double: 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 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 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: ... + 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: ... + 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: ... + 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: ... + 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 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: ... + 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: ... + 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: ... + 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 @@ -113,17 +200,33 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def asphalteneOnsetTemperature(self) -> float: ... @typing.overload - def asphalteneOnsetTemperature(self, double: float, double2: float, double3: float) -> float: ... + 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 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 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: ... @@ -137,13 +240,27 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + def calcPTphaseEnvelopeNew3( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... def calcPloadingCurve(self) -> None: ... - def calcSaltSaturation(self, string: typing.Union[java.lang.String, str]) -> 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 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: ... def checkScalePotential(self, int: int) -> None: ... @@ -151,8 +268,15 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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 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: ... @@ -162,18 +286,33 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + 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 freezingPointTemperatureFlash( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def gasHydrateTPflash(self) -> None: ... - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getDataPoints(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getDataPoints( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getJfreeChart(self) -> org.jfree.chart.JFreeChart: ... def getOperation(self) -> OperationInterface: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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: ... @@ -184,20 +323,38 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + 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 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 run(self) -> None: ... def saturateWithWater(self) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> 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 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: ... @@ -205,41 +362,66 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ThermodynamicOperations.FlashType": ... @staticmethod - def values() -> typing.MutableSequence['ThermodynamicOperations.FlashType']: ... + 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: ... - 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 addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> 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 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__ + chemicalequilibrium: ( + jneqsim.thermodynamicoperations.chemicalequilibrium.__module_protocol__ + ) flashops: jneqsim.thermodynamicoperations.flashops.__module_protocol__ - phaseenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ - propertygenerator: jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ + phaseenvelopeops: ( + jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ + ) + propertygenerator: ( + jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi index 83f601bf..7f05b79a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,21 @@ 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi index 95207d48..6011d41d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,17 +15,25 @@ import jneqsim.thermodynamicoperations.flashops.saturationops 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 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 getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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 solidPhaseFlash(self) -> None: ... def stabilityAnalysis(self) -> None: ... @@ -33,10 +41,24 @@ class Flash(jneqsim.thermodynamicoperations.BaseOperation): 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 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: ... @@ -45,9 +67,20 @@ class RachfordRice(java.io.Serializable): class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + 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, + 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: ... @@ -56,7 +89,12 @@ class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): def solve(self, int: int) -> int: ... class SysNewtonRhapsonTPflash(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -64,7 +102,12 @@ class SysNewtonRhapsonTPflash(java.io.Serializable): def solve(self) -> float: ... class SysNewtonRhapsonTPflashNew(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -72,9 +115,15 @@ class SysNewtonRhapsonTPflashNew(java.io.Serializable): 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 __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): @@ -85,94 +134,163 @@ class CriticalPointFlash(Flash): def run(self) -> None: ... class ImprovedVUflashQfunc(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + 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 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 __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 __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 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 __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 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 __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 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 __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 __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 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 __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 __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 __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 getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... 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 __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 __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 getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... @@ -182,10 +300,14 @@ class TPflash(Flash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + 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 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: ... @@ -195,7 +317,12 @@ class TPgradientFlash(Flash): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + 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: ... @@ -203,78 +330,139 @@ class TPgradientFlash(Flash): def setfvec(self) -> None: ... class TVflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + 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 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 __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 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 __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 __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: ... + 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 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 __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: ... + 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 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 __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 __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: ... + 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 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 __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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... def onPhaseSolve(self) -> None: ... @@ -282,45 +470,59 @@ class PSFlash(QfuncFlash): def solveQ(self) -> float: ... class PSFlashGERG2008(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + 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 __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 __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 __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 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 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 __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -363,10 +565,14 @@ class SolidFlash12(TPflash): def solvebeta1(self) -> float: ... class THflash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + 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 getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... @@ -374,9 +580,13 @@ 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 __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 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: ... @@ -389,7 +599,9 @@ 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 __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -406,7 +618,9 @@ 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 __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -416,30 +630,41 @@ class TPmultiflashWAX(TPflash): def stabilityAnalysis(self) -> None: ... class TSFlash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + 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 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 __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 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 __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")``. @@ -488,4 +713,6 @@ class __module_protocol__(Protocol): VUflashQfunc: typing.Type[VUflashQfunc] VUflashSingleComp: typing.Type[VUflashSingleComp] dTPflash: typing.Type[dTPflash] - saturationops: jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ + saturationops: ( + jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi index a5f1fe2a..fac5253b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,13 +14,16 @@ 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, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -30,10 +33,18 @@ class CricondenBarTemp(java.io.Serializable): 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 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: ... @@ -48,11 +59,23 @@ class ConstantDutyFlash(ConstantDutyFlashInterface): 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 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 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 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: ... @@ -61,12 +84,21 @@ 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: ... + 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 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: ... @@ -79,12 +111,22 @@ 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: ... + 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 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: ... @@ -94,7 +136,9 @@ class AsphalteneOnsetTemperatureFlash(ConstantDutyFlash): 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 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: ... @@ -104,14 +148,24 @@ class ConstantDutyTemperatureFlash(ConstantDutyFlash): 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 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 __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: ... @@ -136,13 +190,21 @@ class BubblePointTemperatureNoDer(ConstantDutyTemperatureFlash): def run(self) -> None: ... class CalcSaltSatauration(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]): ... + 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 CheckScalePotential(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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: ... @@ -171,7 +233,9 @@ class DewPointTemperatureFlashDer(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezeOut(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FreezeOut( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): FCompTemp: typing.MutableSequence[float] = ... FCompNames: typing.MutableSequence[java.lang.String] = ... noFreezeFlash: bool = ... @@ -179,7 +243,9 @@ class FreezeOut(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConsta def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FreezingPointTemperatureFlash( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): noFreezeFlash: bool = ... Niterations: int = ... name: java.lang.String = ... @@ -187,12 +253,19 @@ class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + 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 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): @@ -200,7 +273,9 @@ class FreezingPointTemperatureFlashOld(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezingPointTemperatureFlashTR(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FreezingPointTemperatureFlashTR( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): noFreezeFlash: bool = ... Niterations: int = ... FCompNames: typing.MutableSequence[java.lang.String] = ... @@ -213,12 +288,16 @@ class FreezingPointTemperatureFlashTR(ConstantDutyTemperatureFlash, jneqsim.ther @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + 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): +class FugTestConstP( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): temp: float = ... pres: float = ... testSystem: jneqsim.thermo.system.SystemInterface = ... @@ -231,7 +310,9 @@ class FugTestConstP(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicCo @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def PrintToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def initTestSystem2(self, int: int) -> None: ... def run(self) -> None: ... @@ -242,8 +323,15 @@ class HCdewPointPressureFlash(ConstantDutyTemperatureFlash): 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 __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): @@ -261,15 +349,27 @@ class HydrateFormationTemperatureFlash(ConstantDutyTemperatureFlash): def stop(self) -> None: ... class HydrateInhibitorConcentrationFlash(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float): ... + 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 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 __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: ... @@ -281,7 +381,12 @@ class SolidComplexTemperatureCalc(ConstantDutyTemperatureFlash): @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 __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: ... @@ -298,8 +403,15 @@ class WATcalc(ConstantDutyTemperatureFlash): 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 __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): @@ -312,7 +424,6 @@ class WaterDewPointTemperatureMultiphaseFlash(ConstantDutyTemperatureFlash): 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")``. @@ -350,4 +461,6 @@ class __module_protocol__(Protocol): WATcalc: typing.Type[WATcalc] WaterDewPointEquilibriumLine: typing.Type[WaterDewPointEquilibriumLine] WaterDewPointTemperatureFlash: typing.Type[WaterDewPointTemperatureFlash] - WaterDewPointTemperatureMultiphaseFlash: typing.Type[WaterDewPointTemperatureMultiphaseFlash] + WaterDewPointTemperatureMultiphaseFlash: typing.Type[ + WaterDewPointTemperatureMultiphaseFlash + ] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi index 10fb5fe4..d83a1f58 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeop 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__ + multicomponentenvelopeops: ( + jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.__module_protocol__ + ) + reactivecurves: ( + jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi index bfda6fe4..42db0c07 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,14 +14,18 @@ import jneqsim.thermodynamicoperations import org.jfree.chart import typing - - 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 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: ... @@ -30,14 +34,35 @@ class PTphaseEnvelope(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 addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + 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: ... - 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 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: ... @@ -46,12 +71,27 @@ class PTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): class PTphaseEnvelope1(jneqsim.thermodynamicoperations.BaseOperation): points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ): ... 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 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: ... @@ -59,14 +99,35 @@ class PTphaseEnvelope1(jneqsim.thermodynamicoperations.BaseOperation): class PTphaseEnvelopeMay(jneqsim.thermodynamicoperations.BaseOperation): points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - 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 __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: ... - 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 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: ... @@ -75,12 +136,26 @@ class PTphaseEnvelopeMay(jneqsim.thermodynamicoperations.BaseOperation): class PTphaseEnvelopeNew(jneqsim.thermodynamicoperations.BaseOperation): points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... 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 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 printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -88,12 +163,25 @@ class PTphaseEnvelopeNew2(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 __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ): ... def calcHydrateLine(self) -> None: ... 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 getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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 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: ... @@ -101,25 +189,56 @@ class PTphaseEnvelopeNew2(jneqsim.thermodynamicoperations.BaseOperation): 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 __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: ... - 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 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 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 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: ... @@ -130,7 +249,12 @@ 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 __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: ... @@ -161,7 +285,9 @@ class SysNewtonRhapsonPhaseEnvelope2(java.io.Serializable): def getNpCrit(self) -> int: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + 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: ... @@ -169,7 +295,15 @@ class SysNewtonRhapsonPhaseEnvelope2(java.io.Serializable): def solve(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 __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 funcP(self) -> None: ... def funcT(self) -> None: ... def init(self) -> None: ... @@ -178,7 +312,15 @@ class CricondenBarFlash(PTphaseEnvelope): def setNewX(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 __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 funcP(self) -> None: ... def funcT(self) -> None: ... def init(self) -> None: ... @@ -186,7 +328,6 @@ class CricondenThermFlash(PTphaseEnvelope): def setNewK(self) -> None: ... def setNewX(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi index b9d76258..7ca641fe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,19 +12,31 @@ 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 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 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 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: ... @@ -32,15 +44,22 @@ class PloadingCurve(jneqsim.thermodynamicoperations.OperationInterface): class PloadingCurve2(jneqsim.thermodynamicoperations.BaseOperation): 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi index 28533b78..d5ef4a6e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ 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: ... @@ -22,11 +20,19 @@ class OLGApropertyTableGenerator(jneqsim.thermodynamicoperations.BaseOperation): 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): +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 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: ... @@ -37,9 +43,15 @@ class OLGApropertyTableGeneratorKeywordFormat(jneqsim.thermodynamicoperations.Ba 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 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: ... @@ -50,13 +62,23 @@ class OLGApropertyTableGeneratorWater(jneqsim.thermodynamicoperations.BaseOperat 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: ... + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... -class OLGApropertyTableGeneratorWaterEven(jneqsim.thermodynamicoperations.BaseOperation): +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 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: ... @@ -67,13 +89,23 @@ class OLGApropertyTableGeneratorWaterEven(jneqsim.thermodynamicoperations.BaseOp 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: ... + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... -class OLGApropertyTableGeneratorWaterKeywordFormat(jneqsim.thermodynamicoperations.BaseOperation): +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 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: ... @@ -83,11 +115,19 @@ class OLGApropertyTableGeneratorWaterKeywordFormat(jneqsim.thermodynamicoperatio 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): +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 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: ... @@ -98,13 +138,23 @@ class OLGApropertyTableGeneratorWaterStudents(jneqsim.thermodynamicoperations.Ba 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: ... + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... -class OLGApropertyTableGeneratorWaterStudentsPH(jneqsim.thermodynamicoperations.BaseOperation): +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 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: ... @@ -115,16 +165,27 @@ class OLGApropertyTableGeneratorWaterStudentsPH(jneqsim.thermodynamicoperations. 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: ... - + 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] + OLGApropertyTableGeneratorKeywordFormat: typing.Type[ + OLGApropertyTableGeneratorKeywordFormat + ] OLGApropertyTableGeneratorWater: typing.Type[OLGApropertyTableGeneratorWater] - OLGApropertyTableGeneratorWaterEven: typing.Type[OLGApropertyTableGeneratorWaterEven] - OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[OLGApropertyTableGeneratorWaterKeywordFormat] - OLGApropertyTableGeneratorWaterStudents: typing.Type[OLGApropertyTableGeneratorWaterStudents] - OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[OLGApropertyTableGeneratorWaterStudentsPH] + OLGApropertyTableGeneratorWaterEven: typing.Type[ + OLGApropertyTableGeneratorWaterEven + ] + OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[ + OLGApropertyTableGeneratorWaterKeywordFormat + ] + OLGApropertyTableGeneratorWaterStudents: typing.Type[ + OLGApropertyTableGeneratorWaterStudents + ] + OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[ + OLGApropertyTableGeneratorWaterStudentsPH + ] diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi index 57a23dce..a30ccd51 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,8 +19,6 @@ 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: ... @@ -41,7 +39,9 @@ class NeqSimLogging: class NeqSimThreadPool: @staticmethod - def execute(runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + def execute( + runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> None: ... @staticmethod def getDefaultPoolSize() -> int: ... @staticmethod @@ -58,9 +58,11 @@ class NeqSimThreadPool: def isShutdown() -> bool: ... @staticmethod def isTerminated() -> bool: ... - _newCompletionService__T = typing.TypeVar('_newCompletionService__T') # + _newCompletionService__T = typing.TypeVar("_newCompletionService__T") # @staticmethod - def newCompletionService() -> java.util.concurrent.CompletionService[_newCompletionService__T]: ... + def newCompletionService() -> ( + java.util.concurrent.CompletionService[_newCompletionService__T] + ): ... @staticmethod def resetPoolSize() -> None: ... @staticmethod @@ -74,16 +76,25 @@ class NeqSimThreadPool: @staticmethod def shutdown() -> None: ... @staticmethod - def shutdownAndAwait(long: int, timeUnit: java.util.concurrent.TimeUnit) -> bool: ... + def shutdownAndAwait( + long: int, timeUnit: java.util.concurrent.TimeUnit + ) -> bool: ... @staticmethod def shutdownNow() -> None: ... - _submit_1__T = typing.TypeVar('_submit_1__T') # + _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]: ... + 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]: ... + 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 = ... @@ -93,7 +104,6 @@ class NamedBaseClass(NamedInterface, java.io.Serializable): def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTagName(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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi index b3d356a6..c917fdde 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ 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: ... @@ -40,31 +38,67 @@ class AIParameter(java.lang.annotation.Annotation): 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 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 __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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi index 031de4c8..4465d133 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,16 +11,22 @@ 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: ... + 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 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 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): @@ -33,7 +39,9 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa 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 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 @@ -44,14 +52,19 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa 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: ... + 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): +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: ... @@ -66,7 +79,9 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, 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 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: ... @@ -76,7 +91,10 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, 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: ... + 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 @@ -86,7 +104,10 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, 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: ... + 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: ... @@ -97,11 +118,16 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, 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: ... + 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): +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] = ... @@ -114,7 +140,9 @@ class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Ser 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 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 @@ -125,7 +153,10 @@ class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Ser 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: ... + 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: ... @@ -138,10 +169,18 @@ class NeqSimFluidDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializ 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: ... + 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] = ... @@ -153,7 +192,10 @@ class NeqSimContractDataBase(NeqSimDataBase): 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: ... + 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] = ... @@ -162,12 +204,14 @@ class NeqSimProcessDesignDataBase(NeqSimDataBase): def initH2DatabaseFromCSVfiles() -> None: ... @typing.overload @staticmethod - def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi index 02dd9845..8565db18 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,68 +8,159 @@ else: 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]): ... + 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 __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 __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 __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]): ... + 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]): ... + 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 __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): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi index cecd9fbe..b1a915c2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,18 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi index bcd85c2b..9182f40a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,22 +8,23 @@ else: 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: ... + 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: ... - + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi index e555bf6d..bdb8640d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,25 +10,32 @@ 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 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: ... + 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: ... + 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: ... @@ -50,28 +57,52 @@ class Units: @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 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: ... + 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]): ... + 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: ... + 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 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: ... + 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: ... @@ -80,41 +111,75 @@ class LengthUnit(BaseUnit): 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 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: ... + 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 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: ... + 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 __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: ... + 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: ... + 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: ... + 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]): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.unit")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi index 620e9bf8..ccfe72d9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,14 +8,12 @@ else: 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 clone(self) -> "DoubleCloneable": ... def doubleValue(self) -> float: ... def set(self, double: float) -> None: ... @@ -27,7 +25,6 @@ class FileSystemSettings: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi index 86798429..2eeded61 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,50 +15,74 @@ 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 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': ... + 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': ... + 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 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 getStatus(self) -> "AIIntegrationHelper.ExecutionResult.Status": ... + def getValidation(self) -> "ValidationResult": ... def isSuccess(self) -> bool: ... @staticmethod - def success(validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... + 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) # + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AIIntegrationHelper.ExecutionResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['AIIntegrationHelper.ExecutionResult.Status']: ... + def values() -> ( + typing.MutableSequence["AIIntegrationHelper.ExecutionResult.Status"] + ): ... class SimulationValidator: @staticmethod @@ -66,15 +90,19 @@ class SimulationValidator: @staticmethod def isReady(object: typing.Any) -> bool: ... @staticmethod - def validate(object: typing.Any) -> 'ValidationResult': ... + def validate(object: typing.Any) -> "ValidationResult": ... @typing.overload @staticmethod - def validateAndRun(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ValidationResult': ... + def validateAndRun( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ValidationResult": ... @typing.overload @staticmethod - def validateAndRun(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ValidationResult': ... + def validateAndRun( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "ValidationResult": ... @staticmethod - def validateOutput(object: typing.Any) -> 'ValidationResult': ... + def validateOutput(object: typing.Any) -> "ValidationResult": ... class ValidationResult: @typing.overload @@ -84,45 +112,67 @@ class ValidationResult: @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 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 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 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) # + + 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: ... + def valueOf( + class_: typing.Type[_valueOf_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': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ValidationResult.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ValidationResult.Severity']: ... + 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 __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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi index 4244d6e2..aa2bc0cd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,54 +13,76 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing +_ModuleContract__T = typing.TypeVar("_ModuleContract__T") # - -_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 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 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 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: ... + 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 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 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 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 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: ... +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 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")``. diff --git a/src/jneqsim-stubs/jpype-stubs/__init__.pyi b/src/jneqsim-stubs/jpype-stubs/__init__.pyi index fe25482e..380acf75 100644 --- a/src/jneqsim-stubs/jpype-stubs/__init__.pyi +++ b/src/jneqsim-stubs/jpype-stubs/__init__.pyi @@ -1,8 +1,8 @@ import types import typing - import sys + if sys.version_info >= (3, 8): from typing import Literal else: @@ -10,14 +10,8 @@ else: import neqsim - @typing.overload -def JPackage(__package_name: Literal['neqsim']) -> jneqsim.__module_protocol__: ... - - +def JPackage(__package_name: Literal["neqsim"]) -> jneqsim.__module_protocol__: ... @typing.overload def JPackage(__package_name: str) -> types.ModuleType: ... - - def JPackage(__package_name) -> types.ModuleType: ... - diff --git a/src/neqsim/process/unitop.py b/src/neqsim/process/unitop.py index eec944be..1dbc1cda 100644 --- a/src/neqsim/process/unitop.py +++ b/src/neqsim/process/unitop.py @@ -203,8 +203,12 @@ def solved(self): @JOverride # Implement the missing 'getCalculationIdentifier' method def getCalculationIdentifier(self): # Return the stored calculation identifier UUID - if not hasattr(self, '_calculationIdentifier') or self._calculationIdentifier is None: + if ( + not hasattr(self, "_calculationIdentifier") + or self._calculationIdentifier is None + ): import java.util + self._calculationIdentifier = java.util.UUID.randomUUID() return self._calculationIdentifier diff --git a/src/neqsim/thermo/thermoTools.py b/src/neqsim/thermo/thermoTools.py index 73de6859..34492231 100644 --- a/src/neqsim/thermo/thermoTools.py +++ b/src/neqsim/thermo/thermoTools.py @@ -465,14 +465,14 @@ def fluid(name="srk", temperature=298.15, pressure=1.01325): >>> cpa_fluid = fluid("cpa", temperature=298.15, pressure=1.01325) """ name_lower = name.lower() - + # Handle special fluid types that need extra configuration if name_lower in _special_fluid_types: if name_lower in ("gerg-2008-h2", "gerg-h2"): system = jneqsim.thermo.system.SystemGERG2008Eos(temperature, pressure) system.useHydrogenEnhancedModel() return system - + if name_lower not in _fluid_type_lower: raise ValueError( f"Fluid model {name} not found. Available models are {list(fluid_type.keys())}" From 199f71924079e11688644b77cd2dcea2ccf961e9 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:07:57 +0100 Subject: [PATCH 6/8] update --- .pre-commit-config.yaml | 1 + src/jneqsim-stubs/jneqsim-stubs/__init__.pyi | 3 +- .../jneqsim-stubs/api/__init__.pyi | 3 +- .../jneqsim-stubs/api/ioc/__init__.pyi | 13 +- .../jneqsim-stubs/blackoil/__init__.pyi | 63 +- .../jneqsim-stubs/blackoil/io/__init__.pyi | 278 +- .../chemicalreactions/__init__.pyi | 40 +- .../chemicalequilibrium/__init__.pyi | 109 +- .../chemicalreaction/__init__.pyi | 154 +- .../chemicalreactions/kinetics/__init__.pyi | 24 +- .../datapresentation/__init__.pyi | 24 +- .../filehandling/__init__.pyi | 23 +- .../datapresentation/jfreechart/__init__.pyi | 41 +- .../jneqsim-stubs/fluidmechanics/__init__.pyi | 5 +- .../fluidmechanics/flowleg/__init__.pyi | 63 +- .../flowleg/pipeleg/__init__.pyi | 9 +- .../fluidmechanics/flownode/__init__.pyi | 433 +- .../flownode/fluidboundary/__init__.pyi | 11 +- .../heatmasstransfercalc/__init__.pyi | 159 +- .../equilibriumfluidboundary/__init__.pyi | 17 +- .../finitevolumeboundary/__init__.pyi | 15 +- .../fluidboundarynode/__init__.pyi | 13 +- .../fluidboundarynonreactivenode/__init__.pyi | 9 +- .../fluidboundaryreactivenode/__init__.pyi | 9 +- .../fluidboundarysolver/__init__.pyi | 20 +- .../fluidboundaryreactivesolver/__init__.pyi | 9 +- .../fluidboundarysystem/__init__.pyi | 52 +- .../fluidboundarynonreactive/__init__.pyi | 18 +- .../fluidboundarysystemreactive/__init__.pyi | 18 +- .../nonequilibriumfluidboundary/__init__.pyi | 19 +- .../filmmodelboundary/__init__.pyi | 24 +- .../reactivefilmmodel/__init__.pyi | 27 +- .../enhancementfactor/__init__.pyi | 28 +- .../__init__.pyi | 125 +- .../interphaseonephase/__init__.pyi | 17 +- .../interphasepipeflow/__init__.pyi | 43 +- .../interphasetwophase/__init__.pyi | 25 +- .../interphasepipeflow/__init__.pyi | 263 +- .../interphasereactorflow/__init__.pyi | 71 +- .../stirredcell/__init__.pyi | 47 +- .../flownode/multiphasenode/__init__.pyi | 19 +- .../multiphasenode/waxnode/__init__.pyi | 32 +- .../flownode/onephasenode/__init__.pyi | 17 +- .../onephasepipeflownode/__init__.pyi | 21 +- .../flownode/twophasenode/__init__.pyi | 40 +- .../twophasepipeflownode/__init__.pyi | 104 +- .../twophasereactorflownode/__init__.pyi | 51 +- .../twophasestirredcellnode/__init__.pyi | 28 +- .../fluidmechanics/flowsolver/__init__.pyi | 41 +- .../onephaseflowsolver/__init__.pyi | 9 +- .../onephasepipeflowsolver/__init__.pyi | 34 +- .../twophaseflowsolver/__init__.pyi | 11 +- .../stirredcellsolver/__init__.pyi | 31 +- .../twophasepipeflowsolver/__init__.pyi | 109 +- .../fluidmechanics/flowsystem/__init__.pyi | 133 +- .../onephaseflowsystem/__init__.pyi | 9 +- .../pipeflowsystem/__init__.pyi | 29 +- .../twophaseflowsystem/__init__.pyi | 21 +- .../shipsystem/__init__.pyi | 45 +- .../stirredcellsystem/__init__.pyi | 13 +- .../twophasepipeflowsystem/__init__.pyi | 384 +- .../twophasereactorflowsystem/__init__.pyi | 13 +- .../geometrydefinitions/__init__.pyi | 82 +- .../internalgeometry/__init__.pyi | 11 +- .../internalgeometry/packings/__init__.pyi | 12 +- .../internalgeometry/wall/__init__.pyi | 185 +- .../geometrydefinitions/pipe/__init__.pyi | 46 +- .../geometrydefinitions/reactor/__init__.pyi | 14 +- .../stirredcell/__init__.pyi | 7 +- .../surrounding/__init__.pyi | 59 +- .../fluidmechanics/util/__init__.pyi | 69 +- .../fluidmechanicsvisualization/__init__.pyi | 11 +- .../flownodevisualization/__init__.pyi | 25 +- .../__init__.pyi | 13 +- .../__init__.pyi | 13 +- .../__init__.pyi | 13 +- .../flowsystemvisualization/__init__.pyi | 33 +- .../onephaseflowvisualization/__init__.pyi | 13 +- .../pipeflowvisualization/__init__.pyi | 13 +- .../twophaseflowvisualization/__init__.pyi | 13 +- .../__init__.pyi | 37 +- .../util/timeseries/__init__.pyi | 64 +- .../jneqsim-stubs/integration/__init__.pyi | 181 +- .../jneqsim-stubs/mathlib/__init__.pyi | 3 +- .../mathlib/generalmath/__init__.pyi | 12 +- .../mathlib/nonlinearsolver/__init__.pyi | 41 +- .../physicalproperties/__init__.pyi | 47 +- .../interfaceproperties/__init__.pyi | 111 +- .../solidadsorption/__init__.pyi | 13 +- .../surfacetension/__init__.pyi | 179 +- .../physicalproperties/methods/__init__.pyi | 37 +- .../__init__.pyi | 29 +- .../conductivity/__init__.pyi | 24 +- .../diffusivity/__init__.pyi | 36 +- .../viscosity/__init__.pyi | 88 +- .../gasphysicalproperties/__init__.pyi | 33 +- .../conductivity/__init__.pyi | 20 +- .../density/__init__.pyi | 16 +- .../diffusivity/__init__.pyi | 36 +- .../viscosity/__init__.pyi | 20 +- .../liquidphysicalproperties/__init__.pyi | 33 +- .../conductivity/__init__.pyi | 16 +- .../density/__init__.pyi | 42 +- .../diffusivity/__init__.pyi | 162 +- .../viscosity/__init__.pyi | 26 +- .../methods/methodinterface/__init__.pyi | 46 +- .../solidphysicalproperties/__init__.pyi | 33 +- .../conductivity/__init__.pyi | 16 +- .../density/__init__.pyi | 16 +- .../diffusivity/__init__.pyi | 28 +- .../viscosity/__init__.pyi | 16 +- .../mixingrule/__init__.pyi | 25 +- .../physicalproperties/system/__init__.pyi | 140 +- .../__init__.pyi | 9 +- .../system/gasphysicalproperties/__init__.pyi | 19 +- .../liquidphysicalproperties/__init__.pyi | 33 +- .../solidphysicalproperties/__init__.pyi | 5 +- .../physicalproperties/util/__init__.pyi | 7 +- .../util/parameterfitting/__init__.pyi | 7 +- .../__init__.pyi | 11 +- .../purecompinterfacetension/__init__.pyi | 21 +- .../purecompviscosity/__init__.pyi | 11 +- .../chungmethod/__init__.pyi | 21 +- .../linearliquidmodel/__init__.pyi | 21 +- .../jneqsim-stubs/process/__init__.pyi | 9 +- .../process/advisory/__init__.pyi | 130 +- .../jneqsim-stubs/process/alarm/__init__.pyi | 238 +- .../process/calibration/__init__.pyi | 460 +- .../process/conditionmonitor/__init__.pyi | 9 +- .../process/controllerdevice/__init__.pyi | 313 +- .../controllerdevice/structure/__init__.pyi | 23 +- .../process/costestimation/__init__.pyi | 20 +- .../costestimation/compressor/__init__.pyi | 10 +- .../costestimation/separator/__init__.pyi | 10 +- .../process/costestimation/valve/__init__.pyi | 10 +- .../process/equipment/__init__.pyi | 245 +- .../process/equipment/absorber/__init__.pyi | 128 +- .../process/equipment/adsorber/__init__.pyi | 23 +- .../process/equipment/battery/__init__.pyi | 5 +- .../process/equipment/blackoil/__init__.pyi | 13 +- .../process/equipment/compressor/__init__.pyi | 647 +-- .../equipment/diffpressure/__init__.pyi | 104 +- .../equipment/distillation/__init__.pyi | 127 +- .../process/equipment/ejector/__init__.pyi | 48 +- .../equipment/electrolyzer/__init__.pyi | 61 +- .../process/equipment/expander/__init__.pyi | 82 +- .../process/equipment/filter/__init__.pyi | 30 +- .../process/equipment/flare/__init__.pyi | 120 +- .../process/equipment/flare/dto/__init__.pyi | 46 +- .../equipment/heatexchanger/__init__.pyi | 407 +- .../process/equipment/manifold/__init__.pyi | 21 +- .../process/equipment/membrane/__init__.pyi | 27 +- .../process/equipment/mixer/__init__.pyi | 41 +- .../process/equipment/network/__init__.pyi | 181 +- .../process/equipment/pipeline/__init__.pyi | 633 +-- .../pipeline/twophasepipe/__init__.pyi | 514 +- .../twophasepipe/closure/__init__.pyi | 76 +- .../twophasepipe/numerics/__init__.pyi | 190 +- .../equipment/powergeneration/__init__.pyi | 38 +- .../process/equipment/pump/__init__.pyi | 182 +- .../process/equipment/reactor/__init__.pyi | 196 +- .../process/equipment/reservoir/__init__.pyi | 526 +- .../process/equipment/separator/__init__.pyi | 207 +- .../separator/sectiontype/__init__.pyi | 84 +- .../process/equipment/splitter/__init__.pyi | 72 +- .../process/equipment/stream/__init__.pyi | 315 +- .../process/equipment/subsea/__init__.pyi | 29 +- .../process/equipment/tank/__init__.pyi | 309 +- .../process/equipment/util/__init__.pyi | 624 +-- .../process/equipment/valve/__init__.pyi | 427 +- .../process/equipment/well/__init__.pyi | 3 +- .../equipment/well/allocation/__init__.pyi | 85 +- .../process/fielddevelopment/__init__.pyi | 3 +- .../fielddevelopment/concept/__init__.pyi | 353 +- .../fielddevelopment/evaluation/__init__.pyi | 189 +- .../fielddevelopment/facility/__init__.pyi | 137 +- .../fielddevelopment/screening/__init__.pyi | 296 +- .../process/integration/__init__.pyi | 3 +- .../process/integration/ml/__init__.pyi | 145 +- .../jneqsim-stubs/process/logic/__init__.pyi | 37 +- .../process/logic/action/__init__.pyi | 52 +- .../process/logic/condition/__init__.pyi | 66 +- .../process/logic/control/__init__.pyi | 24 +- .../process/logic/esd/__init__.pyi | 13 +- .../process/logic/hipps/__init__.pyi | 27 +- .../process/logic/shutdown/__init__.pyi | 13 +- .../process/logic/sis/__init__.pyi | 104 +- .../process/logic/startup/__init__.pyi | 21 +- .../process/logic/voting/__init__.pyi | 34 +- .../process/measurementdevice/__init__.pyi | 465 +- .../measurementdevice/online/__init__.pyi | 11 +- .../simpleflowregime/__init__.pyi | 112 +- .../measurementdevice/vfm/__init__.pyi | 213 +- .../process/mechanicaldesign/__init__.pyi | 157 +- .../mechanicaldesign/absorber/__init__.pyi | 14 +- .../mechanicaldesign/adsorber/__init__.pyi | 10 +- .../mechanicaldesign/compressor/__init__.pyi | 10 +- .../mechanicaldesign/data/__init__.pyi | 27 +- .../designstandards/__init__.pyi | 149 +- .../mechanicaldesign/ejector/__init__.pyi | 32 +- .../heatexchanger/__init__.pyi | 165 +- .../mechanicaldesign/pipeline/__init__.pyi | 51 +- .../mechanicaldesign/separator/__init__.pyi | 19 +- .../separator/sectiontype/__init__.pyi | 35 +- .../mechanicaldesign/valve/__init__.pyi | 457 +- .../jneqsim-stubs/process/ml/__init__.pyi | 369 +- .../process/ml/controllers/__init__.pyi | 68 +- .../process/ml/examples/__init__.pyi | 25 +- .../process/ml/multiagent/__init__.pyi | 196 +- .../process/ml/surrogate/__init__.pyi | 142 +- .../jneqsim-stubs/process/mpc/__init__.pyi | 1104 ++--- .../process/processmodel/__init__.pyi | 641 +-- .../process/processmodel/graph/__init__.pyi | 258 +- .../processmodel/lifecycle/__init__.pyi | 167 +- .../processmodel/processmodules/__init__.pyi | 184 +- .../jneqsim-stubs/process/safety/__init__.pyi | 271 +- .../process/safety/dto/__init__.pyi | 44 +- .../process/safety/envelope/__init__.pyi | 82 +- .../process/safety/release/__init__.pyi | 92 +- .../process/safety/risk/__init__.pyi | 181 +- .../process/safety/scenario/__init__.pyi | 173 +- .../process/streaming/__init__.pyi | 136 +- .../process/sustainability/__init__.pyi | 64 +- .../jneqsim-stubs/process/util/__init__.pyi | 3 +- .../process/util/event/__init__.pyi | 176 +- .../process/util/example/__init__.pyi | 93 +- .../process/util/export/__init__.pyi | 85 +- .../util/fielddevelopment/__init__.pyi | 725 +-- .../process/util/fire/__init__.pyi | 286 +- .../process/util/monitor/__init__.pyi | 172 +- .../process/util/optimization/__init__.pyi | 766 +-- .../process/util/report/__init__.pyi | 55 +- .../process/util/report/safety/__init__.pyi | 131 +- .../process/util/scenario/__init__.pyi | 105 +- .../process/util/sensitivity/__init__.pyi | 59 +- .../process/util/uncertainty/__init__.pyi | 166 +- .../jneqsim-stubs/pvtsimulation/__init__.pyi | 3 +- .../pvtsimulation/flowassurance/__init__.pyi | 119 +- .../pvtsimulation/modeltuning/__init__.pyi | 13 +- .../pvtsimulation/regression/__init__.pyi | 240 +- .../reservoirproperties/__init__.pyi | 5 +- .../pvtsimulation/simulation/__init__.pyi | 308 +- .../pvtsimulation/util/__init__.pyi | 410 +- .../util/parameterfitting/__init__.pyi | 184 +- .../jneqsim-stubs/standards/__init__.pyi | 82 +- .../standards/gasquality/__init__.pyi | 144 +- .../standards/oilquality/__init__.pyi | 23 +- .../standards/salescontract/__init__.pyi | 76 +- .../jneqsim-stubs/statistics/__init__.pyi | 11 +- .../statistics/dataanalysis/__init__.pyi | 3 +- .../dataanalysis/datasmoothing/__init__.pyi | 14 +- .../experimentalequipmentdata/__init__.pyi | 9 +- .../wettedwallcolumndata/__init__.pyi | 9 +- .../experimentalsamplecreation/__init__.pyi | 11 +- .../readdatafromfile/__init__.pyi | 13 +- .../wettedwallcolumnreader/__init__.pyi | 17 +- .../samplecreator/__init__.pyi | 24 +- .../__init__.pyi | 13 +- .../montecarlosimulation/__init__.pyi | 16 +- .../statistics/parameterfitting/__init__.pyi | 122 +- .../nonlinearparameterfitting/__init__.pyi | 31 +- .../jneqsim-stubs/thermo/__init__.pyi | 49 +- .../thermo/atomelement/__init__.pyi | 31 +- .../thermo/characterization/__init__.pyi | 569 +-- .../thermo/component/__init__.pyi | 4229 +++-------------- .../component/attractiveeosterm/__init__.pyi | 183 +- .../component/repulsiveeosterm/__init__.pyi | 5 +- .../thermo/mixingrule/__init__.pyi | 1545 +----- .../jneqsim-stubs/thermo/phase/__init__.pyi | 3266 +++---------- .../jneqsim-stubs/thermo/system/__init__.pyi | 1531 ++---- .../thermo/util/Vega/__init__.pyi | 75 +- .../jneqsim-stubs/thermo/util/__init__.pyi | 57 +- .../thermo/util/benchmark/__init__.pyi | 17 +- .../thermo/util/constants/__init__.pyi | 67 +- .../thermo/util/derivatives/__init__.pyi | 102 +- .../thermo/util/empiric/__init__.pyi | 25 +- .../thermo/util/gerg/__init__.pyi | 394 +- .../thermo/util/humidair/__init__.pyi | 5 +- .../thermo/util/jni/__init__.pyi | 344 +- .../thermo/util/leachman/__init__.pyi | 81 +- .../thermo/util/readwrite/__init__.pyi | 61 +- .../util/referenceequations/__init__.pyi | 13 +- .../thermo/util/spanwagner/__init__.pyi | 9 +- .../thermo/util/steam/__init__.pyi | 5 +- .../thermodynamicoperations/__init__.pyi | 312 +- .../chemicalequilibrium/__init__.pyi | 17 +- .../flashops/__init__.pyi | 395 +- .../flashops/saturationops/__init__.pyi | 199 +- .../phaseenvelopeops/__init__.pyi | 11 +- .../multicomponentenvelopeops/__init__.pyi | 235 +- .../reactivecurves/__init__.pyi | 45 +- .../propertygenerator/__init__.pyi | 133 +- .../jneqsim-stubs/util/__init__.pyi | 32 +- .../util/annotation/__init__.pyi | 56 +- .../jneqsim-stubs/util/database/__init__.pyi | 90 +- .../jneqsim-stubs/util/exception/__init__.pyi | 157 +- .../jneqsim-stubs/util/generator/__init__.pyi | 16 +- .../util/serialization/__init__.pyi | 13 +- .../jneqsim-stubs/util/unit/__init__.pyi | 109 +- .../jneqsim-stubs/util/util/__init__.pyi | 7 +- .../util/validation/__init__.pyi | 138 +- .../util/validation/contracts/__init__.pyi | 62 +- src/jneqsim-stubs/jpype-stubs/__init__.pyi | 10 +- 303 files changed, 9626 insertions(+), 31477 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6260e94b..572f5b17 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,6 +7,7 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml + exclude: ^conda/meta\.yaml$ - id: check-added-large-files - repo: https://github.com/psf/black rev: 24.10.0 diff --git a/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi index c946a19f..48b48797 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,6 +22,7 @@ import jneqsim.thermodynamicoperations import jneqsim.util import typing + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("neqsim")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi index a4f6baec..9a813888 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,6 +8,7 @@ else: import jneqsim.api.ioc import typing + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.api")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi index c3b82f33..eb216820 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,19 +9,16 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi index a730a346..dc3079a4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,20 +11,15 @@ 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": ... - + 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" = ... + pvt: 'BlackOilPVTTable' = ... + blackOilSystem: 'SystemBlackOil' = ... rho_o_sc: float = ... rho_g_sc: float = ... rho_w_sc: float = ... @@ -32,21 +27,8 @@ class BlackOilConverter: def __init__(self): ... class BlackOilFlash: - 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": ... + 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: O_std: float = ... @@ -69,9 +51,7 @@ class BlackOilFlashResult: def __init__(self): ... class BlackOilPVTTable: - def __init__( - self, list: java.util.List["BlackOilPVTTable.Record"], double: float - ): ... + 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: ... @@ -82,7 +62,6 @@ class BlackOilPVTTable: def mu_g(self, double: float) -> float: ... def mu_o(self, double: float) -> float: ... def mu_w(self, double: float) -> float: ... - class Record: p: float = ... Rs: float = ... @@ -93,28 +72,11 @@ class BlackOilPVTTable: 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, - ): ... + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... class SystemBlackOil: - def __init__( - self, - blackOilPVTTable: BlackOilPVTTable, - double: float, - double2: float, - double3: float, - ): ... - def copyShallow(self) -> "SystemBlackOil": ... + 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: ... @@ -139,6 +101,7 @@ class SystemBlackOil: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi index ebd07a6b..41fddeed 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,148 +15,80 @@ 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... - + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.Units': ... @staticmethod - def values() -> typing.MutableSequence["CMGEOSExporter.Units"]: ... + 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": ... + def fromFile(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'EclipseBlackOilImporter.Result': ... @staticmethod - def fromReader(reader: java.io.Reader) -> "EclipseBlackOilImporter.Result": ... - + def fromReader(reader: java.io.Reader) -> 'EclipseBlackOilImporter.Result': ... class Result: pvt: jneqsim.blackoil.BlackOilPVTTable = ... system: jneqsim.blackoil.SystemBlackOil = ... @@ -166,140 +98,72 @@ class EclipseBlackOilImporter: 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EclipseBlackOilImporter.Units': ... @staticmethod - def values() -> typing.MutableSequence["EclipseBlackOilImporter.Units"]: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... - + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EclipseEOSExporter.Units': ... @staticmethod - def values() -> typing.MutableSequence["EclipseEOSExporter.Units"]: ... + def values() -> typing.MutableSequence['EclipseEOSExporter.Units']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil.io")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi index a5d9f3bd..21860ed2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,9 +15,9 @@ import jneqsim.thermo.phase import jneqsim.thermo.system import typing -class ChemicalReactionOperations( - jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable -): + + +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]]: ... @@ -25,53 +25,39 @@ class ChemicalReactionOperations( 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 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 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 getReactionList(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList: ... def hasReactions(self) -> bool: ... - def reacHeat( - self, int: int, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + 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: ... + 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 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__ - ) + chemicalequilibrium: jneqsim.chemicalreactions.chemicalequilibrium.__module_protocol__ chemicalreaction: jneqsim.chemicalreactions.chemicalreaction.__module_protocol__ kinetics: jneqsim.chemicalreactions.kinetics.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi index 908e3dbb..e0d77caf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,70 +16,27 @@ 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 - ], - ): ... + 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], - ): ... + 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 __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: ... + 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 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 __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: ... @@ -87,14 +44,7 @@ class ChemicalEquilibrium(java.io.Serializable): 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 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: ... @@ -109,49 +59,24 @@ class ChemicalEquilibrium(java.io.Serializable): 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, - ): ... +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 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, -): +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: ... + 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 - ] + LinearProgrammingChemicalEquilibrium: typing.Type[LinearProgrammingChemicalEquilibrium] ReferencePotComparator: typing.Type[ReferencePotComparator] diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi index a26be063..7d29bac4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,31 +16,14 @@ 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: ... + + +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: ... @@ -51,125 +34,52 @@ class ChemicalReaction( @typing.overload def getRateFactor(self) -> float: ... @typing.overload - def getRateFactor( - self, phaseInterface: jneqsim.thermo.phase.PhaseInterface - ) -> float: ... + 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 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 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: ... + 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: ... + 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 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 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]]: ... + 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 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]: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi index d92d0dcf..4582d9a0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,27 +10,17 @@ import jneqsim.chemicalreactions import jneqsim.thermo.phase import typing + + class Kinetics(java.io.Serializable): - def __init__( - self, - chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations, - ): ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi index 9049d753..b0c27dc0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ import jneqsim.datapresentation.filehandling import jneqsim.datapresentation.jfreechart import typing + + class DataHandling: def __init__(self): ... def getItemCount(self, int: int) -> int: ... @@ -20,31 +22,17 @@ class DataHandling: 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: ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi index 0870b3b0..1a332122 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,27 +10,18 @@ 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: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi index bffb7cec..41806bf3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,52 +13,27 @@ 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 - ], - ): ... + 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], - ): ... + 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 __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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi index ba2a8adf..e8ed463d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,9 +13,12 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi index f15c1e44..fb4311a1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,73 +13,46 @@ 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 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 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 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: ... + 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: ... + 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 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi index e536bd22..68ab91bf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi index 882f34a3..8425f104 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,6 +20,8 @@ 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: ... @@ -36,31 +38,19 @@ class FlowNodeInterface(java.lang.Cloneable): 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 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 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 getNextNode(self) -> 'FlowNodeInterface': ... + def getOperations(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getPhaseFraction(self, int: int) -> float: ... def getPrandtlNumber(self, int: int) -> float: ... @typing.overload @@ -92,24 +82,15 @@ class FlowNodeInterface(java.lang.Cloneable): def init(self) -> None: ... def initBulkSystem(self) -> None: ... def initFlowCalc(self) -> None: ... - def setBulkSystem( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> 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 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 setGeometryDefinitionInterface(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... def setInterphaseModelType(self, int: int) -> None: ... - def setInterphaseSystem( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> 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 @@ -119,27 +100,19 @@ class FlowNodeInterface(java.lang.Cloneable): @typing.overload def setVelocityIn(self, int: int, double: float) -> None: ... @typing.overload - def setVelocityIn( - self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable - ) -> None: ... + 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: ... + 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: ... + 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 setVelocityOut(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... def setVerticalPositionOfNode(self, double: float) -> None: ... @typing.overload def setWallFrictionFactor(self, int: int, double: float) -> None: ... @@ -147,273 +120,139 @@ class FlowNodeInterface(java.lang.Cloneable): 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: ... + 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: ... + 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": ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlowPattern': ... @staticmethod - def values() -> typing.MutableSequence["FlowPattern"]: ... + 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: ... + 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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlowPatternModel': ... @staticmethod - def values() -> typing.MutableSequence["FlowPatternModel"]: ... + 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: ... + 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: ... + 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 calculateBubbleArea( - double: float, double2: float, double3: float, double4: float, double5: float - ) -> float: ... + 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 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: ... + def calculateDropletArea(double: float, double2: float, double3: float, double4: float, double5: float) -> 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: ... -class InterfacialAreaModel(java.lang.Enum["InterfacialAreaModel"]): - GEOMETRIC: typing.ClassVar["InterfacialAreaModel"] = ... - EMPIRICAL_CORRELATION: typing.ClassVar["InterfacialAreaModel"] = ... - USER_DEFINED: typing.ClassVar["InterfacialAreaModel"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'InterfacialAreaModel': ... @staticmethod - def values() -> typing.MutableSequence["InterfacialAreaModel"]: ... + def values() -> typing.MutableSequence['InterfacialAreaModel']: ... class MassTransferCoefficientCalculator: @staticmethod def calculateDittusBoelterSherwood(double: float, double2: float) -> 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: ... + 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 calculateRanzMarshallSherwood(double: float, double2: float) -> float: ... -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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WallHeatTransferModel': ... @staticmethod - def values() -> typing.MutableSequence["WallHeatTransferModel"]: ... + def values() -> typing.MutableSequence['WallHeatTransferModel']: ... class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface): molarFlowRate: typing.MutableSequence[float] = ... @@ -431,28 +270,16 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface @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 __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]]: ... + 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 @@ -463,31 +290,19 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface 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 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 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 getOperations(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getPhaseFraction(self, int: int) -> float: ... def getPrandtlNumber(self, int: int) -> float: ... @typing.overload @@ -518,29 +333,17 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface def increaseMolarRate(self, double: float) -> None: ... def init(self) -> None: ... def initBulkSystem(self) -> None: ... - def setBulkSystem( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> 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 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 setGeometryDefinitionInterface(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... def setInterphaseModelType(self, int: int) -> None: ... - def setInterphaseSystem( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> 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 setOperations(self, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations) -> None: ... def setPhaseFraction(self, int: int, double: float) -> None: ... @typing.overload def setVelocity(self, double: float) -> None: ... @@ -549,27 +352,19 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface @typing.overload def setVelocityIn(self, double: float) -> None: ... @typing.overload - def setVelocityIn( - self, doubleCloneable: jneqsim.util.util.DoubleCloneable - ) -> None: ... + 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: ... + 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: ... + 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 setVelocityOut(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... def setVerticalPositionOfNode(self, double: float) -> None: ... @typing.overload def setWallFrictionFactor(self, double: float) -> None: ... @@ -577,12 +372,8 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi index 87d6582e..a14f83ec 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ 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__ - ) + heatmasstransfercalc: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.__module_protocol__ + interphasetransportcoefficient: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi index 1fe48ace..4da50665 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,37 +17,27 @@ 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 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 getBinaryMassTransferCoefficient(self, int: int, int2: int, int3: int) -> float: ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getBulkSystemOpertions( - self, - ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + 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 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 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 setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... def setMassTransferCalc(self, boolean: bool) -> None: ... def solve(self) -> None: ... @typing.overload @@ -62,74 +52,59 @@ class FluidBoundaryInterface(java.lang.Cloneable): 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: ... + 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'InterfacialAreaModel': ... @staticmethod - def values() -> typing.MutableSequence["InterfacialAreaModel"]: ... + 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'MassTransferModel': ... @staticmethod - def values() -> typing.MutableSequence["MassTransferModel"]: ... + 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WallHeatTransferModel': ... @staticmethod - def values() -> typing.MutableSequence["WallHeatTransferModel"]: ... + def values() -> typing.MutableSequence['WallHeatTransferModel']: ... class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): interphaseHeatFlux: typing.MutableSequence[float] = ... @@ -137,46 +112,28 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): heatTransferCalc: bool = ... thermodynamicCorrections: typing.MutableSequence[bool] = ... finiteFluxCorrection: typing.MutableSequence[bool] = ... - binaryMassTransferCoefficient: typing.MutableSequence[ - typing.MutableSequence[typing.MutableSequence[float]] - ] = ... + 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 - ): ... + 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 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 getBinaryMassTransferCoefficient(self, int: int, int2: int, int3: int) -> float: ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getBulkSystemOpertions( - self, - ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + 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 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 getInterphaseOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getMassTransferCoefficientMatrix( - self, - ) -> typing.MutableSequence[Jama.Matrix]: ... + def getMassTransferCoefficientMatrix(self) -> typing.MutableSequence[Jama.Matrix]: ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -184,14 +141,10 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): def initMassTransferCalc(self) -> None: ... def isHeatTransferCalc(self) -> bool: ... def massTransSolve(self) -> None: ... - def setBulkSystem( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> 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 setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... def setMassTransferCalc(self, boolean: bool) -> None: ... def setSolverType(self, int: int) -> None: ... @typing.overload @@ -206,12 +159,8 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): 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: ... + 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")``. @@ -221,12 +170,6 @@ class __module_protocol__(Protocol): 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi index 6a1dd224..9d218f41 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,22 +12,19 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import jneqsim.thermo.system import typing -class EquilibriumFluidBoundary( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary -): + + +class EquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi index 93c977e3..c4b2b51b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,10 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi index fb7db6ac..13e342b7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,6 +10,8 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing + + class FluidBoundaryNodeInterface: def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -20,14 +22,11 @@ class FluidBoundaryNode(FluidBoundaryNodeInterface): 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi index 1877686c..0352e096 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing -class FluidBoundaryNodeNonReactive( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode -): + + +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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi index 9fa0f45b..595bb4dd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing -class FluidBoundaryNodeReactive( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode -): + + +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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi index 0a9ddf4e..aee2c3cf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,6 +9,8 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem import typing + + class FluidBoundarySolverInterface: def getMolarFlux(self, int: int) -> float: ... def solve(self) -> None: ... @@ -17,16 +19,9 @@ class FluidBoundarySolver(FluidBoundarySolverInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface, - ): ... + 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 __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: ... @@ -34,11 +29,10 @@ class FluidBoundarySolver(FluidBoundarySolverInterface): 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__ - ) + fluidboundaryreactivesolver: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi index efccbf8b..eb963873 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,11 +8,12 @@ else: import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver import typing -class FluidBoundaryReactiveSolver( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.FluidBoundarySolver -): + + +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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi index 0bfc1bab..6ca7b29d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,23 +11,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite 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 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 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: ... @@ -38,40 +29,23 @@ 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 __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 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi index 1eb55f19..eea1a2f0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,17 @@ 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 -): + + +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 __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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi index 56604d41..2daa6377 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,17 @@ 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 -): + + +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 __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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi index 37e20a75..6f80cd92 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,19 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequ import jneqsim.thermo.system import typing -class NonEquilibriumFluidBoundary( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary -): + + +class NonEquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): molFractionDifference: typing.MutableSequence[typing.MutableSequence[float]] = ... @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + 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 clone(self) -> 'NonEquilibriumFluidBoundary': ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -39,10 +37,9 @@ class NonEquilibriumFluidBoundary( 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__ - ) + filmmodelboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi index 90fbb94c..3bf40546 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,14 +14,11 @@ import jneqsim.thermo import jneqsim.thermo.system import typing -class KrishnaStandartFilmModel( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, - jneqsim.thermo.ThermodynamicConstantsInterface, -): + + +class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, jneqsim.thermo.ThermodynamicConstantsInterface): @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcBinaryMassTransferCoefficients(self, int: int) -> float: ... @@ -32,21 +29,18 @@ class KrishnaStandartFilmModel( def calcRedCorrectionMatrix(self, int: int) -> None: ... def calcRedPhiMatrix(self, int: int) -> None: ... def calcTotalMassTransferCoefficientMatrix(self, int: int) -> None: ... - def clone(self) -> "KrishnaStandartFilmModel": ... + 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 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__ - ) + reactivefilmmodel: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi index 0605442c..18c88ea7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,12 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequ import jneqsim.thermo.system import typing -class ReactiveFluidBoundary( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel -): + + +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 - ): ... + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcFluxes(self) -> typing.MutableSequence[float]: ... @@ -26,7 +24,7 @@ class ReactiveFluidBoundary( def calcHeatTransferCoefficients(self, int: int) -> None: ... def calcHeatTransferCorrection(self, int: int) -> None: ... def calcMolFractionDifference(self) -> None: ... - def clone(self) -> "ReactiveFluidBoundary": ... + def clone(self) -> 'ReactiveFluidBoundary': ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -40,23 +38,18 @@ class ReactiveFluidBoundary( def solve(self) -> None: ... def updateMassTrans(self) -> None: ... -class ReactiveKrishnaStandartFilmModel( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel -): +class ReactiveKrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + 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__ - ) + enhancementfactor: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi index 62fe4493..774d694d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,6 +9,8 @@ import jpype import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import typing + + class EnhancementFactorInterface: def calcEnhancementVec(self, int: int) -> None: ... def getEnhancementVec(self, int: int) -> float: ... @@ -18,10 +20,7 @@ class EnhancementFactor(EnhancementFactorInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, - ): ... + def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... @typing.overload def calcEnhancementVec(self, int: int) -> None: ... @typing.overload @@ -35,33 +34,24 @@ class EnhancementFactor(EnhancementFactorInterface): @typing.overload def getHattaNumber(self) -> typing.MutableSequence[float]: ... @typing.overload - def setEnhancementVec( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... + 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 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, - ): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi index 5f984b14..bc6265e2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,120 +10,45 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici 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: ... + 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: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ) -> float: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - double: float, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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: ... + 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: ... + 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: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ) -> float: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - double: float, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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: ... + 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi index af6ae6f4..e7791a37 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,20 +10,17 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow import typing -class InterphaseOnePhase( - jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass -): + + +class InterphaseOnePhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + 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__ - ) + interphasepipeflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi index b2e4d19c..12d08770 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,44 +9,23 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase import typing -class InterphasePipeFlow( - jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase -): + + +class InterphasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... @typing.overload - def calcWallFrictionFactor( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ) -> float: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi index bd4f5228..6871db55 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,26 +12,19 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell import typing -class InterphaseTwoPhase( - jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass -): + + +class InterphaseTwoPhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi index b38e883a..49eb281c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,257 +10,88 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.thermo import typing -class InterphaseTwoPhasePipeFlow( - jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase -): + + +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: ... + 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 -): +class InterphaseDropletFlow(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 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 __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 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: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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 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 InterphaseSlugFlow( - InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface -): +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: ... + 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: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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 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 -): +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: ... + 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: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi index dff0cc40..b3baf11f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,71 +10,32 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.thermo import typing -class InterphaseReactorFlow( - jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase -): + + +class InterphaseReactorFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ): ... + def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... -class InterphasePackedBed( - InterphaseReactorFlow, jneqsim.thermo.ThermodynamicConstantsInterface -): +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: ... + 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: ... + def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallFrictionFactor( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient( - self, - int: int, - flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, - ) -> float: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi index 01193480..de38a3cc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,46 +9,21 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow import typing -class InterphaseStirredCellFlow( - jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.InterphaseStratifiedFlow -): + + +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: ... + 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: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi index 60cc5d1a..ddb10290 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,33 +13,28 @@ 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 __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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi index 6c3e876a..184b718e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,36 +14,22 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing -class WaxDepositionFlowNode( - jneqsim.fluidmechanics.flownode.multiphasenode.MultiPhaseFlowNode -): + + +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, - ): ... + 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 __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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi index 5fbf5ef4..bb517645 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,28 +11,25 @@ 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... def calcReynoldsNumber(self) -> float: ... - def clone(self) -> "onePhaseFlowNode": ... + 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__ - ) + onephasepipeflownode: jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi index 62fa2226..7b538aa9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,23 +12,18 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing -class onePhasePipeFlowNode( - jneqsim.fluidmechanics.flownode.onephasenode.onePhaseFlowNode -): + + +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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... def calcReynoldsNumber(self) -> float: ... - def clone(self) -> "onePhasePipeFlowNode": ... + def clone(self) -> 'onePhasePipeFlowNode': ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi index 8c091c2a..ae07d727 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,17 +15,15 @@ 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... def calcContactLength(self) -> float: ... def calcFluxes(self) -> None: ... def calcGasLiquidContactArea(self) -> float: ... @@ -36,13 +34,9 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): def canCalculateMassTransfer(self) -> bool: ... def checkAndInitiatePhaseTransition(self) -> bool: ... def checkPhaseFormation(self) -> None: ... - def clone(self) -> "TwoPhaseFlowNode": ... + def clone(self) -> 'TwoPhaseFlowNode': ... def enforceMinimumPhaseFractions(self) -> None: ... - def getInterfacialAreaModel( - self, - ) -> ( - jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel - ): ... + def getInterfacialAreaModel(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel: ... def getInterfacialAreaPerVolume(self) -> float: ... def getNucleationDiameter(self, boolean: bool) -> float: ... def init(self) -> None: ... @@ -54,13 +48,8 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): 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 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: ... @@ -68,16 +57,11 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): 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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi index 1fb3901b..e0a8cca9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,122 +13,78 @@ 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, - ): ... + 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 __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 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: ... + 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, - ): ... + 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 __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 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 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, - ): ... + 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 __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 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: ... + 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 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, - ): ... + 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 __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 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 main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def setSlugFrequency(self, double: float) -> None: ... def setSlugLengthRatio(self, double: float) -> None: ... @@ -136,26 +92,16 @@ class StratifiedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFl @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, - ): ... + 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 __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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi index 626c0c3b..5178367d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,67 +13,44 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing -class TwoPhasePackedBedFlowNode( - jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode -): + + +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, - ): ... + 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 __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 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: ... + 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 -): +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, - ): ... + 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 __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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi index 11e8fedd..742b80a5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,27 +13,20 @@ 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, - ): ... + 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 __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 clone(self) -> 'StirredCellNode': ... def getDt(self) -> float: ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getStirrerDiameter(self) -> typing.MutableSequence[float]: ... @@ -41,16 +34,12 @@ class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowN def init(self) -> None: ... def initFlowCalc(self) -> None: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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: ... + def setStirrerDiameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @typing.overload def setStirrerSpeed(self, double: float) -> None: ... @typing.overload @@ -60,6 +49,7 @@ class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowN @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi index 8af62722..97c4bae1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,32 +11,32 @@ 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"] = ... + + +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AdvectionScheme': ... @staticmethod - def values() -> typing.MutableSequence["AdvectionScheme"]: ... + def values() -> typing.MutableSequence['AdvectionScheme']: ... class FlowSolverInterface: def setBoundarySpecificationType(self, int: int) -> None: ... @@ -77,6 +77,7 @@ class FlowSolver(FlowSolverInterface, java.io.Serializable): 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")``. @@ -84,9 +85,5 @@ class __module_protocol__(Protocol): 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__ - ) + onephaseflowsolver: jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.__module_protocol__ + twophaseflowsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi index c9a60408..4c753bbf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,14 @@ 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__ - ) + onephasepipeflowsolver: jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi index 90dd00a2..4eb13069 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,34 +10,21 @@ import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem import jneqsim.thermo import typing -class OnePhasePipeFlowSolver( - jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver -): + + +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 -): + 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 __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: ... @@ -51,6 +38,7 @@ class OnePhaseFixedStaggeredGrid( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi index 5ff04415..c076e8ef 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ 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__ - ) + stirredcellsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver.__module_protocol__ + twophasepipeflowsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi index 11632de8..65f532c1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,33 +10,17 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo import typing -class StirredCellSolver( - jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhasePipeFlowSolver, - jneqsim.thermo.ThermodynamicConstantsInterface, -): + + +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, - ): ... + 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 __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 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: ... @@ -48,6 +32,7 @@ class StirredCellSolver( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi index 4ce6253b..d4119cb0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,47 +11,27 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo import typing -class TwoPhasePipeFlowSolver( - jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver -): + + +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": ... + def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... + def clone(self) -> 'TwoPhasePipeFlowSolver': ... -class TwoPhaseFixedStaggeredGridSolver( - TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface -): +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, - ): ... + 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 __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 getMassTransferMode( - self, - ) -> "TwoPhaseFixedStaggeredGridSolver.MassTransferMode": ... - def getSolverTypeEnum(self) -> "TwoPhaseFixedStaggeredGridSolver.SolverType": ... + def clone(self) -> 'TwoPhaseFixedStaggeredGridSolver': ... + def getMassTransferMode(self) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... + def getSolverTypeEnum(self) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... def initComposition(self, int: int, int2: int) -> None: ... def initFinalResults(self, int: int) -> None: ... def initMatrix(self) -> None: ... @@ -66,72 +46,45 @@ class TwoPhaseFixedStaggeredGridSolver( def setEnergyMatrixTDMA(self, int: int) -> None: ... def setImpulsMatrixTDMA(self, int: int) -> None: ... def setMassConservationMatrix(self, int: int) -> None: ... - def setMassTransferMode( - self, massTransferMode: "TwoPhaseFixedStaggeredGridSolver.MassTransferMode" - ) -> 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 setSolverType(self, solverType: 'TwoPhaseFixedStaggeredGridSolver.SolverType') -> None: ... def solveTDMA(self) -> None: ... - - 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... @staticmethod - def values() -> ( - typing.MutableSequence["TwoPhaseFixedStaggeredGridSolver.SolverType"] - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi index e57cef5d..ec0cb934 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,26 +19,18 @@ 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 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 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: ... @@ -55,43 +47,19 @@ class FlowSystemInterface: def getTotalPressureDrop(self, int: int) -> float: ... def init(self) -> None: ... def print_(self) -> None: ... - def setAdvectionScheme( - self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme - ) -> 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 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 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: ... @@ -113,23 +81,13 @@ class FlowSystem(FlowSystemInterface, java.io.Serializable): 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 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 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: ... @@ -146,59 +104,32 @@ class FlowSystem(FlowSystemInterface, java.io.Serializable): def getTotalPressureDrop(self, int: int) -> float: ... def init(self) -> None: ... def print_(self) -> None: ... - def setAdvectionScheme( - self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme - ) -> 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 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 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__ - ) + onephaseflowsystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.__module_protocol__ + twophaseflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi index cf27e7f5..c9fb0710 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ 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 @@ -18,10 +20,9 @@ class OnePhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): @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__ - ) + pipeflowsystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi index d25231a9..87483bf3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,9 @@ import java.util import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem import typing -class PipeFlowSystem( - jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem -): + + +class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem): def __init__(self): ... def createSystem(self) -> None: ... def init(self) -> None: ... @@ -22,25 +22,15 @@ class PipeFlowSystem( @typing.overload def runTransientClosedOutlet(self, double: float, double2: float) -> None: ... @typing.overload - def runTransientClosedOutlet( - self, double: float, double2: float, int: int - ) -> None: ... + def runTransientClosedOutlet(self, double: float, double2: float, int: int) -> None: ... @typing.overload - def runTransientControlledOutletPressure( - self, double: float, double2: float, double3: float - ) -> None: ... + def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float) -> None: ... @typing.overload - def runTransientControlledOutletPressure( - self, double: float, double2: float, double3: float, int: int - ) -> None: ... + def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float, int: int) -> None: ... @typing.overload - def runTransientControlledOutletVelocity( - self, double: float, double2: float, double3: float - ) -> None: ... + 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 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: ... @@ -53,6 +43,7 @@ class PipeFlowSystem( @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi index 04722872..ae05f3e1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,6 +14,8 @@ 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 @@ -21,19 +23,12 @@ class TwoPhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): @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__ - ) + 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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi index cbc0a5ca..6c0e45d6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,6 +13,8 @@ import jneqsim.standards.gasquality import jneqsim.thermo.system import typing + + class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): totalTankVolume: float = ... numberOffTimeSteps: int = ... @@ -21,31 +23,20 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS volume: typing.MutableSequence[float] = ... tankTemperature: typing.MutableSequence[float] = ... endVolume: float = ... - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - double: float, - double2: 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 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 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 @@ -53,18 +44,9 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS @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: ... + 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 @@ -73,11 +55,8 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi index e5dd1285..007411f6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,16 +11,14 @@ import jpype import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import typing -class StirredCellSystem( - jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem -): + + +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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -30,6 +28,7 @@ class StirredCellSystem( @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi index 9fe6ea49..2cdb462e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,17 +15,15 @@ import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import jneqsim.thermo.system import typing + + class PipeFlowResult(java.io.Serializable): @staticmethod - def builder() -> "PipeFlowResult.Builder": ... + def builder() -> 'PipeFlowResult.Builder': ... @staticmethod - def fromPipeSystem( - twoPhasePipeFlowSystem: "TwoPhasePipeFlowSystem", - ) -> "PipeFlowResult": ... + def fromPipeSystem(twoPhasePipeFlowSystem: 'TwoPhasePipeFlowSystem') -> 'PipeFlowResult': ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getFlowPatternProfile( - self, - ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... + 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: ... @@ -49,120 +47,61 @@ class PipeFlowResult(java.io.Serializable): @typing.overload def getTotalMassTransferRate(self, int: int) -> float: ... @typing.overload - def getTotalMassTransferRate( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 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": ... + 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 -): +class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): def __init__(self): ... @staticmethod - def builder() -> "TwoPhasePipeFlowSystemBuilder": ... + def builder() -> 'TwoPhasePipeFlowSystemBuilder': ... @staticmethod - def buriedPipe( - systemInterface: jneqsim.thermo.system.SystemInterface, - double: float, - double2: float, - int: int, - double3: float, - ) -> "TwoPhasePipeFlowSystem": ... + 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 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: ... + 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: ... + 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 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 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: ... @@ -173,28 +112,18 @@ class TwoPhasePipeFlowSystem( 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 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 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 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 getGasMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... def getGasQualityProfile(self) -> typing.MutableSequence[float]: ... def getGravitationalPressureDrop(self) -> float: ... def getGravitationalPressureGradient(self, int: int) -> float: ... @@ -205,82 +134,48 @@ class TwoPhasePipeFlowSystem( 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 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 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 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 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 - ): ... + 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 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 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 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 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 getStantonNumberHeatProfile(self, int: int) -> typing.MutableSequence[float]: ... def getSummaryReport(self) -> java.lang.String: ... - def getSuperficialVelocityProfile( - self, int: int - ) -> typing.MutableSequence[float]: ... + 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 getThermalConductivityProfile(self, int: int) -> typing.MutableSequence[float]: ... def getTimeStep(self) -> float: ... def getTotalCondensationRate(self) -> float: ... def getTotalEnthalpyProfile(self) -> typing.MutableSequence[float]: ... @@ -296,83 +191,43 @@ class TwoPhasePipeFlowSystem( 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 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: ... + def getWallHeatTransferModel(self) -> jneqsim.fluidmechanics.flownode.WallHeatTransferModel: ... @staticmethod - def horizontalPipe( - systemInterface: jneqsim.thermo.system.SystemInterface, - double: float, - double2: float, - int: int, - ) -> "TwoPhasePipeFlowSystem": ... + 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 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: ... + 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 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: ... + 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 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 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 setWallHeatTransferModel(self, wallHeatTransferModel: jneqsim.fluidmechanics.flownode.WallHeatTransferModel) -> None: ... def solve(self) -> PipeFlowResult: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @@ -389,83 +244,44 @@ class TwoPhasePipeFlowSystem( 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 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": ... + 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": ... + 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": ... + 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": ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi index 3bdd4f0c..f523ccba 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,16 +11,14 @@ import jpype import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import typing -class TwoPhaseReactorFlowSystem( - jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem -): + + +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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -30,6 +28,7 @@ class TwoPhaseReactorFlowSystem( @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi index c1869877..8d08de57 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,30 +16,24 @@ import jneqsim.fluidmechanics.geometrydefinitions.surrounding import jneqsim.thermo import typing + + class GeometryDefinitionInterface(java.lang.Cloneable): - def clone(self) -> "GeometryDefinitionInterface": ... + def clone(self) -> 'GeometryDefinitionInterface': ... def getArea(self) -> float: ... def getCircumference(self) -> float: ... def getDiameter(self) -> float: ... - def getGeometry(self) -> "GeometryDefinitionInterface": ... + 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 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 getSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment: ... def getWallHeatTransferCoefficient(self) -> float: ... def init(self) -> None: ... def setDiameter(self, double: float) -> None: ... @@ -49,21 +43,11 @@ class GeometryDefinitionInterface(java.lang.Cloneable): @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 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 -): +class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.ThermodynamicConstantsInterface): diameter: float = ... radius: float = ... innerSurfaceRoughness: float = ... @@ -87,24 +71,14 @@ class GeometryDefinition( def getInnerSurfaceRoughness(self) -> float: ... def getInnerWallTemperature(self) -> float: ... def getNodeLength(self) -> float: ... - def getPacking( - self, - ) -> ( - jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface - ): ... + 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 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: ... @@ -114,35 +88,19 @@ class GeometryDefinition( @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 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__ - ) + 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__ - ) + stirredcell: jneqsim.fluidmechanics.geometrydefinitions.stirredcell.__module_protocol__ + surrounding: jneqsim.fluidmechanics.geometrydefinitions.surrounding.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi index 1d34ea88..7463f8c9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ 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__ - ) + packings: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.__module_protocol__ + wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi index 167b916a..ec83b712 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,6 +9,8 @@ import java.lang import jneqsim.util import typing + + class PackingInterface: def getSize(self) -> float: ... def getSurfaceAreaPrVolume(self) -> float: ... @@ -19,12 +21,7 @@ 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 __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: ... @@ -46,6 +43,7 @@ class RachigRingPacking(Packing): @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi index 6f5ddf14..581cfc98 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,21 @@ 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, - ): ... + 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): ... + def __init__(self, pipeMaterial: 'PipeMaterial', double: float): ... @staticmethod - def carbonSteel(double: float) -> "MaterialLayer": ... + def carbonSteel(double: float) -> 'MaterialLayer': ... @staticmethod - def concrete(double: float) -> "MaterialLayer": ... + def concrete(double: float) -> 'MaterialLayer': ... def getConductivity(self) -> float: ... def getCv(self) -> float: ... def getCylindricalThermalResistance(self, double: float) -> float: ... @@ -38,7 +33,7 @@ class MaterialLayer: def getInsideTemperature(self) -> float: ... def getMaterialName(self) -> java.lang.String: ... def getOutsideTemperature(self) -> float: ... - def getPipeMaterial(self) -> "PipeMaterial": ... + def getPipeMaterial(self) -> 'PipeMaterial': ... def getSpecificHeatCapacity(self) -> float: ... def getThermalDiffusivity(self) -> float: ... def getThermalMassPerArea(self) -> float: ... @@ -47,11 +42,11 @@ class MaterialLayer: def isInsulation(self) -> bool: ... def isMetal(self) -> bool: ... @staticmethod - def mineralWool(double: float) -> "MaterialLayer": ... + def mineralWool(double: float) -> 'MaterialLayer': ... @staticmethod - def polyethylene(double: float) -> "MaterialLayer": ... + def polyethylene(double: float) -> 'MaterialLayer': ... @staticmethod - def polyurethaneFoam(double: float) -> "MaterialLayer": ... + def polyurethaneFoam(double: float) -> 'MaterialLayer': ... def setConductivity(self, double: float) -> None: ... def setCv(self, double: float) -> None: ... def setDensity(self, double: float) -> None: ... @@ -61,40 +56,40 @@ class MaterialLayer: def setSpecificHeatCapacity(self, double: float) -> None: ... def setThickness(self, double: float) -> None: ... @staticmethod - def stainlessSteel316(double: float) -> "MaterialLayer": ... + 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"] = ... +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: ... @@ -104,80 +99,51 @@ class PipeMaterial(java.lang.Enum["PipeMaterial"]): def isInsulation(self) -> bool: ... def isMetal(self) -> bool: ... def isSoil(self) -> bool: ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PipeMaterial': ... @staticmethod - def values() -> typing.MutableSequence["PipeMaterial"]: ... + 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 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 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": ... + 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": ... + 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": ... + def subseaPipe(double: float, double2: float, double3: float, double4: float) -> 'PipeWallBuilder': ... @staticmethod - def withInnerDiameter(double: float) -> "PipeWallBuilder": ... + def withInnerDiameter(double: float) -> 'PipeWallBuilder': ... @staticmethod - def withInnerRadius(double: float) -> "PipeWallBuilder": ... + def withInnerRadius(double: float) -> 'PipeWallBuilder': ... class WallInterface: def addMaterialLayer(self, materialLayer: MaterialLayer) -> None: ... @@ -207,9 +173,7 @@ class PipeWall(Wall): 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 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: ... @@ -219,6 +183,7 @@ class PipeWall(Wall): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi index 2c4e8736..a4eb9437 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import jneqsim.fluidmechanics.geometrydefinitions.surrounding import typing + + class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -18,53 +20,29 @@ class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): 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 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 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": ... + def clone(self) -> 'PipeData': ... @staticmethod - def createFromBuilder( - pipeWallBuilder: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWallBuilder, - ) -> "PipeData": ... + 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi index 415d1201..765c65d4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,6 +9,8 @@ import java.lang import jneqsim.fluidmechanics.geometrydefinitions import typing + + class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -18,18 +20,14 @@ class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition) def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, int: int): ... - def clone(self) -> "ReactorData": ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi index d92aa426..4d6bd40b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,6 +8,8 @@ else: import jneqsim.fluidmechanics.geometrydefinitions import typing + + class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -15,7 +17,8 @@ class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition) def __init__(self, double: float): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> "StirredCell": ... + def clone(self) -> 'StirredCell': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.stirredcell")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi index 6f082f19..9b28a946 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,6 +9,8 @@ import java.lang import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import typing + + class SurroundingEnvironment: def getHeatTransferCoefficient(self) -> float: ... def getTemperature(self) -> float: ... @@ -28,62 +30,41 @@ class PipeSurroundingEnvironment(SurroundingEnvironmentBaseClass): @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": ... + 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: ... + def calcBuriedPipeHeatTransferCoefficient(double: float, double2: float, double3: float) -> float: ... @staticmethod - def calcBuriedPipeThermalResistance( - double: float, double2: float, double3: float - ) -> float: ... + def calcBuriedPipeThermalResistance(double: float, double2: float, double3: float) -> float: ... @staticmethod - def exposedToAir(double: float, double2: float) -> "PipeSurroundingEnvironment": ... + def exposedToAir(double: float, double2: float) -> 'PipeSurroundingEnvironment': ... def getBurialDepth(self) -> float: ... - def getEnvironmentType(self) -> "PipeSurroundingEnvironment.EnvironmentType": ... + 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PipeSurroundingEnvironment.EnvironmentType': ... @staticmethod - def values() -> ( - typing.MutableSequence["PipeSurroundingEnvironment.EnvironmentType"] - ): ... + def values() -> typing.MutableSequence['PipeSurroundingEnvironment.EnvironmentType']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.surrounding")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi index 304e42bc..2cc6ee48 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,60 +11,34 @@ 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: ... + 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": ... + 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlowRegimeDetector.FlowRegime': ... @staticmethod - def values() -> typing.MutableSequence["FlowRegimeDetector.FlowRegime"]: ... + def values() -> typing.MutableSequence['FlowRegimeDetector.FlowRegime']: ... class FrictionFactorCalculator: RE_LAMINAR_LIMIT: typing.ClassVar[float] = ... @@ -76,18 +50,15 @@ class FrictionFactorCalculator: @staticmethod def calcHaalandFrictionFactor(double: float, double2: float) -> float: ... @staticmethod - def calcPressureDropPerLength( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + 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__ - ) + fluidmechanicsvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.__module_protocol__ timeseries: jneqsim.fluidmechanics.util.timeseries.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi index 2bda0082..4ab16300 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza 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__ - ) + flownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.__module_protocol__ + flowsystemvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi index 595c5378..4eb052b8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,6 +10,8 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization import typing + + class FlowNodeVisualizationInterface: def getBulkComposition(self, int: int, int2: int) -> float: ... def getDistanceToCenterOfNode(self) -> float: ... @@ -26,9 +28,7 @@ class FlowNodeVisualizationInterface: 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: ... + def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... class FlowNodeVisualization(FlowNodeVisualizationInterface): temperature: typing.MutableSequence[float] = ... @@ -40,9 +40,7 @@ class FlowNodeVisualization(FlowNodeVisualizationInterface): wallContactLength: typing.MutableSequence[float] = ... bulkComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... interfaceComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... - effectiveMassTransferCoefficient: 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 = ... @@ -64,18 +62,13 @@ class FlowNodeVisualization(FlowNodeVisualizationInterface): 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: ... + 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__ - ) + onephaseflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.__module_protocol__ + twophaseflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi index 30a87a4a..529b2ea9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization import typing -class OnePhaseFlowNodeVisualization( - jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization -): + + +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__ - ) + onephasepipeflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi index 943e8ab4..22e3a21e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,12 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization import typing -class OnePhasePipeFlowNodeVisualization( - jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization -): + + +class OnePhasePipeFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization): def __init__(self): ... - def setData( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi index 8ffb9cf2..89734b0d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,12 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization import typing -class TwoPhaseFlowNodeVisualization( - jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization -): + + +class TwoPhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): def __init__(self): ... - def setData( - self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface - ) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi index 44d0d17b..5fcd20b8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,14 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali 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: ... + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... @typing.overload - def setNextData( - self, - flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, - double: float, - ) -> None: ... + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... def setPoints(self) -> None: ... class FlowSystemVisualization(FlowSystemVisualizationInterface): @@ -32,25 +28,16 @@ class FlowSystemVisualization(FlowSystemVisualizationInterface): 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: ... + def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... @typing.overload - def setNextData( - self, - flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, - double: float, - ) -> None: ... + 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__ - ) + onephaseflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.__module_protocol__ + twophaseflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi index 0c62933b..e8afd882 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,18 +9,17 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization import typing -class OnePhaseFlowVisualization( - jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization -): + + +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__ - ) + pipeflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi index 4d82997b..620aa4af 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,10 @@ 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]] - ] = ... + + +class PipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.OnePhaseFlowVisualization): + bulkComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] = ... @typing.overload def __init__(self): ... @typing.overload @@ -23,6 +21,7 @@ class PipeFlowVisualization( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi index 9a2e025a..5af529e1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,18 +9,17 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization import typing -class TwoPhaseFlowVisualization( - jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization -): + + +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__ - ) + twophasepipeflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi index bdafa337..73b872c6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,30 +9,16 @@ 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]]] - ] = ... + + +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 @@ -40,6 +26,7 @@ class TwoPhasePipeFlowVisualization( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi index a82f241a..60872ad4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,70 +12,48 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo.system import typing + + class TimeSeries(java.io.Serializable): def __init__(self): ... - def getOutletBoundaryType(self) -> "TimeSeries.OutletBoundaryType": ... + 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]: ... + 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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TimeSeries.OutletBoundaryType': ... @staticmethod - def values() -> typing.MutableSequence["TimeSeries.OutletBoundaryType"]: ... + def values() -> typing.MutableSequence['TimeSeries.OutletBoundaryType']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.timeseries")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi index 9f441d31..abf1d28b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,75 +12,47 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing + + class EquipmentValidator: def __init__(self): ... @staticmethod - def isEquipmentReady( - processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, - ) -> bool: ... + def isEquipmentReady(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> bool: ... @staticmethod - def validateEquipment( - processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, - ) -> "ValidationFramework.ValidationResult": ... + def validateEquipment(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... @staticmethod - def validateSequence( - *processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, - ) -> "ValidationFramework.ValidationResult": ... + def validateSequence(*processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... class StreamValidator: def __init__(self): ... @staticmethod - def hasStreamBeenRun( - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> bool: ... + def hasStreamBeenRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... @staticmethod - def isStreamReady( - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> bool: ... + def isStreamReady(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... @staticmethod - def validateStream( - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> "ValidationFramework.ValidationResult": ... + 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": ... + 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": ... + def validateStreamHasRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... class ThermoValidator: def __init__(self): ... @staticmethod - def isSystemReady( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> bool: ... + def isSystemReady(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... @staticmethod - def validateCpAeos( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> "ValidationFramework.ValidationResult": ... + def validateCpAeos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... @staticmethod - def validateForEquilibrium( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> "ValidationFramework.ValidationResult": ... + def validateForEquilibrium(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... @staticmethod - def validateSrkEos( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> "ValidationFramework.ValidationResult": ... + def validateSrkEos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... @staticmethod - def validateSystem( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> "ValidationFramework.ValidationResult": ... + 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": ... - + 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] = ... @@ -101,130 +73,67 @@ class ValidationFramework: 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": ... - + 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": ... - + 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": ... - + 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 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 __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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationError.Severity': ... @staticmethod - def values() -> ( - typing.MutableSequence["ValidationFramework.ValidationError.Severity"] - ): ... - + 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 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi index 8d4339cf..1268c6e8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,6 +9,7 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi index 08ece27e..cf8aaf86 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,14 +8,12 @@ else: 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]: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi index a5b9d6ce..dbd97c1d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,16 @@ 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 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: ... @@ -32,22 +30,9 @@ class NewtonRhapson(java.io.Serializable): 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: ... + 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: ... + 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): ... @@ -56,12 +41,7 @@ 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 __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: ... @@ -69,15 +49,14 @@ class SysNewtonRhapson(java.io.Serializable): def getNpCrit(self) -> int: ... def init(self) -> None: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi index d68c019e..833ca43a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,48 +15,37 @@ 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"] = ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyType': ... @staticmethod - def values() -> typing.MutableSequence["PhysicalPropertyType"]: ... + 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__ - ) + interfaceproperties: jneqsim.physicalproperties.interfaceproperties.__module_protocol__ methods: jneqsim.physicalproperties.methods.__module_protocol__ mixingrule: jneqsim.physicalproperties.mixingrule.__module_protocol__ system: jneqsim.physicalproperties.system.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi index a107db12..31339608 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,59 +13,32 @@ 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 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 - ): ... + 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: ... def initAdsorption(self) -> None: ... - def setAdsorptionCalc( - self, - adsorptionInterfaceArray: typing.Union[ - typing.List[ - jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface - ], - jpype.JArray, - ], - ) -> 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: ... + 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 @@ -73,66 +46,34 @@ class InterfaceProperties(InterphasePropertiesInterface, java.io.Serializable): @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 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 - ): ... + 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: ... def initAdsorption(self) -> None: ... - def setAdsorptionCalc( - self, - adsorptionInterfaceArray: typing.Union[ - typing.List[ - jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface - ], - jpype.JArray, - ], - ) -> 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: ... + 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__ - ) + solidadsorption: jneqsim.physicalproperties.interfaceproperties.solidadsorption.__module_protocol__ + surfacetension: jneqsim.physicalproperties.interfaceproperties.surfacetension.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi index 67ca8613..9a0dc8d8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,14 +10,14 @@ import jneqsim.thermo import jneqsim.thermo.system import typing + + class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface): def calcAdsorption(self, int: int) -> None: ... @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... class PotentialTheoryAdsorption(AdsorptionInterface): @@ -29,12 +29,11 @@ class PotentialTheoryAdsorption(AdsorptionInterface): @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... def readDBParameters(self) -> None: ... def setSolidMaterial(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.solidadsorption")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi index 736bc897..d9d0043f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,169 +11,50 @@ 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, - ): ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 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: ... + 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 __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: ... + 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, -): +class SurfaceTension(jneqsim.physicalproperties.interfaceproperties.InterfaceProperties, SurfaceTensionInterface): @typing.overload def __init__(self): ... @typing.overload @@ -197,16 +78,9 @@ class GTSurfaceTension(SurfaceTension): 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: ... + 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: ... + def solveWithRefcomp(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int) -> float: ... class GTSurfaceTensionSimple(SurfaceTension): @typing.overload @@ -215,23 +89,13 @@ class GTSurfaceTensionSimple(SurfaceTension): 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 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: ... + def setDmudn2(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray]) -> None: ... class LGTSurfaceTension(SurfaceTension): @typing.overload @@ -252,6 +116,7 @@ class ParachorSurfaceTension(SurfaceTension): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi index 3d1c04d7..68b6c72c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,37 +15,26 @@ 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 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 __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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi index 308ecca1..535a6cfe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,26 +12,17 @@ import jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosit 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 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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi index 83cf819b..5bbc5bd6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,31 +11,25 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.system 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 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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcConductivity(self) -> float: ... class PFCTConductivityMethodMod86(Conductivity): referenceSystem: typing.ClassVar[jneqsim.thermo.system.SystemInterface] = ... - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi index f1181a7c..68d90647 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,34 +10,22 @@ 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]]: ... + + +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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi index 8fd7b603..893a288b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,34 +12,25 @@ import jneqsim.physicalproperties.system import jneqsim.thermo import typing -class Viscosity( - jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, - jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, -): + + +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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcPureComponentViscosity(self) -> None: ... - def clone(self) -> "Viscosity": ... + 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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... -class FrictionTheoryViscosityMethod( - Viscosity, jneqsim.thermo.ThermodynamicConstantsInterface -): +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 __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: ... @@ -47,51 +38,29 @@ class FrictionTheoryViscosityMethod( 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 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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... class KTAViscosityMethodMod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... class LBCViscosityMethod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... - def clone(self) -> "LBCViscosityMethod": ... + 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: ... + def setDenseContributionParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... class LeeViscosityMethod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... @staticmethod def calcLowPressureViscosity(double: float, double2: float) -> float: ... @typing.overload @@ -101,45 +70,34 @@ class LeeViscosityMethod(Viscosity): def calcViscosity(double: float, double2: float, double3: float) -> float: ... class MethaneViscosityMethod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... class MuznyModViscosityMethod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... class MuznyViscosityMethod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... class PFCTViscosityMethod(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... def getPureComponentViscosity(self, int: int) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... class PFCTViscosityMethodHeavyOil(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... class PFCTViscosityMethodMod86(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi index 85ae476b..3d5a53ad 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,32 +13,21 @@ import jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity import jneqsim.physicalproperties.system import typing -class GasPhysicalPropertyMethod( - jneqsim.physicalproperties.methods.PhysicalPropertyMethod -): + + +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: ... + 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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi index 8d4b5eae..1dceae9a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,23 +10,19 @@ 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi index b474b4ef..4aba4d2e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,13 @@ 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 - ): ... + + +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": ... + def clone(self) -> 'Density': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi index 4d14e87f..ca799dd7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,36 +10,24 @@ 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]]: ... + + +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 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 getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... def isTemperatureInValidRange(self) -> bool: ... def setEnableTemperatureWarnings(self, boolean: bool) -> None: ... class WilkeLeeDiffusivity(Diffusivity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... - def calcBinaryDiffusionCoefficient( - self, int: int, int2: int, int3: int - ) -> float: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi index 9d58e45d..3f8a06f9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,27 +10,23 @@ 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi index 79d7a46b..a6846849 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,29 +13,18 @@ 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 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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi index 1ed87d7e..62fc06f7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,15 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing -class Conductivity( - jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, - jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface, -): + + +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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcConductivity(self) -> float: ... def calcPureComponentConductivity(self) -> None: ... - def clone(self) -> "Conductivity": ... + def clone(self) -> 'Conductivity': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi index 4a111f97..bd085daf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,37 +10,25 @@ 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 - ): ... + + +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": ... - -class Density( - jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, - jneqsim.physicalproperties.methods.methodinterface.DensityInterface, -): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def clone(self) -> 'Costald': ... + +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 Water( - jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, - jneqsim.physicalproperties.methods.methodinterface.DensityInterface, -): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def clone(self) -> 'Density': ... + +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": ... + def clone(self) -> 'Water': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi index dff2f7e0..a583844b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,157 +10,85 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing + + class DiffusivityModelSelector: @staticmethod - def createAutoSelectedModel( - physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, - ) -> "Diffusivity": ... + def createAutoSelectedModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> 'Diffusivity': ... @staticmethod - def createModel( - physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, - diffusivityModelType: "DiffusivityModelSelector.DiffusivityModelType", - ) -> "Diffusivity": ... + def createModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, diffusivityModelType: 'DiffusivityModelSelector.DiffusivityModelType') -> 'Diffusivity': ... @staticmethod - def getModelSelectionReason( - phaseInterface: jneqsim.thermo.phase.PhaseInterface, - ) -> java.lang.String: ... + 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" - ] = ... - 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) # + 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'] = ... + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DiffusivityModelSelector.DiffusivityModelType': ... @staticmethod - def values() -> ( - typing.MutableSequence["DiffusivityModelSelector.DiffusivityModelType"] - ): ... + 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: ... + 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 - ): ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'HaydukMinhasDiffusivity.SolventType': ... @staticmethod - def values() -> ( - typing.MutableSequence["HaydukMinhasDiffusivity.SolventType"] - ): ... + def values() -> typing.MutableSequence['HaydukMinhasDiffusivity.SolventType']: ... class HighPressureDiffusivity(Diffusivity): @typing.overload - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + 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 __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 calcBinaryDiffusionCoefficient2( - self, int: int, int2: int, int3: int - ) -> float: ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def calcBinaryDiffusionCoefficient2(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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi index f8fed742..20b5c21b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,32 +10,26 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing -class Viscosity( - jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, - jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, -): + + +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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... - def clone(self) -> "Viscosity": ... + 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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... class Water(Viscosity): - def __init__( - self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties - ): ... + def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcViscosity(self) -> float: ... - def clone(self) -> "Water": ... + def clone(self) -> 'Water': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi index acafabf5..6e22bfa4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,45 +9,31 @@ import jneqsim.physicalproperties.methods import jneqsim.thermo import typing -class ConductivityInterface( - jneqsim.thermo.ThermodynamicConstantsInterface, - jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface, -): + + +class ConductivityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): def calcConductivity(self) -> float: ... - def clone(self) -> "ConductivityInterface": ... + def clone(self) -> 'ConductivityInterface': ... -class DensityInterface( - jneqsim.thermo.ThermodynamicConstantsInterface, - jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface, -): +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 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 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: ... + def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... -class ViscosityInterface( - jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface -): +class ViscosityInterface(jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): def calcViscosity(self) -> float: ... - def clone(self) -> "ViscosityInterface": ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi index 1f74c105..2b1af6e3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,29 +13,18 @@ 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 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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi index d6c01b3e..c825dc55 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,13 @@ 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 - ): ... + + +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": ... + def clone(self) -> 'Conductivity': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi index 55362c1e..b040be27 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,13 @@ 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 - ): ... + + +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": ... + def clone(self) -> 'Density': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi index 9355bd17..4a643c08 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,18 @@ 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]]: ... + + +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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi index 8a8bb111..05e66fcd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,20 +10,18 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing -class Viscosity( - jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, - jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, -): + + +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 __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... - def clone(self) -> "Viscosity": ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi index ff0e2338..47abd115 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,31 +10,26 @@ import jneqsim.thermo import jneqsim.thermo.phase import typing + + class PhysicalPropertyMixingRuleInterface(java.lang.Cloneable): - def clone(self) -> "PhysicalPropertyMixingRuleInterface": ... + def clone(self) -> 'PhysicalPropertyMixingRuleInterface': ... def getViscosityGij(self, int: int, int2: int) -> float: ... - def initMixingRules( - self, phaseInterface: jneqsim.thermo.phase.PhaseInterface - ) -> None: ... + 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 -): +class PhysicalPropertyMixingRule(PhysicalPropertyMixingRuleInterface, jneqsim.thermo.ThermodynamicConstantsInterface): Gij: typing.MutableSequence[typing.MutableSequence[float]] = ... def __init__(self): ... - def clone(self) -> "PhysicalPropertyMixingRule": ... + 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 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 - ] + PhysicalPropertyMixingRuleInterface: typing.Type[PhysicalPropertyMixingRuleInterface] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi index ed72dd6d..714df8bc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,21 +18,13 @@ 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 = ( - ... - ) + + +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 = ... @@ -40,133 +32,85 @@ class PhysicalProperties( @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 __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 clone(self) -> 'PhysicalProperties': ... def getConductivity(self) -> float: ... - def getConductivityModel( - self, - ) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... + def getConductivityModel(self) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... 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: ... + 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 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 getMixingRule( - self, - ) -> jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface: ... + 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 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: ... + 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 init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... def setBinaryDiffusionCoefficientMethod(self, int: int) -> None: ... - def setConductivityModel( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setConductivityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDensityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDiffusionCoefficientModel( - 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 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: ... + 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: ... + 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"] = ... +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": ... + def byName(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyModel': ... @staticmethod - def byValue(int: int) -> "PhysicalPropertyModel": ... + def byValue(int: int) -> 'PhysicalPropertyModel': ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyModel': ... @staticmethod - def values() -> typing.MutableSequence["PhysicalPropertyModel"]: ... + 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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi index a2439e48..2eef4c1f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ 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 - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi index 150b05aa..06ed955d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,21 +9,18 @@ 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": ... + 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 - ): ... + 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 - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi index 05babcd3..01620630 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,37 +9,28 @@ 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": ... + 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": ... + 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 - ): ... + 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 - ): ... + 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 - ): ... + 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 - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi index bc024b28..15663403 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi index cba76fa1..b370d2ff 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,9 +8,8 @@ else: 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__ - ) + parameterfitting: jneqsim.physicalproperties.util.parameterfitting.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi index d1c65431..8472550e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,9 +8,8 @@ else: 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__ - ) + purecomponentparameterfitting: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi index f105ed84..02780107 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfi 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__ - ) + purecompinterfacetension: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension.__module_protocol__ + purecompviscosity: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi index c9722906..83490b4a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,21 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing -class ParachorFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): + + +class ParachorFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi index ffe9f92a..cb694af1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfi 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__ - ) + 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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi index 79f98106..353c3046 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,21 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing -class ChungFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): + + +class ChungFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi index 5fad580c..abde4dda 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,21 @@ 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... -class ViscosityFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi index 751046eb..1b1d4927 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -30,9 +30,9 @@ import jneqsim.process.util import jneqsim.util import typing -class SimulationInterface( - jneqsim.util.NamedInterface, java.lang.Runnable, 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: ... @@ -69,6 +69,7 @@ class SimulationBaseClass(jneqsim.util.NamedBaseClass, SimulationInterface): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi index 3bac2121..219675b2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,118 +11,65 @@ 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 __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 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 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 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 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: ... - + 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 __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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PredictionResult.ConstraintViolation.Severity': ... @staticmethod - def values() -> ( - typing.MutableSequence["PredictionResult.ConstraintViolation.Severity"] - ): ... - + 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, - ): ... + 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], - ): ... + 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 deterministic(double: float, string: typing.Union[java.lang.String, str]) -> 'PredictionResult.PredictedValue': ... def getConfidence(self) -> float: ... def getLower95(self) -> float: ... def getMean(self) -> float: ... @@ -130,26 +77,21 @@ class PredictionResult(java.io.Serializable): 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PredictionResult.PredictionStatus': ... @staticmethod - def values() -> typing.MutableSequence["PredictionResult.PredictionStatus"]: ... + def values() -> typing.MutableSequence['PredictionResult.PredictionStatus']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.advisory")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi index 8d335522..6bf354d9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,184 +13,121 @@ 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": ... + 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": ... + 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": ... + 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 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: ... + def handle(self, alarmEvent: 'AlarmEvent') -> bool: ... class AlarmConfig(java.io.Serializable): @staticmethod - def builder() -> "AlarmConfig.Builder": ... + 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 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: ... - + 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": ... + 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"]: ... + 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"]: ... + 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"]: ... + 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": ... + 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": ... + 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 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 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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AlarmEventType': ... @staticmethod - def values() -> typing.MutableSequence["AlarmEventType"]: ... + def values() -> typing.MutableSequence['AlarmEventType']: ... -class AlarmLevel(java.lang.Enum["AlarmLevel"], java.io.Serializable): - LOLO: typing.ClassVar["AlarmLevel"] = ... - LO: typing.ClassVar["AlarmLevel"] = ... - HI: typing.ClassVar["AlarmLevel"] = ... - HIHI: typing.ClassVar["AlarmLevel"] = ... - def getDirection(self) -> "AlarmLevel.Direction": ... +class AlarmLevel(java.lang.Enum['AlarmLevel'], java.io.Serializable): + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AlarmLevel.Direction': ... @staticmethod - def values() -> typing.MutableSequence["AlarmLevel.Direction"]: ... + 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: ... + def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager') -> None: ... @typing.overload @staticmethod - def displayAlarmHistory( - processAlarmManager: "ProcessAlarmManager", int: int - ) -> None: ... + def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager', int: int) -> None: ... @staticmethod - def displayAlarmStatistics(processAlarmManager: "ProcessAlarmManager") -> None: ... + def displayAlarmStatistics(processAlarmManager: 'ProcessAlarmManager') -> None: ... @staticmethod - def displayAlarmStatus( - processAlarmManager: "ProcessAlarmManager", - string: typing.Union[java.lang.String, str], - ) -> None: ... + def displayAlarmStatus(processAlarmManager: 'ProcessAlarmManager', string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod def formatAlarmEvent(alarmEvent: AlarmEvent) -> java.lang.String: ... @staticmethod @@ -200,36 +137,18 @@ class AlarmReporter: 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 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 isAcknowledged(self) -> bool: ... def isActive(self) -> bool: ... def reset(self) -> None: ... - def snapshot( - self, string: typing.Union[java.lang.String, str] - ) -> "AlarmStatusSnapshot": ... + def snapshot(self, string: typing.Union[java.lang.String, str]) -> 'AlarmStatusSnapshot': ... class AlarmStatusSnapshot(java.io.Serializable): - def __init__( - self, - string: typing.Union[java.lang.String, str], - alarmLevel: AlarmLevel, - boolean: bool, - double: float, - double2: float, - ): ... + 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: ... @@ -239,42 +158,19 @@ class AlarmStatusSnapshot(java.io.Serializable): 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi index e4706c0b..d3d77104 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,97 +17,42 @@ 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": ... + 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 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 getLastResult(self) -> 'BatchResult': ... def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getOptimizer( - self, - ) -> ( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt - ): ... + 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 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": ... - + 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 __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 __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 __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: ... @@ -116,46 +61,15 @@ class BatchParameterEstimator(java.io.Serializable): 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, - ): ... + 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 __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 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 @@ -173,32 +87,21 @@ class BatchResult(java.io.Serializable): def getUncertainty(self, int: int) -> float: ... def isConverged(self) -> bool: ... def printSummary(self) -> None: ... - def toCalibrationResult(self) -> "CalibrationResult": ... + 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": ... + def createEstimator(self) -> 'EnKFParameterEstimator': ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 __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: ... @@ -213,7 +116,7 @@ class CalibrationQuality(java.io.Serializable): class CalibrationResult(java.io.Serializable): @staticmethod - def failure(string: typing.Union[java.lang.String, str]) -> "CalibrationResult": ... + 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: ... @@ -224,73 +127,30 @@ class CalibrationResult(java.io.Serializable): 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 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": ... + 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": ... + 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 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 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 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": ... - + 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 __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]: ... @@ -300,21 +160,12 @@ class EnKFParameterEstimator(java.io.Serializable): 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: ... - + 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, - ): ... - + 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 = ... @@ -322,128 +173,45 @@ class EnKFParameterEstimator(java.io.Serializable): 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, - ): ... + 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": ... + 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": ... + 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]: ... + 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": ... + 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": ... - + 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, - ): ... - + 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 __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, - ): ... - + 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 __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: ... @@ -458,104 +226,35 @@ class EstimationTestHarness(java.io.Serializable): 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 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: ... + 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: ... + 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 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: ... - + 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 __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 getRelativeError(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTimestamp(self) -> java.time.Instant: ... -class ProcessSimulationFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +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 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: ... @@ -566,9 +265,7 @@ class ProcessSimulationFunction( @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 setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setUseAnalyticalJacobian(self, boolean: bool) -> None: ... class WellRoutingEstimationExample: @@ -577,24 +274,13 @@ class WellRoutingEstimationExample: 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]]: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi index c63c3909..e2024f0f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,6 +10,8 @@ import java.lang import jneqsim.process.processmodel import typing + + class ConditionMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def __init__(self): ... @@ -18,9 +20,7 @@ class ConditionMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def conditionAnalysis(self) -> None: ... @typing.overload - def conditionAnalysis( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... @@ -29,6 +29,7 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi index 0caaa203..da900342 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,10 +13,10 @@ import jneqsim.process.measurementdevice import jneqsim.util import typing + + class ControllerDeviceInterface(java.io.Serializable): - def addGainSchedulePoint( - self, double: float, double2: float, double3: float, double4: float - ) -> None: ... + def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload @@ -26,28 +26,20 @@ class ControllerDeviceInterface(java.io.Serializable): @typing.overload def autoTuneFromEventLog(self, boolean: bool) -> bool: ... @typing.overload - def autoTuneStepResponse( - self, double: float, double2: float, double3: float - ) -> None: ... + 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 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 getEventLog(self) -> java.util.List['ControllerEvent']: ... def getIntegralAbsoluteError(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... def getResponse(self) -> float: ... def getSettlingTime(self) -> float: ... - def getStepResponseTuningMethod( - self, - ) -> "ControllerDeviceInterface.StepResponseTuningMethod": ... + def getStepResponseTuningMethod(self) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... def getUnit(self) -> java.lang.String: ... def hashCode(self) -> int: ... def isActive(self) -> bool: ... @@ -55,69 +47,36 @@ class ControllerDeviceInterface(java.io.Serializable): def resetEventLog(self) -> None: ... def resetPerformanceMetrics(self) -> None: ... @typing.overload - def runTransient( - self, double: float, double2: float, uUID: java.util.UUID - ) -> None: ... + 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: ... + 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 setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setDerivativeFilterTime(self, double: float) -> None: ... def setOutputLimits(self, double: float, double2: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setStepResponseTuningMethod( - self, - stepResponseTuningMethod: "ControllerDeviceInterface.StepResponseTuningMethod", - ) -> None: ... - def setTransmitter( - self, - measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, - ) -> 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... @staticmethod - def values() -> ( - typing.MutableSequence["ControllerDeviceInterface.StepResponseTuningMethod"] - ): ... + 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 __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... def getError(self) -> float: ... def getMeasuredValue(self) -> float: ... def getResponse(self) -> float: ... @@ -129,9 +88,7 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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: ... + def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload @@ -141,13 +98,9 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def autoTuneFromEventLog(self, boolean: bool) -> bool: ... @typing.overload - def autoTuneStepResponse( - self, double: float, double2: float, double3: float - ) -> None: ... + 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 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: ... @@ -155,14 +108,10 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... def getResponse(self) -> float: ... def getSettlingTime(self) -> float: ... - def getStepResponseTuningMethod( - self, - ) -> ControllerDeviceInterface.StepResponseTuningMethod: ... + def getStepResponseTuningMethod(self) -> ControllerDeviceInterface.StepResponseTuningMethod: ... def getTd(self) -> float: ... def getTi(self) -> float: ... def getUnit(self) -> java.lang.String: ... @@ -173,33 +122,21 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @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 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: ... + 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 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 setOutputLimits(self, double: float, double2: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setStepResponseTuningMethod( - self, - stepResponseTuningMethod: ControllerDeviceInterface.StepResponseTuningMethod, - ) -> 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 setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): @@ -207,32 +144,20 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addQualityConstraint( - self, qualityConstraint: "ModelPredictiveController.QualityConstraint" - ) -> None: ... + 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": ... + 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": ... + 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 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 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: ... @@ -246,28 +171,20 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def getControlWeight(self) -> float: ... def getControllerSetPoint(self) -> float: ... def getLastAppliedControl(self) -> float: ... - def getLastMovingHorizonEstimate( - self, - ) -> "ModelPredictiveController.MovingHorizonEstimate": ... + 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 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 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: ... @@ -278,39 +195,27 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def ingestPlantSample(self, double: float, double2: float) -> None: ... @typing.overload - def ingestPlantSample( - self, double: float, double2: float, double3: float - ) -> None: ... + 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 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: ... + 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 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: ... + 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: ... + 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: ... @@ -327,38 +232,17 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def setProcessModel(self, double: float, double2: float) -> None: ... @typing.overload - def setProcessModel( - self, double: float, double2: float, double3: float - ) -> None: ... + 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 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: ... - + 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 builder() -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... def getClosedLoopTimeConstantRatio(self) -> float: ... def getControlWeightFactor(self) -> float: ... def getMaximumHorizon(self) -> int: ... @@ -368,40 +252,18 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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": ... - + 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: ... @@ -415,51 +277,26 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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": ... - + 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": ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi index cd3ab2c3..f4fe6803 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,6 +10,8 @@ import jneqsim.process.controllerdevice import jneqsim.process.measurementdevice import typing + + class ControlStructureInterface(java.io.Serializable): def getOutput(self) -> float: ... def isActive(self) -> bool: ... @@ -17,22 +19,14 @@ class ControlStructureInterface(java.io.Serializable): def setActive(self, boolean: bool) -> None: ... class CascadeControllerStructure(ControlStructureInterface): - def __init__( - self, - controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, - controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, - ): ... + 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 __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: ... @@ -40,17 +34,14 @@ class FeedForwardControllerStructure(ControlStructureInterface): def setFeedForwardGain(self, double: float) -> None: ... class RatioControllerStructure(ControlStructureInterface): - def __init__( - self, - controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, - measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, - ): ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice.structure")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi index 8cea3da4..7b03c873 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,18 +12,13 @@ import jneqsim.process.costestimation.valve import jneqsim.process.mechanicaldesign import typing + + class CostEstimateBaseClass(java.io.Serializable): @typing.overload - def __init__( - self, - systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, - ): ... + def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign): ... @typing.overload - def __init__( - self, - systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, - double: float, - ): ... + 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: ... @@ -34,13 +29,12 @@ class UnitCostEstimateBaseClass(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign - ): ... + def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... def equals(self, object: typing.Any) -> bool: ... def getTotalCost(self) -> float: ... def hashCode(self) -> int: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi index 21e016c9..919a5424 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ 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 __init__(self, compressorMechanicalDesign: jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign): ... def getTotalCost(self) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.compressor")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi index 8050d4ec..35af7c89 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi index 9a376f35..e3d93149 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ 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 __init__(self, valveMechanicalDesign: jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign): ... def getTotalCost(self) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.valve")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi index 63250ca4..0eec06a4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -45,96 +45,75 @@ 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"] = ... - HeatExchanger: typing.ClassVar["EquipmentEnum"] = ... - Cooler: typing.ClassVar["EquipmentEnum"] = ... - Heater: typing.ClassVar["EquipmentEnum"] = ... - Mixer: typing.ClassVar["EquipmentEnum"] = ... - Splitter: typing.ClassVar["EquipmentEnum"] = ... - Reactor: typing.ClassVar["EquipmentEnum"] = ... - Column: 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"] = ... - Expander: typing.ClassVar["EquipmentEnum"] = ... - SimpleTEGAbsorber: typing.ClassVar["EquipmentEnum"] = ... - Tank: typing.ClassVar["EquipmentEnum"] = ... - ComponentSplitter: 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"] = ... + + +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'] = ... + HeatExchanger: typing.ClassVar['EquipmentEnum'] = ... + Cooler: typing.ClassVar['EquipmentEnum'] = ... + Heater: typing.ClassVar['EquipmentEnum'] = ... + Mixer: typing.ClassVar['EquipmentEnum'] = ... + Splitter: typing.ClassVar['EquipmentEnum'] = ... + Reactor: typing.ClassVar['EquipmentEnum'] = ... + Column: 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'] = ... + Expander: typing.ClassVar['EquipmentEnum'] = ... + SimpleTEGAbsorber: typing.ClassVar['EquipmentEnum'] = ... + Tank: typing.ClassVar['EquipmentEnum'] = ... + ComponentSplitter: 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'] = ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EquipmentEnum': ... @staticmethod - def values() -> typing.MutableSequence["EquipmentEnum"]: ... + def values() -> typing.MutableSequence['EquipmentEnum']: ... class EquipmentFactory: @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: ... + 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": ... + 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": ... + def createEquipment(string: typing.Union[java.lang.String, str], equipmentEnum: EquipmentEnum) -> 'ProcessEquipmentInterface': ... @staticmethod - def createGORfitter( - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> jneqsim.process.equipment.util.GORfitter: ... + def createGORfitter(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.util.GORfitter: ... @staticmethod - def createReservoirCVDsim( - string: typing.Union[java.lang.String, str], - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> jneqsim.process.equipment.reservoir.ReservoirCVDsim: ... + 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: ... + 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: ... + def createReservoirTPsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirTPsim: ... class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): def displayResult(self) -> None: ... @@ -142,16 +121,10 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController( - self, - ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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], double: float - ) -> float: ... + 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: ... def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -159,18 +132,14 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): 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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... @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 getRestCapacity(self) -> float: ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[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: ... @@ -180,16 +149,9 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): def hashCode(self) -> int: ... def initMechanicalDesign(self) -> None: ... 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 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 setPressure(self, double: float) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -197,9 +159,7 @@ class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class TwoPortInterface: @@ -212,19 +172,13 @@ class TwoPortInterface: 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 setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... - def setOutletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setOutletTemperature(self, double: float) -> None: ... -class ProcessEquipmentBaseClass( - jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface -): +class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface): hasController: bool = ... report: typing.MutableSequence[typing.MutableSequence[java.lang.String]] = ... properties: java.util.HashMap = ... @@ -235,38 +189,26 @@ class ProcessEquipmentBaseClass( def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController( - self, - ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... def getEnergyStream(self) -> jneqsim.process.equipment.stream.EnergyStream: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getExergyChange(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 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 getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... def getReport_json(self) -> java.lang.String: ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[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: ... @@ -280,30 +222,18 @@ class ProcessEquipmentBaseClass( @typing.overload def isActive(self, boolean: bool) -> None: ... def isSetEnergyStream(self) -> bool: ... - def reportResults( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def runConditionAnalysis( - self, processEquipmentInterface: ProcessEquipmentInterface - ) -> None: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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 setController( - self, - controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, - ) -> 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 setFlowValveController( - self, - controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, - ) -> None: ... + def setEnergyStream(self, energyStream: jneqsim.process.equipment.stream.EnergyStream) -> None: ... + def setFlowValveController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... def setMinimumFlow(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... @@ -313,19 +243,13 @@ class ProcessEquipmentBaseClass( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... 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 __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 getInletTemperature(self) -> float: ... @@ -337,21 +261,16 @@ class TwoPortEquipment(ProcessEquipmentBaseClass, TwoPortInterface): 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 setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... - def setOutletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setOutletTemperature(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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi index bcef58d7..4bf26175 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,6 +13,8 @@ import jneqsim.process.equipment.stream import jneqsim.process.mechanicaldesign.absorber import typing + + class AbsorberInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... @@ -22,34 +24,22 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte @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 __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 getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... - def getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign: ... + 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 getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... - def getSolventInStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStageEfficiency(self) -> float: ... def getWettingRate(self) -> float: ... @typing.overload @@ -68,20 +58,12 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte 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 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 calcNTU(self, double: float, double2: float, double3: float, double4: float) -> float: ... def calcNumberOfTheoreticalStages(self) -> float: ... def calcY0(self) -> float: ... def displayResult(self) -> None: ... @@ -92,109 +74,67 @@ class SimpleTEGAbsorber(SimpleAbsorber): 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: ... + 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: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def guessTemperature(self) -> float: ... def isSetWaterInDryGas(self, boolean: bool) -> None: ... def mixStream(self) -> None: ... - def replaceSolventInStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> 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 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 setSolventOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setWaterInDryGas(self, double: float) -> None: ... 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 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 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: ... + 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: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 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: ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi index 874d92e0..5ec06169 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,34 +12,26 @@ import jneqsim.process.equipment.stream import jneqsim.process.mechanicaldesign.adsorber import typing + + 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 __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 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 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 getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getStageEfficiency(self) -> float: ... @typing.overload @@ -56,6 +48,7 @@ class SimpleAdsorber(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setStageEfficiency(self, double: float) -> None: ... def setdT(self, double: float) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.adsorber")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi index 2e63cf24..11d61d4c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,6 +10,8 @@ import java.util import jneqsim.process.equipment import typing + + class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self): ... @@ -29,6 +31,7 @@ class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi index 6f4bb176..7fb003db 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,10 @@ import java.lang import jneqsim.blackoil import typing + + class BlackOilSeparator: - def __init__( - self, - string: typing.Union[java.lang.String, str], - systemBlackOil: jneqsim.blackoil.SystemBlackOil, - double: float, - double2: float, - ): ... + def __init__(self, string: typing.Union[java.lang.String, str], systemBlackOil: jneqsim.blackoil.SystemBlackOil, double: float, double2: float): ... def getGasOut(self) -> jneqsim.blackoil.SystemBlackOil: ... def getInlet(self) -> jneqsim.blackoil.SystemBlackOil: ... def getName(self) -> java.lang.String: ... @@ -25,6 +21,7 @@ class BlackOilSeparator: def run(self) -> None: ... def setInlet(self, systemBlackOil: jneqsim.blackoil.SystemBlackOil) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.blackoil")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi index 3e94f6cb..e1ffa803 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,6 +17,8 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing + + class AntiSurge(java.io.Serializable): def __init__(self): ... def equals(self, object: typing.Any) -> bool: ... @@ -35,37 +37,17 @@ class BoundaryCurveInterface(java.io.Serializable): 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: ... + 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 generateCompressorChart( - self, string: typing.Union[java.lang.String, str] - ) -> "CompressorChart": ... + def __init__(self, compressor: 'Compressor'): ... + def generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChart': ... 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 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: ... @@ -77,58 +59,25 @@ class CompressorChartInterface(java.lang.Cloneable): 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 getStoneWallCurve(self) -> "StoneWallCurve": ... + def getStoneWallCurve(self) -> 'StoneWallCurve': ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... - def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... + 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: ... @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 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 setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setOperatingMW(self, double: float) -> 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 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: ... @@ -139,15 +88,13 @@ class CompressorChartReader: 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 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 setCurvesToCompressor(self, compressor: 'Compressor') -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class CompressorCurve(java.io.Serializable): @@ -159,29 +106,13 @@ class CompressorCurve(java.io.Serializable): @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 __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 CompressorInterface( - jneqsim.process.equipment.ProcessEquipmentInterface, - jneqsim.process.equipment.TwoPortInterface, -): +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: ... @@ -196,9 +127,7 @@ class CompressorInterface( def hashCode(self) -> int: ... def isStoneWall(self) -> bool: ... def isSurge(self) -> bool: ... - def setCompressorChartType( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... @@ -206,17 +135,11 @@ class CompressorInterface( 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 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: ... + def setFluid(self, arrayList: java.util.ArrayList[jneqsim.thermo.system.SystemInterface]) -> None: ... class BoundaryCurve(BoundaryCurveInterface): def equals(self, object: typing.Any) -> bool: ... @@ -228,18 +151,9 @@ class BoundaryCurve(BoundaryCurveInterface): 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: ... + 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, -): +class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface, jneqsim.process.ml.StateVectorProvider): thermoSystem: jneqsim.thermo.system.SystemInterface = ... dH: float = ... inletEnthalpy: float = ... @@ -254,17 +168,11 @@ class Compressor( @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 copy(self) -> "Compressor": ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def copy(self) -> 'Compressor': ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def findOutPressure( - self, double: float, double2: float, double3: float - ) -> float: ... + def findOutPressure(self, double: float, double2: float, double3: float) -> float: ... def generateCompressorCurves(self) -> None: ... def getActualCompressionRatio(self) -> float: ... def getAntiSurge(self) -> AntiSurge: ... @@ -275,21 +183,15 @@ class Compressor( def getDistanceToStoneWall(self) -> float: ... def getDistanceToSurge(self) -> float: ... def getEnergy(self) -> float: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... def getIsentropicEfficiency(self) -> float: ... def getMaxOutletPressure(self) -> float: ... def getMaximumSpeed(self) -> float: ... - def getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... def getMinimumSpeed(self) -> float: ... def getNumberOfCompressorCalcSteps(self) -> int: ... def getOutTemperature(self) -> float: ... @@ -300,9 +202,7 @@ class Compressor( @typing.overload def getPolytropicHead(self) -> float: ... @typing.overload - def getPolytropicHead( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getPolytropicHead(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPolytropicHeadMeter(self) -> float: ... def getPolytropicMethod(self) -> java.lang.String: ... @typing.overload @@ -310,12 +210,8 @@ class Compressor( @typing.overload def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPropertyProfile(self) -> CompressorPropertyProfile: ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed( - self, - ) -> typing.MutableSequence[float]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed(self) -> typing.MutableSequence[float]: ... def getSpeed(self) -> float: ... def getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getSurgeFlowRate(self) -> float: ... @@ -353,15 +249,9 @@ class Compressor( def setAntiSurge(self, antiSurge: AntiSurge) -> 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 setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setCompressorChart(self, compressorChartInterface: CompressorChartInterface) -> None: ... + def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> 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: ... @@ -373,24 +263,16 @@ class Compressor( @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setOutletPressure(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 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 setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPropertyProfile(self, compressorPropertyProfile: CompressorPropertyProfile) -> None: ... def setSolveSpeed(self, boolean: bool) -> None: ... def setSpeed(self, double: float) -> None: ... def setUseEnergyEfficiencyChart(self, boolean: bool) -> None: ... @@ -404,36 +286,17 @@ class Compressor( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... def useOutTemperature(self, boolean: bool) -> None: ... def usePolytropicCalc(self) -> bool: ... 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 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: ... @@ -448,10 +311,10 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): 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 getStoneWallCurve(self) -> "StoneWallCurve": ... + def getStoneWallCurve(self) -> 'StoneWallCurve': ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... - def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... + def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... def getSurgeFlowAtSpeed(self, double: float) -> float: ... def getSurgeHeadAtSpeed(self, double: float) -> float: ... def hashCode(self) -> int: ... @@ -459,89 +322,32 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): 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 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 setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMaxSpeedCurve(self, double: float) -> None: ... def setMinSpeedCurve(self, double: float) -> 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 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 CompressorChartAlternativeMapLookup( - CompressorChart, CompressorChartInterface, java.io.Serializable -): +class CompressorChartAlternativeMapLookup(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 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: ... + 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 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: ... @@ -555,56 +361,23 @@ class CompressorChartAlternativeMapLookup( 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 getStoneWallCurve(self) -> "StoneWallCurve": ... - def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... + 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 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 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 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: ... @@ -612,92 +385,17 @@ class CompressorChartAlternativeMapLookup( 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 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: ... @@ -726,36 +424,18 @@ class CompressorChartMWInterpolation(CompressorChart): 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 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 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 __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: ... @@ -764,18 +444,12 @@ 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 __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 -): +class CompressorChartAlternativeMapLookupExtrapolate(CompressorChartAlternativeMapLookup): def __init__(self): ... def getClosestRefSpeeds(self, double: float) -> java.util.ArrayList[float]: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... @@ -785,11 +459,7 @@ 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], - ): ... + 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 @@ -802,22 +472,13 @@ class SafeSplineStoneWallCurve(StoneWallCurve): 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: ... + 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], - ): ... + 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 @@ -830,57 +491,23 @@ class SafeSplineSurgeCurve(SurgeCurve): 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: ... + 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 __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 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 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: ... @@ -888,72 +515,26 @@ class CompressorChartKhader2015(CompressorChartAlternativeMapLookupExtrapolate): 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 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: ... - + 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], - ): ... - + 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], - ): ... + 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")``. @@ -963,12 +544,8 @@ class __module_protocol__(Protocol): BoundaryCurveInterface: typing.Type[BoundaryCurveInterface] Compressor: typing.Type[Compressor] CompressorChart: typing.Type[CompressorChart] - CompressorChartAlternativeMapLookup: typing.Type[ - CompressorChartAlternativeMapLookup - ] - CompressorChartAlternativeMapLookupExtrapolate: typing.Type[ - CompressorChartAlternativeMapLookupExtrapolate - ] + CompressorChartAlternativeMapLookup: typing.Type[CompressorChartAlternativeMapLookup] + CompressorChartAlternativeMapLookupExtrapolate: typing.Type[CompressorChartAlternativeMapLookupExtrapolate] CompressorChartGenerator: typing.Type[CompressorChartGenerator] CompressorChartInterface: typing.Type[CompressorChartInterface] CompressorChartKhader2015: typing.Type[CompressorChartKhader2015] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi index a2f87991..ae746b77 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,69 +11,26 @@ 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": ... + 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": ... + 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": ... + 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: ... + 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: ... + 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: ... - + 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]: ... @@ -84,46 +41,18 @@ 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 __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: ... + 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: ... + 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: ... + 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: ... + def calculatePressureDrop(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -132,9 +61,8 @@ class Orifice(jneqsim.process.equipment.TwoPortEquipment): 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi index 98861204..445a56e9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,10 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing + + class DistillationColumnMatrixSolver: - def __init__(self, distillationColumn: "DistillationColumn"): ... + def __init__(self, distillationColumn: 'DistillationColumn'): ... def solve(self, uUID: java.util.UUID) -> None: ... class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface): @@ -24,52 +26,26 @@ class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface) def setNumberOfTrays(self, int: int) -> None: ... class TrayInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + 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 DistillationColumn( - jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface -): - def __init__( - self, - string: typing.Union[java.lang.String, str], - int: int, - boolean: bool, - boolean2: bool, - ): ... +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: ... + 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 componentMassBalanceCheck( - self, string: typing.Union[java.lang.String, str] - ) -> bool: ... + def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int) -> None: ... + def componentMassBalanceCheck(self, string: typing.Union[java.lang.String, str]) -> bool: ... def displayResult(self) -> None: ... def energyBalanceCheck(self) -> None: ... - def findOptimalNumberOfTrays( - self, - double: float, - string: typing.Union[java.lang.String, str], - boolean: bool, - int: int, - ) -> int: ... - def getCondenser(self) -> "Condenser": ... + def findOptimalNumberOfTrays(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> int: ... + def getCondenser(self) -> 'Condenser': ... def getCondenserTemperature(self) -> float: ... def getEnergyBalanceError(self) -> float: ... def getEnthalpyBalanceTolerance(self) -> float: ... - def getFeedStreams( - self, int: int - ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getFeedStreams(self, int: int) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getFsFactor(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInternalDiameter(self) -> float: ... @@ -78,9 +54,7 @@ class DistillationColumn( def getLastMassResidual(self) -> float: ... def getLastSolveTimeSeconds(self) -> float: ... def getLastTemperatureResidual(self) -> float: ... - def getLiquidOutStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -88,19 +62,17 @@ class DistillationColumn( def getMassBalanceError(self) -> float: ... def getMassBalanceTolerance(self) -> float: ... def getNumerOfTrays(self) -> int: ... - def getReboiler(self) -> "Reboiler": ... + def getReboiler(self) -> 'Reboiler': ... def getReboilerTemperature(self) -> float: ... def getTemperatureTolerance(self) -> float: ... - def getTray(self, int: int) -> "SimpleTray": ... - def getTrays(self) -> java.util.ArrayList["SimpleTray"]: ... + def getTray(self, int: int) -> 'SimpleTray': ... + def getTrays(self) -> java.util.ArrayList['SimpleTray']: ... def init(self) -> None: ... def isDoInitializion(self) -> bool: ... def isDoMultiPhaseCheck(self) -> bool: ... def isEnforceEnergyBalanceTolerance(self) -> bool: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def massBalanceCheck(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -119,7 +91,7 @@ class DistillationColumn( def setNumberOfTrays(self, int: int) -> None: ... def setReboilerTemperature(self, double: float) -> None: ... def setRelaxationFactor(self, double: float) -> None: ... - def setSolverType(self, solverType: "DistillationColumn.SolverType") -> None: ... + def setSolverType(self, solverType: 'DistillationColumn.SolverType') -> None: ... def setTemperatureTolerance(self, double: float) -> None: ... def setTopCondenserDuty(self, double: float) -> None: ... def setTopPressure(self, double: float) -> None: ... @@ -127,29 +99,21 @@ class DistillationColumn( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... - - 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_SOLVER: typing.ClassVar["DistillationColumn.SolverType"] = ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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_SOLVER: 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.SolverType': ... @staticmethod - def values() -> typing.MutableSequence["DistillationColumn.SolverType"]: ... + def values() -> typing.MutableSequence['DistillationColumn.SolverType']: ... class SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -158,19 +122,13 @@ class SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): def calcMixStreamEnthalpy0(self) -> float: ... def getFeedRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getGasOutStream(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 getLiquidFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 getVaporFlowRate( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getVaporFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def guessTemperature(self) -> float: ... def init(self) -> None: ... def massBalance(self) -> float: ... @@ -190,15 +148,9 @@ class Condenser(SimpleTray): @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 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: ... @typing.overload @@ -206,9 +158,7 @@ class Condenser(SimpleTray): @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 setSeparation_with_liquid_reflux(self, boolean: bool, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setTotalCondenser(self, boolean: bool) -> None: ... class Reboiler(SimpleTray): @@ -228,9 +178,7 @@ 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: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -243,6 +191,7 @@ class VLSolidTray(SimpleTray): def setHeatInput(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi index b02941d3..2da2b3c5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,11 @@ import jneqsim.process.mechanicaldesign.ejector import jneqsim.process.util.report import typing + + class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - streamInterface2: jneqsim.process.equipment.stream.StreamInterface, - ): ... - def getDesignResult( - self, - ) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def getDesignResult(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... def getDiffuserEfficiency(self) -> float: ... def getEfficiencyIsentropic(self) -> float: ... def getEntrainmentRatio(self) -> float: ... @@ -30,9 +25,7 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getMotiveStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -54,34 +47,12 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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, - ): ... + 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 empty() -> 'EjectorDesignResult': ... def getBodyVolume(self) -> float: ... def getConnectedPipingVolume(self) -> float: ... def getDiffuserOutletArea(self) -> float: ... @@ -106,6 +77,7 @@ class EjectorDesignResult: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi index 4060e9c8..e3b36e50 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,15 @@ 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: ... + 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 @@ -36,53 +30,32 @@ class CO2Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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 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 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 getHydrogenOutStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getHydrogenOutStream(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 getOxygenOutStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOxygenOutStream(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: ... + def setInletStream(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.electrolyzer")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi index 25f3c9cf..4f3c1c3f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,10 +14,9 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing -class ExpanderInterface( - jneqsim.process.equipment.ProcessEquipmentInterface, - jneqsim.process.equipment.TwoPortInterface, -): + + +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: ... @@ -26,11 +25,7 @@ class Expander(jneqsim.process.equipment.compressor.Compressor, ExpanderInterfac @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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... @typing.overload def run(self) -> None: ... @typing.overload @@ -40,28 +35,18 @@ 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 __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: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... 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 __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: ... @@ -69,12 +54,8 @@ class TurboExpanderCompressor(Expander): 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 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: ... @@ -88,14 +69,10 @@ class TurboExpanderCompressor(Expander): 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 getExpanderFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getExpanderIsentropicEfficiency(self) -> float: ... def getExpanderOutPressure(self) -> float: ... - def getExpanderOutletStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExpanderOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getExpanderSpeed(self) -> float: ... def getGearRatio(self) -> float: ... def getHeadFromQN(self, double: float) -> float: ... @@ -111,15 +88,11 @@ class TurboExpanderCompressor(Expander): @typing.overload def getPowerCompressor(self) -> float: ... @typing.overload - def getPowerCompressor( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getPowerExpander(self, string: typing.Union[java.lang.String, str]) -> float: ... def getQNratiocompressor(self) -> float: ... def getQNratioexpander(self) -> float: ... def getQn(self) -> float: ... @@ -144,9 +117,7 @@ class TurboExpanderCompressor(Expander): 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 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: ... @@ -158,32 +129,19 @@ class TurboExpanderCompressor(Expander): 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 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 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: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi index 388fe5fc..6556cd57 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,42 +12,30 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report 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 __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 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: ... + 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: ... + 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, - ): ... + 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.filter")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi index 343dbf17..5695b2ee 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,63 +14,41 @@ 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, - ): ... + 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": ... + def evaluateCapacity(self) -> 'Flare.CapacityCheckResult': ... @typing.overload - def evaluateCapacity( - self, double: float, double2: float, double3: float - ) -> "Flare.CapacityCheckResult": ... + 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: ... + 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 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 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: ... @@ -82,29 +60,18 @@ class Flare(jneqsim.process.equipment.TwoPortEquipment): 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 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 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 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: ... @@ -137,54 +104,39 @@ class FlareStack(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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 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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlareStack.RadiationModel': ... @staticmethod - def values() -> typing.MutableSequence["FlareStack.RadiationModel"]: ... + def values() -> typing.MutableSequence['FlareStack.RadiationModel']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.flare")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi index 931d5f89..78d20c59 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,20 +10,10 @@ 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 __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: ... @@ -36,15 +26,7 @@ class FlareCapacityDTO(java.io.Serializable): 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 __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: ... @@ -53,22 +35,7 @@ class FlareDispersionSurrogateDTO(java.io.Serializable): 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 __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: ... @@ -83,6 +50,7 @@ class FlarePerformanceDTO(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi index cc7867f9..edd91752 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,43 +16,31 @@ import jneqsim.process.ml import jneqsim.process.util.report import typing + + class HeaterInterface(jneqsim.process.SimulationInterface): - def setOutPressure( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setOutTP(self, double: float, double2: float) -> None: ... - def setOutTemperature( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setdT(self, double: float) -> None: ... -class MultiStreamHeatExchangerInterface( - jneqsim.process.equipment.ProcessEquipmentInterface -): - def addInStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... +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 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 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 getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getThermalEffectiveness(self) -> float: ... def getUAvalue(self) -> float: ... @@ -60,25 +48,14 @@ class MultiStreamHeatExchangerInterface( @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> None: ... + 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: ... + 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 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 setThermalEffectiveness(self, double: float) -> None: ... @@ -88,16 +65,10 @@ class MultiStreamHeatExchangerInterface( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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 __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 @@ -121,38 +92,26 @@ class UtilityStreamSpecification(java.io.Serializable): @typing.overload def setApproachTemperature(self, double: float) -> None: ... @typing.overload - def setApproachTemperature( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... + 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: ... + 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: ... + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface): @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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def displayResult(self) -> None: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @@ -161,20 +120,12 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface): @typing.overload def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getEnergyInput(self) -> float: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getMechanicalDesign( - self, - ) -> ( - jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign - ): ... + def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... def getPressureDrop(self) -> float: ... def getUtilitySpecification(self) -> UtilityStreamSpecification: ... def initMechanicalDesign(self) -> None: ... @@ -193,92 +144,51 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface): @typing.overload def setOutPressure(self, double: float) -> None: ... @typing.overload - def setOutPressure( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... - def setOutStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setOutPressure(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) -> None: ... @typing.overload - def setOutTemperature( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setOutTemperature(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 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 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: ... + 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 __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: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... -class HeatExchanger( - Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider -): +class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider): 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 addInStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + 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 addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def calcThermalEffectivenes(self, double: float, double2: float) -> float: ... def displayResult(self) -> None: ... def getDeltaT(self) -> float: ... @@ -286,34 +196,24 @@ class HeatExchanger( 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 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 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.heatexchanger.HeatExchangerMechanicalDesign - ): ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getThermalEffectiveness(self) -> float: ... @@ -326,45 +226,26 @@ class HeatExchanger( @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> None: ... + 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: ... 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: ... + 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 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 setOutStream( - self, - int: int, - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> None: ... + def setOutStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... @typing.overload - def setOutStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload - def setOutTemperature( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setThermalEffectiveness(self, double: float) -> None: ... def setUAvalue(self, double: float) -> None: ... def setUseDeltaT(self, boolean: bool) -> None: ... @@ -372,22 +253,14 @@ class HeatExchanger( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... 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 __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: ... @@ -397,18 +270,14 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): def getDuty(self) -> float: ... @typing.overload def getDuty(self, int: int) -> float: ... - def getEntropyProduction( - 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 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 getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @@ -417,9 +286,7 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... @@ -432,32 +299,19 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> None: ... + 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: ... + 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 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: ... + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... def setTemperatureApproach(self, double: float) -> None: ... @@ -468,35 +322,18 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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 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 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 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: ... @@ -508,16 +345,12 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... @@ -530,27 +363,16 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... @typing.overload - def runConditionAnalysis( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> None: ... + 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: ... + 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 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: ... @@ -560,29 +382,21 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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 __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: ... + def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @@ -590,52 +404,30 @@ 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: ... + 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: ... + 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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def getAirMassFlow(self) -> float: ... def getAirVolumeFlow(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> 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 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 setPressure(self, double: float) -> None: ... def setRelativeHumidity(self, double: float) -> None: ... @@ -643,30 +435,17 @@ 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi index 259d7709..b88090b4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,34 +13,29 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing + + class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getNumberOfOutputStreams(self) -> int: ... - def getSplitStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSplitFactors( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi index 5c323dd0..346a1535 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,24 +11,20 @@ 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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def clearPermeateFractions(self) -> None: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPermeateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getRetentateStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRetentateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def needRecalculation(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -39,16 +35,11 @@ class MembraneSeparator(jneqsim.process.equipment.ProcessEquipmentBaseClass): @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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi index bcef2d26..1b4efe85 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,33 +13,25 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing + + class MixerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + 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: ... + def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -49,9 +41,7 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface) def getNumberOfInputStreams(self) -> int: ... def getOutTemperature(self) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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: ... @@ -62,11 +52,7 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface) def isSetOutTemperature(self, boolean: bool) -> None: ... def mixStream(self) -> None: ... def removeInputStream(self, int: int) -> None: ... - def replaceStream( - self, - int: int, - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> None: ... + def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -78,9 +64,7 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface) @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... class StaticMixer(Mixer): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -94,9 +78,7 @@ class StaticMixer(Mixer): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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]): ... @@ -114,6 +96,7 @@ class StaticPhaseMixer(StaticMixer): @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi index 1eaad608..f89739bd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,57 +17,23 @@ import jneqsim.process.equipment.valve import jneqsim.process.util.report import typing + + 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 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 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 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: ... @@ -77,99 +43,47 @@ class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setAdvectionScheme( - self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme - ) -> None: ... + def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... def setCompositionalTracking(self, boolean: bool) -> None: ... - def setDefaultHeatTransferCoefficients( - self, double: float, double2: float - ) -> 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: ... + 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 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": ... - + 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 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 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: ... + 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 @@ -178,40 +92,29 @@ class WellFlowlineNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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 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: ... + 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: ... + 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 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: ... - + def setChoke(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... class ManifoldNode: - def getBranches(self) -> java.util.List["WellFlowlineNetwork.Branch"]: ... + def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... def getName(self) -> java.lang.String: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.network")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi index 2ad43c56..602642b2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,87 +21,51 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing + + 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 getFittingsList(self) -> java.util.ArrayList["Fittings.Fitting"]: ... - + def add(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def getFittingsList(self) -> java.util.ArrayList['Fittings.Fitting']: ... class Fitting(java.io.Serializable): @typing.overload - def __init__( - self, fittings: "Fittings", string: typing.Union[java.lang.String, str] - ): ... + 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 __init__(self, fittings: 'Fittings', string: typing.Union[java.lang.String, str], double: float): ... def getFittingName(self) -> java.lang.String: ... def getLtoD(self) -> float: ... - def setFittingName( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setFittingName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setLtoD(self, double: float) -> None: ... -class PipeLineInterface( - jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface -): +class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface): def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... - def setHeightProfile( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... - def setInitialFlowPattern( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... - def setLegPositions( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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 setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setOuterTemperatures( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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 setPipeWallRoughness( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... + def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface): @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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def displayResult(self) -> None: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... - def getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... @typing.overload def getOutletPressure(self) -> float: ... @typing.overload - def getOutletPressure( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getSuperficialVelocity(self, int: int, int2: int) -> float: ... def getTimes(self) -> typing.MutableSequence[float]: ... @@ -116,59 +80,28 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface): def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... def setEquilibriumMassTransfer(self, boolean: bool) -> 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 setLegPositions( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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 setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setOuterTemperatures( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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 setPipeOuterHeatTransferCoefficients( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... - def setPipeWallHeatTransferCoefficients( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... - def setPipeWallRoughness( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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 setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setPipeOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... class AdiabaticPipe(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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def calcFlow(self) -> float: ... def calcPressureOut(self) -> float: ... def calcWallFrictionFactor(self, double: float) -> float: ... @@ -180,41 +113,29 @@ class AdiabaticPipe(Pipeline): def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeWallRoughness(self) -> float: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... def setInletElevation(self, double: float) -> None: ... def setLength(self, double: float) -> None: ... def setOutPressure(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... def setOutletElevation(self, double: float) -> None: ... - def setPipeSpecification( - 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 __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: ... @@ -236,62 +157,36 @@ class AdiabaticTwoPhasePipe(Pipeline): @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 setFlowLimit(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... def setInletElevation(self, double: float) -> None: ... def setLength(self, double: float) -> None: ... def setOutPressure(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... def setOutletElevation(self, double: float) -> None: ... - def setPipeSpecification( - 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setPressureOutLimit(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, - ): ... + 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 __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 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: ... - def getPressureProfile( - self, string: typing.Union[java.lang.String, str] - ) -> typing.MutableSequence[float]: ... + def getOutletMassFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... def getSimulationTime(self) -> float: ... - def getTemperatureProfile( - self, string: typing.Union[java.lang.String, str] - ) -> typing.MutableSequence[float]: ... + def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... def getVelocityProfile(self) -> typing.MutableSequence[float]: ... def isCompositionalTracking(self) -> bool: ... def resetSimulationTime(self) -> None: ... @@ -303,9 +198,7 @@ class OnePhasePipeLine(Pipeline): 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 setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... def setCompositionalTracking(self, boolean: bool) -> None: ... def setInternalTimeStep(self, double: float) -> None: ... @@ -313,43 +206,28 @@ class PipeBeggsAndBrills(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 calcFlowRegime(self) -> "PipeBeggsAndBrills.FlowRegime": ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 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 calcTemperatureDifference(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... def calculateMissingValue(self) -> None: ... def convertSystemUnitToImperial(self) -> None: ... def convertSystemUnitToMetric(self) -> None: ... def displayResult(self) -> None: ... - def estimateHeatTransferCoefficent( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> float: ... + def estimateHeatTransferCoefficent(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... def getAngle(self) -> float: ... - def getCalculationMode(self) -> "PipeBeggsAndBrills.CalculationMode": ... + def getCalculationMode(self) -> 'PipeBeggsAndBrills.CalculationMode': ... def getDiameter(self) -> float: ... def getElevation(self) -> float: ... def getElevationProfile(self) -> java.util.List[float]: ... - def getFlowRegime(self) -> "PipeBeggsAndBrills.FlowRegime": ... - def getFlowRegimeProfile( - self, - ) -> java.util.List["PipeBeggsAndBrills.FlowRegime"]: ... + def getFlowRegime(self) -> 'PipeBeggsAndBrills.FlowRegime': ... + def getFlowRegimeProfile(self) -> java.util.List['PipeBeggsAndBrills.FlowRegime']: ... def getGasSuperficialVelocityProfile(self) -> java.util.List[float]: ... def getHeatTransferCoefficient(self) -> float: ... - def getHeatTransferMode(self) -> "PipeBeggsAndBrills.HeatTransferMode": ... + def getHeatTransferMode(self) -> 'PipeBeggsAndBrills.HeatTransferMode': ... def getIncrementsProfile(self) -> java.util.List[int]: ... def getInletSuperficialVelocity(self) -> float: ... def getInsulationThermalConductivity(self) -> float: ... @@ -372,7 +250,7 @@ class PipeBeggsAndBrills(Pipeline): def getPressureDropProfile(self) -> java.util.List[float]: ... def getPressureProfile(self) -> java.util.List[float]: ... def getSegmentElevation(self, int: int) -> float: ... - def getSegmentFlowRegime(self, int: int) -> "PipeBeggsAndBrills.FlowRegime": ... + 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: ... @@ -402,19 +280,13 @@ class PipeBeggsAndBrills(Pipeline): @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: ... - def setConstantSurfaceTemperature( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setCalculationMode(self, calculationMode: 'PipeBeggsAndBrills.CalculationMode') -> None: ... + 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 setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeatTransferMode( - self, heatTransferMode: "PipeBeggsAndBrills.HeatTransferMode" - ) -> 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: ... @@ -425,18 +297,12 @@ class PipeBeggsAndBrills(Pipeline): @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: ... + 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setPipeWallThermalConductivity(self, double: float) -> None: ... def setRunIsothermal(self, boolean: bool) -> None: ... def setThickness(self, double: float) -> None: ... @@ -444,95 +310,63 @@ class PipeBeggsAndBrills(Pipeline): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... - - 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) # + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PipeBeggsAndBrills.HeatTransferMode': ... @staticmethod - def values() -> ( - typing.MutableSequence["PipeBeggsAndBrills.HeatTransferMode"] - ): ... + def values() -> typing.MutableSequence['PipeBeggsAndBrills.HeatTransferMode']: ... 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 __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: ... + def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... def setOutPressure(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... @@ -540,30 +374,22 @@ 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 __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 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 setCorrelationType(self, correlationType: 'TubingPerformance.CorrelationType') -> None: ... def setDiameter(self, double: float) -> None: ... def setFormationThermalConductivity(self, double: float) -> None: ... def setGeothermalGradient(self, double: float) -> None: ... @@ -574,87 +400,59 @@ class TubingPerformance(Pipeline): 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TubingPerformance.TemperatureModel': ... @staticmethod - def values() -> ( - typing.MutableSequence["TubingPerformance.TemperatureModel"] - ): ... + 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 getAccumulationTracker( - self, - ) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getAccumulationTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... def getDiameter(self) -> float: ... def getDistanceToHydrateRisk(self) -> float: ... def getFirstHydrateRiskSection(self) -> int: ... - def getFlowRegimeProfile( - self, - ) -> typing.MutableSequence[ - jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime - ]: ... + 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 getInsulationType(self) -> "TwoFluidPipe.InsulationType": ... + def getInsulationType(self) -> 'TwoFluidPipe.InsulationType': ... def getLastSlugArrivalTime(self) -> float: ... def getLength(self) -> float: ... def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getLiquidInventory( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getLiquidInventory(self, string: typing.Union[java.lang.String, str]) -> float: ... def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... def getMaxSimulationTime(self) -> float: ... def getMaxSlugLengthAtOutlet(self) -> float: ... @@ -669,18 +467,14 @@ class TwoFluidPipe(Pipeline): def getRoughness(self) -> float: ... def getSimulationTime(self) -> float: ... def getSlugStatisticsSummary(self) -> java.lang.String: ... - def getSlugTracker( - self, - ) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... + def getSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... 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 getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... def getTotalSlugVolumeAtOutlet(self) -> float: ... def getWallTemperatureProfile(self) -> typing.MutableSequence[float]: ... def getWallThickness(self) -> float: ... @@ -704,102 +498,68 @@ class TwoFluidPipe(Pipeline): def runTransient(self, double: float, uUID: java.util.UUID) -> 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 setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setEnableJouleThomson(self, boolean: bool) -> None: ... def setEnableSlugTracking(self, boolean: bool) -> None: ... def setEnableWaterOilSlip(self, boolean: bool) -> 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 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 setInsulationType( - self, insulationType: "TwoFluidPipe.InsulationType" - ) -> None: ... + def setInsulationType(self, insulationType: 'TwoFluidPipe.InsulationType') -> None: ... def setLength(self, double: float) -> None: ... def setMaxSimulationTime(self, double: float) -> None: ... def setNumberOfSections(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: ... + def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setRoughness(self, double: float) -> None: ... def setSoilThermalResistance(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 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 setThermodynamicUpdateInterval(self, int: int) -> 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"] = ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + 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'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TwoFluidPipe.InsulationType': ... @staticmethod - def values() -> typing.MutableSequence["TwoFluidPipe.InsulationType"]: ... + def values() -> typing.MutableSequence['TwoFluidPipe.InsulationType']: ... 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 __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: ... @@ -810,18 +570,12 @@ 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 __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 calcJoukowskyPressureSurge(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... def getCurrentTime(self) -> float: ... def getDiameter(self) -> float: ... def getFlowProfile(self) -> typing.MutableSequence[float]: ... @@ -843,9 +597,7 @@ class WaterHammerPipe(Pipeline): @typing.overload def getPressureProfile(self) -> typing.MutableSequence[float]: ... @typing.overload - def getPressureProfile( - self, string: typing.Union[java.lang.String, str] - ) -> typing.MutableSequence[float]: ... + def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... def getTimeHistory(self) -> java.util.List[float]: ... def getValveOpening(self) -> float: ... def getVelocityProfile(self) -> typing.MutableSequence[float]: ... @@ -865,76 +617,53 @@ class WaterHammerPipe(Pipeline): @typing.overload def setDiameter(self, double: float) -> None: ... @typing.overload - def setDiameter( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... - def setDownstreamBoundary( - self, boundaryType: "WaterHammerPipe.BoundaryType" - ) -> None: ... + def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDownstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> 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 setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... def setPipeElasticModulus(self, double: float) -> None: ... def setRoughness(self, double: float) -> None: ... - def setUpstreamBoundary( - self, boundaryType: "WaterHammerPipe.BoundaryType" - ) -> None: ... + def setUpstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... def setValveOpening(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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WaterHammerPipe.BoundaryType': ... @staticmethod - def values() -> typing.MutableSequence["WaterHammerPipe.BoundaryType"]: ... + 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 addFitting( - self, string: typing.Union[java.lang.String, str], double: float - ) -> None: ... - def addFittingFromDatabase( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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 calcPressureOut(self) -> float: ... def getTotalEqLenth(self) -> float: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 setTotalEqLenth(self, double: float) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi index 643b737a..3b90303b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,47 +18,16 @@ import jneqsim.process.equipment.stream 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: ... - + 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 = ... @@ -68,7 +37,6 @@ class DriftFluxModel(java.io.Serializable): voidFraction: float = ... liquidHoldup: float = ... def __init__(self): ... - class EnergyEquationResult(java.io.Serializable): newTemperature: float = ... jouleThomsonDeltaT: float = ... @@ -83,79 +51,42 @@ 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 __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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EntrainmentDeposition.EntrainmentModel': ... @staticmethod - def values() -> ( - typing.MutableSequence["EntrainmentDeposition.EntrainmentModel"] - ): ... - + def values() -> typing.MutableSequence['EntrainmentDeposition.EntrainmentModel']: ... class EntrainmentResult(java.io.Serializable): entrainmentRate: float = ... depositionRate: float = ... @@ -169,16 +100,7 @@ class EntrainmentDeposition(java.io.Serializable): 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 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: ... @@ -188,83 +110,45 @@ class FlashTable(java.io.Serializable): 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 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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlowRegimeDetector.DetectionMethod': ... @staticmethod - def values() -> ( - typing.MutableSequence["FlowRegimeDetector.DetectionMethod"] - ): ... + def values() -> typing.MutableSequence['FlowRegimeDetector.DetectionMethod']: ... 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 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 getOverflowingZones(self) -> java.util.List['LiquidAccumulationTracker.AccumulationZone']: ... def getTotalAccumulatedVolume(self) -> float: ... - def identifyAccumulationZones( - self, pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray] - ) -> None: ... + 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: ... - + def updateAccumulation(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> None: ... class AccumulationZone(java.io.Serializable): startPosition: float = ... endPosition: float = ... @@ -278,7 +162,6 @@ class LiquidAccumulationTracker(java.io.Serializable): timeSinceSlug: float = ... sectionIndices: java.util.List = ... def __init__(self): ... - class SlugCharacteristics(java.io.Serializable): frontPosition: float = ... tailPosition: float = ... @@ -294,10 +177,8 @@ 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 __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]: ... @@ -305,7 +186,7 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): def getEffectiveLiquidHoldup(self) -> float: ... def getEffectiveMixtureDensity(self) -> float: ... def getElevation(self) -> float: ... - def getFlowRegime(self) -> "PipeSection.FlowRegime": ... + def getFlowRegime(self) -> 'PipeSection.FlowRegime': ... def getFrictionPressureGradient(self) -> float: ... def getGasDensity(self) -> float: ... def getGasEnthalpy(self) -> float: ... @@ -343,14 +224,9 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): 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 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 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: ... @@ -379,66 +255,49 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PipeSection.FlowRegime': ... @staticmethod - def values() -> typing.MutableSequence["PipeSection.FlowRegime"]: ... + 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 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 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 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 = ... @@ -466,16 +325,10 @@ class ThermodynamicCoupling(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcMassTransferRate( - 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 calcMassTransferRate(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: ... @@ -485,18 +338,10 @@ class ThermodynamicCoupling(java.io.Serializable): 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 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: ... - + 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 = ... @@ -523,28 +368,15 @@ class ThermodynamicCoupling(java.io.Serializable): class ThreeFluidConservationEquations(java.io.Serializable): def __init__(self): ... - def calcRHS( - self, - threeFluidSection: "ThreeFluidSection", - double: float, - threeFluidSection2: "ThreeFluidSection", - threeFluidSection3: "ThreeFluidSection", - ) -> "ThreeFluidConservationEquations.ThreeFluidRHS": ... + 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 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 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 = ... @@ -560,20 +392,13 @@ class ThreeFluidConservationEquations(java.io.Serializable): oilWaterInterfacialShear: float = ... def __init__(self): ... -class TransientPipe( - jneqsim.process.equipment.TwoPortEquipment, - jneqsim.process.equipment.pipeline.PipeLineInterface, -): +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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def getAccumulationTracker(self) -> LiquidAccumulationTracker: ... def getAmbientTemperature(self) -> float: ... def getCalculationIdentifier(self) -> java.util.UUID: ... @@ -592,9 +417,7 @@ class TransientPipe( def getOverallHeatTransferCoeff(self) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeElasticity(self) -> float: ... - def getPressureHistory( - self, - ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureHistory(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPressureProfile(self) -> typing.MutableSequence[float]: ... def getRoughness(self) -> float: ... def getSections(self) -> typing.MutableSequence[PipeSection]: ... @@ -618,84 +441,52 @@ class TransientPipe( def setCalculationIdentifier(self, uUID: java.util.UUID) -> 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 setHeightProfile( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... - def setInclinationProfile( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... + def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... def setInletMassFlow(self, double: float) -> None: ... def setInletPressure(self, double: float) -> None: ... - def setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... - def setLegPositions( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setLength(self, double: float) -> None: ... def setMaxSimulationTime(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... def setNumberOfSections(self, int: int) -> None: ... - def setOuterTemperatures( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... - def setOutletBoundaryCondition( - self, boundaryCondition: "TransientPipe.BoundaryCondition" - ) -> None: ... + def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... def setOutletMassFlow(self, double: float) -> None: ... 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 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 setPipeWallRoughness( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... + def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setRoughness(self, double: float) -> None: ... def setThermodynamicUpdateInterval(self, int: int) -> None: ... def setUpdateThermodynamics(self, boolean: bool) -> 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TransientPipe.BoundaryCondition': ... @staticmethod - def values() -> typing.MutableSequence["TransientPipe.BoundaryCondition"]: ... + def values() -> typing.MutableSequence['TransientPipe.BoundaryCondition']: ... class TwoFluidConservationEquations(java.io.Serializable): NUM_EQUATIONS: typing.ClassVar[int] = ... @@ -708,60 +499,18 @@ class TwoFluidConservationEquations(java.io.Serializable): 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 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 getFluxCalculator(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.AUSMPlusFluxCalculator: ... def getHeatTransferCoefficient(self) -> float: ... - def getInterfacialFriction( - self, - ) -> ( - jneqsim.process.equipment.pipeline.twophasepipe.closure.InterfacialFriction - ): ... + 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 getReconstructor(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.MUSCLReconstructor: ... def getSurfaceTemperature(self) -> float: ... - def getWallFriction( - self, - ) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... + def getWallFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... def isEnableWaterOilSlip(self) -> bool: ... def isHeatTransferEnabled(self) -> bool: ... def isIncludeEnergyEquation(self) -> bool: ... @@ -778,15 +527,13 @@ class TwoFluidSection(PipeSection): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, double: float, double2: float, double3: float, double4: float - ): ... + 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 clone(self) -> 'TwoFluidSection': ... def extractPrimitiveVariables(self) -> None: ... @staticmethod - def fromPipeSection(pipeSection: PipeSection) -> "TwoFluidSection": ... + def fromPipeSection(pipeSection: PipeSection) -> 'TwoFluidSection': ... def getEnergyPerLength(self) -> float: ... def getEnergySource(self) -> float: ... def getGasHydraulicDiameter(self) -> float: ... @@ -848,9 +595,7 @@ class TwoFluidSection(PipeSection): def setOilMomentumPerLength(self, double: float) -> None: ... def setOilVelocity(self, double: float) -> None: ... def setOilViscosity(self, double: float) -> None: ... - def setStateVector( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> None: ... + def setStateVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setStratifiedLiquidLevel(self, double: float) -> None: ... def setWaterCut(self, double: float) -> None: ... def setWaterDensity(self, double: float) -> None: ... @@ -871,10 +616,8 @@ class ThreeFluidSection(TwoFluidSection, java.lang.Cloneable, java.io.Serializab @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 __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: ... @@ -932,6 +675,7 @@ class ThreeFluidSection(TwoFluidSection, java.lang.Cloneable, java.io.Serializab 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")``. @@ -949,6 +693,4 @@ class __module_protocol__(Protocol): 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__ - ) + numerics: jneqsim.process.equipment.pipeline.twophasepipe.numerics.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi index b1da4a66..2c162846 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,28 +9,17 @@ import java.io 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: ... - + 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 = ... @@ -46,33 +35,8 @@ class GeometryCalculator(java.io.Serializable): class InterfacialFriction(java.io.Serializable): def __init__(self): ... - 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": ... - + 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 = ... @@ -82,28 +46,11 @@ class InterfacialFriction(java.io.Serializable): 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 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 = ... @@ -113,6 +60,7 @@ class WallFriction(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi index 7a83432c..079f096a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,52 +10,30 @@ 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 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 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 = ... @@ -66,19 +44,10 @@ class AUSMPlusFluxCalculator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - ): ... - + 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" = ... + gasFlux: 'AUSMPlusFluxCalculator.PhaseFlux' = ... + liquidFlux: 'AUSMPlusFluxCalculator.PhaseFlux' = ... interfaceMach: float = ... def __init__(self): ... @@ -86,150 +55,83 @@ class MUSCLReconstructor(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, slopeLimiter: "MUSCLReconstructor.SlopeLimiter"): ... + 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'MUSCLReconstructor.SlopeLimiter': ... @staticmethod - def values() -> typing.MutableSequence["MUSCLReconstructor.SlopeLimiter"]: ... + 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 __init__(self, method: 'TimeIntegrator.Method'): ... def advanceTime(self, double: float) -> None: ... 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 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 getMethod(self) -> 'TimeIntegrator.Method': ... def getMinTimeStep(self) -> float: ... def reset(self) -> None: ... def setCflNumber(self, double: float) -> None: ... def setCurrentTime(self, double: float) -> None: ... def setMaxTimeStep(self, double: float) -> None: ... - def setMethod(self, method: "TimeIntegrator.Method") -> 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 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"] = ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + 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 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'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TimeIntegrator.Method': ... @staticmethod - def values() -> typing.MutableSequence["TimeIntegrator.Method"]: ... - + 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]]: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi index bed3627d..d7545e9d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,18 +14,15 @@ import jneqsim.process.mechanicaldesign.compressor import jneqsim.thermo.system import typing + + 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 __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 getOxidantStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -35,9 +32,7 @@ class FuelCell(jneqsim.process.equipment.TwoPortEquipment): @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: ... + def setOxidantStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... class GasTurbine(jneqsim.process.equipment.TwoPortEquipment): thermoSystem: jneqsim.thermo.system.SystemInterface = ... @@ -50,24 +45,16 @@ class GasTurbine(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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def calcIdealAirFuelRatio(self) -> float: ... def getHeat(self) -> float: ... - def getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... def getPower(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: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... class SolarPanel(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -75,13 +62,7 @@ class SolarPanel(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, - double2: float, - double3: float, - ): ... + 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: ... @@ -110,6 +91,7 @@ class WindTurbine(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi index 7a6a72a1..b68e42cb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,30 +16,18 @@ 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 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 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 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: ... @@ -54,30 +42,10 @@ class PumpChartInterface(java.lang.Cloneable): 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 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 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: ... @@ -93,18 +61,9 @@ class PumpCurve(java.io.Serializable): @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], - ): ... + 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, -): +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: ... @@ -123,20 +82,14 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface): @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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def calculateAsCompressor(self, boolean: bool) -> None: ... def displayResult(self) -> None: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getDuty(self) -> float: ... def getEnergy(self) -> float: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... def getIsentropicEfficiency(self) -> float: ... def getMinimumFlow(self) -> float: ... def getMolarFlow(self) -> float: ... @@ -166,54 +119,34 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface): @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setOutletPressure(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 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: ... + 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 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 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 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: ... @@ -231,34 +164,12 @@ class PumpChart(PumpChartInterface, java.io.Serializable): def isUsePumpChart(self) -> bool: ... def isUseViscosityCorrection(self) -> bool: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 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 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: ... @@ -266,27 +177,16 @@ class PumpChart(PumpChartInterface, java.io.Serializable): def setUseViscosityCorrection(self, boolean: bool) -> None: ... def useRealKappa(self) -> bool: ... -class PumpChartAlternativeMapLookupExtrapolate( - jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, - PumpChartInterface, -): +class PumpChartAlternativeMapLookupExtrapolate(jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, PumpChartInterface): def __init__(self): ... - def calculateViscosityCorrection( - self, double: float, double2: float, double3: float, double4: float - ) -> 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 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 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: ... @@ -298,12 +198,7 @@ class PumpChartAlternativeMapLookupExtrapolate( 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 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: ... @@ -313,11 +208,7 @@ 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 __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: ... @@ -342,15 +233,14 @@ class ESPPump(Pump): def setNumberOfStages(self, int: int) -> None: ... def setSurgingGVF(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] Pump: typing.Type[Pump] PumpChart: typing.Type[PumpChart] - PumpChartAlternativeMapLookupExtrapolate: typing.Type[ - PumpChartAlternativeMapLookupExtrapolate - ] + PumpChartAlternativeMapLookupExtrapolate: typing.Type[PumpChartAlternativeMapLookupExtrapolate] PumpChartInterface: typing.Type[PumpChartInterface] PumpCurve: typing.Type[PumpCurve] PumpInterface: typing.Type[PumpInterface] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi index fa2a74c6..65ea127c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,6 +13,8 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing + + class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAirFuelRatioMass(self) -> float: ... @@ -31,137 +33,60 @@ class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): @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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FurnaceBurner.BurnerDesign': ... @staticmethod - def values() -> typing.MutableSequence["FurnaceBurner.BurnerDesign"]: ... + 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, - ): ... + 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: ... + 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 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 getConvergenceTolerance(self) -> float: ... def getDampingComposition(self) -> float: ... - def getDetailedMoleBalance( - self, - ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getDetailedMoleBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 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 getEnergyMode(self) -> 'GibbsReactor.EnergyMode': ... def getEnthalpyOfReactions(self) -> float: ... def getFinalConvergenceError(self) -> float: ... - def getFugacityCoefficient( - self, object: typing.Any - ) -> typing.MutableSequence[float]: ... + def getFugacityCoefficient(self, object: typing.Any) -> typing.MutableSequence[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 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 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: ... @@ -171,9 +96,7 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): 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 getObjectiveMinimizationVectorLabels(self) -> java.util.List[java.lang.String]: ... def getOutletMole(self) -> java.util.List[float]: ... def getOutletMoles(self) -> java.util.List[float]: ... @typing.overload @@ -184,11 +107,7 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): def getUseAllDatabaseSpecies(self) -> bool: ... def hasConverged(self) -> bool: ... def isComponentInert(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def performIterationUpdate( - self, - doubleArray: typing.Union[typing.List[float], jpype.JArray], - double2: float, - ) -> 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 @@ -198,15 +117,13 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setComponentAsInert(self, int: int) -> None: ... @typing.overload - def setComponentAsInert( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 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: ... @@ -216,51 +133,21 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'GibbsReactor.EnergyMode': ... @staticmethod - def values() -> typing.MutableSequence["GibbsReactor.EnergyMode"]: ... - + 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 __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: ... @@ -278,16 +165,13 @@ 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, - ): ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reactor")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi index 6f738af8..dceea0d3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,34 +16,24 @@ import jneqsim.thermo.system import jneqsim.util import typing + + class ReservoirCVDsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__( - self, - string: typing.Union[java.lang.String, str], - systemInterface: jneqsim.thermo.system.SystemInterface, - ): ... + 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, - ): ... + 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 __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: ... @@ -51,77 +41,49 @@ class ReservoirTPsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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: ... + 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 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: ... + 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 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 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 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": ... + 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 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 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: ... + 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -130,173 +92,84 @@ class SimpleReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): 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: ... + 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 __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 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 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 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: ... + 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: ... + 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TubingPerformance.TemperatureModel': ... @staticmethod - def values() -> ( - typing.MutableSequence["TubingPerformance.TemperatureModel"] - ): ... + def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... class Well(jneqsim.util.NamedBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -305,34 +178,22 @@ class Well(jneqsim.util.NamedBaseClass): 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: ... + 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 addLayer( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - double: float, - double2: float, - ) -> None: ... + def addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> None: ... def getIPRTablePressures(self) -> typing.MutableSequence[float]: ... def getIPRTableRates(self) -> typing.MutableSequence[float]: ... - def getLayer(self, int: int) -> "WellFlow.ReservoirLayer": ... - def getLayerFlowRates( - self, string: typing.Union[java.lang.String, str] - ) -> typing.MutableSequence[float]: ... + def getLayer(self, int: int) -> 'WellFlow.ReservoirLayer': ... + def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... def getNumberOfLayers(self) -> int: ... def getWellProductionIndex(self) -> float: ... def isCalculatingOutletPressure(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: ... + def loadIPRFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -341,222 +202,119 @@ class WellFlow(jneqsim.process.equipment.TwoPortEquipment): 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 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: ... @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 setVogelParameters( - self, double: float, double2: float, double3: float - ) -> None: ... + 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 setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... def setWellProductionIndex(self, double: float) -> None: ... def solveFlowFromOutletPressure(self, boolean: bool) -> None: ... - - 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellFlow.InflowPerformanceModel': ... @staticmethod - def values() -> typing.MutableSequence["WellFlow.InflowPerformanceModel"]: ... - + def values() -> typing.MutableSequence['WellFlow.InflowPerformanceModel']: ... class ReservoirLayer: name: java.lang.String = ... stream: jneqsim.process.equipment.stream.StreamInterface = ... reservoirPressure: float = ... productivityIndex: float = ... calculatedRate: float = ... - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - double: float, - double2: float, - ): ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float): ... 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 __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 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 getReservoirPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTubingVLP(self) -> TubingPerformance: ... - def getVLPSolverMode(self) -> "WellSystem.VLPSolverMode": ... + def getVLPSolverMode(self) -> 'WellSystem.VLPSolverMode': ... def getWellFlowIPR(self) -> WellFlow: ... - def getWellheadPressure( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellSystem.IPRModel': ... @staticmethod - def values() -> typing.MutableSequence["WellSystem.IPRModel"]: ... - + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellSystem.VLPSolverMode': ... @staticmethod - def values() -> typing.MutableSequence["WellSystem.VLPSolverMode"]: ... + def values() -> typing.MutableSequence['WellSystem.VLPSolverMode']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reservoir")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi index ce29a321..a0b396e0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,6 +19,8 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing + + class SeparatorInterface(jneqsim.process.SimulationInterface): @typing.overload def getHeatInput(self) -> float: ... @@ -29,49 +31,25 @@ class SeparatorInterface(jneqsim.process.SimulationInterface): @typing.overload def setHeatInput(self, double: float) -> None: ... @typing.overload - def setHeatInput( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 Separator( - jneqsim.process.equipment.ProcessEquipmentBaseClass, - SeparatorInterface, - jneqsim.process.ml.StateVectorProvider, -): +class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorInterface, jneqsim.process.ml.StateVectorProvider): numberOfInputStreams: int = ... @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 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: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + 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: ... def calcLiquidVolume(self) -> float: ... def displayResult(self) -> 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 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 getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @typing.overload @@ -80,15 +58,11 @@ class Separator( def getDeRatedGasLoadFactor(self, int: int) -> float: ... def getDesignLiquidLevelFraction(self) -> float: ... def getEfficiency(self) -> float: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 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: ... @@ -111,39 +85,25 @@ class Separator( def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... - def getLiquidOutStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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 getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... def getOrientation(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 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 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 getStateVector(self) -> jneqsim.process.ml.StateVector: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getUnwettedArea(self) -> float: ... @@ -166,34 +126,19 @@ class Separator( @typing.overload def setDuty(self, double: float) -> None: ... @typing.overload - def setDuty( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setEfficiency(self, double: float) -> 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 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: ... @typing.overload def setHeatDuty(self, double: float) -> None: ... @typing.overload - def setHeatDuty( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setHeatInput(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setInternalDiameter(self, double: float) -> None: ... def setLiquidCarryoverFraction(self, double: float) -> None: ... def setLiquidLevel(self, double: float) -> None: ... @@ -204,59 +149,37 @@ class Separator( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... 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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... 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 __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: ... + 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: ... + 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 __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: ... @@ -264,59 +187,37 @@ class Hydrocyclone(Separator): 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 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 __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: ... + 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: ... + 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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def displayResult(self) -> None: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... def getGasOutletFlowFraction(self) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @@ -338,18 +239,9 @@ class ThreePhaseSeparator(Separator): 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 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 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: ... @@ -358,19 +250,14 @@ class ThreePhaseSeparator(Separator): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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, - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi index 78bbdec1..b43c0620 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,20 +11,15 @@ 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 __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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.SepDesignSection: ... def getMinimumLiquidSealHeight(self) -> float: ... def getOuterDiameter(self) -> float: ... def getPressureDrop(self) -> float: ... @@ -34,80 +29,37 @@ class SeparatorSection(jneqsim.util.NamedBaseClass): 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: ... + 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 __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: ... + 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 __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: ... + 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 __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: ... + 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 __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 __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 - ): ... + 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 __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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi index aaf7ff59..1bb50d07 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,15 +13,13 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing + + 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 __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: ... @typing.overload @@ -29,53 +27,32 @@ class ComponentSplitter(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getSplitNumber(self) -> int: ... - def getSplitStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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: ... + 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: ... + 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 getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def hashCode(self) -> int: ... - def setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setSplitNumber(self, int: int) -> None: ... class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInterface): @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 __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 calcSplitFactors(self) -> None: ... def displayResult(self) -> None: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -86,9 +63,7 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte 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 getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def needRecalculation(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -98,24 +73,15 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> 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 setSplitFactors( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> 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 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 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.splitter")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi index 75619111..7a439e77 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,12 +15,14 @@ import jneqsim.standards.gasquality import jneqsim.thermo.system 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 clone(self) -> 'EnergyStream': ... def equals(self, object: typing.Any) -> bool: ... def getDuty(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -33,239 +35,121 @@ class StreamInterface(jneqsim.process.equipment.ProcessEquipmentInterface): 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: ... + def TVP(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def clone(self) -> "StreamInterface": ... + def clone(self) -> 'StreamInterface': ... @typing.overload - def clone( - self, string: typing.Union[java.lang.String, str] - ) -> "StreamInterface": ... + 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 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 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: ... + 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 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 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: ... + 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: ... + 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 __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: ... + 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 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 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, -): +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 __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: ... + def TVP(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def clone(self) -> "Stream": ... + def clone(self) -> 'Stream': ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> "Stream": ... + 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 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 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: ... + 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 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]]: ... + def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -276,60 +160,36 @@ class Stream( 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 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 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: ... + 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 toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... 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, - ): ... + def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def clone(self) -> "EquilibriumStream": ... + def clone(self) -> 'EquilibriumStream': ... @typing.overload - def clone( - self, string: typing.Union[java.lang.String, str] - ) -> "EquilibriumStream": ... + def clone(self, string: typing.Union[java.lang.String, str]) -> 'EquilibriumStream': ... @typing.overload def run(self) -> None: ... @typing.overload @@ -339,23 +199,13 @@ 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, - ): ... + 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 __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def clone(self) -> "IronIonSaturationStream": ... + def clone(self) -> 'IronIonSaturationStream': ... @typing.overload - def clone( - self, string: typing.Union[java.lang.String, str] - ) -> "IronIonSaturationStream": ... + def clone(self, string: typing.Union[java.lang.String, str]) -> 'IronIonSaturationStream': ... def displayResult(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -366,21 +216,13 @@ 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, - ): ... + 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 __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def clone(self) -> "NeqStream": ... + def clone(self) -> 'NeqStream': ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> "NeqStream": ... + def clone(self, string: typing.Union[java.lang.String, str]) -> 'NeqStream': ... @typing.overload def run(self) -> None: ... @typing.overload @@ -390,29 +232,20 @@ 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, - ): ... + 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 __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def clone(self) -> "ScalePotentialCheckStream": ... + def clone(self) -> 'ScalePotentialCheckStream': ... @typing.overload - def clone( - self, string: typing.Union[java.lang.String, str] - ) -> "ScalePotentialCheckStream": ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi index 4397f58f..ecc2f48a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,17 +14,13 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing + + 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 __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 getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload def run(self) -> None: ... @@ -35,23 +31,16 @@ class SimpleFlowLine(jneqsim.process.equipment.TwoPortEquipment): 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 getPipeline( - self, - ) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.subsea")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi index a0730f17..44eff9db 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,18 +14,14 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing + + class Tank(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 __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 displayResult(self) -> None: ... def getEfficiency(self) -> float: ... def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -34,9 +30,7 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... - def getLiquidOutStream( - self, - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -52,79 +46,49 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setEfficiency(self, double: float) -> None: ... def setGasCarryunderFraction(self, double: float) -> None: ... - def setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setLiquidCarryoverFraction(self, double: float) -> None: ... - def setOutComposition( - self, systemInterface: jneqsim.thermo.system.SystemInterface - ) -> 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 toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... 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 __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 clearHistory(self) -> None: ... @staticmethod - def createTwoPhaseFluid( - string: typing.Union[java.lang.String, str], double: float, double2: float - ) -> jneqsim.thermo.system.SystemInterface: ... + 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 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 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 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 getFireHeatInput(self, string: typing.Union[java.lang.String, str]) -> float: ... def getFlareHeaderMach(self, double: float) -> float: ... - def getFlareHeaderVelocity( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> 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 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]: ... @@ -133,17 +97,11 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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 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 getPeakDischargeRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPeakOutletLiquidFraction(self) -> float: ... @typing.overload def getPressure(self) -> float: ... @@ -158,9 +116,7 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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 getTotalMassDischarged(self, string: typing.Union[java.lang.String, str]) -> float: ... def getVaporFraction(self) -> float: ... def getVentTemperature(self) -> float: ... def getVolume(self) -> float: ... @@ -173,165 +129,101 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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]: ... + 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": ... + def runSimulation(self, double: float, double2: float) -> 'VesselDepressurization.SimulationResult': ... @typing.overload - def runSimulation( - self, double: float, double2: float, int: int - ) -> "VesselDepressurization.SimulationResult": ... + 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 setCalculationType( - self, calculationType: "VesselDepressurization.CalculationType" - ) -> 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 setFireHeatFlux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setFixedQ(self, double: float) -> None: ... def setFixedU(self, double: float) -> None: ... - def setFlowDirection( - self, flowDirection: "VesselDepressurization.FlowDirection" - ) -> None: ... - def setHeatTransferType( - self, heatTransferType: "VesselDepressurization.HeatTransferType" - ) -> None: ... + def setFlowDirection(self, flowDirection: 'VesselDepressurization.FlowDirection') -> None: ... + def setHeatTransferType(self, heatTransferType: 'VesselDepressurization.HeatTransferType') -> None: ... def setInitialLiquidLevel(self, double: float) -> None: ... - def setInletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... - def setLinerMaterial( - self, double: float, linerMaterial: "VesselDepressurization.LinerMaterial" - ) -> None: ... - def setLinerProperties( - self, double: float, double2: float, double3: float, double4: float - ) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'VesselDepressurization.CalculationType': ... @staticmethod - def values() -> ( - typing.MutableSequence["VesselDepressurization.CalculationType"] - ): ... - - class FlowDirection(java.lang.Enum["VesselDepressurization.FlowDirection"]): - DISCHARGE: typing.ClassVar["VesselDepressurization.FlowDirection"] = ... - FILLING: typing.ClassVar["VesselDepressurization.FlowDirection"] = ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + def values() -> typing.MutableSequence['VesselDepressurization.CalculationType']: ... + class FlowDirection(java.lang.Enum['VesselDepressurization.FlowDirection']): + DISCHARGE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... + FILLING: 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'VesselDepressurization.LinerMaterial': ... @staticmethod - def values() -> ( - typing.MutableSequence["VesselDepressurization.LinerMaterial"] - ): ... - + def values() -> typing.MutableSequence['VesselDepressurization.LinerMaterial']: ... class SimulationResult: def getEndTime(self) -> float: ... def getFinalPressure(self) -> float: ... @@ -353,55 +245,40 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass 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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'VesselDepressurization.VesselOrientation': ... @staticmethod - def values() -> ( - typing.MutableSequence["VesselDepressurization.VesselOrientation"] - ): ... + def values() -> typing.MutableSequence['VesselDepressurization.VesselOrientation']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.tank")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi index 8307c6bf..3999d113 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,23 +20,21 @@ import jneqsim.process.util.uncertainty import jneqsim.thermo.system 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) # + + +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AccelerationMethod': ... @staticmethod - def values() -> typing.MutableSequence["AccelerationMethod"]: ... + def values() -> typing.MutableSequence['AccelerationMethod']: ... class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -47,133 +45,44 @@ class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getTolerance(self) -> float: ... def isActivateWhenLess(self) -> bool: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 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 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 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], - 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 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], 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: ... @@ -182,16 +91,10 @@ class BroydenAccelerator(java.io.Serializable): 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 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 getInverseJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getIterationCount(self) -> int: ... def getMaxStepSize(self) -> float: ... def getRelaxationFactor(self) -> float: ... @@ -205,108 +108,47 @@ class BroydenAccelerator(java.io.Serializable): 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: ... + 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: ... + 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: @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, - ]: ... + 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, - ]: ... + 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, - ]: ... + 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, - ]: ... + 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"] = ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + 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'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'CalculatorLibrary.Preset': ... @staticmethod - def values() -> typing.MutableSequence["CalculatorLibrary.Preset"]: ... + def values() -> typing.MutableSequence['CalculatorLibrary.Preset']: ... class FlowRateAdjuster(jneqsim.process.equipment.TwoPortEquipment): desiredGasFlow: float = ... @@ -315,73 +157,35 @@ class FlowRateAdjuster(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 __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: ... + 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 __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: ... + 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: ... + 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 GORfitter(jneqsim.process.equipment.TwoPortEquipment): - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ): ... + 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 @@ -401,38 +205,24 @@ class GORfitter(jneqsim.process.equipment.TwoPortEquipment): 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: ... + 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 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: ... + 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, - ): ... + 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 __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def getGFV(self) -> float: ... def getGOR(self) -> float: ... @typing.overload @@ -453,63 +243,35 @@ class MPFMfitter(jneqsim.process.equipment.TwoPortEquipment): 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: ... + 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: ... + 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: ... + 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 __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: ... + 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 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 __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: ... @@ -525,9 +287,7 @@ class NeqSimUnit(jneqsim.process.equipment.TwoPortEquipment): 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 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: ... @@ -536,27 +296,16 @@ 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, - ): ... + 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: ... + def setPressureDrop(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... -class Recycle( - jneqsim.process.equipment.ProcessEquipmentBaseClass, - jneqsim.process.equipment.mixer.MixerInterface, -): +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 addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def compositionBalanceCheck(self) -> float: ... def displayResult(self) -> None: ... @@ -579,9 +328,7 @@ class Recycle( def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getPriority(self) -> int: ... - def getStream( - self, int: int - ) -> jneqsim.process.equipment.stream.StreamInterface: ... + 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: ... @@ -589,17 +336,11 @@ class Recycle( def getWegsteinQMax(self) -> float: ... def getWegsteinQMin(self) -> float: ... def guessTemperature(self) -> float: ... - def initiateDownstreamProperties( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + 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 replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def resetAccelerationState(self) -> None: ... def resetIterations(self) -> None: ... @typing.overload @@ -610,22 +351,16 @@ class Recycle( def setCompositionTolerance(self, double: float) -> None: ... def setDownstreamProperties(self) -> None: ... @typing.overload - def setDownstreamProperty( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 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 setMinimumFlow(self, double: float) -> None: ... - def setOutletStream( - self, streamInterface: jneqsim.process.equipment.stream.StreamInterface - ) -> None: ... + def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setPressure(self, double: float) -> None: ... def setPriority(self, int: int) -> None: ... def setTemperature(self, double: float) -> None: ... @@ -639,9 +374,7 @@ class Recycle( @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... class RecycleController(java.io.Serializable): def __init__(self): ... @@ -650,18 +383,14 @@ class RecycleController(java.io.Serializable): 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 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 getTearStreamSensitivityMatrix(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... def getTearStreamVariableNames(self) -> java.util.List[java.lang.String]: ... def getTotalIterations(self) -> int: ... def hasHigherPriorityLevel(self) -> bool: ... @@ -678,9 +407,7 @@ class RecycleController(java.io.Serializable): @typing.overload def setAccelerationMethod(self, accelerationMethod: AccelerationMethod) -> None: ... @typing.overload - def setAccelerationMethod( - self, accelerationMethod: AccelerationMethod, int: int - ) -> None: ... + def setAccelerationMethod(self, accelerationMethod: AccelerationMethod, int: int) -> None: ... def setCurrentPriorityLevel(self, int: int) -> None: ... def setUseCoordinatedAcceleration(self, boolean: bool) -> None: ... def solvedAll(self) -> bool: ... @@ -692,121 +419,50 @@ class SetPoint(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], - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - string2: typing.Union[java.lang.String, str], - processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + 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: ... + 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: ... + 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]]: ... + 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: ... + 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 StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ): ... + 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 @@ -814,28 +470,20 @@ class StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): @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 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 __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: ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi index 7fa08bdd..7615fbc3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,10 +16,9 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing -class ValveInterface( - jneqsim.process.equipment.ProcessEquipmentInterface, - jneqsim.process.equipment.TwoPortInterface, -): + + +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: ... @@ -32,7 +31,7 @@ class ValveInterface( def getPercentValveOpening(self) -> float: ... def getTargetPercentValveOpening(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getTravelModel(self) -> "ValveTravelModel": ... + def getTravelModel(self) -> 'ValveTravelModel': ... def getTravelTime(self) -> float: ... def getTravelTimeConstant(self) -> float: ... def hashCode(self) -> int: ... @@ -41,43 +40,35 @@ class ValveInterface( @typing.overload def setCv(self, double: float) -> None: ... @typing.overload - def setCv( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ValveTravelModel': ... @staticmethod - def values() -> typing.MutableSequence["ValveTravelModel"]: ... + def values() -> typing.MutableSequence['ValveTravelModel']: ... class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface): @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 __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... def calcKv(self) -> None: ... def calculateMolarFlow(self) -> float: ... def calculateOutletPressure(self, double: float) -> float: ... @@ -93,30 +84,20 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @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 getDeltaPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + 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 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 getMechanicalDesign( - self, - ) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... + def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... def getOpeningTravelTime(self) -> float: ... def getOutletPressure(self) -> float: ... def getPercentValveOpening(self) -> float: ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getTargetPercentValveOpening(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTravelModel(self) -> ValveTravelModel: ... @@ -146,12 +127,8 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @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 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: ... @@ -163,16 +140,12 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 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: ... @@ -181,19 +154,13 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> java.lang.String: ... + 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 __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: ... @@ -212,11 +179,7 @@ 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 __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 @@ -230,22 +193,14 @@ 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 __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 __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: ... @@ -271,29 +226,18 @@ 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 __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 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 getVotingLogic(self) -> 'HIPPSValve.VotingLogic': ... def hasTripped(self) -> bool: ... def isPartialStrokeTestActive(self) -> bool: ... def isProofTestDue(self) -> bool: ... @@ -301,10 +245,7 @@ class HIPPSValve(ThrottlingValve): def performPartialStrokeTest(self, double: float) -> None: ... def performProofTest(self) -> None: ... def recordSpuriousTrip(self) -> None: ... - def removePressureTransmitter( - self, - measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, - ) -> None: ... + def removePressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... def reset(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @@ -315,50 +256,35 @@ class HIPPSValve(ThrottlingValve): 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 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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'HIPPSValve.VotingLogic': ... @staticmethod - def values() -> typing.MutableSequence["HIPPSValve.VotingLogic"]: ... + 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 __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 getPressureTransmitter(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def hasTripped(self) -> bool: ... def isTripEnabled(self) -> bool: ... - def linkToPressureTransmitter( - self, - measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, - ) -> None: ... + def linkToPressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... def reset(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @@ -373,11 +299,7 @@ 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 __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: ... @@ -397,30 +319,22 @@ 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 __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 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 getValveType(self) -> 'SafetyReliefValve.ValveType': ... def initMechanicalDesign(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -438,184 +352,120 @@ class SafetyReliefValve(ThrottlingValve): 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SafetyReliefValve.ValveType': ... @staticmethod - def values() -> typing.MutableSequence["SafetyReliefValve.ValveType"]: ... + 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 __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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SafetyValve.FluidService': ... @staticmethod - def values() -> typing.MutableSequence["SafetyValve.FluidService"]: ... - + 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 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 getRelievingStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getSetPressure(self) -> java.util.Optional[float]: ... - def getSizingStandard(self) -> "SafetyValve.SizingStandard": ... - + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SafetyValve.SizingStandard': ... @staticmethod - def values() -> typing.MutableSequence["SafetyValve.SizingStandard"]: ... + 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 __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: ... @@ -627,44 +477,32 @@ class LevelControlValve(ControlValve): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAutoMode(self, boolean: bool) -> None: ... - def setControlAction( - self, controlAction: "LevelControlValve.ControlAction" - ) -> 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LevelControlValve.ControlAction': ... @staticmethod - def values() -> typing.MutableSequence["LevelControlValve.ControlAction"]: ... + 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 __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 getControlMode(self) -> 'PressureControlValve.ControlMode': ... def getControllerGain(self) -> float: ... def getPressureSetpoint(self) -> float: ... def getProcessVariable(self) -> float: ... @@ -674,31 +512,24 @@ class PressureControlValve(ControlValve): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAutoMode(self, boolean: bool) -> None: ... - def setControlMode( - self, controlMode: "PressureControlValve.ControlMode" - ) -> 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PressureControlValve.ControlMode': ... @staticmethod - def values() -> typing.MutableSequence["PressureControlValve.ControlMode"]: ... + def values() -> typing.MutableSequence['PressureControlValve.ControlMode']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.valve")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi index 7766f1a2..c94eaa47 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,6 +8,7 @@ else: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi index 688c6dda..c126383c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,27 +12,10 @@ 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 __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]: ... @@ -47,54 +30,35 @@ class AllocationResult(java.io.Serializable): 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 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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellProductionAllocator.AllocationMethod': ... @staticmethod - def values() -> ( - typing.MutableSequence["WellProductionAllocator.AllocationMethod"] - ): ... - + 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: ... @@ -112,16 +76,11 @@ class WellProductionAllocator(java.io.Serializable): 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi index 2f38feb0..7836cd30 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,7 @@ import jneqsim.process.fielddevelopment.facility import jneqsim.process.fielddevelopment.screening import typing + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi index 5e165ff7..2df9cdd8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,34 +10,29 @@ import java.lang import java.util import typing + + class FieldConcept(java.io.Serializable): @staticmethod - def builder( - string: typing.Union[java.lang.String, str] - ) -> "FieldConcept.Builder": ... + 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": ... + 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 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 getInfrastructure(self) -> 'InfrastructureInput': ... def getName(self) -> java.lang.String: ... def getProductionRateUnit(self) -> java.lang.String: ... - def getReservoir(self) -> "ReservoirInput": ... + 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 getWells(self) -> 'WellsInput': ... def hasWaterInjection(self) -> bool: ... def hashCode(self) -> int: ... def isSubseaTieback(self) -> bool: ... @@ -47,48 +42,32 @@ class FieldConcept(java.io.Serializable): def needsH2STreatment(self) -> bool: ... @typing.overload @staticmethod - def oilDevelopment( - string: typing.Union[java.lang.String, str] - ) -> "FieldConcept": ... + 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 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": ... + 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 InfrastructureInput(java.io.Serializable): @staticmethod - def builder() -> "InfrastructureInput.Builder": ... + 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 getExportType(self) -> 'InfrastructureInput.ExportType': ... def getHostCapacityAvailable(self) -> float: ... - def getPowerSupply(self) -> "InfrastructureInput.PowerSupply": ... - def getProcessingLocation(self) -> "InfrastructureInput.ProcessingLocation": ... + def getPowerSupply(self) -> 'InfrastructureInput.PowerSupply': ... + def getProcessingLocation(self) -> 'InfrastructureInput.ProcessingLocation': ... def getTiebackLength(self) -> float: ... def getTiebackLengthKm(self) -> float: ... def getWaterDepth(self) -> float: ... @@ -99,113 +78,80 @@ class InfrastructureInput(java.io.Serializable): def isInsulatedFlowline(self) -> bool: ... def isLongTieback(self) -> bool: ... @staticmethod - def subseaTieback() -> "InfrastructureInput.Builder": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'InfrastructureInput.ProcessingLocation': ... @staticmethod - def values() -> ( - typing.MutableSequence["InfrastructureInput.ProcessingLocation"] - ): ... + def values() -> typing.MutableSequence['InfrastructureInput.ProcessingLocation']: ... class ReservoirInput(java.io.Serializable): @staticmethod - def blackOil() -> "ReservoirInput.Builder": ... + def blackOil() -> 'ReservoirInput.Builder': ... @staticmethod - def builder() -> "ReservoirInput.Builder": ... + def builder() -> 'ReservoirInput.Builder': ... @staticmethod - def gasCondensate() -> "ReservoirInput.Builder": ... + 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 getFluidType(self) -> 'ReservoirInput.FluidType': ... def getGasGravity(self) -> float: ... def getGor(self) -> float: ... def getGorUnit(self) -> java.lang.String: ... @@ -222,67 +168,54 @@ class ReservoirInput(java.io.Serializable): def isHighCO2(self) -> bool: ... def isSour(self) -> bool: ... @staticmethod - def leanGas() -> "ReservoirInput.Builder": ... + def leanGas() -> 'ReservoirInput.Builder': ... @staticmethod - def richGas() -> "ReservoirInput.Builder": ... + 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": ... + 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": ... + 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 reservoirPressure(self, double: float) -> "ReservoirInput.Builder": ... - def reservoirTemperature(self, double: float) -> "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) # + 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 reservoirPressure(self, double: float) -> 'ReservoirInput.Builder': ... + def reservoirTemperature(self, double: float) -> '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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.FluidType': ... @staticmethod - def values() -> typing.MutableSequence["ReservoirInput.FluidType"]: ... + def values() -> typing.MutableSequence['ReservoirInput.FluidType']: ... class WellsInput(java.io.Serializable): @staticmethod - def builder() -> "WellsInput.Builder": ... - def getCompletionType(self) -> "WellsInput.CompletionType": ... + 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 getProducerType(self) -> 'WellsInput.WellType': ... def getProductivityIndex(self) -> float: ... def getRatePerWell(self) -> float: ... def getRatePerWellSm3d(self) -> float: ... @@ -297,70 +230,48 @@ class WellsInput(java.io.Serializable): 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellsInput.WellType': ... @staticmethod - def values() -> typing.MutableSequence["WellsInput.WellType"]: ... + def values() -> typing.MutableSequence['WellsInput.WellType']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.concept")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi index d85a2563..96a3e808 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,45 +14,35 @@ import jneqsim.process.fielddevelopment.facility import jneqsim.process.fielddevelopment.screening 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 __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": ... - + 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 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 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 getViableConcepts(self) -> java.util.List['ConceptKPIs']: ... def toString(self) -> java.lang.String: ... - class ProgressListener: def onProgress(self, int: int, int2: int) -> None: ... @@ -60,32 +50,16 @@ 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, - ): ... + 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": ... + 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": ... + 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 builder(string: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... def getAnnualEmissionsTonnes(self) -> float: ... def getAnnualOpexMUSD(self) -> float: ... def getBlowdownTimeMinutes(self) -> float: ... @@ -93,27 +67,15 @@ class ConceptKPIs(java.io.Serializable): def getCo2IntensityKgPerBoe(self) -> float: ... def getConceptName(self) -> java.lang.String: ... def getEconomicScore(self) -> float: ... - def getEconomicsReport( - self, - ) -> ( - jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport - ): ... + 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 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 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]: ... @@ -121,12 +83,8 @@ class ConceptKPIs(java.io.Serializable): 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 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: ... @@ -134,66 +92,37 @@ class ConceptKPIs(java.io.Serializable): 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": ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.evaluation")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi index be60dde9..acb1aaff 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,122 +11,100 @@ import java.util import jneqsim.process.fielddevelopment.concept import typing + + class BlockConfig(java.io.Serializable): @staticmethod - def co2Amine(double: float) -> "BlockConfig": ... + def co2Amine(double: float) -> 'BlockConfig': ... @staticmethod - def co2Membrane(double: float) -> "BlockConfig": ... + def co2Membrane(double: float) -> 'BlockConfig': ... @typing.overload @staticmethod - def compression(int: int) -> "BlockConfig": ... + 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 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: ... + _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": ... + def getType(self) -> 'BlockType': ... @staticmethod - def inletSeparation(double: float, double2: float) -> "BlockConfig": ... + def inletSeparation(double: float, double2: float) -> 'BlockConfig': ... @typing.overload @staticmethod - def of(blockType: "BlockType") -> "BlockConfig": ... + def of(blockType: 'BlockType') -> 'BlockConfig': ... @typing.overload @staticmethod - def of( - blockType: "BlockType", string: typing.Union[java.lang.String, str] - ) -> "BlockConfig": ... + 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": ... + 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": ... + def oilStabilization(int: int, double: float) -> 'BlockConfig': ... @staticmethod - def tegDehydration(double: float) -> "BlockConfig": ... + 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'BlockType': ... @staticmethod - def values() -> typing.MutableSequence["BlockType"]: ... + def values() -> typing.MutableSequence['BlockType']: ... class FacilityBuilder(java.io.Serializable): @typing.overload - def addBlock(self, blockConfig: BlockConfig) -> "FacilityBuilder": ... + 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": ... + 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": ... + def addCompression(self, int: int) -> 'FacilityBuilder': ... @typing.overload - def addCompression(self, int: int, double: float) -> "FacilityBuilder": ... - def addTegDehydration(self, double: float) -> "FacilityBuilder": ... + 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": ... + 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": ... + 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: ... @@ -145,6 +123,7 @@ class FacilityConfig(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi index e24ee3fe..43fd794d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,20 +12,15 @@ import jneqsim.process.fielddevelopment.concept import jneqsim.process.fielddevelopment.facility import typing + + class EconomicsEstimator: def __init__(self): ... - def estimate( - self, - fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, - facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, - ) -> "EconomicsEstimator.EconomicsReport": ... - def quickEstimate( - self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept - ) -> "EconomicsEstimator.EconomicsReport": ... - + def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EconomicsEstimator.EconomicsReport': ... + def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EconomicsEstimator.EconomicsReport': ... class EconomicsReport(java.io.Serializable): @staticmethod - def builder() -> "EconomicsEstimator.EconomicsReport.Builder": ... + def builder() -> 'EconomicsEstimator.EconomicsReport.Builder': ... def getAccuracyRangePercent(self) -> float: ... def getAnnualOpexMUSD(self) -> float: ... def getCapexBreakdown(self) -> java.util.Map[java.lang.String, float]: ... @@ -41,58 +36,28 @@ class EconomicsEstimator: 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": ... + 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 quickEstimate( - self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept - ) -> "EmissionsTracker.EmissionsReport": ... - + def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EmissionsTracker.EmissionsReport': ... + def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EmissionsTracker.EmissionsReport': ... class EmissionsReport(java.io.Serializable): @staticmethod - def builder() -> "EmissionsTracker.EmissionsReport.Builder": ... + def builder() -> 'EmissionsTracker.EmissionsReport.Builder': ... def getEmissionSources(self) -> java.util.Map[java.lang.String, float]: ... def getFlaringEmissionsTonnesPerYear(self) -> float: ... def getFugitiveEmissionsTonnesPerYear(self) -> float: ... @@ -105,148 +70,89 @@ class EmissionsTracker: 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": ... + 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 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 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 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 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 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlowAssuranceResult': ... @staticmethod - def values() -> typing.MutableSequence["FlowAssuranceResult"]: ... + 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: ... + 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 SafetyReport(java.io.Serializable): @staticmethod - def builder() -> "SafetyReport.Builder": ... + def builder() -> 'SafetyReport.Builder': ... def getEstimatedBlowdownTimeMinutes(self) -> float: ... def getInventoryTonnes(self) -> float: ... def getMinimumMetalTempC(self) -> float: ... - def getOverallLevel(self) -> "SafetyReport.SafetyLevel": ... + 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]: ... @@ -256,60 +162,40 @@ class SafetyReport(java.io.Serializable): 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SafetyReport.SafetyLevel': ... @staticmethod - def values() -> typing.MutableSequence["SafetyReport.SafetyLevel"]: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi index 4eedb390..84794a8a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,6 +8,7 @@ else: import jneqsim.process.integration.ml import typing + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi index 9a067c81..6a2b3479 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,142 +11,71 @@ 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] - ] = ... + 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: ... + 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]: ... + 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]: ... + def extractMinimalFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[float]: ... @staticmethod - def extractStandardFeatures( - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> typing.MutableSequence[float]: ... + 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]: ... + 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]: ... + 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 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 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: ... + 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", - ): ... + 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 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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'HybridModelAdapter.CombinationStrategy': ... @staticmethod - def values() -> ( - typing.MutableSequence["HybridModelAdapter.CombinationStrategy"] - ): ... + def values() -> typing.MutableSequence['HybridModelAdapter.CombinationStrategy']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration.ml")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi index 10926e36..f758cca6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,6 +19,8 @@ import jneqsim.process.logic.startup import jneqsim.process.logic.voting import typing + + class LogicAction: def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... @@ -30,28 +32,24 @@ class LogicCondition: 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: ... + 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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LogicState': ... @staticmethod - def values() -> typing.MutableSequence["LogicState"]: ... + def values() -> typing.MutableSequence['LogicState']: ... class ProcessLogic: def activate(self) -> None: ... @@ -60,13 +58,12 @@ class ProcessLogic: 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi index ada8b6dd..7a84e6ab 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,19 +14,17 @@ 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 __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 __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -34,20 +32,9 @@ class CloseValveAction(jneqsim.process.logic.LogicAction): 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], - ): ... + 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 __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: ... @@ -63,18 +50,14 @@ 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 __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 __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -94,9 +77,7 @@ class ParallelActionGroup(jneqsim.process.logic.LogicAction): def toString(self) -> java.lang.String: ... class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): - def __init__( - self, separator: jneqsim.process.equipment.separator.Separator, boolean: bool - ): ... + 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: ... @@ -104,22 +85,14 @@ class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): 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 __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 __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: ... @@ -133,6 +106,7 @@ class TripValveAction(jneqsim.process.logic.LogicAction): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi index 8104f6d8..dca059fb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,53 +11,29 @@ 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], - ): ... + 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 __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: ... + 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], - ): ... + 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 __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: ... + def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class TimerCondition(jneqsim.process.logic.LogicCondition): def __init__(self, double: float): ... @@ -67,36 +43,22 @@ class TimerCondition(jneqsim.process.logic.LogicCondition): def getElapsed(self) -> float: ... def getExpectedValue(self) -> java.lang.String: ... def getRemaining(self) -> float: ... - def getTargetEquipment( - self, - ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + 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, - ): ... + 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 __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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi index 6e537f2b..ae104c9f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,22 +13,13 @@ 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, - ): ... + 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 __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: ... @@ -36,15 +27,14 @@ class PressureControlLogic(jneqsim.process.logic.ProcessLogic): 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi index 84e19821..7fa79b3f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,12 @@ 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 addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getActionCount(self) -> int: ... @@ -25,13 +25,12 @@ class ESDLogic(jneqsim.process.logic.ProcessLogic): 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi index fe604bcb..d50527b0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,42 +13,33 @@ 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 __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 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi index f8683cc1..94e4628f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,12 @@ 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 addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getActionCount(self) -> int: ... @@ -28,9 +28,7 @@ class ShutdownLogic(jneqsim.process.logic.ProcessLogic): 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 getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def isEmergencyMode(self) -> bool: ... @@ -39,6 +37,7 @@ class ShutdownLogic(jneqsim.process.logic.ProcessLogic): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi index 1abe5720..a443ae77 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,16 @@ 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 __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 getType(self) -> 'Detector.DetectorType': ... def isBypassed(self) -> bool: ... def isFaulty(self) -> bool: ... def isTripped(self) -> bool: ... @@ -36,55 +31,41 @@ class Detector: 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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Detector.DetectorType': ... @staticmethod - def values() -> typing.MutableSequence["Detector.DetectorType"]: ... + 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 __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: ... @@ -94,10 +75,8 @@ class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): 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 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: ... @@ -109,29 +88,28 @@ class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'VotingLogic': ... @staticmethod - def values() -> typing.MutableSequence["VotingLogic"]: ... + def values() -> typing.MutableSequence['VotingLogic']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.sis")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi index 405f727a..ecd33252 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,35 +11,30 @@ 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi index 8b858f6f..507ad254 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,10 +8,11 @@ else: import java.lang import typing -_VotingEvaluator__T = typing.TypeVar("_VotingEvaluator__T") # + +_VotingEvaluator__T = typing.TypeVar('_VotingEvaluator__T') # class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): - def __init__(self, votingPattern: "VotingPattern"): ... + def __init__(self, votingPattern: 'VotingPattern'): ... def addInput(self, t: _VotingEvaluator__T, boolean: bool) -> None: ... def clearInputs(self) -> None: ... def evaluateAverage(self) -> float: ... @@ -19,33 +20,32 @@ class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): def evaluateMedian(self) -> float: ... def evaluateMidValue(self) -> float: ... def getFaultyInputCount(self) -> int: ... - def getPattern(self) -> "VotingPattern": ... + 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'VotingPattern': ... @staticmethod - def values() -> typing.MutableSequence["VotingPattern"]: ... + def values() -> typing.MutableSequence['VotingPattern']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.voting")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi index c2d11d24..5127a6d5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,54 +21,40 @@ import jneqsim.process.measurementdevice.vfm import jneqsim.util import typing + + class MeasurementDeviceInterface(jneqsim.util.NamedInterface, java.io.Serializable): def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... 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 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 getMaximumValue(self) -> float: ... def getMeasuredPercentValue(self) -> float: ... @typing.overload - def getMeasuredValue( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getOnlineSignal(self) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... def getOnlineValue(self) -> float: ... def getUnit(self) -> java.lang.String: ... def hashCode(self) -> int: ... def isLogging(self) -> bool: ... def isOnlineSignal(self) -> bool: ... - def setAlarmConfig( - self, alarmConfig: jneqsim.process.alarm.AlarmConfig - ) -> None: ... + def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... def setLogging(self, boolean: bool) -> None: ... def setMaximumValue(self, double: float) -> None: ... def setMinimumValue(self, double: float) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... -class MeasurementDeviceBaseClass( - jneqsim.util.NamedBaseClass, MeasurementDeviceInterface -): - def __init__( - self, - string: typing.Union[java.lang.String, str], - string2: typing.Union[java.lang.String, str], - ): ... +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 displayResult(self) -> None: ... def doConditionAnalysis(self) -> bool: ... - def evaluateAlarm( - self, double: float, double2: float, double3: float - ) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... + 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: ... @@ -79,73 +65,46 @@ class MeasurementDeviceBaseClass( @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getOnlineSignal(self) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... def getUnit(self) -> java.lang.String: ... def isLogging(self) -> bool: ... def isOnlineSignal(self) -> bool: ... def runConditionAnalysis(self) -> None: ... - def setAlarmConfig( - self, alarmConfig: jneqsim.process.alarm.AlarmConfig - ) -> 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 setIsOnlineSignal( - self, - boolean: bool, - string: typing.Union[java.lang.String, str], - string2: typing.Union[java.lang.String, str], - ) -> 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 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 setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class CompressorMonitor(MeasurementDeviceBaseClass): @typing.overload - def __init__( - self, - string: typing.Union[java.lang.String, str], - compressor: jneqsim.process.equipment.compressor.Compressor, - ): ... + 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: ... + 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 __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: ... @@ -154,9 +113,7 @@ class FireDetector(MeasurementDeviceBaseClass): @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... def getSignalLevel(self) -> float: ... def isFireDetected(self) -> bool: ... def reset(self) -> None: ... @@ -168,61 +125,40 @@ class FireDetector(MeasurementDeviceBaseClass): class FlowInducedVibrationAnalyser(MeasurementDeviceBaseClass): @typing.overload - def __init__( - self, - string: typing.Union[java.lang.String, str], - pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, - ): ... + 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 __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 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 setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSupportDistance(self, double: float) -> None: ... 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 __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 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 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: ... @@ -233,90 +169,59 @@ class GasDetector(MeasurementDeviceBaseClass): 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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'GasDetector.GasType': ... @staticmethod - def values() -> typing.MutableSequence["GasDetector.GasType"]: ... + 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, - ): ... + 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: ... + 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, - ): ... + 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 __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 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 __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 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 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 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: ... @@ -324,123 +229,66 @@ class PushButton(MeasurementDeviceBaseClass): 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 __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: ... + 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, - ): ... + 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 __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 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, - ): ... + 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 __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: ... + 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 getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... def setComponents(self) -> None: ... class CricondenbarAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ): ... + 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 __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: ... + 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 __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 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, - ): ... + 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 __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 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: ... @@ -448,172 +296,98 @@ class HydrocarbonDewPointAnalyser(StreamMeasurementDeviceBaseClass): class MolarMassAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ): ... + 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 __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 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, - ): ... + 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 __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 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 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: ... + 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, - ): ... + 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 __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: ... + 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, - ): ... + 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 __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 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, - ): ... + 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 __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 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, - ): ... + 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 __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... 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 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, - ): ... + 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 __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 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, - ): ... + 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 __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 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: ... @@ -621,55 +395,32 @@ class WaterDewPointAnalyser(StreamMeasurementDeviceBaseClass): class WellAllocator(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ): ... + 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 __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: ... + 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, - ): ... + 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 __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 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")``. @@ -679,9 +430,7 @@ class __module_protocol__(Protocol): FireDetector: typing.Type[FireDetector] FlowInducedVibrationAnalyser: typing.Type[FlowInducedVibrationAnalyser] GasDetector: typing.Type[GasDetector] - HydrateEquilibriumTemperatureAnalyser: typing.Type[ - HydrateEquilibriumTemperatureAnalyser - ] + HydrateEquilibriumTemperatureAnalyser: typing.Type[HydrateEquilibriumTemperatureAnalyser] HydrocarbonDewPointAnalyser: typing.Type[HydrocarbonDewPointAnalyser] LevelTransmitter: typing.Type[LevelTransmitter] MeasurementDeviceBaseClass: typing.Type[MeasurementDeviceBaseClass] @@ -701,7 +450,5 @@ class __module_protocol__(Protocol): WellAllocator: typing.Type[WellAllocator] pHProbe: typing.Type[pHProbe] online: jneqsim.process.measurementdevice.online.__module_protocol__ - simpleflowregime: ( - jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ - ) + simpleflowregime: jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ vfm: jneqsim.process.measurementdevice.vfm.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi index c7277908..70182b12 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,17 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi index fa9c7832..be5923a5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,6 +12,8 @@ import jneqsim.process.measurementdevice import jneqsim.thermo.system import typing + + class FluidSevereSlug: def getGasConstant(self) -> float: ... def getLiqDensity(self) -> float: ... @@ -38,127 +40,49 @@ class SevereSlugAnalyser(jneqsim.process.measurementdevice.MeasurementDeviceBase @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 - ): ... + 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, - ): ... + 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, - ): ... + 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, - ): ... + 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, - ): ... + 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 __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: ... + def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getMeasuredValue( - self, - fluidSevereSlug: FluidSevereSlug, - pipe: Pipe, - severeSlugAnalyser: "SevereSlugAnalyser", - ) -> float: ... + 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi index 026709d1..3d206d84 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,92 +14,54 @@ 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", - ): ... + 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SoftSensor.PropertyType': ... @staticmethod - def values() -> typing.MutableSequence["SoftSensor.PropertyType"]: ... + 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], - ): ... + 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 __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: ... @@ -111,12 +73,12 @@ class UncertaintyBounds(java.io.Serializable): def getUpper99(self) -> float: ... def isWithin95CI(self, double: float) -> bool: ... def isWithin99CI(self, double: float) -> bool: ... - def scale(self, double: float) -> "UncertaintyBounds": ... + def scale(self, double: float) -> 'UncertaintyBounds': ... def toString(self) -> java.lang.String: ... class VFMResult(java.io.Serializable): @staticmethod - def builder() -> "VFMResult.Builder": ... + def builder() -> 'VFMResult.Builder': ... def getAdditionalProperties(self) -> java.util.Map[java.lang.String, float]: ... def getGasFlowRate(self) -> float: ... def getGasOilRatio(self) -> float: ... @@ -124,7 +86,7 @@ class VFMResult(java.io.Serializable): 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 getQuality(self) -> 'VFMResult.Quality': ... def getTimestamp(self) -> java.time.Instant: ... def getTotalLiquidFlowRate(self) -> float: ... def getWaterCut(self) -> float: ... @@ -132,98 +94,54 @@ class VFMResult(java.io.Serializable): 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": ... + 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": ... + 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": ... + 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": ... + 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": ... + 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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'VFMResult.Quality': ... @staticmethod - def values() -> typing.MutableSequence["VFMResult.Quality"]: ... + 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, - ): ... +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 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 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: ... @@ -231,18 +149,8 @@ class VirtualFlowMeter( 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 __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: ... @@ -251,6 +159,7 @@ class VirtualFlowMeter( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi index 5da6e0a1..59004555 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -23,10 +23,12 @@ import jneqsim.process.mechanicaldesign.valve import jneqsim.process.processmodel import typing + + class DesignLimitData(java.io.Serializable): - EMPTY: typing.ClassVar["DesignLimitData"] = ... + EMPTY: typing.ClassVar['DesignLimitData'] = ... @staticmethod - def builder() -> "DesignLimitData.Builder": ... + def builder() -> 'DesignLimitData.Builder': ... def equals(self, object: typing.Any) -> bool: ... def getCorrosionAllowance(self) -> float: ... def getJointEfficiency(self) -> float: ... @@ -36,15 +38,14 @@ class DesignLimitData(java.io.Serializable): 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": ... + 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 MechanicalDesign(java.io.Serializable): maxDesignVolumeFlow: float = ... @@ -75,59 +76,31 @@ class MechanicalDesign(java.io.Serializable): 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 __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 displayResults(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getCompanySpecificDesignStandards(self) -> java.lang.String: ... def getConstrutionMaterial(self) -> java.lang.String: ... def getCorrosionAllowance(self) -> float: ... - def getCostEstimate( - self, - ) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... + def getCostEstimate(self) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... def getDefaultLiquidDensity(self) -> float: ... def getDefaultLiquidViscosity(self) -> float: ... def getDesignCorrosionAllowance(self) -> float: ... - def getDesignDataSources( - self, - ) -> java.util.List[ - jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource - ]: ... + 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 getDesignStandard(self) -> java.util.Hashtable[java.lang.String, jneqsim.process.mechanicaldesign.designstandards.DesignStandard]: ... def getInnerDiameter(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 getLastMarginResult(self) -> 'MechanicalDesignMarginResult': ... + def getMaterialDesignStandard(self) -> jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard: ... + def getMaterialPipeDesignStandard(self) -> jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard: ... def getMaxAllowableStress(self) -> float: ... def getMaxDesignGassVolumeFlow(self) -> float: ... def getMaxDesignOilVolumeFlow(self) -> float: ... @@ -148,9 +121,7 @@ class MechanicalDesign(java.io.Serializable): def getModuleWidth(self) -> float: ... def getOuterDiameter(self) -> float: ... def getPressureMarginFactor(self) -> float: ... - def getProcessEquipment( - self, - ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getTantanLength(self) -> float: ... def getTensileStrength(self) -> float: ... def getVolumeTotal(self) -> float: ... @@ -167,50 +138,20 @@ class MechanicalDesign(java.io.Serializable): 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 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 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: ... - def setDesignStandard( - self, - hashtable: java.util.Hashtable[ - typing.Union[java.lang.String, str], - jneqsim.process.mechanicaldesign.designstandards.DesignStandard, - ], - ) -> 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: ... + def setDesignStandard(self, hashtable: java.util.Hashtable[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.designstandards.DesignStandard]) -> 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 setMaterialDesignStandard(self, materialPlateDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard) -> None: ... + def setMaterialPipeDesignStandard(self, materialPipeDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard) -> None: ... def setMaxDesignDuty(self, double: float) -> None: ... def setMaxDesignGassVolumeFlow(self, double: float) -> None: ... def setMaxDesignOilVolumeFlow(self, double: float) -> None: ... @@ -232,10 +173,7 @@ class MechanicalDesign(java.io.Serializable): 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 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: ... @@ -248,29 +186,13 @@ class MechanicalDesign(java.io.Serializable): def setWeigthInternals(self, double: float) -> None: ... def setWeigthVesselShell(self, double: float) -> None: ... @typing.overload - def validateOperatingEnvelope(self) -> "MechanicalDesignMarginResult": ... + def validateOperatingEnvelope(self) -> 'MechanicalDesignMarginResult': ... @typing.overload - def validateOperatingEnvelope( - self, - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - ) -> "MechanicalDesignMarginResult": ... + 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, - ): ... + 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: ... @@ -285,9 +207,7 @@ class MechanicalDesignMarginResult(java.io.Serializable): class SystemMechanicalDesign(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def equals(self, object: typing.Any) -> bool: ... - def getMechanicalWeight( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getMechanicalWeight(self, string: typing.Union[java.lang.String, str]) -> float: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getTotalNumberOfModules(self) -> int: ... def getTotalPlotSpace(self) -> float: ... @@ -295,11 +215,10 @@ class SystemMechanicalDesign(java.io.Serializable): def getTotalWeight(self) -> float: ... def hashCode(self) -> int: ... def runDesignCalculation(self) -> None: ... - def setCompanySpecificDesignStandards( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDesign(self) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign")``. @@ -311,9 +230,7 @@ class __module_protocol__(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__ - ) + designstandards: jneqsim.process.mechanicaldesign.designstandards.__module_protocol__ ejector: jneqsim.process.mechanicaldesign.ejector.__module_protocol__ heatexchanger: jneqsim.process.mechanicaldesign.heatexchanger.__module_protocol__ pipeline: jneqsim.process.mechanicaldesign.pipeline.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi index c55e67c9..79c9eb65 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,10 @@ 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, - ): ... + + +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: ... @@ -24,6 +21,7 @@ class AbsorberMechanicalDesign( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi index 47115cd4..9e19863e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,11 +9,10 @@ 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 __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... def getOuterDiameter(self) -> float: ... def getWallThickness(self) -> float: ... @@ -22,6 +21,7 @@ class AdsorberMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign 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.adsorber")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi index 613cc70f..a3a481ca 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,11 +9,10 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing + + class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def getOuterDiameter(self) -> float: ... @@ -23,6 +22,7 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi 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.compressor")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi index 751cf9a8..1ac7ea03 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,30 +12,19 @@ import jpype.protocol import jneqsim.process.mechanicaldesign import typing + + class MechanicalDesignDataSource: - 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 getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... 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]: ... + 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]: ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.data")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi index b1d225cf..964e8746 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,114 +10,66 @@ import java.lang import jneqsim.process.mechanicaldesign import typing + + 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 __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 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 AbsorptionColumnDesignStandard(DesignStandard): - def __init__( - self, - string: typing.Union[java.lang.String, str], - mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, - ): ... + 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 __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 __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 __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 __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 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 __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 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 __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 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: ... @@ -127,86 +79,45 @@ 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 __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 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 __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: ... + 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, - ): ... + 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 __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: ... + def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... class SeparatorDesignStandard(DesignStandard): - def __init__( - self, - string: typing.Union[java.lang.String, str], - mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, - ): ... + 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 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 __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 - ] + AdsorptionDehydrationDesignStandard: typing.Type[AdsorptionDehydrationDesignStandard] CompressorDesignStandard: typing.Type[CompressorDesignStandard] DesignStandard: typing.Type[DesignStandard] GasScrubberDesignStandard: typing.Type[GasScrubberDesignStandard] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi index f79de0eb..19202819 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,11 +9,10 @@ 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 __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def getBodyVolume(self) -> float: ... def getConnectedPipingVolume(self) -> float: ... def getDiffuserOutletArea(self) -> float: ... @@ -38,27 +37,8 @@ class EjectorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign) 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi index 4f6431ac..d42124de 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,75 +12,52 @@ import jneqsim.process.equipment.heatexchanger import jneqsim.process.mechanicaldesign import typing + + class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... def getApproachTemperature(self) -> float: ... def getCalculatedUA(self) -> float: ... - def getCandidateTypes(self) -> java.util.List["HeatExchangerType"]: ... + def getCandidateTypes(self) -> java.util.List['HeatExchangerType']: ... def getLogMeanTemperatureDifference(self) -> float: ... - def getManualSelection(self) -> "HeatExchangerType": ... - def getSelectedSizingResult(self) -> "HeatExchangerSizingResult": ... - def getSelectedType(self) -> "HeatExchangerType": ... - def getSelectionCriterion( - self, - ) -> "HeatExchangerMechanicalDesign.SelectionCriterion": ... - def getSizingResults(self) -> java.util.List["HeatExchangerSizingResult"]: ... + def getManualSelection(self) -> 'HeatExchangerType': ... + def getSelectedSizingResult(self) -> 'HeatExchangerSizingResult': ... + def getSelectedType(self) -> 'HeatExchangerType': ... + def getSelectionCriterion(self) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... + def getSizingResults(self) -> java.util.List['HeatExchangerSizingResult']: ... def getSizingSummary(self) -> java.lang.String: ... def getUsedOverallHeatTransferCoefficient(self) -> float: ... @typing.overload - def setCandidateTypes(self, list: java.util.List["HeatExchangerType"]) -> None: ... + def setCandidateTypes(self, list: java.util.List['HeatExchangerType']) -> None: ... @typing.overload - def setCandidateTypes(self, *heatExchangerType: "HeatExchangerType") -> None: ... - def setManualSelection(self, heatExchangerType: "HeatExchangerType") -> None: ... - def setSelectionCriterion( - self, selectionCriterion: "HeatExchangerMechanicalDesign.SelectionCriterion" - ) -> 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) # + def setCandidateTypes(self, *heatExchangerType: 'HeatExchangerType') -> None: ... + def setManualSelection(self, heatExchangerType: 'HeatExchangerType') -> None: ... + def setSelectionCriterion(self, selectionCriterion: 'HeatExchangerMechanicalDesign.SelectionCriterion') -> 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... @staticmethod - def values() -> ( - typing.MutableSequence["HeatExchangerMechanicalDesign.SelectionCriterion"] - ): ... + def values() -> typing.MutableSequence['HeatExchangerMechanicalDesign.SelectionCriterion']: ... class HeatExchangerSizingResult: @staticmethod - def builder() -> "HeatExchangerSizingResult.Builder": ... + 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 getMetric(self, selectionCriterion: HeatExchangerMechanicalDesign.SelectionCriterion) -> float: ... def getModuleHeight(self) -> float: ... def getModuleLength(self) -> float: ... def getModuleWidth(self) -> float: ... @@ -90,82 +67,48 @@ class HeatExchangerSizingResult: def getRequiredUA(self) -> float: ... def getTubeCount(self) -> int: ... def getTubePasses(self) -> int: ... - def getType(self) -> "HeatExchangerType": ... + 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": ... + 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"] = ... - def createSizingResult( - self, - heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger, - double: float, - double2: float, - double3: float, - ) -> HeatExchangerSizingResult: ... +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'] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'HeatExchangerType': ... @staticmethod - def values() -> typing.MutableSequence["HeatExchangerType"]: ... + def values() -> typing.MutableSequence['HeatExchangerType']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.heatexchanger")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi index e5114a44..2d02ff25 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,6 +12,8 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing + + class PipeDesign: NPS5: typing.ClassVar[typing.MutableSequence[float]] = ... S5i: typing.ClassVar[typing.MutableSequence[float]] = ... @@ -86,63 +88,34 @@ class PipeDesign: @staticmethod def erosionalVelocity(double: float, double2: float) -> float: ... @staticmethod - def gaugeFromThickness( - double: float, boolean: bool, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + 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]: ... + 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: ... - + 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], - ): ... - + 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, - ): ... + 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 PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def readDesignSpecifications(self) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pipeline")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi index 017da93f..f85d2fc4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,30 +10,25 @@ import jneqsim.process.mechanicaldesign import jneqsim.process.mechanicaldesign.separator.sectiontype import typing + + class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def readDesignSpecifications(self) -> None: ... def setDesign(self) -> None: ... class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... def readDesignSpecifications(self) -> None: ... def setDesign(self) -> None: ... + 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] - sectiontype: ( - jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ - ) + sectiontype: jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi index 6be9fe19..e976dd2c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ 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 __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... def calcDesign(self) -> None: ... def getANSIclass(self) -> int: ... def getNominalSize(self) -> java.lang.String: ... @@ -29,40 +28,26 @@ class SepDesignSection: def setTotalWeight(self, double: float) -> None: ... class DistillationTraySection(SepDesignSection): - def __init__( - self, - separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, - ): ... + 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 __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 __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 __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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi index 6677b070..e13a5725 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,28 +14,13 @@ import jneqsim.process.equipment.valve import jneqsim.process.mechanicaldesign 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 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: ... @@ -46,10 +31,7 @@ class ValveCharacteristic(java.io.Serializable): def getOpeningFactor(self, double: float) -> float: ... class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + 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: ... @@ -58,15 +40,9 @@ class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getValveSizingMethod(self) -> ControlValveSizingInterface: ... def getValveSizingStandard(self) -> java.lang.String: ... def readDesignSpecifications(self) -> 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 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: ... class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): @typing.overload @@ -74,38 +50,12 @@ class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): @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 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: ... @@ -118,59 +68,29 @@ class LinearCharacteristic(ValveCharacteristic): def getOpeningFactor(self, double: float) -> float: ... class SafetyValveMechanicalDesign(ValveMechanicalDesign): - def __init__( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + 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 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" - ]: ... - + 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 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 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 getFluidService(self) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... def getOverpressureMarginBar(self) -> float: ... def getOverpressureMarginPa(self) -> float: ... def getRelievingPressureBar(self) -> float: ... @@ -179,9 +99,7 @@ class SafetyValveMechanicalDesign(ValveMechanicalDesign): def getScenarioName(self) -> java.lang.String: ... def getSetPressureBar(self) -> float: ... def getSetPressurePa(self) -> float: ... - def getSizingStandard( - self, - ) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... + def getSizingStandard(self) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... def isActiveScenario(self) -> bool: ... def isControllingScenario(self) -> bool: ... @@ -190,147 +108,34 @@ class ControlValveSizing_IEC_60534(ControlValveSizing): def __init__(self): ... @typing.overload def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... - def calcValveSize( - self, double: float - ) -> java.util.Map[java.lang.String, typing.Any]: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 findOutletPressureForFixedKvLiquid(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... def getD(self) -> float: ... def getD1(self) -> float: ... def getD2(self) -> float: ... @@ -348,69 +153,21 @@ class ControlValveSizing_IEC_60534(ControlValveSizing): 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ControlValveSizing_IEC_60534.FluidType': ... @staticmethod - def values() -> ( - typing.MutableSequence["ControlValveSizing_IEC_60534.FluidType"] - ): ... + def values() -> typing.MutableSequence['ControlValveSizing_IEC_60534.FluidType']: ... class ControlValveSizing_simple(ControlValveSizing): @typing.overload @@ -419,118 +176,36 @@ class ControlValveSizing_simple(ControlValveSizing): 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 findOutletPressureForFixedKv(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... 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: ... + 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: ... + 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 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]: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi index 616bdb3f..b1b85088 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,54 +19,34 @@ 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 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 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 __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 getType(self) -> 'Constraint.Type': ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def getVariableName(self) -> java.lang.String: ... @@ -74,151 +54,74 @@ class Constraint(java.io.Serializable): 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Constraint.Type': ... @staticmethod - def values() -> typing.MutableSequence["Constraint.Type"]: ... + 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 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 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 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"]: ... + 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": ... - + 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 = ... @@ -228,19 +131,8 @@ class EpisodeRunner(java.io.Serializable): 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 __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 = ... @@ -249,42 +141,18 @@ class EpisodeRunner(java.io.Serializable): 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 __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, - ): ... + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... @staticmethod - def forSeparator( - separatorInterface: jneqsim.process.equipment.separator.SeparatorInterface, - ) -> "EquipmentStateAdapter": ... + 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": ... + 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): ... @@ -300,82 +168,38 @@ class GymEnvironment(java.io.Serializable): def getObservationLow(self) -> typing.MutableSequence[float]: ... def isDone(self) -> bool: ... @typing.overload - def reset(self) -> "GymEnvironment.ResetResult": ... + 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 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": ... - + 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], - ], - ): ... - + 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], - ], - ): ... + 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 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 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": ... - + 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 = ... @@ -384,40 +208,20 @@ class RLEnvironment(java.io.Serializable): hardViolation: bool = ... violationExplanation: java.lang.String = ... def __init__(self): ... - class StepResult(java.io.Serializable): - observation: "StateVector" = ... + 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", - ): ... + 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": ... + 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 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: ... @@ -438,43 +242,24 @@ class StateVectorProvider: 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 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 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi index 6942429a..bc9f4ebe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,80 +10,40 @@ 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 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 __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 __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 __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 - ): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi index b8a8b16f..ec6eafba 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,16 +15,14 @@ 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... -class SeparatorCompressorMultiAgentEnv( - jneqsim.process.ml.multiagent.MultiAgentEnvironment -): +class SeparatorCompressorMultiAgentEnv(jneqsim.process.ml.multiagent.MultiAgentEnvironment): def __init__(self): ... def applyFeedDisturbance(self, double: float) -> None: ... def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... @@ -44,22 +42,15 @@ 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 __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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi index f8890a15..5cfaaaa8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,42 +17,22 @@ 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 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 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: ... + 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 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: ... @@ -60,52 +40,25 @@ class MultiAgentEnvironment(java.io.Serializable): 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'MultiAgentEnvironment.CoordinationMode': ... @staticmethod - def values() -> ( - typing.MutableSequence["MultiAgentEnvironment.CoordinationMode"] - ): ... - + def values() -> typing.MutableSequence['MultiAgentEnvironment.CoordinationMode']: ... class MultiAgentStepResult(java.io.Serializable): observations: java.util.Map = ... rewards: java.util.Map = ... @@ -113,54 +66,11 @@ class MultiAgentEnvironment(java.io.Serializable): 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, - ): ... + 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, java.io.Serializable): - 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 __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]: ... @@ -172,63 +82,31 @@ class ProcessAgent(Agent, java.io.Serializable): 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": ... + 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 __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 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, - ): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi index 17bb5f73..76ace2dd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,29 +15,13 @@ 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 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: ... @@ -46,103 +30,41 @@ class PhysicsConstraintValidator(java.io.Serializable): 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": ... - + 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 __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 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" - ]: ... + 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 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]: ... + 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: ... + 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 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 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: ... @@ -154,29 +76,17 @@ class SurrogateModelRegistry(java.io.Serializable): 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 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 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: ... - + 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]: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi index ba1bda2d..9d0ae072 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,168 +15,83 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing + + class ControllerDataExchange(java.io.Serializable): - def __init__(self, processLinkedMPC: "ProcessLinkedMPC"): ... + 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 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 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: ... - + 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 __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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ControllerDataExchange.QualityStatus': ... @staticmethod - def values() -> ( - typing.MutableSequence["ControllerDataExchange.QualityStatus"] - ): ... + def values() -> typing.MutableSequence['ControllerDataExchange.QualityStatus']: ... class IndustrialMPCExporter(java.io.Serializable): - def __init__(self, processLinkedMPC: "ProcessLinkedMPC"): ... + 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 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": ... + 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, - ): ... + 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: ... @@ -184,23 +99,15 @@ class LinearizationResult(java.io.Serializable): 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 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 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]: ... @@ -220,196 +127,101 @@ class MPCVariable(java.io.Serializable): def getMinValue(self) -> float: ... def getName(self) -> java.lang.String: ... def getPropertyName(self) -> java.lang.String: ... - def getType(self) -> "MPCVariable.MPCVariableType": ... + def getType(self) -> 'MPCVariable.MPCVariableType': ... def getUnit(self) -> java.lang.String: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> "MPCVariable": ... + 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'MPCVariable.MPCVariableType': ... @staticmethod - def values() -> typing.MutableSequence["MPCVariable.MPCVariableType"]: ... + 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 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": ... - + 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 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": ... - + 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 __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 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 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 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": ... + 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessDerivativeCalculator.DerivativeMethod': ... @staticmethod - def values() -> ( - typing.MutableSequence["ProcessDerivativeCalculator.DerivativeMethod"] - ): ... - + def values() -> typing.MutableSequence['ProcessDerivativeCalculator.DerivativeMethod']: ... class DerivativeResult: value: float = ... errorEstimate: float = ... @@ -420,168 +232,92 @@ class ProcessDerivativeCalculator: 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessDerivativeCalculator.VariableType': ... @staticmethod - def values() -> ( - typing.MutableSequence["ProcessDerivativeCalculator.VariableType"] - ): ... + 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: ... + 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": ... + 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": ... + 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": ... + 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": ... + 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": ... + 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 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 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 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 getDisturbanceVariables(self) -> java.util.List['DisturbanceVariable']: ... def getLastMoves(self) -> typing.MutableSequence[float]: ... def getLinearizationResult(self) -> LinearizationResult: ... - def getManipulatedVariables(self) -> java.util.List["ManipulatedVariable"]: ... + 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 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 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 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 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 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: ... @@ -594,127 +330,53 @@ class ProcessVariableAccessor: @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 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: ... + 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: ... + 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SensorType': ... @staticmethod - def values() -> typing.MutableSequence["SoftSensorExporter.SensorType"]: ... - + 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 __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: ... @@ -722,67 +384,29 @@ class SoftSensorExporter(java.io.Serializable): 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 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]: ... + 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 __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": ... - + 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 __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]]: ... @@ -792,39 +416,18 @@ class StateSpaceExporter(java.io.Serializable): 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 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 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 __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: ... @@ -846,202 +449,84 @@ class StepResponse(java.io.Serializable): 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 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": ... - + 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 __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 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 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": ... + 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": ... + 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 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 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": ... - + 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 __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 __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": ... - + 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 __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": ... + 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], - ): ... + 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 __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: ... @@ -1059,47 +544,25 @@ class ControlledVariable(MPCVariable): 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 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": ... + 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], - ): ... + 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 __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: ... @@ -1110,41 +573,23 @@ class DisturbanceVariable(MPCVariable): def getType(self) -> MPCVariable.MPCVariableType: ... def isMeasured(self) -> bool: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> "DisturbanceVariable": ... + 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": ... + 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], - ): ... + 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 __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: ... @@ -1156,32 +601,20 @@ class ManipulatedVariable(MPCVariable): 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 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, java.io.Serializable): - def __init__( - self, - string: typing.Union[java.lang.String, str], - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - string2: typing.Union[java.lang.String, str], - ): ... + 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: ... @@ -1206,6 +639,7 @@ class StateVariable(MPCVariable, java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi index 054a30a2..c79220ae 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -30,6 +30,8 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing + + class DexpiMetadata: TAG_NAME: typing.ClassVar[java.lang.String] = ... LINE_NUMBER: typing.ClassVar[java.lang.String] = ... @@ -50,14 +52,7 @@ class DexpiMetadata: 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 __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: ... @@ -69,24 +64,14 @@ class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): class DexpiRoundTripProfile: @staticmethod - def minimalRunnableProfile() -> "DexpiRoundTripProfile": ... - def validate( - self, processSystem: "ProcessSystem" - ) -> "DexpiRoundTripProfile.ValidationResult": ... - + 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 __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: ... @@ -94,84 +79,48 @@ class DexpiStream(jneqsim.process.equipment.stream.Stream): class DexpiXmlReader: @typing.overload @staticmethod - def load( - file: typing.Union[java.io.File, jpype.protocol.SupportsPath], - processSystem: "ProcessSystem", - ) -> None: ... + 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: ... + 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: ... + 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: ... + 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": ... + 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": ... + 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": ... + def read(inputStream: java.io.InputStream) -> 'ProcessSystem': ... @typing.overload @staticmethod - def read( - inputStream: java.io.InputStream, - stream: jneqsim.process.equipment.stream.Stream, - ) -> "ProcessSystem": ... + 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, - ): ... + 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: ... + 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: ... + def write(processSystem: 'ProcessSystem', outputStream: java.io.OutputStream) -> None: ... class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addInputStream( - self, - string: typing.Union[java.lang.String, str], - streamInterface: jneqsim.process.equipment.stream.StreamInterface, - ) -> None: ... + 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 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: ... @@ -179,87 +128,45 @@ class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): 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: ... + 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 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: ... + 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: ... + 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: ... + def loadProcessFromYaml(string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... class ProcessModel(java.lang.Runnable): def __init__(self): ... - def add( - self, - string: typing.Union[java.lang.String, str], - processSystem: "ProcessSystem", - ) -> bool: ... - @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 get(self, string: typing.Union[java.lang.String, str]) -> "ProcessSystem": ... - def getAllProcesses(self) -> java.util.Collection["ProcessSystem"]: ... + def add(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> bool: ... + @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 get(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + def getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... def getConvergenceSummary(self) -> java.lang.String: ... def getError(self) -> float: ... def getExecutionPartitionInfo(self) -> java.lang.String: ... @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"], - ]: ... + 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 getFailedMassBalanceReport(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... def getFlowTolerance(self) -> float: ... def getLastIterationCount(self) -> int: ... def getLastMaxFlowError(self) -> float: ... @@ -268,9 +175,7 @@ class ProcessModel(java.lang.Runnable): @typing.overload def getMassBalanceReport(self) -> java.lang.String: ... @typing.overload - def getMassBalanceReport( - self, string: typing.Union[java.lang.String, str] - ) -> java.lang.String: ... + def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... def getMaxIterations(self) -> int: ... def getPressureTolerance(self) -> float: ... def getReport_json(self) -> java.lang.String: ... @@ -296,48 +201,30 @@ class ProcessModel(java.lang.Runnable): class ProcessModule(jneqsim.process.SimulationBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def add(self, processModule: "ProcessModule") -> None: ... + def add(self, processModule: 'ProcessModule') -> None: ... @typing.overload - def add(self, processSystem: "ProcessSystem") -> None: ... - def buildModelGraph( - self, - ) -> jneqsim.process.processmodel.graph.ProcessModelGraph: ... + 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"]: ... + 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 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 getAddedModules(self) -> java.util.List["ProcessModule"]: ... - def getAddedUnitOperations(self) -> java.util.List["ProcessSystem"]: ... - def getCalculationOrder( - self, - ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - @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 copy(self) -> 'ProcessModule': ... + def getAddedModules(self) -> java.util.List['ProcessModule']: ... + def getAddedUnitOperations(self) -> java.util.List['ProcessSystem']: ... + def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + @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 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 getReport( - self, - ) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... + 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: ... @@ -362,190 +249,96 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def add( - self, - int: int, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> None: ... - @typing.overload - def add( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> None: ... - @typing.overload - def add( - self, - processEquipmentInterfaceArray: typing.Union[ - typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], - jpype.JArray, - ], - ) -> None: ... - @typing.overload - def add( - self, - measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, - ) -> 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 - ) # + def add(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def add(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + @typing.overload + def add(self, processEquipmentInterfaceArray: typing.Union[typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], jpype.JArray]) -> None: ... + @typing.overload + def add(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 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 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 buildGraph(self) -> jneqsim.process.processmodel.graph.ProcessGraph: ... @typing.overload - def checkMassBalance( - self, - ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... + 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 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: ... - def copy(self) -> "ProcessSystem": ... - def createBatchStudy( - self, - ) -> jneqsim.process.util.optimization.BatchStudy.Builder: ... + def copy(self) -> 'ProcessSystem': ... + def createBatchStudy(self) -> jneqsim.process.util.optimization.BatchStudy.Builder: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def exportState( - self, - ) -> jneqsim.process.processmodel.lifecycle.ProcessSystemState: ... - def exportStateToFile( - self, string: typing.Union[java.lang.String, str] - ) -> 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 generateCombinationScenarios( - self, int: int - ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... - def generateSafetyScenarios( - self, - ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def exportToGraphviz(self, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... + def generateCombinationScenarios(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def generateSafetyScenarios(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... def getAlarmManager(self) -> jneqsim.process.alarm.ProcessAlarmManager: ... def getAllUnitNames(self) -> java.util.ArrayList[java.lang.String]: ... def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getConditionMonitor( - self, - ) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... + def getConditionMonitor(self) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getEmissions( - self, - ) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + 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 getEmissions(self, double: float) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... def getExecutionPartitionInfo(self) -> java.lang.String: ... def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getFailedMassBalance( - self, - ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... + 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"]: ... + 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 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 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 getHistorySnapshot(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... 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 getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... def getMaxParallelism(self) -> int: ... - def getMeasurementDevice( - self, string: typing.Union[java.lang.String, str] - ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def getMinimumFlowForMassBalanceError(self) -> float: ... def getName(self) -> java.lang.String: ... def getParallelLevelCount(self) -> int: ... - def getParallelPartition( - self, - ) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... + def getParallelPartition(self) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... def getRecycleBlockCount(self) -> int: ... def getRecycleBlockReport(self) -> java.lang.String: ... - def getRecycleBlocks( - self, - ) -> java.util.List[ - java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface] - ]: ... + def getRecycleBlocks(self) -> java.util.List[java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]]: ... def getReport_json(self) -> java.lang.String: ... def getSurroundingTemperature(self) -> float: ... @typing.overload @@ -553,17 +346,11 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): @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 getTopologicalOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getTotalCO2Emissions(self) -> float: ... - def getUnit( - self, string: typing.Union[java.lang.String, str] - ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getUnitNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... - def getUnitOperations( - self, - ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def hasAdjusters(self) -> bool: ... def hasMultiInputEquipment(self) -> bool: ... def hasRecycleLoops(self) -> bool: ... @@ -571,38 +358,21 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def hasUnitName(self, string: typing.Union[java.lang.String, str]) -> bool: ... def hashCode(self) -> int: ... def invalidateGraph(self) -> None: ... - def isInRecycleLoop( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> bool: ... + def isInRecycleLoop(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... def isParallelExecutionBeneficial(self) -> bool: ... def isRunStep(self) -> bool: ... def isUseGraphBasedExecution(self) -> bool: ... def isUseOptimizedExecution(self) -> bool: ... - def loadProcessFromYaml( - self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] - ) -> None: ... - def loadStateFromFile( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 open(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... 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 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 reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def reset(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -636,18 +406,9 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def run_step(self, uUID: java.util.UUID) -> None: ... def save(self, string: typing.Union[java.lang.String, str]) -> 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 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 setMassBalanceErrorThreshold(self, double: float) -> None: ... def setMinimumFlowForMassBalanceError(self, double: float) -> None: ... @@ -662,14 +423,8 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def storeInitialState(self) -> None: ... def validateStructure(self) -> java.util.List[java.lang.String]: ... def view(self) -> None: ... - class MassBalanceResult: - def __init__( - self, - double: float, - double2: float, - string: typing.Union[java.lang.String, str], - ): ... + 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: ... @@ -678,29 +433,17 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): class ProcessSystemGraphvizExporter: def __init__(self): ... @typing.overload - def export( - self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... - + def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... class GraphvizExportOptions: @staticmethod - def builder() -> ( - "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder" - ): ... + def builder() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... @staticmethod - def defaults() -> "ProcessSystemGraphvizExporter.GraphvizExportOptions": ... + def defaults() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... def getFlowRateUnit(self) -> java.lang.String: ... def getPressureUnit(self) -> java.lang.String: ... - def getTablePlacement( - self, - ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement": ... + def getTablePlacement(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... def getTemperatureUnit(self) -> java.lang.String: ... def includeStreamFlowRates(self) -> bool: ... def includeStreamPressures(self) -> bool: ... @@ -709,77 +452,31 @@ class ProcessSystemGraphvizExporter: 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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" - ): ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... @staticmethod - def values() -> ( - typing.MutableSequence[ - "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" - ] - ): ... + def values() -> typing.MutableSequence['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement']: ... class XmlUtil: @staticmethod @@ -790,25 +487,17 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac def calcDesign(self) -> None: ... def displayResult(self) -> None: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController( - self, - ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getEntropyProduction( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getExergyChange(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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getOperations(self) -> ProcessSystem: ... def getPreferedThermodynamicModel(self) -> java.lang.String: ... @typing.overload @@ -816,9 +505,7 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac @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 getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecification(self) -> java.lang.String: ... @typing.overload def getTemperature(self) -> float: ... @@ -827,13 +514,8 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac 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: ... + 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 @@ -842,43 +524,28 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac 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 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 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: ... + 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi index 866a028b..648bf4fa 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,253 +13,158 @@ 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", - ): ... + 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, - ): ... + 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 __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 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 getSource(self) -> 'ProcessNode': ... def getSourceIndex(self) -> int: ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getTarget(self) -> "ProcessNode": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessEdge.EdgeType': ... @staticmethod - def values() -> typing.MutableSequence["ProcessEdge.EdgeType"]: ... + 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: ... + 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 analyzeCycles(self) -> "ProcessGraph.CycleAnalysisResult": ... - def analyzeTearStreamSensitivity( - self, list: java.util.List["ProcessNode"] - ) -> "ProcessGraph.SensitivityAnalysisResult": ... - def findStronglyConnectedComponents(self) -> "ProcessGraph.SCCResult": ... + def addEdge(self, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> ProcessEdge: ... + def addNode(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessNode': ... + 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 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 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": ... + def getNode(self, int: int) -> 'ProcessNode': ... @typing.overload - def getNode(self, string: typing.Union[java.lang.String, str]) -> "ProcessNode": ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> 'ProcessNode': ... @typing.overload - def getNode( - self, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> "ProcessNode": ... + 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 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 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 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 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 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 getLevels(self) -> java.util.List[java.util.List['ProcessNode']]: ... def getMaxParallelism(self) -> int: ... - def getNodeToLevel(self) -> java.util.Map["ProcessNode", 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"]]: ... - + 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 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: ... + 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 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 getIndependentSubSystems(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... def getInterSystemConnectionCount(self) -> int: ... - def getInterSystemConnections( - self, - ) -> java.util.List["ProcessModelGraph.InterSystemConnection"]: ... + 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 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 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 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 partitionSubSystemsForParallelExecution(self) -> 'ProcessModelGraph.ModuleParallelPartition': ... def toString(self) -> java.lang.String: ... - class InterSystemConnection(java.io.Serializable): def getEdge(self) -> ProcessEdge: ... - def getSourceNode(self) -> "ProcessNode": ... + def getSourceNode(self) -> 'ProcessNode': ... def getSourceSystemName(self) -> java.lang.String: ... - def getTargetNode(self) -> "ProcessNode": ... + 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 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: ... @@ -271,46 +176,31 @@ class ProcessModelGraph(java.io.Serializable): class ProcessModelGraphBuilder: @typing.overload @staticmethod - def buildModelGraph( - string: typing.Union[java.lang.String, str], - *processSystem: jneqsim.process.processmodel.ProcessSystem - ) -> ProcessModelGraph: ... + 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: ... + def buildModelGraph(processModule: jneqsim.process.processmodel.ProcessModule) -> ProcessModelGraph: ... class ProcessNode(java.io.Serializable): - def __init__( - self, - int: int, - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ): ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi index 62cc5949..32aa695e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,156 +14,100 @@ 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 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 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 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 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: ... + 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ModelMetadata.LifecyclePhase': ... @staticmethod - def values() -> typing.MutableSequence["ModelMetadata.LifecyclePhase"]: ... - + 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 __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 __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 ProcessSystemState(java.io.Serializable): def __init__(self): ... - def applyTo( - self, processSystem: jneqsim.process.processmodel.ProcessSystem - ) -> None: ... + def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... @staticmethod - def fromJson( - string: typing.Union[java.lang.String, str] - ) -> "ProcessSystemState": ... + def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... @staticmethod - def fromProcessSystem( - processSystem: jneqsim.process.processmodel.ProcessSystem, - ) -> "ProcessSystemState": ... + def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessSystemState': ... def getChecksum(self) -> java.lang.String: ... 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 getEquipmentStates(self) -> java.util.List['ProcessSystemState.EquipmentState']: ... def getLastModifiedAt(self) -> java.time.Instant: ... def getMetadata(self) -> ModelMetadata: ... def getName(self) -> java.lang.String: ... @@ -171,14 +115,10 @@ class ProcessSystemState(java.io.Serializable): def getTimestamp(self) -> java.time.Instant: ... def getVersion(self) -> java.lang.String: ... @staticmethod - def loadFromFile( - string: typing.Union[java.lang.String, str] - ) -> "ProcessSystemState": ... + def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... 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 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: ... @@ -186,33 +126,26 @@ class ProcessSystemState(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def validateIntegrity(self) -> bool: ... - class EquipmentState(java.io.Serializable): def __init__(self): ... @staticmethod - def fromEquipment( - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> "ProcessSystemState.EquipmentState": ... - def getFluidState(self) -> "ProcessSystemState.FluidState": ... + def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessSystemState.EquipmentState': ... + def getFluidState(self) -> 'ProcessSystemState.FluidState': ... def getName(self) -> java.lang.String: ... def getNumericProperties(self) -> java.util.Map[java.lang.String, float]: ... - def getStringProperties( - 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 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.lifecycle")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi index ccbf1aae..e087cba1 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,26 +13,18 @@ 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -41,21 +33,13 @@ class AdsorptionDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBas @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 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 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 getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @typing.overload @@ -66,22 +50,14 @@ class CO2RemovalModule(jneqsim.process.processmodel.ProcessModuleBaseClass): 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -90,31 +66,21 @@ class DPCUModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @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 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -122,35 +88,20 @@ class GlycolDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseCla 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: ... + 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 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -160,21 +111,13 @@ class MEGReclaimerModule(jneqsim.process.processmodel.ProcessModuleBaseClass): 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -183,27 +126,17 @@ class MixerGasProcessingModule(jneqsim.process.processmodel.ProcessModuleBaseCla @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 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -213,28 +146,18 @@ class PropaneCoolingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @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 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -243,27 +166,17 @@ class SeparationTrainModule(jneqsim.process.processmodel.ProcessModuleBaseClass) @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 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -272,27 +185,17 @@ class SeparationTrainModuleSimple(jneqsim.process.processmodel.ProcessModuleBase @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 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 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -301,9 +204,8 @@ class WellFluidModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi index 931bb252..8e227b3b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,22 +19,22 @@ import jneqsim.process.safety.risk 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": ... + def builder() -> 'BoundaryConditions.Builder': ... @staticmethod - def defaultConditions() -> "BoundaryConditions": ... + 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 getAmbientTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... def getAtmosphericPressure(self) -> float: ... def getAtmosphericPressureBar(self) -> float: ... def getPasquillStabilityClass(self) -> str: ... @@ -42,80 +42,63 @@ class BoundaryConditions(java.io.Serializable): @typing.overload def getSeaWaterTemperature(self) -> float: ... @typing.overload - def getSeaWaterTemperature( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 gulfOfMexico() -> 'BoundaryConditions': ... def hashCode(self) -> int: ... def isOffshore(self) -> bool: ... @staticmethod - def northSeaSummer() -> "BoundaryConditions": ... + def northSeaSummer() -> 'BoundaryConditions': ... @staticmethod - def northSeaWinter() -> "BoundaryConditions": ... + def northSeaWinter() -> 'BoundaryConditions': ... @staticmethod - def onshoreIndustrial() -> "BoundaryConditions": ... + def onshoreIndustrial() -> 'BoundaryConditions': ... def toString(self) -> java.lang.String: ... - class Builder: def __init__(self): ... @typing.overload - def ambientTemperature(self, double: float) -> "BoundaryConditions.Builder": ... + 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": ... + 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 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]: ... @@ -123,55 +106,23 @@ class InitiatingEvent(java.lang.Enum["InitiatingEvent"]): 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'InitiatingEvent': ... @staticmethod - def values() -> typing.MutableSequence["InitiatingEvent"]: ... + 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 __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 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" - ]: ... - + 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: ... @@ -184,51 +135,23 @@ class ProcessSafetyAnalyzer(java.io.Serializable): @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: ... + 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]: ... + 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: ... + 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: ... + 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 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"]: ... - + 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: ... @@ -237,73 +160,27 @@ class ProcessSafetyLoadCase(java.io.Serializable): class ProcessSafetyResultRepository: def findAll(self) -> java.util.List[ProcessSafetyAnalysisSummary]: ... - def save( - self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary - ) -> None: ... + def save(self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary) -> None: ... class ProcessSafetyScenario(java.io.Serializable): - def applyTo( - self, processSystem: jneqsim.process.processmodel.ProcessSystem - ) -> None: ... + def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... @staticmethod - def builder( - string: typing.Union[java.lang.String, str] - ) -> "ProcessSafetyScenario.Builder": ... + 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 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": ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi index 1f3c1c1b..27f08fba 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,58 +11,30 @@ 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 __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 __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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi index 2ee6e68f..e96f3909 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,14 @@ 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 __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 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]: ... @@ -36,68 +29,45 @@ class SafetyEnvelope: def getSafeTemperatureAtPressure(self, double: float) -> float: ... def getTemperature(self) -> typing.MutableSequence[float]: ... def getTemperatureAtPressure(self, double: float) -> float: ... - def getType(self) -> "SafetyEnvelope.EnvelopeType": ... + 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"] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SafetyEnvelope.EnvelopeType': ... @staticmethod - def values() -> typing.MutableSequence["SafetyEnvelope.EnvelopeType"]: ... + 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 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: ... + 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: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi index f2ead7fb..8bd5e0d2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,88 +10,59 @@ 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: ... + 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": ... + def calculateSourceTerm(self, double: float) -> 'SourceTermResult': ... @typing.overload - def calculateSourceTerm( - self, double: float, double2: float - ) -> "SourceTermResult": ... - + def calculateSourceTerm(self, double: float, double2: float) -> 'SourceTermResult': ... class Builder: def __init__(self): ... @typing.overload - def backPressure(self, double: float) -> "LeakModel.Builder": ... + 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": ... + 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": ... + 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": ... + 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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ReleaseOrientation': ... @staticmethod - def values() -> typing.MutableSequence["ReleaseOrientation"]: ... + 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 __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: ... @@ -115,6 +86,7 @@ class SourceTermResult(java.io.Serializable): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi index 485bec71..bb7ccffe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,155 +11,99 @@ import jneqsim.process.processmodel import jneqsim.process.safety import typing + + 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, - ): ... + 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, - ): ... + def __init__(self, string: typing.Union[java.lang.String, str], initiatingEvent: jneqsim.process.safety.InitiatingEvent): ... @staticmethod - def builder() -> "RiskEvent.Builder": ... + def builder() -> 'RiskEvent.Builder': ... def getAbsoluteFrequency(self) -> float: ... def getConditionalProbability(self) -> float: ... - def getConsequenceCategory(self) -> "RiskEvent.ConsequenceCategory": ... + 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 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 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 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RiskEvent.ConsequenceCategory': ... @staticmethod - def values() -> typing.MutableSequence["RiskEvent.ConsequenceCategory"]: ... + def values() -> typing.MutableSequence['RiskEvent.ConsequenceCategory']: ... 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 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: ... + def addInitiatingEvent(self, string: typing.Union[java.lang.String, str], double: float, consequenceCategory: RiskEvent.ConsequenceCategory) -> RiskEvent: ... @staticmethod - def builder() -> "RiskModel.Builder": ... + 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": ... + def runDeterministicAnalysis(self) -> 'RiskResult': ... + def runMonteCarloAnalysis(self, int: int) -> 'RiskResult': ... @typing.overload - def runSensitivityAnalysis( - self, double: float, double2: float - ) -> "SensitivityResult": ... + 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 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 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": ... + 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 __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 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: ... @@ -171,16 +115,8 @@ class RiskResult: 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 __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: ... @@ -188,11 +124,7 @@ class RiskResult: def getRiskContribution(self) -> float: ... class SensitivityResult: - def __init__( - self, - string: typing.Union[java.lang.String, str], - string2: typing.Union[java.lang.String, str], - ): ... + 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: ... @@ -201,17 +133,12 @@ class SensitivityResult: 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi index a81a7699..66aa84a7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,154 +12,87 @@ import jneqsim.process.processmodel import jneqsim.process.safety 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 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"]: ... + 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: ... - + 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 __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 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" - ] = ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AutomaticScenarioGenerator.HazopDeviation': ... @staticmethod - def values() -> ( - typing.MutableSequence["AutomaticScenarioGenerator.HazopDeviation"] - ): ... - + 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, - ): ... + 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 __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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.scenario")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi index e7ff02fe..8a47f9d6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,97 +14,53 @@ 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 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 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: ... + 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], - ): ... + 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 __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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'TimestampedValue.Quality': ... @staticmethod - def values() -> typing.MutableSequence["TimestampedValue.Quality"]: ... + def values() -> typing.MutableSequence['TimestampedValue.Quality']: ... class ProcessDataPublisher(StreamingDataInterface): @typing.overload @@ -113,48 +69,22 @@ class ProcessDataPublisher(StreamingDataInterface): 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi index 611b1b61..75b89bf0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,44 +12,39 @@ 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 calculateEmissions(self) -> 'EmissionsTracker.EmissionsReport': ... def getCumulativeCO2e(self) -> float: ... def getGridEmissionFactor(self) -> float: ... - def getHistory(self) -> java.util.List["EmissionsTracker.EmissionsSnapshot"]: ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EmissionsTracker.EmissionCategory': ... @staticmethod - def values() -> typing.MutableSequence["EmissionsTracker.EmissionCategory"]: ... - + def values() -> typing.MutableSequence['EmissionsTracker.EmissionCategory']: ... class EmissionsReport(java.io.Serializable): timestamp: java.time.Instant = ... processName: java.lang.String = ... @@ -60,31 +55,21 @@ class EmissionsTracker(java.io.Serializable): 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 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 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" = ... + category: 'EmissionsTracker.EmissionCategory' = ... directCO2eKgPerHr: float = ... indirectCO2eKgPerHr: float = ... powerConsumptionKW: float = ... @@ -92,6 +77,7 @@ class EmissionsTracker(java.io.Serializable): def __init__(self): ... def getTotalCO2e(self) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.sustainability")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi index f8ddd403..08f58144 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,6 +18,7 @@ import jneqsim.process.util.sensitivity import jneqsim.process.util.uncertainty import typing + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi index e2e06c89..a09c5942 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,175 +11,101 @@ 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", - ): ... + 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": ... + def alarm(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... 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") # + _getProperty_1__T = typing.TypeVar('_getProperty_1__T') # @typing.overload - def getProperty( - self, string: typing.Union[java.lang.String, str] - ) -> typing.Any: ... + 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 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": ... + def getType(self) -> 'ProcessEvent.EventType': ... @staticmethod - def info( - string: typing.Union[java.lang.String, str], - string2: typing.Union[java.lang.String, str], - ) -> "ProcessEvent": ... + 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": ... + 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessEvent.Severity': ... @staticmethod - def values() -> typing.MutableSequence["ProcessEvent.Severity"]: ... + 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 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 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi index 6b98aed4..d5a8baeb 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,138 +9,103 @@ import java.lang import jpype import typing + + class AdvancedProcessLogicExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class BeggsAndBrillsValidationExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class ConfigurableLogicExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class DynamicLogicExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class ESDBlowdownSystemExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class ESDLogicExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class ESDValveExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class FireGasSISExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class FourWellManifoldWithHeatTransferAdjustmentExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class HIPPSExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class HIPPSWithESDExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class IntegratedSafetySystemExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class IntegratedSafetySystemWithLogicExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class ProcessLogicAlarmIntegratedExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class ProcessLogicIntegratedExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class SelectiveLogicExecutionExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class SeparatorFireDepressurizationExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class SeparatorHeatInputExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... class TransientPipeHeatTransferExample: def __init__(self): ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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.util.example")``. @@ -153,20 +118,14 @@ class __module_protocol__(Protocol): ESDLogicExample: typing.Type[ESDLogicExample] ESDValveExample: typing.Type[ESDValveExample] FireGasSISExample: typing.Type[FireGasSISExample] - FourWellManifoldWithHeatTransferAdjustmentExample: typing.Type[ - FourWellManifoldWithHeatTransferAdjustmentExample - ] + FourWellManifoldWithHeatTransferAdjustmentExample: typing.Type[FourWellManifoldWithHeatTransferAdjustmentExample] HIPPSExample: typing.Type[HIPPSExample] HIPPSWithESDExample: typing.Type[HIPPSWithESDExample] IntegratedSafetySystemExample: typing.Type[IntegratedSafetySystemExample] - IntegratedSafetySystemWithLogicExample: typing.Type[ - IntegratedSafetySystemWithLogicExample - ] + IntegratedSafetySystemWithLogicExample: typing.Type[IntegratedSafetySystemWithLogicExample] ProcessLogicAlarmIntegratedExample: typing.Type[ProcessLogicAlarmIntegratedExample] ProcessLogicIntegratedExample: typing.Type[ProcessLogicIntegratedExample] SelectiveLogicExecutionExample: typing.Type[SelectiveLogicExecutionExample] - SeparatorFireDepressurizationExample: typing.Type[ - SeparatorFireDepressurizationExample - ] + SeparatorFireDepressurizationExample: typing.Type[SeparatorFireDepressurizationExample] SeparatorHeatInputExample: typing.Type[SeparatorHeatInputExample] TransientPipeHeatTransferExample: typing.Type[TransientPipeHeatTransferExample] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi index 158bc0a0..45830704 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,31 +13,21 @@ 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 __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 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 getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... def hasChanges(self) -> bool: ... def toString(self) -> java.lang.String: ... @@ -45,75 +35,42 @@ 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 __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 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 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 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 getCollectedData(self) -> java.util.List['TimeSeriesExporter.TimeSeriesPoint']: ... def getDataPointCount(self) -> int: ... - def importFromHistorian( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... - + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi index 1d2a7fd4..442c8db3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,112 +16,41 @@ import jneqsim.process.processmodel import jneqsim.process.util.optimization import typing + + 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.optimization.ProductionOptimizer.ScenarioComparisonResult - ): ... + 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.optimization.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 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.optimization.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 __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.optimization.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 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 getTopOptions(self, int: int) -> java.util.List['FacilityCapacity.DebottleneckOption']: ... def getTotalPotentialGain(self) -> float: ... - def getUtilizationRecords( - self, - ) -> java.util.List[ - jneqsim.process.util.optimization.ProductionOptimizer.UtilizationRecord - ]: ... + def getUtilizationRecords(self) -> java.util.List[jneqsim.process.util.optimization.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 __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 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: ... @@ -129,29 +58,9 @@ class FacilityCapacity(java.io.Serializable): 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: ... + 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: ... @@ -173,128 +82,55 @@ class ProductionProfile(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @staticmethod - def calculateCumulativeProduction( - declineParameters: "ProductionProfile.DeclineParameters", double: float - ) -> float: ... + 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 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], - ): ... + 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], - ): ... + 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 __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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProductionProfile.DeclineType': ... @staticmethod - def values() -> typing.MutableSequence["ProductionProfile.DeclineType"]: ... - + 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 __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 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 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 __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: ... @@ -310,117 +146,34 @@ class SensitivityAnalysis(java.io.Serializable): @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 __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.optimization.ProductionOptimizer.OptimizationResult - ], - typing.Callable[ - [ - jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult - ], - typing.Callable[ - [ - jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult - ], - typing.Callable[ - [ - jneqsim.process.util.optimization.ProductionOptimizer.OptimizationResult - ], - float, - ], - ], - ) -> java.util.Map[java.lang.String, float]: ... + 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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SensitivityAnalysis.DistributionType': ... @staticmethod - def values() -> ( - typing.MutableSequence["SensitivityAnalysis.DistributionType"] - ): ... - + 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 __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 getHistogramData(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMax(self) -> float: ... def getMean(self) -> float: ... def getMin(self) -> float: ... @@ -433,88 +186,41 @@ class SensitivityAnalysis(java.io.Serializable): 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 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 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": ... - + 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: ... + 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 __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: ... @@ -522,129 +228,40 @@ class SensitivityAnalysis(java.io.Serializable): 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": ... + 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 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": ... + 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": ... + 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": ... + 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 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 __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"] - ): + 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 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: ... @@ -653,160 +270,88 @@ class WellScheduler(java.io.Serializable): def getExpectedProductionGain(self) -> float: ... def getPriority(self) -> int: ... def getStartDate(self) -> java.time.LocalDate: ... - def getType(self) -> "WellScheduler.InterventionType": ... + 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 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellScheduler.InterventionType': ... @staticmethod - def values() -> typing.MutableSequence["WellScheduler.InterventionType"]: ... - + 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 __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 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 __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 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 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 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'WellScheduler.WellStatus': ... @staticmethod - def values() -> typing.MutableSequence["WellScheduler.WellStatus"]: ... + def values() -> typing.MutableSequence['WellScheduler.WellStatus']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.fielddevelopment")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi index ca664f2a..17d8ea12 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,18 @@ 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: ... + 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": ... - + 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: ... @@ -39,82 +31,27 @@ class FireHeatTransferCalculator: 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] - ] = ... + STANDARD_ORIFICE_LETTERS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... @staticmethod def calculateBlowdownPressure(double: float, double2: float) -> float: ... @staticmethod def calculateCv(double: float, double2: float) -> float: ... @staticmethod - def calculateMassFlowCapacity( - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - double7: float, - double8: float, - double9: float, - ) -> float: ... + 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": ... + 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 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": ... + 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: ... + def getNextLargerOrifice(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @staticmethod - def getStandardOrificeArea( - string: typing.Union[java.lang.String, str] - ) -> float: ... + def getStandardOrificeArea(string: typing.Union[java.lang.String, str]) -> float: ... @staticmethod - def validateSizing( - pSVSizingResult: "ReliefValveSizing.PSVSizingResult", boolean: bool - ) -> java.lang.String: ... - + def validateSizing(pSVSizingResult: 'ReliefValveSizing.PSVSizingResult', boolean: bool) -> java.lang.String: ... 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 __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: ... @@ -129,43 +66,15 @@ class ReliefValveSizing: class SeparatorFireExposure: @staticmethod - def applyFireHeating( - separator: jneqsim.process.equipment.separator.Separator, - fireExposureResult: "SeparatorFireExposure.FireExposureResult", - double: float, - ) -> float: ... + 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": ... + 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": ... - + 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 __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: ... @@ -175,13 +84,10 @@ class SeparatorFireExposure: def totalFireHeat(self) -> float: ... def unwettedArea(self) -> float: ... def unwettedRadiativeHeat(self) -> float: ... - def unwettedWall( - self, - ) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... + 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: ... @@ -189,36 +95,16 @@ class SeparatorFireExposure: 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 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: ... @@ -227,37 +113,10 @@ class SeparatorFireExposure: 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, - ): ... + 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, - ): ... - def advanceTimeStep( - self, - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - ) -> None: ... + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, int: int): ... + def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... def getHeatAbsorbed(self, double: float, double2: float) -> float: ... def getHeatFlux(self) -> float: ... def getInnerWallTemperature(self) -> float: ... @@ -274,56 +133,15 @@ class TransientWallHeatTransfer: class VesselHeatTransferCalculator: GRAVITY: typing.ClassVar[float] = ... @staticmethod - def calculateCompleteHeatTransfer( - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - double7: float, - boolean: bool, - ) -> "VesselHeatTransferCalculator.HeatTransferResult": ... + def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... @staticmethod - def calculateGrashofNumber( - double: float, double2: float, double3: float, double4: float, double5: float - ) -> float: ... + def calculateGrashofNumber(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... @staticmethod - def calculateInternalFilmCoefficient( - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - double7: float, - boolean: bool, - ) -> float: ... + def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> float: ... @staticmethod - def calculateMixedConvectionCoefficient( - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - double7: float, - double8: float, - double9: float, - boolean: bool, - ) -> float: ... + def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool) -> float: ... @staticmethod - def calculateNucleateBoilingHeatFlux( - double: float, - double2: float, - double3: float, - double4: float, - double5: float, - double6: float, - double7: float, - double8: float, - double9: float, - ) -> float: ... + 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 @@ -331,38 +149,15 @@ class VesselHeatTransferCalculator: @staticmethod def calculateNusseltVerticalSurface(double: float, double2: float) -> float: ... @staticmethod - def calculatePrandtlNumber( - double: float, double2: float, double3: float - ) -> float: ... + 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: ... + 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: ... - + 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 __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: ... @@ -378,6 +173,7 @@ class VesselRuptureCalculator: @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi index 5e3e0cf0..68434f20 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -31,24 +31,18 @@ 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, - ): ... + 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: ... + def __init__(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... class FluidComponentResponse: name: java.lang.String = ... @@ -56,11 +50,7 @@ class FluidComponentResponse: @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, - ): ... + 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: ... @@ -73,20 +63,14 @@ class FluidResponse: @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, - ): ... + 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 addScenario(self, string: typing.Union[java.lang.String, str], scenarioKPI: 'ScenarioKPI') -> None: ... def clear(self) -> None: ... def getScenarioCount(self) -> int: ... def printDashboard(self) -> None: ... @@ -94,7 +78,7 @@ class KPIDashboard: class ScenarioKPI: def __init__(self): ... @staticmethod - def builder() -> "ScenarioKPI.Builder": ... + def builder() -> 'ScenarioKPI.Builder': ... def calculateEnvironmentalScore(self) -> float: ... def calculateOverallScore(self) -> float: ... def calculateProcessScore(self) -> float: ... @@ -121,56 +105,45 @@ class ScenarioKPI: 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": ... + 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], - ): ... + 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 - ): ... + def __init__(self, wellAllocator: jneqsim.process.measurementdevice.WellAllocator): ... class ComponentSplitterResponse(BaseResponse): data: java.util.HashMap = ... - def __init__( - self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter - ): ... + def __init__(self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter): ... class CompressorResponse(BaseResponse): suctionTemperature: float = ... @@ -193,9 +166,7 @@ class CompressorResponse(BaseResponse): def __init__(self): ... @typing.overload def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... - def applyConfig( - self, reportConfig: jneqsim.process.util.report.ReportConfig - ) -> None: ... + def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... class DistillationColumnResponse(BaseResponse): massBalanceError: float = ... @@ -206,10 +177,7 @@ class DistillationColumnResponse(BaseResponse): trayLiquidFlowRate: typing.MutableSequence[float] = ... trayFeedFlow: typing.MutableSequence[float] = ... trayMassBalance: typing.MutableSequence[float] = ... - def __init__( - self, - distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn, - ): ... + def __init__(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn): ... class EjectorResponse(BaseResponse): data: java.util.HashMap = ... @@ -225,9 +193,7 @@ class FlareResponse(BaseResponse): class FurnaceBurnerResponse(BaseResponse): data: java.util.HashMap = ... - def __init__( - self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner - ): ... + def __init__(self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner): ... class HXResponse(BaseResponse): feedTemperature1: float = ... @@ -241,9 +207,7 @@ class HXResponse(BaseResponse): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger - ): ... + def __init__(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger): ... class HeaterResponse(BaseResponse): data: java.util.HashMap = ... @@ -256,9 +220,7 @@ class MPMResponse(BaseResponse): gasDensity: float = ... oilDensity: float = ... waterDensity: float = ... - def __init__( - self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter - ): ... + def __init__(self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter): ... class ManifoldResponse(BaseResponse): data: java.util.HashMap = ... @@ -275,10 +237,7 @@ class MultiStreamHeatExchanger2Response(BaseResponse): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2, - ): ... + def __init__(self, multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2): ... class MultiStreamHeatExchangerResponse(BaseResponse): data: java.util.HashMap = ... @@ -286,10 +245,7 @@ class MultiStreamHeatExchangerResponse(BaseResponse): dischargeTemperature: typing.MutableSequence[float] = ... duty: typing.MutableSequence[float] = ... flowRate: typing.MutableSequence[float] = ... - def __init__( - self, - multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger, - ): ... + def __init__(self, multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger): ... class PipeBeggsBrillsResponse(BaseResponse): inletPressure: float = ... @@ -302,9 +258,7 @@ class PipeBeggsBrillsResponse(BaseResponse): outletVolumeFlow: float = ... inletMassFlow: float = ... outletMassFlow: float = ... - def __init__( - self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills - ): ... + def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... class PipelineResponse(BaseResponse): data: java.util.HashMap = ... @@ -334,18 +288,15 @@ class RecycleResponse(BaseResponse): class SeparatorResponse(BaseResponse): gasLoadFactor: float = ... - feed: "StreamResponse" = ... - gas: "StreamResponse" = ... - liquid: "StreamResponse" = ... - oil: "StreamResponse" = ... - water: "StreamResponse" = ... + feed: 'StreamResponse' = ... + gas: 'StreamResponse' = ... + liquid: 'StreamResponse' = ... + oil: 'StreamResponse' = ... + water: 'StreamResponse' = ... @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__( - self, - threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, - ): ... + def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... class SplitterResponse(BaseResponse): data: java.util.HashMap = ... @@ -355,12 +306,8 @@ 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 __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): @@ -375,24 +322,17 @@ class ThreePhaseSeparatorResponse(BaseResponse): @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__( - self, - threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, - ): ... + def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... class TurboExpanderCompressorResponse(BaseResponse): - def __init__( - self, - turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor, - ): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi index 9723490f..483b594b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,414 +17,167 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing + + class BatchStudy(java.io.Serializable): @staticmethod - def builder( - processSystem: jneqsim.process.processmodel.ProcessSystem, - ) -> "BatchStudy.Builder": ... + def builder(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'BatchStudy.Builder': ... def getTotalCases(self) -> int: ... - def run(self) -> "BatchStudy.BatchStudyResult": ... - + 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 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 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 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": ... + 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": ... + 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": ... - + def vary(self, string: typing.Union[java.lang.String, str], *double: float) -> 'BatchStudy.Builder': ... class CaseResult(java.io.Serializable): - parameters: "BatchStudy.ParameterSet" = ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'BatchStudy.Objective': ... @staticmethod - def values() -> typing.MutableSequence["BatchStudy.Objective"]: ... - + 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", - ): ... - + 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 __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 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"]: ... + 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 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": ... + 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: ... + 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: ... + def formatUtilizationTable(list: java.util.List['ProductionOptimizer.UtilizationRecord']) -> java.lang.String: ... @staticmethod - def formatUtilizationTimeline( - list: java.util.List["ProductionOptimizer.IterationRecord"], - ) -> java.lang.String: ... + def formatUtilizationTimeline(list: java.util.List['ProductionOptimizer.IterationRecord']) -> java.lang.String: ... @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": ... + 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": ... - 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": ... + 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': ... + 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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ConstraintSeverity': ... @staticmethod - def values() -> ( - typing.MutableSequence["ProductionOptimizer.ConstraintSeverity"] - ): ... - + 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 __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 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 __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 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 __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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ObjectiveType': ... @staticmethod - def values() -> typing.MutableSequence["ProductionOptimizer.ObjectiveType"]: ... - + 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 defaultUtilizationLimit( - self, double: float - ) -> "ProductionOptimizer.OptimizationConfig": ... - def enableCaching( - self, boolean: bool - ) -> "ProductionOptimizer.OptimizationConfig": ... - def equipmentConstraintRule( - self, equipmentConstraintRule: "ProductionOptimizer.EquipmentConstraintRule" - ) -> "ProductionOptimizer.OptimizationConfig": ... + 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 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: ... @@ -435,186 +188,54 @@ class ProductionOptimizer: def getSocialWeight(self) -> float: ... def getSwarmSize(self) -> int: ... def getUtilizationMarginFraction(self) -> float: ... - def inertiaWeight( - self, double: float - ) -> "ProductionOptimizer.OptimizationConfig": ... - def maxIterations( - self, int: int - ) -> "ProductionOptimizer.OptimizationConfig": ... - def rateUnit( - self, string: typing.Union[java.lang.String, str] - ) -> "ProductionOptimizer.OptimizationConfig": ... - def searchMode( - self, searchMode: "ProductionOptimizer.SearchMode" - ) -> "ProductionOptimizer.OptimizationConfig": ... - def socialWeight( - self, double: float - ) -> "ProductionOptimizer.OptimizationConfig": ... - def swarmSize(self, int: int) -> "ProductionOptimizer.OptimizationConfig": ... - def tolerance( - self, double: float - ) -> "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 inertiaWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def maxIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def rateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConfig': ... + def searchMode(self, searchMode: 'ProductionOptimizer.SearchMode') -> 'ProductionOptimizer.OptimizationConfig': ... + def socialWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def swarmSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... + def tolerance(self, double: float) -> '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': ... class OptimizationConstraint: - 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 __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 getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... - def getSeverity(self) -> "ProductionOptimizer.ConstraintSeverity": ... + def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... @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: ... + 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 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: ... 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, - ): ... + 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 __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 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 getBottleneck( - self, - ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + 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 getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getBottleneckUtilization(self) -> float: ... - def getConstraintStatuses( - self, - ) -> java.util.List["ProductionOptimizer.ConstraintStatus"]: ... + def getConstraintStatuses(self) -> java.util.List['ProductionOptimizer.ConstraintStatus']: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... - def getIterationHistory( - self, - ) -> java.util.List["ProductionOptimizer.IterationRecord"]: ... + 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 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 __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: ... @@ -622,188 +243,73 @@ class ProductionOptimizer: def getUtilization(self) -> float: ... def getUtilizationLimit(self) -> float: ... def getUtilizationMargin(self) -> float: ... - def getUtilizations( - self, - ) -> java.util.List["ProductionOptimizer.UtilizationRecord"]: ... + def getUtilizations(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... def isFeasible(self) -> bool: ... - 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 __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"]: ... - + 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 __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": ... + def objectiveValue(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... @staticmethod - def optimalRate( - string: typing.Union[java.lang.String, str] - ) -> "ProductionOptimizer.ScenarioKpi": ... + def optimalRate(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... @staticmethod - def score() -> "ProductionOptimizer.ScenarioKpi": ... - + def score() -> 'ProductionOptimizer.ScenarioKpi': ... class ScenarioRequest: @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"], - ): ... + 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 __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 getObjectives(self) -> java.util.List['ProductionOptimizer.OptimizationObjective']: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getVariables( - self, - ) -> java.util.List["ProductionOptimizer.ManipulatedVariable"]: ... - + def getVariables(self) -> java.util.List['ProductionOptimizer.ManipulatedVariable']: ... class ScenarioResult: - def __init__( - self, - string: typing.Union[java.lang.String, str], - optimizationResult: "ProductionOptimizer.OptimizationResult", - ): ... + 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"] = ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + 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'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.SearchMode': ... @staticmethod - def values() -> typing.MutableSequence["ProductionOptimizer.SearchMode"]: ... - + 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 __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 __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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.optimization")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi index 239eda83..ab661a59 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,21 +12,17 @@ import jneqsim.process.util.report.safety import jneqsim.thermo.system import typing + + class Report: @typing.overload - def __init__( - self, - processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, - ): ... + 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, - ): ... + def __init__(self, processModuleBaseClass: jneqsim.process.processmodel.ProcessModuleBaseClass): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload @@ -34,42 +30,31 @@ class Report: @typing.overload def generateJsonReport(self) -> java.lang.String: ... @typing.overload - def generateJsonReport(self, reportConfig: "ReportConfig") -> java.lang.String: ... + def generateJsonReport(self, reportConfig: 'ReportConfig') -> java.lang.String: ... class ReportConfig: - detailLevel: "ReportConfig.DetailLevel" = ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ReportConfig.DetailLevel': ... @staticmethod - def values() -> typing.MutableSequence["ReportConfig.DetailLevel"]: ... + def values() -> typing.MutableSequence['ReportConfig.DetailLevel']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi index 0116431c..d5f7220e 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,105 +12,61 @@ import jneqsim.process.processmodel import jneqsim.process.util.report import typing + + class ProcessSafetyReport: - def getConditionFindings( - self, - ) -> java.util.List["ProcessSafetyReport.ConditionFinding"]: ... + 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 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 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 __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 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 __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 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 __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 getSeverity(self) -> 'SeverityLevel': ... def getUnitName(self) -> java.lang.String: ... - class SystemKpiSnapshot: - def __init__( - self, - double: float, - double2: float, - severityLevel: "SeverityLevel", - severityLevel2: "SeverityLevel", - ): ... + def __init__(self, double: float, double2: float, severityLevel: 'SeverityLevel', severityLevel2: 'SeverityLevel'): ... def getEntropyChangeKjPerK(self) -> float: ... - def getEntropySeverity(self) -> "SeverityLevel": ... + def getEntropySeverity(self) -> 'SeverityLevel': ... def getExergyChangeKj(self) -> float: ... - def getExergySeverity(self) -> "SeverityLevel": ... + 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": ... + 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 __init__(self, processSafetyThresholds: 'ProcessSafetyThresholds'): ... def getEntropyChangeCritical(self) -> float: ... def getEntropyChangeWarning(self) -> float: ... def getExergyChangeCritical(self) -> float: ... @@ -119,37 +75,30 @@ class ProcessSafetyThresholds: 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": ... + 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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SeverityLevel': ... @staticmethod - def values() -> typing.MutableSequence["SeverityLevel"]: ... + def values() -> typing.MutableSequence['SeverityLevel']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report.safety")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi index 80bbb183..542d6bb5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,17 +13,15 @@ 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 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 @@ -33,38 +31,18 @@ class ProcessScenarioRunner: 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": ... + 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 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 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]: ... @@ -72,79 +50,34 @@ class ScenarioExecutionSummary: 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: ... - + 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 __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 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: ... + 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi index 0f07062d..348d0703 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,65 +11,36 @@ 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": ... + 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": ... + 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": ... + 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": ... + 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": ... - + 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], - ): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi index 26ef88c0..928ed93f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,170 +13,72 @@ 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 __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 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: ... + 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: ... + 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 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 - ): ... + 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 __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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'UncertaintyAnalyzer.InputUncertainty.DistributionType': ... @staticmethod - def values() -> ( - typing.MutableSequence[ - "UncertaintyAnalyzer.InputUncertainty.DistributionType" - ] - ): ... + 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, - ): ... + 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 __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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi index c44c1037..d65ffce0 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,6 +13,7 @@ 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi index 2d47a1d5..fef1d550 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,23 +10,18 @@ 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... def getBubblePointPressure(self) -> float: ... - def getCpaAnalyzer(self) -> "AsphalteneStabilityAnalyzer": ... + def getCpaAnalyzer(self) -> 'AsphalteneStabilityAnalyzer': ... def getCpaOnsetPressure(self) -> float: ... - def getDeBoerScreening(self) -> "DeBoerAsphalteneScreening": ... + 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: ... + def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... class AsphalteneStabilityAnalyzer: @typing.overload @@ -36,53 +31,31 @@ class AsphalteneStabilityAnalyzer: 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 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... @staticmethod - def values() -> ( - typing.MutableSequence["AsphalteneStabilityAnalyzer.AsphalteneRisk"] - ): ... + def values() -> typing.MutableSequence['AsphalteneStabilityAnalyzer.AsphalteneRisk']: ... class DeBoerAsphalteneScreening: @typing.overload @@ -90,19 +63,12 @@ class DeBoerAsphalteneScreening: @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 __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 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: ... @@ -116,32 +82,23 @@ class DeBoerAsphalteneScreening: 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 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], - string: typing.Union[java.lang.String, str], - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DeBoerAsphalteneScreening.DeBoerRisk': ... @staticmethod - def values() -> ( - typing.MutableSequence["DeBoerAsphalteneScreening.DeBoerRisk"] - ): ... + def values() -> typing.MutableSequence['DeBoerAsphalteneScreening.DeBoerRisk']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.flowassurance")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi index bbb209e9..8a5364a3 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,6 +8,8 @@ else: import jneqsim.pvtsimulation.simulation import typing + + class TuningInterface: def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... def run(self) -> None: ... @@ -16,9 +18,7 @@ class TuningInterface: class BaseTuningClass(TuningInterface): saturationTemperature: float = ... saturationPressure: float = ... - def __init__( - self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface - ): ... + def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... def isTunePlusMolarMass(self) -> bool: ... def isTuneVolumeCorrection(self) -> bool: ... @@ -28,11 +28,10 @@ class BaseTuningClass(TuningInterface): def setTuneVolumeCorrection(self, boolean: bool) -> None: ... class TuneToSaturation(BaseTuningClass): - def __init__( - self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi index 117e5e52..149799e7 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,6 +12,8 @@ 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: ... @@ -26,9 +28,7 @@ class CCEDataPoint: def setYFactor(self, double: float) -> None: ... class CVDDataPoint: - def __init__( - self, double: float, double2: float, double3: float, double4: float - ): ... + 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: ... @@ -36,23 +36,14 @@ class CVDDataPoint: 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 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 __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... def getBo(self) -> float: ... def getGasGravity(self) -> float: ... def getOilDensity(self) -> float: ... @@ -68,162 +59,90 @@ class DLEDataPoint: 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) # +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ExperimentType': ... @staticmethod - def values() -> typing.MutableSequence["ExperimentType"]: ... + 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: ... + 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 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: ... + 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 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: ... + 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: ... + 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: ... 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 getLastResult(self) -> 'RegressionResult': ... + def getSeparatorData(self) -> java.util.List['SeparatorDataPoint']: ... def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def runRegression(self) -> "RegressionResult": ... - def setExperimentWeight( - self, experimentType: ExperimentType, double: float - ) -> None: ... + 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: ... +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: ... + 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"] = ... - def applyToFluid( - self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ) -> 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'] = ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RegressionParameter': ... @staticmethod - def values() -> typing.MutableSequence["RegressionParameter"]: ... + def values() -> typing.MutableSequence['RegressionParameter']: ... class RegressionParameterConfig: - def __init__( - self, - regressionParameter: RegressionParameter, - double: float, - double2: float, - double3: float, - ): ... + def __init__(self, regressionParameter: RegressionParameter, double: float, double2: float, double3: float): ... def getInitialGuess(self) -> float: ... def getLowerBound(self) -> float: ... def getOptimizedValue(self) -> float: ... @@ -235,22 +154,10 @@ class RegressionParameterConfig: 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 __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 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]: ... @@ -258,19 +165,11 @@ class RegressionResult: def getParameterConfigs(self) -> java.util.List[RegressionParameterConfig]: ... def getTotalObjective(self) -> float: ... def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getUncertainty(self) -> "UncertaintyAnalysis": ... + 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 __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: ... @@ -289,27 +188,13 @@ class SeparatorDataPoint: 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 __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 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 getCorrelationMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDegreesOfFreedom(self) -> int: ... def getParameterValue(self, int: int) -> float: ... def getParameterValues(self) -> typing.MutableSequence[float]: ... @@ -321,6 +206,7 @@ class UncertaintyAnalysis: def hasHighCorrelations(self) -> bool: ... def toString(self) -> java.lang.String: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.regression")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi index 0f11ef52..b99e8f30 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,6 +7,8 @@ else: import typing + + class CompositionEstimation: def __init__(self, double: float, double2: float): ... @typing.overload @@ -14,6 +16,7 @@ class CompositionEstimation: @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi index cc44d39c..9dbf3090 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,36 +13,24 @@ 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 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: ... + 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 - ) = ... + 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 getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... def getPressure(self) -> float: ... def getPressures(self) -> typing.MutableSequence[float]: ... def getSaturationPressure(self) -> float: ... @@ -51,35 +39,20 @@ class BasePVTsimulation(SimulationInterface): 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 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: ... + 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: ... + 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 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]: ... @@ -93,25 +66,17 @@ class ConstantMassExpansion(BasePVTsimulation): 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 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 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 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]: ... @@ -122,16 +87,10 @@ class ConstantVolumeDepletion(BasePVTsimulation): 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 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 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): @@ -141,16 +100,10 @@ class DensitySim(BasePVTsimulation): 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 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 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): ... @@ -168,9 +121,7 @@ class DifferentialLiberation(BasePVTsimulation): 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 main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def runCalc(self) -> None: ... def validateBgMonotonicity(self) -> bool: ... def validateBoMonotonicity(self) -> bool: ... @@ -182,135 +133,82 @@ class GOR(BasePVTsimulation): 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 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: ... + 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 __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 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 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: ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'MMPCalculator.MiscibilityMechanism': ... @staticmethod - def values() -> ( - typing.MutableSequence["MMPCalculator.MiscibilityMechanism"] - ): ... + 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 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 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": ... + 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 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: ... - + 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 __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: ... @@ -318,29 +216,16 @@ class MultiStageSeparatorTest(BasePVTsimulation): 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 __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 __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: ... @@ -362,18 +247,14 @@ class SaturationPressure(BasePVTsimulation): def calcSaturationPressure(self) -> float: ... def getSaturationPressure(self) -> float: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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 main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def run(self) -> None: ... class SeparatorTest(BasePVTsimulation): @@ -381,27 +262,15 @@ class SeparatorTest(BasePVTsimulation): 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 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: ... + 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 __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 main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def run(self) -> None: ... def setNumberOfSlimTubeNodes(self, int: int) -> None: ... @@ -410,22 +279,12 @@ class SwellingTest(BasePVTsimulation): 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 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: ... + 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): ... @@ -433,16 +292,10 @@ class ViscositySim(BasePVTsimulation): 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 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 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): ... @@ -453,19 +306,11 @@ class ViscosityWaxOilSim(BasePVTsimulation): 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 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: ... + 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): ... @@ -473,16 +318,11 @@ class WaxFractionSim(BasePVTsimulation): 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi index 18555f67..c635b10b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,6 +13,8 @@ import jneqsim.pvtsimulation.util.parameterfitting import jneqsim.thermo.system import typing + + class BlackOilCorrelations: @staticmethod def apiFromSpecificGravity(double: float) -> float: ... @@ -22,58 +24,28 @@ class BlackOilCorrelations: def boToBblPerStb(double: float) -> float: ... @typing.overload @staticmethod - def bubblePointGlaso( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + def bubblePointStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod - def bubblePointVasquesBeggsS( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + 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: ... + 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: ... + def bubblePointVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod def celsiusToFahrenheit(double: float) -> float: ... @typing.overload @@ -81,9 +53,7 @@ class BlackOilCorrelations: def deadOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityBeggsRobinson( - double: float, double2: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + def deadOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod def deadOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... @typing.overload @@ -91,9 +61,7 @@ class BlackOilCorrelations: def deadOilViscosityGlaso(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityGlaso( - double: float, double2: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + def deadOilViscosityGlaso(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod def deadOilViscosityGlasoSI(double: float, double2: float) -> float: ... @typing.overload @@ -101,9 +69,7 @@ class BlackOilCorrelations: def deadOilViscosityKartoatmodjo(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityKartoatmodjo( - double: float, double2: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + def deadOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod def deadOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... @staticmethod @@ -113,102 +79,55 @@ class BlackOilCorrelations: def gasFVF(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def gasFVF( - double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + 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: ... + def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def gasViscosityLeeGonzalezEakin( - double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def gasViscosityLeeGonzalezEakinSI( - double: float, double2: float, double3: float - ) -> float: ... + def gasViscosityLeeGonzalezEakinSI(double: float, double2: float, double3: float) -> float: ... @staticmethod - def getDefaultUnits() -> "BlackOilUnits": ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + def oilFVFVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod def psiaToBara(double: float) -> float: ... @typing.overload @@ -216,109 +135,59 @@ class BlackOilCorrelations: def saturatedOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def saturatedOilViscosityBeggsRobinson( - double: float, double2: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + def saturatedOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def saturatedOilViscosityBeggsRobinsonSI( - double: float, double2: float - ) -> float: ... + 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: ... + def saturatedOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod def saturatedOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... @staticmethod - def setDefaultUnits(blackOilUnits: "BlackOilUnits") -> None: ... + def setDefaultUnits(blackOilUnits: 'BlackOilUnits') -> None: ... @typing.overload @staticmethod - def solutionGORStanding( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + 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: ... + 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: ... + def solutionGORStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod - def solutionGORVasquesBeggsS( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + 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: ... + 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: ... + 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: ... + def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityBergmanSutton( - double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def undersaturatedOilViscosityBergmanSuttonSI( - double: float, double2: float, double3: float - ) -> float: ... + def undersaturatedOilViscosityBergmanSuttonSI(double: float, double2: float, double3: float) -> float: ... @staticmethod - def undersaturatedOilViscosityVasquesBeggsS( - double: float, double2: float, double3: float - ) -> float: ... + def undersaturatedOilViscosityVasquesBeggsS(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityVasquezBeggs( - double: float, double2: float, double3: float - ) -> float: ... + def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityVasquezBeggs( - double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" - ) -> float: ... + 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": ... - + 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: ... @@ -328,112 +197,67 @@ class BlackOilTableValidator: 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"] = ... +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: ... + def convertBg(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def convertBo(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def convertBo(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def fromCentipoise(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def fromCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def fromFahrenheit(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def fromFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def fromLbPerFt3(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def fromLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def fromPerPsi(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def fromPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def fromPsia(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def fromPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def fromScfPerStb(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def fromScfPerStb(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def toCentipoise(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def toCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def toFahrenheit(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def toFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def toLbPerFt3(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def toLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def toPerPsi(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def toPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def toPsia(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + def toPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... @staticmethod - def toRankine(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'BlackOilUnits': ... @staticmethod - def values() -> typing.MutableSequence["BlackOilUnits"]: ... + def values() -> typing.MutableSequence['BlackOilUnits']: ... 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 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: ... @@ -444,32 +268,13 @@ class PVTReportGenerator: 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 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 __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: ... @@ -477,9 +282,7 @@ class PVTReportGenerator: class SaturationPressureCorrelation: @staticmethod - def alMarhoun( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + def alMarhoun(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod def apiToSpecificGravity(double: float) -> float: ... @staticmethod @@ -487,23 +290,15 @@ class SaturationPressureCorrelation: @staticmethod def celsiusToFahrenheit(double: float) -> float: ... @staticmethod - def estimateWithStatistics( - double: float, double2: float, double3: float, double4: float - ) -> typing.MutableSequence[float]: ... + 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: ... + 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: ... + def glaso(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod - def petroskyFarshad( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + def petroskyFarshad(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod def psiaToBar(double: float) -> float: ... @staticmethod @@ -513,13 +308,10 @@ class SaturationPressureCorrelation: @staticmethod def specificGravityToAPI(double: float) -> float: ... @staticmethod - def standing( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + def standing(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod - def vasquezBeggs( - double: float, double2: float, double3: float, double4: float - ) -> float: ... + def vasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi index ac74824f..856fa162 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import jneqsim.thermo.system import typing + + class AsphalteneOnsetFitting: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload @@ -24,218 +26,130 @@ class AsphalteneOnsetFitting: def getFittedAssociationEnergy(self) -> float: ... def getFittedAssociationVolume(self) -> float: ... def getFittedParameters(self) -> typing.MutableSequence[float]: ... - def getFunction(self) -> "AsphalteneOnsetFunction": ... + def getFunction(self) -> 'AsphalteneOnsetFunction': ... def getNumberOfDataPoints(self) -> int: ... - def getOptimizer( - self, - ) -> ( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt - ): ... + 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 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 -): +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: ... + 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AsphalteneOnsetFunction.FittingParameterType': ... @staticmethod - def values() -> ( - typing.MutableSequence["AsphalteneOnsetFunction.FittingParameterType"] - ): ... + def values() -> typing.MutableSequence['AsphalteneOnsetFunction.FittingParameterType']: ... -class CMEFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +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: ... + 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: ... + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class CVDFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +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: ... + 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: ... + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class DensityFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +class DensityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class FunctionJohanSverderup( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +class FunctionJohanSverderup(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class SaturationPressureFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +class SaturationPressureFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + 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: ... + 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: ... + 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... -class ViscosityFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +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: ... + 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: ... + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... -class WaxFunction( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction -): +class WaxFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): def __init__(self): ... - def calcValue( - self, doubleArray: typing.Union[typing.List[float], jpype.JArray] - ) -> float: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi index 302db806..aa81e80f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,97 +14,55 @@ 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 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 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: ... + 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 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: ... + 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: ... + 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], - ): ... + 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 __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 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi index 5a88dd9e..d1bd2c5b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,87 +12,57 @@ 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: ... + 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 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: ... + 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 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: ... + 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 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: ... + 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 getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... def isOnSpec(self) -> bool: ... 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: ... + 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 getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... def isOnSpec(self) -> bool: ... class Standard_ISO6578(jneqsim.standards.Standard): @@ -100,65 +70,36 @@ class Standard_ISO6578(jneqsim.standards.Standard): 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: ... + 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 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 -): +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, - ): ... + 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 __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 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 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: ... + 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 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: ... @@ -170,17 +111,11 @@ class Standard_ISO6976( 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: ... + 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 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): @@ -188,17 +123,11 @@ class UKspecifications_ICF_SI(jneqsim.standards.Standard): 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: ... + 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 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): @@ -208,25 +137,14 @@ 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 __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: ... + 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi index e6fd5a4d..263ef45b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,30 +11,23 @@ import jneqsim.standards import jneqsim.thermo.system import typing + + 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: ... - def getUnit( - self, string: typing.Union[java.lang.String, str] - ) -> 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 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: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def setMethodRVP(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceTemperature( - 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi index caf2163b..af7ebe28 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,12 +12,12 @@ 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 getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecificationsNumber(self) -> int: ... def getWaterDewPointSpecPressure(self) -> float: ... def getWaterDewPointTemperature(self) -> float: ... @@ -25,32 +25,13 @@ class ContractInterface: 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 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 __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: ... @@ -70,9 +51,7 @@ class ContractSpecification(jneqsim.util.NamedBaseClass): 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 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: ... @@ -82,53 +61,24 @@ class BaseContract(ContractInterface): @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 __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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi index 988675cc..4de2aed8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,15 +12,12 @@ 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__ - ) + 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-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi index 02866800..e804dc52 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,6 +8,7 @@ else: import jneqsim.statistics.dataanalysis.datasmoothing import typing + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.dataanalysis")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi index 8fe00ad0..8984079f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,20 +8,16 @@ else: 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi index b12540fa..6651e63b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,13 +8,14 @@ else: 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__ - ) + wettedwallcolumndata: jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi index 471d5a4f..d585e8f5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,9 +8,9 @@ else: import jneqsim.statistics.experimentalequipmentdata import typing -class WettedWallColumnData( - jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData -): + + +class WettedWallColumnData(jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData): @typing.overload def __init__(self): ... @typing.overload @@ -22,6 +22,7 @@ class WettedWallColumnData( 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi index f8bcb991..0b5765ca 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ 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__ - ) + readdatafromfile: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.__module_protocol__ + samplecreator: jneqsim.statistics.experimentalsamplecreation.samplecreator.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi index 06b126ee..92703d0b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader import typing + + class DataObjectInterface: ... class DataReaderInterface: @@ -26,11 +28,10 @@ class DataReader(DataReaderInterface): 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 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")``. @@ -38,6 +39,4 @@ class __module_protocol__(Protocol): DataObjectInterface: typing.Type[DataObjectInterface] DataReader: typing.Type[DataReader] DataReaderInterface: typing.Type[DataReaderInterface] - wettedwallcolumnreader: ( - jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ - ) + wettedwallcolumnreader: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi index 6d00383f..6ad03530 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,9 +10,9 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.readdatafromfile import typing -class WettedWallColumnDataObject( - jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject -): + + +class WettedWallColumnDataObject(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject): def __init__(self): ... def getCo2SupplyFlow(self) -> float: ... def getColumnWallTemperature(self) -> float: ... @@ -35,19 +35,16 @@ class WettedWallColumnDataObject( def setPressure(self, double: float) -> None: ... def setTime(self, string: typing.Union[java.lang.String, str]) -> None: ... -class WettedWallDataReader( - jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataReader -): +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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi index eac7d937..44b40d9b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,27 +11,19 @@ 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: ... + 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__ - ) + wettedwallcolumnsamplecreator: jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi index 432ec387..e7a3938a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,20 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.samplecreator import typing -class WettedWallColumnSampleCreator( - jneqsim.statistics.experimentalsamplecreation.samplecreator.SampleCreator -): + + +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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi index 507779ef..16975fdd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,24 +8,20 @@ else: 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, - ): ... + def __init__(self, statisticsBaseClass: jneqsim.statistics.parameterfitting.StatisticsBaseClass, int: int): ... @typing.overload - def __init__( - self, - statisticsInterface: jneqsim.statistics.parameterfitting.StatisticsInterface, - ): ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi index c85e08bb..d5fd8de6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,12 +15,12 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing + + 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 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: ... @@ -30,42 +30,29 @@ class FunctionInterface(java.lang.Cloneable): 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 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: ... + 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: ... + def calcDerivative(statisticsBaseClass: 'StatisticsBaseClass', int: int, int2: int) -> float: ... class SampleSet(java.lang.Cloneable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, arrayList: java.util.ArrayList["SampleValue"]): ... + 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 __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": ... + def getSample(self, int: int) -> 'SampleValue': ... class SampleValue(java.lang.Cloneable): system: jneqsim.thermo.system.SystemInterface = ... @@ -73,21 +60,10 @@ class SampleValue(java.lang.Cloneable): @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 __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: ... @@ -99,18 +75,14 @@ class SampleValue(java.lang.Cloneable): @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 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 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: ... + def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... class StatisticsInterface: - def createNewRandomClass(self) -> "StatisticsBaseClass": ... + def createNewRandomClass(self) -> 'StatisticsBaseClass': ... def displayCurveFit(self) -> None: ... def displayResult(self) -> None: ... def getNumberOfTuningParameters(self) -> int: ... @@ -128,10 +100,8 @@ class BaseFunction(FunctionInterface): 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 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: ... @@ -141,35 +111,22 @@ class BaseFunction(FunctionInterface): 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 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: ... + def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... 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 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 calcDerivatives(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcDeviation(self) -> None: ... def calcParameterStandardDeviation(self) -> None: ... def calcParameterUncertainty(self) -> None: ... @@ -179,12 +136,10 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): 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 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 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: ... @@ -198,14 +153,13 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): @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 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")``. @@ -216,6 +170,4 @@ class __module_protocol__(Protocol): SampleValue: typing.Type[SampleValue] StatisticsBaseClass: typing.Type[StatisticsBaseClass] StatisticsInterface: typing.Type[StatisticsInterface] - nonlinearparameterfitting: ( - jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ - ) + nonlinearparameterfitting: jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi index 61d3e757..9519068c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,23 +10,21 @@ import jpype import jneqsim.statistics.parameterfitting import typing + + class LevenbergMarquardt(jneqsim.statistics.parameterfitting.StatisticsBaseClass): def __init__(self): ... - def clone(self) -> "LevenbergMarquardt": ... + def clone(self) -> 'LevenbergMarquardt': ... def getMaxNumberOfIterations(self) -> int: ... def init(self) -> None: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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: ... + def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... @typing.overload def getFittingParams(self, int: int) -> float: ... @typing.overload @@ -34,29 +32,24 @@ class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunctio 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: ... + def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... class LevenbergMarquardtAbsDev(LevenbergMarquardt): def __init__(self): ... - def calcAlphaMatrix( - self, - ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... - def clone(self) -> "LevenbergMarquardtAbsDev": ... + def clone(self) -> 'LevenbergMarquardtAbsDev': ... class LevenbergMarquardtBiasDev(LevenbergMarquardt): def __init__(self): ... - def calcAlphaMatrix( - self, - ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... - def clone(self) -> "LevenbergMarquardtBiasDev": ... + def clone(self) -> 'LevenbergMarquardtBiasDev': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.parameterfitting.nonlinearparameterfitting")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi index 44472949..0dd7ddb9 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,43 +17,27 @@ 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: ... + 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: ... + 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 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 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 setThermoMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... def setThermoModel(self, string: typing.Union[java.lang.String, str]) -> None: ... class FluidCreator: @@ -63,21 +47,13 @@ class FluidCreator: thermoMixingRule: typing.ClassVar[java.lang.String] = ... @typing.overload @staticmethod - def create( - string: typing.Union[java.lang.String, str] - ) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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: ... + 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] = ... @@ -114,6 +90,7 @@ class ThermodynamicModelTest(ThermodynamicConstantsInterface): 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi index 4072cfb7..45b62139 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,6 +13,8 @@ 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 @@ -20,29 +22,19 @@ class Element(jneqsim.thermo.ThermodynamicConstantsInterface): 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: ... + def getNumberOfElements(self, string: typing.Union[java.lang.String, str]) -> float: ... -class UNIFACgroup( - jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comparable["UNIFACgroup"] -): +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 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 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: ... @@ -80,13 +72,12 @@ class UNIFACgroup( 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi index 1f799836..87b452e5 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,16 @@ 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 __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: ... @@ -46,9 +44,7 @@ class AsphalteneCharacterization: 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 setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... def setSaturates(self, double: float) -> None: ... class Characterise(java.io.Serializable, java.lang.Cloneable): @@ -58,45 +54,29 @@ class Characterise(java.io.Serializable, java.lang.Cloneable): 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 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 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 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 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": ... + 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 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]: ... @@ -117,79 +97,52 @@ class CharacteriseInterface: @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 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 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": ... + def builder() -> 'CharacterizationOptions.Builder': ... @staticmethod - def defaults() -> "CharacterizationOptions": ... + def defaults() -> 'CharacterizationOptions': ... def getCompositionTolerance(self) -> float: ... - def getNamingScheme(self) -> "CharacterizationOptions.NamingScheme": ... + def getNamingScheme(self) -> 'CharacterizationOptions.NamingScheme': ... def isGenerateValidationReport(self) -> bool: ... def isNormalizeComposition(self) -> bool: ... def isTransferBinaryInteractionParameters(self) -> bool: ... @staticmethod - def withBipTransfer() -> "CharacterizationOptions": ... - + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'CharacterizationOptions.NamingScheme': ... @staticmethod - def values() -> ( - typing.MutableSequence["CharacterizationOptions.NamingScheme"] - ): ... + 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 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: ... @@ -214,11 +167,7 @@ class NewtonSolveAB(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - tBPCharacterize: "TBPCharacterize", - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... @@ -227,11 +176,7 @@ class NewtonSolveABCD(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - tBPCharacterize: "TBPCharacterize", - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... @@ -240,39 +185,25 @@ class NewtonSolveCDplus(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - plusCharacterize: "PlusCharacterize", - ): ... + 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 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 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 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 clone(self) -> 'OilAssayCharacterisation.AssayCut': ... def getMassFraction(self) -> float: ... def getName(self) -> java.lang.String: ... def getVolumeFraction(self) -> float: ... @@ -282,34 +213,16 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): 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": ... + 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] = ... @@ -329,27 +242,11 @@ class PedersenAsphalteneCharacterization: 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 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 assessStability(self, double: float) -> java.lang.String: ... - def calculateOnsetPressure( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - double: float, - double2: float, - ) -> float: ... + 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: ... @@ -367,13 +264,9 @@ class PedersenAsphalteneCharacterization: def getTcMultiplier(self) -> float: ... def isCharacterized(self) -> bool: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... @staticmethod - def markAsphalteneRichLiquidPhases( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> bool: ... + def markAsphalteneRichLiquidPhases(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... def resetTuningParameters(self) -> None: ... def setAsphalteneDensity(self, double: float) -> None: ... def setAsphalteneMW(self, double: float) -> None: ... @@ -384,20 +277,14 @@ class PedersenAsphalteneCharacterization: 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 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, pedersenPlusModel: 'PlusFractionModel.PedersenPlusModel'): ... def setJacAB(self) -> None: ... def setJacCD(self) -> None: ... def setfvecAB(self) -> None: ... @@ -406,16 +293,11 @@ class PedersenPlusModelSolver(java.io.Serializable): class PlusFractionModel(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def getModel( - self, string: typing.Union[java.lang.String, str] - ) -> "PlusFractionModelInterface": ... - + 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 characterizePlusFraction(self, tBPModelInterface: 'TBPModelInterface') -> bool: ... def getCoef(self, int: int) -> float: ... def getCoefs(self) -> typing.MutableSequence[float]: ... def getDens(self) -> typing.MutableSequence[float]: ... @@ -437,54 +319,25 @@ class PlusFractionModelInterface(java.io.Serializable): class PseudoComponentCombiner: @typing.overload @staticmethod - def characterizeToReference( - systemInterface: jneqsim.thermo.system.SystemInterface, - systemInterface2: jneqsim.thermo.system.SystemInterface, - ) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + def normalizeComposition(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... @staticmethod - def transferBinaryInteractionParameters( - systemInterface: jneqsim.thermo.system.SystemInterface, - systemInterface2: jneqsim.thermo.system.SystemInterface, - ) -> None: ... + 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 __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: ... @@ -499,17 +352,10 @@ class TBPModelInterface: 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 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 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: ... @@ -517,31 +363,21 @@ class TBPModelInterface: class WaxModelInterface(java.io.Serializable, java.lang.Cloneable): def addTBPWax(self) -> None: ... - def clone(self) -> "WaxModelInterface": ... + def clone(self) -> 'WaxModelInterface': ... def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... - def getParameterWaxTriplePointTemperature( - 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: ... + 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: ... + def setParameterWaxTriplePointTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature( - self, int: int, double: float - ) -> None: ... + 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: ... + def setWaxParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... class PlusCharacterize(java.io.Serializable, CharacteriseInterface): @typing.overload @@ -553,9 +389,7 @@ class PlusCharacterize(java.io.Serializable, CharacteriseInterface): 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 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: ... @@ -577,24 +411,18 @@ class PlusCharacterize(java.io.Serializable, CharacteriseInterface): def hasPlusFraction(self) -> bool: ... def isPseudocomponents(self) -> bool: ... def removeTBPfraction(self) -> None: ... - def setCarbonNumberVector( - self, intArray: typing.Union[typing.List[int], 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 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 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: ... @@ -627,64 +455,37 @@ class TBPCharacterize(PlusCharacterize): 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: ... + 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 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 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 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"): ... + class PVTLumpingModel(jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel): + def __init__(self, lumpingModel: 'LumpingModel'): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... - - class StandardLumpingModel( - LumpingModelInterface, java.lang.Cloneable, java.io.Serializable - ): - def __init__(self, lumpingModel: "LumpingModel"): ... + class StandardLumpingModel(LumpingModelInterface, java.lang.Cloneable, java.io.Serializable): + def __init__(self, lumpingModel: 'LumpingModel'): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... def getLumpedComponentName(self, int: int) -> java.lang.String: ... - def getLumpedComponentNames( - self, - ) -> typing.MutableSequence[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: ... @@ -700,131 +501,70 @@ class TBPfractionModel(java.io.Serializable): 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: ... - + 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 __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 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 __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 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"): ... + 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"): ... + 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 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"): ... + 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 __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 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 __init__(self, tBPfractionModel: 'TBPfractionModel'): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... - def calcAcentricFactorKeslerLee( - 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 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 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 __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 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: ... @@ -832,56 +572,39 @@ class TBPfractionModel(java.io.Serializable): class WaxCharacterise(java.io.Serializable, java.lang.Cloneable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def clone(self) -> "WaxCharacterise": ... + def clone(self) -> 'WaxCharacterise': ... @typing.overload def getModel(self) -> WaxModelInterface: ... @typing.overload - def getModel( - self, string: typing.Union[java.lang.String, str] - ) -> WaxModelInterface: ... + 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"): ... + 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 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 __init__(self, waxCharacterise: 'WaxCharacterise'): ... def addTBPWax(self) -> None: ... - def clone(self) -> "WaxCharacterise.WaxBaseModel": ... + def clone(self) -> 'WaxCharacterise.WaxBaseModel': ... def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... - def getParameterWaxTriplePointTemperature( - 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: ... + 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: ... + def setParameterWaxTriplePointTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature( - self, int: int, double: float - ) -> None: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi index a7fbff97..a3fbf401 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,49 +15,22 @@ 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: ... + + +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 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 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: ... @@ -70,9 +43,7 @@ class ComponentInterface( def getAssociationScheme(self) -> java.lang.String: ... def getAssociationVolume(self) -> float: ... def getAssociationVolumeSAFT(self) -> float: ... - def getAttractiveTerm( - self, - ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... def getAttractiveTermNumber(self) -> int: ... def getCASnumber(self) -> java.lang.String: ... def getCCsolidVaporPressure(self, double: float) -> float: ... @@ -80,34 +51,18 @@ class ComponentInterface( @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 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 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: ... + 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 getComponentNameMap() -> java.util.LinkedHashMap[java.lang.String, java.lang.String]: ... def getComponentNumber(self) -> int: ... def getComponentType(self) -> java.lang.String: ... def getCp0(self, double: float) -> float: ... @@ -158,29 +113,21 @@ class ComponentInterface( 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: ... + 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 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: ... + 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 getNormalLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getNumberOfAssociationSites(self) -> int: ... def getNumberOfMolesInPhase(self) -> float: ... def getNumberOfmoles(self) -> float: ... @@ -214,9 +161,7 @@ class ComponentInterface( 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 getTotalFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTriplePointDensity(self) -> float: ... def getTriplePointPressure(self) -> float: ... def getTriplePointTemperature(self) -> float: ... @@ -236,12 +181,8 @@ class ComponentInterface( 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 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: ... @@ -250,18 +191,10 @@ class ComponentInterface( 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 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: ... @@ -270,9 +203,7 @@ class ComponentInterface( def setAntoineCSolid(self, double: float) -> None: ... def setAssociationEnergy(self, double: float) -> None: ... def setAssociationEnergySAFT(self, double: float) -> None: ... - def setAssociationScheme( - self, string: typing.Union[java.lang.String, str] - ) -> 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 setAttractiveTerm(self, int: int) -> None: ... @@ -292,9 +223,7 @@ class ComponentInterface( 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 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: ... @@ -308,17 +237,13 @@ class ComponentInterface( 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: ... + 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 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: ... @@ -327,11 +252,9 @@ class ComponentInterface( @typing.overload def setPC(self, double: float) -> None: ... @typing.overload - def setPC( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 setProperties(self, componentInterface: 'ComponentInterface') -> None: ... def setRacketZ(self, double: float) -> None: ... def setRacketZCPA(self, double: float) -> None: ... def setReferencePotential(self, double: float) -> None: ... @@ -344,9 +267,7 @@ class ComponentInterface( @typing.overload def setTC(self, double: float) -> None: ... @typing.overload - def setTC( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... @@ -369,63 +290,22 @@ class ComponentInterface( 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: ... + 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 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 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: ... @@ -438,40 +318,24 @@ class Component(ComponentInterface): def getAssociationScheme(self) -> java.lang.String: ... def getAssociationVolume(self) -> float: ... def getAssociationVolumeSAFT(self) -> float: ... - def getAttractiveTerm( - self, - ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + 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: ... + 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: ... + 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 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: ... @@ -496,9 +360,7 @@ class Component(ComponentInterface): 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 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: ... @@ -531,29 +393,21 @@ class Component(ComponentInterface): 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: ... + 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 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: ... + 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 getNormalLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getNumberOfAssociationSites(self) -> int: ... def getNumberOfMolesInPhase(self) -> float: ... def getNumberOfmoles(self) -> float: ... @@ -589,9 +443,7 @@ class Component(ComponentInterface): 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 getTotalFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTriplePointDensity(self) -> float: ... def getTriplePointPressure(self) -> float: ... def getTriplePointTemperature(self) -> float: ... @@ -611,12 +463,8 @@ class Component(ComponentInterface): 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 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: ... @@ -626,18 +474,10 @@ class Component(ComponentInterface): 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 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: ... @@ -646,9 +486,7 @@ class Component(ComponentInterface): def setAntoineCSolid(self, double: float) -> None: ... def setAssociationEnergy(self, double: float) -> None: ... def setAssociationEnergySAFT(self, double: float) -> None: ... - def setAssociationScheme( - self, string: typing.Union[java.lang.String, str] - ) -> 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 setAttractiveTerm(self, int: int) -> None: ... @@ -668,9 +506,7 @@ class Component(ComponentInterface): 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 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: ... @@ -684,21 +520,15 @@ class Component(ComponentInterface): 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: ... + 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: ... + 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 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: ... @@ -707,9 +537,7 @@ class Component(ComponentInterface): @typing.overload def setPC(self, double: float) -> None: ... @typing.overload - def setPC( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... @@ -727,9 +555,7 @@ class Component(ComponentInterface): @typing.overload def setTC(self, double: float) -> None: ... @typing.overload - def setTC( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... @@ -754,35 +580,10 @@ 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 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: ... @@ -818,26 +619,7 @@ 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 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: ... @@ -846,22 +628,10 @@ class ComponentGEInterface(ComponentInterface): 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 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]: ... @@ -888,67 +658,19 @@ class ComponentEos(Component, ComponentEosInterface): 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 __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 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: ... @@ -959,22 +681,14 @@ class ComponentEos(Component, ComponentEosInterface): 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 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: ... + 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]: ... @@ -991,38 +705,17 @@ class ComponentEos(Component, ComponentEosInterface): 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 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 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 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 setAttractiveParameter(self, attractiveTermInterface: jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface) -> None: ... def setAttractiveTerm(self, int: int) -> None: ... def setBder(self, double: float) -> None: ... def seta(self, double: float) -> None: ... @@ -1036,41 +729,12 @@ class ComponentEos(Component, ComponentEosInterface): 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 __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: ... + 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: ... @@ -1081,164 +745,62 @@ class ComponentGE(Component, ComponentGEInterface): 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: ... + 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: ... + 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 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 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 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: ... + 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 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 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: ... + 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 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: ... @@ -1246,173 +808,57 @@ 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 __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: ... + 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 __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 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: ... + 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 __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: ... + 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 getLngamma(self) -> float: ... - def getMolality( - self, phaseInterface: jneqsim.thermo.phase.PhaseInterface - ) -> 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 __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 clone(self) -> 'ComponentGERG2004': ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -1420,599 +866,168 @@ class ComponentGERG2004(ComponentEos): 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 __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 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: ... + 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, - ): ... + 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: ... + 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 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 getlnGammadn(self, int: int) -> float: ... def getlnGammadt(self) -> 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, - ): ... + 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: ... + 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: ... + 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 __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 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 getLngamma(self) -> 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, - ): ... + 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 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 getLngamma(self) -> 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 __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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 __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 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: ... @@ -2020,26 +1035,12 @@ class ComponentLeachmanEos(ComponentEos): 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 __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 clone(self) -> 'ComponentPR': ... def getQpure(self, double: float) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... @@ -2048,26 +1049,12 @@ class ComponentPR(ComponentEos): 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 __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 clone(self) -> 'ComponentRK': ... def getQpure(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... @@ -2075,66 +1062,18 @@ class ComponentRK(ComponentEos): 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 __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 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: ... @@ -2142,26 +1081,12 @@ class ComponentSpanWagnerEos(ComponentEos): 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 __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 clone(self) -> 'ComponentSrk': ... def getQpure(self, double: float) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... @@ -2170,26 +1095,12 @@ class ComponentSrk(ComponentEos): 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 __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 clone(self) -> 'ComponentTST': ... def getQpure(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... @@ -2197,66 +1108,18 @@ class ComponentTST(ComponentEos): 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 __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 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: ... @@ -2264,117 +1127,36 @@ class ComponentVegaEos(ComponentEos): 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 __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 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 __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": ... + 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 __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: ... @@ -2393,626 +1175,149 @@ class ComponentBWRS(ComponentSrk): def getBPdT(self, int: int) -> float: ... @typing.overload def getBPdT(self) -> typing.MutableSequence[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 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 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 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 __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 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: ... + 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": ... + 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, - ): ... + 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: ... + 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, - ): ... + 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: ... + 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: ... def getlnGammadn(self, int: int) -> float: ... def getlnGammadt(self) -> float: ... class ComponentGEUnifac(ComponentGEUniquac): - def __init__( - self, - string: typing.Union[java.lang.String, str], - double: float, - double2: float, - int: int, - ): ... + 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: ... + 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: ... + 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 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 getUnifacGroups(self) -> typing.MutableSequence[jneqsim.thermo.atomelement.UNIFACgroup]: ... + def getUnifacGroups2(self) -> java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]: ... def setQ(self, double: float) -> None: ... def setR(self, double: float) -> None: ... - def setUnifacGroups( - self, arrayList: java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup] - ) -> 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, - ): ... + 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: ... + 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 __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 __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 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 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: ... @@ -3026,247 +1331,43 @@ class ComponentModifiedFurstElectrolyteEos(ComponentSrk): 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 __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 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 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: ... @@ -3280,120 +1381,29 @@ class ComponentModifiedFurstElectrolyteEosMod2004(ComponentSrk): 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 dFdNdT( - self, - phaseInterface: jneqsim.thermo.phase.PhaseInterface, - int: int, - double: float, - double2: float, - ) -> float: ... + 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 dFdNdT(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 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: ... @@ -3405,302 +1415,91 @@ 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 __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 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 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: ... + 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 __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 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: ... + def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @typing.overload def setXsite(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, - ): ... + 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 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: ... + 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": ... + 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 __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 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 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]: ... @@ -3715,27 +1514,18 @@ class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): 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: ... + 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: ... + 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: ... + 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: ... @@ -3743,227 +1533,65 @@ class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): 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 __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 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 __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 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 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: ... + 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 __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 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 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]: ... @@ -3977,146 +1605,49 @@ class ComponentUMRCPA(ComponentPR, ComponentCPAInterface): 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: ... + 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: ... + 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: ... + 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 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, - ): ... +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 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 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]: ... @@ -4130,131 +1661,45 @@ class ComponentElectrolyteCPA( 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: ... + 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: ... + 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: ... + 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: ... +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 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]: ... @@ -4263,15 +1708,11 @@ class ComponentElectrolyteCPAOld( 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: ... + 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: ... + 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: ... @@ -4282,244 +1723,72 @@ class ComponentElectrolyteCPAOld( 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: ... + 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: ... + 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 __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: ... + 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 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: ... 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 __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: ... + 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: ... + 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: ... @@ -4528,131 +1797,24 @@ class ComponentPCSAFTa(ComponentPCSAFT, ComponentCPAInterface): 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 __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 getBornContribution(self) -> float: ... def getBornRadius(self) -> float: ... def getBornRadiusMeters(self) -> float: ... @@ -4667,131 +1829,54 @@ class ComponentSrkCPAMM(ComponentSrkCPA): 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": ... + 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 ComponentWax(ComponentSolid): - def __init__( - self, - string: typing.Union[java.lang.String, str], - double: float, - double2: float, - int: int, - ): ... + 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 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, - ): ... + 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: ... + 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, - ): ... + 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: ... + 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": ... + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component")``. @@ -4834,12 +1919,8 @@ class __module_protocol__(Protocol): ComponentInterface: typing.Type[ComponentInterface] ComponentKentEisenberg: typing.Type[ComponentKentEisenberg] ComponentLeachmanEos: typing.Type[ComponentLeachmanEos] - ComponentModifiedFurstElectrolyteEos: typing.Type[ - ComponentModifiedFurstElectrolyteEos - ] - ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ - ComponentModifiedFurstElectrolyteEosMod2004 - ] + ComponentModifiedFurstElectrolyteEos: typing.Type[ComponentModifiedFurstElectrolyteEos] + ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ComponentModifiedFurstElectrolyteEosMod2004] ComponentPCSAFT: typing.Type[ComponentPCSAFT] ComponentPCSAFTa: typing.Type[ComponentPCSAFTa] ComponentPR: typing.Type[ComponentPR] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi index 2d6435d4..aa4dd6da 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,12 @@ 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 clone(self) -> 'AttractiveTermInterface': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -26,12 +28,10 @@ class AttractiveTermInterface(java.lang.Cloneable, java.io.Serializable): def setm(self, double: float) -> None: ... class AttractiveTermBaseClass(AttractiveTermInterface): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermBaseClass': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -44,18 +44,12 @@ class AttractiveTermBaseClass(AttractiveTermInterface): class AttractiveTermMollerup(AttractiveTermBaseClass): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 clone(self) -> 'AttractiveTermMollerup': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -63,12 +57,10 @@ class AttractiveTermMollerup(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermPr(AttractiveTermBaseClass): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermPr': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -77,12 +69,10 @@ class AttractiveTermPr(AttractiveTermBaseClass): def setm(self, double: float) -> None: ... class AttractiveTermRk(AttractiveTermBaseClass): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermRk': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -91,18 +81,12 @@ class AttractiveTermRk(AttractiveTermBaseClass): class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 clone(self) -> 'AttractiveTermSchwartzentruber': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -110,12 +94,10 @@ class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermSrk(AttractiveTermBaseClass): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermSrk': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -124,12 +106,10 @@ class AttractiveTermSrk(AttractiveTermBaseClass): def setm(self, double: float) -> None: ... class AttractiveTermTwuCoon(AttractiveTermBaseClass): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermTwuCoon': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -138,18 +118,12 @@ class AttractiveTermTwuCoon(AttractiveTermBaseClass): class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 clone(self) -> 'AttractiveTermTwuCoonParam': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -158,18 +132,12 @@ class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 clone(self) -> 'AttractiveTermTwuCoonStatoil': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -177,12 +145,10 @@ class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermCPAstatoil(AttractiveTermSrk): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermCPAstatoil': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -190,9 +156,7 @@ class AttractiveTermCPAstatoil(AttractiveTermSrk): def init(self) -> None: ... class AttractiveTermGERG(AttractiveTermPr): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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: ... @@ -203,18 +167,12 @@ class AttractiveTermGERG(AttractiveTermPr): class AttractiveTermMatCop(AttractiveTermSrk): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 clone(self) -> 'AttractiveTermMatCop': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -223,18 +181,12 @@ class AttractiveTermMatCop(AttractiveTermSrk): class AttractiveTermMatCopPR(AttractiveTermPr): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 clone(self) -> 'AttractiveTermMatCopPR': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -242,38 +194,28 @@ class AttractiveTermMatCopPR(AttractiveTermPr): class AttractiveTermMatCopPRUMR(AttractiveTermPr): @typing.overload - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 __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 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, 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 __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> "AttractiveTermPrGassem2001": ... + def clone(self) -> 'AttractiveTermPrGassem2001': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -281,12 +223,10 @@ class AttractiveTermPrGassem2001(AttractiveTermPr): def init(self) -> None: ... class AttractiveTermTwu(AttractiveTermSrk): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 clone(self) -> 'AttractiveTermTwu': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -294,38 +234,28 @@ class AttractiveTermTwu(AttractiveTermSrk): def init(self) -> None: ... class AttractiveTermUMRPRU(AttractiveTermPr): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... - def clone(self) -> "AttractiveTermUMRPRU": ... + 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 - ): ... + 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 __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 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 __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> "AttractiveTermPrDanesh": ... + def clone(self) -> 'AttractiveTermPrDanesh': ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -333,26 +263,23 @@ class AttractiveTermPrDanesh(AttractiveTermPr1978): def init(self) -> None: ... class AttractiveTermPrDelft1998(AttractiveTermPr1978): - def __init__( - self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface - ): ... + 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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi index 1910a740..e32f2399 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,8 +7,11 @@ else: import typing + + class RepulsiveTermInterface: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component.repulsiveeosterm")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi index b4670a2e..606ca257 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,83 +15,48 @@ 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) # + + +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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'BIPEstimationMethod': ... @staticmethod - def values() -> typing.MutableSequence["BIPEstimationMethod"]: ... + 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: ... + 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: ... + def applyEstimatedBIPs(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod, boolean: bool) -> None: ... @staticmethod - def applyMethaneC7PlusBIPs( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> None: ... + def applyMethaneC7PlusBIPs(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... @staticmethod - def calculateBIPMatrix( - systemInterface: jneqsim.thermo.system.SystemInterface, - bIPEstimationMethod: BIPEstimationMethod, - ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @staticmethod - def estimate( - componentInterface: jneqsim.thermo.component.ComponentInterface, - componentInterface2: jneqsim.thermo.component.ComponentInterface, - bIPEstimationMethod: BIPEstimationMethod, - ) -> float: ... + 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: ... + 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: ... + 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: ... + def estimateKatzFiroozabadi(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> float: ... @staticmethod - def printBIPMatrix( - systemInterface: jneqsim.thermo.system.SystemInterface, - doubleArray: typing.Union[ - typing.List[typing.MutableSequence[float]], jpype.JArray - ], - ) -> None: ... + def printBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... -class MixingRuleHandler( - jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable -): +class MixingRuleHandler(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): def __init__(self): ... def getName(self) -> java.lang.String: ... @@ -101,175 +66,42 @@ class MixingRuleTypeInterface: 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"] = ... +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": ... + def byName(string: typing.Union[java.lang.String, str]) -> 'CPAMixingRuleType': ... @staticmethod - def byValue(int: int) -> "CPAMixingRuleType": ... + def byValue(int: int) -> 'CPAMixingRuleType': ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'CPAMixingRuleType': ... @staticmethod - def values() -> typing.MutableSequence["CPAMixingRuleType"]: ... + 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: ... + 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: ... + 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: ... + 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: ... @@ -282,130 +114,55 @@ class ElectrolyteMixingRulesInterface(MixingRulesInterface): 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"] = ... +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": ... + def byName(string: typing.Union[java.lang.String, str]) -> 'EosMixingRuleType': ... @staticmethod - def byValue(int: int) -> "EosMixingRuleType": ... + def byValue(int: int) -> 'EosMixingRuleType': ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EosMixingRuleType': ... @staticmethod - def values() -> typing.MutableSequence["EosMixingRuleType"]: ... + 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 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 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 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 setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... def setnEOSkij(self, double: float) -> None: ... class HVMixingRulesInterface(EosMixingRulesInterface): @@ -420,325 +177,59 @@ class HVMixingRulesInterface(EosMixingRulesInterface): 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]]: ... + 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: ... + 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]]: ... - + 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"): ... + 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: ... + 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 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: ... + 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: ... + 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: ... - + 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"): ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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 = ... @@ -757,395 +248,115 @@ class EosMixingRuleHandler(MixingRuleHandler): 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 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 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 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 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 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: ... - + 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 __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"): ... + 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 __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 __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: ... + 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: ... - + 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 __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 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 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 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 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: ... + 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: ... + 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 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: ... @@ -1158,83 +369,16 @@ class EosMixingRuleHandler(MixingRuleHandler): 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, - ): + 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 - ], - ): ... + 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 __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: ... @@ -1244,304 +388,55 @@ class EosMixingRuleHandler(MixingRuleHandler): 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, - ): + 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 - ], - ): ... + 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 __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 init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> 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 - ): + 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 - ], - ): ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi index 765f8ac8..7fa18474 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,8 +18,10 @@ import jneqsim.thermo.util.gerg import org.netlib.util import typing + + class CPAContribution(java.io.Serializable): - def __init__(self, phaseEos: "PhaseEos"): ... + def __init__(self, phaseEos: 'PhaseEos'): ... @staticmethod def calcG(double: float, double2: float) -> float: ... @staticmethod @@ -30,36 +32,12 @@ class CPAContribution(java.io.Serializable): 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: ... + 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 -): +class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): def FB(self) -> float: ... def FBB(self) -> float: ... def FBD(self) -> float: ... @@ -76,77 +54,23 @@ class PhaseInterface( 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 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 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 clone(self) -> 'PhaseInterface': ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -170,9 +94,7 @@ class PhaseInterface( @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 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]: ... @@ -180,46 +102,26 @@ class PhaseInterface( @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_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 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 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 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: ... @@ -243,9 +145,7 @@ class PhaseInterface( @typing.overload def getDensity_Leachman(self) -> float: ... @typing.overload - def getDensity_Leachman( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... def getDensity_Vega(self) -> float: ... @typing.overload def getEnthalpy(self) -> float: ... @@ -277,17 +177,13 @@ class PhaseInterface( @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... def getKappa(self) -> float: ... def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -299,9 +195,7 @@ class PhaseInterface( 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 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]: ... @@ -321,15 +215,11 @@ class PhaseInterface( def getOsmoticCoefficient(self, int: int) -> float: ... def getOsmoticCoefficientOfWater(self) -> float: ... def getOsmoticCoefficientOfWaterMolality(self) -> float: ... - def getPhase(self) -> "PhaseInterface": ... + 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: ... + def getPhysicalProperties(self) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel(self) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -339,9 +229,7 @@ class PhaseInterface( @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_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: ... @@ -350,9 +238,9 @@ class PhaseInterface( @typing.overload def getPureComponentFugacity(self, int: int, boolean: bool) -> float: ... @typing.overload - def getRefPhase(self, int: int) -> "PhaseInterface": ... + def getRefPhase(self, int: int) -> 'PhaseInterface': ... @typing.overload - def getRefPhase(self) -> typing.MutableSequence["PhaseInterface"]: ... + def getRefPhase(self) -> typing.MutableSequence['PhaseInterface']: ... @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload @@ -365,11 +253,9 @@ class PhaseInterface( @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTotalVolume(self) -> float: ... - def getType(self) -> "PhaseType": ... + def getType(self) -> 'PhaseType': ... @typing.overload def getViscosity(self) -> float: ... @typing.overload @@ -383,21 +269,13 @@ class PhaseInterface( 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 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 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: ... @@ -410,17 +288,13 @@ class PhaseInterface( @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: ... + 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, double: float, int: int, int2: int, phaseType: "PhaseType", double2: float - ) -> None: ... + def init(self, double: float, int: int, int2: int, phaseType: 'PhaseType', double2: float) -> None: ... @typing.overload def init(self) -> None: ... @typing.overload @@ -428,153 +302,89 @@ class PhaseInterface( @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties( - self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType - ) -> None: ... + def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... @typing.overload - def initPhysicalProperties( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 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 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 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: ... + 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 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 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 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: ... + 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 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: ... + def setProperties(self, phaseInterface: 'PhaseInterface') -> None: ... @typing.overload - def setRefPhase(self, int: int, phaseInterface: "PhaseInterface") -> None: ... + def setRefPhase(self, int: int, phaseInterface: 'PhaseInterface') -> None: ... @typing.overload - def setRefPhase( - self, - phaseInterfaceArray: typing.Union[typing.List["PhaseInterface"], jpype.JArray], - ) -> None: ... + 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: ... + 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"] = ... +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": ... + def byDesc(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... + def byName(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... @staticmethod - def byValue(int: int) -> "PhaseType": ... + 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... @staticmethod - def values() -> typing.MutableSequence["PhaseType"]: ... + def values() -> typing.MutableSequence['PhaseType']: ... -class StateOfMatter(java.lang.Enum["StateOfMatter"]): - GAS: typing.ClassVar["StateOfMatter"] = ... - LIQUID: typing.ClassVar["StateOfMatter"] = ... - SOLID: typing.ClassVar["StateOfMatter"] = ... +class StateOfMatter(java.lang.Enum['StateOfMatter']): + GAS: typing.ClassVar['StateOfMatter'] = ... + LIQUID: typing.ClassVar['StateOfMatter'] = ... + SOLID: typing.ClassVar['StateOfMatter'] = ... @staticmethod - def fromPhaseType(phaseType: PhaseType) -> "StateOfMatter": ... + def fromPhaseType(phaseType: PhaseType) -> 'StateOfMatter': ... @staticmethod def isAsphaltene(phaseType: PhaseType) -> bool: ... @staticmethod @@ -583,23 +393,19 @@ class StateOfMatter(java.lang.Enum["StateOfMatter"]): def isLiquid(phaseType: PhaseType) -> bool: ... @staticmethod def isSolid(phaseType: PhaseType) -> bool: ... - _valueOf_0__T = typing.TypeVar("_valueOf_0__T", bound=java.lang.Enum) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'StateOfMatter': ... @staticmethod - def values() -> typing.MutableSequence["StateOfMatter"]: ... + def values() -> typing.MutableSequence['StateOfMatter']: ... class Phase(PhaseInterface): numberOfComponents: int = ... - componentArray: typing.MutableSequence[ - jneqsim.thermo.component.ComponentInterface - ] = ... + componentArray: typing.MutableSequence[jneqsim.thermo.component.ComponentInterface] = ... calcMolarVolume: bool = ... physicalPropertyHandler: jneqsim.physicalproperties.PhysicalPropertyHandler = ... chemSyst: bool = ... @@ -623,94 +429,31 @@ class Phase(PhaseInterface): 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 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 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 clone(self) -> 'Phase': ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -735,9 +478,7 @@ class Phase(PhaseInterface): @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 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: ... @@ -746,27 +487,15 @@ class Phase(PhaseInterface): @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_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 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: ... @@ -774,19 +503,11 @@ class Phase(PhaseInterface): @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 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 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: ... @@ -811,9 +532,7 @@ class Phase(PhaseInterface): @typing.overload def getDensity_Leachman(self) -> float: ... @typing.overload - def getDensity_Leachman( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... def getDensity_Vega(self) -> float: ... def getDiElectricConstant(self) -> float: ... @typing.overload @@ -850,17 +569,13 @@ class Phase(PhaseInterface): @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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 getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... def getKappa(self) -> float: ... def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -874,9 +589,7 @@ class Phase(PhaseInterface): def getMass(self) -> float: ... def getMeanIonicActivity(self, int: int, int2: int) -> float: ... def getMixGibbsEnergy(self) -> float: ... - def getMixingRuleType( - self, - ) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + 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]: ... @@ -897,12 +610,8 @@ class Phase(PhaseInterface): 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: ... + def getPhysicalProperties(self) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel(self) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -912,9 +621,7 @@ class Phase(PhaseInterface): @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_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: ... @@ -939,9 +646,7 @@ class Phase(PhaseInterface): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... @@ -958,21 +663,13 @@ class Phase(PhaseInterface): 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 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 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: ... @@ -986,9 +683,7 @@ class Phase(PhaseInterface): 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: ... + 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: ... @@ -998,91 +693,44 @@ class Phase(PhaseInterface): @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 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: ... + 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 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 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 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 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 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 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 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 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: ... @@ -1099,9 +747,7 @@ class PhaseEosInterface(PhaseInterface): 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 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: ... @@ -1120,9 +766,7 @@ class PhaseCPAInterface(PhaseEosInterface): 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... def getHcpatot(self) -> float: ... @@ -1133,21 +777,11 @@ 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 __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 @@ -1158,35 +792,14 @@ class PhaseDefault(Phase): 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: ... + 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: ... + 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 = ... @@ -1211,84 +824,25 @@ class PhaseEos(Phase, PhaseEosInterface): 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 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 clone(self) -> 'PhaseEos': ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1302,12 +856,8 @@ class PhaseEos(Phase, PhaseEosInterface): 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 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: ... @@ -1335,9 +885,7 @@ class PhaseEos(Phase, PhaseEosInterface): def getHresTP(self) -> float: ... def getHresdP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getKappa(self) -> float: ... @@ -1351,21 +899,13 @@ class PhaseEos(Phase, PhaseEosInterface): 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 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 getdTVndSVnJaobiMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getdUdSVn(self) -> float: ... def getdUdSdSVn(self) -> float: ... def getdUdSdVn(self, phaseInterface: PhaseInterface) -> float: ... @@ -1382,52 +922,22 @@ class PhaseEos(Phase, PhaseEosInterface): @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: ... + 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: ... + 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: ... + 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: ... @@ -1454,9 +964,7 @@ class PhaseGE(Phase, PhaseGEInterface): @typing.overload def getEntropy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @@ -1474,38 +982,15 @@ class PhaseGE(Phase, PhaseGEInterface): @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: ... + 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: ... + 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 @@ -1513,21 +998,11 @@ class PhaseHydrate(Phase): @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 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 @@ -1537,9 +1012,7 @@ class PhaseHydrate(Phase): def getHresTP(self) -> float: ... def getHydrationNumber(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getLargeCavityOccupancy(self, int: int) -> float: ... @@ -1552,9 +1025,7 @@ class PhaseHydrate(Phase): def getSresTP(self) -> float: ... def getStableHydrateStructure(self) -> int: ... @typing.overload - def getThermalConductivity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload @@ -1566,52 +1037,23 @@ class PhaseHydrate(Phase): @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: ... + 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 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, jneqsim.thermo.ThermodynamicConstantsInterface): 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 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 @@ -1620,9 +1062,7 @@ class PhaseIdealGas(Phase, jneqsim.thermo.ThermodynamicConstantsInterface): 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @@ -1637,63 +1077,32 @@ class PhaseIdealGas(Phase, jneqsim.thermo.ThermodynamicConstantsInterface): @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: ... + 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 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 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 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]]: ... + 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 @@ -1717,16 +1126,12 @@ class PhaseAmmoniaEos(PhaseEos): def getGibbsEnergy(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1734,9 +1139,7 @@ class PhaseAmmoniaEos(PhaseEos): @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload - def getThermalConductivity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload @@ -1749,36 +1152,17 @@ class PhaseAmmoniaEos(PhaseEos): @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 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: ... + 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 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: ... + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -1789,14 +1173,7 @@ class PhaseDesmukhMather(PhaseGE): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy( - self, - phaseInterface: PhaseInterface, - int: int, - double: float, - double2: float, - phaseType: PhaseType, - ) -> float: ... + 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: ... @@ -1807,225 +1184,70 @@ class PhaseDesmukhMather(PhaseGE): @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: ... + 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: ... + 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: ... + 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 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 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: ... + 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: ... + 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: ... + 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 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: ... + 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: ... + 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: ... + 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": ... + 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 @@ -2044,15 +1266,11 @@ class PhaseGERG2004Eos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -2060,36 +1278,19 @@ class PhaseGERG2004Eos(PhaseEos): @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 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 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 clone(self) -> 'PhaseGERG2008Eos': ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -2098,12 +1299,8 @@ class PhaseGERG2008Eos(PhaseEos): 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]]: ... + 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 @@ -2130,15 +1327,11 @@ class PhaseGERG2008Eos(PhaseEos): def getGresTP(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... @@ -2151,189 +1344,61 @@ class PhaseGERG2008Eos(PhaseEos): @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 setGergModelType( - self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type - ) -> None: ... + 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 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: ... + 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 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: ... + 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: ... + 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 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: ... + 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: ... + 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 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 clone(self) -> 'PhaseLeachmanEos': ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -2360,15 +1425,11 @@ class PhaseLeachmanEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getZ(self) -> float: ... @@ -2380,38 +1441,19 @@ class PhaseLeachmanEos(PhaseEos): @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 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 PhasePitzer(PhaseGE): def __init__(self): ... @typing.overload - def addComponent( - self, string: typing.Union[java.lang.String, str], double: float, int: int - ) -> None: ... + 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 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: ... + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... def getBeta0ij(self, int: int, int2: int) -> float: ... @@ -2430,106 +1472,46 @@ class PhasePitzer(PhaseGE): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy( - self, - phaseInterface: PhaseInterface, - int: int, - double: float, - double2: float, - phaseType: PhaseType, - ) -> float: ... + 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 getSolventWeight(self) -> float: ... def getSresTP(self) -> float: ... def getSresTV(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 setBinaryParameters( - self, int: int, int2: int, double: float, double2: float, double3: 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: ... + 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 setBinaryParameters(self, int: int, int2: int, double: float, double2: float, double3: 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 setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> 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": ... + 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": ... + 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: ... + 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": ... + 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 @@ -2548,15 +1530,11 @@ class PhaseSpanWagnerEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -2569,67 +1547,34 @@ class PhaseSpanWagnerEos(PhaseEos): @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 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 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": ... + 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": ... + 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 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 clone(self) -> 'PhaseVegaEos': ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -2656,15 +1601,11 @@ class PhaseVegaEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getZ(self) -> float: ... @@ -2676,35 +1617,18 @@ class PhaseVegaEos(PhaseEos): @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 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 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 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": ... + def clone(self) -> 'PhaseWaterIAPWS': ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -2723,9 +1647,7 @@ class PhaseWaterIAPWS(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload @@ -2737,70 +1659,31 @@ class PhaseWaterIAPWS(PhaseEos): @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 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 __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: ... + 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 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 clone(self) -> 'PhaseBWRSEos': ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -2826,9 +1709,7 @@ class PhaseBWRSEos(PhaseSrkEos): def getFpoldVdVdV(self) -> float: ... def getGammadRho(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMolarDensity(self) -> float: ... @@ -2841,33 +1722,16 @@ class PhaseBWRSEos(PhaseSrkEos): @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: ... + 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 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: ... @@ -2882,17 +1746,8 @@ class PhaseCSPsrkEos(PhaseSrkEos): @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 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: ... @@ -2902,26 +1757,16 @@ class PhaseCSPsrkEos(PhaseSrkEos): 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 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 getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... def getdPdTVn(self) -> float: ... @typing.overload @@ -2929,142 +1774,41 @@ class PhaseEOSCGEos(PhaseGERG2008Eos): @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 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: ... + 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 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: ... + 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: ... + 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 __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: ... @@ -3073,91 +1817,43 @@ class PhaseGEUnifac(PhaseGEUniquac): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy( - self, - phaseInterface: PhaseInterface, - int: int, - double: float, - double2: float, - phaseType: PhaseType, - ) -> float: ... + 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 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: ... + 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: ... + 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 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 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: ... + 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 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: ... + def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -3210,17 +1906,9 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): 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 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: ... @@ -3240,37 +1928,13 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): 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 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 clone(self) -> 'PhaseModifiedFurstElectrolyteEos': ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFLRdT(self) -> float: ... @@ -3302,14 +1966,10 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): def getDiElectricConstantdT(self) -> float: ... def getDiElectricConstantdV(self) -> float: ... def getDielectricConstant(self) -> float: ... - def getDielectricMixingRule( - self, - ) -> "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule": ... + def getDielectricMixingRule(self) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... def getDielectricT(self) -> float: ... def getDielectricV(self) -> float: ... - def getElectrolyteMixingRule( - self, - ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getEps(self) -> float: ... def getEpsIonic(self) -> float: ... def getEpsIonicdV(self) -> float: ... @@ -3329,57 +1989,25 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): @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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... @staticmethod - def values() -> ( - typing.MutableSequence[ - "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule" - ] - ): ... + def values() -> typing.MutableSequence['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule']: ... class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def __init__(self): ... @@ -3428,17 +2056,9 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): 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 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: ... @@ -3457,36 +2077,12 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): 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 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 clone(self) -> 'PhaseModifiedFurstElectrolyteEosMod2004': ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFLRdT(self) -> float: ... @@ -3520,9 +2116,7 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def getDielectricConstant(self) -> float: ... def getDielectricT(self) -> float: ... def getDielectricV(self) -> float: ... - def getElectrolyteMixingRule( - self, - ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getEps(self) -> float: ... def getEpsIonic(self) -> float: ... def getEpsIonicdV(self) -> float: ... @@ -3542,21 +2136,10 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): @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 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 setFurstIonicCoefficient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def volInit(self) -> None: ... class PhasePCSAFT(PhaseSrkEos): @@ -3565,17 +2148,9 @@ class PhasePCSAFT(PhaseSrkEos): 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 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: ... @@ -3608,7 +2183,7 @@ class PhasePCSAFT(PhaseSrkEos): def calcmSAFT(self) -> float: ... def calcmdSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> "PhasePCSAFT": ... + def clone(self) -> 'PhasePCSAFT': ... def dF_DISP1_SAFTdT(self) -> float: ... def dF_DISP1_SAFTdTdT(self) -> float: ... def dF_DISP1_SAFTdTdV(self) -> float: ... @@ -3649,22 +2224,8 @@ class PhasePCSAFT(PhaseSrkEos): 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 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: ... @@ -3674,20 +2235,9 @@ class PhasePCSAFT(PhaseSrkEos): @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 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: ... @@ -3713,17 +2263,9 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): 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 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: ... @@ -3732,7 +2274,7 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> "PhasePrCPA": ... + def clone(self) -> 'PhasePrCPA': ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -3745,9 +2287,7 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -3758,9 +2298,7 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): @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 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: ... @@ -3778,51 +2316,17 @@ class PhasePrEosvolcor(PhasePrEos): 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 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 clone(self) -> 'PhasePrEosvolcor': ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -3853,45 +2357,23 @@ class PhasePrEosvolcor(PhasePrEos): 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: ... + 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: ... + def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... class PhaseSolid(PhaseSrkEos): def __init__(self): ... @typing.overload - def addComponent( - self, string: typing.Union[java.lang.String, str], double: float, int: int - ) -> None: ... + 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": ... + 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 @@ -3913,9 +2395,7 @@ class PhaseSolid(PhaseSrkEos): def getEnthalpy(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -3928,9 +2408,7 @@ class PhaseSolid(PhaseSrkEos): @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 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: ... @@ -3940,19 +2418,11 @@ class PhaseSolid(PhaseSrkEos): 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 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 clone(self) -> 'PhaseSoreideWhitson': ... def getSalinity(self, double: float) -> float: ... def getSalinityConcentration(self) -> float: ... def setSalinityConcentration(self, double: float) -> None: ... @@ -3963,31 +2433,15 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): 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 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 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: ... @@ -4001,9 +2455,7 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -4015,57 +2467,20 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): @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 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 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 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: ... @@ -4085,51 +2500,17 @@ class PhaseSrkEosvolcor(PhaseSrkEos): 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 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 clone(self) -> 'PhaseSrkEosvolcor': ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -4160,45 +2541,23 @@ class PhaseSrkEosvolcor(PhaseSrkEos): 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: ... + 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: ... + 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": ... + 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 = ... @@ -4206,31 +2565,15 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): 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 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 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: ... @@ -4244,9 +2587,7 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -4258,57 +2599,20 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): @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 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 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 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: ... @@ -4321,31 +2625,15 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): 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 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 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: ... @@ -4359,9 +2647,7 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -4372,45 +2658,17 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): @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 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 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 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: ... @@ -4429,17 +2687,9 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def FDebyeHuckelX(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 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: ... @@ -4456,10 +2706,8 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): 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 clone(self) -> "PhaseElectrolyteCPAMM": ... + def calcSolventPermittivitydndn(self, int: int, int2: int, double: float) -> float: ... + def clone(self) -> 'PhaseElectrolyteCPAMM': ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFBorndV(self) -> float: ... @@ -4483,9 +2731,7 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def dFdVdVdV(self) -> float: ... def getBornX(self) -> float: ... def getDebyeLength(self) -> float: ... - def getDielectricMixingRule( - self, - ) -> "PhaseElectrolyteCPAMM.DielectricMixingRule": ... + def getDielectricMixingRule(self) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... def getF(self) -> float: ... def getIonSolventW(self) -> float: ... def getKappa(self) -> float: ... @@ -4501,49 +2747,29 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): @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 init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... def initElectrolyteProperties(self) -> None: ... def initMixingRuleWij(self) -> None: ... def isShortRangeOn(self) -> bool: ... def setBornOn(self, boolean: bool) -> None: ... def setDebyeHuckelOn(self, boolean: bool) -> None: ... - def setDielectricMixingRule( - self, dielectricMixingRule: "PhaseElectrolyteCPAMM.DielectricMixingRule" - ) -> 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... @staticmethod - def values() -> ( - typing.MutableSequence["PhaseElectrolyteCPAMM.DielectricMixingRule"] - ): ... + def values() -> typing.MutableSequence['PhaseElectrolyteCPAMM.DielectricMixingRule']: ... class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... @@ -4551,17 +2777,9 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface 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 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: ... @@ -4571,7 +2789,7 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> "PhaseElectrolyteCPAOld": ... + def clone(self) -> 'PhaseElectrolyteCPAOld': ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -4584,9 +2802,7 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -4598,44 +2814,16 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface @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 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 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: ... @@ -4645,201 +2833,69 @@ 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: ... + 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 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: ... + 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 __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: ... + 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: ... + 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 __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 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 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: ... + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... class PhasePCSAFTRahmat(PhasePCSAFT): def __init__(self): ... @@ -4847,17 +2903,9 @@ class PhasePCSAFTRahmat(PhasePCSAFT): 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 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: ... @@ -4885,7 +2933,7 @@ class PhasePCSAFTRahmat(PhasePCSAFT): def calcmSAFT(self) -> float: ... def calcmdSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> "PhasePCSAFTRahmat": ... + def clone(self) -> 'PhasePCSAFTRahmat': ... def dF_DISP1_SAFTdT(self) -> float: ... def dF_DISP1_SAFTdV(self) -> float: ... def dF_DISP1_SAFTdVdV(self) -> float: ... @@ -4903,39 +2951,16 @@ class PhasePCSAFTRahmat(PhasePCSAFT): 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 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 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): @@ -4944,22 +2969,14 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): 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 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 clone(self) -> 'PhasePCSAFTa': ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -4972,9 +2989,7 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): 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 getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -4985,110 +3000,69 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): @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 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 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": ... + def clone(self) -> 'PhasePureComponentSolid': ... class PhaseSolidComplex(PhaseSolid): def __init__(self): ... - def clone(self) -> "PhaseSolidComplex": ... + 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: ... + 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 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": ... + def clone(self) -> 'PhaseSrkCPAs': ... class PhaseWax(PhaseSolid): def __init__(self): ... @typing.overload - def addComponent( - self, string: typing.Union[java.lang.String, str], double: float, int: int - ) -> None: ... + 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 addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> 'PhaseWax': ... @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 init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> 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 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": ... + def clone(self) -> 'PhaseElectrolyteCPAstatoil': ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.phase")``. @@ -5129,9 +3103,7 @@ class __module_protocol__(Protocol): PhaseKentEisenberg: typing.Type[PhaseKentEisenberg] PhaseLeachmanEos: typing.Type[PhaseLeachmanEos] PhaseModifiedFurstElectrolyteEos: typing.Type[PhaseModifiedFurstElectrolyteEos] - PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[ - PhaseModifiedFurstElectrolyteEosMod2004 - ] + PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[PhaseModifiedFurstElectrolyteEosMod2004] PhasePCSAFT: typing.Type[PhasePCSAFT] PhasePCSAFTRahmat: typing.Type[PhasePCSAFTRahmat] PhasePCSAFTa: typing.Type[PhasePCSAFTa] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi index 85b94222..c476f5ee 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,222 +22,89 @@ import jneqsim.thermo.util.gerg import jneqsim.util.validation import typing + + 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: ... + 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: ... + 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: ... + 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: ... + 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": ... + def addFluid(self, systemInterface: 'SystemInterface') -> 'SystemInterface': ... @typing.overload - def addFluid( - self, systemInterface: "SystemInterface", int: int - ) -> "SystemInterface": ... + def addFluid(self, systemInterface: 'SystemInterface', int: int) -> 'SystemInterface': ... @staticmethod - def addFluids( - systemInterface: "SystemInterface", systemInterface2: "SystemInterface" - ) -> "SystemInterface": ... + 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 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: ... + 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 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 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: ... + 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": ... + 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": ... + def clone(self) -> 'SystemInterface': ... @staticmethod - def combineReservoirFluids( - int: int, *systemInterface: "SystemInterface" - ) -> "SystemInterface": ... + 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 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: ... @@ -255,18 +122,14 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): 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 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 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: ... @@ -283,7 +146,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getDensity(self) -> float: ... @typing.overload def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEmptySystemClone(self) -> "SystemInterface": ... + def getEmptySystemClone(self) -> 'SystemInterface': ... @typing.overload def getEnthalpy(self) -> float: ... @typing.overload @@ -295,9 +158,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getExergy(self, double: float) -> float: ... @typing.overload - def getExergy( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... @@ -310,45 +171,27 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): 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: ... + 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: ... + 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: ... + 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 - ): ... + 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 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 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: ... @@ -376,9 +219,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getNumberOfMoles(self) -> float: ... def getNumberOfOilFractionComponents(self) -> int: ... def getNumberOfPhases(self) -> int: ... - def getOilAssayCharacterisation( - self, - ) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + 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]: ... @@ -387,63 +228,36 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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: ... + 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: ... + 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: ... + def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... @typing.overload - def getPhaseNumberOfPhase( - self, phaseType: jneqsim.thermo.phase.PhaseType - ) -> int: ... + 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]: ... + 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": ... + 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: ... + 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]]: ... + 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 @@ -451,9 +265,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getStandard(self) -> jneqsim.standards.StandardInterface: ... @typing.overload - def getStandard( - self, string: typing.Union[java.lang.String, str] - ) -> jneqsim.standards.StandardInterface: ... + def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... def getTC(self) -> float: ... @typing.overload def getTemperature(self) -> float: ... @@ -464,9 +276,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTotalNumberOfMoles(self) -> float: ... @typing.overload def getViscosity(self) -> float: ... @@ -477,9 +287,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 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: ... @@ -491,9 +299,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... def hasHydratePhase(self) -> bool: ... @typing.overload def hasPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> bool: ... @@ -511,13 +317,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties( - self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType - ) -> None: ... + def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... @typing.overload - def initPhysicalProperties( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... def initProperties(self) -> None: ... def initRefPhases(self) -> None: ... def initThermoProperties(self) -> None: ... @@ -542,37 +344,23 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def normalizeBeta(self) -> None: ... def orderByDensity(self) -> None: ... @typing.overload - def phaseToSystem(self, int: int) -> "SystemInterface": ... + def phaseToSystem(self, int: int) -> 'SystemInterface': ... @typing.overload - def phaseToSystem(self, int: int, int2: int) -> "SystemInterface": ... + def phaseToSystem(self, int: int, int2: int) -> 'SystemInterface': ... @typing.overload - def phaseToSystem( - self, string: typing.Union[java.lang.String, str] - ) -> "SystemInterface": ... + def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... @typing.overload - def phaseToSystem( - self, phaseInterface: jneqsim.thermo.phase.PhaseInterface - ) -> "SystemInterface": ... + 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 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 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: ... @@ -582,17 +370,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 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: ... @@ -602,62 +382,31 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def setBeta(self, int: int, double: float) -> None: ... @typing.overload - def setBinaryInteractionParameter( - self, int: int, int2: int, double: float - ) -> None: ... + 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 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: ... + 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 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: ... + def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setForceSinglePhase( - self, phaseType: jneqsim.thermo.phase.PhaseType - ) -> None: ... + 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: ... @@ -665,78 +414,42 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def setImplementedTemperatureDeriativesofFugacity(self, boolean: bool) -> 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: ... + 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: ... + 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 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 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: ... + 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: ... + 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: ... + 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: ... + 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 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 @@ -744,27 +457,16 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @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 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 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 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: ... + 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] = ... @@ -782,16 +484,8 @@ class SystemThermo(SystemInterface): 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: ... + 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 @@ -799,182 +493,69 @@ class SystemThermo(SystemInterface): @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: ... + 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 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 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 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: ... + 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 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: ... + 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 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 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: ... @@ -993,9 +574,7 @@ class SystemThermo(SystemInterface): 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 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]: ... @@ -1026,9 +605,7 @@ class SystemThermo(SystemInterface): @typing.overload def getExergy(self, double: float) -> float: ... @typing.overload - def getExergy( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... @@ -1038,45 +615,27 @@ class SystemThermo(SystemInterface): def getHeatOfVaporization(self) -> float: ... def getHelmholtzEnergy(self) -> float: ... def getHydrateCheck(self) -> bool: ... - def getIdealLiquidDensity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + 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: ... + 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: ... + 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 - ): ... + 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 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 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: ... @@ -1103,9 +662,7 @@ class SystemThermo(SystemInterface): def getNumberOfComponents(self) -> int: ... def getNumberOfOilFractionComponents(self) -> int: ... def getNumberOfPhases(self) -> int: ... - def getOilAssayCharacterisation( - self, - ) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + 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]: ... @@ -1114,40 +671,22 @@ class SystemThermo(SystemInterface): @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: ... + 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: ... + 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: ... + def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... @typing.overload - def getPhaseNumberOfPhase( - self, string: typing.Union[java.lang.String, str] - ) -> int: ... + 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]: ... + 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 @@ -1158,19 +697,10 @@ class SystemThermo(SystemInterface): @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: ... + 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]]: ... + 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 @@ -1178,9 +708,7 @@ class SystemThermo(SystemInterface): @typing.overload def getStandard(self) -> jneqsim.standards.StandardInterface: ... @typing.overload - def getStandard( - self, string: typing.Union[java.lang.String, str] - ) -> jneqsim.standards.StandardInterface: ... + def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... def getSumBeta(self) -> float: ... def getTC(self) -> float: ... @typing.overload @@ -1192,9 +720,7 @@ class SystemThermo(SystemInterface): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity( - self, string: typing.Union[java.lang.String, str] - ) -> float: ... + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTotalNumberOfMoles(self) -> float: ... @typing.overload def getViscosity(self) -> float: ... @@ -1205,9 +731,7 @@ class SystemThermo(SystemInterface): @typing.overload def getVolume(self) -> float: ... def getVolumeFraction(self, int: int) -> float: ... - def getWaxCharacterisation( - self, - ) -> jneqsim.thermo.characterization.WaxCharacterise: ... + 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: ... @@ -1239,15 +763,11 @@ class SystemThermo(SystemInterface): @typing.overload def initNumeric(self, int: int, int2: int) -> None: ... @typing.overload - def initPhysicalProperties( - self, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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 initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... def initRefPhases(self) -> None: ... def initTotalNumberOfMoles(self, double: float) -> None: ... def init_x_y(self) -> None: ... @@ -1275,33 +795,19 @@ class SystemThermo(SystemInterface): @typing.overload def phaseToSystem(self, int: int, int2: int) -> SystemInterface: ... @typing.overload - def phaseToSystem( - self, string: typing.Union[java.lang.String, str] - ) -> SystemInterface: ... + def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... @typing.overload - def phaseToSystem( - self, phaseInterface: jneqsim.thermo.phase.PhaseInterface - ) -> SystemInterface: ... + 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 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 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: ... @@ -1311,17 +817,9 @@ class SystemThermo(SystemInterface): @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 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: ... @@ -1331,62 +829,31 @@ class SystemThermo(SystemInterface): @typing.overload def setBeta(self, int: int, double: float) -> None: ... @typing.overload - def setBinaryInteractionParameter( - self, int: int, int2: int, double: float - ) -> None: ... + 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 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: ... + 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 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: ... + def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setForceSinglePhase( - self, phaseType: jneqsim.thermo.phase.PhaseType - ) -> None: ... + 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: ... @@ -1399,74 +866,37 @@ class SystemThermo(SystemInterface): @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 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 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 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: ... + 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: ... + 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: ... + 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 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 @@ -1474,30 +904,19 @@ class SystemThermo(SystemInterface): @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 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 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 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: ... + 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 @@ -1513,7 +932,7 @@ class SystemIdealGas(SystemThermo): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemIdealGas": ... + def clone(self) -> 'SystemIdealGas': ... class SystemAmmoniaEos(SystemEos): @typing.overload @@ -1525,46 +944,22 @@ class SystemAmmoniaEos(SystemEos): @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: ... + 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 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": ... + 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 @@ -1573,7 +968,7 @@ class SystemBWRSEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemBWRSEos": ... + def clone(self) -> 'SystemBWRSEos': ... class SystemBnsEos(SystemEos): @typing.overload @@ -1581,50 +976,21 @@ class SystemBnsEos(SystemEos): @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 __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: ... + 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: ... + 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: ... + 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 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): @@ -1634,7 +1000,7 @@ class SystemDesmukhMather(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemDesmukhMather": ... + def clone(self) -> 'SystemDesmukhMather': ... class SystemDuanSun(SystemEos): @typing.overload @@ -1646,46 +1012,22 @@ class SystemDuanSun(SystemEos): @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: ... + 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 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": ... + 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 @@ -1694,7 +1036,7 @@ class SystemEOSCGEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemEOSCGEos": ... + def clone(self) -> 'SystemEOSCGEos': ... def commonInitialization(self) -> None: ... class SystemGERG2004Eos(SystemEos): @@ -1704,7 +1046,7 @@ class SystemGERG2004Eos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemGERG2004Eos": ... + def clone(self) -> 'SystemGERG2004Eos': ... def commonInitialization(self) -> None: ... class SystemGERG2008Eos(SystemEos): @@ -1714,13 +1056,11 @@ class SystemGERG2008Eos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemGERG2008Eos": ... + def clone(self) -> 'SystemGERG2008Eos': ... def commonInitialization(self) -> None: ... def getGergModelType(self) -> jneqsim.thermo.util.gerg.GERG2008Type: ... def isUsingHydrogenEnhancedModel(self) -> bool: ... - def setGergModelType( - self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type - ) -> None: ... + def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... def useHydrogenEnhancedModel(self) -> None: ... class SystemGEWilson(SystemEos): @@ -1730,7 +1070,7 @@ class SystemGEWilson(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemGEWilson": ... + def clone(self) -> 'SystemGEWilson': ... class SystemKentEisenberg(SystemEos): @typing.overload @@ -1739,7 +1079,7 @@ class SystemKentEisenberg(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemKentEisenberg": ... + def clone(self) -> 'SystemKentEisenberg': ... class SystemLeachmanEos(SystemEos): @typing.overload @@ -1751,46 +1091,22 @@ class SystemLeachmanEos(SystemEos): @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: ... + 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 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 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): @@ -1800,7 +1116,7 @@ class SystemNRTL(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemNRTL": ... + def clone(self) -> 'SystemNRTL': ... class SystemPitzer(SystemEos): @typing.overload @@ -1809,24 +1125,15 @@ class SystemPitzer(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPitzer": ... + 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: ... + 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 setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... class SystemPrEos(SystemEos): @typing.overload @@ -1835,7 +1142,7 @@ class SystemPrEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrEos": ... + def clone(self) -> 'SystemPrEos': ... class SystemRKEos(SystemEos): @typing.overload @@ -1844,7 +1151,7 @@ class SystemRKEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemRKEos": ... + def clone(self) -> 'SystemRKEos': ... class SystemSpanWagnerEos(SystemEos): @typing.overload @@ -1856,46 +1163,22 @@ class SystemSpanWagnerEos(SystemEos): @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: ... + 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 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 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): @@ -1905,7 +1188,7 @@ class SystemSrkEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkEos": ... + def clone(self) -> 'SystemSrkEos': ... class SystemTSTEos(SystemEos): @typing.overload @@ -1914,7 +1197,7 @@ class SystemTSTEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemTSTEos": ... + def clone(self) -> 'SystemTSTEos': ... class SystemUNIFAC(SystemEos): @typing.overload @@ -1923,7 +1206,7 @@ class SystemUNIFAC(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemUNIFAC": ... + def clone(self) -> 'SystemUNIFAC': ... class SystemUNIFACpsrk(SystemEos): @typing.overload @@ -1932,7 +1215,7 @@ class SystemUNIFACpsrk(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemUNIFACpsrk": ... + def clone(self) -> 'SystemUNIFACpsrk': ... class SystemVegaEos(SystemEos): @typing.overload @@ -1948,42 +1231,18 @@ class SystemVegaEos(SystemEos): @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 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): @@ -2000,42 +1259,18 @@ class SystemWaterIF97(SystemEos): @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 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): @@ -2045,21 +1280,21 @@ class SystemCSPsrkEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemCSPsrkEos": ... + 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": ... + 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": ... + def clone(self) -> 'SystemFurstElectrolyteEosMod2004': ... class SystemGERGwaterEos(SystemPrEos): @typing.overload @@ -2068,7 +1303,7 @@ class SystemGERGwaterEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemGERGwaterEos": ... + def clone(self) -> 'SystemGERGwaterEos': ... class SystemPCSAFT(SystemSrkEos): @typing.overload @@ -2078,25 +1313,10 @@ class SystemPCSAFT(SystemSrkEos): @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 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): @@ -2106,7 +1326,7 @@ class SystemPCSAFTa(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPCSAFTa": ... + def clone(self) -> 'SystemPCSAFTa': ... class SystemPrCPA(SystemPrEos): @typing.overload @@ -2115,7 +1335,7 @@ class SystemPrCPA(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrCPA": ... + def clone(self) -> 'SystemPrCPA': ... class SystemPrDanesh(SystemPrEos): @typing.overload @@ -2124,7 +1344,7 @@ class SystemPrDanesh(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrDanesh": ... + def clone(self) -> 'SystemPrDanesh': ... class SystemPrEos1978(SystemPrEos): @typing.overload @@ -2133,7 +1353,7 @@ class SystemPrEos1978(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrEos1978": ... + def clone(self) -> 'SystemPrEos1978': ... class SystemPrEosDelft1998(SystemPrEos): @typing.overload @@ -2142,7 +1362,7 @@ class SystemPrEosDelft1998(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrEosDelft1998": ... + def clone(self) -> 'SystemPrEosDelft1998': ... class SystemPrEosvolcor(SystemPrEos): @typing.overload @@ -2157,7 +1377,7 @@ class SystemPrGassemEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrGassemEos": ... + def clone(self) -> 'SystemPrGassemEos': ... class SystemPrMathiasCopeman(SystemPrEos): @typing.overload @@ -2166,7 +1386,7 @@ class SystemPrMathiasCopeman(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPrMathiasCopeman": ... + def clone(self) -> 'SystemPrMathiasCopeman': ... class SystemPsrkEos(SystemSrkEos): @typing.overload @@ -2175,7 +1395,7 @@ class SystemPsrkEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemPsrkEos": ... + def clone(self) -> 'SystemPsrkEos': ... class SystemSrkCPA(SystemSrkEos): @typing.overload @@ -2187,46 +1407,22 @@ class SystemSrkCPA(SystemSrkEos): @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: ... + 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 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): @@ -2242,7 +1438,7 @@ class SystemSrkMathiasCopeman(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkMathiasCopeman": ... + def clone(self) -> 'SystemSrkMathiasCopeman': ... class SystemSrkPenelouxEos(SystemSrkEos): @typing.overload @@ -2251,7 +1447,7 @@ class SystemSrkPenelouxEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkPenelouxEos": ... + def clone(self) -> 'SystemSrkPenelouxEos': ... class SystemSrkSchwartzentruberEos(SystemSrkEos): @typing.overload @@ -2260,7 +1456,7 @@ class SystemSrkSchwartzentruberEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkSchwartzentruberEos": ... + def clone(self) -> 'SystemSrkSchwartzentruberEos': ... class SystemSrkTwuCoonEos(SystemSrkEos): @typing.overload @@ -2269,7 +1465,7 @@ class SystemSrkTwuCoonEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkTwuCoonEos": ... + def clone(self) -> 'SystemSrkTwuCoonEos': ... class SystemSrkTwuCoonParamEos(SystemSrkEos): @typing.overload @@ -2278,7 +1474,7 @@ class SystemSrkTwuCoonParamEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkTwuCoonParamEos": ... + def clone(self) -> 'SystemSrkTwuCoonParamEos': ... class SystemSrkTwuCoonStatoilEos(SystemSrkEos): @typing.overload @@ -2287,7 +1483,7 @@ class SystemSrkTwuCoonStatoilEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkTwuCoonStatoilEos": ... + def clone(self) -> 'SystemSrkTwuCoonStatoilEos': ... class SystemUMRCPAEoS(SystemPrEos): @typing.overload @@ -2302,7 +1498,7 @@ class SystemUMRPRUEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemUMRPRUEos": ... + def clone(self) -> 'SystemUMRPRUEos': ... def commonInitialization(self) -> None: ... class SystemElectrolyteCPA(SystemFurstElectrolyteEos): @@ -2310,7 +1506,7 @@ class SystemElectrolyteCPA(SystemFurstElectrolyteEos): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> "SystemElectrolyteCPA": ... + def clone(self) -> 'SystemElectrolyteCPA': ... class SystemElectrolyteCPAMM(SystemSrkCPA): @typing.overload @@ -2319,7 +1515,7 @@ class SystemElectrolyteCPAMM(SystemSrkCPA): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemElectrolyteCPAMM": ... + def clone(self) -> 'SystemElectrolyteCPAMM': ... def getDebyeLength(self, int: int) -> float: ... def getMixturePermittivity(self, int: int) -> float: ... def getSolventPermittivity(self, int: int) -> float: ... @@ -2330,14 +1526,9 @@ class SystemElectrolyteCPAMM(SystemSrkCPA): 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: ... + def setDielectricMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setDielectricMixingRule( - self, - dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule, - ) -> None: ... + def setDielectricMixingRule(self, dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule) -> None: ... def setShortRangeOn(self, boolean: bool) -> None: ... class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): @@ -2345,7 +1536,7 @@ class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> "SystemElectrolyteCPAstatoil": ... + def clone(self) -> 'SystemElectrolyteCPAstatoil': ... class SystemSoreideWhitson(SystemPrEos1978): @typing.overload @@ -2355,22 +1546,13 @@ class SystemSoreideWhitson(SystemPrEos1978): @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: ... + 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 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 clone(self) -> 'SystemSoreideWhitson': ... def getSalinity(self) -> float: ... - def setSalinity( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... class SystemSrkCPAs(SystemSrkCPA): @typing.overload @@ -2379,7 +1561,7 @@ class SystemSrkCPAs(SystemSrkCPA): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkCPAs": ... + def clone(self) -> 'SystemSrkCPAs': ... class SystemUMRPRUMCEos(SystemUMRPRUEos): @typing.overload @@ -2388,7 +1570,7 @@ class SystemUMRPRUMCEos(SystemUMRPRUEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemUMRPRUMCEos": ... + def clone(self) -> 'SystemUMRPRUMCEos': ... class SystemSrkCPAstatoil(SystemSrkCPAs): @typing.overload @@ -2397,7 +1579,7 @@ class SystemSrkCPAstatoil(SystemSrkCPAs): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> "SystemSrkCPAstatoil": ... + def clone(self) -> 'SystemSrkCPAstatoil': ... class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): @typing.overload @@ -2405,6 +1587,7 @@ class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): @typing.overload def __init__(self, double: float, double2: float): ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.system")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi index 370c0a05..012a82bc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,89 +11,42 @@ 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]]: ... + 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: ... + 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 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]: ... + 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 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 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi index f9ecd942..006054bf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,57 +22,46 @@ import jneqsim.thermo.util.spanwagner import jneqsim.thermo.util.steam import typing + + class FluidClassifier: @staticmethod - def calculateC7PlusContent( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> float: ... + def calculateC7PlusContent(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... @staticmethod - def classify( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> "ReservoirFluidType": ... + def classify(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ReservoirFluidType': ... @staticmethod - def classifyByC7Plus(double: float) -> "ReservoirFluidType": ... + def classifyByC7Plus(double: float) -> 'ReservoirFluidType': ... @staticmethod - def classifyByGOR(double: float) -> "ReservoirFluidType": ... + def classifyByGOR(double: float) -> 'ReservoirFluidType': ... @staticmethod - def classifyWithPhaseEnvelope( - systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ) -> "ReservoirFluidType": ... + def classifyWithPhaseEnvelope(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 'ReservoirFluidType': ... @staticmethod - def estimateAPIGravity( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> float: ... + def estimateAPIGravity(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... @staticmethod - def generateClassificationReport( - systemInterface: jneqsim.thermo.system.SystemInterface, - ) -> java.lang.String: ... + def generateClassificationReport(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... -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"] = ... +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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ReservoirFluidType': ... @staticmethod - def values() -> typing.MutableSequence["ReservoirFluidType"]: ... + def values() -> typing.MutableSequence['ReservoirFluidType']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi index 90911ef5..af230659 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,26 +9,23 @@ 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: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi index 57376c1a..24fcb6ff 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ import java.util import jpype import typing + + class FurstElectrolyteConstants(java.io.Serializable): furstParams: typing.ClassVar[typing.MutableSequence[float]] = ... furstParamsCPA: typing.ClassVar[typing.MutableSequence[float]] = ... @@ -46,15 +48,9 @@ class FurstElectrolyteConstants(java.io.Serializable): @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]: ... + 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: ... + 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 @@ -62,10 +58,7 @@ class FurstElectrolyteConstants(java.io.Serializable): @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: ... + 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 @@ -89,12 +82,7 @@ class FurstElectrolyteConstants(java.io.Serializable): @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: ... + def setIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... class IonParametersMM: T_REF: typing.ClassVar[float] = ... @@ -114,53 +102,30 @@ class IonParametersMM: 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: ... + 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: ... + 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: ... + 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: ... + 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": ... + 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: ... + 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: ... + 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: ... + 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 = ... @@ -169,13 +134,13 @@ class IonParametersMM: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi index a607952b..58c39c3f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,31 +11,18 @@ 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"]: ... + 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], - ): ... + 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: ... @@ -59,12 +46,8 @@ class FlashGradients(java.io.Serializable): @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 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]: ... @@ -75,30 +58,9 @@ class FlashGradients(java.io.Serializable): 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 __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: ... @@ -124,32 +86,10 @@ class FugacityJacobian(java.io.Serializable): 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 __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]: ... @@ -162,12 +102,8 @@ class PropertyGradient(java.io.Serializable): 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": ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi index 66f243f7..a039a5cc 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,40 +9,33 @@ 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: ... + 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: ... + 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi index 76c4a585..d34e6454 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,318 +11,77 @@ 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 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 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 __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 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 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: ... + 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 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: ... + 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"] = ... +class GERG2008Type(java.lang.Enum['GERG2008Type']): + STANDARD: typing.ClassVar['GERG2008Type'] = ... + HYDROGEN_ENHANCED: 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) # + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod - def valueOf( - class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str] - ) -> _valueOf_0__T: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'GERG2008Type': ... @staticmethod - def values() -> typing.MutableSequence["GERG2008Type"]: ... + def values() -> typing.MutableSequence['GERG2008Type']: ... class NeqSimAGA8Detail: @typing.overload @@ -332,33 +91,21 @@ class NeqSimAGA8Detail: @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity( - self, phaseInterface: jneqsim.thermo.phase.PhaseInterface - ) -> float: ... + 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 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 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 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 propertiesDetail(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... class NeqSimEOSCG: @@ -367,28 +114,18 @@ class NeqSimEOSCG: @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_EOSCG( - self, - ) -> typing.MutableSequence[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: ... + 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 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 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: ... @@ -399,46 +136,28 @@ class NeqSimGERG2008: @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... @typing.overload - def __init__( - self, - phaseInterface: jneqsim.thermo.phase.PhaseInterface, - gERG2008Type: GERG2008Type, - ): ... + def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, gERG2008Type: GERG2008Type): ... def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_GERG2008( - self, - ) -> typing.MutableSequence[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 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 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 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 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 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: ... @@ -446,9 +165,8 @@ class GERG2008H2(GERG2008): def __init__(self): ... def SetupGERG(self) -> None: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi index 1189ec12..7be24693 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,6 +7,8 @@ else: import typing + + class HumidAir: @staticmethod def cairSat(double: float) -> float: ... @@ -21,6 +23,7 @@ class HumidAir: @staticmethod def saturationPressureWater(double: float) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.humidair")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi index ee39c8bd..41c4037d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,349 +9,43 @@ 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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: ... + 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]: ... + 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]: ... + 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: ... + 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]: ... + 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: ... + 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: ... + 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 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi index 2a3fa1a2..da6badba 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,97 +11,46 @@ 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: ... + 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: ... + 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 __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]]: ... + 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: ... + 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 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]: ... + 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 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi index 22f20048..e8ccac9f 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,66 +12,39 @@ import jpype import jneqsim.thermo.system import typing + + class EclipseFluidReadWrite: pseudoName: typing.ClassVar[java.lang.String] = ... def __init__(self): ... @typing.overload @staticmethod - def read( - string: typing.Union[java.lang.String, str] - ) -> jneqsim.thermo.system.SystemInterface: ... + 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], - string2: typing.Union[java.lang.String, str], - ) -> jneqsim.thermo.system.SystemInterface: ... + 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], - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], - ) -> jneqsim.thermo.system.SystemInterface: ... + def read(string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def readE300File( - string: typing.Union[java.lang.String, str] - ) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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: ... + def setComposition(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 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]]: ... + 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: ... + 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: ... + def printTable(stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... class WhitsonPVTReader: def __init__(self): ... @@ -83,15 +56,11 @@ class WhitsonPVTReader: def getOmegaB(self) -> float: ... @typing.overload @staticmethod - def read( - string: typing.Union[java.lang.String, str] - ) -> jneqsim.thermo.system.SystemInterface: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi index 543ceca4..66ccfabd 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,15 @@ 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 getAlphaRes(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getDensity(self) -> float: ... def getThermalConductivity(self) -> float: ... def getViscosity(self) -> float: ... @@ -30,11 +30,10 @@ 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi index 0e12dba8..53a1bcd4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,11 +8,12 @@ else: import jneqsim.thermo.phase import typing + + class NeqSimSpanWagner: @staticmethod - def getProperties( - double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType - ) -> typing.MutableSequence[float]: ... + def getProperties(double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> typing.MutableSequence[float]: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.spanwagner")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi index 39b6b988..7853ef0c 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,6 +7,8 @@ else: import typing + + class Iapws_if97: @staticmethod def T4_p(double: float) -> float: ... @@ -27,6 +29,7 @@ class Iapws_if97: @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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi index 0efd2205..83b2004d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,27 +18,15 @@ 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 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 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 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: ... @@ -47,36 +35,14 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + 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 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: ... @@ -85,9 +51,7 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def PSflash(self, double: float) -> None: ... @typing.overload - def PSflash( - self, double: float, string: typing.Union[java.lang.String, str] - ) -> None: ... + 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: ... @@ -95,104 +59,53 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @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: ... + 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: ... + def PUflash(self, double: 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 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 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: ... + 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: ... + 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: ... + 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: ... + 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 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: ... + 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: ... + 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: ... + 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 @@ -200,33 +113,17 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def asphalteneOnsetTemperature(self) -> float: ... @typing.overload - def asphalteneOnsetTemperature( - self, double: float, double2: float, double3: float - ) -> float: ... + 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 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 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: ... @@ -240,27 +137,13 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + def calcPTphaseEnvelopeNew3(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... def calcPloadingCurve(self) -> None: ... - def calcSaltSaturation( - self, string: typing.Union[java.lang.String, str] - ) -> 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 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: ... def checkScalePotential(self, int: int) -> None: ... @@ -268,15 +151,8 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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 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: ... @@ -286,33 +162,18 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + 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 freezingPointTemperatureFlash(self, string: typing.Union[java.lang.String, str]) -> None: ... def gasHydrateTPflash(self) -> None: ... - def get( - self, string: typing.Union[java.lang.String, str] - ) -> typing.MutableSequence[float]: ... + def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... def getData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getDataPoints( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getDataPoints(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getJfreeChart(self) -> org.jfree.chart.JFreeChart: ... def getOperation(self) -> OperationInterface: ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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: ... @@ -323,38 +184,20 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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: ... + 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 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 run(self) -> None: ... def saturateWithWater(self) -> None: ... - def setResultTable( - self, - stringArray: typing.Union[ - typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray - ], - ) -> 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 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: ... @@ -362,66 +205,41 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ThermodynamicOperations.FlashType': ... @staticmethod - def values() -> typing.MutableSequence["ThermodynamicOperations.FlashType"]: ... + 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: ... - 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 addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> 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 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__ - ) + chemicalequilibrium: jneqsim.thermodynamicoperations.chemicalequilibrium.__module_protocol__ flashops: jneqsim.thermodynamicoperations.flashops.__module_protocol__ - phaseenvelopeops: ( - jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ - ) - propertygenerator: ( - jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ - ) + phaseenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ + propertygenerator: jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi index 7f05b79a..83f601bf 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,18 @@ 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi index 6011d41d..95207d48 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,25 +15,17 @@ import jneqsim.thermodynamicoperations.flashops.saturationops 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 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 getPoints( - self, int: int - ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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 solidPhaseFlash(self) -> None: ... def stabilityAnalysis(self) -> None: ... @@ -41,24 +33,10 @@ class Flash(jneqsim.thermodynamicoperations.BaseOperation): 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 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: ... @@ -67,20 +45,9 @@ class RachfordRice(java.io.Serializable): class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): @typing.overload - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - int: int, - int2: int, - ): ... + 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, 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: ... @@ -89,12 +56,7 @@ class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): def solve(self, int: int) -> int: ... class SysNewtonRhapsonTPflash(java.io.Serializable): - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - int: int, - int2: int, - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -102,12 +64,7 @@ class SysNewtonRhapsonTPflash(java.io.Serializable): def solve(self) -> float: ... class SysNewtonRhapsonTPflashNew(java.io.Serializable): - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - int: int, - int2: int, - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -115,15 +72,9 @@ class SysNewtonRhapsonTPflashNew(java.io.Serializable): 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 __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): @@ -134,163 +85,94 @@ class CriticalPointFlash(Flash): def run(self) -> None: ... class ImprovedVUflashQfunc(Flash): - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - double: float, - double2: float, - ): ... + 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 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 __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 __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 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 __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 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 __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 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 __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 __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 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 __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 __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 __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 getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... 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 __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 __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 getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... @@ -300,14 +182,10 @@ class TPflash(Flash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool - ): ... + 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 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: ... @@ -317,12 +195,7 @@ class TPgradientFlash(Flash): @typing.overload def __init__(self): ... @typing.overload - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - double: float, - double2: float, - ): ... + 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: ... @@ -330,139 +203,78 @@ class TPgradientFlash(Flash): def setfvec(self) -> None: ... class TVflash(Flash): - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ): ... + 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 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 __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 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 __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 __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: ... + 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 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 __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: ... + 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 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 __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 __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: ... + 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 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 __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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... def onPhaseSolve(self) -> None: ... @@ -470,59 +282,45 @@ class PSFlash(QfuncFlash): def solveQ(self) -> float: ... class PSFlashGERG2008(QfuncFlash): - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ): ... + 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 __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 __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 __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 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 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -565,14 +363,10 @@ class SolidFlash12(TPflash): def solvebeta1(self) -> float: ... class THflash(QfuncFlash): - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ): ... + 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 getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... @@ -580,13 +374,9 @@ 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 __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 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: ... @@ -599,9 +389,7 @@ 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -618,9 +406,7 @@ 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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -630,41 +416,30 @@ class TPmultiflashWAX(TPflash): def stabilityAnalysis(self) -> None: ... class TSFlash(QfuncFlash): - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ): ... + 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 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 __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 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 __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")``. @@ -713,6 +488,4 @@ class __module_protocol__(Protocol): VUflashQfunc: typing.Type[VUflashQfunc] VUflashSingleComp: typing.Type[VUflashSingleComp] dTPflash: typing.Type[dTPflash] - saturationops: ( - jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ - ) + saturationops: jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi index fac5253b..a5f1fe2a 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,16 +14,13 @@ 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, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -33,18 +30,10 @@ class CricondenBarTemp(java.io.Serializable): 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 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: ... @@ -59,23 +48,11 @@ class ConstantDutyFlash(ConstantDutyFlashInterface): 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 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 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 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: ... @@ -84,21 +61,12 @@ 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: ... + 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 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: ... @@ -111,22 +79,12 @@ 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: ... + 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 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: ... @@ -136,9 +94,7 @@ class AsphalteneOnsetTemperatureFlash(ConstantDutyFlash): 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 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: ... @@ -148,24 +104,14 @@ class ConstantDutyTemperatureFlash(ConstantDutyFlash): 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 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 __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: ... @@ -190,21 +136,13 @@ class BubblePointTemperatureNoDer(ConstantDutyTemperatureFlash): def run(self) -> None: ... class CalcSaltSatauration(ConstantDutyTemperatureFlash): - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - string: typing.Union[java.lang.String, str], - ): ... + 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 CheckScalePotential(ConstantDutyTemperatureFlash): - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int - ): ... - def getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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: ... @@ -233,9 +171,7 @@ class DewPointTemperatureFlashDer(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezeOut( - ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface -): +class FreezeOut(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): FCompTemp: typing.MutableSequence[float] = ... FCompNames: typing.MutableSequence[java.lang.String] = ... noFreezeFlash: bool = ... @@ -243,9 +179,7 @@ class FreezeOut( def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezingPointTemperatureFlash( - ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface -): +class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): noFreezeFlash: bool = ... Niterations: int = ... name: java.lang.String = ... @@ -253,19 +187,12 @@ class FreezingPointTemperatureFlash( @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool - ): ... + 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 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): @@ -273,9 +200,7 @@ class FreezingPointTemperatureFlashOld(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezingPointTemperatureFlashTR( - ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface -): +class FreezingPointTemperatureFlashTR(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): noFreezeFlash: bool = ... Niterations: int = ... FCompNames: typing.MutableSequence[java.lang.String] = ... @@ -288,16 +213,12 @@ class FreezingPointTemperatureFlashTR( @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool - ): ... + 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 -): +class FugTestConstP(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): temp: float = ... pres: float = ... testSystem: jneqsim.thermo.system.SystemInterface = ... @@ -310,9 +231,7 @@ class FugTestConstP( @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__( - self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... def PrintToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def initTestSystem2(self, int: int) -> None: ... def run(self) -> None: ... @@ -323,15 +242,8 @@ class HCdewPointPressureFlash(ConstantDutyTemperatureFlash): 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 __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): @@ -349,27 +261,15 @@ class HydrateFormationTemperatureFlash(ConstantDutyTemperatureFlash): def stop(self) -> None: ... class HydrateInhibitorConcentrationFlash(ConstantDutyTemperatureFlash): - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - string: typing.Union[java.lang.String, str], - double: float, - ): ... + 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 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 __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: ... @@ -381,12 +281,7 @@ class SolidComplexTemperatureCalc(ConstantDutyTemperatureFlash): @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 __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: ... @@ -403,15 +298,8 @@ class WATcalc(ConstantDutyTemperatureFlash): 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 __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): @@ -424,6 +312,7 @@ class WaterDewPointTemperatureMultiphaseFlash(ConstantDutyTemperatureFlash): 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")``. @@ -461,6 +350,4 @@ class __module_protocol__(Protocol): WATcalc: typing.Type[WATcalc] WaterDewPointEquilibriumLine: typing.Type[WaterDewPointEquilibriumLine] WaterDewPointTemperatureFlash: typing.Type[WaterDewPointTemperatureFlash] - WaterDewPointTemperatureMultiphaseFlash: typing.Type[ - WaterDewPointTemperatureMultiphaseFlash - ] + WaterDewPointTemperatureMultiphaseFlash: typing.Type[WaterDewPointTemperatureMultiphaseFlash] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi index d83a1f58..10fb5fe4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ import jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeop 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__ - ) + multicomponentenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.__module_protocol__ + reactivecurves: jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi index 42db0c07..bfda6fe4 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,18 +14,14 @@ import jneqsim.thermodynamicoperations import org.jfree.chart import typing + + 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 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: ... @@ -34,35 +30,14 @@ class PTphaseEnvelope(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 addData( - self, - string: typing.Union[java.lang.String, str], - doubleArray: typing.Union[ - typing.List[typing.MutableSequence[float]], jpype.JArray - ], - ) -> None: ... + 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: ... - 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 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: ... @@ -71,27 +46,12 @@ class PTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): class PTphaseEnvelope1(jneqsim.thermodynamicoperations.BaseOperation): points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - string: typing.Union[java.lang.String, str], - double: float, - double2: float, - boolean: bool, - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... 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 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: ... @@ -99,35 +59,14 @@ class PTphaseEnvelope1(jneqsim.thermodynamicoperations.BaseOperation): class PTphaseEnvelopeMay(jneqsim.thermodynamicoperations.BaseOperation): points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - 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 __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: ... - 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 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: ... @@ -136,26 +75,12 @@ class PTphaseEnvelopeMay(jneqsim.thermodynamicoperations.BaseOperation): class PTphaseEnvelopeNew(jneqsim.thermodynamicoperations.BaseOperation): points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__( - self, - systemInterface: jneqsim.thermo.system.SystemInterface, - string: typing.Union[java.lang.String, str], - double: float, - double2: float, - ): ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float): ... 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 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 printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -163,25 +88,12 @@ class PTphaseEnvelopeNew2(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 __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... def calcHydrateLine(self) -> None: ... 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 getResultTable( - self, - ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + 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 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: ... @@ -189,56 +101,25 @@ class PTphaseEnvelopeNew2(jneqsim.thermodynamicoperations.BaseOperation): 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 __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: ... - 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 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 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 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: ... @@ -249,12 +130,7 @@ 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 __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: ... @@ -285,9 +161,7 @@ class SysNewtonRhapsonPhaseEnvelope2(java.io.Serializable): def getNpCrit(self) -> int: ... def init(self) -> None: ... @staticmethod - def main( - stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] - ) -> None: ... + 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: ... @@ -295,15 +169,7 @@ class SysNewtonRhapsonPhaseEnvelope2(java.io.Serializable): def solve(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 __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 funcP(self) -> None: ... def funcT(self) -> None: ... def init(self) -> None: ... @@ -312,15 +178,7 @@ class CricondenBarFlash(PTphaseEnvelope): def setNewX(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 __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 funcP(self) -> None: ... def funcT(self) -> None: ... def init(self) -> None: ... @@ -328,6 +186,7 @@ class CricondenThermFlash(PTphaseEnvelope): def setNewK(self) -> None: ... def setNewX(self) -> None: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi index 7ca641fe..b9d76258 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,31 +12,19 @@ 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 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 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 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: ... @@ -44,22 +32,15 @@ class PloadingCurve(jneqsim.thermodynamicoperations.OperationInterface): class PloadingCurve2(jneqsim.thermodynamicoperations.BaseOperation): 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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi index d5ef4a6e..28533b78 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,6 +11,8 @@ 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: ... @@ -20,19 +22,11 @@ class OLGApropertyTableGenerator(jneqsim.thermodynamicoperations.BaseOperation): 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 -): +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 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: ... @@ -43,15 +37,9 @@ class OLGApropertyTableGeneratorKeywordFormat( 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 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: ... @@ -62,23 +50,13 @@ class OLGApropertyTableGeneratorWater(jneqsim.thermodynamicoperations.BaseOperat 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: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... -class OLGApropertyTableGeneratorWaterEven( - jneqsim.thermodynamicoperations.BaseOperation -): +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 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: ... @@ -89,23 +67,13 @@ class OLGApropertyTableGeneratorWaterEven( 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: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... -class OLGApropertyTableGeneratorWaterKeywordFormat( - jneqsim.thermodynamicoperations.BaseOperation -): +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 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: ... @@ -115,19 +83,11 @@ class OLGApropertyTableGeneratorWaterKeywordFormat( 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 -): +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 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: ... @@ -138,23 +98,13 @@ class OLGApropertyTableGeneratorWaterStudents( 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: ... + def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... -class OLGApropertyTableGeneratorWaterStudentsPH( - jneqsim.thermodynamicoperations.BaseOperation -): +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 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: ... @@ -165,27 +115,16 @@ class OLGApropertyTableGeneratorWaterStudentsPH( 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: ... + 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 - ] + OLGApropertyTableGeneratorKeywordFormat: typing.Type[OLGApropertyTableGeneratorKeywordFormat] OLGApropertyTableGeneratorWater: typing.Type[OLGApropertyTableGeneratorWater] - OLGApropertyTableGeneratorWaterEven: typing.Type[ - OLGApropertyTableGeneratorWaterEven - ] - OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[ - OLGApropertyTableGeneratorWaterKeywordFormat - ] - OLGApropertyTableGeneratorWaterStudents: typing.Type[ - OLGApropertyTableGeneratorWaterStudents - ] - OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[ - OLGApropertyTableGeneratorWaterStudentsPH - ] + OLGApropertyTableGeneratorWaterEven: typing.Type[OLGApropertyTableGeneratorWaterEven] + OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[OLGApropertyTableGeneratorWaterKeywordFormat] + OLGApropertyTableGeneratorWaterStudents: typing.Type[OLGApropertyTableGeneratorWaterStudents] + OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[OLGApropertyTableGeneratorWaterStudentsPH] diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi index a30ccd51..57a23dce 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,6 +19,8 @@ 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: ... @@ -39,9 +41,7 @@ class NeqSimLogging: class NeqSimThreadPool: @staticmethod - def execute( - runnable: typing.Union[java.lang.Runnable, typing.Callable] - ) -> None: ... + def execute(runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... @staticmethod def getDefaultPoolSize() -> int: ... @staticmethod @@ -58,11 +58,9 @@ class NeqSimThreadPool: def isShutdown() -> bool: ... @staticmethod def isTerminated() -> bool: ... - _newCompletionService__T = typing.TypeVar("_newCompletionService__T") # + _newCompletionService__T = typing.TypeVar('_newCompletionService__T') # @staticmethod - def newCompletionService() -> ( - java.util.concurrent.CompletionService[_newCompletionService__T] - ): ... + def newCompletionService() -> java.util.concurrent.CompletionService[_newCompletionService__T]: ... @staticmethod def resetPoolSize() -> None: ... @staticmethod @@ -76,25 +74,16 @@ class NeqSimThreadPool: @staticmethod def shutdown() -> None: ... @staticmethod - def shutdownAndAwait( - long: int, timeUnit: java.util.concurrent.TimeUnit - ) -> bool: ... + def shutdownAndAwait(long: int, timeUnit: java.util.concurrent.TimeUnit) -> bool: ... @staticmethod def shutdownNow() -> None: ... - _submit_1__T = typing.TypeVar("_submit_1__T") # + _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]: ... + 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]: ... + 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 = ... @@ -104,6 +93,7 @@ class NamedBaseClass(NamedInterface, java.io.Serializable): def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTagName(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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi index c917fdde..b3d356a6 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,6 +12,8 @@ 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: ... @@ -38,67 +40,31 @@ class AIParameter(java.lang.annotation.Annotation): 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 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 __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 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi index 4465d133..031de4c8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,22 +11,16 @@ 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: ... + 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 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 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): @@ -39,9 +33,7 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa 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 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 @@ -52,19 +44,14 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa 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: ... + 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 -): +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: ... @@ -79,9 +66,7 @@ class NeqSimDataBase( 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 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: ... @@ -91,10 +76,7 @@ class NeqSimDataBase( 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: ... + 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 @@ -104,10 +86,7 @@ class NeqSimDataBase( 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: ... + 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: ... @@ -118,16 +97,11 @@ class NeqSimDataBase( 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: ... + 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 -): +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] = ... @@ -140,9 +114,7 @@ class NeqSimExperimentDatabase( 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 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 @@ -153,10 +125,7 @@ class NeqSimExperimentDatabase( 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: ... + 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: ... @@ -169,18 +138,10 @@ class NeqSimFluidDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializ 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: ... + 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] = ... @@ -192,10 +153,7 @@ class NeqSimContractDataBase(NeqSimDataBase): 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: ... + 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] = ... @@ -204,14 +162,12 @@ class NeqSimProcessDesignDataBase(NeqSimDataBase): def initH2DatabaseFromCSVfiles() -> None: ... @typing.overload @staticmethod - def updateTable( - string: typing.Union[java.lang.String, str], - string2: typing.Union[java.lang.String, str], - ) -> None: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi index 8565db18..02dd9845 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,159 +8,68 @@ else: 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], - ): ... + 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 __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 __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 __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] - ): ... + 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], - ): ... + 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 __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 - ): ... + 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi index b1a915c2..cecd9fbe 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,14 @@ 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 __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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi index 9182f40a..bcd85c2b 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,23 +8,22 @@ else: 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: ... + 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: ... + 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi index bdb8640d..e555bf6d 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,32 +10,25 @@ 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 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: ... + 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: ... + 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: ... @@ -57,52 +50,28 @@ class Units: @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 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: ... - + 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], - ): ... + 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: ... + 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 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: ... + 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: ... @@ -111,75 +80,41 @@ class LengthUnit(BaseUnit): 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 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: ... + 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 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: ... + 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 __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: ... + 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: ... + 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: ... + 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]): ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.unit")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi index ccfe72d9..620e9bf8 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,12 +8,14 @@ else: 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 clone(self) -> 'DoubleCloneable': ... def doubleValue(self) -> float: ... def set(self, double: float) -> None: ... @@ -25,6 +27,7 @@ class FileSystemSettings: 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi index 2eeded61..86798429 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,74 +15,50 @@ 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 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": ... - + 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": ... + 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 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 getStatus(self) -> 'AIIntegrationHelper.ExecutionResult.Status': ... + def getValidation(self) -> 'ValidationResult': ... def isSuccess(self) -> bool: ... @staticmethod - def success( - validationResult: "ValidationResult", - ) -> "AIIntegrationHelper.ExecutionResult": ... + 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'AIIntegrationHelper.ExecutionResult.Status': ... @staticmethod - def values() -> ( - typing.MutableSequence["AIIntegrationHelper.ExecutionResult.Status"] - ): ... + def values() -> typing.MutableSequence['AIIntegrationHelper.ExecutionResult.Status']: ... class SimulationValidator: @staticmethod @@ -90,19 +66,15 @@ class SimulationValidator: @staticmethod def isReady(object: typing.Any) -> bool: ... @staticmethod - def validate(object: typing.Any) -> "ValidationResult": ... + def validate(object: typing.Any) -> 'ValidationResult': ... @typing.overload @staticmethod - def validateAndRun( - processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, - ) -> "ValidationResult": ... + def validateAndRun(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ValidationResult': ... @typing.overload @staticmethod - def validateAndRun( - processSystem: jneqsim.process.processmodel.ProcessSystem, - ) -> "ValidationResult": ... + def validateAndRun(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ValidationResult': ... @staticmethod - def validateOutput(object: typing.Any) -> "ValidationResult": ... + def validateOutput(object: typing.Any) -> 'ValidationResult': ... class ValidationResult: @typing.overload @@ -112,67 +84,45 @@ class ValidationResult: @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 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 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 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) # + 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: ... + def valueOf(class_: typing.Type[_valueOf_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": ... + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ValidationResult.Severity': ... @staticmethod - def values() -> typing.MutableSequence["ValidationResult.Severity"]: ... - + 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 __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 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")``. diff --git a/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi index aa2bc0cd..4244d6e2 100644 --- a/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi +++ b/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,76 +13,54 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing -_ModuleContract__T = typing.TypeVar("_ModuleContract__T") # + +_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 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 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 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: ... + 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 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 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 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 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: ... +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 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")``. diff --git a/src/jneqsim-stubs/jpype-stubs/__init__.pyi b/src/jneqsim-stubs/jpype-stubs/__init__.pyi index 380acf75..fe25482e 100644 --- a/src/jneqsim-stubs/jpype-stubs/__init__.pyi +++ b/src/jneqsim-stubs/jpype-stubs/__init__.pyi @@ -1,8 +1,8 @@ import types import typing -import sys +import sys if sys.version_info >= (3, 8): from typing import Literal else: @@ -10,8 +10,14 @@ else: import neqsim + @typing.overload -def JPackage(__package_name: Literal["neqsim"]) -> jneqsim.__module_protocol__: ... +def JPackage(__package_name: Literal['neqsim']) -> jneqsim.__module_protocol__: ... + + @typing.overload def JPackage(__package_name: str) -> types.ModuleType: ... + + def JPackage(__package_name) -> types.ModuleType: ... + From 7258713c415a945fc02ddab38c3ea5ebd8583649 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:11:04 +0100 Subject: [PATCH 7/8] update --- src/jneqsim-stubs/jneqsim-stubs/__init__.pyi | 43 - .../jneqsim-stubs/api/__init__.pyi | 15 - .../jneqsim-stubs/api/ioc/__init__.pyi | 25 - .../jneqsim-stubs/blackoil/__init__.pyi | 113 - .../jneqsim-stubs/blackoil/io/__init__.pyi | 173 - .../chemicalreactions/__init__.pyi | 63 - .../chemicalequilibrium/__init__.pyi | 82 - .../chemicalreaction/__init__.pyi | 89 - .../chemicalreactions/kinetics/__init__.pyi | 27 - .../datapresentation/__init__.pyi | 42 - .../filehandling/__init__.pyi | 29 - .../datapresentation/jfreechart/__init__.pyi | 40 - .../jneqsim-stubs/fluidmechanics/__init__.pyi | 31 - .../fluidmechanics/flowleg/__init__.pyi | 62 - .../flowleg/pipeleg/__init__.pyi | 25 - .../fluidmechanics/flownode/__init__.pyi | 395 --- .../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 | 103 - .../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 | 93 - .../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 - .../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 - .../jneqsim-stubs/integration/__init__.pyi | 143 - .../jneqsim-stubs/mathlib/__init__.pyi | 17 - .../mathlib/generalmath/__init__.pyi | 21 - .../mathlib/nonlinearsolver/__init__.pyi | 66 - .../physicalproperties/__init__.pyi | 52 - .../interfaceproperties/__init__.pyi | 79 - .../solidadsorption/__init__.pyi | 41 - .../surfacetension/__init__.pyi | 132 - .../physicalproperties/methods/__init__.pyi | 40 - .../__init__.pyi | 28 - .../conductivity/__init__.pyi | 38 - .../diffusivity/__init__.pyi | 34 - .../viscosity/__init__.pyi | 116 - .../gasphysicalproperties/__init__.pyi | 33 - .../conductivity/__init__.pyi | 30 - .../density/__init__.pyi | 24 - .../diffusivity/__init__.pyi | 36 - .../viscosity/__init__.pyi | 34 - .../liquidphysicalproperties/__init__.pyi | 30 - .../conductivity/__init__.pyi | 26 - .../density/__init__.pyi | 38 - .../diffusivity/__init__.pyi | 101 - .../viscosity/__init__.pyi | 39 - .../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 | 116 - .../__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 - .../jneqsim-stubs/process/__init__.pyi | 96 - .../process/advisory/__init__.pyi | 99 - .../jneqsim-stubs/process/alarm/__init__.pyi | 187 - .../process/calibration/__init__.pyi | 297 -- .../process/conditionmonitor/__init__.pyi | 37 - .../process/controllerdevice/__init__.pyi | 308 -- .../controllerdevice/structure/__init__.pyi | 51 - .../process/costestimation/__init__.pyi | 45 - .../costestimation/compressor/__init__.pyi | 22 - .../costestimation/separator/__init__.pyi | 22 - .../process/costestimation/valve/__init__.pyi | 22 - .../process/equipment/__init__.pyi | 313 -- .../process/equipment/absorber/__init__.pyi | 144 - .../process/equipment/adsorber/__init__.pyi | 55 - .../process/equipment/battery/__init__.pyi | 38 - .../process/equipment/blackoil/__init__.pyi | 28 - .../process/equipment/compressor/__init__.pyi | 560 --- .../equipment/diffpressure/__init__.pyi | 71 - .../equipment/distillation/__init__.pyi | 205 -- .../process/equipment/ejector/__init__.pyi | 85 - .../equipment/electrolyzer/__init__.pyi | 64 - .../process/equipment/expander/__init__.pyi | 152 - .../process/equipment/filter/__init__.pyi | 44 - .../process/equipment/flare/__init__.pyi | 146 - .../process/equipment/flare/dto/__init__.pyi | 59 - .../equipment/heatexchanger/__init__.pyi | 466 --- .../process/equipment/manifold/__init__.pyi | 43 - .../process/equipment/membrane/__init__.pyi | 47 - .../process/equipment/mixer/__init__.pyi | 107 - .../process/equipment/network/__init__.pyi | 122 - .../process/equipment/pipeline/__init__.pyi | 683 ---- .../pipeline/twophasepipe/__init__.pyi | 696 ---- .../twophasepipe/closure/__init__.pyi | 69 - .../twophasepipe/numerics/__init__.pyi | 141 - .../equipment/powergeneration/__init__.pyi | 101 - .../process/equipment/pump/__init__.pyi | 246 -- .../process/equipment/reactor/__init__.pyi | 180 - .../process/equipment/reservoir/__init__.pyi | 329 -- .../process/equipment/separator/__init__.pyi | 273 -- .../separator/sectiontype/__init__.pyi | 73 - .../process/equipment/splitter/__init__.pyi | 91 - .../process/equipment/stream/__init__.pyi | 259 -- .../process/equipment/subsea/__init__.pyi | 48 - .../process/equipment/tank/__init__.pyi | 287 -- .../process/equipment/util/__init__.pyi | 507 --- .../process/equipment/valve/__init__.pyi | 550 --- .../process/equipment/well/__init__.pyi | 15 - .../equipment/well/allocation/__init__.pyi | 89 - .../process/fielddevelopment/__init__.pyi | 21 - .../fielddevelopment/concept/__init__.pyi | 282 -- .../fielddevelopment/evaluation/__init__.pyi | 132 - .../fielddevelopment/facility/__init__.pyi | 133 - .../fielddevelopment/screening/__init__.pyi | 209 -- .../process/integration/__init__.pyi | 15 - .../process/integration/ml/__init__.pyi | 85 - .../jneqsim-stubs/process/logic/__init__.pyi | 82 - .../process/logic/action/__init__.pyi | 122 - .../process/logic/condition/__init__.pyi | 69 - .../process/logic/control/__init__.pyi | 41 - .../process/logic/esd/__init__.pyi | 37 - .../process/logic/hipps/__init__.pyi | 46 - .../process/logic/shutdown/__init__.pyi | 44 - .../process/logic/sis/__init__.pyi | 119 - .../process/logic/startup/__init__.pyi | 41 - .../process/logic/voting/__init__.pyi | 54 - .../process/measurementdevice/__init__.pyi | 454 --- .../measurementdevice/online/__init__.pyi | 27 - .../simpleflowregime/__init__.pyi | 92 - .../measurementdevice/vfm/__init__.pyi | 169 - .../process/mechanicaldesign/__init__.pyi | 238 -- .../mechanicaldesign/absorber/__init__.pyi | 28 - .../mechanicaldesign/adsorber/__init__.pyi | 28 - .../mechanicaldesign/compressor/__init__.pyi | 29 - .../mechanicaldesign/data/__init__.pyi | 34 - .../designstandards/__init__.pyi | 132 - .../mechanicaldesign/ejector/__init__.pyi | 46 - .../heatexchanger/__init__.pyi | 118 - .../mechanicaldesign/pipeline/__init__.pyi | 123 - .../mechanicaldesign/separator/__init__.pyi | 34 - .../separator/sectiontype/__init__.pyi | 59 - .../mechanicaldesign/valve/__init__.pyi | 221 -- .../jneqsim-stubs/process/ml/__init__.pyi | 279 -- .../process/ml/controllers/__init__.pyi | 54 - .../process/ml/examples/__init__.pyi | 60 - .../process/ml/multiagent/__init__.pyi | 117 - .../process/ml/surrogate/__init__.pyi | 95 - .../jneqsim-stubs/process/mpc/__init__.pyi | 663 ---- .../process/processmodel/__init__.pyi | 569 --- .../process/processmodel/graph/__init__.pyi | 212 -- .../processmodel/lifecycle/__init__.pyi | 153 - .../processmodel/processmodules/__init__.pyi | 222 -- .../jneqsim-stubs/process/safety/__init__.pyi | 200 -- .../process/safety/dto/__init__.pyi | 43 - .../process/safety/envelope/__init__.pyi | 75 - .../process/safety/release/__init__.pyi | 95 - .../process/safety/risk/__init__.pyi | 148 - .../process/safety/scenario/__init__.pyi | 99 - .../process/streaming/__init__.pyi | 94 - .../process/sustainability/__init__.pyi | 84 - .../jneqsim-stubs/process/util/__init__.pyi | 35 - .../process/util/event/__init__.pyi | 114 - .../process/util/example/__init__.pyi | 131 - .../process/util/export/__init__.pyi | 79 - .../util/fielddevelopment/__init__.pyi | 362 -- .../process/util/fire/__init__.pyi | 186 - .../process/util/monitor/__init__.pyi | 370 -- .../process/util/optimization/__init__.pyi | 318 -- .../process/util/report/__init__.pyi | 64 - .../process/util/report/safety/__init__.pyi | 109 - .../process/util/scenario/__init__.pyi | 86 - .../process/util/sensitivity/__init__.pyi | 47 - .../process/util/uncertainty/__init__.pyi | 87 - .../jneqsim-stubs/pvtsimulation/__init__.pyi | 25 - .../pvtsimulation/flowassurance/__init__.pyi | 108 - .../pvtsimulation/modeltuning/__init__.pyi | 40 - .../pvtsimulation/regression/__init__.pyi | 223 -- .../reservoirproperties/__init__.pyi | 23 - .../pvtsimulation/simulation/__init__.pyi | 346 -- .../pvtsimulation/util/__init__.pyi | 324 -- .../util/parameterfitting/__init__.pyi | 168 - .../jneqsim-stubs/standards/__init__.pyi | 74 - .../standards/gasquality/__init__.pyi | 162 - .../standards/oilquality/__init__.pyi | 35 - .../standards/salescontract/__init__.pyi | 87 - .../jneqsim-stubs/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 | 173 - .../nonlinearparameterfitting/__init__.pyi | 60 - .../jneqsim-stubs/thermo/__init__.pyi | 108 - .../thermo/atomelement/__init__.pyi | 85 - .../thermo/characterization/__init__.pyi | 634 ---- .../thermo/component/__init__.pyi | 1947 ---------- .../component/attractiveeosterm/__init__.pyi | 308 -- .../component/repulsiveeosterm/__init__.pyi | 18 - .../thermo/mixingrule/__init__.pyi | 456 --- .../jneqsim-stubs/thermo/phase/__init__.pyi | 3131 ----------------- .../jneqsim-stubs/thermo/system/__init__.pyi | 1652 --------- .../thermo/util/Vega/__init__.pyi | 55 - .../jneqsim-stubs/thermo/util/__init__.pyi | 83 - .../thermo/util/benchmark/__init__.pyi | 35 - .../thermo/util/constants/__init__.pyi | 148 - .../thermo/util/derivatives/__init__.pyi | 114 - .../thermo/util/empiric/__init__.pyi | 44 - .../thermo/util/gerg/__init__.pyi | 183 - .../thermo/util/humidair/__init__.pyi | 30 - .../thermo/util/jni/__init__.pyi | 53 - .../thermo/util/leachman/__init__.pyi | 58 - .../thermo/util/readwrite/__init__.pyi | 70 - .../util/referenceequations/__init__.pyi | 41 - .../thermo/util/spanwagner/__init__.pyi | 21 - .../thermo/util/steam/__init__.pyi | 36 - .../thermodynamicoperations/__init__.pyi | 245 -- .../chemicalequilibrium/__init__.pyi | 29 - .../flashops/__init__.pyi | 491 --- .../flashops/saturationops/__init__.pyi | 353 -- .../phaseenvelopeops/__init__.pyi | 17 - .../multicomponentenvelopeops/__init__.pyi | 203 -- .../reactivecurves/__init__.pyi | 48 - .../propertygenerator/__init__.pyi | 130 - .../jneqsim-stubs/util/__init__.pyi | 112 - .../util/annotation/__init__.pyi | 73 - .../jneqsim-stubs/util/database/__init__.pyi | 180 - .../jneqsim-stubs/util/exception/__init__.pyi | 82 - .../jneqsim-stubs/util/generator/__init__.pyi | 25 - .../util/serialization/__init__.pyi | 32 - .../jneqsim-stubs/util/unit/__init__.pyi | 131 - .../jneqsim-stubs/util/util/__init__.pyi | 35 - .../util/validation/__init__.pyi | 132 - .../util/validation/contracts/__init__.pyi | 71 - src/jneqsim-stubs/jpype-stubs/__init__.pyi | 23 - src/jneqsim-stubs/jpype-stubs/py.typed | 1 - 303 files changed, 37554 deletions(-) delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi delete mode 100644 src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi delete mode 100644 src/jneqsim-stubs/jpype-stubs/__init__.pyi delete mode 100644 src/jneqsim-stubs/jpype-stubs/py.typed diff --git a/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi deleted file mode 100644 index 48b48797..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/__init__.pyi +++ /dev/null @@ -1,43 +0,0 @@ - -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.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__ - 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-stubs/jneqsim-stubs/api/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi deleted file mode 100644 index 9a813888..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/api/__init__.pyi +++ /dev/null @@ -1,15 +0,0 @@ - -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-stubs/jneqsim-stubs/api/ioc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi deleted file mode 100644 index eb216820..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/api/ioc/__init__.pyi +++ /dev/null @@ -1,25 +0,0 @@ - -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-stubs/jneqsim-stubs/blackoil/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi deleted file mode 100644 index dc3079a4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/blackoil/__init__.pyi +++ /dev/null @@ -1,113 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -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: - 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: - 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: - 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: - 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: - 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-stubs/jneqsim-stubs/blackoil/io/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi deleted file mode 100644 index 41fddeed..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/blackoil/io/__init__.pyi +++ /dev/null @@ -1,173 +0,0 @@ - -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-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi deleted file mode 100644 index 21860ed2..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/__init__.pyi +++ /dev/null @@ -1,63 +0,0 @@ - -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-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi deleted file mode 100644 index e0d77caf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi +++ /dev/null @@ -1,82 +0,0 @@ - -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-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi deleted file mode 100644 index 7d29bac4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi +++ /dev/null @@ -1,89 +0,0 @@ - -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-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi deleted file mode 100644 index 4582d9a0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi +++ /dev/null @@ -1,27 +0,0 @@ - -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-stubs/jneqsim-stubs/datapresentation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi deleted file mode 100644 index b0c27dc0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/__init__.pyi +++ /dev/null @@ -1,42 +0,0 @@ - -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-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi deleted file mode 100644 index 1a332122..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/filehandling/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi deleted file mode 100644 index 41806bf3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi +++ /dev/null @@ -1,40 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi deleted file mode 100644 index e8ed463d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/__init__.pyi +++ /dev/null @@ -1,31 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi deleted file mode 100644 index fb4311a1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi +++ /dev/null @@ -1,62 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi deleted file mode 100644 index 68ab91bf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi +++ /dev/null @@ -1,25 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi deleted file mode 100644 index 8425f104..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi +++ /dev/null @@ -1,395 +0,0 @@ - -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 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 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: ... - -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 calculateDittusBoelterSherwood(double: float, double2: float) -> 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 calculateRanzMarshallSherwood(double: float, double2: float) -> float: ... - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi deleted file mode 100644 index a14f83ec..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi deleted file mode 100644 index 4da50665..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi +++ /dev/null @@ -1,175 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi deleted file mode 100644 index 9d218f41..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi +++ /dev/null @@ -1,31 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi deleted file mode 100644 index c4b2b51b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi +++ /dev/null @@ -1,19 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi deleted file mode 100644 index 13e342b7..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi +++ /dev/null @@ -1,32 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi deleted file mode 100644 index 0352e096..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi deleted file mode 100644 index 595bb4dd..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi deleted file mode 100644 index aee2c3cf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi +++ /dev/null @@ -1,38 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi deleted file mode 100644 index eb963873..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi +++ /dev/null @@ -1,20 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi deleted file mode 100644 index 6ca7b29d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi +++ /dev/null @@ -1,51 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi deleted file mode 100644 index eea1a2f0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi deleted file mode 100644 index 2daa6377..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi deleted file mode 100644 index 6f80cd92..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi +++ /dev/null @@ -1,45 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi deleted file mode 100644 index 3bf40546..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi +++ /dev/null @@ -1,46 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi deleted file mode 100644 index 18c88ea7..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi +++ /dev/null @@ -1,55 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi deleted file mode 100644 index 774d694d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi +++ /dev/null @@ -1,61 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi deleted file mode 100644 index bc6265e2..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi +++ /dev/null @@ -1,54 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi deleted file mode 100644 index e7791a37..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi +++ /dev/null @@ -1,26 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi deleted file mode 100644 index 12d08770..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi deleted file mode 100644 index 6871db55..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi deleted file mode 100644 index 49eb281c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi +++ /dev/null @@ -1,103 +0,0 @@ - -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 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: ... - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi deleted file mode 100644 index b3baf11f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi +++ /dev/null @@ -1,44 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi deleted file mode 100644 index de38a3cc..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi +++ /dev/null @@ -1,31 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi deleted file mode 100644 index ddb10290..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi +++ /dev/null @@ -1,42 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi deleted file mode 100644 index 184b718e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi +++ /dev/null @@ -1,37 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi deleted file mode 100644 index bb517645..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi deleted file mode 100644 index 7b538aa9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi +++ /dev/null @@ -1,31 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi deleted file mode 100644 index ae07d727..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi +++ /dev/null @@ -1,67 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi deleted file mode 100644 index e0a8cca9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi +++ /dev/null @@ -1,113 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi deleted file mode 100644 index 5178367d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi +++ /dev/null @@ -1,59 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi deleted file mode 100644 index 742b80a5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi +++ /dev/null @@ -1,56 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi deleted file mode 100644 index 97c4bae1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi +++ /dev/null @@ -1,89 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi deleted file mode 100644 index 4c753bbf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi deleted file mode 100644 index 4eb13069..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi +++ /dev/null @@ -1,46 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi deleted file mode 100644 index c076e8ef..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi deleted file mode 100644 index 65f532c1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi +++ /dev/null @@ -1,39 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi deleted file mode 100644 index d4119cb0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi +++ /dev/null @@ -1,93 +0,0 @@ - -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 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 getMassTransferMode(self) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... - 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 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 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: ... - 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")``. - - TwoPhaseFixedStaggeredGridSolver: typing.Type[TwoPhaseFixedStaggeredGridSolver] - TwoPhasePipeFlowSolver: typing.Type[TwoPhasePipeFlowSolver] diff --git a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi deleted file mode 100644 index ec0cb934..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi +++ /dev/null @@ -1,135 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi deleted file mode 100644 index c9fb0710..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi deleted file mode 100644 index 87483bf3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi +++ /dev/null @@ -1,50 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi deleted file mode 100644 index ae05f3e1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi +++ /dev/null @@ -1,34 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi deleted file mode 100644 index 6c0e45d6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi +++ /dev/null @@ -1,64 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi deleted file mode 100644 index 007411f6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi deleted file mode 100644 index 2cdb462e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi +++ /dev/null @@ -1,292 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi deleted file mode 100644 index f523ccba..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi deleted file mode 100644 index 8d08de57..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi +++ /dev/null @@ -1,106 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi deleted file mode 100644 index 7463f8c9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi deleted file mode 100644 index ec83b712..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi +++ /dev/null @@ -1,54 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi deleted file mode 100644 index 581cfc98..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi +++ /dev/null @@ -1,195 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi deleted file mode 100644 index a4eb9437..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi +++ /dev/null @@ -1,49 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi deleted file mode 100644 index 765c65d4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi deleted file mode 100644 index 4d6bd40b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi +++ /dev/null @@ -1,26 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi deleted file mode 100644 index 9b28a946..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi +++ /dev/null @@ -1,74 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi deleted file mode 100644 index 2cc6ee48..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/__init__.pyi +++ /dev/null @@ -1,64 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi deleted file mode 100644 index 4ab16300..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi deleted file mode 100644 index 4eb052b8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi +++ /dev/null @@ -1,74 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi deleted file mode 100644 index 529b2ea9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi deleted file mode 100644 index 22e3a21e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi deleted file mode 100644 index 89734b0d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi deleted file mode 100644 index 5fcd20b8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi +++ /dev/null @@ -1,43 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi deleted file mode 100644 index e8afd882..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi +++ /dev/null @@ -1,25 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi deleted file mode 100644 index 620aa4af..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi deleted file mode 100644 index 5af529e1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi +++ /dev/null @@ -1,25 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi deleted file mode 100644 index 73b872c6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ - -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-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi deleted file mode 100644 index 60872ad4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi +++ /dev/null @@ -1,61 +0,0 @@ - -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-stubs/jneqsim-stubs/integration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi deleted file mode 100644 index abf1d28b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/integration/__init__.pyi +++ /dev/null @@ -1,143 +0,0 @@ - -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.thermo.system -import typing - - - -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")``. - - EquipmentValidator: typing.Type[EquipmentValidator] - StreamValidator: typing.Type[StreamValidator] - ThermoValidator: typing.Type[ThermoValidator] - ValidationFramework: typing.Type[ValidationFramework] diff --git a/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi deleted file mode 100644 index 1268c6e8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi deleted file mode 100644 index cf8aaf86..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/generalmath/__init__.pyi +++ /dev/null @@ -1,21 +0,0 @@ - -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-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi deleted file mode 100644 index dbd97c1d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi +++ /dev/null @@ -1,66 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi deleted file mode 100644 index 833ca43a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/__init__.pyi +++ /dev/null @@ -1,52 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi deleted file mode 100644 index 31339608..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi +++ /dev/null @@ -1,79 +0,0 @@ - -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: ... - def initAdsorption(self) -> 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: ... - def initAdsorption(self) -> 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-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi deleted file mode 100644 index 9a0dc8d8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi +++ /dev/null @@ -1,41 +0,0 @@ - -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.system -import typing - - - -class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface): - def calcAdsorption(self, int: int) -> None: ... - @typing.overload - def getSurfaceExcess(self, int: int) -> float: ... - @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... - def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> 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: ... - @typing.overload - def getSurfaceExcess(self, int: int) -> float: ... - @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... - def readDBParameters(self) -> None: ... - def setSolidMaterial(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.solidadsorption")``. - - AdsorptionInterface: typing.Type[AdsorptionInterface] - PotentialTheoryAdsorption: typing.Type[PotentialTheoryAdsorption] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi deleted file mode 100644 index d9d0043f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi +++ /dev/null @@ -1,132 +0,0 @@ - -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 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")``. - - 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-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi deleted file mode 100644 index 68b6c72c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/__init__.pyi +++ /dev/null @@ -1,40 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi deleted file mode 100644 index 535a6cfe..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi deleted file mode 100644 index 5bbc5bd6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi +++ /dev/null @@ -1,38 +0,0 @@ - -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.system -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 PFCTConductivityMethodMod86(Conductivity): - referenceSystem: typing.ClassVar[jneqsim.thermo.system.SystemInterface] = ... - 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity")``. - - CO2ConductivityMethod: typing.Type[CO2ConductivityMethod] - Conductivity: typing.Type[Conductivity] - PFCTConductivityMethodMod86: typing.Type[PFCTConductivityMethodMod86] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi deleted file mode 100644 index 68d90647..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi +++ /dev/null @@ -1,34 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi deleted file mode 100644 index 893a288b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi +++ /dev/null @@ -1,116 +0,0 @@ - -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 getPureComponentViscosity(self, int: int) -> float: ... - def getRefComponentViscosity(self, double: float, double2: float) -> float: ... - -class PFCTViscosityMethodHeavyOil(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcViscosity(self) -> float: ... - def getRefComponentViscosity(self, double: float, double2: float) -> float: ... - -class PFCTViscosityMethodMod86(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcViscosity(self) -> float: ... - def getRefComponentViscosity(self, double: float, double2: float) -> float: ... - - -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-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi deleted file mode 100644 index 3d5a53ad..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi deleted file mode 100644 index 1dceae9a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi deleted file mode 100644 index 4aba4d2e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi deleted file mode 100644 index ca799dd7..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi +++ /dev/null @@ -1,36 +0,0 @@ - -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: ... - -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] - WilkeLeeDiffusivity: typing.Type[WilkeLeeDiffusivity] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi deleted file mode 100644 index 3f8a06f9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi +++ /dev/null @@ -1,34 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi deleted file mode 100644 index a6846849..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi deleted file mode 100644 index 62fc06f7..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi +++ /dev/null @@ -1,26 +0,0 @@ - -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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity")``. - - Conductivity: typing.Type[Conductivity] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi deleted file mode 100644 index bd085daf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi +++ /dev/null @@ -1,38 +0,0 @@ - -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': ... - -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 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] - Water: typing.Type[Water] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi deleted file mode 100644 index a583844b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi +++ /dev/null @@ -1,101 +0,0 @@ - -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'] = ... - 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 calcBinaryDiffusionCoefficient2(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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi deleted file mode 100644 index 20b5c21b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi +++ /dev/null @@ -1,39 +0,0 @@ - -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 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 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-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi deleted file mode 100644 index 6e22bfa4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi +++ /dev/null @@ -1,43 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi deleted file mode 100644 index 2b1af6e3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi deleted file mode 100644 index c825dc55..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi deleted file mode 100644 index b040be27..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi deleted file mode 100644 index 4a643c08..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi deleted file mode 100644 index 05e66fcd..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi deleted file mode 100644 index 47abd115..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi deleted file mode 100644 index 714df8bc..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/__init__.pyi +++ /dev/null @@ -1,116 +0,0 @@ - -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 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 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 setBinaryDiffusionCoefficientMethod(self, int: int) -> None: ... - def setConductivityModel(self, string: typing.Union[java.lang.String, str]) -> 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-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi deleted file mode 100644 index 2eef4c1f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi +++ /dev/null @@ -1,21 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi deleted file mode 100644 index 06ed955d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi deleted file mode 100644 index 01620630..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi +++ /dev/null @@ -1,43 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi deleted file mode 100644 index 15663403..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi +++ /dev/null @@ -1,21 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi deleted file mode 100644 index b370d2ff..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/__init__.pyi +++ /dev/null @@ -1,15 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi deleted file mode 100644 index 8472550e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi +++ /dev/null @@ -1,15 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi deleted file mode 100644 index 02780107..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi deleted file mode 100644 index 83490b4a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi deleted file mode 100644 index cb694af1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi deleted file mode 100644 index 353c3046..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ - -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-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi deleted file mode 100644 index abde4dda..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi +++ /dev/null @@ -1,33 +0,0 @@ - -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-stubs/jneqsim-stubs/process/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi deleted file mode 100644 index 1b1d4927..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/__init__.pyi +++ /dev/null @@ -1,96 +0,0 @@ - -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.calibration -import jneqsim.process.conditionmonitor -import jneqsim.process.controllerdevice -import jneqsim.process.costestimation -import jneqsim.process.equipment -import jneqsim.process.fielddevelopment -import jneqsim.process.integration -import jneqsim.process.logic -import jneqsim.process.measurementdevice -import jneqsim.process.mechanicaldesign -import jneqsim.process.ml -import jneqsim.process.mpc -import jneqsim.process.processmodel -import jneqsim.process.safety -import jneqsim.process.streaming -import jneqsim.process.sustainability -import jneqsim.process.util -import jneqsim.util -import typing - - - -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")``. - - SimulationBaseClass: typing.Type[SimulationBaseClass] - SimulationInterface: typing.Type[SimulationInterface] - advisory: jneqsim.process.advisory.__module_protocol__ - alarm: jneqsim.process.alarm.__module_protocol__ - calibration: jneqsim.process.calibration.__module_protocol__ - conditionmonitor: jneqsim.process.conditionmonitor.__module_protocol__ - controllerdevice: jneqsim.process.controllerdevice.__module_protocol__ - costestimation: jneqsim.process.costestimation.__module_protocol__ - equipment: jneqsim.process.equipment.__module_protocol__ - fielddevelopment: jneqsim.process.fielddevelopment.__module_protocol__ - integration: jneqsim.process.integration.__module_protocol__ - logic: jneqsim.process.logic.__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__ - processmodel: jneqsim.process.processmodel.__module_protocol__ - safety: jneqsim.process.safety.__module_protocol__ - streaming: jneqsim.process.streaming.__module_protocol__ - sustainability: jneqsim.process.sustainability.__module_protocol__ - util: jneqsim.process.util.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi deleted file mode 100644 index 219675b2..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/advisory/__init__.pyi +++ /dev/null @@ -1,99 +0,0 @@ - -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-stubs/jneqsim-stubs/process/alarm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi deleted file mode 100644 index 6bf354d9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/alarm/__init__.pyi +++ /dev/null @@ -1,187 +0,0 @@ - -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'], java.io.Serializable): - 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 isAcknowledged(self) -> bool: ... - def isActive(self) -> bool: ... - def reset(self) -> None: ... - def snapshot(self, string: typing.Union[java.lang.String, str]) -> 'AlarmStatusSnapshot': ... - -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-stubs/jneqsim-stubs/process/calibration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi deleted file mode 100644 index d3d77104..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/calibration/__init__.pyi +++ /dev/null @@ -1,297 +0,0 @@ - -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-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi deleted file mode 100644 index e2024f0f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/conditionmonitor/__init__.pyi +++ /dev/null @@ -1,37 +0,0 @@ - -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-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi deleted file mode 100644 index da900342..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/__init__.pyi +++ /dev/null @@ -1,308 +0,0 @@ - -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.controllerdevice.structure -import jneqsim.process.measurementdevice -import jneqsim.util -import typing - - - -class ControllerDeviceInterface(java.io.Serializable): - 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: ... - @typing.overload - def getMeasuredValue(self) -> float: ... - @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getResponse(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 setOutputLimits(self, double: float, double2: float) -> None: ... - def setReverseActing(self, boolean: bool) -> 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 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 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: ... - @typing.overload - def getMeasuredValue(self) -> float: ... - @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getResponse(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 setOutputLimits(self, double: float, double2: float) -> None: ... - def setReverseActing(self, boolean: bool) -> 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 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 __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] - ModelPredictiveController: typing.Type[ModelPredictiveController] - structure: jneqsim.process.controllerdevice.structure.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi deleted file mode 100644 index f4fe6803..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi +++ /dev/null @@ -1,51 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -import java.io -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 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 __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] - RatioControllerStructure: typing.Type[RatioControllerStructure] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi deleted file mode 100644 index 7b03c873..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/__init__.pyi +++ /dev/null @@ -1,45 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -import java.io -import jneqsim.process.costestimation.compressor -import jneqsim.process.costestimation.separator -import jneqsim.process.costestimation.valve -import jneqsim.process.mechanicaldesign -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 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 equals(self, object: typing.Any) -> bool: ... - def getTotalCost(self) -> float: ... - def hashCode(self) -> int: ... - - -class __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation")``. - - CostEstimateBaseClass: typing.Type[CostEstimateBaseClass] - UnitCostEstimateBaseClass: typing.Type[UnitCostEstimateBaseClass] - compressor: jneqsim.process.costestimation.compressor.__module_protocol__ - separator: jneqsim.process.costestimation.separator.__module_protocol__ - valve: jneqsim.process.costestimation.valve.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi deleted file mode 100644 index 919a5424..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/compressor/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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.compressor -import typing - - - -class CompressorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, compressorMechanicalDesign: jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign): ... - def getTotalCost(self) -> float: ... - - -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-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi deleted file mode 100644 index 35af7c89..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/separator/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi deleted file mode 100644 index e3d93149..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/costestimation/valve/__init__.pyi +++ /dev/null @@ -1,22 +0,0 @@ - -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.valve -import typing - - - -class ValveCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, valveMechanicalDesign: jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign): ... - def getTotalCost(self) -> float: ... - - -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-stubs/jneqsim-stubs/process/equipment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi deleted file mode 100644 index 0eec06a4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/__init__.pyi +++ /dev/null @@ -1,313 +0,0 @@ - -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.equipment.absorber -import jneqsim.process.equipment.adsorber -import jneqsim.process.equipment.battery -import jneqsim.process.equipment.blackoil -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.filter -import jneqsim.process.equipment.flare -import jneqsim.process.equipment.heatexchanger -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.well -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'] = ... - HeatExchanger: typing.ClassVar['EquipmentEnum'] = ... - Cooler: typing.ClassVar['EquipmentEnum'] = ... - Heater: typing.ClassVar['EquipmentEnum'] = ... - Mixer: typing.ClassVar['EquipmentEnum'] = ... - Splitter: typing.ClassVar['EquipmentEnum'] = ... - Reactor: typing.ClassVar['EquipmentEnum'] = ... - Column: 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'] = ... - Expander: typing.ClassVar['EquipmentEnum'] = ... - SimpleTEGAbsorber: typing.ClassVar['EquipmentEnum'] = ... - Tank: typing.ClassVar['EquipmentEnum'] = ... - ComponentSplitter: 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'] = ... - 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 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 createGORfitter(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.util.GORfitter: ... - @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: ... - -class ProcessEquipmentInterface(jneqsim.process.SimulationInterface): - def displayResult(self) -> None: ... - def equals(self, object: typing.Any) -> bool: ... - def getCapacityDuty(self) -> float: ... - def getCapacityMax(self) -> float: ... - def getConditionAnalysisMessage(self) -> java.lang.String: ... - 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], double: float) -> float: ... - @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - @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: ... - @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 getRestCapacity(self) -> float: ... - 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 hashCode(self) -> int: ... - def initMechanicalDesign(self) -> None: ... - 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 setPressure(self, double: float) -> 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: ... - def setOutletPressure(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setOutletTemperature(self, double: float) -> 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 copy(self) -> ProcessEquipmentInterface: ... - def displayResult(self) -> None: ... - def equals(self, object: typing.Any) -> bool: ... - def getConditionAnalysisMessage(self) -> java.lang.String: ... - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - 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: ... - @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 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 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 hashCode(self) -> int: ... - def initMechanicalDesign(self) -> None: ... - @typing.overload - def isActive(self) -> bool: ... - @typing.overload - def isActive(self, boolean: bool) -> None: ... - def isSetEnergyStream(self) -> bool: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - 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 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 setFlowValveController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... - def setMinimumFlow(self, double: float) -> None: ... - def setPressure(self, double: float) -> 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 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 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 getInletTemperature(self) -> float: ... - @typing.overload - def getMassBalance(self) -> float: ... - @typing.overload - def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - 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: ... - def setOutletPressure(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setOutletTemperature(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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment")``. - - EquipmentEnum: typing.Type[EquipmentEnum] - EquipmentFactory: typing.Type[EquipmentFactory] - 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__ - 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__ - filter: jneqsim.process.equipment.filter.__module_protocol__ - flare: jneqsim.process.equipment.flare.__module_protocol__ - heatexchanger: jneqsim.process.equipment.heatexchanger.__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__ - well: jneqsim.process.equipment.well.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi deleted file mode 100644 index 4bf26175..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/absorber/__init__.pyi +++ /dev/null @@ -1,144 +0,0 @@ - -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 -import jneqsim.process.equipment.stream -import jneqsim.process.mechanicaldesign.absorber -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 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: ... - 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 setStageEfficiency(self, double: float) -> None: ... - def setdT(self, double: float) -> None: ... - -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 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 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 guessTemperature(self) -> float: ... - 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: ... - -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] - SimpleAbsorber: typing.Type[SimpleAbsorber] - SimpleTEGAbsorber: typing.Type[SimpleTEGAbsorber] - WaterStripperColumn: typing.Type[WaterStripperColumn] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi deleted file mode 100644 index 5ec06169..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/adsorber/__init__.pyi +++ /dev/null @@ -1,55 +0,0 @@ - -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.adsorber -import typing - - - -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 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 setStageEfficiency(self, double: float) -> None: ... - def setdT(self, double: float) -> None: ... - - -class __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.adsorber")``. - - SimpleAdsorber: typing.Type[SimpleAdsorber] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi deleted file mode 100644 index 11d61d4c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/battery/__init__.pyi +++ /dev/null @@ -1,38 +0,0 @@ - -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-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi deleted file mode 100644 index 7fb003db..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/blackoil/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -import java.lang -import jneqsim.blackoil -import typing - - - -class BlackOilSeparator: - def __init__(self, string: typing.Union[java.lang.String, str], systemBlackOil: jneqsim.blackoil.SystemBlackOil, double: float, double2: float): ... - def getGasOut(self) -> jneqsim.blackoil.SystemBlackOil: ... - def getInlet(self) -> jneqsim.blackoil.SystemBlackOil: ... - def getName(self) -> java.lang.String: ... - def getOilOut(self) -> jneqsim.blackoil.SystemBlackOil: ... - def getWaterOut(self) -> jneqsim.blackoil.SystemBlackOil: ... - def run(self) -> None: ... - def setInlet(self, systemBlackOil: jneqsim.blackoil.SystemBlackOil) -> None: ... - - -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-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi deleted file mode 100644 index e1ffa803..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ /dev/null @@ -1,560 +0,0 @@ - -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.mechanicaldesign.compressor -import jneqsim.process.ml -import jneqsim.process.util.report -import jneqsim.thermo.system -import typing - - - -class AntiSurge(java.io.Serializable): - def __init__(self): ... - def equals(self, object: typing.Any) -> bool: ... - def getCurrentSurgeFraction(self) -> float: ... - def getSurgeControlFactor(self) -> float: ... - def hashCode(self) -> int: ... - def isActive(self) -> bool: ... - def isSurge(self) -> bool: ... - def setActive(self, boolean: bool) -> None: ... - def setCurrentSurgeFraction(self, double: float) -> None: ... - def setSurge(self, boolean: bool) -> None: ... - def setSurgeControlFactor(self, double: float) -> None: ... - -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 generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChart': ... - -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 getFlow(self, double: float, double2: float, double3: float) -> float: ... - def getHeadUnit(self) -> java.lang.String: ... - def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getMinSpeedCurve(self) -> float: ... - def getOperatingMW(self) -> 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 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: ... - @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 setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setOperatingMW(self, double: float) -> 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 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 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 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 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 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): - 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 copy(self) -> 'Compressor': ... - def displayResult(self) -> None: ... - def equals(self, object: typing.Any) -> bool: ... - def findOutPressure(self, double: float, double2: float, double3: float) -> float: ... - def generateCompressorCurves(self) -> None: ... - def getActualCompressionRatio(self) -> float: ... - def getAntiSurge(self) -> AntiSurge: ... - def getCapacityDuty(self) -> float: ... - def getCapacityMax(self) -> float: ... - def getCompressionRatio(self) -> float: ... - def getCompressorChart(self) -> CompressorChartInterface: ... - def getDistanceToStoneWall(self) -> float: ... - def getDistanceToSurge(self) -> float: ... - def getEnergy(self) -> float: ... - 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 getIsentropicEfficiency(self) -> float: ... - def getMaxOutletPressure(self) -> float: ... - def getMaximumSpeed(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... - def getMinimumSpeed(self) -> float: ... - def getNumberOfCompressorCalcSteps(self) -> int: ... - def getOutTemperature(self) -> float: ... - 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: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed(self) -> typing.MutableSequence[float]: ... - def getSpeed(self) -> float: ... - def getStateVector(self) -> jneqsim.process.ml.StateVector: ... - def getSurgeFlowRate(self) -> float: ... - def getSurgeFlowRateMargin(self) -> float: ... - def getSurgeFlowRateStd(self) -> float: ... - def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getTotalWork(self) -> float: ... - def hashCode(self) -> int: ... - def initMechanicalDesign(self) -> None: ... - def isCalcPressureOut(self) -> bool: ... - def isLimitSpeed(self) -> bool: ... - def isSetMaxOutletPressure(self) -> bool: ... - def isSolveSpeed(self) -> 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: ... - @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 setAntiSurge(self, antiSurge: AntiSurge) -> 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 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 setMaxOutletPressure(self, double: float) -> None: ... - def setMaximumSpeed(self, double: float) -> None: ... - def setMinimumSpeed(self, double: float) -> None: ... - def setNumberOfCompressorCalcSteps(self, int: int) -> None: ... - 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: ... - 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 setSolveSpeed(self, boolean: bool) -> None: ... - def setSpeed(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: ... - @typing.overload - def toJson(self) -> java.lang.String: ... - @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - def useOutTemperature(self, boolean: bool) -> None: ... - def usePolytropicCalc(self) -> bool: ... - -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 getFlow(self, double: float, double2: float, double3: float) -> float: ... - def getHeadUnit(self) -> java.lang.String: ... - def getMaxSpeedCurve(self) -> float: ... - def getMinSpeedCurve(self) -> 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 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 setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMaxSpeedCurve(self, double: float) -> None: ... - def setMinSpeedCurve(self, double: float) -> 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 CompressorChartAlternativeMapLookup(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: ... - @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 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 getGearRatio(self) -> float: ... - def getHeadUnit(self) -> java.lang.String: ... - def getMinSpeedCurve(self) -> 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 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] - CompressorChartKhader2015: typing.Type[CompressorChartKhader2015] - CompressorChartMWInterpolation: typing.Type[CompressorChartMWInterpolation] - CompressorChartReader: typing.Type[CompressorChartReader] - CompressorCurve: typing.Type[CompressorCurve] - CompressorInterface: typing.Type[CompressorInterface] - CompressorPropertyProfile: typing.Type[CompressorPropertyProfile] - SafeSplineStoneWallCurve: typing.Type[SafeSplineStoneWallCurve] - SafeSplineSurgeCurve: typing.Type[SafeSplineSurgeCurve] - StoneWallCurve: typing.Type[StoneWallCurve] - SurgeCurve: typing.Type[SurgeCurve] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi deleted file mode 100644 index ae746b77..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi +++ /dev/null @@ -1,71 +0,0 @@ - -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-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi deleted file mode 100644 index 445a56e9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/distillation/__init__.pyi +++ /dev/null @@ -1,205 +0,0 @@ - -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.mixer -import jneqsim.process.equipment.stream -import jneqsim.process.util.report -import typing - - - -class DistillationColumnMatrixSolver: - def __init__(self, distillationColumn: 'DistillationColumn'): ... - def solve(self, uUID: java.util.UUID) -> None: ... - -class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def equals(self, object: typing.Any) -> bool: ... - def hashCode(self) -> int: ... - def setNumberOfTrays(self, int: int) -> None: ... - -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 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 componentMassBalanceCheck(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def displayResult(self) -> None: ... - def energyBalanceCheck(self) -> None: ... - def findOptimalNumberOfTrays(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> int: ... - def getCondenser(self) -> 'Condenser': ... - def getCondenserTemperature(self) -> float: ... - def getEnergyBalanceError(self) -> float: ... - def getEnthalpyBalanceTolerance(self) -> float: ... - def getFeedStreams(self, int: int) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getFsFactor(self) -> float: ... - def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInternalDiameter(self) -> float: ... - def getLastEnergyResidual(self) -> float: ... - def getLastIterationCount(self) -> int: ... - def getLastMassResidual(self) -> float: ... - def getLastSolveTimeSeconds(self) -> float: ... - def getLastTemperatureResidual(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 getNumerOfTrays(self) -> int: ... - def getReboiler(self) -> 'Reboiler': ... - def getReboilerTemperature(self) -> float: ... - def getTemperatureTolerance(self) -> float: ... - def getTray(self, int: int) -> 'SimpleTray': ... - def getTrays(self) -> java.util.ArrayList['SimpleTray']: ... - def init(self) -> None: ... - def isDoInitializion(self) -> bool: ... - def isDoMultiPhaseCheck(self) -> bool: ... - def isEnforceEnergyBalanceTolerance(self) -> bool: ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def massBalanceCheck(self) -> bool: ... - @typing.overload - def run(self) -> None: ... - @typing.overload - def run(self, uUID: java.util.UUID) -> None: ... - def runBroyden(self, uUID: java.util.UUID) -> None: ... - def setBottomPressure(self, double: float) -> None: ... - def setCondenserTemperature(self, double: float) -> None: ... - def setDoInitializion(self, boolean: bool) -> None: ... - def setEnforceEnergyBalanceTolerance(self, boolean: bool) -> None: ... - def setEnthalpyBalanceTolerance(self, double: float) -> None: ... - def setInternalDiameter(self, double: float) -> None: ... - def setMassBalanceTolerance(self, double: float) -> None: ... - def setMaxNumberOfIterations(self, int: int) -> None: ... - def setMultiPhaseCheck(self, boolean: bool) -> None: ... - def setNumberOfTrays(self, int: int) -> None: ... - def setReboilerTemperature(self, double: float) -> None: ... - def setRelaxationFactor(self, double: float) -> None: ... - def setSolverType(self, solverType: 'DistillationColumn.SolverType') -> None: ... - def setTemperatureTolerance(self, double: float) -> None: ... - def setTopCondenserDuty(self, double: float) -> None: ... - def setTopPressure(self, double: float) -> 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 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_SOLVER: 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 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 getLiquidFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - 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 getVaporFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def guessTemperature(self) -> float: ... - def init(self) -> None: ... - 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 setHeatInput(self, double: float) -> None: ... - def setPressure(self, double: float) -> None: ... - def setTemperature(self, double: float) -> 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: ... - @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 Reboiler(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 getRefluxRatio(self) -> float: ... - @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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation")``. - - Condenser: typing.Type[Condenser] - DistillationColumn: typing.Type[DistillationColumn] - DistillationColumnMatrixSolver: typing.Type[DistillationColumnMatrixSolver] - DistillationInterface: typing.Type[DistillationInterface] - Reboiler: typing.Type[Reboiler] - SimpleTray: typing.Type[SimpleTray] - TrayInterface: typing.Type[TrayInterface] - VLSolidTray: typing.Type[VLSolidTray] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi deleted file mode 100644 index 2da2b3c5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/ejector/__init__.pyi +++ /dev/null @@ -1,85 +0,0 @@ - -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.ejector -import jneqsim.process.util.report -import typing - - - -class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... - def getDesignResult(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... - def getDiffuserEfficiency(self) -> float: ... - def getEfficiencyIsentropic(self) -> float: ... - def getEntrainmentRatio(self) -> 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.ejector.EjectorMechanicalDesign: ... - def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getMotiveStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSuctionStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def initMechanicalDesign(self) -> None: ... - @typing.overload - def run(self) -> None: ... - @typing.overload - def run(self, uUID: java.util.UUID) -> None: ... - def setDesignDiffuserOutletVelocity(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 setMixingPressure(self, double: float) -> None: ... - def setSuctionConnectionLength(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-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi deleted file mode 100644 index e3b36e50..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi +++ /dev/null @@ -1,64 +0,0 @@ - -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 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 getHydrogenOutStream(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 getOxygenOutStream(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 __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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi deleted file mode 100644 index 4f3c1c3f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/expander/__init__.pyi +++ /dev/null @@ -1,152 +0,0 @@ - -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.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): ... - @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: ... - 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 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 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 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: ... - @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-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi deleted file mode 100644 index 6556cd57..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/filter/__init__.pyi +++ /dev/null @@ -1,44 +0,0 @@ - -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.util.report -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 __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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi deleted file mode 100644 index 5695b2ee..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/__init__.pyi +++ /dev/null @@ -1,146 +0,0 @@ - -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 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-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi deleted file mode 100644 index 78d20c59..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi +++ /dev/null @@ -1,59 +0,0 @@ - -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-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi deleted file mode 100644 index edd91752..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi +++ /dev/null @@ -1,466 +0,0 @@ - -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.equipment -import jneqsim.process.equipment.stream -import jneqsim.process.mechanicaldesign.heatexchanger -import jneqsim.process.ml -import jneqsim.process.util.report -import typing - - - -class HeaterInterface(jneqsim.process.SimulationInterface): - def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutTP(self, double: float, double2: float) -> None: ... - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setdT(self, double: float) -> None: ... - -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 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): - @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 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 getEnergyInput(self) -> float: ... - 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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... - def getPressureDrop(self) -> float: ... - def getUtilitySpecification(self) -> UtilityStreamSpecification: ... - def initMechanicalDesign(self) -> None: ... - def isSetEnergyInput(self) -> bool: ... - 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 setDuty(self, double: float) -> None: ... - def setEnergyInput(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: ... - 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) -> None: ... - @typing.overload - def setOutTemperature(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 HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider): - 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 addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def calcThermalEffectivenes(self, double: float, double2: float) -> float: ... - def displayResult(self) -> None: ... - def getDeltaT(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 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: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... - @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 getStateVector(self) -> jneqsim.process.ml.StateVector: ... - def getThermalEffectiveness(self) -> float: ... - def getUAvalue(self) -> float: ... - def initMechanicalDesign(self) -> None: ... - @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: ... - 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 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) -> None: ... - @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 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 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: ... - 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 getAirVolumeFlow(self) -> float: ... - @typing.overload - def run(self) -> None: ... - @typing.overload - def run(self, uUID: java.util.UUID) -> 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 setPressure(self, double: float) -> None: ... - def setRelativeHumidity(self, double: float) -> None: ... - -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] - HeatExchanger: typing.Type[HeatExchanger] - HeatExchangerInterface: typing.Type[HeatExchangerInterface] - Heater: typing.Type[Heater] - HeaterInterface: typing.Type[HeaterInterface] - 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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi deleted file mode 100644 index b88090b4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/manifold/__init__.pyi +++ /dev/null @@ -1,43 +0,0 @@ - -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.util.report -import typing - - - -class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - @typing.overload - def getMassBalance(self) -> float: ... - @typing.overload - def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getNumberOfOutputStreams(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 setName(self, string: typing.Union[java.lang.String, str]) -> 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 __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-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi deleted file mode 100644 index 346a1535..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/membrane/__init__.pyi +++ /dev/null @@ -1,47 +0,0 @@ - -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: ... - @typing.overload - def getMassBalance(self) -> float: ... - @typing.overload - def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - 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-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi deleted file mode 100644 index 1b4efe85..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/mixer/__init__.pyi +++ /dev/null @@ -1,107 +0,0 @@ - -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.util.report -import jneqsim.thermo.system -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): - 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 displayResult(self) -> None: ... - def equals(self, object: typing.Any) -> bool: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getMassBalance(self) -> float: ... - @typing.overload - def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMixedSalinity(self) -> float: ... - def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getNumberOfInputStreams(self) -> int: ... - def getOutTemperature(self) -> float: ... - def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - 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 isDoMultiPhaseCheck(self) -> bool: ... - @typing.overload - def isSetOutTemperature(self) -> bool: ... - @typing.overload - def isSetOutTemperature(self, boolean: bool) -> None: ... - def mixStream(self) -> None: ... - 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 setMultiPhaseCheck(self, boolean: bool) -> None: ... - def setOutTemperature(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: ... - -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-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi deleted file mode 100644 index f89739bd..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/network/__init__.pyi +++ /dev/null @@ -1,122 +0,0 @@ - -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.flowsolver -import jneqsim.process.equipment -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.util.report -import typing - - - -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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.network")``. - - PipeFlowNetwork: typing.Type[PipeFlowNetwork] - WellFlowlineNetwork: typing.Type[WellFlowlineNetwork] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi deleted file mode 100644 index 602642b2..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ /dev/null @@ -1,683 +0,0 @@ - -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.process -import jneqsim.process.equipment -import jneqsim.process.equipment.pipeline.twophasepipe -import jneqsim.process.equipment.stream -import jneqsim.process.mechanicaldesign.pipeline -import jneqsim.process.util.report -import jneqsim.thermo.system -import jneqsim.thermodynamicoperations -import typing - - - -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 getFittingsList(self) -> java.util.ArrayList['Fittings.Fitting']: ... - 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 getFittingName(self) -> java.lang.String: ... - def getLtoD(self) -> float: ... - def setFittingName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLtoD(self, double: float) -> None: ... - -class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface): - def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... - def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setNumberOfLegs(self, int: int) -> None: ... - def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - -class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface): - @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 getCapacityDuty(self) -> float: ... - def getCapacityMax(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... - @typing.overload - def getOutletPressure(self) -> float: ... - @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... - def getSuperficialVelocity(self, int: int, int2: int) -> float: ... - def getTimes(self) -> typing.MutableSequence[float]: ... - 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 setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... - def setEquilibriumMassTransfer(self, boolean: bool) -> 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 setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setNumberOfLegs(self, int: int) -> None: ... - def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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 setPipeOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setPipeWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 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: ... - @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): - @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) -> float: ... - def calcPressureOut(self) -> float: ... - def calcWallFrictionFactor(self, double: float) -> float: ... - def displayResult(self) -> None: ... - def getDiameter(self) -> float: ... - def getInletElevation(self) -> float: ... - def getLength(self) -> float: ... - def getOutletElevation(self) -> float: ... - def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... - def getPipeWallRoughness(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: ... - def setDiameter(self, double: float) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletElevation(self, double: float) -> None: ... - def setLength(self, double: float) -> None: ... - def setOutPressure(self, double: float) -> None: ... - def setOutTemperature(self, double: float) -> None: ... - def setOutletElevation(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: ... - -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 displayResult(self) -> None: ... - def getDiameter(self) -> float: ... - def getInletElevation(self) -> float: ... - def getLength(self) -> float: ... - def getOutletElevation(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, 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 setInletElevation(self, double: float) -> None: ... - def setLength(self, double: float) -> None: ... - def setOutPressure(self, double: float) -> None: ... - def setOutTemperature(self, double: float) -> None: ... - def setOutletElevation(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 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: ... - def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getSimulationTime(self) -> float: ... - def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> 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): - @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 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 calculateMissingValue(self) -> None: ... - def convertSystemUnitToImperial(self) -> None: ... - def convertSystemUnitToMetric(self) -> None: ... - def displayResult(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 getElevation(self) -> float: ... - def getElevationProfile(self) -> java.util.List[float]: ... - def getFlowRegime(self) -> 'PipeBeggsAndBrills.FlowRegime': ... - def getFlowRegimeProfile(self) -> java.util.List['PipeBeggsAndBrills.FlowRegime']: ... - 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) -> java.util.List[float]: ... - def getLiquidSuperficialVelocityProfile(self) -> java.util.List[float]: ... - def getMixtureDensityProfile(self) -> java.util.List[float]: ... - def getMixtureReynoldsNumber(self) -> java.util.List[float]: ... - def getMixtureSuperficialVelocityProfile(self) -> java.util.List[float]: ... - def getMixtureViscosityProfile(self) -> java.util.List[float]: ... - def getNumberOfIncrements(self) -> int: ... - def getOuterHeatTransferCoefficient(self) -> float: ... - def getOutletSuperficialVelocity(self) -> float: ... - def getPipeWallThermalConductivity(self) -> float: ... - def getPressureDrop(self) -> float: ... - def getPressureDropProfile(self) -> java.util.List[float]: ... - def getPressureProfile(self) -> java.util.List[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 getSpecifiedOutletPressure(self) -> float: ... - def getSpecifiedOutletPressureUnit(self) -> java.lang.String: ... - def getTemperatureProfile(self) -> java.util.List[float]: ... - def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getThickness(self) -> float: ... - def isIncludeFrictionHeating(self) -> bool: ... - def isIncludeJouleThomsonEffect(self) -> bool: ... - def isUseOverallHeatTransferCoefficient(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 setAngle(self, double: float) -> None: ... - def setCalculationMode(self, calculationMode: 'PipeBeggsAndBrills.CalculationMode') -> None: ... - 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 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 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: ... - def setRunIsothermal(self, boolean: bool) -> 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: ... - 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 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: ... - def setOutPressure(self, double: float) -> None: ... - def setOutTemperature(self, 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 getAccumulationTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... - def getDiameter(self) -> float: ... - def getDistanceToHydrateRisk(self) -> float: ... - def getFirstHydrateRiskSection(self) -> int: ... - 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 getInsulationType(self) -> 'TwoFluidPipe.InsulationType': ... - def getLastSlugArrivalTime(self) -> float: ... - def getLength(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 getMaxSimulationTime(self) -> float: ... - def getMaxSlugLengthAtOutlet(self) -> float: ... - def getMaxSlugVolumeAtOutlet(self) -> float: ... - def getNumberOfSections(self) -> int: ... - def getOilHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getOilVelocityProfile(self) -> typing.MutableSequence[float]: ... - def getOilWaterSlipProfile(self) -> typing.MutableSequence[float]: ... - def getOutletSlugCount(self) -> int: ... - def getPositionProfile(self) -> typing.MutableSequence[float]: ... - def getPressureProfile(self) -> typing.MutableSequence[float]: ... - def getRoughness(self) -> float: ... - def getSimulationTime(self) -> float: ... - def getSlugStatisticsSummary(self) -> java.lang.String: ... - def getSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... - 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 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 isHeatTransferEnabled(self) -> bool: ... - def isJouleThomsonEnabled(self) -> bool: ... - def isWaterOilSlipEnabled(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 setCflNumber(self, double: float) -> None: ... - def setDiameter(self, double: float) -> None: ... - def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setEnableJouleThomson(self, boolean: bool) -> None: ... - def setEnableSlugTracking(self, boolean: bool) -> None: ... - def setEnableWaterOilSlip(self, boolean: bool) -> 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 setInsulationType(self, insulationType: 'TwoFluidPipe.InsulationType') -> None: ... - def setLength(self, double: float) -> None: ... - def setMaxSimulationTime(self, double: float) -> None: ... - def setNumberOfSections(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: ... - def setRoughness(self, double: float) -> None: ... - def setSoilThermalResistance(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 setThermodynamicUpdateInterval(self, int: int) -> 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_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 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 getCurrentTime(self) -> float: ... - def getDiameter(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: ... - def getMaxPressureEnvelope(self) -> 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: ... - def getMinPressureEnvelope(self) -> typing.MutableSequence[float]: ... - def getNumberOfNodes(self) -> int: ... - 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 getValveOpening(self) -> float: ... - def getVelocityProfile(self) -> typing.MutableSequence[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: ... - def setDownstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> 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 setNumberOfNodes(self, int: int) -> None: ... - def setPipeElasticModulus(self, double: float) -> None: ... - def setRoughness(self, double: float) -> None: ... - def setUpstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... - def setValveOpening(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 addFitting(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addFittingFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... - def calcPressureOut(self) -> float: ... - def getTotalEqLenth(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: ... - def setTotalEqLenth(self, double: float) -> None: ... - - -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] - Fittings: typing.Type[Fittings] - IncompressiblePipeFlow: typing.Type[IncompressiblePipeFlow] - OnePhasePipeLine: typing.Type[OnePhasePipeLine] - PipeBeggsAndBrills: typing.Type[PipeBeggsAndBrills] - PipeLineInterface: typing.Type[PipeLineInterface] - Pipeline: typing.Type[Pipeline] - SimpleTPoutPipeline: typing.Type[SimpleTPoutPipeline] - TubingPerformance: typing.Type[TubingPerformance] - TwoFluidPipe: typing.Type[TwoFluidPipe] - TwoPhasePipeLine: typing.Type[TwoPhasePipeLine] - WaterHammerPipe: typing.Type[WaterHammerPipe] - twophasepipe: jneqsim.process.equipment.pipeline.twophasepipe.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi deleted file mode 100644 index 3b90303b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi +++ /dev/null @@ -1,696 +0,0 @@ - -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.stream -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 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 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 getAccumulationTracker(self) -> LiquidAccumulationTracker: ... - def getAmbientTemperature(self) -> float: ... - def getCalculationIdentifier(self) -> java.util.UUID: ... - def getDiameter(self) -> float: ... - def getEnergyResidual(self) -> float: ... - def getGasVelocityProfile(self) -> typing.MutableSequence[float]: ... - def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getJouleThomsonCoeff(self) -> float: ... - def getLength(self) -> float: ... - def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... - def getMassResidual(self) -> float: ... - def getName(self) -> java.lang.String: ... - def getOutletMassFlow(self) -> float: ... - def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOverallHeatTransferCoeff(self) -> float: ... - def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... - def getPipeElasticity(self) -> float: ... - def getPressureHistory(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getPressureProfile(self) -> typing.MutableSequence[float]: ... - def getRoughness(self) -> float: ... - def getSections(self) -> typing.MutableSequence[PipeSection]: ... - def getSimulationTime(self) -> float: ... - def getSlugTracker(self) -> SlugTracker: ... - def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... - def getTotalTimeSteps(self) -> int: ... - def getWallThickness(self) -> float: ... - def initializePipe(self) -> None: ... - def isConverged(self) -> bool: ... - def isIncludeHeatTransfer(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 setAmbientTemperature(self, double: float) -> None: ... - def setCalculationIdentifier(self, uUID: java.util.UUID) -> 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 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 setInletMassFlow(self, double: float) -> None: ... - def setInletPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLength(self, double: float) -> None: ... - def setMaxSimulationTime(self, double: float) -> None: ... - def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setNumberOfLegs(self, int: int) -> None: ... - def setNumberOfNodesInLeg(self, int: int) -> None: ... - def setNumberOfSections(self, int: int) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOutletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... - def setOutletMassFlow(self, double: float) -> None: ... - 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 setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setRoughness(self, double: float) -> None: ... - def setThermodynamicUpdateInterval(self, int: int) -> None: ... - def setUpdateThermodynamics(self, boolean: bool) -> 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 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 setEnableHeatTransfer(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 setSurfaceTemperature(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 getEnergyPerLength(self) -> float: ... - def getEnergySource(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 getStateVector(self) -> typing.MutableSequence[float]: ... - def getStratifiedLiquidLevel(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 setEnergyPerLength(self, double: float) -> None: ... - def setEnergySource(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 setStateVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setStratifiedLiquidLevel(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, java.lang.Cloneable, java.io.Serializable): - @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] - 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__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi deleted file mode 100644 index 2c162846..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi +++ /dev/null @@ -1,69 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -import java.io -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 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 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] - WallFriction: typing.Type[WallFriction] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi deleted file mode 100644 index 079f096a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi +++ /dev/null @@ -1,141 +0,0 @@ - -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 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 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: ... - 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 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_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] - MUSCLReconstructor: typing.Type[MUSCLReconstructor] - TimeIntegrator: typing.Type[TimeIntegrator] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi deleted file mode 100644 index d7545e9d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi +++ /dev/null @@ -1,101 +0,0 @@ - -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.stream -import jneqsim.process.mechanicaldesign.compressor -import jneqsim.thermo.system -import typing - - - -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 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): - 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 calcIdealAirFuelRatio(self) -> float: ... - def getHeat(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... - def getPower(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: ... - -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 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")``. - - FuelCell: typing.Type[FuelCell] - GasTurbine: typing.Type[GasTurbine] - SolarPanel: typing.Type[SolarPanel] - WindTurbine: typing.Type[WindTurbine] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi deleted file mode 100644 index b68e42cb..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/pump/__init__.pyi +++ /dev/null @@ -1,246 +0,0 @@ - -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.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): - 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 calculateAsCompressor(self, boolean: bool) -> None: ... - def displayResult(self) -> None: ... - def getCapacityDuty(self) -> float: ... - def getCapacityMax(self) -> float: ... - def getDuty(self) -> float: ... - def getEnergy(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getIsentropicEfficiency(self) -> float: ... - 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 getSpeed(self) -> float: ... - def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def isCavitating(self) -> bool: ... - def isCheckNPSH(self) -> 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: ... - 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 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pump")``. - - ESPPump: typing.Type[ESPPump] - Pump: typing.Type[Pump] - PumpChart: typing.Type[PumpChart] - PumpChartAlternativeMapLookupExtrapolate: typing.Type[PumpChartAlternativeMapLookupExtrapolate] - PumpChartInterface: typing.Type[PumpChartInterface] - PumpCurve: typing.Type[PumpCurve] - PumpInterface: typing.Type[PumpInterface] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi deleted file mode 100644 index 65ea127c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reactor/__init__.pyi +++ /dev/null @@ -1,180 +0,0 @@ - -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.util.report -import typing - - - -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 getConvergenceTolerance(self) -> float: ... - def getDampingComposition(self) -> float: ... - def getDetailedMoleBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 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 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 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 getTemperatureChange(self) -> float: ... - def getUseAllDatabaseSpecies(self) -> bool: ... - def hasConverged(self) -> bool: ... - def isComponentInert(self, string: typing.Union[java.lang.String, str]) -> 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: ... - @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 setUseAllDatabaseSpecies(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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reactor")``. - - FurnaceBurner: typing.Type[FurnaceBurner] - GibbsReactor: typing.Type[GibbsReactor] - GibbsReactorCO2: typing.Type[GibbsReactorCO2] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi deleted file mode 100644 index dceea0d3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/reservoir/__init__.pyi +++ /dev/null @@ -1,329 +0,0 @@ - -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 -import jneqsim.process.equipment.stream -import jneqsim.thermo.system -import jneqsim.util -import typing - - - -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 addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> None: ... - def getIPRTablePressures(self) -> typing.MutableSequence[float]: ... - def getIPRTableRates(self) -> typing.MutableSequence[float]: ... - def getLayer(self, int: int) -> 'WellFlow.ReservoirLayer': ... - def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getNumberOfLayers(self) -> int: ... - def getWellProductionIndex(self) -> float: ... - def isCalculatingOutletPressure(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: ... - @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 setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... - def setWellProductionIndex(self, double: float) -> None: ... - def solveFlowFromOutletPressure(self, boolean: bool) -> None: ... - 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 = ... - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float): ... - -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")``. - - 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-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi deleted file mode 100644 index a0b396e0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/__init__.pyi +++ /dev/null @@ -1,273 +0,0 @@ - -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.equipment -import jneqsim.process.equipment.flare -import jneqsim.process.equipment.separator.sectiontype -import jneqsim.process.equipment.stream -import jneqsim.process.mechanicaldesign.separator -import jneqsim.process.ml -import jneqsim.process.util.fire -import jneqsim.process.util.report -import jneqsim.thermo.system -import typing - - - -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 Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorInterface, jneqsim.process.ml.StateVectorProvider): - numberOfInputStreams: int = ... - @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 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: ... - def calcLiquidVolume(self) -> float: ... - def displayResult(self) -> 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 getCapacityDuty(self) -> float: ... - def getCapacityMax(self) -> float: ... - @typing.overload - def getDeRatedGasLoadFactor(self) -> float: ... - @typing.overload - def getDeRatedGasLoadFactor(self, int: int) -> float: ... - def getDesignLiquidLevelFraction(self) -> float: ... - def getEfficiency(self) -> float: ... - 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 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 getInnerSurfaceArea(self) -> float: ... - def getInternalDiameter(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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... - def getOrientation(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 getStateVector(self) -> jneqsim.process.ml.StateVector: ... - def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getUnwettedArea(self) -> float: ... - def getWettedArea(self) -> float: ... - def hashCode(self) -> int: ... - def initMechanicalDesign(self) -> None: ... - def initializeTransientCalculation(self) -> None: ... - def isSetHeatInput(self) -> bool: ... - def levelFromVolume(self, double: float) -> float: ... - def liquidArea(self, double: 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 setDesignLiquidLevelFraction(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 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: ... - @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 setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setInternalDiameter(self, double: float) -> None: ... - def setLiquidCarryoverFraction(self, double: float) -> None: ... - def setLiquidLevel(self, double: float) -> None: ... - def setOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPressureDrop(self, double: float) -> None: ... - def setSeparatorLength(self, double: float) -> None: ... - def setTempPres(self, double: float, double2: 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 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: ... - -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 displayResult(self) -> None: ... - 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 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 getWaterLevel(self) -> float: ... - def getWaterOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getWaterOutletFlowFraction(self) -> float: ... - def initializeTransientCalculation(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 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")``. - - GasScrubber: typing.Type[GasScrubber] - GasScrubberSimple: typing.Type[GasScrubberSimple] - Hydrocyclone: typing.Type[Hydrocyclone] - NeqGasScrubber: typing.Type[NeqGasScrubber] - Separator: typing.Type[Separator] - SeparatorInterface: typing.Type[SeparatorInterface] - ThreePhaseSeparator: typing.Type[ThreePhaseSeparator] - TwoPhaseSeparator: typing.Type[TwoPhaseSeparator] - sectiontype: jneqsim.process.equipment.separator.sectiontype.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi deleted file mode 100644 index b43c0620..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi +++ /dev/null @@ -1,73 +0,0 @@ - -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-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi deleted file mode 100644 index 1bb50d07..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/splitter/__init__.pyi +++ /dev/null @@ -1,91 +0,0 @@ - -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.util.report -import typing - - - -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: ... - @typing.overload - def getMassBalance(self) -> float: ... - @typing.overload - def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> 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): - @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 calcSplitFactors(self) -> None: ... - def displayResult(self) -> None: ... - def getInletStream(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 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 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 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 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: ... - - -class __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.splitter")``. - - ComponentSplitter: typing.Type[ComponentSplitter] - Splitter: typing.Type[Splitter] - SplitterInterface: typing.Type[SplitterInterface] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi deleted file mode 100644 index 7a439e77..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/stream/__init__.pyi +++ /dev/null @@ -1,259 +0,0 @@ - -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 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: ... - -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-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi deleted file mode 100644 index ecc2f48a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/subsea/__init__.pyi +++ /dev/null @@ -1,48 +0,0 @@ - -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.thermo.system -import typing - - - -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 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 getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... - @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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.subsea")``. - - SimpleFlowLine: typing.Type[SimpleFlowLine] - SubseaWell: typing.Type[SubseaWell] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi deleted file mode 100644 index 44eff9db..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/tank/__init__.pyi +++ /dev/null @@ -1,287 +0,0 @@ - -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.util.report -import jneqsim.thermo.system -import typing - - - -class Tank(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 displayResult(self) -> None: ... - 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 getVolume(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 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 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: ... - -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 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 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: ... - @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 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 setFixedQ(self, double: float) -> None: ... - def setFixedU(self, double: float) -> None: ... - def setFlowDirection(self, flowDirection: 'VesselDepressurization.FlowDirection') -> None: ... - def setHeatTransferType(self, heatTransferType: 'VesselDepressurization.HeatTransferType') -> None: ... - def setInitialLiquidLevel(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 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 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 FlowDirection(java.lang.Enum['VesselDepressurization.FlowDirection']): - DISCHARGE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... - FILLING: 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.tank")``. - - Tank: typing.Type[Tank] - VesselDepressurization: typing.Type[VesselDepressurization] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi deleted file mode 100644 index 3999d113..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/util/__init__.pyi +++ /dev/null @@ -1,507 +0,0 @@ - -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.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 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 getError(self) -> float: ... - def getMaxAdjustedValue(self) -> float: ... - def getMinAdjustedValue(self) -> float: ... - def getTolerance(self) -> float: ... - def isActivateWhenLess(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 setActivateWhenLess(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], 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: ... - -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: - @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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_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 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 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 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 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 getMinimumFlow(self) -> float: ... - def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - 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 setMinimumFlow(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setPressure(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: ... - -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 StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): - 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 __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] - FlowRateAdjuster: typing.Type[FlowRateAdjuster] - FlowSetter: typing.Type[FlowSetter] - GORfitter: typing.Type[GORfitter] - MPFMfitter: typing.Type[MPFMfitter] - MoleFractionControllerUtil: typing.Type[MoleFractionControllerUtil] - NeqSimUnit: typing.Type[NeqSimUnit] - PressureDrop: typing.Type[PressureDrop] - Recycle: typing.Type[Recycle] - RecycleController: typing.Type[RecycleController] - SetPoint: typing.Type[SetPoint] - Setter: typing.Type[Setter] - StreamSaturatorUtil: typing.Type[StreamSaturatorUtil] - StreamTransition: typing.Type[StreamTransition] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi deleted file mode 100644 index 7615fbc3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/valve/__init__.pyi +++ /dev/null @@ -1,550 +0,0 @@ - -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.measurementdevice -import jneqsim.process.mechanicaldesign.valve -import jneqsim.process.util.report -import jneqsim.thermo.system -import typing - - - -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): - @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 calcKv(self) -> None: ... - def calculateMolarFlow(self) -> float: ... - def calculateOutletPressure(self, double: float) -> float: ... - def displayResult(self) -> None: ... - 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: ... - @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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... - def getOpeningTravelTime(self) -> float: ... - def getOutletPressure(self) -> float: ... - def getPercentValveOpening(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[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 initMechanicalDesign(self) -> None: ... - def isAcceptNegativeDP(self) -> bool: ... - def isAllowChoked(self) -> bool: ... - def isAllowLaminar(self) -> bool: ... - def isGasValve(self) -> bool: ... - def isIsoThermal(self) -> bool: ... - def isValveKvSet(self) -> bool: ... - def needRecalculation(self) -> 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 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 setValveKvSet(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 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] - ControlValve: typing.Type[ControlValve] - ESDValve: typing.Type[ESDValve] - HIPPSValve: typing.Type[HIPPSValve] - 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-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi deleted file mode 100644 index c94eaa47..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/__init__.pyi +++ /dev/null @@ -1,15 +0,0 @@ - -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-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi deleted file mode 100644 index c126383c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi +++ /dev/null @@ -1,89 +0,0 @@ - -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-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi deleted file mode 100644 index 7836cd30..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/__init__.pyi +++ /dev/null @@ -1,21 +0,0 @@ - -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.evaluation -import jneqsim.process.fielddevelopment.facility -import jneqsim.process.fielddevelopment.screening -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__ - evaluation: jneqsim.process.fielddevelopment.evaluation.__module_protocol__ - facility: jneqsim.process.fielddevelopment.facility.__module_protocol__ - screening: jneqsim.process.fielddevelopment.screening.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi deleted file mode 100644 index 2df9cdd8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi +++ /dev/null @@ -1,282 +0,0 @@ - -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 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 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 getReservoirPressure(self) -> float: ... - def getReservoirTemperature(self) -> float: ... - def getWaterCut(self) -> float: ... - def getWaterCutPercent(self) -> float: ... - def getWaterSalinity(self) -> float: ... - def hasLiquidProduction(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 reservoirPressure(self, double: float) -> 'ReservoirInput.Builder': ... - def reservoirTemperature(self, double: float) -> '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 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")``. - - FieldConcept: typing.Type[FieldConcept] - InfrastructureInput: typing.Type[InfrastructureInput] - ReservoirInput: typing.Type[ReservoirInput] - WellsInput: typing.Type[WellsInput] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi deleted file mode 100644 index 96a3e808..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi +++ /dev/null @@ -1,132 +0,0 @@ - -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.fielddevelopment.concept -import jneqsim.process.fielddevelopment.facility -import jneqsim.process.fielddevelopment.screening -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 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.evaluation")``. - - BatchConceptRunner: typing.Type[BatchConceptRunner] - ConceptEvaluator: typing.Type[ConceptEvaluator] - ConceptKPIs: typing.Type[ConceptKPIs] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi deleted file mode 100644 index acb1aaff..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi +++ /dev/null @@ -1,133 +0,0 @@ - -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 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 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] - FacilityBuilder: typing.Type[FacilityBuilder] - FacilityConfig: typing.Type[FacilityConfig] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi deleted file mode 100644 index 43fd794d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi +++ /dev/null @@ -1,209 +0,0 @@ - -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.facility -import typing - - - -class EconomicsEstimator: - def __init__(self): ... - def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EconomicsEstimator.EconomicsReport': ... - def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EconomicsEstimator.EconomicsReport': ... - 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 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 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 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")``. - - EconomicsEstimator: typing.Type[EconomicsEstimator] - EmissionsTracker: typing.Type[EmissionsTracker] - FlowAssuranceReport: typing.Type[FlowAssuranceReport] - FlowAssuranceResult: typing.Type[FlowAssuranceResult] - FlowAssuranceScreener: typing.Type[FlowAssuranceScreener] - SafetyReport: typing.Type[SafetyReport] - SafetyScreener: typing.Type[SafetyScreener] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi deleted file mode 100644 index 84794a8a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/integration/__init__.pyi +++ /dev/null @@ -1,15 +0,0 @@ - -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-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi deleted file mode 100644 index 6a2b3479..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/integration/ml/__init__.pyi +++ /dev/null @@ -1,85 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi deleted file mode 100644 index f758cca6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/__init__.pyi +++ /dev/null @@ -1,82 +0,0 @@ - -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.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: - 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-stubs/jneqsim-stubs/process/logic/action/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi deleted file mode 100644 index 7a84e6ab..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/action/__init__.pyi +++ /dev/null @@ -1,122 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi deleted file mode 100644 index dca059fb..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/condition/__init__.pyi +++ /dev/null @@ -1,69 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/control/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi deleted file mode 100644 index ae104c9f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/control/__init__.pyi +++ /dev/null @@ -1,41 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi deleted file mode 100644 index 7fa79b3f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/esd/__init__.pyi +++ /dev/null @@ -1,37 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi deleted file mode 100644 index d50527b0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/hipps/__init__.pyi +++ /dev/null @@ -1,46 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi deleted file mode 100644 index 94e4628f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/shutdown/__init__.pyi +++ /dev/null @@ -1,44 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi deleted file mode 100644 index a443ae77..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/sis/__init__.pyi +++ /dev/null @@ -1,119 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi deleted file mode 100644 index ecd33252..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/startup/__init__.pyi +++ /dev/null @@ -1,41 +0,0 @@ - -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-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi deleted file mode 100644 index 507ad254..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/logic/voting/__init__.pyi +++ /dev/null @@ -1,54 +0,0 @@ - -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-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi deleted file mode 100644 index 5127a6d5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/__init__.pyi +++ /dev/null @@ -1,454 +0,0 @@ - -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.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 MeasurementDeviceInterface(jneqsim.util.NamedInterface, java.io.Serializable): - def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... - 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 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 getUnit(self) -> java.lang.String: ... - def hashCode(self) -> int: ... - def isLogging(self) -> bool: ... - def isOnlineSignal(self) -> bool: ... - def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... - def setLogging(self, boolean: bool) -> None: ... - def setMaximumValue(self, double: float) -> None: ... - def setMinimumValue(self, double: float) -> None: ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - -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 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 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 getUnit(self) -> java.lang.String: ... - 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 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 setUnit(self, string: typing.Union[java.lang.String, str]) -> 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 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 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 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 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 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 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 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] - CompressorMonitor: typing.Type[CompressorMonitor] - CricondenbarAnalyser: typing.Type[CricondenbarAnalyser] - FireDetector: typing.Type[FireDetector] - FlowInducedVibrationAnalyser: typing.Type[FlowInducedVibrationAnalyser] - GasDetector: typing.Type[GasDetector] - HydrateEquilibriumTemperatureAnalyser: typing.Type[HydrateEquilibriumTemperatureAnalyser] - HydrocarbonDewPointAnalyser: typing.Type[HydrocarbonDewPointAnalyser] - 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] - 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-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi deleted file mode 100644 index 70182b12..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/online/__init__.pyi +++ /dev/null @@ -1,27 +0,0 @@ - -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-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi deleted file mode 100644 index be5923a5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi +++ /dev/null @@ -1,92 +0,0 @@ - -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-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi deleted file mode 100644 index 3d206d84..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi +++ /dev/null @@ -1,169 +0,0 @@ - -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-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi deleted file mode 100644 index 59004555..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/__init__.pyi +++ /dev/null @@ -1,238 +0,0 @@ - -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 -import jneqsim.process.equipment -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.ejector -import jneqsim.process.mechanicaldesign.heatexchanger -import jneqsim.process.mechanicaldesign.pipeline -import jneqsim.process.mechanicaldesign.separator -import jneqsim.process.mechanicaldesign.valve -import jneqsim.process.processmodel -import typing - - - -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 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 = ... - 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 displayResults(self) -> None: ... - def equals(self, object: typing.Any) -> bool: ... - 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 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 getInnerDiameter(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 getMaxDesignGassVolumeFlow(self) -> float: ... - def getMaxDesignOilVolumeFlow(self) -> float: ... - def getMaxDesignPressure(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 getPressureMarginFactor(self) -> float: ... - def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getTantanLength(self) -> float: ... - def getTensileStrength(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 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 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: ... - def setDesignStandard(self, hashtable: java.util.Hashtable[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.designstandards.DesignStandard]) -> 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 setMaxDesignDuty(self, double: float) -> None: ... - def setMaxDesignGassVolumeFlow(self, double: float) -> None: ... - def setMaxDesignOilVolumeFlow(self, double: float) -> None: ... - def setMaxDesignPower(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: ... - @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 SystemMechanicalDesign(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def equals(self, object: typing.Any) -> bool: ... - def getMechanicalWeight(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getTotalNumberOfModules(self) -> int: ... - def getTotalPlotSpace(self) -> float: ... - def getTotalVolume(self) -> float: ... - def getTotalWeight(self) -> float: ... - def hashCode(self) -> int: ... - def runDesignCalculation(self) -> None: ... - def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDesign(self) -> None: ... - - -class __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign")``. - - DesignLimitData: typing.Type[DesignLimitData] - MechanicalDesign: typing.Type[MechanicalDesign] - MechanicalDesignMarginResult: typing.Type[MechanicalDesignMarginResult] - SystemMechanicalDesign: typing.Type[SystemMechanicalDesign] - 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__ - ejector: jneqsim.process.mechanicaldesign.ejector.__module_protocol__ - heatexchanger: jneqsim.process.mechanicaldesign.heatexchanger.__module_protocol__ - pipeline: jneqsim.process.mechanicaldesign.pipeline.__module_protocol__ - separator: jneqsim.process.mechanicaldesign.separator.__module_protocol__ - valve: jneqsim.process.mechanicaldesign.valve.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi deleted file mode 100644 index 79c9eb65..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi deleted file mode 100644 index 9e19863e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.adsorber")``. - - AdsorberMechanicalDesign: typing.Type[AdsorberMechanicalDesign] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi deleted file mode 100644 index a3a481ca..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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 CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def calcDesign(self) -> None: ... - def displayResults(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.compressor")``. - - CompressorMechanicalDesign: typing.Type[CompressorMechanicalDesign] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi deleted file mode 100644 index 1ac7ea03..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi +++ /dev/null @@ -1,34 +0,0 @@ - -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 getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... - -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 __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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi deleted file mode 100644 index 964e8746..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi +++ /dev/null @@ -1,132 +0,0 @@ - -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.mechanicaldesign -import typing - - - -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 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 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] - CompressorDesignStandard: typing.Type[CompressorDesignStandard] - DesignStandard: typing.Type[DesignStandard] - GasScrubberDesignStandard: typing.Type[GasScrubberDesignStandard] - JointEfficiencyPipelineStandard: typing.Type[JointEfficiencyPipelineStandard] - JointEfficiencyPlateStandard: typing.Type[JointEfficiencyPlateStandard] - MaterialPipeDesignStandard: typing.Type[MaterialPipeDesignStandard] - MaterialPlateDesignStandard: typing.Type[MaterialPlateDesignStandard] - PipelineDesignStandard: typing.Type[PipelineDesignStandard] - PipingDesignStandard: typing.Type[PipingDesignStandard] - PressureVesselDesignStandard: typing.Type[PressureVesselDesignStandard] - SeparatorDesignStandard: typing.Type[SeparatorDesignStandard] - ValveDesignStandard: typing.Type[ValveDesignStandard] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi deleted file mode 100644 index 19202819..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi +++ /dev/null @@ -1,46 +0,0 @@ - -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-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi deleted file mode 100644 index d42124de..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi +++ /dev/null @@ -1,118 +0,0 @@ - -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.heatexchanger -import jneqsim.process.mechanicaldesign -import typing - - - -class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def calcDesign(self) -> None: ... - def getApproachTemperature(self) -> float: ... - def getCalculatedUA(self) -> float: ... - def getCandidateTypes(self) -> java.util.List['HeatExchangerType']: ... - def getLogMeanTemperatureDifference(self) -> float: ... - def getManualSelection(self) -> 'HeatExchangerType': ... - def getSelectedSizingResult(self) -> 'HeatExchangerSizingResult': ... - def getSelectedType(self) -> 'HeatExchangerType': ... - def getSelectionCriterion(self) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... - def getSizingResults(self) -> java.util.List['HeatExchangerSizingResult']: ... - def getSizingSummary(self) -> java.lang.String: ... - def getUsedOverallHeatTransferCoefficient(self) -> float: ... - @typing.overload - def setCandidateTypes(self, list: java.util.List['HeatExchangerType']) -> None: ... - @typing.overload - def setCandidateTypes(self, *heatExchangerType: 'HeatExchangerType') -> None: ... - def setManualSelection(self, heatExchangerType: 'HeatExchangerType') -> None: ... - def setSelectionCriterion(self, selectionCriterion: 'HeatExchangerMechanicalDesign.SelectionCriterion') -> 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 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'] = ... - 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.heatexchanger")``. - - HeatExchangerMechanicalDesign: typing.Type[HeatExchangerMechanicalDesign] - HeatExchangerSizingResult: typing.Type[HeatExchangerSizingResult] - HeatExchangerType: typing.Type[HeatExchangerType] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi deleted file mode 100644 index 2d02ff25..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi +++ /dev/null @@ -1,123 +0,0 @@ - -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.mechanicaldesign -import typing - - - -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 PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def calcDesign(self) -> None: ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def readDesignSpecifications(self) -> None: ... - - -class __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pipeline")``. - - PipeDesign: typing.Type[PipeDesign] - PipelineMechanicalDesign: typing.Type[PipelineMechanicalDesign] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi deleted file mode 100644 index f85d2fc4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi +++ /dev/null @@ -1,34 +0,0 @@ - -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 jneqsim.process.mechanicaldesign.separator.sectiontype -import typing - - - -class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def calcDesign(self) -> None: ... - def displayResults(self) -> None: ... - def readDesignSpecifications(self) -> None: ... - def setDesign(self) -> None: ... - -class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def calcDesign(self) -> None: ... - def readDesignSpecifications(self) -> None: ... - def setDesign(self) -> None: ... - - -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] - sectiontype: jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi deleted file mode 100644 index e976dd2c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi +++ /dev/null @@ -1,59 +0,0 @@ - -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-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi deleted file mode 100644 index e13a5725..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi +++ /dev/null @@ -1,221 +0,0 @@ - -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 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 getValveCharacterization(self) -> java.lang.String: ... - def getValveCharacterizationMethod(self) -> ValveCharacteristic: ... - def getValveSizingMethod(self) -> ControlValveSizingInterface: ... - def getValveSizingStandard(self) -> java.lang.String: ... - def readDesignSpecifications(self) -> 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: ... - -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 LinearCharacteristic(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: ... - -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_simple: typing.Type[ControlValveSizing_simple] - LinearCharacteristic: typing.Type[LinearCharacteristic] - SafetyValveMechanicalDesign: typing.Type[SafetyValveMechanicalDesign] - ValveCharacteristic: typing.Type[ValveCharacteristic] - ValveMechanicalDesign: typing.Type[ValveMechanicalDesign] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi deleted file mode 100644 index b1b85088..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/__init__.pyi +++ /dev/null @@ -1,279 +0,0 @@ - -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 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] - 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-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi deleted file mode 100644 index bc9f4ebe..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/controllers/__init__.pyi +++ /dev/null @@ -1,54 +0,0 @@ - -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-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi deleted file mode 100644 index ec6eafba..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/examples/__init__.pyi +++ /dev/null @@ -1,60 +0,0 @@ - -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-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi deleted file mode 100644 index 5cfaaaa8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/multiagent/__init__.pyi +++ /dev/null @@ -1,117 +0,0 @@ - -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, java.io.Serializable): - 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-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi deleted file mode 100644 index 76ace2dd..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/ml/surrogate/__init__.pyi +++ /dev/null @@ -1,95 +0,0 @@ - -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-stubs/jneqsim-stubs/process/mpc/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi deleted file mode 100644 index 9d0ae072..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/mpc/__init__.pyi +++ /dev/null @@ -1,663 +0,0 @@ - -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, java.io.Serializable): - 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-stubs/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi deleted file mode 100644 index c79220ae..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/__init__.pyi +++ /dev/null @@ -1,569 +0,0 @@ - -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.concurrent -import javax.xml.parsers -import jpype -import jpype.protocol -import jneqsim.process -import jneqsim.process.alarm -import jneqsim.process.conditionmonitor -import jneqsim.process.controllerdevice -import jneqsim.process.equipment -import jneqsim.process.equipment.stream -import jneqsim.process.measurementdevice -import jneqsim.process.mechanicaldesign -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.optimization -import jneqsim.process.util.report -import jneqsim.thermo.system -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 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 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): - def __init__(self): ... - def add(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> bool: ... - @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 get(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... - def getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... - def getConvergenceSummary(self) -> java.lang.String: ... - def getError(self) -> float: ... - def getExecutionPartitionInfo(self) -> java.lang.String: ... - @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 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 getPressureTolerance(self) -> float: ... - def getReport_json(self) -> java.lang.String: ... - def getTemperatureTolerance(self) -> float: ... - def getThreads(self) -> java.util.Map[java.lang.String, java.lang.Thread]: ... - def isFinished(self) -> bool: ... - def isModelConverged(self) -> bool: ... - def isRunStep(self) -> bool: ... - def isUseOptimizedExecution(self) -> bool: ... - 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 setFlowTolerance(self, double: float) -> None: ... - def setMaxIterations(self, int: int) -> None: ... - def setPressureTolerance(self, double: float) -> None: ... - def setRunStep(self, boolean: bool) -> None: ... - def setTemperatureTolerance(self, double: float) -> None: ... - def setTolerance(self, double: float) -> None: ... - def setUseOptimizedExecution(self, boolean: bool) -> None: ... - -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 getAddedModules(self) -> java.util.List['ProcessModule']: ... - def getAddedUnitOperations(self) -> java.util.List['ProcessSystem']: ... - def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - @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 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 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: ... - @typing.overload - def run_step(self) -> None: ... - @typing.overload - def run_step(self, uUID: java.util.UUID) -> None: ... - def solved(self) -> bool: ... - def validateStructure(self) -> java.util.List[java.lang.String]: ... - -class ProcessSystem(jneqsim.process.SimulationBaseClass): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str]): ... - @typing.overload - def add(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def add(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def add(self, processEquipmentInterfaceArray: typing.Union[typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], jpype.JArray]) -> None: ... - @typing.overload - def add(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 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 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: ... - def copy(self) -> 'ProcessSystem': ... - def createBatchStudy(self) -> jneqsim.process.util.optimization.BatchStudy.Builder: ... - def displayResult(self) -> None: ... - def equals(self, object: typing.Any) -> bool: ... - 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 generateCombinationScenarios(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... - def generateSafetyScenarios(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... - def getAlarmManager(self) -> jneqsim.process.alarm.ProcessAlarmManager: ... - def getAllUnitNames(self) -> java.util.ArrayList[java.lang.String]: ... - def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getConditionMonitor(self) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... - def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - @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 getExecutionPartitionInfo(self) -> java.lang.String: ... - def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> 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 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 getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... - 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 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 getSurroundingTemperature(self) -> float: ... - @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 getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getUnitNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... - def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - def hasAdjusters(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 invalidateGraph(self) -> None: ... - def isInRecycleLoop(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isParallelExecutionBeneficial(self) -> bool: ... - def isRunStep(self) -> bool: ... - def isUseGraphBasedExecution(self) -> bool: ... - def isUseOptimizedExecution(self) -> bool: ... - 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 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: ... - @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 runHybrid(self, uUID: java.util.UUID) -> 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) -> None: ... - @typing.overload - def runParallel(self, uUID: java.util.UUID) -> None: ... - def runSequential(self, uUID: java.util.UUID) -> None: ... - @typing.overload - def runTransient(self, double: float) -> None: ... - @typing.overload - def runTransient(self) -> 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 save(self, string: typing.Union[java.lang.String, str]) -> 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 setMassBalanceErrorThreshold(self, double: float) -> None: ... - def setMinimumFlowForMassBalanceError(self, double: float) -> None: ... - def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRunStep(self, boolean: bool) -> None: ... - def setSurroundingTemperature(self, double: float) -> None: ... - def setTimeStep(self, double: float) -> None: ... - def setUseGraphBasedExecution(self, boolean: bool) -> None: ... - def setUseOptimizedExecution(self, boolean: bool) -> None: ... - def size(self) -> int: ... - def solved(self) -> bool: ... - def storeInitialState(self) -> None: ... - def validateStructure(self) -> java.util.List[java.lang.String]: ... - def view(self) -> None: ... - 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 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 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 displayResult(self) -> None: ... - def getConditionAnalysisMessage(self) -> java.lang.String: ... - 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 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] - ModuleInterface: typing.Type[ModuleInterface] - ProcessLoader: typing.Type[ProcessLoader] - ProcessModel: typing.Type[ProcessModel] - ProcessModule: typing.Type[ProcessModule] - ProcessModuleBaseClass: typing.Type[ProcessModuleBaseClass] - ProcessSystem: typing.Type[ProcessSystem] - ProcessSystemGraphvizExporter: typing.Type[ProcessSystemGraphvizExporter] - XmlUtil: typing.Type[XmlUtil] - 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-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi deleted file mode 100644 index 648bf4fa..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/graph/__init__.pyi +++ /dev/null @@ -1,212 +0,0 @@ - -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 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-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi deleted file mode 100644 index 32aa695e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi +++ /dev/null @@ -1,153 +0,0 @@ - -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 -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 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 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 getTimestamp(self) -> java.time.Instant: ... - def getVersion(self) -> java.lang.String: ... - @staticmethod - def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... - 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 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 validateIntegrity(self) -> bool: ... - class EquipmentState(java.io.Serializable): - def __init__(self): ... - @staticmethod - def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessSystemState.EquipmentState': ... - def getFluidState(self) -> 'ProcessSystemState.FluidState': ... - def getName(self) -> java.lang.String: ... - def getNumericProperties(self) -> java.util.Map[java.lang.String, float]: ... - 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.lifecycle")``. - - ModelMetadata: typing.Type[ModelMetadata] - ProcessSystemState: typing.Type[ProcessSystemState] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi deleted file mode 100644 index e087cba1..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi +++ /dev/null @@ -1,222 +0,0 @@ - -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-stubs/jneqsim-stubs/process/safety/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi deleted file mode 100644 index 8e227b3b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/__init__.pyi +++ /dev/null @@ -1,200 +0,0 @@ - -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.dto -import jneqsim.process.safety.envelope -import jneqsim.process.safety.release -import jneqsim.process.safety.risk -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] - dto: jneqsim.process.safety.dto.__module_protocol__ - envelope: jneqsim.process.safety.envelope.__module_protocol__ - release: jneqsim.process.safety.release.__module_protocol__ - risk: jneqsim.process.safety.risk.__module_protocol__ - scenario: jneqsim.process.safety.scenario.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi deleted file mode 100644 index 27f08fba..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/dto/__init__.pyi +++ /dev/null @@ -1,43 +0,0 @@ - -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-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi deleted file mode 100644 index e96f3909..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/envelope/__init__.pyi +++ /dev/null @@ -1,75 +0,0 @@ - -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-stubs/jneqsim-stubs/process/safety/release/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi deleted file mode 100644 index 8bd5e0d2..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/release/__init__.pyi +++ /dev/null @@ -1,95 +0,0 @@ - -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-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi deleted file mode 100644 index bb7ccffe..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/risk/__init__.pyi +++ /dev/null @@ -1,148 +0,0 @@ - -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.processmodel -import jneqsim.process.safety -import typing - - - -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 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")``. - - RiskEvent: typing.Type[RiskEvent] - RiskModel: typing.Type[RiskModel] - RiskResult: typing.Type[RiskResult] - SensitivityResult: typing.Type[SensitivityResult] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi deleted file mode 100644 index 66aa84a7..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/safety/scenario/__init__.pyi +++ /dev/null @@ -1,99 +0,0 @@ - -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 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.scenario")``. - - AutomaticScenarioGenerator: typing.Type[AutomaticScenarioGenerator] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi deleted file mode 100644 index 8a47f9d6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/streaming/__init__.pyi +++ /dev/null @@ -1,94 +0,0 @@ - -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-stubs/jneqsim-stubs/process/sustainability/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi deleted file mode 100644 index 75b89bf0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/sustainability/__init__.pyi +++ /dev/null @@ -1,84 +0,0 @@ - -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-stubs/jneqsim-stubs/process/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi deleted file mode 100644 index 08f58144..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -import jneqsim.process.util.event -import jneqsim.process.util.example -import jneqsim.process.util.export -import jneqsim.process.util.fielddevelopment -import jneqsim.process.util.fire -import jneqsim.process.util.monitor -import jneqsim.process.util.optimization -import jneqsim.process.util.report -import jneqsim.process.util.scenario -import jneqsim.process.util.sensitivity -import jneqsim.process.util.uncertainty -import typing - - -class __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util")``. - - event: jneqsim.process.util.event.__module_protocol__ - example: jneqsim.process.util.example.__module_protocol__ - export: jneqsim.process.util.export.__module_protocol__ - fielddevelopment: jneqsim.process.util.fielddevelopment.__module_protocol__ - fire: jneqsim.process.util.fire.__module_protocol__ - monitor: jneqsim.process.util.monitor.__module_protocol__ - optimization: jneqsim.process.util.optimization.__module_protocol__ - report: jneqsim.process.util.report.__module_protocol__ - scenario: jneqsim.process.util.scenario.__module_protocol__ - sensitivity: jneqsim.process.util.sensitivity.__module_protocol__ - uncertainty: jneqsim.process.util.uncertainty.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi deleted file mode 100644 index a09c5942..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/event/__init__.pyi +++ /dev/null @@ -1,114 +0,0 @@ - -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': ... - 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-stubs/jneqsim-stubs/process/util/example/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi deleted file mode 100644 index d5a8baeb..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/example/__init__.pyi +++ /dev/null @@ -1,131 +0,0 @@ - -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 AdvancedProcessLogicExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class BeggsAndBrillsValidationExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class ConfigurableLogicExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class DynamicLogicExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class ESDBlowdownSystemExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class ESDLogicExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class ESDValveExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class FireGasSISExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class FourWellManifoldWithHeatTransferAdjustmentExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class HIPPSExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class HIPPSWithESDExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class IntegratedSafetySystemExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class IntegratedSafetySystemWithLogicExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class ProcessLogicAlarmIntegratedExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class ProcessLogicIntegratedExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class SelectiveLogicExecutionExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class SeparatorFireDepressurizationExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class SeparatorHeatInputExample: - def __init__(self): ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - -class TransientPipeHeatTransferExample: - 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.process.util.example")``. - - AdvancedProcessLogicExample: typing.Type[AdvancedProcessLogicExample] - BeggsAndBrillsValidationExample: typing.Type[BeggsAndBrillsValidationExample] - ConfigurableLogicExample: typing.Type[ConfigurableLogicExample] - DynamicLogicExample: typing.Type[DynamicLogicExample] - ESDBlowdownSystemExample: typing.Type[ESDBlowdownSystemExample] - ESDLogicExample: typing.Type[ESDLogicExample] - ESDValveExample: typing.Type[ESDValveExample] - FireGasSISExample: typing.Type[FireGasSISExample] - FourWellManifoldWithHeatTransferAdjustmentExample: typing.Type[FourWellManifoldWithHeatTransferAdjustmentExample] - HIPPSExample: typing.Type[HIPPSExample] - HIPPSWithESDExample: typing.Type[HIPPSWithESDExample] - IntegratedSafetySystemExample: typing.Type[IntegratedSafetySystemExample] - IntegratedSafetySystemWithLogicExample: typing.Type[IntegratedSafetySystemWithLogicExample] - ProcessLogicAlarmIntegratedExample: typing.Type[ProcessLogicAlarmIntegratedExample] - ProcessLogicIntegratedExample: typing.Type[ProcessLogicIntegratedExample] - SelectiveLogicExecutionExample: typing.Type[SelectiveLogicExecutionExample] - SeparatorFireDepressurizationExample: typing.Type[SeparatorFireDepressurizationExample] - SeparatorHeatInputExample: typing.Type[SeparatorHeatInputExample] - TransientPipeHeatTransferExample: typing.Type[TransientPipeHeatTransferExample] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi deleted file mode 100644 index 45830704..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/export/__init__.pyi +++ /dev/null @@ -1,79 +0,0 @@ - -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-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi deleted file mode 100644 index 442c8db3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi +++ /dev/null @@ -1,362 +0,0 @@ - -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 jneqsim.process.equipment.reservoir -import jneqsim.process.equipment.stream -import jneqsim.process.processmodel -import jneqsim.process.util.optimization -import typing - - - -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.optimization.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.optimization.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.optimization.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 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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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.optimization.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimization.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 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")``. - - FacilityCapacity: typing.Type[FacilityCapacity] - ProductionProfile: typing.Type[ProductionProfile] - SensitivityAnalysis: typing.Type[SensitivityAnalysis] - WellScheduler: typing.Type[WellScheduler] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi deleted file mode 100644 index 17d8ea12..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/fire/__init__.pyi +++ /dev/null @@ -1,186 +0,0 @@ - -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 calculateBlowdownPressure(double: float, double2: float) -> float: ... - @staticmethod - def calculateCv(double: float, double2: float) -> float: ... - @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 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 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): ... - def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: 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] = ... - @staticmethod - def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... - @staticmethod - def calculateGrashofNumber(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... - @staticmethod - def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> float: ... - @staticmethod - def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool) -> 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 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-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi deleted file mode 100644 index 68434f20..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/monitor/__init__.pyi +++ /dev/null @@ -1,370 +0,0 @@ - -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' = ... - @typing.overload - def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... - @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... - -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-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi deleted file mode 100644 index 483b594b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/optimization/__init__.pyi +++ /dev/null @@ -1,318 +0,0 @@ - -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.protocol -import jneqsim.process.equipment -import jneqsim.process.equipment.stream -import jneqsim.process.processmodel -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 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 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, 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': ... - 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 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 getInertiaWeight(self) -> float: ... - def getMaxIterations(self) -> int: ... - def getSocialWeight(self) -> float: ... - def getSwarmSize(self) -> int: ... - def getUtilizationMarginFraction(self) -> float: ... - def inertiaWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def maxIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def rateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConfig': ... - def searchMode(self, searchMode: 'ProductionOptimizer.SearchMode') -> 'ProductionOptimizer.OptimizationConfig': ... - def socialWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def swarmSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def tolerance(self, double: float) -> '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': ... - class OptimizationConstraint: - 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 getName(self) -> java.lang.String: ... - def getPenaltyWeight(self) -> float: ... - def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... - @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: ... - 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 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 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 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], 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'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.optimization")``. - - BatchStudy: typing.Type[BatchStudy] - ProductionOptimizationSpecLoader: typing.Type[ProductionOptimizationSpecLoader] - ProductionOptimizer: typing.Type[ProductionOptimizer] diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi deleted file mode 100644 index ab661a59..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/__init__.pyi +++ /dev/null @@ -1,64 +0,0 @@ - -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.processmodel -import jneqsim.process.util.report.safety -import jneqsim.thermo.system -import typing - - - -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")``. - - Report: typing.Type[Report] - ReportConfig: typing.Type[ReportConfig] - safety: jneqsim.process.util.report.safety.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi deleted file mode 100644 index d5f7220e..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/report/safety/__init__.pyi +++ /dev/null @@ -1,109 +0,0 @@ - -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-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi deleted file mode 100644 index 542d6bb5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/scenario/__init__.pyi +++ /dev/null @@ -1,86 +0,0 @@ - -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-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi deleted file mode 100644 index 348d0703..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/sensitivity/__init__.pyi +++ /dev/null @@ -1,47 +0,0 @@ - -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-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi deleted file mode 100644 index 928ed93f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/process/util/uncertainty/__init__.pyi +++ /dev/null @@ -1,87 +0,0 @@ - -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-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi deleted file mode 100644 index d65ffce0..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/__init__.pyi +++ /dev/null @@ -1,25 +0,0 @@ - -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-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi deleted file mode 100644 index fef1d550..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi +++ /dev/null @@ -1,108 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -import java.lang -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 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 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.flowassurance")``. - - AsphalteneMethodComparison: typing.Type[AsphalteneMethodComparison] - AsphalteneStabilityAnalyzer: typing.Type[AsphalteneStabilityAnalyzer] - DeBoerAsphalteneScreening: typing.Type[DeBoerAsphalteneScreening] diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi deleted file mode 100644 index 8a5364a3..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi +++ /dev/null @@ -1,40 +0,0 @@ - -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-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi deleted file mode 100644 index 149799e7..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/regression/__init__.pyi +++ /dev/null @@ -1,223 +0,0 @@ - -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 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: ... - 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 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'] = ... - 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 __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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi deleted file mode 100644 index b99e8f30..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi +++ /dev/null @@ -1,23 +0,0 @@ - -import sys -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - -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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi deleted file mode 100644 index 9dbf3090..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi +++ /dev/null @@ -1,346 +0,0 @@ - -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 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] - SwellingTest: typing.Type[SwellingTest] - ViscositySim: typing.Type[ViscositySim] - ViscosityWaxOilSim: typing.Type[ViscosityWaxOilSim] - WaxFractionSim: typing.Type[WaxFractionSim] diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi deleted file mode 100644 index c635b10b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/__init__.pyi +++ /dev/null @@ -1,324 +0,0 @@ - -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.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 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 __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] - PVTReportGenerator: typing.Type[PVTReportGenerator] - SaturationPressureCorrelation: typing.Type[SaturationPressureCorrelation] - parameterfitting: jneqsim.pvtsimulation.util.parameterfitting.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi deleted file mode 100644 index 856fa162..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi +++ /dev/null @@ -1,168 +0,0 @@ - -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-stubs/jneqsim-stubs/standards/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi deleted file mode 100644 index aa81e80f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/__init__.pyi +++ /dev/null @@ -1,74 +0,0 @@ - -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-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi deleted file mode 100644 index d1bd2c5b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/gasquality/__init__.pyi +++ /dev/null @@ -1,162 +0,0 @@ - -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_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_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): ... - -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_ISO15403: typing.Type[Standard_ISO15403] - 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-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi deleted file mode 100644 index 263ef45b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/oilquality/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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_D6377(jneqsim.standards.Standard): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calculate(self) -> None: ... - def getMethodRVP(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: ... - @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setMethodRVP(self, 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_D6377: typing.Type[Standard_ASTM_D6377] diff --git a/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi deleted file mode 100644 index af7ebe28..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/standards/salescontract/__init__.pyi +++ /dev/null @@ -1,87 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi deleted file mode 100644 index 4de2aed8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/__init__.pyi +++ /dev/null @@ -1,23 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi deleted file mode 100644 index e804dc52..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/__init__.pyi +++ /dev/null @@ -1,15 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi deleted file mode 100644 index 8984079f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi deleted file mode 100644 index 6651e63b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi +++ /dev/null @@ -1,21 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi deleted file mode 100644 index d585e8f5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi deleted file mode 100644 index 0b5765ca..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi deleted file mode 100644 index 92703d0b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi +++ /dev/null @@ -1,42 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi deleted file mode 100644 index 6ad03530..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi +++ /dev/null @@ -1,52 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi deleted file mode 100644 index 44b40d9b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi deleted file mode 100644 index e7a3938a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi deleted file mode 100644 index 16975fdd..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi +++ /dev/null @@ -1,28 +0,0 @@ - -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-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi deleted file mode 100644 index d5fd8de6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/__init__.pyi +++ /dev/null @@ -1,173 +0,0 @@ - -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.statistics.parameterfitting.nonlinearparameterfitting -import jneqsim.thermo.system -import jneqsim.thermodynamicoperations -import typing - - - -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 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 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] - FunctionInterface: typing.Type[FunctionInterface] - NumericalDerivative: typing.Type[NumericalDerivative] - 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-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi deleted file mode 100644 index 9519068c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi +++ /dev/null @@ -1,60 +0,0 @@ - -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 -import typing - - - -class LevenbergMarquardt(jneqsim.statistics.parameterfitting.StatisticsBaseClass): - def __init__(self): ... - def clone(self) -> 'LevenbergMarquardt': ... - def getMaxNumberOfIterations(self) -> int: ... - def init(self) -> None: ... - @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 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] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi deleted file mode 100644 index 0dd7ddb9..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/__init__.pyi +++ /dev/null @@ -1,108 +0,0 @@ - -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] = ... - -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-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi deleted file mode 100644 index 45b62139..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/atomelement/__init__.pyi +++ /dev/null @@ -1,85 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi deleted file mode 100644 index 87b452e5..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/characterization/__init__.pyi +++ /dev/null @@ -1,634 +0,0 @@ - -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 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 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 LumpingModelInterface: - def generateLumpedComposition(self, characterise: Characterise) -> None: ... - 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 setNumberOfLumpedComponents(self, int: int) -> None: ... - def setNumberOfPseudoComponents(self, int: int) -> None: ... - -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 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: ... - class StandardLumpingModel(LumpingModelInterface, java.lang.Cloneable, java.io.Serializable): - def __init__(self, lumpingModel: 'LumpingModel'): ... - def generateLumpedComposition(self, characterise: Characterise) -> None: ... - 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 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] - Characterise: typing.Type[Characterise] - CharacteriseInterface: typing.Type[CharacteriseInterface] - CharacterizationOptions: typing.Type[CharacterizationOptions] - CharacterizationValidationReport: typing.Type[CharacterizationValidationReport] - LumpingModel: typing.Type[LumpingModel] - LumpingModelInterface: typing.Type[LumpingModelInterface] - 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-stubs/jneqsim-stubs/thermo/component/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi deleted file mode 100644 index a3fbf401..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/__init__.pyi +++ /dev/null @@ -1,1947 +0,0 @@ - -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 getAssociationScheme(self) -> java.lang.String: ... - def getAssociationVolume(self) -> float: ... - def getAssociationVolumeSAFT(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 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 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 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 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 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 setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setAssociationVolume(self, double: float) -> None: ... - def setAssociationVolumeSAFT(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 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 setEpsikSAFT(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 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 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 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 getAssociationScheme(self) -> java.lang.String: ... - def getAssociationVolume(self) -> float: ... - def getAssociationVolumeSAFT(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 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 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 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 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 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 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 setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setAssociationVolume(self, double: float) -> None: ... - def setAssociationVolumeSAFT(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 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 setEpsikSAFT(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 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 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 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 = ... - 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 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 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 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 getLngamma(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 getlnGammadn(self, int: int) -> float: ... - def getlnGammadt(self) -> 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 getLngamma(self) -> 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 getLngamma(self) -> 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 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 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 getBP(self, int: int) -> float: ... - @typing.overload - def getBPdT(self, int: int) -> float: ... - @typing.overload - def getBPdT(self) -> typing.MutableSequence[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: ... - def getlnGammadn(self, int: int) -> float: ... - def getlnGammadt(self) -> 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 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 dFdNdT(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 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 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: ... - -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 getBornContribution(self) -> float: ... - def getBornRadius(self) -> float: ... - def getBornRadiusMeters(self) -> float: ... - def getIonSolventInteractionEnergy(self, double: float) -> float: ... - def getIonSolventInteractionEnergydT(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 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 __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] - ComponentDesmukhMather: typing.Type[ComponentDesmukhMather] - ComponentEOSCGEos: typing.Type[ComponentEOSCGEos] - ComponentElectrolyteCPA: typing.Type[ComponentElectrolyteCPA] - 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] - 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] - 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-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi deleted file mode 100644 index aa4dd6da..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi +++ /dev/null @@ -1,308 +0,0 @@ - -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 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 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] - 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] - 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-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi deleted file mode 100644 index e32f2399..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi +++ /dev/null @@ -1,18 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi deleted file mode 100644 index 606ca257..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/mixingrule/__init__.pyi +++ /dev/null @@ -1,456 +0,0 @@ - -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 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 printBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - -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 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 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 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-stubs/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi deleted file mode 100644 index 7fa18474..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/phase/__init__.pyi +++ /dev/null @@ -1,3131 +0,0 @@ - -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 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, jneqsim.thermo.ThermodynamicConstantsInterface): - 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, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getDensity(self) -> 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 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 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: ... - def getBeta0ij(self, int: int, int2: int) -> float: ... - def getBeta1ij(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: ... - def getCphiij(self, int: int, int2: int) -> 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 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 getSolventWeight(self) -> float: ... - def getSresTP(self) -> float: ... - def getSresTV(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 setBinaryParameters(self, int: int, int2: int, double: float, double2: float, double3: 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: ... - -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 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 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 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) -> 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 getDielectricConstant(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 getDielectricConstant(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 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 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 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 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 getF(self) -> float: ... - def getIonSolventW(self) -> float: ... - def getKappa(self) -> float: ... - def getMixturePermittivity(self) -> float: ... - def getPackingFraction(self) -> float: ... - def getPackingFractiondV(self) -> float: ... - def getSolventPermittivity(self) -> float: ... - def getSolventPermittivitydT(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 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 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 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': ... - @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 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 __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] - 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] - PhaseSolid: typing.Type[PhaseSolid] - PhaseSolidComplex: typing.Type[PhaseSolidComplex] - PhaseSoreideWhitson: typing.Type[PhaseSoreideWhitson] - PhaseSpanWagnerEos: typing.Type[PhaseSpanWagnerEos] - PhaseSrkCPA: typing.Type[PhaseSrkCPA] - 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] - PhaseVegaEos: typing.Type[PhaseVegaEos] - PhaseWaterIAPWS: typing.Type[PhaseWaterIAPWS] - PhaseWax: typing.Type[PhaseWax] - StateOfMatter: typing.Type[StateOfMatter] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi deleted file mode 100644 index c476f5ee..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/system/__init__.pyi +++ /dev/null @@ -1,1652 +0,0 @@ - -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 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 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 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: ... - @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: ... - 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 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 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 isUsingHydrogenEnhancedModel(self) -> bool: ... - def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> 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: ... - -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 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 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 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 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 __module_protocol__(Protocol): - # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.system")``. - - 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] - 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] - SystemPrMathiasCopeman: typing.Type[SystemPrMathiasCopeman] - SystemProperties: typing.Type[SystemProperties] - SystemPsrkEos: typing.Type[SystemPsrkEos] - SystemRKEos: typing.Type[SystemRKEos] - SystemSoreideWhitson: typing.Type[SystemSoreideWhitson] - SystemSpanWagnerEos: typing.Type[SystemSpanWagnerEos] - SystemSrkCPA: typing.Type[SystemSrkCPA] - SystemSrkCPAs: typing.Type[SystemSrkCPAs] - SystemSrkCPAstatoil: typing.Type[SystemSrkCPAstatoil] - 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] - 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-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi deleted file mode 100644 index 012a82bc..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/Vega/__init__.pyi +++ /dev/null @@ -1,55 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi deleted file mode 100644 index 006054bf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/__init__.pyi +++ /dev/null @@ -1,83 +0,0 @@ - -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.thermo.util.Vega -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.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 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] - ReservoirFluidType: typing.Type[ReservoirFluidType] - Vega: jneqsim.thermo.util.Vega.__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__ - 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-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi deleted file mode 100644 index af230659..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/benchmark/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi deleted file mode 100644 index 24fcb6ff..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/constants/__init__.pyi +++ /dev/null @@ -1,148 +0,0 @@ - -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]] = ... - @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 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 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 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] - IonParametersMM: typing.Type[IonParametersMM] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi deleted file mode 100644 index 58c39c3f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/derivatives/__init__.pyi +++ /dev/null @@ -1,114 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi deleted file mode 100644 index a039a5cc..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/empiric/__init__.pyi +++ /dev/null @@ -1,44 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi deleted file mode 100644 index d34e6454..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/gerg/__init__.pyi +++ /dev/null @@ -1,183 +0,0 @@ - -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'] = ... - 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): ... - 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): ... - 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 __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] - GERG2008Type: typing.Type[GERG2008Type] - NeqSimAGA8Detail: typing.Type[NeqSimAGA8Detail] - NeqSimEOSCG: typing.Type[NeqSimEOSCG] - NeqSimGERG2008: typing.Type[NeqSimGERG2008] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi deleted file mode 100644 index 7be24693..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/humidair/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi deleted file mode 100644 index 41c4037d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/jni/__init__.pyi +++ /dev/null @@ -1,53 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi deleted file mode 100644 index da6badba..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/leachman/__init__.pyi +++ /dev/null @@ -1,58 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi deleted file mode 100644 index e8ccac9f..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/readwrite/__init__.pyi +++ /dev/null @@ -1,70 +0,0 @@ - -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 typing - - - -class EclipseFluidReadWrite: - pseudoName: typing.ClassVar[java.lang.String] = ... - def __init__(self): ... - @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], string2: typing.Union[java.lang.String, str]) -> 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: ... - @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: ... - -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] - TablePrinter: typing.Type[TablePrinter] - WhitsonPVTReader: typing.Type[WhitsonPVTReader] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi deleted file mode 100644 index 66ccfabd..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi +++ /dev/null @@ -1,41 +0,0 @@ - -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-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi deleted file mode 100644 index 53a1bcd4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi +++ /dev/null @@ -1,21 +0,0 @@ - -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]: ... - - -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-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi deleted file mode 100644 index 7853ef0c..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermo/util/steam/__init__.pyi +++ /dev/null @@ -1,36 +0,0 @@ - -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-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi deleted file mode 100644 index 83b2004d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/__init__.pyi +++ /dev/null @@ -1,245 +0,0 @@ - -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.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: ... - 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: ... - -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 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: ... - 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: ... - 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: ... - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getDataPoints(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - 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 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: ... - 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: ... - - -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-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi deleted file mode 100644 index 83f601bf..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ - -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-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi deleted file mode 100644 index 95207d48..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi +++ /dev/null @@ -1,491 +0,0 @@ - -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.saturationops -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 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 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 init(self) -> None: ... - def setJac(self) -> 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 calcMmatrixHeidemann(self) -> None: ... - def calcdpd(self) -> float: ... - 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 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 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 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] - 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] - 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] - saturationops: jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi deleted file mode 100644 index a5f1fe2a..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi +++ /dev/null @@ -1,353 +0,0 @@ - -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: ... - 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 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 CricondebarFlash(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 PrintToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def initTestSystem2(self, int: int) -> 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: typing.ClassVar[float] = ... - HrefComplex: typing.ClassVar[float] = ... - TrefComplex: typing.ClassVar[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] - CheckScalePotential: typing.Type[CheckScalePotential] - ConstantDutyFlash: typing.Type[ConstantDutyFlash] - ConstantDutyFlashInterface: typing.Type[ConstantDutyFlashInterface] - ConstantDutyPressureFlash: typing.Type[ConstantDutyPressureFlash] - ConstantDutyTemperatureFlash: typing.Type[ConstantDutyTemperatureFlash] - CricondebarFlash: typing.Type[CricondebarFlash] - CricondenBarTemp: typing.Type[CricondenBarTemp] - CricondenBarTemp1: typing.Type[CricondenBarTemp1] - 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-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi deleted file mode 100644 index 10fb5fe4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi +++ /dev/null @@ -1,17 +0,0 @@ - -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-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi deleted file mode 100644 index bfda6fe4..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi +++ /dev/null @@ -1,203 +0,0 @@ - -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 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 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: ... - 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 PTphaseEnvelope1(jneqsim.thermodynamicoperations.BaseOperation): - points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... - 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 isBubblePointFirst(self) -> bool: ... - def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def run(self) -> None: ... - def setBubblePointFirst(self, boolean: bool) -> None: ... - -class PTphaseEnvelopeMay(jneqsim.thermodynamicoperations.BaseOperation): - points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - 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: ... - 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 PTphaseEnvelopeNew(jneqsim.thermodynamicoperations.BaseOperation): - points2: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float): ... - 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 printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def run(self) -> None: ... - -class PTphaseEnvelopeNew2(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 calcHydrateLine(self) -> None: ... - 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 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: ... - 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 SysNewtonRhapsonPhaseEnvelope2(java.io.Serializable): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcInc(self, int: int) -> None: ... - def calcInc2(self, int: int) -> None: ... - def critPassed(self) -> bool: ... - 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 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 funcP(self) -> None: ... - def funcT(self) -> None: ... - def init(self) -> None: ... - def run(self) -> None: ... - def setNewK(self) -> None: ... - def setNewX(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 funcP(self) -> None: ... - def funcT(self) -> None: ... - def init(self) -> None: ... - def run(self) -> None: ... - def setNewK(self) -> None: ... - def setNewX(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] - HPTphaseEnvelope: typing.Type[HPTphaseEnvelope] - PTphaseEnvelope: typing.Type[PTphaseEnvelope] - PTphaseEnvelope1: typing.Type[PTphaseEnvelope1] - PTphaseEnvelopeMay: typing.Type[PTphaseEnvelopeMay] - PTphaseEnvelopeNew: typing.Type[PTphaseEnvelopeNew] - PTphaseEnvelopeNew2: typing.Type[PTphaseEnvelopeNew2] - PTphaseEnvelopeNew3: typing.Type[PTphaseEnvelopeNew3] - SysNewtonRhapsonPhaseEnvelope: typing.Type[SysNewtonRhapsonPhaseEnvelope] - SysNewtonRhapsonPhaseEnvelope2: typing.Type[SysNewtonRhapsonPhaseEnvelope2] diff --git a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi deleted file mode 100644 index b9d76258..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi +++ /dev/null @@ -1,48 +0,0 @@ - -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: ... - 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: ... - 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-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi deleted file mode 100644 index 28533b78..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi +++ /dev/null @@ -1,130 +0,0 @@ - -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-stubs/jneqsim-stubs/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi deleted file mode 100644 index 57a23dce..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/__init__.pyi +++ /dev/null @@ -1,112 +0,0 @@ - -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.annotation -import jneqsim.util.database -import jneqsim.util.exception -import jneqsim.util.generator -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 setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTagName(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 getTagName(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: ... - - -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] - annotation: jneqsim.util.annotation.__module_protocol__ - database: jneqsim.util.database.__module_protocol__ - exception: jneqsim.util.exception.__module_protocol__ - generator: jneqsim.util.generator.__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-stubs/jneqsim-stubs/util/annotation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi deleted file mode 100644 index b3d356a6..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/annotation/__init__.pyi +++ /dev/null @@ -1,73 +0,0 @@ - -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-stubs/jneqsim-stubs/util/database/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi deleted file mode 100644 index 031de4c8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/database/__init__.pyi +++ /dev/null @@ -1,180 +0,0 @@ - -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-stubs/jneqsim-stubs/util/exception/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi deleted file mode 100644 index 02dd9845..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/exception/__init__.pyi +++ /dev/null @@ -1,82 +0,0 @@ - -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-stubs/jneqsim-stubs/util/generator/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi deleted file mode 100644 index cecd9fbe..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/generator/__init__.pyi +++ /dev/null @@ -1,25 +0,0 @@ - -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-stubs/jneqsim-stubs/util/serialization/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi deleted file mode 100644 index bcd85c2b..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/serialization/__init__.pyi +++ /dev/null @@ -1,32 +0,0 @@ - -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-stubs/jneqsim-stubs/util/unit/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi deleted file mode 100644 index e555bf6d..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/unit/__init__.pyi +++ /dev/null @@ -1,131 +0,0 @@ - -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.HashMap] = ... - defaultUnits: typing.ClassVar[java.util.HashMap] = ... - metricUnits: typing.ClassVar[java.util.HashMap] = ... - 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: ... - @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]): ... - -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: ... - @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: ... - @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]): ... - - -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-stubs/jneqsim-stubs/util/util/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi deleted file mode 100644 index 620e9bf8..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/util/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ - -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-stubs/jneqsim-stubs/util/validation/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi deleted file mode 100644 index 86798429..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/validation/__init__.pyi +++ /dev/null @@ -1,132 +0,0 @@ - -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-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi b/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi deleted file mode 100644 index 4244d6e2..00000000 --- a/src/jneqsim-stubs/jneqsim-stubs/util/validation/contracts/__init__.pyi +++ /dev/null @@ -1,71 +0,0 @@ - -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] diff --git a/src/jneqsim-stubs/jpype-stubs/__init__.pyi b/src/jneqsim-stubs/jpype-stubs/__init__.pyi deleted file mode 100644 index fe25482e..00000000 --- a/src/jneqsim-stubs/jpype-stubs/__init__.pyi +++ /dev/null @@ -1,23 +0,0 @@ -import types -import typing - - -import sys -if sys.version_info >= (3, 8): - from typing import Literal -else: - from typing_extensions import Literal - -import neqsim - - -@typing.overload -def JPackage(__package_name: Literal['neqsim']) -> jneqsim.__module_protocol__: ... - - -@typing.overload -def JPackage(__package_name: str) -> types.ModuleType: ... - - -def JPackage(__package_name) -> types.ModuleType: ... - diff --git a/src/jneqsim-stubs/jpype-stubs/py.typed b/src/jneqsim-stubs/jpype-stubs/py.typed deleted file mode 100644 index b648ac92..00000000 --- a/src/jneqsim-stubs/jpype-stubs/py.typed +++ /dev/null @@ -1 +0,0 @@ -partial From 14a0c004fab696a4c2ffd449edd14a99aeb56f66 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:12:51 +0100 Subject: [PATCH 8/8] update --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 8fff02b2..802b7321 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,6 @@ test_gasoilprocess.neqsim codeql-db/ codeql-*.sarif tools/codeql/ + +# Generated stubs +src/jneqsim-stubs/