turbo-design 1.3.3__tar.gz → 1.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of turbo-design might be problematic. Click here for more details.
- {turbo_design-1.3.3 → turbo_design-1.3.4}/PKG-INFO +2 -3
- {turbo_design-1.3.3 → turbo_design-1.3.4}/pyproject.toml +1 -1
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/radeq.py +4 -4
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/__init__.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/arrayfuncs.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/bladerow.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/cantera_gas/co2.yaml +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/compressorspool.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/coolant.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/enums.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/inlet.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/isentropic.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/__init__.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/compressor/__init__.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/losstype.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/TD2.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/__init__.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/ainleymathieson.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/craigcox.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/fixedefficiency.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/fixedpressureloss.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/kackerokapuu.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/loss/turbine/traupel.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/lossinterp.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/outlet.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/passage.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/rotor.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/solve_radeq.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/spool.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/stage.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/td_math.py +0 -0
- {turbo_design-1.3.3 → turbo_design-1.3.4}/turbodesign/turbinespool.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: turbo-design
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.4
|
|
4
4
|
Summary: TurboDesign is a library used to design turbines and compressors using radial equilibrium.
|
|
5
5
|
Author: Paht Juangphanich
|
|
6
6
|
Author-email: paht.juangphanich@nasa.gov
|
|
@@ -10,7 +10,6 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
14
13
|
Requires-Dist: cantera
|
|
15
14
|
Requires-Dist: findiff
|
|
16
15
|
Requires-Dist: matplotlib
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
from typing import Optional
|
|
1
2
|
from scipy.interpolate import interp1d,PchipInterpolator
|
|
2
3
|
from scipy.integrate import solve_ivp
|
|
3
4
|
import numpy as np
|
|
4
|
-
import numdifftools as nd
|
|
5
5
|
from .bladerow import BladeRow
|
|
6
6
|
from .enums import RowType
|
|
7
7
|
import math
|
|
8
8
|
|
|
9
|
-
def radeq(row:BladeRow,upstream:BladeRow,downstream:BladeRow=None) -> BladeRow:
|
|
9
|
+
def radeq(row:BladeRow,upstream:BladeRow,downstream:Optional[BladeRow]=None) -> BladeRow:
|
|
10
10
|
"""Solves the radial equilibrium equation for axial machines and returns the convergence.
|
|
11
11
|
|
|
12
12
|
Note:
|
|
@@ -81,8 +81,8 @@ def radeq(row:BladeRow,upstream:BladeRow,downstream:BladeRow=None) -> BladeRow:
|
|
|
81
81
|
else:
|
|
82
82
|
func_Vm_m = PchipInterpolator([up_m, row_m],[up_Vm, Vm])
|
|
83
83
|
else:
|
|
84
|
-
func_Vm_m = PchipInterpolator([up_m, row_m],[up_Vm, Vm])
|
|
85
|
-
dVm_dm = func_Vm_m.derivative()(row_m)
|
|
84
|
+
func_Vm_m = PchipInterpolator([up_m, row_m],[up_Vm, Vm]) # type: ignore
|
|
85
|
+
dVm_dm = func_Vm_m.derivative()(row_m) # type: ignore
|
|
86
86
|
|
|
87
87
|
# Upstream
|
|
88
88
|
dT_dr = float(interp1d(row_radius, np.gradient(row.T,row_radius))(r))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|