1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450
|
# DO NOT EDIT - AUTOMATICALLY GENERATED BY tests/make_test_stubs.py!
from __future__ import annotations
from typing import List
from numpy import float64
from typing import (
List,
Optional,
Tuple,
Union,
)
def A_cylinder(D: float, L: float) -> float: ...
def A_hollow_cylinder(Di: float, Do: float, L: float) -> float: ...
def A_multiple_hole_cylinder(Do: float, L: float, holes: List[Tuple[float, int]]) -> float: ...
def A_partial_circle(D: float, h: float) -> float: ...
def SA_conical_head(D: float, a: float) -> float: ...
def SA_ellipsoidal_head(D: float, a: float) -> float: ...
def SA_from_h(
h: float,
D: float,
L: float,
horizontal: bool = ...,
sideA: Optional[str] = ...,
sideB: Optional[str] = ...,
sideA_a: float = ...,
sideB_a: float = ...,
sideA_f: Optional[float] = ...,
sideA_k: Optional[float] = ...,
sideB_f: Optional[float] = ...,
sideB_k: Optional[float] = ...
) -> float: ...
def SA_guppy_head(D: float, a: float) -> float: ...
def SA_partial_cylindrical_body(L: float, D: float, h: float) -> float: ...
def SA_partial_horiz_conical_head(D: float, a: float, h: float) -> float: ...
def SA_partial_horiz_ellipsoidal_head(D: float, a: float, h: float) -> float: ...
def SA_partial_horiz_guppy_head(D: float, a: float, h: float) -> float: ...
def SA_partial_horiz_spherical_head(D: float, a: float, h: float) -> float: ...
def SA_partial_horiz_torispherical_head(D: float, f: float, k: float, h: float) -> float: ...
def SA_partial_sphere(D: float, h: float) -> float: ...
def SA_partial_vertical_conical_head(D: float, a: float, h: float) -> float: ...
def SA_partial_vertical_ellipsoidal_head(D: float, a: float, h: float) -> float: ...
def SA_partial_vertical_spherical_head(D: float, a: float, h: float) -> float: ...
def SA_partial_vertical_torispherical_head(D: float, f: float, k: float, h: float) -> float: ...
def SA_tank(
D: float,
L: float,
sideA: Optional[str] = ...,
sideB: Optional[str] = ...,
sideA_a: float = ...,
sideB_a: float = ...,
sideA_f: Optional[float] = ...,
sideA_k: Optional[float] = ...,
sideB_f: Optional[float] = ...,
sideB_k: Optional[float] = ...
) -> Tuple[float, float, float, float]: ...
def SA_torispheroidal(D: float, f: float, k: float) -> float: ...
def V_cylinder(D: float, L: float) -> float: ...
def V_from_h(
h: float,
D: float,
L: float,
horizontal: bool = ...,
sideA: Optional[str] = ...,
sideB: Optional[str] = ...,
sideA_a: float = ...,
sideB_a: float = ...,
sideA_f: Optional[float] = ...,
sideA_k: Optional[float] = ...,
sideB_f: Optional[float] = ...,
sideB_k: Optional[float] = ...
) -> float: ...
def V_hollow_cylinder(Di: float, Do: float, L: float) -> float: ...
def V_horiz_conical(
D: float,
L: float,
a: float,
h: float,
headonly: bool = ...
) -> float: ...
def V_horiz_ellipsoidal(
D: float,
L: float,
a: float,
h: float,
headonly: bool = ...
) -> float: ...
def V_horiz_guppy(
D: float,
L: float,
a: float,
h: float,
headonly: bool = ...
) -> float: ...
def V_horiz_spherical(
D: float,
L: float,
a: float,
h: float,
headonly: bool = ...
) -> float: ...
def V_horiz_torispherical(
D: float,
L: float,
f: float,
k: float,
h: float,
headonly: bool = ...
) -> float: ...
def V_horiz_torispherical_toint_1(x: float, w: float, c10: float, c11: float) -> float: ...
def V_horiz_torispherical_toint_2(x: float, w: float, c10: float, c11: float, g: float, g2: float) -> float: ...
def V_horiz_torispherical_toint_3(x: float, r2: float, g2: float, z_inv: float) -> float: ...
def V_multiple_hole_cylinder(Do: float, L: float, holes: List[Tuple[float, int]]) -> float: ...
def V_partial_sphere(D: float, h: float) -> float: ...
def V_tank(
D: float,
L: float,
horizontal: bool = ...,
sideA: Optional[str] = ...,
sideB: Optional[str] = ...,
sideA_a: float = ...,
sideB_a: float = ...,
sideA_f: Optional[float] = ...,
sideA_k: Optional[float] = ...,
sideB_f: Optional[float] = ...,
sideB_k: Optional[float] = ...
) -> Tuple[float, float, float, float]: ...
def V_vertical_conical(D: float, a: float, h: float) -> float: ...
def V_vertical_conical_concave(D: float, a: float, h: float) -> float: ...
def V_vertical_ellipsoidal(D: float, a: float, h: float) -> float: ...
def V_vertical_ellipsoidal_concave(D: float, a: float, h: float) -> float: ...
def V_vertical_spherical(D: float, a: float, h: float) -> float: ...
def V_vertical_spherical_concave(D: float, a: float, h: float) -> float: ...
def V_vertical_torispherical(D: float, f: float, k: float, h: float) -> float: ...
def V_vertical_torispherical_concave(D: float, f: float, k: float, h: float) -> float: ...
def _SA_partial_horiz_ellipsoidal_head_to_int(y: float, c1: float, R2: float, R4: float) -> float: ...
def _SA_partial_horiz_guppy_head_to_int(x: float, a: float, R: float) -> float64: ...
def _SA_partial_horiz_spherical_head_to_int(x: float, R2: float, a4: float, c1: float, c2: float) -> float: ...
def _SA_partial_horiz_torispherical_head_int_1(x: float, b: float, c: float) -> float: ...
def _SA_partial_horiz_torispherical_head_int_2(y: float, t2: float, s: float, c1: float) -> float: ...
def _SA_partial_horiz_torispherical_head_int_3(y: float, x: float, s: float, t2: float) -> float: ...
def _V_horiz_spherical_toint(x: float, r2: float, R2: float, den_inv: float) -> float: ...
def a_torispherical(D: float, f: float, k: float) -> float: ...
def aspect_ratio(Dmin: float, Dmax: float) -> float: ...
def circle_segment_area_inner(h: float, R: float, A_expect: float) -> Tuple[float, float]: ...
def circle_segment_h_from_A(A: float, D: float) -> float: ...
def circularity(A: float, P: float) -> float: ...
def pitch_angle_solver(
angle: Optional[float] = ...,
pitch: Optional[float] = ...,
pitch_parallel: Optional[float] = ...,
pitch_normal: Optional[float] = ...
) -> Union[Tuple[float, float, float, float], Tuple[int, float, float, float]]: ...
def plate_enlargement_factor(amplitude: float, wavelength: float) -> float: ...
def sphericity(A: float, V: float) -> float: ...
def tank_from_two_specs_err(
guess: List[float],
spec0: float,
spec1: float,
spec0_name: str,
spec1_name: str,
h: float,
horizontal: bool,
sideA: None,
sideB: None,
sideA_a: None,
sideB_a: None,
sideA_f: None,
sideA_k: None,
sideB_f: None,
sideB_k: None,
sideA_a_ratio: None,
sideB_a_ratio: None
) -> List[float]: ...
class AirCooledExchanger:
def __init__(
self,
tube_rows: int,
tube_passes: int,
tubes_per_row: int,
tube_length: float,
tube_diameter: float,
fin_thickness: float,
angle: Optional[int] = ...,
pitch: Optional[float] = ...,
pitch_parallel: None = ...,
pitch_normal: None = ...,
pitch_ratio: None = ...,
fin_diameter: None = ...,
fin_height: Optional[float] = ...,
fin_density: Optional[float] = ...,
fin_interval: None = ...,
parallel_bays: int = ...,
bundles_per_bay: int = ...,
fans_per_bay: int = ...,
corbels: bool = ...,
tube_thickness: Optional[float] = ...,
fan_diameter: None = ...
) -> None: ...
class HelicalCoil:
def __init__(
self,
Dt: float,
Do: Optional[int] = ...,
pitch: Optional[float] = ...,
H: Optional[int] = ...,
N: Optional[float] = ...,
H_total: Optional[int] = ...,
Do_total: Optional[float] = ...,
Di: Optional[float] = ...
) -> None: ...
class PlateExchanger:
def __init__(
self,
amplitude: float,
wavelength: float,
chevron_angle: int = ...,
chevron_angles: Optional[Tuple[int, int]] = ...,
width: Optional[float] = ...,
length: Optional[float] = ...,
thickness: None = ...,
d_port: Optional[float] = ...,
plates: Optional[int] = ...
) -> None: ...
@property
def plate_exchanger_identifier(self) -> str: ...
class RectangularFinExchanger:
def __init__(
self,
fin_height: float,
fin_thickness: float,
fin_spacing: float,
length: Optional[float] = ...,
width: Optional[float] = ...,
layers: Optional[int] = ...,
plate_thickness: Optional[float] = ...,
flow: str = ...
) -> None: ...
def set_overall_geometry(self) -> None: ...
class RectangularOffsetStripFinExchanger:
def __init__(
self,
fin_length: float,
fin_height: float,
fin_thickness: float,
fin_spacing: float,
length: None = ...,
width: None = ...,
layers: None = ...,
plate_thickness: None = ...,
flow: str = ...
) -> None: ...
class TANK:
def A_cross_sectional(self, h: float, method: str = ...) -> float: ...
def SA_from_h(self, h: float, method: str = ...) -> float: ...
def V_from_h(self, h: float, method: str = ...) -> float: ...
def _V_solver_error(
self,
Vtarget: int,
D: float,
L: float,
horizontal: bool,
sideA: Optional[str],
sideB: Optional[str],
sideA_a: Optional[float],
sideB_a: Optional[float],
sideA_f: Optional[float],
sideA_k: Optional[float],
sideB_f: Optional[float],
sideB_k: Optional[float],
sideA_a_ratio: Optional[float],
sideB_a_ratio: Optional[float]
) -> float: ...
def __init__(
self,
D: Optional[float] = ...,
L: Optional[float] = ...,
horizontal: bool = ...,
sideA: Optional[str] = ...,
sideB: Optional[str] = ...,
sideA_a: Optional[float] = ...,
sideB_a: Optional[float] = ...,
sideA_f: Optional[float] = ...,
sideA_k: Optional[float] = ...,
sideB_f: Optional[float] = ...,
sideB_k: Optional[float] = ...,
sideA_a_ratio: Optional[float] = ...,
sideB_a_ratio: Optional[float] = ...,
L_over_D: Optional[float] = ...,
V: Optional[int] = ...
) -> None: ...
def _solve_tank_for_V(self) -> None: ...
def add_thickness(
self,
thickness: float,
sideA_thickness: None = ...,
sideB_thickness: None = ...
) -> TANK: ...
@staticmethod
def from_two_specs(
spec0: float,
spec1: float,
spec0_name: str = ...,
spec1_name: str = ...,
h: Optional[float] = ...,
horizontal: bool = ...,
sideA: None = ...,
sideB: None = ...,
sideA_a: None = ...,
sideB_a: None = ...,
sideA_f: None = ...,
sideA_k: None = ...,
sideB_f: None = ...,
sideB_k: None = ...,
sideA_a_ratio: None = ...,
sideB_a_ratio: None = ...
) -> TANK: ...
def h_from_V(self, V: float, method: str = ...) -> float: ...
def set_misc(self) -> None: ...
def set_table(self, n: int = ..., dx: None = ...) -> None: ...
__all__: List[str]
|